/* ==========================================================================
   Forward Care Strategies: Home page (interim design, 12 Nov 2026)
   Colour source of truth: 08_Brand/FCS_COLOUR_SYSTEM.md
   Rules: flat fills only, no gradients, no shadows, gold never used as text.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --fcs-navy: #1D2E5B;
  --fcs-green: #1C5A4A;
  --fcs-ivory: #F8F6F3;
  --fcs-white: #FFFFFF;
  --fcs-navy-deep: #142042;
  --fcs-green-deep: #144036;
  --fcs-dusty-deep: #5A7288;
  --fcs-stone: #D7D2CB;
  --fcs-sage: #9FB7A5;
  --fcs-dusty: #7088A8;
  --fcs-gold: #C4A96A;
  --fcs-gold-deep: #7A6329;

  --font-serif: "Gambetta", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "General Sans", "Switzer", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(24px, 5.6vw, 80px);
  --max: 1200px;
  --section: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  --indent: clamp(36px, 8.4vw, 102px);   /* route-line column */
  --radius-btn: 8px;
  --radius-card: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fcs-ivory);
  color: var(--fcs-navy);
  font-family: var(--font-sans);
  font-size: clamp(17px, 0.4vw + 15.5px, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--fcs-green);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero :focus-visible,
.specialty :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible { outline-color: var(--fcs-white); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--fcs-navy);
  color: var(--fcs-white);
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2--on-dark { color: var(--fcs-white); }

