/* ==========================================================================
   Allan Benham — Executive Leadership & Consulting
   Design tokens: deep navy + warm ivory + restrained gold
   ========================================================================== */

:root {
  --navy-950: #0A1524;
  --navy-900: #0F1E33;
  --navy-800: #16293F;
  --navy-700: #213A57;
  --slate-600: #3E5C76;
  --slate-400: #8DA2B6;
  --ivory-50: #FBF9F5;
  --ivory-100: #F7F4EE;
  --ivory-200: #EEE8DD;
  --ink: #1A2230;
  --ink-muted: #4A5566;
  --gold-300: #D9BE86;
  --gold-400: #C9A45C;
  --gold-500: #B8924A;
  --gold-700: #7A5C26;   /* gold for text on light surfaces (AA) */
  --line: #E2DACB;
  --line-dark: rgba(217, 190, 134, 0.22);
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.7vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.4vw, 3.9rem);
  --step-5: clamp(2.8rem, 2.1rem + 3.4vw, 4.9rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, 0.06), 0 2px 8px rgba(15, 30, 51, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 30, 51, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(15, 30, 51, 0.45);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::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-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
ul { padding-left: 1.2em; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold-400); color: var(--navy-900);
  padding: 0.75rem 1.25rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 2px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 4rem, var(--container)); } }
.narrow { max-width: 760px; }

.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section--ivory { background: var(--ivory-100); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: #DCE3EC; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-400); }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-muted); }
.section--navy .lead { color: #C3CEDA; }
.gold-rule { width: 64px; height: 2px; background: var(--gold-500); border: 0; margin: 1.5rem 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .gold-rule { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.6rem;
  font: 600 0.95rem/1 var(--font-body); letter-spacing: 0.02em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-400); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-300); box-shadow: 0 8px 24px -10px rgba(201, 164, 92, 0.7); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost-light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn--ghost { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--gold-700); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.text-link:hover { border-color: currentColor; }
.section--navy .text-link { color: var(--gold-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 30, 51, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; color: var(--white); letter-spacing: 0.01em; }
.brand__name span { color: var(--gold-400); }
.brand__tag { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-400); margin-top: 0.35rem; }
.nav__menu { display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  color: #D6DEE8; text-decoration: none; font-size: 0.92rem; font-weight: 500;
  position: relative; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 8px; height: 1.5px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__cta { margin-left: 0.75rem; }
.nav__cta .btn { min-height: 44px; padding: 0.7rem 1.2rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-dark); background: transparent;
  border-radius: var(--radius); color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav__menu {
    display: block;
    position: fixed; inset: 76px 0 0 0; background: var(--navy-900);
    padding: 1.5rem 1rem 2rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav__menu.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { min-height: 56px; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); padding: 0 0.5rem; }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--gold-400); }
  .nav__cta { margin: 1.5rem 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(62, 92, 118, 0.45), transparent 60%), var(--navy-900);
  color: #D6DEE8;
  padding-block: clamp(4rem, 8vw, 7.5rem) clamp(4rem, 8vw, 6.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(217,190,134,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(217,190,134,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { color: var(--white); font-size: var(--step-5); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-300); font-weight: 500; }
.hero .lead { color: #C3CEDA; max-width: 40ch; margin-bottom: 2.2rem; }
.hero__creds { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.4rem; font-size: 0.85rem; color: var(--slate-400); }
.hero__creds span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__creds svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }
.portrait { position: relative; justify-self: end; width: min(100%, 440px); }
.portrait__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); background: var(--navy-800);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.portrait::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-lg); opacity: 0.6;
}
.portrait__badge {
  position: absolute; left: -28px; bottom: 32px; background: var(--ivory-50); color: var(--navy-900);
  border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-md); max-width: 250px;
}
.portrait__badge strong { display: block; white-space: nowrap; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; color: var(--navy-900); }
.portrait__badge span { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.35; display: block; margin-top: 0.35rem; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { justify-self: center; width: min(100%, 380px); margin-top: 1rem; }
  .portrait__badge { left: -10px; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; color: #D6DEE8; background: var(--navy-900);
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,21,36,0.96) 0%, rgba(15,30,51,0.88) 45%, rgba(15,30,51,0.55) 100%);
}
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: #C3CEDA; max-width: 58ch; }
.breadcrumb { font-size: 0.82rem; color: var(--slate-400); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--slate-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-950); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 2.2rem 1.25rem; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.1rem); font-weight: 600; color: var(--gold-300); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.06em; color: #AFBCCB; line-height: 1.4; }
@media (max-width: 1000px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(3) { border-right: 0; } .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 1px solid var(--line-dark) !important; border-bottom: 1px solid var(--line-dark); } .stat:nth-child(2n) { border-right: 0 !important; } .stat:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.2rem); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card h3 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.card p { color: var(--ink-muted); font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400); margin-bottom: 1.4rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-700); letter-spacing: 0.1em; margin-bottom: 0.75rem; display: block; }
.card--navy { background: var(--navy-800); border-color: var(--line-dark); }
.card--navy h3 { color: var(--white); }
.card--navy p { color: #B9C5D3; }
.card--navy .card__icon { background: rgba(201,164,92,0.12); }
.card--navy:hover { border-color: var(--gold-500); }
.card a.stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--ivory-200); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media-accent { position: relative; }
.media-accent::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 45%; height: 45%;
  border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); border-radius: 0 0 var(--radius-lg) 0; pointer-events: none;
}
.media-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(15,30,51,0.88); color: var(--white);
  padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.88rem; line-height: 1.45; backdrop-filter: blur(6px);
}
.media-caption strong { color: var(--gold-300); font-family: var(--font-display); font-size: 1.35rem; display: block; line-height: 1.1; }

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.85rem; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 0.75rem; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--gold-500); margin-top: 3px; }
.section--navy .checks svg { color: var(--gold-400); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 1px; background: var(--line-dark); }
.step { position: relative; padding: 0 1.25rem; text-align: center; }
.step__dot {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center;
  background: var(--navy-900); border: 1.5px solid var(--gold-500); color: var(--gold-300);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; position: relative; z-index: 1;
}
.step h3 { color: var(--white); font-size: var(--step-2); margin-bottom: 0.5rem; }
.step p { color: #B9C5D3; font-size: 0.96rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process::before { display: none; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote-feature { position: relative; max-width: 940px; margin-inline: auto; text-align: center; }
.quote-feature > svg { width: 54px; height: 54px; color: var(--gold-500); margin: 0 auto 1.5rem; }
.quote-feature blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.3; color: var(--navy-900); font-weight: 500; }
.section--navy .quote-feature blockquote { color: var(--white); }
.quote-feature cite { display: block; margin-top: 1.75rem; font-style: normal; font-size: 0.95rem; color: var(--ink-muted); }
.quote-feature cite strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.section--navy .quote-feature cite { color: var(--slate-400); }
.section--navy .quote-feature cite strong { color: var(--gold-300); }

