/* Wellard Executive — site styles (mobile-first) */
:root {
  --sage: #6B8F71;
  --sage-dark: #557A5C;
  --sage-mid: #A8C5A0;
  --sage-pale: #EDF2EB;
  --sage-ultra: #F4F7F3;
  --navy: #263447;
  --navy-soft: #3D5166;
  --cream: #F9F7F2;
  --stone: #E8E4DC;
  --charcoal: #2E2E2E;
  --mid-grey: #5E5E5E;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max-w: 1180px;
  --gutter: 20px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }
h1 em, h2 em { color: var(--sage); font-style: italic; }
p { margin: 0 0 1em; }
.lead { font-size: 1.08rem; color: var(--mid-grey); max-width: 640px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
}
.tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--sage-dark);
  margin: -0.2em 0 0.8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy); color: var(--white);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sage { background: var(--sage); border-color: var(--sage); }
.btn-sage:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 247, 242, 0.97);
  border-bottom: 1px solid var(--stone);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 20px; height: 30px; }
.logo-divider { width: 1px; height: 34px; background: var(--stone); }
.logo-wm { display: flex; flex-direction: column; line-height: 1; }
.logo-wellard { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.logo-rule { height: 1px; background: var(--sage); margin: 5px 0; }
.logo-exec { font-size: 0.58rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--sage-dark); }

.header-phone { display: none; font-size: 0.95rem; color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 12px 24px rgba(38, 52, 71, 0.08);
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 14px 0;
  font-size: 1.05rem; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--stone);
}
.site-nav li a[aria-current="page"] { color: var(--sage-dark); font-weight: 500; }
.site-nav .nav-cta { margin-top: 18px; }
.site-nav .nav-cta .btn { width: 100%; }
.site-nav .nav-phone { display: block; margin-top: 14px; text-align: center; color: var(--navy); text-decoration: none; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav li a { padding: 6px 0; border: 0; font-size: 0.92rem; }
  .site-nav li a:hover { color: var(--sage-dark); }
  .site-nav .nav-cta { margin: 0; }
  .site-nav .nav-cta .btn { width: auto; min-height: 42px; padding: 8px 20px; }
  .site-nav .nav-phone { display: none; }
  .header-phone { display: inline; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-ultra); }
.bg-navy { background: var(--navy); color: #DCE3EA; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .eyebrow { color: var(--sage-mid); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 0; background: var(--cream); }
.hero-grid { display: grid; }
.hero-media { position: relative; background: var(--sage-pale); aspect-ratio: 4 / 3; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-copy { padding: 40px var(--gutter) 56px; }
.page-hero { padding: 56px 0 48px; background: var(--cream); border-bottom: 1px solid var(--stone); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.1rem, 6vw, 3.4rem); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; min-height: calc(100vh - 72px); max-height: 820px; }
  .hero-media { order: 2; aspect-ratio: auto; }
  .hero-copy { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); }
  .page-hero { padding: 88px 0 72px; }
}

.trust-strip { padding: 22px 0; background: var(--navy); color: #DCE3EA; font-size: 0.9rem; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.trust-strip strong { color: var(--white); font-weight: 500; }

/* ---------- Photo fallback ---------- */
.photo { position: relative; background: var(--sage-pale); }
.photo.noimg::after {
  content: attr(data-initials);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4rem; color: var(--sage);
}

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 20px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-2 { gap: 40px; } }

.card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 28px 24px; }
.bg-white .card { background: var(--cream); }
.card-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--sage); display: block; margin-bottom: 6px; }
.card h3 { margin-bottom: 6px; }
.card .sub { font-style: italic; font-family: var(--font-display); font-size: 1.15rem; color: var(--sage-dark); margin-bottom: 10px; }
.card ul { padding-left: 1.1em; margin: 12px 0; }
.card li { margin-bottom: 4px; }
.ideal { font-size: 0.86rem; color: var(--mid-grey); border-top: 1px solid var(--stone); padding-top: 12px; margin: 16px 0 0; }
.ideal strong { color: var(--navy); font-weight: 500; }