.lead {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fcs-gold-deep);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1.5px;
  background: var(--fcs-gold);
}
.eyebrow--on-dark { color: var(--fcs-ivory); }
.eyebrow--sage { color: var(--fcs-ivory); }
.eyebrow--sage::before { background: var(--fcs-sage); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font: 500 16px/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--primary { background: var(--fcs-navy); color: var(--fcs-white); }
.btn--primary:hover { background: var(--fcs-navy-deep); }
.btn--light { background: var(--fcs-white); color: var(--fcs-navy); }
.btn--light:hover { background: var(--fcs-ivory); border-color: var(--fcs-sage); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  font-size: 16px;
  color: var(--fcs-green);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
  transition: text-decoration-color 0.3s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { color: var(--fcs-green-deep); text-decoration-color: currentColor; }
.link-arrow svg { transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--on-dark, .link-arrow--on-dark:hover { color: var(--fcs-white); }
.link-arrow--on-dark:hover svg { transform: translateY(3px); }

.chip, .chips li {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--fcs-stone);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fcs-navy);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--on-dark li { border-color: var(--fcs-sage); color: var(--fcs-white); }

/* ---------- Logo lockup ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--fcs-navy);
}
.logo__mark { width: auto; height: 40px; }
.logo__word {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo__line1 { font-size: 15px; letter-spacing: 0.16em; }
.logo__line2 { font-size: 11px; letter-spacing: 0.34em; color: var(--fcs-green); }
.logo--on-dark { color: var(--fcs-white); }
.logo--on-dark .logo__line2 { color: var(--fcs-ivory); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fcs-ivory);
  border-bottom: 1px solid var(--fcs-stone);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--fcs-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--fcs-navy);
  font: 500 16px/1 var(--font-sans);
  cursor: pointer;
}
.menu-btn__icon { display: grid; gap: 6px; width: 24px; }
.menu-btn__icon span { height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + 1px) 0 0 0;
  background: var(--fcs-ivory);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-block: 24px 40px; }
.mobile-menu li { border-bottom: 1px solid var(--fcs-stone); }
.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--fcs-green); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.mobile-menu li span { font: 500 13px/1 var(--font-sans); letter-spacing: 0.1em; color: var(--fcs-gold-deep); }
.mobile-menu .btn { margin-top: 32px; }
.mobile-menu__meta { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--fcs-dusty-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, calc(100svh - var(--header-h)), 980px);
  background: var(--fcs-navy);
  color: var(--fcs-white);
  isolation: isolate;
}
.hero__img, .specialty__img, .closing__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__img, .hero__video { object-position: 68% 60%; }
.hero__overlay, .specialty__overlay, .closing__overlay { position: absolute; inset: 0; z-index: -1; }
.hero__overlay { background: var(--fcs-navy); opacity: 0.68; }

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(48px, 5vw, 72px);
}
.hero__title {
  max-width: 11ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__sub {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.35;
  color: var(--fcs-ivory);
}
.hero__support { max-width: 60ch; margin-top: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: clamp(32px, 3.4vw, 48px); }

.hero__foot { border-top: 1px solid rgb(255 255 255 / 0.24); }
.hero__foot-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-left: calc(var(--gutter) + var(--indent));
  font-size: 14px;
}
.hero__route-start {
  position: absolute;
  left: calc(var(--gutter) + 4.25px);
  top: 20px;
  bottom: 0;
  width: 1.5px;
  background: var(--fcs-gold);
}
.hero__route-start::before {
  content: "";
  position: absolute;
  left: -4.25px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fcs-gold);
}
.hero__index { display: flex; gap: clamp(20px, 3.4vw, 52px); }
.hero__index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--fcs-white);
}
.hero__index span { font-size: 12px; letter-spacing: 0.1em; color: var(--fcs-ivory); opacity: 0.75; }
.hero__index a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero__place { color: var(--fcs-ivory); white-space: nowrap; }

/* ---------- Route (statement + what we do) ---------- */
.route__wrap { position: relative; }
.route__line {
  position: absolute;
  left: calc(var(--gutter) + 4.25px);
  top: 0;
  width: 1.5px;
  height: var(--route-h, calc(100% - var(--section)));
  background: var(--fcs-stone);
}
.route__fill {
  position: absolute;
  inset: 0;
  background: var(--fcs-gold);
  transform-origin: top;
  transform: scaleY(var(--route-p, 1));
}

.statement { padding: clamp(88px, 12vw, 160px) 0 clamp(56px, 7vw, 96px) var(--indent); }
.statement__text {
  max-width: 30em;
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.25vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.services { padding: clamp(40px, 5vw, 64px) 0 var(--section) var(--indent); }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { max-width: 24em; }
.section-head .lead { margin-top: 18px; color: var(--fcs-dusty-deep); }
.section-head--split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px 48px;
  align-items: end;
}
.section-head--split .lead { margin-top: 0; color: var(--fcs-navy); }

.stops { border-top: 1px solid var(--fcs-stone); }
.stop {
  position: relative;
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 16px 48px;
  margin-inline: -24px;
  padding: clamp(32px, 4vw, 52px) 24px;
  border-bottom: 1px solid var(--fcs-stone);
  transition: background-color 0.35s var(--ease);
}
.stop:hover, .stop:focus-within { background: var(--fcs-white); }
.stop__marker {
  position: absolute;
  left: calc(24px - var(--indent));
  top: calc(clamp(32px, 4vw, 52px) + 2px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fcs-gold);
  outline: 6px solid var(--fcs-ivory);
  transition: transform 0.35s var(--ease);
}
.stop:hover .stop__marker, .stop:focus-within .stop__marker { transform: scale(1.4); }
.stop__num {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--fcs-gold-deep);
}
.stop__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.stop__body { max-width: 38em; padding-top: 4px; }
.stop__title { margin-bottom: 12px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--fcs-green); }
.stop__body .chip { margin-top: 22px; }

/* ---------- Specialty band ---------- */
.specialty {
  position: relative;
  isolation: isolate;
  padding-block: var(--section);
  background: var(--fcs-green-deep);
  color: var(--fcs-white);
}
.specialty__overlay { background: var(--fcs-green-deep); opacity: 0.8; }
.specialty__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 32px clamp(48px, 8vw, 120px);
  align-items: start;
}
.specialty .h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; }
.specialty__body { padding-top: clamp(0px, 2.6vw, 38px); }
.specialty__body p { max-width: 34em; color: var(--fcs-ivory); font-size: clamp(18px, 1.5vw, 20px); }
.specialty__body .chips { margin-top: 32px; }