.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial blockquote { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--navy-900); flex: 1; }
.testimonial cite { font-style: normal; font-size: 0.88rem; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.testimonial cite strong { display: block; color: var(--navy-900); font-size: 0.96rem; }

/* ---------- Logos / name strip ---------- */
.namestrip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.75rem; align-items: center; }
.namestrip span { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; color: var(--slate-600); letter-spacing: 0.02em; white-space: nowrap; }
.namestrip-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1.5rem; }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: 0.95fr 1.05fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.case + .case { margin-top: 2.5rem; }
.case__media { position: relative; min-height: 320px; background: var(--navy-800); }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,21,36,0.85)); }
.case__tag { position: absolute; left: 1.4rem; bottom: 1.25rem; z-index: 1; color: var(--white); }
.case__tag small { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.3rem; }
.case__tag strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.case__body { padding: clamp(1.75rem, 3.5vw, 3rem); }
.case__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--ivory-100); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 500; color: var(--ink-muted); white-space: nowrap; }
.case h3 { font-size: var(--step-2); }
.case__label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); margin: 1.4rem 0 0.5rem; }
.case__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.case__results div strong { display: block; font-family: var(--font-display); font-size: 1.85rem; line-height: 1; color: var(--navy-900); }
.case__results div span { display: block; font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.35rem; line-height: 1.35; }
.case--flip .case__media { order: 2; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case--flip .case__media { order: 0; } .case__media { min-height: 240px; } }
@media (max-width: 480px) { .case__results { grid-template-columns: 1fr 1fr; } }

