/* ============================================================
   Whatley & Company — Design System
   Executive, calm, advisory operating-system aesthetic.
   Brand direction: navy W&C mark with true red ampersand.
============================================================ */

:root {
  /* Brand palette */
  --ink: #0b3763;
  --ink-2: #092f55;
  --ink-3: #123f6d;
  --ivory: #f6efe2;
  --ivory-2: #efe6d3;
  --ivory-3: #faf5ea;
  --steel: #6e8aa6;
  --steel-2: #4a6781;
  --steel-3: #2f4a63;
  --red: #ff0000;
  --red-2: #ff0000;
  --brass: var(--red);
  --brass-2: var(--red-2);
  --slate-line: #d8d2c4;
  --slate-line-2: #2a3a51;

  --bg: var(--ivory);
  --bg-alt: var(--ivory-3);
  --bg-dark: var(--ink);
  --fg: var(--ink);
  --fg-muted: #4f5d72;
  --fg-on-dark: #e6ecf4;
  --fg-on-dark-muted: #98a8bd;

  --font-display: "Playfair Display", "DM Serif Display", Georgia, serif;
  --font-sans: "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-xs:   0.78rem;
  --text-sm:   0.9rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   clamp(1.5rem, 2.4vw, 2rem);
  --text-2xl:  clamp(2rem, 3.5vw, 2.75rem);
  --text-hero: clamp(2.4rem, 5.4vw, 4.25rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(14,27,44,0.06);
  --shadow: 0 6px 24px rgba(14,27,44,0.08);
  --shadow-lg: 0 20px 60px rgba(14,27,44,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--steel-3); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px;
}
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; }
h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: clamp(var(--space-16), 9vw, var(--space-32)) 0; }
.section--tight { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }
.section--dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--fg-on-dark); }
.section--dark h4 { color: var(--brass-2); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel-3);
  margin: 0 0 var(--space-4);
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px; background: var(--brass);
}
.section--dark .eyebrow { color: var(--brass-2); }
.section--dark .eyebrow::before { background: var(--brass); }

.lede { font-size: var(--text-md); color: var(--fg-muted); max-width: 62ch; }
.section--dark .lede { color: var(--fg-on-dark-muted); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 226, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--slate-line); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; min-width: 0; }
.brand__mark { width: 48px; height: auto; flex: 0 0 auto; object-fit: contain; }
.brand__wordmark { width: clamp(200px, 20vw, 270px); height: auto; object-fit: contain; }
.brand__est {
  flex: 0 0 auto;
  margin-left: 2px;
  color: var(--steel-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(1px);
}
.brand--footer {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ivory-3);
}
.brand--footer .brand__mark { width: 56px; }
.brand--footer .brand__wordmark { width: min(300px, calc(100vw - 140px)); }
.brand__name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__amp { color: var(--red); }
.amp { color: var(--red); }
.brand__name small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-3); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.55vw, var(--space-6)); }
.nav a {
  position: relative; color: var(--ink);
  font-size: var(--text-sm); font-weight: 500; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--brass); transition: right .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.nav-contact {
  position: relative;
}
.nav-contact__trigger {
  display: inline-flex;
}
.nav-contact__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 30;
  width: 285px;
  padding: var(--space-4);
  border: 1px solid var(--slate-line);
  border-radius: 16px;
  background: rgba(248,243,234,0.98);
  box-shadow: 0 22px 55px rgba(14,27,44,0.16);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-contact:hover .nav-contact__panel,
