/* ============================================
   WESTBOURNE CONSULTING — SHARED STYLESHEET
   Calm, senior, plain-speaking. No gradients,
   no glow, no stock-corporate visual cliches.
   ============================================ */

:root {
  --ink: #0E2039;
  --accent: #53627A;
  --pale: #DDE2EA;
  --pale-warm: #F7F6F3;
  --white: #FFFFFF;
  --text: #2A2F38;
  --text-muted: #5B6472;
  --rule: #D2D7E0;
  --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}

a { color: var(--ink); text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- HEADER ---------- */

header {
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 100px;
  width: auto;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav.main-nav a {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav-cta-btn {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 3px;
  border-bottom: none !important;
  font-size: 0.82rem;
}

.nav-cta-btn:hover {
  background: var(--accent);
  border-bottom: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
}

/* ---------- HERO ---------- */

.hero {
  padding: 5rem 0 4rem;
  background: var(--pale-warm);
  border-bottom: 1px solid var(--rule);
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.25rem;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--pale); }

/* ---------- SECTIONS ---------- */

section {
  padding: 4.5rem 0;
}

section.alt {
  background: var(--pale-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* ---------- SERVICE PANELS (homepage) ---------- */

.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.panel {
  background: var(--white);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
}

.panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.panel p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.panel .btn {
  align-self: flex-start;
}

/* ---------- WHY WESTBOURNE (3-up) ---------- */

.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.triple-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.triple-item p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.triple-item .num {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---------- LISTS (areas of support, etc.) ---------- */

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 0;
  list-style: none;
}

.support-grid li {
  font-size: 0.95rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 0.65rem;
}

.support-grid li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.engagement-list {
  list-style: none;
  margin-top: 1.5rem;
}

.engagement-list li {
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-size: 0.97rem;
  color: var(--text);
}

.engagement-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- HOW WE WORK / NOTE BOX ---------- */

.note-box {
  background: var(--pale-warm);
  border-left: 3px solid var(--ink);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}

.note-box p {
  color: var(--text);
  font-size: 0.97rem;
}

/* ---------- TWO-UP (contracting page) ---------- */

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.two-up-card {
  border: 1px solid var(--rule);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.two-up-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.two-up-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.75rem;
  font-size: 0.96rem;
}

.small-deliberate {
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ---------- CONTACT FORM ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.enquiry-types {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.enquiry-types label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.enquiry-types label:hover {
  border-color: var(--accent);
  background: var(--pale-warm);
}

.enquiry-types input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-group .optional-tag {
  color: var(--text-muted);
  font-weight: 400;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.contact-sidebar h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-sidebar .block {
  margin-bottom: 2rem;
}

.contact-sidebar .block p,
.contact-sidebar .block a {
  font-size: 0.97rem;
  color: var(--text);
}

/* ---------- ABOUT TRACK RECORD LIST ---------- */

.track-record {
  list-style: none;
  margin-top: 1.5rem;
}

.track-record li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
  padding-left: 1.5rem;
  position: relative;
}

.track-record li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- FOOTER ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  background: var(--pale-warm);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--ink); }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-linkedin:hover { color: var(--ink); }
.footer-linkedin svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- PRIVACY POLICY PAGE ---------- */

.policy-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.97rem;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .brand-logo-img { height: 42px; }
  .panels, .two-up, .triple, .contact-grid {
    grid-template-columns: 1fr;
  }
  .support-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3rem 0; }
}

.mobile-nav-open nav.main-nav {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 2rem;
  gap: 1rem;
  z-index: 50;
}

.mobile-nav-open nav.main-nav ul {
  flex-direction: column;
  gap: 1rem;
}

header { position: relative; }