/* ---------- Before/after bars ---------- */
.bars { display: grid; gap: 1.6rem; }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.bar__head strong { font-size: 0.95rem; color: var(--white); font-weight: 600; }
.bar__head span { font-size: 0.85rem; color: var(--slate-400); white-space: nowrap; }
.bar__track { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar__before, .bar__after { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.bar__after { background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); width: var(--after); transform-origin: left; }
.bar__before { background: var(--slate-600); width: var(--before); z-index: 1; }
.bars-legend { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--slate-400); margin-top: 1.25rem; }
.bars-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.45rem; vertical-align: -1px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.timeline li { position: relative; padding-left: 3rem; padding-bottom: 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory-50); border: 2px solid var(--gold-500); }
.timeline li.is-current::before { background: var(--gold-500); box-shadow: 0 0 0 5px rgba(184,146,74,0.18); }
.timeline__years { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); }
.timeline h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; margin: 0.3rem 0 0.15rem; color: var(--navy-900); line-height: 1.35; }
.timeline__org { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.timeline p:last-child { margin-bottom: 0; color: var(--ink-muted); font-size: 0.96rem; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cred { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cred svg { width: 28px; height: 28px; color: var(--gold-500); flex: none; }
.cred strong { display: block; color: var(--navy-900); font-size: 0.98rem; }
.cred span { display: block; font-size: 0.86rem; color: var(--ink-muted); line-height: 1.4; margin-top: 0.15rem; }

/* ---------- Engagement models ---------- */
.model { display: flex; flex-direction: column; }
.model__term { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); margin-bottom: 0.5rem; }
.model ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; font-size: 0.94rem; color: var(--ink-muted); }
.model li { padding-left: 1.4rem; position: relative; }
.model li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1.5px; background: var(--gold-500); }
.model--featured { background: var(--navy-900); border-color: var(--navy-900); }
.model--featured h3 { color: var(--white); }
.model--featured p, .model--featured ul { color: #B9C5D3; }
.model--featured .model__term { color: var(--gold-400); }
.ribbon { position: absolute; top: -13px; right: 1.25rem; box-shadow: var(--shadow-sm); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-400); color: var(--navy-950); padding: 0.3rem 0.65rem; border-radius: 999px; }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: var(--space-5); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service__aside .card__icon { margin-bottom: 1rem; }
.service__aside h3 { font-size: var(--step-3); }
.service__body h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); margin: 1.5rem 0 0.75rem; font-weight: 600; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 800px) { .service, .service__cols { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #D6DEE8;
  background: var(--navy-900); padding-block: clamp(4rem, 8vw, 6.5rem);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.22; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 15% 50%, rgba(201,164,92,0.14), transparent 60%); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: var(--white); font-size: var(--step-4); margin-bottom: 1rem; }
.cta-band p { color: #C3CEDA; font-size: var(--step-1); max-width: 52ch; margin: 0; }
.cta-band__actions { display: grid; gap: 0.9rem; justify-items: start; }
.cta-band__phone { display: flex; align-items: center; gap: 0.6rem; color: var(--gold-300); text-decoration: none; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.cta-band__phone svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-200); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin-bottom: 0.75rem; }
.post-card h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--ink-muted); font-size: 0.96rem; flex: 1; }

.article { padding-block: var(--space-6); }
.article__body { max-width: 720px; margin-inline: auto; font-size: 1.1rem; line-height: 1.8; }
.article__body h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.article__body h3 { font-size: var(--step-2); margin-top: 2rem; }
.article__body blockquote { margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 3px solid var(--gold-500); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.4; color: var(--navy-900); }
.article__body li { margin-bottom: 0.5rem; }
.article__byline { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.article__byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 58% 25%; border: 2px solid var(--gold-500); }
.article__byline strong { display: block; color: var(--white); }
.article__byline span { font-size: 0.86rem; color: var(--slate-400); }
.author-box { max-width: 720px; margin: 3.5rem auto 0; display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; padding: 2rem; background: var(--ivory-100); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 58% 25%; }
.author-box p { margin-bottom: 0.75rem; color: var(--ink-muted); font-size: 0.98rem; }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy-900); margin-bottom: 0.4rem; }
.field label .opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory-50); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 4px rgba(201,164,92,0.25); }
.field .hint { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.35rem; }
.field .error { display: none; font-size: 0.84rem; color: #B42318; margin-top: 0.35rem; font-weight: 500; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #B42318; }
.field.has-error .error { display: block; }
.chips-input { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips-input label { margin: 0; font-weight: 500; }
.chips-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-input span { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.95rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.9rem; color: var(--ink-muted); background: var(--ivory-50); transition: all .2s; }
.chips-input input:checked + span { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.chips-input input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #ECF6EE; color: #1E5631; border: 1px solid #B9DDBF; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; text-decoration: none; padding: 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.contact-list a:hover { border-color: var(--gold-400); transform: translateX(3px); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.contact-list strong { color: var(--navy-900); font-weight: 600; word-break: break-word; }
.next-steps { counter-reset: ns; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; }
.next-steps li::before { content: counter(ns); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-500); color: var(--gold-700); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.next-steps strong { display: block; color: var(--navy-900); }
.next-steps span { font-size: 0.94rem; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; min-height: 44px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-500); display: grid; place-items: center; color: var(--gold-700); transition: transform .25s var(--ease); }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); padding-bottom: 1.4rem; margin: 0; max-width: 70ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9FAEC0; padding-top: var(--space-6); font-size: 0.93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: var(--space-5); }
.site-footer h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: #C3CEDA; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; transition: color .2s; }
.site-footer a:hover { color: var(--gold-300); }
.footer__brand p { margin-top: 1rem; max-width: 34ch; line-height: 1.6; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; justify-content: center; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: #7F8FA3; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.8rem; color: var(--gold-700); margin-top: 1.5rem; }
.pull { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--navy-900); border-left: 3px solid var(--gold-500); padding-left: 1.5rem; margin: 2rem 0; }