.nav-contact:focus-within .nav-contact__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-contact__panel a,
.nav-contact__panel p {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-line);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.nav-contact__panel a::after { display: none; }
.nav-contact__panel a:first-child {
  color: var(--red);
  font-weight: 700;
}
.nav-contact__panel a span,
.nav-contact__panel p {
  color: var(--fg-muted);
  font-weight: 500;
}
.nav-contact__panel p {
  margin: 0;
  border-bottom: 0;
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--ink); color: var(--ivory) !important;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500;
  transition: background .2s ease;
}
.nav__cta:hover { background: var(--ink-3); }
.nav__cta::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--slate-line);
    padding: var(--space-4) var(--space-6) var(--space-6);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--slate-line); }
  .nav a::after { display: none; }
  .nav-contact { border-bottom: 1px solid var(--slate-line); }
  .nav-contact__trigger { width: 100%; padding: 14px 0; border-bottom: 0 !important; }
  .nav-contact__panel {
    position: static;
    width: auto;
    padding: 0 0 var(--space-3);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-contact__panel a,
  .nav-contact__panel p {
    padding: 8px 0;
    border-bottom: 0;
    font-size: var(--text-xs);
  }
  .nav__cta { margin-top: var(--space-4); justify-content: center; border-bottom: 0 !important; }
  .nav-toggle { display: inline-flex; }
  .brand__mark { width: 40px; }
  .brand__wordmark { width: 185px; }
  .brand__est { font-size: 9px; letter-spacing: 0.1em; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none; letter-spacing: 0.01em;
}
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--ink-3); color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(246,239,226,0.45); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn--brass { background: transparent; color: var(--ink); border-color: var(--brass); }
.btn--brass:hover { background: var(--brass); color: var(--ivory); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ivory-3) 0%, var(--ivory) 100%);
  padding: clamp(var(--space-8), 6vw, var(--space-18)) 0 clamp(var(--space-24), 13vw, var(--space-36));
  overflow: hidden;
}
.hero-spacer {
  height: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--ivory);
}
.hero::after {
  content: ""; position: absolute; inset: auto -20% -55% auto;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(110,138,166,0.16), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__kicker {
  display: inline-block;
  margin: 0 0 var(--space-4);
  color: var(--red);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero__title {
  font-size: var(--text-hero);
  line-height: 1.04;
  margin: 0 0 var(--space-6);
  max-width: 16ch;
}
.hero__title em { font-style: italic; color: var(--steel-3); }
.hero__lede { font-size: var(--text-md); color: var(--fg-muted); max-width: 56ch; margin: 0 0 var(--space-8); }
.hero__proof {
  margin-top: var(--space-10); padding-top: var(--space-6);
  border-top: 1px solid var(--slate-line);
  font-size: var(--text-sm); color: var(--fg-muted); max-width: 60ch;
}

.hero__visual { position: relative; width: 100%; max-width: 560px; margin-left: auto; margin-right: 0; }
.hero-image-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  border: 1px solid rgba(226,35,26,0.28);
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(14,27,44,0.18);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}
.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,55,99,0.04), rgba(11,55,99,0.72)),
    linear-gradient(90deg, rgba(11,55,99,0.08), rgba(11,55,99,0.22));
  pointer-events: none;
}
.hero-image-card figcaption {
  position: absolute;
  left: clamp(var(--space-5), 5vw, var(--space-8));
  right: clamp(var(--space-5), 5vw, var(--space-8));
  bottom: clamp(var(--space-5), 5vw, var(--space-8));
  z-index: 1;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid rgba(246,239,226,0.2);
  border-radius: 18px;
  background: rgba(11,55,99,0.78);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}
.hero-image-card figcaption span {
  color: #ffb4ad;
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-image-card figcaption strong {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}
.hero-image-card figcaption small {
  color: var(--fg-on-dark-muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}
.track-record-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 18%, rgba(225,38,28,0.24), transparent 30%),
    linear-gradient(135deg, #101820, var(--ink) 54%, #243345);
  border: 1px solid rgba(225,38,28,0.34);
  box-shadow: 0 24px 70px rgba(14,27,44,0.18);
}
.track-record-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-4);
}
.track-record-card__top span,
.track-record-card__caption span,
.proof-panel span {
  color: var(--red);
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}
.track-record-card__top strong {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 12vw, 9rem);
  line-height: 0.9;
  color: var(--ivory);
  font-weight: 500;
}
.track-record-card__top small {
  display: block;
  color: var(--fg-on-dark-muted);
  font-size: var(--text-md);
}
.track-record-card__mark {
  width: clamp(92px, 12vw, 142px);
  height: auto;
  opacity: 0.2;
  filter: grayscale(100%) brightness(1.8);
  flex: 0 0 auto;
}
.track-record-card__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-7) 0 0;
}
.track-record-card__grid a {
  min-height: 82px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgba(246,239,226,0.18);
  border-radius: 14px;
  background: rgba(246,239,226,0.08);
  color: var(--ivory);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.track-record-card__grid a:hover {
  transform: translateY(-2px);
  background: rgba(246,239,226,0.13);
  border-color: rgba(225,38,28,0.45);
  color: var(--ivory);
}
.track-record-card__grid a span {
  line-height: 1.2;
}
.track-record-card__grid a small {
  color: var(--fg-on-dark-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}
.track-record-card__caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(246,239,226,0.16);
}
.track-record-card__caption strong {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.18;
}

.experience-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--slate-line);
  background: var(--ink);
  color: var(--ivory);
  margin-bottom: clamp(var(--space-6), 4vw, var(--space-12));
}
.experience-ticker::before,
.experience-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(48px, 9vw, 140px);
  pointer-events: none;
}
.experience-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 35%, rgba(11,55,99,0) 100%);
}
.experience-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink) 0%, var(--ink) 35%, rgba(11,55,99,0) 100%);
}
.experience-ticker__track {
  display: flex;
  width: max-content;
  gap: var(--space-3);
  padding: var(--space-4) clamp(48px, 9vw, 140px);
  animation: ticker-scroll 52s linear infinite;
}
.experience-ticker__track span {
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(246,239,226,0.16);
  border-radius: 999px;
  background: rgba(246,239,226,0.08);
  color: var(--fg-on-dark-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .experience-ticker__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--space-4); }
}