.service-list { list-style: none; padding: 0; margin: 0 0 24px; }
.service-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--stone); }
.service-list .num { font-family: var(--font-display); color: var(--sage); font-size: 1.15rem; min-width: 26px; }
.service-list strong { display: block; color: var(--navy); font-weight: 500; }
.service-list span.desc { font-size: 0.92rem; color: var(--mid-grey); }

.arm { background: var(--white); border: 1px solid var(--stone); padding: 32px 24px; border-radius: var(--radius); }
@media (min-width: 768px) { .arm { padding: 44px 40px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.tags li { background: var(--sage-pale); color: var(--navy); font-size: 0.85rem; padding: 6px 12px; border-radius: 20px; }

.feature { padding: 4px 0; }
.feature-icon { font-size: 1.4rem; color: var(--sage); display: block; margin-bottom: 8px; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--mid-grey); font-size: 0.95rem; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 54px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--sage); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem;
}

.case { background: var(--white); border-left: 3px solid var(--sage); padding: 28px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.case .sector { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; }
.case h3 { margin-top: 8px; }
.case .result { font-size: 0.92rem; color: var(--navy); background: var(--sage-ultra); padding: 12px 14px; margin: 16px 0 0; border-radius: var(--radius); }

.stats { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.4rem); color: var(--white); line-height: 1; display: block; }
.stat-label { font-size: 0.82rem; color: #C5CFD9; }

.cta-band { text-align: center; }
.cta-band p { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- About ---------- */
.person { display: grid; gap: 28px; align-items: start; }
.person .photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); max-width: 420px; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .role { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; margin-bottom: 14px; display: block; }
blockquote.guiding { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--navy); border-left: 2px solid var(--sage); margin: 20px 0; padding: 4px 0 4px 18px; }
@media (min-width: 860px) {
  .person { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .person.reverse { grid-template-columns: 1.2fr 0.8fr; }
  .person.reverse .photo { order: 2; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--stone); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--sage); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--mid-grey); padding-bottom: 8px; }

/* ---------- Enquiry form ---------- */
.enquiry-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .enquiry-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.form { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 28px 20px; }
@media (min-width: 600px) { .form { padding: 36px 32px; } }
.form-row { margin-bottom: 18px; }
.form-2 { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .form-2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--charcoal);
  background: var(--cream); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.18); }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { width: 100%; }
@media (min-width: 600px) { .form .btn { width: auto; } }
.form-note { font-size: 0.82rem; color: var(--mid-grey); margin-top: 12px; }
[id], .form-success { scroll-margin-top: 90px; }
.form-success { background: var(--white); border: 1px solid var(--stone); border-top: 3px solid var(--sage); border-radius: var(--radius); padding: 36px 28px; text-align: center; outline: none; }
.form-success h3 { margin-bottom: 8px; }
.form-success-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sage-pale); color: var(--sage-dark); font-size: 1.5rem; margin-bottom: 14px; }
.form-error { color: #9B2C2C; font-size: 0.9rem; margin-top: 12px; }
.contact-people { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-people li { padding: 18px 0; border-top: 1px solid var(--stone); }
.contact-people strong { display: block; color: var(--navy); font-weight: 500; }
.contact-people .role { font-size: 0.85rem; color: var(--mid-grey); display: block; margin-bottom: 6px; }
.contact-people a { display: inline-block; padding: 4px 0; margin-right: 14px; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C5CFD9; padding: 56px 0 32px; font-size: 0.92rem; }
.site-footer a { color: #DCE3EA; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .logo-wellard { color: var(--white); }
.footer-brand .logo-exec { color: var(--sage-mid); }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-mid); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.social-links { display: flex; gap: 14px; margin-top: 18px; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--mid-grey); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