/* ---------- About ---------- */
.about { padding-block: var(--section); }
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px clamp(48px, 8vw, 112px);
  align-items: center;
}
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.about__copy { margin-top: 28px; }
.about__copy p + p { margin-top: 18px; }
.about__copy p { max-width: 36em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--fcs-stone); }
.facts dt { margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fcs-gold-deep); }
.facts dd { font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; }

/* ---------- Team ---------- */
.team { padding-block: var(--section); background: var(--fcs-white); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(24px, 3.4vw, 48px); }
.person__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }
.person__name { margin-top: 24px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; }
.person__role { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--fcs-dusty-deep); }
.person__bio { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--fcs-stone); font-size: 16px; }
.person .chips { margin-top: 18px; }

/* ---------- Closing call to action ---------- */
.closing {
  position: relative;
  isolation: isolate;
  background: var(--fcs-navy);
  color: var(--fcs-white);
}
.closing__overlay { background: var(--fcs-navy); opacity: 0.66; }
.closing__inner { position: relative; padding-block: clamp(120px, 15vw, 200px) clamp(96px, 12vw, 160px); }
.closing__route {
  position: absolute;
  left: calc(var(--gutter) + 4.25px);
  top: 0;
  width: 1.5px;
  height: clamp(120px, 15vw, 200px);
}
.closing__route span { position: absolute; inset: 0 0 34px 0; background: var(--fcs-gold); }
.closing__route i {
  position: absolute;
  left: -6.25px;
  bottom: 20px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--fcs-gold);
  border-radius: 50%;
}
.closing__content { padding-left: var(--indent); }
.closing__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.closing__body { max-width: 36em; margin: 28px 0 40px; font-size: clamp(18px, 1.5vw, 21px); color: var(--fcs-ivory); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fcs-navy-deep); color: var(--fcs-white); font-size: 16px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  gap: 48px;
  padding-block: clamp(56px, 7vw, 88px) 56px;
}
.site-footer__brand p { max-width: 22em; margin-top: 22px; color: var(--fcs-ivory); }
.site-footer__label { margin: 0 0 14px; font: 500 13px/1.4 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fcs-ivory); opacity: 0.75; }
.site-footer li { display: flex; align-items: center; min-height: 36px; }
.site-footer li a { text-decoration: none; padding-block: 6px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: 14px;
  color: var(--fcs-ivory);
}

/* ---------- Motion (once, slow, purposeful) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .load-in {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 0.6s var(--ease) var(--d, 0ms) forwards;
  }
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stop.reveal .stop__marker { opacity: 0; transition: opacity 0.4s var(--ease) 0.15s, transform 0.35s var(--ease); }
  .js .stop.reveal.is-in .stop__marker { opacity: 1; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } /* documented exception: honours reduced motion everywhere */
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__index { display: none; }
  .hero__foot-inner { justify-content: flex-end; }
}

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-btn { display: inline-flex; }

  .section-head--split { grid-template-columns: 1fr; }
  .stop { grid-template-columns: 1fr; }
  .specialty__grid, .about__grid { grid-template-columns: 1fr; }
  .specialty__body { padding-top: 0; }
  .about__figure { max-width: 520px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; --indent: 32px; }
  .logo__mark { height: 34px; }
  .logo__line1 { font-size: 13px; }
  .logo__line2 { font-size: 10px; }

  .hero__content { justify-content: flex-end; padding-block: 56px 40px; }
  .hero__img, .hero__video { object-position: 74% 60%; }
  .hero__foot-inner { min-height: 60px; }
  .hero__actions .btn { width: 100%; }

  .stop { margin-inline: -12px; padding-inline: 12px; }
  .stop__marker { left: calc(12px - var(--indent)); }

  .facts { grid-template-columns: 1fr; gap: 18px; }
  .team__grid { grid-template-columns: 1fr; }
  .closing__content .btn { width: 100%; }
}

/* ==========================================================================
   Inner pages (About, Services, Team, Our work, Resources, Contact)
   ========================================================================== */

/* ---------- Shared: page hero, sections, callouts ---------- */
.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 88px); }
.page-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px clamp(40px, 6vw, 96px); align-items: end; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-hero .lead { max-width: 34em; }
.page-hero .lead + .lead { margin-top: 16px; }
.page-hero__figure { margin-top: clamp(48px, 6vw, 88px); }
.page-hero__figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }

.section { padding-block: var(--section); }
.section--white { background: var(--fcs-white); }
.section--flush-top { padding-top: 0; }

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  background: var(--fcs-sage);
  color: var(--fcs-navy);
  font-size: 16px;
}
.callout svg { flex: none; margin-top: 3px; }
.callout strong { font-weight: 500; }
.callout a { color: inherit; text-underline-offset: 4px; }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--fcs-stone);
  color: var(--fcs-navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fcs-gold-deep);
}

.stop__link { margin-top: 10px; }
.team__more { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- About ---------- */
.reality__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 48px clamp(48px, 8vw, 112px); align-items: center; }
.reality__copy { margin-top: 28px; max-width: 36em; }
.reality__copy p + p { margin-top: 18px; }
.reality__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }

.steps-head { display: grid; grid-template-columns: 5fr 6fr; gap: 24px clamp(48px, 8vw, 112px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 clamp(20px, 2.6vw, 40px); padding-top: 34px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 4.25px; height: 1.5px; background: var(--fcs-gold); }
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fcs-gold);
  outline: 6px solid var(--fcs-ivory);
}
.step__num { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--fcs-gold-deep); }
.step__name { margin-bottom: 10px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.step p { font-size: 16px; }

.pull {
  max-width: 17em;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.different__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(40px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--fcs-stone); }
.different__grid p { max-width: 34em; }

/* ---------- Services ---------- */
.page-hero--contours { position: relative; isolation: isolate; overflow: hidden; }
.contours { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--fcs-ivory); border-block: 1px solid var(--fcs-stone); }
.subnav ul { display: flex; gap: clamp(20px, 3.4vw, 52px); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.subnav a span { font-size: 12px; letter-spacing: 0.1em; color: var(--fcs-gold-deep); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fcs-green); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.subnav a:hover::after, .subnav a[aria-current="true"]::after { transform: scaleX(1); }

.pillar { padding-block: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--fcs-stone); scroll-margin-top: calc(var(--header-h) + 56px); }
.pillar:last-of-type { border-bottom: 0; }
.pillar__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 24px clamp(32px, 5vw, 80px); }
.pillar__num { font-family: var(--font-serif); font-size: clamp(72px, 10vw, 148px); line-height: 0.82; letter-spacing: -0.03em; color: var(--fcs-dusty); }
.pillar__map { margin-top: 22px; font-size: 14px; color: var(--fcs-dusty-deep); }
.pillar__map strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--fcs-navy); }
.pillar .h2 { max-width: 16em; }
.pillar .lead { max-width: 34em; margin-top: 22px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); margin-top: clamp(36px, 4vw, 56px); }
.detail--single { grid-template-columns: 1fr; max-width: 36em; }
.detail ul { border-top: 1px solid var(--fcs-stone); }
.detail--split { grid-template-columns: 1fr; }
.detail--split ul { columns: 2; column-gap: clamp(32px, 5vw, 72px); border-top: 0; }
.detail--split li { break-inside: avoid; border-top: 1px solid var(--fcs-stone); border-bottom: 0; }
.detail li { padding: 11px 0; border-bottom: 1px solid var(--fcs-stone); font-size: 16px; }

/* ---------- Team page ---------- */
.profile { padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--fcs-stone); scroll-margin-top: var(--header-h); }
.profile:last-of-type { border-bottom: 0; }
.profile__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 40px clamp(48px, 8vw, 112px); align-items: center; }
.profile:nth-of-type(even) .profile__grid { grid-template-columns: 6fr 5fr; }
.profile:nth-of-type(even) .profile__figure { order: 2; }
.profile__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }
.profile__name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.015em; }
.profile__role { margin-top: 10px; color: var(--fcs-dusty-deep); }
.profile__bio { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.5vw, 20px); }
.profile__facts { margin-top: 32px; border-top: 1px solid var(--fcs-stone); }
.profile__facts div { display: grid; grid-template-columns: 11em 1fr; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--fcs-stone); }
.profile__facts dt { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.9; color: var(--fcs-gold-deep); }
.profile__facts dd { font-size: 16px; }
.profile .chips { margin-top: 26px; }