.section--proof {
  background: linear-gradient(180deg, var(--ivory-2), var(--ivory));
  padding-top: var(--space-16);
}

.section--ai {
  width: min(calc(100% - clamp(var(--space-6), 8vw, var(--space-20))), 1180px);
  margin-inline: auto;
  padding-block: var(--space-6);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--fg-on-dark);
}
.section--ai .eyebrow {
  color: #dbe6f2;
}
.section--ai .eyebrow::before {
  background: var(--red);
}
.section--ai .lede { color: var(--fg-on-dark-muted); }

.section--process-home {
  width: min(calc(100% - clamp(var(--space-6), 8vw, var(--space-20))), 1180px);
  margin: var(--space-8) auto clamp(var(--space-10), 6vw, var(--space-16));
  padding-block: var(--space-8);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
}
.ai-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
.ai-feature__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.ai-feature__grid--wide {
  margin-top: var(--space-8);
}
.ai-feature__grid div {
  min-height: 150px;
  padding: var(--space-6);
  border: 1px solid rgba(246,239,226,0.16);
  border-radius: 18px;
  background: rgba(246,239,226,0.08);
}
.ai-feature__grid strong {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ivory);
}
.ai-feature__grid span {
  color: var(--fg-on-dark-muted);
}
.section--alt .ai-feature__grid div {
  border-color: var(--slate-line);
  background: var(--ivory-3);
  box-shadow: 0 12px 32px rgba(14,27,44,0.06);
}
.section--alt .ai-feature__grid strong {
  color: var(--ink);
}
.section--alt .ai-feature__grid span {
  color: var(--fg-muted);
}
@media (max-width: 880px) {
  .ai-feature { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ai-feature__grid { grid-template-columns: 1fr; }
}

.metaphor-image {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--slate-line);
  background: var(--ink);
  box-shadow: 0 20px 55px rgba(14,27,44,0.12);
}
.metaphor-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.98);
}
.metaphor-image--dark {
  border-color: rgba(246,239,226,0.16);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}
.proof-intro {
  max-width: 760px;
  margin-bottom: var(--space-10);
}
.proof-panels {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: var(--space-5);
}
.proof-panel {
  min-width: 0;
  padding: clamp(var(--space-8), 3vw, var(--space-10));
  border: 1px solid var(--slate-line);
  border-radius: 20px;
  background: var(--ivory-3);
  box-shadow: 0 18px 45px rgba(14,27,44,0.08);
  overflow-wrap: normal;
}
.proof-panel--dark {
  background: var(--ink);
  color: var(--ivory);
}
.proof-panel strong {
  display: block;
  margin: var(--space-5) 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
  overflow-wrap: normal;
}
.proof-panel p {
  margin: 0;
  color: var(--fg-muted);
  max-width: 100%;
  overflow-wrap: normal;
  line-height: 1.7;
}
.proof-panel--dark p { color: var(--fg-on-dark-muted); }
@media (max-width: 900px) {
  .proof-panels { grid-template-columns: 1fr; }
  .proof-panel { padding: var(--space-6); }
}

.hero-photo {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(14,27,44,0.18);
  border: 1px solid rgba(225,38,28,0.28);
  background: var(--ink);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14,27,44,0.58) 100%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}