/* ---------- Icon sizing ---------- */
.text-link svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.cred svg, .checks svg, .card__icon svg, .contact-list svg { flex: none; }

/* ---------- Mobile header fixes ---------- */
@media (max-width: 1060px) {
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
}
@media (max-width: 480px) {
  .brand__name { font-size: 1.45rem; }
  .brand__tag { font-size: 0.56rem; letter-spacing: 0.14em; white-space: nowrap; }
}
html, body { overflow-x: clip; }
@media (max-width: 1060px) { .nav__links a { display: flex; } }

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy-950); border-bottom: 1px solid var(--line-dark); font-size: 0.84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__note { color: var(--slate-400); }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; color: var(--gold-300); text-decoration: none; font-weight: 500; letter-spacing: 0.01em; transition: color .2s; }
.topbar__links a:hover { color: var(--white); }
.topbar__links svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 1060px) { .nav__menu { inset: 117px 0 0 0; } }
@media (max-width: 760px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 1.1rem; }
}
@media (max-width: 380px) { .topbar { font-size: 0.78rem; } .topbar__links { gap: 0.8rem; } }

/* ---------- Horsemanship clinics ---------- */
.clinic-facts { display: grid; gap: 0; margin: 0; }
.clinic-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.clinic-facts > div:last-child { border-bottom: 0; }
.clinic-facts dt { font-weight: 600; color: var(--navy-900); font-size: 0.92rem; }
.clinic-facts dd { margin: 0; color: var(--ink); }
.clinic-facts .tbd { color: var(--gold-700); font-style: italic; }
@media (max-width: 480px) { .clinic-facts > div { grid-template-columns: 1fr; gap: 0.2rem; } }
.form-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-md); }
.form-embed iframe { display: block; width: 100%; height: 1500px; border: 0; }
.clinic-switch { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.page-hero .clinic-switch .btn--ghost-light { min-height: 48px; }
.clinic-when { display: flex; width: fit-content; align-items: center; gap: 0.55rem; margin: 0 0 1.1rem; padding: 0.45rem 0.95rem; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--gold-300); font-weight: 600; font-size: 0.95rem; background: rgba(10, 21, 36, 0.45); }
.clinic-when svg { width: 17px; height: 17px; flex: none; }
.clinic-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; align-items: start; }
.clinic-gallery figure { margin: 0; }
.clinic-gallery img, .clinic-gallery video { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--ivory-200); }
.clinic-gallery img { aspect-ratio: 3 / 4; object-fit: cover; }
.clinic-gallery video { aspect-ratio: 16 / 9; object-fit: cover; }
.clinic-gallery figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--ink-muted); }
@media (max-width: 900px) { .clinic-gallery { grid-template-columns: 1fr 1fr; } .clinic-gallery__video { grid-column: 1 / -1; } }
.clinic-gallery--pair { grid-template-columns: 1fr 1fr; }
@media (max-width: 680px) { .clinic-gallery--pair { grid-template-columns: 1fr; } }

/* ---------- Contact form: spam protection ---------- */
.form-status--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0.25rem 0 1.25rem; min-height: 65px; }

/* Whole-card links (404 page) */
a.card { text-decoration: none; color: inherit; }
a.card h3 { color: var(--navy-900); }
a.card:hover h3, a.card:focus-visible h3 { text-decoration: underline; }