/* ---------- Filters (Our work, Resources) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--fcs-dusty-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--fcs-navy);
  font: 500 15px/1.2 var(--font-sans);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filter:hover { border-color: var(--fcs-navy); }
.filter[aria-pressed="true"] { background: var(--fcs-navy); border-color: var(--fcs-navy); color: var(--fcs-white); }
.filter[aria-pressed="true"]::before { content: "\2713\00a0"; }
.filter-empty { padding: 32px 0; color: var(--fcs-dusty-deep); }
[hidden] { display: none !important; } /* documented exception: filter and state toggles must win over layout display rules */

/* ---------- Our work ---------- */
.work-callout { margin-bottom: clamp(32px, 4vw, 48px); }
.vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.vignette { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--fcs-stone); border-radius: var(--radius-card); background: var(--fcs-white); }
.vignette__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.vignette__type { margin-bottom: 24px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; }
.vignette dl div { padding: 16px 0; border-top: 1px solid var(--fcs-stone); }
.vignette dt { margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fcs-gold-deep); }
.vignette dd { font-size: 16px; color: var(--fcs-dusty-deep); }
.work-note { margin-top: 32px; font-size: 14px; color: var(--fcs-dusty-deep); }

/* ---------- Resources ---------- */
.featured { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(40px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--fcs-stone); }
.featured img, .resource img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }
.featured__title { margin: 18px 0 14px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.resource-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.resource-byline { margin-top: 18px; font-size: 14px; color: var(--fcs-dusty-deep); }
.resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(24px, 3vw, 40px); }
.resource .resource-meta { margin-top: 20px; }
.resource__title { margin: 14px 0 10px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; }
.resource p, .featured p { font-size: 16px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 56px clamp(48px, 8vw, 120px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field label span { font-weight: 400; color: var(--fcs-dusty-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--fcs-dusty-deep);
  border-radius: var(--radius-btn);
  background-color: var(--fcs-white);
  color: var(--fcs-navy);
  font: 400 17px/1.4 var(--font-sans);
}
.field textarea { min-height: 168px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("../assets/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fcs-navy); }
.field [aria-invalid="true"] { border: 2px solid var(--fcs-navy-deep); }
.field__error { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--fcs-navy-deep); }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--fcs-navy-deep); color: var(--fcs-white); font-size: 12px; line-height: 1; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form__consent { font-size: 14px; color: var(--fcs-dusty-deep); }
.form__status { grid-column: 1 / -1; }
.contact__aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--fcs-stone); }
.contact__details { margin-top: 28px; border-top: 1px solid var(--fcs-stone); }
.contact__details div { padding: 16px 0; border-bottom: 1px solid var(--fcs-stone); }
.contact__details dt { margin-bottom: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fcs-gold-deep); }
.contact__details a { color: var(--fcs-green); text-underline-offset: 4px; }
.contact__details a:hover { color: var(--fcs-green-deep); }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-left: 34px; }
  .steps::before { left: 4.25px; right: auto; top: 6px; bottom: 6px; width: 1.5px; height: auto; }
  .step::before { left: -34px; top: 5px; }
  .step { display: grid; grid-template-columns: 3em minmax(8em, 14em) 1fr; gap: 4px 24px; align-items: baseline; }
  .step__num, .step__name { margin-bottom: 0; }
}