.hero-photo figcaption {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 1;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  max-width: 18ch;
}
.hero__panel {
  position: absolute;
  background: var(--ink); color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  font-size: var(--text-sm);
  border: 1px solid var(--slate-line-2);
}
.hero__panel--main {
  top: 0; left: 0; right: 8%; bottom: 12%;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__panel--card {
  right: -2%; bottom: -10%; width: 60%;
  background: var(--ivory); color: var(--ink);
  border: 1px solid var(--slate-line); box-shadow: var(--shadow);
  padding: var(--space-5);
}
.panel-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.panel-h { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; margin: 12px 0 8px; color: var(--ivory); }
.panel-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.panel-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--fg-on-dark-muted);
  padding-bottom: 10px; border-bottom: 1px solid var(--slate-line-2);
}
.panel-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-list .dot { width: 8px; height: 8px; background: var(--brass); border-radius: 50%; flex-shrink: 0; }
.panel-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-on-dark-muted); margin-top: 22px; }

.hero__panel--card .panel-tag { color: var(--steel-3); }
.hero__panel--card .stat { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin: 8px 0 4px; }
.hero__panel--card .stat-label { font-size: 12px; color: var(--fg-muted); line-height: 1.4; }

@media (max-width: 980px) { .hero__visual { max-width: 620px; margin: 0 auto; } }
@media (max-width: 540px) {
  .hero-photo img { min-height: 340px; }
  .hero__panel--card { width: 70%; right: 0; bottom: -8%; }
}

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ivory-3);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius);
  padding: var(--space-8);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--steel); }
.card__num {
  font-family: var(--font-display); font-size: 0.95rem;
  color: var(--brass); letter-spacing: 0.15em;
  margin-bottom: var(--space-4); display: block;
}
.card__title { font-family: var(--font-sans); font-size: var(--text-lg); margin: 0 0 var(--space-3); color: var(--ink); }
.card__body { color: var(--fg-muted); margin: 0; font-size: var(--text-base); }

.card--dark { background: var(--ink-2); border-color: var(--slate-line-2); }
.card--dark .card__title { color: var(--ivory); }
.card--dark .card__body { color: var(--fg-on-dark-muted); }
.card--dark:hover { border-color: var(--brass); }

.card--accent { border-left: 3px solid var(--brass); }

/* Service rows */
.service-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-12);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--slate-line);
  align-items: start;
}
.service-row:last-child { border-bottom: 0; }
.service-row__index {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--brass); font-weight: 400;
}
.service-row__index small {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.2;
  color: var(--steel-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
  max-width: 10ch;
}
.service-row h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-bottom: var(--space-4); }
.definition-line {
  margin: calc(var(--space-4) * -0.4) 0 var(--space-4);
  color: var(--red);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.service-row ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.service-row ul li { font-size: var(--text-sm); color: var(--fg-muted); position: relative; padding-left: 18px; }
.service-row ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--brass); }
@media (max-width: 880px) {
  .service-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .service-row ul { grid-template-columns: 1fr; }
}

/* Process diagram */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--slate-line-2);
  border-bottom: 1px solid var(--slate-line-2);
}
.process__step {
  padding: var(--space-10) var(--space-6);
  border-right: 1px solid var(--slate-line-2);
  position: relative;
}
.process__step:last-child { border-right: 0; }
.process__step .num {
  font-family: var(--font-display); color: var(--brass);
  font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: 0.08em;
  display: block; margin-bottom: var(--space-5);
}
.process__step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 0 0 var(--space-3); color: inherit; }
.process__step p { font-size: var(--text-sm); margin: 0; opacity: .85; }
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: 0; border-bottom: 1px solid var(--slate-line-2); }
  .process__step:last-child { border-bottom: 0; }
}

/* Process detail */
.process-detail { display: grid; gap: var(--space-12); }
.process-detail__row {
  display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: var(--space-8);
  padding: var(--space-10) 0;
  border-top: 1px solid var(--slate-line);
  align-items: start;
}
.process-detail__row:first-child { border-top: 0; padding-top: 0; }
.process-detail__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--brass); line-height: 1; }
.process-detail h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.85rem; margin: -6px 0 var(--space-3); }
.process-detail h4 { color: var(--steel-3); margin-bottom: var(--space-3); }
.process-detail ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.process-detail ul li { font-size: var(--text-sm); color: var(--fg-muted); padding-left: 22px; position: relative; }
.process-detail ul li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }
@media (max-width: 880px) {
  .process-detail__row { grid-template-columns: 1fr; gap: var(--space-3); }
  .process-detail__num { font-size: 2rem; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; } }
.bio {
  display: grid; grid-template-columns: 110px 1fr; gap: var(--space-6);
  padding: var(--space-8);
  background: var(--ivory-3);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius);
}
.bio__avatar {
  width: 110px; height: 110px;
  background: var(--ivory-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(225,38,28,0.18);
  position: relative; overflow: hidden;
}
.bio__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio__avatar::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(225,38,28,0.4); border-radius: 50%; pointer-events: none; }
.bio h3 { margin: 0 0 4px; font-size: var(--text-lg); font-family: var(--font-sans); }
.bio__role { color: var(--steel-3); font-size: var(--text-sm); margin: 0 0 var(--space-3); letter-spacing: 0.04em; }
.bio p { font-size: var(--text-sm); color: var(--fg-muted); margin: 0 0 var(--space-3); line-height: 1.65; }
.bio__contact { font-size: var(--text-sm); color: var(--steel-3); display: grid; gap: 4px; margin-top: var(--space-3); }
.bio__contact a { color: var(--steel-3); }
.bio__contact a:hover { color: var(--ink); }
.bio__creds { font-size: var(--text-xs); color: var(--steel-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: var(--space-3); }
@media (max-width: 540px) { .bio { grid-template-columns: 1fr; } }

/* Proof strip */
.proof-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--slate-line-2);
  border-bottom: 1px solid var(--slate-line-2);
}
.proof-strip__stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory); font-weight: 500; line-height: 1;
}
.proof-strip__stat .num em { font-style: normal; color: var(--brass-2); }
.proof-strip__stat .label {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-on-dark-muted); margin-top: var(--space-3); display: block;
}
@media (max-width: 720px) { .proof-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }

/* Pull quote */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3; font-weight: 400; font-style: italic;
  color: var(--ink); max-width: 30ch; margin: 0;
  padding-left: var(--space-8); border-left: 2px solid var(--brass);
}
.section--dark .pullquote { color: var(--ivory); }

/* Editorial image moments */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
@media (max-width: 880px) {
  .editorial-split { grid-template-columns: 1fr; }
}

.image-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ivory-3);
  border: 1px solid var(--slate-line);
  box-shadow: 0 18px 45px rgba(14,27,44,0.1);
}
.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.97);
}
.image-card figcaption {
  padding: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.3;
  color: var(--ink);
  background: var(--ivory-3);
}
.image-card--tilt {
  transform: rotate(1deg);
}
@media (max-width: 880px) {
  .image-card--tilt { transform: none; }
}