@media (max-width: 980px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 900px) {
  .page-hero__grid, .reality__grid, .steps-head, .different__grid, .pillar__grid, .profile__grid,
  .profile:nth-of-type(even) .profile__grid, .featured, .contact__grid { grid-template-columns: 1fr; }
  .profile:nth-of-type(even) .profile__figure { order: 0; }
  .profile__figure, .contact__aside, .reality__figure { max-width: 520px; }
  .pillar__side { display: flex; align-items: flex-end; gap: 24px; }
  .pillar__map { margin-top: 0; }
  .vignettes { grid-template-columns: 1fr; }
  .resources { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .page-hero__figure img { aspect-ratio: 3 / 2; }
  .step { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail--split ul { columns: 1; }
  .profile__facts div { grid-template-columns: 1fr; gap: 2px; }
  .resources { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ---------- Resources: titles set into the photos.
   Photos keep their natural colour; the title sits on a flat ivory panel so it stays legible. ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--fcs-stone); }
.media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.media__over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(12px, 1.2vw, 16px);
}
.media__over .chip { border-color: var(--fcs-white); background: var(--fcs-white); }
.media__title {
  max-width: min(100%, 15em);
  padding: 14px 18px 15px;
  border-radius: 8px;
  background: var(--fcs-ivory);
  color: var(--fcs-navy);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.18;
  text-wrap: balance;
}
.media--featured .media__over { padding: clamp(14px, 1.8vw, 24px); }
.media--featured .media__title { padding: clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 32px); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.01em; }
.resource__tag { margin: 18px 0 10px; }
.featured .resource__tag { margin-top: 0; }
.featured p:not(.resource__tag):not(.resource-byline) { font-size: clamp(18px, 1.5vw, 21px); }

/* ---------- Ambient background video (waves, grasses) ---------- */
.bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.bg-video.is-on { opacity: 1; }
.motion-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--fcs-white);
  font: 500 13px/1 var(--font-sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.motion-toggle:hover { border-color: var(--fcs-white); }
.motion-toggle__play, .motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
@media (max-width: 600px) { .motion-toggle { bottom: 14px; } .closing__inner { padding-bottom: 120px; } }

/* ---------- Home hero: fog lifts once to a clear still ---------- */
.hero__fog { display: none; transition: opacity 5s ease-in-out; }
.js .hero__fog { display: block; }
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero.is-playing .hero__video { opacity: 1; }
.hero.is-playing .hero__fog { opacity: 0; transition: opacity 0.1s linear 0.9s; }   /* hide the fog still once the video covers it */
.hero.is-clearing .hero__fog { opacity: 0; }                                         /* no-video fallback: slow dissolve */
.hero.is-clear .hero__fog { opacity: 0; }
.hero.is-clear .hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }    /* settle onto the clear still */
.hero.is-instant .hero__fog { display: none; }
.hero .motion-toggle { bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .js .hero__fog { display: none; } }
@media (max-width: 600px) { .hero .motion-toggle { bottom: 74px; } }

/* ---------- Our work: confidentiality note card ---------- */
.vignette dd { color: var(--fcs-navy); }
.vignette--note { background: transparent; }
.vignette--note p { margin-bottom: 14px; font-size: 16px; }
.vignette--note .link-arrow { margin-top: auto; }

/* ---------- Our work: experience grouped by pillar ---------- */
.exps { border-top: 1px solid var(--fcs-stone); }
.exp { display: grid; grid-template-columns: 3fr 9fr; gap: 24px clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--fcs-stone); }
.exp__name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.01em; }
.exp__name a { text-decoration: none; }
.exp__name a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.exp__items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); padding-top: 6px; }
.exp__title { margin-bottom: 10px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--fcs-green); }
.exp__item p { max-width: 30em; }
.exp-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; margin-top: clamp(32px, 4vw, 48px); }
.exp-note p { max-width: 40em; color: var(--fcs-dusty-deep); }
@media (max-width: 900px) { .exp { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .exp__items { grid-template-columns: 1fr; } }

/* ---------- Legal pages, 404, footer legal links ---------- */
.prose { max-width: 44em; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: clamp(36px, 4vw, 52px); font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--fcs-gold-deep); }
.prose a { color: var(--fcs-green); text-underline-offset: 4px; }
.prose a:hover { color: var(--fcs-green-deep); }
.prose strong { font-weight: 500; }
.prose__meta { font-size: 14px; color: var(--fcs-dusty-deep); }
.notfound { min-height: 60vh; }
.notfound .lead { margin-top: 24px; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 36px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer__legal li { min-height: 0; }
.site-footer__legal a { padding-block: 8px; }