/* Concept visuals: growth, process, no-boilerplate */
.concept-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  background:
    radial-gradient(circle at 22% 18%, rgba(225,38,28,0.24), transparent 30%),
    linear-gradient(135deg, var(--ink), #17304a 58%, #203c57);
  border: 1px solid rgba(225,38,28,0.34);
  box-shadow: 0 24px 70px rgba(14,27,44,0.18);
  color: var(--ivory);
}
.concept-card--engine {
  background:
    radial-gradient(circle at 78% 18%, rgba(225,38,28,0.22), transparent 26%),
    linear-gradient(135deg, #101820, var(--ink) 54%, #243345);
}
.concept-card--farm {
  background:
    radial-gradient(circle at 16% 16%, rgba(225,38,28,0.20), transparent 28%),
    linear-gradient(135deg, #122315, #18311e 45%, var(--ink));
}
.concept-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(246,239,226,0.12);
  border-radius: 18px;
  pointer-events: none;
}
.concept-card--hero { min-height: 520px; }
.concept-card--compact { min-height: 300px; }
.concept-card__caption {
  position: absolute;
  left: clamp(var(--space-6), 5vw, var(--space-10));
  right: clamp(var(--space-6), 5vw, var(--space-10));
  bottom: clamp(var(--space-6), 5vw, var(--space-10));
  display: grid;
  gap: var(--space-2);
}
.concept-card__caption span {
  width: max-content;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(225,38,28,0.45);
  border-radius: 999px;
  color: #ffb4ad;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.concept-card__caption strong {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.engine-diagram {
  position: relative;
  z-index: 1;
  width: min(420px, 88vw);
  height: 300px;
  margin: 0 auto;
}
.engine-diagram__block {
  position: absolute;
  left: 60px;
  top: 92px;
  width: 260px;
  height: 130px;
  border-radius: 18px;
  border: 2px solid rgba(246,239,226,0.52);
  background:
    linear-gradient(90deg, transparent 31%, rgba(246,239,226,0.14) 31% 33%, transparent 33% 64%, rgba(246,239,226,0.14) 64% 66%, transparent 66%),
    rgba(246,239,226,0.08);
  box-shadow: inset 0 0 0 10px rgba(246,239,226,0.04);
}
.engine-diagram__piston {
  position: absolute;
  top: 40px;
  width: 44px;
  height: 96px;
  border: 2px solid var(--brass);
  border-radius: 11px;
  background: rgba(225,38,28,0.16);
}
.engine-diagram__piston::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -68px;
  width: 2px;
  height: 68px;
  background: rgba(246,239,226,0.44);
  transform: translateX(-50%) rotate(-10deg);
  transform-origin: top;
}
.engine-diagram__piston--one { left: 86px; }
.engine-diagram__piston--two { left: 168px; top: 24px; }
.engine-diagram__piston--three { left: 250px; }
.engine-diagram__belt {
  position: absolute;
  left: 80px;
  top: 202px;
  width: 230px;
  height: 48px;
  border: 2px solid rgba(246,239,226,0.48);
  border-radius: 50%;
  transform: rotate(-6deg);
}
.engine-diagram__gauge {
  position: absolute;
  right: 0;
  top: 34px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(246,239,226,0.58);
  display: grid;
  place-items: center;
  background: rgba(246,239,226,0.08);
}
.engine-diagram__gauge::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--brass);
  transform: rotate(-34deg);
  transform-origin: right center;
}
.engine-diagram__gauge small {
  transform: translateY(22px);
  color: #ffb4ad;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}
.engine-diagram__label {
  position: absolute;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(246,239,226,0.10);
  border: 1px solid rgba(246,239,226,0.22);
  color: var(--ivory);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.engine-diagram__label--one { left: 48px; top: 255px; }
.engine-diagram__label--two { left: 170px; top: 255px; }
.engine-diagram__label--three { right: 20px; top: 255px; }

.field-rows {
  position: relative;
  z-index: 1;
  width: min(420px, 88vw);
  height: 230px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 76% 18%, rgba(246,239,226,0.16), transparent 16%),
    linear-gradient(180deg, rgba(246,239,226,0.08), rgba(246,239,226,0.02));
  border: 1px solid rgba(246,239,226,0.15);
}
.field-rows--large { height: 280px; }
.field-rows span:not(.tractor-mark) {
  position: absolute;
  left: -12%;
  right: -12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225,38,28,0.72), transparent);
  transform: rotate(-13deg);
}
.field-rows span:nth-child(2) { top: 58px; }
.field-rows span:nth-child(3) { top: 92px; }
.field-rows span:nth-child(4) { top: 126px; }
.field-rows span:nth-child(5) { top: 160px; }
.field-rows span:nth-child(6) { top: 194px; }
.field-rows span:nth-child(7) { top: 228px; }
.tractor-mark {
  position: absolute;
  left: 60px;
  top: 80px;
  width: 98px;
  height: 52px;
  border-radius: 10px 20px 8px 8px;
  border: 2px solid rgba(246,239,226,0.78);
  background: rgba(64,111,57,0.50);
  box-shadow: 42px 18px 0 -6px rgba(225,38,28,0.80);
}
.tractor-mark::before,
.tractor-mark::after {
  content: "";
  position: absolute;
  bottom: -22px;
  border-radius: 50%;
  border: 3px solid rgba(246,239,226,0.72);
  background: #101820;
}
.tractor-mark::before { left: 4px; width: 38px; height: 38px; }
.tractor-mark::after { right: -16px; width: 56px; height: 56px; bottom: -28px; }

.tuning-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
  max-width: 380px;
  margin: 0 auto;
}
.tuning-stack span {
  position: relative;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(246,239,226,0.22);
  background: rgba(246,239,226,0.08);
  display: flex;
  align-items: center;
  padding: 0 var(--space-5);
}
.tuning-stack b {
  color: var(--ivory);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tuning-stack span::after {
  content: "";
  position: absolute;
  right: var(--space-5);
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brass) 58%, rgba(246,239,226,0.22) 58%);
}

.venn {
  position: relative;
  width: min(360px, 82vw);
  height: 250px;
  margin: 0 auto;
}
.venn--small { width: min(320px, 72vw); height: 220px; }
.venn__circle {
  position: absolute;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246,239,226,0.44);
  background: rgba(246,239,226,0.12);
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.venn__circle--one { left: 10px; top: 12px; }
.venn__circle--two { right: 10px; top: 12px; background: rgba(225,38,28,0.20); }
.venn__circle--three { left: 94px; bottom: 0; background: rgba(47,74,99,0.55); }

.growth-rocket {
  position: absolute;
  right: 15%;
  top: 35%;
  width: 120px;
  height: 120px;
  transform: rotate(-34deg);
}
.growth-rocket__trail {
  position: absolute;
  left: 0;
  top: 56px;
  width: 88px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(225,38,28,0.78));
}
.growth-rocket__body {
  position: absolute;
  right: 8px;
  top: 34px;
  width: 52px;
  height: 28px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: var(--ivory);
  box-shadow: 0 0 0 8px rgba(246,239,226,0.08);
}
.growth-rocket__body::before {
  content: "";
  position: absolute;
  right: -15px;
  top: 8px;
  border-left: 18px solid var(--brass);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.growth-rocket__body::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--steel);
}

.ladder {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
  max-width: 420px;
  margin: 0 auto;
}
.ladder span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 var(--space-5);
  border: 1px solid rgba(246,239,226,0.22);
  border-radius: 14px;
  background: rgba(246,239,226,0.10);
  color: var(--ivory);
  font-weight: 700;
}
.ladder span::after {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--brass);
  box-shadow: 16px 0 0 rgba(225,38,28,0.45);
}

.blueprint-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.blueprint-grid span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(246,239,226,0.35);
  border-radius: 16px;
  background:
    linear-gradient(rgba(246,239,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,239,226,0.06) 1px, transparent 1px),
    rgba(246,239,226,0.08);
  background-size: 18px 18px;
  color: var(--ivory);
  font-weight: 700;
}

@media (max-width: 540px) {
  .concept-card--hero { min-height: 460px; }
  .venn { transform: scale(0.82); transform-origin: top center; }
  .growth-rocket { right: 8%; top: 42%; transform: scale(0.86) rotate(-34deg); }
}

/* Curriculum */
.curriculum { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 880px) { .curriculum { grid-template-columns: 1fr; } }
.module {
  border: 1px solid var(--slate-line); border-radius: var(--radius);
  padding: var(--space-6); background: var(--ivory-3);
  transition: border-color .25s ease, transform .25s ease;
}
.module:hover { border-color: var(--brass); transform: translateY(-2px); }
.module .week { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--space-3); }
.module h3 { font-family: var(--font-sans); font-size: var(--text-base); margin-bottom: var(--space-2); }
.module p { font-size: var(--text-sm); color: var(--fg-muted); margin: 0; }

/* Forms */
.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--ivory-3);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-sm);
  font: inherit; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--steel-3); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form__submit { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.form__hint { color: var(--fg-muted); font-size: var(--text-xs); margin: 0; max-width: 50ch; }
.form__success {
  display: none;
  padding: var(--space-6);
  background: var(--ink); color: var(--ivory);
  border-radius: var(--radius); border-left: 3px solid var(--brass);
}
.form__success.is-visible { display: block; }
.form.is-submitted { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-12); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-direct {
  background: var(--ink); color: var(--fg-on-dark);
  padding: var(--space-8); border-radius: var(--radius);
  border: 1px solid var(--slate-line-2);
}
.contact-direct h3 { font-family: var(--font-sans); color: var(--ivory); font-size: var(--text-lg); margin-bottom: var(--space-4); }
.contact-direct .item { padding: var(--space-4) 0; border-top: 1px solid var(--slate-line-2); }
.contact-direct .item:first-of-type { border-top: 0; padding-top: 0; }
.contact-direct .item-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 4px; }
.contact-direct .item a { color: var(--ivory); font-size: var(--text-md); }
.contact-direct .item a:hover { color: var(--brass-2); }
.contact-direct p { color: var(--fg-on-dark-muted); font-size: var(--text-sm); margin: 0; }

/* Footer */
.footer { background: var(--ink); color: var(--fg-on-dark-muted); padding: var(--space-16) 0 var(--space-8); font-size: var(--text-sm); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--slate-line-2);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--brass-2); font-size: 11px; letter-spacing: 0.18em; margin-bottom: var(--space-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--fg-on-dark-muted); font-size: var(--text-sm); }
.footer a:hover { color: var(--ivory); }
.footer__brand p { max-width: 36ch; margin-top: var(--space-4); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding-top: var(--space-6); flex-wrap: wrap;
  font-size: var(--text-xs); color: var(--fg-on-dark-muted);
}
.footer__brand .brand, .footer__brand .brand__name { color: var(--ivory); }

/* Sub-page hero */
.subhero {
  background: var(--ink); color: var(--ivory);
  padding: clamp(var(--space-16), 11vw, var(--space-24)) 0 clamp(var(--space-12), 7vw, var(--space-16));
  position: relative; overflow: hidden;
}
.subhero::after {
  content: ""; position: absolute; inset: -30% -10% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(225,38,28,0.14), transparent 65%);
  pointer-events: none;
}
.subhero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 24ch; margin: 0 0 var(--space-6); color: var(--ivory); }
.subhero .lede { color: var(--fg-on-dark-muted); max-width: 60ch; }
.subhero__why {
  color: var(--fg-on-dark-muted);
  max-width: 64ch;
  margin: var(--space-5) 0 0;
  font-size: var(--text-md);
  line-height: 1.75;
}
.subhero__why span {
  color: var(--red-2);
  font-weight: 700;
  font-style: italic;
}
.subhero .eyebrow { color: var(--brass-2); }
.subhero .eyebrow::before { background: var(--brass); }

/* The Whatley Story */
.subhero--story h1 {
  max-width: 20ch;
}
.subhero--story .lede {
  max-width: 72ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}
.story-section {
  background:
    linear-gradient(90deg, rgba(11,55,99,0.055) 0, rgba(11,55,99,0.055) 1px, transparent 1px, transparent 100%),
    var(--bg);
  background-size: 88px 100%;
}
.story-article {
  display: grid;
  grid-template-columns: 140px minmax(0, 760px);
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.story-rail {
  position: sticky;
  top: 118px;
  display: grid;
  gap: var(--space-4);
  padding-top: 7px;
  color: var(--steel-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.story-rail span {
  display: block;
  padding-left: var(--space-4);
  border-left: 2px solid var(--red);
}
.story-copy {
  font-size: clamp(1.03rem, 1.6vw, 1.12rem);
  line-height: 1.82;
  color: #263b55;
}
.story-copy p {
  margin: 0 0 var(--space-6);
}
.story-lede {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 24ch;
}
.story-image {
  margin: var(--space-10) 0;
  padding: clamp(var(--space-4), 3vw, var(--space-6));
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-lg);
  background: var(--ivory-3);
  box-shadow: 0 18px 45px rgba(14,27,44,0.1);
}
.story-image img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(11,55,99,0.12);
  transition: transform .25s ease, filter .25s ease;
}
.story-image a {
  display: block;
  color: inherit;
}
.story-image--feature a {
  display: grid;
  grid-template-columns: minmax(180px, 0.95fr) 1fr;
  gap: clamp(var(--space-5), 4vw, var(--space-8));
  align-items: center;
}
.story-image__thumb {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  background: transparent;
}
.story-image__thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 0;
}
.story-image__text {
  display: grid;
  gap: var(--space-3);
}
.story-image__source {
  color: var(--red);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.story-image__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--ink);
}
.story-image__text > span:not(.story-image__source):not(.story-image__cta) {
  color: var(--fg-muted);
  line-height: 1.55;
  font-size: var(--text-sm);
}
.story-image__cta {
  width: max-content;
  margin-top: var(--space-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--red);
  color: var(--ink) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.story-image a:hover img {
  transform: translateY(-2px);
  filter: brightness(0.98);
}
.story-image figcaption {
  margin-top: var(--space-3);
  color: var(--steel-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .story-image--feature a {
    grid-template-columns: 1fr;
  }
  .story-image__text strong {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }
}
.story-close {
  margin-top: var(--space-10);
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--fg-on-dark);
}
.story-close p {
  margin: 0;
  color: var(--fg-on-dark);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
}
@media (max-width: 820px) {
  .story-article {
    grid-template-columns: 1fr;
  }
  .story-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: 0 0 var(--space-2);
  }
  .story-rail span {
    padding: 4px 10px;
    border: 1px solid var(--slate-line);
    border-left: 2px solid var(--red);
    background: var(--ivory-3);
  }
}

.divider { height: 1px; background: var(--slate-line); border: 0; margin: 0; }
.section--dark .divider { background: var(--slate-line-2); }
.text-center { text-align: center; }
.section-head { max-width: 60ch; margin-bottom: var(--space-12); }
.section-head h2 { margin-bottom: var(--space-4); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--slate-line);
}
.section--dark .kicker { border-color: var(--slate-line-2); }
.kicker h2 { margin: 0; }
.kicker__meta { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-3); }

.skip-link { position: absolute; left: -9999px; top: 0; padding: 8px 12px; background: var(--ink); color: var(--ivory); z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
