/* TaiLORED IDEAS — main.css
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 components ·
   6 chrome · 7 motion · 8 page sections · 9 responsive.
   Icons throughout the site are Lucide (lucide.dev), ISC licence:
   Copyright (c) 2026 Lucide Icons and Contributors. Permission to use, copy,
   modify, and/or distribute this software for any purpose with or without fee
   is hereby granted, provided that the above copyright notice and this
   permission notice appear in all copies. */

/* 1. Design tokens */
:root {
  /* Core brand palette */
  --navy:            #203848;  /* primary field / dominant brand colour */
  --navy-deep:       #1A2E3B;  /* derived: deeper navy for CTA + footer depth */
  --navy-raised:     #284457;  /* derived: cards / raised surfaces on navy */
  --parchment:       #FCF0D8;  /* warm ivory — foreground text on navy */
  --terracotta:      #CC6C36;  /* burnt-orange accent (large text / non-text) */
  --light:           #F7F4EC;  /* warm off-white for alternating light fields */
  --ink:             #203848;  /* navy doubles as body ink on light fields */

  /* Derived, contrast-safe text variants */
  /* The raw muted grey fails AA on navy; these variants pass. */
  --on-navy:         #FCF0D8;            /* body text on navy — ~10.8:1 */
  --on-navy-soft:    #CBBFA6;            /* secondary on navy — ~6.9:1 */
  --on-navy-faint:   rgba(252,240,216,.55); /* hairline captions on navy */
  --on-light:        #203848;           /* body text on light — very high */
  --on-light-soft:   #5A6A74;           /* secondary on light — ~5.1:1 */
  --terracotta-ink:  #A8501E;           /* terracotta for small text on light — ~5:1 */
  --terracotta-soft: #E08A52;           /* lighter terracotta for small text on navy — ~4.6:1 */

  /* Lines / borders */
  --rule-on-navy:    rgba(252,240,216,.16);
  --rule-on-light:   rgba(32,56,72,.14);
  --rule-terracotta: rgba(204,108,54,.55);

  /* Type families (system fallbacks carry until web fonts load) */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans:    "Mulish", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale (1.20 ratio at small, opens up at large) */
  --step--2: clamp(0.69rem, 0.67rem + 0.10vw, 0.75rem);
  --step--1: clamp(0.83rem, 0.80rem + 0.16vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.22vw, 1.13rem);   /* body */
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.50rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.70vw, 2.00rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.15vw, 2.66rem);
  --step-4:  clamp(1.80rem, 1.05rem + 3.20vw, 3.55rem);
  --step-5:  clamp(2.00rem, 0.95rem + 4.60vw, 4.74rem);
  --step-6:  clamp(2.30rem, 0.55rem + 7.00vw, 6.20rem);   /* hero display */

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.25rem;
  --space-xl:  3.5rem;
  --space-2xl: 5.5rem;
  --space-3xl: 8rem;

  /* Measure / containers */
  --measure:        66ch;     /* ideal reading width */
  /* Content matches the header width, wordmark to button. */
  --container:      84rem;    /* default content max-width */
  --container-wide: 84rem;
  --container-text: 50rem;    /* reading column for long-form prose (~704px of text) */

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.7s;

  --radius: 4px;
  /* Signature corners: rounded top-right and bottom-left, square elsewhere. */
  --radius-lg: 2.5rem;
}

/* 2. Reset and base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

::selection { background: var(--terracotta); color: var(--parchment); }

:focus-visible {
  outline: 3px solid var(--terracotta-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 3. Typography */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.display-xl { font-size: var(--step-6); line-height: 1.02; }
.display-l  { font-size: var(--step-5); }
/* h2 sits a step under --step-4, which the banner h1 also uses. */
.display-m  { font-size: clamp(1.65rem, 1.20rem + 2.2vw, 3.05rem); }
.display-s  { font-size: var(--step-3); line-height: 1.14; }

p { max-width: var(--measure); }
.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--on-navy);
}

strong, b { font-weight: 700; }

em, i { font-style: italic; }

.prose > * + * { margin-top: var(--space-m); }
.prose p { color: var(--on-navy); }
.prose-light p { color: var(--on-light); }
.prose h3 {
  font-size: var(--step-2);
  margin-top: var(--space-xl);
}
.prose h3 + p { margin-top: var(--space-s); }

/* 4. Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--wide { max-width: var(--container-wide); }
.container--text { max-width: var(--container-text); }

.section { padding-block: clamp(3.5rem, 9vw, var(--space-3xl)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--space-2xl)); }

.field-navy  { background: var(--navy);      color: var(--on-navy); }
.field-deep  { background: var(--navy-deep);  color: var(--on-navy); }
.field-light { background: var(--light);      color: var(--on-light); }
.field-light .lead { color: var(--on-light); }

/* Hairline between stacked same-field sections. */
.field-navy + .field-navy { border-top: 1px solid var(--rule-on-navy); }

.stack > * + * { margin-top: var(--space-m); }
.stack-l > * + * { margin-top: var(--space-l); }
.stack-s > * + * { margin-top: var(--space-s); }

.grid { display: grid; gap: clamp(1.5rem, 4vw, var(--space-xl)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 5. Components */

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 0.75em;
  max-width: 100%;
}
.field-light .eyebrow { color: var(--terracotta-ink); }
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }

/* Section number */
.index {
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--terracotta-soft);
  letter-spacing: 0.05em;
}
.field-light .index { color: var(--terracotta-ink); }

/* Terracotta hairline rule */
.rule {
  border: 0;
  height: 1px;
  background: var(--rule-on-navy);
  margin: 0;
}
.field-light .rule { background: var(--rule-on-light); }
.rule--accent { background: var(--rule-terracotta); width: 3.5rem; height: 2px; }

/* Buttons */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: var(--parchment);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.btn:hover { background: var(--parchment); border-color: var(--parchment); color: var(--navy); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--parchment);
  border-color: var(--rule-on-navy);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--parchment);
  color: var(--parchment);
}
.field-light .btn--ghost { --btn-fg: var(--ink); border-color: var(--rule-on-light); }
.field-light .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn .btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--terracotta-soft);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  width: fit-content;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.field-light .arrow-link { color: var(--terracotta-ink); }
.arrow-link:hover { border-color: currentColor; }
.arrow-link .btn__arrow { transition: transform 0.3s var(--ease); }
.arrow-link:hover .btn__arrow { transform: translateX(4px); }

/* In-prose links */
.prose a, .link {
  color: var(--terracotta-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-terracotta);
  transition: text-decoration-color 0.25s var(--ease);
}
.prose-light a, .field-light .link { color: var(--terracotta-ink); }
.prose a:hover, .link:hover { text-decoration-color: currentColor; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--parchment);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.wordmark .wm-ai {
  color: var(--terracotta);
  text-transform: lowercase;
}

.wordmark .wm-rest { text-transform: uppercase; }

/* Card */
.card {
  background: var(--navy-raised);
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, var(--space-l));
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.field-light .card {
  background: #fff;
  border-color: var(--rule-on-light);
}
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--interactive:hover {
  transform: translateY(-4px);
  border-color: var(--rule-terracotta);
}
.card__title { font-size: var(--step-2); }
.card__meta {
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}
.field-light .card__meta { color: var(--on-light-soft); }

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg,
      rgba(252,240,216,.04) 0, rgba(252,240,216,.04) 10px,
      transparent 10px, transparent 20px),
    var(--navy-raised);
  border: 1px dashed var(--rule-on-navy);
  border-radius: var(--radius);
  color: var(--on-navy-faint);
  font-family: var(--font-sans);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: var(--space-m);
}
.field-light .placeholder {
  background:
    repeating-linear-gradient(45deg,
      rgba(32,56,72,.045) 0, rgba(32,56,72,.045) 10px,
      transparent 10px, transparent 20px),
    #fff;
  border-color: var(--rule-on-light);
  color: var(--on-light-soft);
}
.ratio-1x1   { aspect-ratio: 1 / 1; }
.ratio-4x5   { aspect-ratio: 4 / 5; }
.ratio-16x9  { aspect-ratio: 16 / 9; }
.ratio-3x2   { aspect-ratio: 3 / 2; }

.disc-mark { color: var(--terracotta); }
.field-light .disc-mark { color: var(--terracotta-ink); }

/* 6. Site chrome: skip link, header, nav, footer */
.skip-link {
  position: absolute;
  left: var(--space-s);
  top: var(--space-s);
  z-index: 200;
  background: var(--parchment);
  color: var(--navy);
  padding: 0.6em 1em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--step--1);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--navy-deep) 94%, transparent);
  border-bottom-color: var(--rule-on-navy);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 4.5rem;
}
.nav__brand {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  z-index: 110;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}
.nav__link {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--on-navy);
  padding: 0.4em 0;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--parchment); }
.nav__menu { margin-left: auto; }

.nav__actions { display: flex; align-items: center; gap: var(--space-s); margin-left: var(--space-m); }
.nav__book { padding: 0.6em 1.1em; white-space: nowrap; }
.nav__book-short { display: none; }

.nav__item--has-menu { position: relative; }
.nav__parent {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.nav__caret {
  width: 0.4rem; height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease);
  opacity: 0.75;
}
.nav__parent[aria-expanded="true"] .nav__caret,
.nav__item--has-menu:hover .nav__caret { transform: translateY(1px) rotate(-135deg); }
.nav__parent.is-section-active::after { transform: scaleX(1); }
.nav__parent.is-section-active { color: var(--parchment); }

/* Invisible bridge so the cursor can cross from button to panel without losing :hover. */
.nav__item--has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 0.6rem;
}

.nav__submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  min-width: 11rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--navy-deep);
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 28, 35, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease);
  z-index: 120;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu,
.nav__submenu.is-open {
  opacity: 1;
  visibility: visible;
}
.nav__sublink {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--on-navy);
  text-decoration: none;
  padding: 0.55em 0.8em;
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__sublink:hover,
.nav__sublink[aria-current="page"] {
  color: var(--parchment);
  background: var(--navy-raised);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  z-index: 110;
  background: transparent;
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  cursor: pointer;
  color: var(--parchment);
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  display: block;
  width: 1.25rem; height: 1.5px;
  background: currentColor;
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle-bar::before { transform: translateY(-6px); }
.nav__toggle-bar::after  { transform: translateY(4.5px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after  { transform: translateY(-1.5px) rotate(-45deg); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--rule-on-navy);
  padding-block: clamp(3rem, 7vw, var(--space-2xl)) var(--space-xl);
  font-size: var(--step--1);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.footer__brand .wordmark { font-size: var(--step-2); }
.footer__tagline {
  color: var(--on-navy-soft);
  margin-top: var(--space-s);
  max-width: 32ch;
}
.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: var(--space-s);
}
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 0.6em; }
.footer__list a {
  text-decoration: none;
  color: var(--on-navy);
  transition: color 0.2s var(--ease);
}
.footer__list a:hover { color: var(--terracotta-soft); }

.footer__sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0.6em 0 0;
  padding-left: var(--space-s);
  border-left: 1px solid var(--rule-on-navy);
  font-size: var(--step--1);
}
.footer__sublist a { color: var(--on-navy-soft); }
.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-navy);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-l);
  justify-content: space-between;
  align-items: center;
  color: var(--on-navy-soft);
  font-size: var(--step--2);
}
.footer__bottom a { color: var(--on-navy-soft); text-decoration: none; }
.footer__bottom a:hover { color: var(--terracotta-soft); }

/* 7. Motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero page-load: children rise in sequence */
.js .hero [data-load] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) forwards;
  animation-delay: var(--load-delay, 0s);
}
@keyframes rise-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js .hero [data-load] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .btn, .card, .offer-card, .nav__link::after, .arrow-link .btn__arrow { transition: none !important; }

  .tabs__tab, .tabs__icon { transition: none !important; }
  .tabs.is-tabbed .tabs__panel:not([hidden]) .tabs__panel-title,
  .tabs.is-tabbed .tabs__panel:not([hidden]) .tabs__body,
  .tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li {
    animation: none !important;
  }

}

/* 8. Page sections */

/* Generic page header (interior pages) */
.page-head {
  padding-block: clamp(5rem, 12vw, 9rem) clamp(2.5rem, 6vw, 4rem);
}
.page-head__title {
  font-size: var(--step-5);
  margin-top: var(--space-s);
  max-width: 18ch;
}
.page-head__intro {
  margin-top: var(--space-m);
  font-size: var(--step-1);
  color: var(--on-navy-soft);
  max-width: 46ch;
}
.field-light .page-head__intro { color: var(--on-light-soft); }

.page-head--offers { padding-bottom: clamp(3.5rem, 9vw, var(--space-3xl)); }

.page-head--full .page-head__title,
.page-head--full .page-head__intro { max-width: none; }

/* HOME: Hero */

.hero-field {
  position: relative;
  background:
    radial-gradient(62% 48% at 70% 26%, color-mix(in srgb, #38596e 48%, transparent), transparent 72%),
    radial-gradient(80% 60% at 22% 30%, color-mix(in srgb, var(--parchment) 5%, transparent), transparent 60%),
    radial-gradient(140% 90% at 50% 118%, #16262f, transparent 72%),
    linear-gradient(177deg, #111f27 0%, #1b3040 30%, var(--navy) 65%, #2a4558 100%);
}
.hero-field > .hero,
.hero-field > .section,
.hero-field > .page-head { background: transparent; }

.hero-field > .field-navy + .field-navy { border-top: 0; }

.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
/* Flex items default to min-width:auto; keep the container inside the viewport. */
.hero > .container { width: 100%; min-width: 0; }

/* The hero composition: a LOCKED lockup */

.hero__layout {
  display: block;
  width: 100%;
}
.hero__lockup {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5;
  container-type: inline-size;
}
.hero__title {
  position: absolute;
  left: 0;
  bottom: 6%;
  margin: 0;
  z-index: 2;
  font-size: 6.73cqw;           /* 84px at the 1248px band */
  line-height: 1.04;
  white-space: nowrap;          /* lines are fixed by <br>; never re-wrap */
}
.hero__title .accent { color: var(--terracotta); font-style: italic; }

.hero__viz {
  position: absolute;
  top: -3.4cqw;        /* ~42px above the band top */
  right: 7.3%;         /* right edge inset ~91px from the band's right edge */
  width: 52%;          /* ~649px at the 1248px band */
  z-index: 1;
  pointer-events: none;
}
.hero__brain {
  display: block;
  width: 100%;
  height: auto;

  overflow: visible;
}

.hero__sub {
  position: relative; z-index: 2;
  font-size: var(--step-1);
  color: var(--on-navy-soft);
  max-width: 100%;
  margin-top: var(--space-l);
}

.hero__sub-lead {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--on-navy);
  margin-bottom: 0.55em;
}

.hero__sub-lead em { font-style: normal; }

.hero__actions {
  position: relative; z-index: 2;
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

.hero__offers {
  position: relative; z-index: 2;
  margin-top: var(--space-xl);
}
.field-navy .offer-card {
  background-color: var(--light);
  color: var(--on-light);
}
.field-navy .offer-card__summary { color: var(--on-light-soft); }

.field-navy .offer-card .arrow-link { color: var(--terracotta-ink); }

.hero__brain .ink { opacity: 0.22; }
/* #centreline is geometry only: the <use> clones do the drawing, so no stroke here. */

/* The comet */
.comet { animation: comet-env 9s linear infinite; will-change: opacity; }

.ct { fill: none; stroke-linecap: round; stroke-linejoin: round; will-change: stroke-dashoffset; }
.ct        { stroke: #CC6C36; }       /* brain trail */
/* Terracotta (brain): long, languid tail. */
.ct-far  { stroke-width: 4;   opacity: 0.16; stroke-dasharray: 230 1000; animation: ct-far  9s cubic-bezier(0.45,0.05,0.35,1) infinite; }
.ct-mid  { stroke-width: 3.6; opacity: 0.40; stroke-dasharray: 120 1000; animation: ct-mid  9s cubic-bezier(0.45,0.05,0.35,1) infinite; }
.ct-near { stroke-width: 3.4; opacity: 0.85; stroke-dasharray: 55 1000;  animation: ct-near 9s cubic-bezier(0.45,0.05,0.35,1) infinite; }

.cc { fill: none; stroke: url(#cream-fade); stroke-linecap: round; stroke-linejoin: round;
  stroke-width: 4; stroke-dasharray: 40 1000; will-change: stroke-dashoffset;
  animation: cc 9s cubic-bezier(0.45,0.05,0.35,1) infinite; }

.comet-head { offset-rotate: 0deg; offset-distance: 0%; will-change: offset-distance;
  animation: comet-head 9s cubic-bezier(0.45,0.05,0.35,1) infinite; }
.comet-star { transform-box: fill-box; transform-origin: center; transform: scale(0.5);
  will-change: transform; animation: star-grow 9s cubic-bezier(0.45,0.05,0.35,1) infinite; }
.cs-spikes { fill: #CC6C36; animation: star-colour 9s linear infinite; }
.cs-core   { fill: #FDEBD6; animation: star-core 9s linear infinite; }
/* Without offset-path support, hide the head rather than strand it at the origin. */
.comet-head { display: none; }
@supports (offset-path: path('M0 0')) { .comet-head { display: block; } }

/* Paused by hero-brain.js while offscreen or the tab is hidden. */
.hero__viz.is-paused .comet,
.hero__viz.is-paused .comet *,
.tabs__mark.is-paused .comet,
.tabs__mark.is-paused .comet * { animation-play-state: paused; }

@keyframes ct-far  { 0% { stroke-dashoffset: 230; } 64%,100% { stroke-dashoffset: -770; } }
@keyframes ct-mid  { 0% { stroke-dashoffset: 120; } 64%,100% { stroke-dashoffset: -880; } }
@keyframes ct-near { 0% { stroke-dashoffset: 55;  } 64%,100% { stroke-dashoffset: -945; } }

@keyframes cc { 0% { stroke-dashoffset: 40; } 64%,100% { stroke-dashoffset: -960; } }
@keyframes comet-head { 0% { offset-distance: 0%; } 64%,100% { offset-distance: 100%; } }

@keyframes star-grow {
  0%, 64% { transform: scale(0.5); }   /* small while travelling + on arrival */
  78%     { transform: scale(1.25); }  /* grow into the sparkle (climax) */
  100%    { transform: scale(1.25); }
}

@keyframes star-colour {
  0%, 51% { fill: #CC6C36; }
  52%, 100% { fill: #FCF0D8; }
}
@keyframes star-core {
  0%, 51% { fill: #FDEBD6; }
  52%, 78% { fill: #FFF4E2; }
  90%, 100% { fill: #FFFFFF; }
}
@keyframes comet-env {
  0%   { opacity: 0; }
  4%   { opacity: 1; }   /* fade in as it enters */
  64%  { opacity: 1; }   /* arrived at the tip */
  87%  { opacity: 1; }   /* hold full through the spark grow + linger */
  95%  { opacity: 0; }   /* fade out before the loop (restart hidden) */
  100% { opacity: 0; }
}

@media (max-width: 48rem) {
  .hero__layout { max-width: none; }
  .hero__lockup { aspect-ratio: auto; }
  .hero__title {
    position: static;
    font-size: clamp(1.7rem, 7.5vw, 2.5rem);
    line-height: 1.06;
  }
  .hero__viz {
    top: -10%;
    right: -10%;
    width: 92%;
    z-index: 0;          /* behind the title */
  }
  .hero__brain .ink { opacity: 0.16; }
  .hero__sub { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {

  .hero__brain .ink { opacity: 0.26; }
  .comet { display: none; }
}

/* HOME: Core idea (big editorial statement) */
.bigstatement {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.bigstatement .accent { color: var(--terracotta-soft); }
.field-light .bigstatement .accent { color: var(--terracotta-ink); }

/* Three columns: audiences and principles */
.disciplines { display: grid; gap: clamp(1.5rem, 4vw, var(--space-xl)); margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.discipline {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding-top: var(--space-m);
  border-top: 2px solid var(--rule-terracotta);
}
.discipline__head { display: flex; align-items: flex-end; gap: var(--space-s); color: var(--terracotta-ink); }
.field-navy .discipline__head { color: var(--terracotta-soft); }
.discipline__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; }
.discipline__icon { width: 2.25rem; height: 2.25rem; flex: none; display: block; }
.discipline__name { font-size: var(--step-1); }
.discipline__role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--on-light);
}
.field-navy .discipline__role { color: var(--on-navy); }
.discipline__body { color: var(--on-light-soft); font-size: var(--step--1); line-height: 1.6; }
.field-navy .discipline__body { color: var(--on-navy-soft); }
.discipline__body a {
  color: var(--terracotta-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-terracotta);
}
.field-navy .discipline__body a { color: var(--terracotta-soft); }
.discipline__body a:hover { text-decoration-color: currentColor; }
.discipline__outcome { margin-top: auto; padding-top: var(--space-m); font-size: var(--step--1); font-weight: 600; line-height: 1.5; color: var(--on-light); }
.field-navy .discipline__outcome { color: var(--on-navy); }
.discipline__outcome-label { display: block; margin-bottom: var(--space-2xs); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-ink); }
.field-navy .discipline__outcome-label { color: var(--terracotta-soft); }

.disciplines--compact .discipline__body { font-size: var(--step-0); }

.stages--skills .stage__title { font-size: var(--step-2); }
.stages--skills .stage__body { font-size: var(--step-0); line-height: 1.6; color: var(--on-light); }
.field-navy .stages--skills .stage__body { color: var(--on-navy); }
.stages--chain .stage__body { color: var(--on-light); }
.field-navy .stages--chain .stage__body { color: var(--on-navy); }
/* Two halves of one band, ruled apart. */
.band-split { margin-top: clamp(3rem, 7vw, var(--space-2xl)); padding-top: clamp(2.5rem, 6vw, var(--space-2xl)); border-top: 1px solid var(--rule-on-light); }
.field-navy .band-split { border-color: var(--rule-on-navy); }
.field-light .placeholder { background: repeating-linear-gradient(45deg, rgba(32,56,72,.04) 0, rgba(32,56,72,.04) 10px, transparent 10px, transparent 20px), var(--parchment); border-color: var(--rule-on-light); color: var(--on-light-soft); }
.who-links__label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-light-soft); max-width: 34ch; line-height: 1.5; }
.field-navy .who-links__label { color: var(--on-navy-soft); }
.who-links .arrow-link + .who-links__label { margin-top: var(--space-s); }
/* THE SYSTEM */
.system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.system__cell { display: flex; flex-direction: column; gap: var(--space-s); padding-top: var(--space-m); border-top: 1px solid var(--rule-on-light); }
.field-navy .system__cell { border-color: var(--rule-on-navy); }
.system__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; color: var(--terracotta-ink); }
.field-navy .system__num { color: var(--terracotta-soft); }
.system__title { font-size: var(--step-2); }
.system__body { font-size: var(--step-0); line-height: 1.6; color: var(--on-light); }
.field-navy .system__body { color: var(--on-navy); }
.system__joint {
  grid-column: 1 / -1;
  position: relative;
  height: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 4rem);
}
.system__drop { display: block; width: 1px; height: 100%; margin-inline: auto; background: var(--rule-on-light); }
.field-navy .system__drop { background: var(--rule-on-navy); }
.system__joint-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 0.35em 0.9em;
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta-ink); background: var(--light);
}
.field-navy .system__joint-label { color: var(--terracotta-soft); background: var(--navy); }
.system__base {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-m) clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3.4vw, 3rem);
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.system__base .system__num { color: var(--terracotta-soft); }
.system__base .system__body { color: var(--on-navy); max-width: 60ch; }
.system__base-text { display: grid; gap: var(--space-s); }
.field-navy .system__base { background: var(--light); color: var(--on-light); }
.field-navy .system__base .system__num { color: var(--terracotta-ink); }
.field-navy .system__base .system__body { color: var(--on-light); }

.tools { margin-top: auto; padding-top: var(--space-m); border-top: 1px solid var(--rule-on-light); display: grid; gap: var(--space-xs); }
.field-navy .tools { border-color: var(--rule-on-navy); }
.tools__label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-light-soft); }
.field-navy .tools__label { color: var(--on-navy-soft); }
.tools__list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-m); }
.tools__item { display: inline-flex; align-items: center; gap: 0.45em; color: var(--on-light); }
.field-navy .tools__item { color: var(--on-navy); }
.tools__mark { width: 1.25rem; height: 1.25rem; flex: none; }
.tools__name { font-size: var(--step--1); font-weight: 600; }
@media (max-width: 48rem) {
  .system { grid-template-columns: 1fr; }
  .system__joint { grid-template-columns: 1fr; height: 3rem; }
  .system__drop--b { display: none; }
  .system__base { grid-template-columns: 1fr; }
}

/* THE CASCADE */
.cascade {
  --drop: clamp(2.5rem, 5vw, 4rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.cascade__step {
  position: relative;
  padding: var(--space-m) clamp(1.5rem, 3vw, 2.5rem) 0 0;
  border-top: 1px solid var(--rule-on-light);
  display: grid; gap: var(--space-s); align-content: start;
}
.cascade__step + .cascade__step { padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.cascade__step:nth-child(2) { margin-top: var(--drop); }
.cascade__step:nth-child(3) { margin-top: calc(2 * var(--drop)); }
.cascade__step + .cascade__step::before {
  content: ""; position: absolute; left: 0; top: calc(-1 * var(--drop) - 1px); width: 1px; height: calc(var(--drop) + 1px);
  background: var(--rule-on-light);
}
.cascade__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; color: var(--terracotta-ink); }
.cascade__title { font-size: var(--step-2); }
.cascade__body { font-size: var(--step-0); line-height: 1.6; color: var(--on-light); }
.cascade__end {
  grid-column: 2 / -1;
  position: relative;
  margin-top: var(--drop);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
  text-align: right;
}
.cascade__end::before { content: ""; position: absolute; right: 0; top: calc(-1 * var(--drop) - 1px); width: 1px; height: calc(var(--drop) + 1px); background: var(--rule-on-light); }
.cascade__end::after { content: "\2726"; position: absolute; right: -0.35em; top: 0; transform: translateY(-50%); color: var(--terracotta); font-size: var(--step-0); line-height: 1; }
.cascade__end .payoff-line { margin-left: auto; max-width: 26ch; }
.cascade__end .payoff-line em { font-style: normal; color: var(--on-light); }
.field-navy .cascade__step, .field-navy .cascade__end { border-color: var(--rule-on-navy); }
.field-navy .cascade__step + .cascade__step::before, .field-navy .cascade__end::before { background: var(--rule-on-navy); }
@media (max-width: 48rem) {
  .cascade { grid-template-columns: 1fr; }
  .cascade__step, .cascade__step + .cascade__step { padding-left: 0; padding-right: 0; margin-top: var(--space-l); }
  .cascade__step + .cascade__step::before { display: none; }
  .cascade__end { grid-column: 1; text-align: left; }
  .cascade__end::before { display: none; }
  .cascade__end .payoff-line { margin-left: 0; }
}
/* THE TIMELINE */
.timeline { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.timeline__strip { display: flex; align-items: center; height: 4.5rem; position: relative; }
.timeline__node {
  position: relative; flex: none;
  width: 1.25rem; height: 1.25rem;
  background: var(--terracotta);
  border-radius: 0 0.45rem 0 0.45rem;
}
.timeline__node-label, .timeline__gap-label {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.timeline__node-label { top: 1.9rem; color: var(--terracotta-ink); }
.timeline__gap { position: relative; flex: 1 1 0; height: 1px; background: var(--rule-on-light); }
.timeline__gap-label { bottom: 0.9rem; color: var(--on-light-soft); }
.timeline__after { flex: 1.4 1 0; height: 0; border-top: 1px dashed var(--rule-on-light); }
.timeline__star { flex: none; color: var(--terracotta); font-size: var(--step-1); line-height: 1; margin-left: 0.4rem; }
.timeline__text { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l) clamp(1.5rem, 4vw, 4rem); margin-top: var(--space-l); }
.timeline__item { display: grid; gap: var(--space-s); align-content: start; padding-top: var(--space-m); border-top: 1px solid var(--rule-on-light); }
.timeline__item--gap { text-align: center; }
.timeline__item--after { text-align: right; }
.timeline__item--gap .timeline__body { margin-inline: auto; }
.timeline__item--after .timeline__body { margin-left: auto; }
.timeline__title { font-size: var(--step-2); }
.timeline__body { font-size: var(--step-0); line-height: 1.6; color: var(--on-light); }
@media (max-width: 48rem) {
  .timeline__strip { display: none; }
  .timeline__text { grid-template-columns: 1fr; }
  .timeline__item--gap, .timeline__item--after { text-align: left; }
}

.principles { list-style: none; display: grid; margin-top: clamp(2rem, 5vw, 3.5rem); }
.principles__row {
  display: grid; grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xs) clamp(1rem, 3vw, 3rem); align-items: baseline;
  padding-block: var(--space-m); border-top: 1px solid var(--rule-on-light);
}
.principles__row:last-child { border-bottom: 1px solid var(--rule-on-light); }
.principles__num { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; color: var(--terracotta-ink); }
.principles__name { font-size: var(--step-1); }
.principles__line { font-size: var(--step-0); line-height: 1.55; color: var(--on-light); max-width: none; }
@media (max-width: 48rem) { .principles__row { grid-template-columns: 3rem minmax(0, 1fr); } .principles__line { grid-column: 2; } }

/* THE LEDGER */
.ledger { list-style: none; display: grid; gap: var(--space-l); margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.ledger__row {
  display: grid; grid-template-columns: minmax(0, 7fr) auto minmax(0, 4fr);
  gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center;
  padding-top: var(--space-l); border-top: 1px solid var(--rule-on-navy);
}
.ledger__cause { display: grid; gap: var(--space-xs); }
.ledger__head { display: flex; align-items: flex-end; gap: var(--space-s); color: var(--terracotta-soft); }
.ledger__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; }
.ledger__icon { width: 2.25rem; height: 2.25rem; flex: none; display: block; }
.ledger__name { font-size: var(--step-1); }
.ledger__claim { font-family: var(--font-display); font-style: italic; font-size: var(--step-0); line-height: 1.45; color: var(--on-navy); }
.ledger__body { color: var(--on-navy-soft); font-size: var(--step--1); line-height: 1.6; max-width: 58ch; }
.ledger__body a { color: var(--terracotta-soft); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; text-decoration-color: var(--rule-terracotta); }
.ledger__arrow { display: block; width: clamp(2rem, 5vw, 4rem); height: 1px; background: var(--rule-on-navy); position: relative; }
.ledger__arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 0.5rem; height: 0.5rem; border-top: 1px solid var(--on-navy-soft); border-right: 1px solid var(--on-navy-soft); transform: translateY(-50%) rotate(45deg); }
.ledger__effect {
  background: var(--light); color: var(--on-light);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: grid; gap: var(--space-2xs);
}
.ledger__effect-label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-ink); }
.ledger__effect-text { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
@media (max-width: 60rem) {
  .ledger__row { grid-template-columns: 1fr; }
  .ledger__arrow { width: 1px; height: 2rem; margin-left: 1.5rem; }
  .ledger__arrow::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
}

.stages--flow .stage__marker { position: relative; }
.stages--flow .stage:not(:last-child) .stage__marker::after {
  content: ""; position: absolute; right: -0.55rem; bottom: -0.3rem;
  width: 0.55rem; height: 0.55rem;
  border-top: 1px solid var(--terracotta-ink); border-right: 1px solid var(--terracotta-ink);
  transform: rotate(45deg);
}
.stages--flow .stage__outcome { background: var(--parchment); padding: var(--space-s) var(--space-m); border-radius: 0 1rem 0 1rem; }
@media (max-width: 64rem) { .stages--flow .stage:not(:last-child) .stage__marker::after { display: none; } }
/* The integration line beneath the triad */
.integration-note {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--on-light-soft);
  max-width: 52ch;
  margin-inline: auto;
}

/* Umbrella hierarchy (Philosophy) */

.foundation {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, var(--space-2xl));
  align-items: start;
}
.foundation__pillar { padding-top: var(--space-m); border-top: 2px solid var(--rule-terracotta); }
.foundation__kicker {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}
.foundation__name { font-size: var(--step-3); margin-top: var(--space-2xs); }
.foundation__lead { color: var(--on-light); margin-top: var(--space-s); }

.foundation__within {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-soft);
  margin-top: var(--space-l);
}
.foundation__facets {
  margin-top: var(--space-s);
  display: grid;
  gap: var(--space-m);
  padding-left: var(--space-m);
  border-left: 2px solid var(--rule-on-light);
}
.lens__name { font-family: var(--font-display); font-size: var(--step-1); }
.lens__body { color: var(--on-light-soft); margin-top: 0.25em; }

/* Umbrella diagram, callout, accordion */

.field-navy .integration-note,
.field-deep .integration-note { color: var(--on-navy-soft); }

.bigstatement--center { max-width: 26ch; margin-inline: auto; text-align: center; }

.umbrella { max-width: 60rem; margin-inline: auto; }
.umbrella__top {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  padding-top: var(--space-m);
  border-top: 2px solid var(--rule-terracotta);
}
.umbrella__kicker {
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta-soft);
}
.umbrella__name { font-size: var(--step-3); margin-top: var(--space-2xs); }
.umbrella__lead { color: var(--on-navy-soft); margin-top: var(--space-2xs); }
.umbrella__stem { width: 2px; height: var(--space-l); margin: var(--space-m) auto 0; background: var(--rule-terracotta); }
.umbrella__lenses {
  position: relative;
  padding-top: var(--space-l);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, var(--space-xl));
}
/* horizontal rail spanning the three column centres */
.umbrella__lenses::before {
  content: ""; position: absolute; top: 0;
  left: calc(100% / 6); right: calc(100% / 6);
  height: 2px; background: var(--rule-on-navy);
}
.umbrella .lens { position: relative; padding-top: var(--space-l); text-align: center; }
/* drop tick from rail to each lens card */
.umbrella .lens::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: var(--space-l); background: var(--rule-on-navy);
}
.umbrella .lens__body { color: var(--on-navy-soft); margin-top: 0.25em; }
@media (max-width: 48rem) {
  .umbrella__stem { height: var(--space-m); }
  .umbrella__lenses { grid-template-columns: 1fr; gap: var(--space-l); padding-top: var(--space-m); }
  .umbrella__lenses::before { display: none; }
  .umbrella .lens { padding-top: var(--space-m); border-top: 1px solid var(--rule-on-navy); }
  .umbrella .lens::before { display: none; }
}

.accordion { display: grid; }
.accordion__item { border-top: 1px solid var(--rule-on-light); }
.accordion__item:last-of-type { border-bottom: 1px solid var(--rule-on-light); }
.accordion__item > summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--space-2xs) var(--space-m);
  padding: var(--space-m) 0;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary:focus-visible { outline: 3px solid var(--terracotta-ink); outline-offset: 4px; }
.accordion__head { grid-column: 1; grid-row: 1; font-family: var(--font-display); font-size: var(--step-1); }
.accordion__line { grid-column: 1; grid-row: 2; color: var(--on-light-soft); font-size: var(--step-0); }
.accordion__marker {
  grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end;
  width: 0.62rem; height: 0.62rem; margin-right: 0.2rem;
  border-right: 2px solid var(--terracotta-ink); border-bottom: 2px solid var(--terracotta-ink);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.accordion__item[open] .accordion__marker { transform: rotate(225deg); }
.accordion__item > summary:hover .accordion__head { color: var(--terracotta-ink); }
.accordion__detail { color: var(--on-light); max-width: 64ch; padding-bottom: var(--space-l); }
.accordion__detail > * + * { margin-top: var(--space-s); }
@media (prefers-reduced-motion: reduce) {
  .accordion__marker { transition: none; }
  .accordion__item > summary:hover .accordion__head { transition: none; }
}

.field-light .umbrella__kicker { color: var(--terracotta-ink); }
.field-light .umbrella__lead { color: var(--on-light-soft); }
.field-light .umbrella__lenses::before,
.field-light .umbrella .lens::before { background: var(--rule-on-light); }
.field-light .umbrella .lens__body { color: var(--on-light-soft); }
.field-light .umbrella .lens { border-top-color: var(--rule-on-light); }

.field-navy .accordion__item { border-top-color: var(--rule-on-navy); }
.field-navy .accordion__item:last-of-type { border-bottom-color: var(--rule-on-navy); }
.field-navy .accordion__line { color: var(--on-navy-soft); }
.field-navy .accordion__detail { color: var(--on-navy); }
.field-navy .accordion__marker { border-right-color: var(--terracotta-soft); border-bottom-color: var(--terracotta-soft); }
.field-navy .accordion__item > summary:hover .accordion__head { color: var(--terracotta-soft); }
.field-navy .accordion__item > summary:focus-visible { outline-color: var(--terracotta-soft); }

/* PHILOSOPHY page */

/* Citations: superscript markers with a hover-bubble reference */

.cite { font-weight: 700; line-height: 0; white-space: nowrap; }
.cite__link {
  position: relative;
  display: inline-block;
  color: var(--terracotta-soft);
  text-decoration: none;
  font-size: 0.72em;
  vertical-align: super;
  padding: 0 0.12em;
  border-radius: 2px;
}
.field-light .cite__link { color: var(--terracotta-ink); }
.cite__link:hover, .cite__link:focus-visible { color: var(--terracotta); }
.cite__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.cite__bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.7em);
  transform: translateX(-50%) translateY(4px);
  z-index: 30;
  width: max-content;
  max-width: 17rem;
  padding: 0.6em 0.8em;
  font-family: var(--font-sans);
  font-size: 0.78rem;          /* reset out of the tiny superscript context */
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  text-align: left;
  color: var(--navy);
  background: var(--parchment);
  border: 1px solid var(--rule-terracotta);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 28, 35, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  pointer-events: none;
}
.cite__bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--parchment);
}
.cite__link:hover .cite__bubble,
.cite__link:focus-visible .cite__bubble,
.cite__link.is-open .cite__bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.payoff {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  max-width: 30ch;
  margin-top: var(--space-l);
  text-wrap: balance;
}
.payoff .accent { color: var(--terracotta-soft); font-style: italic; }
.field-light .payoff .accent { color: var(--terracotta-ink); }

/* CTA band: faint radial lift so the closing field isn't dead flat */
.cta-band.field-deep {
  background:
    radial-gradient(80% 130% at 50% -10%, color-mix(in srgb, #25404f 70%, transparent), transparent 70%),
    var(--navy-deep);
}

/* Services teaser / facets list */
.facets { display: grid; gap: 0; }
.facet {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--space-m);
  padding-block: var(--space-l);
  border-top: 1px solid var(--rule-on-navy);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.35s var(--ease);
}
.facet:last-child { border-bottom: 1px solid var(--rule-on-navy); }
.facet:hover { padding-left: var(--space-s); }
.facet__num {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--terracotta-soft);
}
.facet__name { font-family: var(--font-display); font-size: var(--step-3); }
.facet__desc {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--on-navy-soft);
  margin-top: 0.4em;
  max-width: 52ch;
}
.facet__arrow { color: var(--terracotta-soft); align-self: center; transition: transform 0.3s var(--ease); }
.facet:hover .facet__arrow { transform: translateX(5px); }

/* Proof strip */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, var(--space-l)); }
.proof-item__thumb { margin-bottom: var(--space-s); }
.proof-item__title { font-size: var(--step-1); }
.proof-item__tag {
  display: inline-block;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  font-weight: 700;
}

/* Credibility: logos + testimonials */
.logo-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.logo-chip {
  height: 3rem;
  min-width: 8rem;
  display: grid;
  place-items: center;
  padding-inline: 1.25rem;
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  color: var(--on-navy-soft);
  font-family: var(--font-display);
  font-size: var(--step-0);
  letter-spacing: 0.08em;
  filter: grayscale(1);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.logo-chip:hover { opacity: 1; border-color: var(--rule-terracotta); }

/* Logo files carry white; multiply drops it onto the ground. */
.logo-img {
  height: clamp(3rem, 6vw, 4.4rem);
  width: auto;
  max-width: 260px;
  mix-blend-mode: multiply;
  display: inline-block;
}

.logo-type {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.12em;
  color: var(--on-light);
  opacity: 0.85;
}
.logo-band { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light); }
.logo-band .eyebrow { margin-bottom: var(--space-l); }
.logo-band .logo-strip { justify-content: flex-start; }

.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, var(--space-l)); }
.testimonial {
  border-left: 2px solid var(--rule-terracotta);
  padding-left: var(--space-m);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.5;
}
.testimonial figcaption {
  margin-top: var(--space-s);
  font-size: var(--step--1);
  color: var(--on-navy-soft);
  letter-spacing: 0.04em;
}
.field-light .testimonial figcaption { color: var(--on-light-soft); }
.testimonials--3 { grid-template-columns: repeat(3, 1fr); margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.testimonials--3 .testimonial blockquote { font-size: var(--step-0); }
@media (max-width: 60rem) { .testimonials--3 { grid-template-columns: 1fr; } }

/* Person block */
.human { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, var(--space-2xl)); align-items: center; }
.human__portrait { max-width: 22rem; }
.human__name { font-size: var(--step-3); }
.human__role {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-top: var(--space-2xs);
}

/* Big CTA */
.cta-band { text-align: center; }
.cta-band__title { font-size: var(--step-5); max-width: 20ch; margin-inline: auto; }
.cta-band__sub { color: var(--on-navy-soft); margin: var(--space-m) auto 0; max-width: 44ch; }
.cta-band__actions { margin-top: var(--space-xl); display: flex; gap: var(--space-s); justify-content: center; flex-wrap: wrap; }

/* Principles, pull-quote */
.numbered { list-style: none; counter-reset: step; display: grid; gap: var(--space-xl); }
.numbered > li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--space-m); }
.numbered > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--terracotta-soft);
  line-height: 1;
}
.field-light .numbered > li::before { color: var(--terracotta-ink); }
.numbered h3 { font-size: var(--step-2); margin-bottom: var(--space-2xs); }
.numbered p { color: inherit; }

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1.3;
  text-align: center;
  max-width: 28ch;
  margin-inline: auto;
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-top: var(--space-m);
}

/* Definition-style list for engagement principles */
.deflist { display: grid; gap: var(--space-l); }
.deflist > div { display: grid; gap: var(--space-2xs); }
.deflist dt { font-family: var(--font-display); font-size: var(--step-1); }
.deflist dd { margin: 0; color: var(--on-navy-soft); }
.field-light .deflist dd { color: var(--on-light-soft); }

/* Services page */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1.5rem, 4vw, var(--space-2xl));
  padding-block: clamp(2.5rem, 6vw, var(--space-2xl));
  border-top: 1px solid var(--rule-on-navy);
  align-items: start;
}
.field-light .service-block { border-top-color: var(--rule-on-light); }
.service-block__hero { border-top: 2px solid var(--rule-terracotta); }
.service-tag {
  display: inline-block;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta-soft);
}
.service-block__title { font-size: var(--step-3); margin-top: var(--space-s); }
.service-block__disciplines {
  margin-top: var(--space-s);
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}
.field-light .service-block__disciplines { color: var(--on-light-soft); }
.shape-list { list-style: none; display: grid; gap: var(--space-s); margin-top: var(--space-m); }
.shape-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-s); }
.shape-list li::before { content: "—"; color: var(--terracotta-soft); }

.offer-grid {
  align-items: stretch;

  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  gap: clamp(1.5rem, 2.6vw, var(--space-l));
}

.offer-card {
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
  color: var(--on-navy);

  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
/* .is-visible sets transform:none at higher specificity, so the hover lift must out-rank it. */
.js .offer-card[data-reveal].is-visible:hover,
.offer-card:hover { transform: translateY(-6px); }

.offer-card__media {
  flex: none;
  width: 100%;
  height: clamp(7.5rem, 10vw, 9.5rem);
  object-fit: cover;
  object-position: center;
}

.offer-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: clamp(1.15rem, 1.7vw, 1.5rem);
}
.offer-card__title { font-size: var(--step-1); }
.offer-card__summary {
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}
.offer-card__more {
  margin-top: auto;
  padding-top: var(--space-xs);
}

.field-light .offer-card .arrow-link { color: var(--terracotta-soft); }
.offer-card .arrow-link:hover { border-color: transparent; }
.offer-card .arrow-link:hover .btn__arrow { transform: none; }

/* Service detail pages (the three children) */
.back-to-how {
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
}
.field-navy .back-to-how { border-top-color: var(--rule-on-navy); }

/* One-to-one PD page */

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;          /* the type sits low in the strip */
  min-height: clamp(20rem, 27vw, 25rem);
  background: var(--light);       /* the ground the scrim resolves into */
  color: var(--on-light);
  overflow: hidden;
}
.banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    var(--light) 0,
    color-mix(in srgb, var(--light) 98%, transparent) 2rem,
    color-mix(in srgb, var(--light) 94%, transparent) 4rem,
    color-mix(in srgb, var(--light) 87%, transparent) 6rem,
    color-mix(in srgb, var(--light) 76%, transparent) 8rem,
    color-mix(in srgb, var(--light) 62%, transparent) 10rem,
    color-mix(in srgb, var(--light) 47%, transparent) 12rem,
    color-mix(in srgb, var(--light) 34%, transparent) 14rem,
    color-mix(in srgb, var(--light) 23%, transparent) 16rem,
    color-mix(in srgb, var(--light) 15%, transparent) 18rem,
    color-mix(in srgb, var(--light)  9%, transparent) 21rem,
    color-mix(in srgb, var(--light)  7%, transparent) 23rem,
    color-mix(in srgb, var(--light)  6%, transparent) 25rem);
}
.banner__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-l) var(--space-m);
}
.banner__title { font-size: var(--step-4); }
/* --on-light-soft fails AA over the darkest part of the photograph; use --on-light. */

.intro-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--terracotta-ink);
  max-width: none;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 62rem) {
  .intro-lead {
    max-width: 28ch;
    margin-left: auto;
  }
}

.section--after-banner { padding-top: clamp(0.75rem, 1.5vw, 1.5rem); }

.tabs {
  --tabs-radius: var(--radius-lg);   /* the rounded pair on the panel */
  --tab-radius: 1rem;      /* the rounded pair on a tab box */
  --panel-pad: clamp(1.75rem, 3.4vw, 3rem);

  --mark-h: 6.5rem;
  --mark-w: calc(var(--mark-h) * 1.357);   /* the artwork's 1040 x 766 ratio */
  --head-h: 4.25rem;
}
.tabs__list { display: none; }
.tabs__prompt { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-navy-soft); text-align: center; padding-bottom: var(--space-xs); }

/* Tabbed mode */
.tabs.is-tabbed {
  position: relative;
  display: grid;
  grid-template-columns: clamp(12rem, 17vw, 15rem) 1fr;
  align-items: start;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 0 var(--tabs-radius) 0 var(--tabs-radius);
}
.tabs.is-tabbed .tabs__list {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: clamp(1.25rem, 2.2vw, var(--space-l));
}
/* Fixed slot height so the enlarged selected icon cannot shift the tabs below it. */
.tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 10.5rem;
  padding: var(--space-s);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border: 0;
  border-radius: 0 var(--tab-radius) 0 var(--tab-radius);
  background: var(--light);
  color: var(--on-light);
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.tabs__tab:hover { background: var(--parchment); transform: translateY(-3px); }
.tabs__tab { transition: background 0.28s var(--ease), transform 0.28s var(--ease); }

.tabs__tab::after { content: "\2192"; font-family: var(--font-sans); font-size: var(--step--1); color: var(--terracotta-ink); margin-top: var(--space-2xs); transition: transform 0.28s var(--ease); }
.tabs__tab:hover::after { transform: translateX(4px); }
.tabs__tab[aria-selected="true"]::after { content: none; }

.tabs__tab[aria-selected="true"] {
  background: transparent;
  color: var(--parchment);
  cursor: default;
}
.tabs__icon {
  width: 2rem;
  height: 2rem;
  flex: none;
  transition: width 0.28s var(--ease), height 0.28s var(--ease), color 0.28s var(--ease);
}
.tabs__tab[aria-selected="true"] .tabs__icon {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--terracotta-soft);
}
.tabs__label { display: block; }

/* Panels share one grid cell so switching never changes the height. */
.tabs.is-tabbed .tabs__panel {
  grid-column: 2;
  grid-row: 1;
  min-height: 12rem;
}
.tabs.is-tabbed .tabs__panel[hidden] { display: block; visibility: hidden; }

/* Stacked mode (no JS, or below 56rem): each panel is its own navy card */
.tabs:not(.is-tabbed) .tabs__panel {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 0 var(--tabs-radius) 0 var(--tabs-radius);
}
.tabs:not(.is-tabbed) .tabs__panel + .tabs__panel { margin-top: var(--space-m); }

/* Panel interior: heading, then paragraph, then checklist */
.tabs__panel { padding: var(--panel-pad); }

.tabs__panel-title { font-size: var(--step-3); }
.tabs.is-tabbed .tabs__panel-title {
  /* Capped: the container stops at 84rem, so viewport-scaled type would outgrow the column. */
  font-size: clamp(1.73rem, 1.7rem + 1.25vw, 2.85rem);
  min-height: var(--head-h);
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-m);
  border-bottom: 1px solid var(--rule-terracotta);
}
.tabs__content { display: grid; grid-template-columns: 1fr; gap: var(--space-l); }
.tabs.is-tabbed .tabs__content { gap: var(--space-xl); margin-top: var(--space-xl); }
.tabs__body { color: var(--on-navy-soft); }

.checklist { list-style: none; display: grid; gap: var(--space-m); }
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
}
/* A solid terracotta disc with the tick knocked out in cream. */
.checklist__tick {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--parchment);
  display: grid;
  place-items: center;
  flex: none;
}
.checklist__tick svg { width: 1rem; height: 1rem; display: block; }

/* The signature mark, top-right of the content column */
.tabs__mark { display: none; }
@media (min-width: 80rem) {

  .tabs.is-tabbed .tabs__panel-title {

    padding-right: calc(var(--mark-w) + var(--space-m));
  }
  .tabs.is-tabbed .tabs__mark {
    display: block;
    position: absolute;

    right: var(--panel-pad);

    top: calc(var(--panel-pad) + var(--head-h) - var(--mark-h));
    width: var(--mark-w);
    z-index: 0;
    pointer-events: none;
  }
}
.tabs__brain {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;   /* let the tip spark bloom past the viewBox */
}
.tabs__brain .ink { opacity: 0.18; }
/* Stroke compensation for the reduced scale. */
.tabs__brain .ct-far  { stroke-width: 10.5; }
.tabs__brain .ct-mid  { stroke-width: 9.4; }
.tabs__brain .ct-near { stroke-width: 8.8; }
.tabs__brain .cc      { stroke-width: 10.5; }
/* The star has its own keyframes, so its scale is compensated in a matching set. */
@keyframes star-grow-sm {
  0%, 64% { transform: scale(1.4); }
  78%     { transform: scale(3.4); }
  100%    { transform: scale(3.4); }
}
.tabs__brain .comet-star { animation-name: star-grow-sm; }

/* The panel content sits above the mark. */
.tabs__panel { position: relative; z-index: 1; }

/* Motion on selection */
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabs.is-tabbed .tabs__panel:not([hidden]) .tabs__panel-title { animation: tab-in 0.20s var(--ease) 0.04s both; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .tabs__body        { animation: tab-in 0.20s var(--ease) 0.07s both; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li      { animation: tab-in 0.20s var(--ease) both; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li:nth-child(1) { animation-delay: 0.10s; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li:nth-child(2) { animation-delay: 0.16s; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li:nth-child(3) { animation-delay: 0.22s; }
.tabs.is-tabbed .tabs__panel:not([hidden]) .checklist li:nth-child(4) { animation-delay: 0.28s; }

/* Section head: heading (and lead) left, an aside right */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.section-head__main { max-width: 44rem; }
.section-head--tight { margin-bottom: var(--space-m); }
.section-head__aside { max-width: none; }

.payoff-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  color: var(--terracotta);
  text-wrap: balance;
}
.field-light .payoff-line { color: var(--terracotta-ink); }
@media (max-width: 60rem) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-m); align-items: start; }
}

/* The contrast: a course against this work */
.contrast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.contrast__col--course {
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-navy);
}
.contrast__col--work {
  background: var(--light);
  color: var(--on-light);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  padding: clamp(1.75rem, 3.4vw, 3rem);
}
.contrast__title { font-size: var(--step-2); }
.contrast__col--course .contrast__title { color: var(--on-navy-soft); }
.contrast__list,
.contrast__col .checklist { margin-top: var(--space-l); }
.contrast__list { list-style: none; display: grid; gap: var(--space-m); }
.contrast__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
  color: var(--on-navy-soft);
}
/* The empty ring: the tick's disc with nothing in it. */
.contrast__ring {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--rule-on-navy);
  flex: none;
}
.contrast__list a {
  color: var(--terracotta-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-terracotta);
}
.contrast__list a:hover { text-decoration-color: currentColor; }
.contrast__col--work .checklist li { color: var(--on-light); }
.contrast__note {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--on-light);
}
@media (max-width: 60rem) {
  .contrast { grid-template-columns: 1fr; }
}

/* How it works: four stages across the width */
.stages {
  --marker-h: 3.75rem;
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl) clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.stages::before {
  content: "";
  position: absolute;
  left: 0;
  right: 1.25rem;
  top: var(--marker-h);
  height: 1px;
  background: var(--rule-on-light);
}
.stages::after {
  content: "\2726";
  position: absolute;
  right: 0;
  top: var(--marker-h);
  transform: translateY(-50%);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--terracotta-ink);
}
.stage {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.stage__marker {
  height: var(--marker-h);
  display: flex;
  align-items: flex-end;
  gap: var(--space-s);
  padding-bottom: var(--space-s);
  color: var(--terracotta-ink);
}
.stage__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 0.85;
}
.stage__icon {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: none;
  margin-bottom: 0.15rem;
}
.stage__title { font-size: var(--step-1); margin-top: var(--space-s); }
.stage__body { color: var(--on-light-soft); font-size: var(--step--1); line-height: 1.6; }
.stage__outcome {
  margin-top: auto;
  padding-top: var(--space-m);
  color: var(--on-light);
  font-weight: 600;
  font-size: var(--step--1);
  line-height: 1.5;
}
.stage__outcome-label {
  display: block;
  margin-bottom: var(--space-2xs);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}
/* The closing line under the sequence. */
.how-note {
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
  max-width: none;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--on-light-soft);
}
/* With subgrid the columns share rows so titles, bodies and outcomes align. */
@supports (grid-template-rows: subgrid) {
  .stages { row-gap: 0; }
  .stage {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 0;
    padding-bottom: var(--space-xl);
  }
  .stage__body { margin-top: var(--space-s); }

  .stage__outcome { margin-top: 0; align-self: start; }
}
@media (max-width: 64rem) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages::before, .stages::after { display: none; }
  .stage__marker { border-bottom: 1px solid var(--rule-on-light); }
}
@media (max-width: 40rem) {
  .stages { grid-template-columns: 1fr; }
}

/* Tabbed panel CTA: a ruled row under the content column */
.tabs__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m) var(--space-l);
}
.tabs.is-tabbed .tabs__cta {
  grid-column: 2;
  grid-row: 2;
  margin: 0 var(--panel-pad) var(--panel-pad);
  padding-top: var(--space-l);
  border-top: 1px solid var(--rule-on-navy);
  position: relative;
  z-index: 1;
}
.tabs:not(.is-tabbed) .tabs__cta {
  margin-top: var(--space-m);
  padding: var(--panel-pad);
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 0 var(--tabs-radius) 0 var(--tabs-radius);
}
/* Only italic 400 is loaded; bold italic would be synthesised. */
.tabs__cta-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--on-navy);
  max-width: 20ch;
  text-wrap: balance;
}
.tabs .tabs__cta .btn { font-size: var(--step-0); flex: none; }
.tabs .tabs__cta .btn__arrow { font-size: 1.2em; line-height: 1; }

@media (min-width: 64rem) {
  .tabs.is-tabbed .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m) var(--space-l);
  }
}

/* Buyers row: a checklist laid across the width under an eyebrow */
.buyers { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-s) clamp(1.5rem, 4vw, 4rem); align-items: baseline; }
.buyers__label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-ink); }

.buyers__list { list-style: none; display: grid; gap: var(--space-2xs); }
.buyers__list li { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; color: var(--on-light); padding-left: 1.4em; position: relative; }
.buyers__list li::before { content: "\2726"; position: absolute; left: 0; top: 0.1em; color: var(--terracotta); font-size: 0.7em; }
@media (max-width: 60rem) { .buyers { grid-template-columns: 1fr; } }
.checklist--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-m) var(--space-l); }
.field-light .checklist--row li { color: var(--on-light); }
@media (max-width: 60rem) { .checklist--row { grid-template-columns: 1fr; } }

/* Spec: the shape of an engagement, four labelled values */
.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl) clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.spec__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
}
.spec__icon { width: 1.75rem; height: 1.75rem; color: var(--terracotta-ink); margin-bottom: var(--space-xs); }
.spec__label {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-light-soft);
}
.spec__value { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; color: var(--on-light); text-wrap: balance; }
.spec__note { margin-top: var(--space-2xs); font-size: var(--step--1); line-height: 1.6; color: var(--on-light-soft); }
.spec--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 64rem) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .spec { grid-template-columns: 1fr; }

  .spec--3 { gap: var(--space-m); }
  .spec--3 .spec__item { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: var(--space-s); row-gap: var(--space-3xs); padding-top: var(--space-s); }
  .spec--3 .spec__icon { grid-row: 1 / span 3; margin: 0; width: 1.5rem; height: 1.5rem; }
}

/* Add-on panel: the optional extension, a navy island on the cream field */
.addon {
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  padding: clamp(1.75rem, 3.4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.addon__head { display: grid; gap: var(--space-xs); }
.addon__icon { width: 2.5rem; height: 2.5rem; color: var(--terracotta-soft); margin-bottom: var(--space-2xs); }
.addon__title { font-size: var(--step-3); }
.addon__body { color: var(--on-navy-soft); max-width: none; }
@media (max-width: 60rem) { .addon { grid-template-columns: 1fr; } }

.addon-note { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-s) clamp(1.5rem, 4vw, 4rem); }
.addon-note__label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-ink); }
.addon-note__body { display: grid; gap: var(--space-s); }
.addon-note__title { font-size: var(--step-1); }
.addon-note__body p { max-width: 60ch; color: var(--on-light-soft); }
.placeholder--inline { margin-top: var(--space-2xs); justify-items: start; text-align: left; }
@media (max-width: 60rem) { .addon-note { grid-template-columns: 1fr; } }
/* Topics: the signature talks, two by two on navy */
.topics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
}
.topic {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  align-items: start;
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-navy);
}
.topic__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; color: var(--terracotta-soft); padding-top: 0.15em; }
.topic__title { font-size: var(--step-2); }
.topic__line { margin-top: var(--space-2xs); color: var(--on-navy-soft); }
.topic .arrow-link { margin-top: var(--space-s); }
@media (max-width: 48rem) { .topics { grid-template-columns: 1fr; } }

/* A pair of offer cards, held to the width three would take. */
.offer-grid--pair { max-width: 56rem; }

/* The value ladder (Services overview) */
.ladder {
  --marker-h: 3.75rem;
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.85fr);
  gap: var(--space-xl) clamp(1.5rem, 2.6vw, var(--space-l));
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ladder::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--marker-h);
  height: 1px;
  background: var(--rule-on-light);
}
.ladder__rung { display: flex; flex-direction: column; }
.ladder__marker {
  height: var(--marker-h);
  display: flex;
  align-items: flex-end;
  gap: var(--space-s);
  padding-bottom: var(--space-s);
  color: var(--terracotta-ink);
}
.ladder__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.85; }
.ladder__star { font-size: var(--step-2); line-height: 1; }
.ladder__label {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
  padding-bottom: 0.2em;
}
.ladder__rung .offer-card { flex: 1; margin-top: var(--space-m); }
.ladder__ext {
  flex: 1;
  margin-top: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: clamp(1.15rem, 1.7vw, 1.5rem);
  border: 1px solid var(--rule-on-light);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  color: var(--on-light);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.js .ladder__rung[data-reveal].is-visible .ladder__ext:hover,
.ladder__ext:hover { transform: translateY(-6px); border-color: var(--rule-terracotta); }
.ladder__ext-title { font-size: var(--step-1); }
.ladder__ext-body { font-size: var(--step--1); color: var(--on-light-soft); }
.ladder__ext .arrow-link { margin-top: auto; padding-top: var(--space-xs); }
.ladder__ext .arrow-link:hover { border-color: transparent; }
.ladder__ext .arrow-link:hover .btn__arrow { transform: none; }
.ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* The star closes the thread at the right, as on the stages. */
.ladder::after {
  content: "\2726";
  position: absolute;
  right: -0.35em;
  top: var(--marker-h);
  transform: translateY(-50%);
  color: var(--terracotta);
  font-size: var(--step-0);
  line-height: 1;
}
.ladder__note { margin-top: var(--space-l); font-size: var(--step--1); color: var(--on-light-soft); }
.ladder__note a { color: var(--terracotta-ink); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; text-decoration-color: var(--rule-terracotta); }

.problems { list-style: none; display: grid; }
.problems li { padding-block: var(--space-s); border-top: 1px solid var(--rule-on-navy); font-family: var(--font-display); font-size: var(--step-0); line-height: 1.45; color: var(--on-navy); }
.problems li:last-child { border-bottom: 1px solid var(--rule-on-navy); }
@media (max-width: 64rem) {
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder::after { display: none; }
  .ladder::before { display: none; }
  .ladder__marker { border-bottom: 1px solid var(--rule-on-light); }
}
@media (max-width: 40rem) { .ladder { grid-template-columns: 1fr; } }

/* A link line under the how-note, centred with it. */
.how-note__link { display: flex; justify-content: center; margin-top: var(--space-m); max-width: none; }
.field-navy .how-note { color: var(--on-navy-soft); }
.field-navy .payoff-line { color: var(--terracotta); }

/* Homepage: the chain, the audience links, the evidence, the people */
.stages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@supports (grid-template-rows: subgrid) { .stages--3 .stage { grid-row: span 3; } }
@media (max-width: 64rem) { .stages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stages--3::before, .stages--3::after { display: block; } .stages--3 .stage__marker { border-bottom: 0; } }
@media (max-width: 48rem) { .stages--3 { grid-template-columns: 1fr; } .stages--3::before, .stages--3::after { display: none; } .stages--3 .stage__marker { border-bottom: 1px solid var(--rule-on-light); } }
.placeholder--note { margin-top: clamp(2rem, 4vw, 3rem); padding: var(--space-m); font-size: var(--step--1); letter-spacing: 0.08em; }

.who-links { display: grid; gap: var(--space-s); justify-items: start; align-self: start; padding-top: var(--space-2xs); }
.who-links__note { color: var(--on-light-soft); max-width: 34ch; }
.field-navy .who-links__note { color: var(--on-navy-soft); }

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-l) clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule-on-navy);
}
.people__intro { display: grid; gap: var(--space-m); justify-items: start; }
.people__body { color: var(--on-navy-soft); font-size: var(--step--1); line-height: 1.6; max-width: 36ch; }
.people__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--terracotta);
  max-width: 20ch;
}
.person {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: var(--space-m);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease);
}
.js .people[data-reveal].is-visible .person:hover,
.person:hover { transform: translateY(-4px); }
/* Both portraits at 4:5, framed on the face the same way. */
.person__fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0 var(--radius-lg) 0 var(--radius-lg); }
.person__fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.person__body { display: grid; gap: var(--space-2xs); }
.person__role { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-soft); }
.person__name { font-size: var(--step-1); }
.person__cred { font-size: var(--step--1); color: var(--on-navy-soft); }
@media (max-width: 64rem) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people__intro { grid-column: 1 / -1; }
  .person { grid-template-columns: 9rem minmax(0, 1fr); }
}
@media (max-width: 48rem) { .people { grid-template-columns: 1fr; } }

/* Team page: quotes */
.bio__quotes { display: grid; gap: var(--space-m); margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light); }

.bio__quotes--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-l) clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bio__quotes--row > .eyebrow { grid-column: 1 / -1; margin-bottom: calc(var(--space-l) * -1 + var(--space-s)); }
@media (max-width: 64rem) { .bio__quotes--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .bio__quotes--row { grid-template-columns: 1fr; gap: var(--space-m); } }
.bio__quotes .rail-quote { font-size: var(--step-0); line-height: 1.5; max-width: none; }
.bio__photo { border-radius: 0 var(--radius-lg) 0 var(--radius-lg); }

/* Hero: positioning line and cards */
.hero__claim-line {
  position: relative; z-index: 2;

  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  margin-left: auto;
  margin-right: 7.3%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--on-navy);
  max-width: 30ch;
  text-wrap: balance;
}
.hero__claim-line em { font-style: normal; color: var(--terracotta); }
@media (max-width: 60rem) { .hero__claim-line { margin-left: 0; margin-right: 0; } }

.hero-field > .section { padding-top: clamp(2rem, 5vw, 4rem); }

/* Delivered with */
.evidence__head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2.5rem, 6vw, var(--space-2xl)); }
.evidence__head .eyebrow { justify-content: center; }
.evidence__head h2 { margin-inline: auto; }
.evidence .logo-strip { gap: clamp(3rem, 8vw, 7rem); }
.evidence .logo-img { height: clamp(4rem, 7.5vw, 6.25rem); max-width: 22rem; }
.evidence__quotes-eyebrow {
  display: flex;
  width: 100%;
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl));
  padding-top: var(--space-l);
  border-top: 1px solid var(--rule-on-light);
}
.evidence__quotes { margin-top: var(--space-l); }

/* The chain */
.stage__claim {
  margin-top: var(--space-2xs);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--on-light);
}
.stages--chain .stage__body { font-size: var(--step-0); line-height: 1.6; }
.field-navy .stage__claim { color: var(--on-navy); }
.field-navy .stage__marker { color: var(--terracotta-soft); }
.field-navy .stage__title { color: var(--on-navy); }
.field-navy .stage__body { color: var(--on-navy-soft); }
.field-navy .stages::before, .field-navy .stage__marker { border-color: var(--rule-on-navy); }
.field-navy .stages::before { background: var(--rule-on-navy); }
.field-navy .stages::after { color: var(--terracotta-soft); }
@supports (grid-template-rows: subgrid) { .stages--chain .stage { grid-row: span 3; } }

/* Demo form fields */
.demo {
  background: var(--navy-raised);
  border: 1px solid var(--rule-terracotta);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, var(--space-xl));
}
.demo__frame {
  margin-top: var(--space-l);
  background: var(--navy-deep);
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, var(--space-l));
}
.demo__io { display: grid; gap: var(--space-m); }
.demo__label { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-soft); }
.demo__textarea, .demo__select {
  width: 100%;
  background: var(--navy);
  color: var(--parchment);
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.5;
  resize: vertical;
}
.demo__textarea:focus, .demo__select:focus { border-color: var(--terracotta); outline: none; }
.demo__output {
  background: var(--navy);
  border: 1px solid var(--rule-on-navy);
  border-left: 2px solid var(--terracotta);
  border-radius: var(--radius);
  padding: var(--space-m);
  min-height: 8rem;
  font-size: var(--step-0);
}
.demo__output .ph { color: var(--on-navy-faint); }
.demo__output ul { padding-left: 1.2em; display: grid; gap: 0.5em; }
.demo__output li { list-style: disc; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, var(--space-xl)); }

/* The Science */
.page-head--science { padding-bottom: clamp(3.5rem, 9vw, var(--space-3xl)); }

.science-head {
  display: grid;

  grid-template-columns: minmax(0, 13fr) minmax(0, 10fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
}
.science-head__title {
  max-width: none;
  font-size: clamp(2.2rem, 0.46rem + 3.94vw, 4rem);
}
.science-head__body { color: var(--on-light); max-width: none; }

.science-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2.6vw, var(--space-l));
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: stretch;
}

.science-card {
  display: flex;
  flex-direction: column;
  background-color: var(--parchment);
  color: var(--on-light);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 18px color-mix(in srgb, var(--navy) 9%, transparent);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.science-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--navy) 14%, transparent);
}
.science-card__media {
  flex: none;
  width: 100%;
  height: clamp(9rem, 13vw, 12rem);
  object-fit: cover;
  object-position: center;
}
.science-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: clamp(1.25rem, 2vw, var(--space-l));
}
.science-card__meta {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-light-soft);
}
.science-card__kicker {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--terracotta-ink);
  margin-top: var(--space-2xs);
}
.science-card__title { font-size: var(--step-2); color: var(--on-light); }
.science-card__hook {
  font-size: var(--step--1);
  color: var(--on-light-soft);
  margin-top: var(--space-2xs);
}
.science-card__more { margin-top: auto; padding-top: var(--space-m); align-self: flex-end; }

.science-card .arrow-link:hover { border-color: transparent; }
.science-card .arrow-link:hover .btn__arrow { transform: none; }

/* Entry pages */

.article-head { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 7vw, 5.5rem); }
.article-head .science__kicker { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.article-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.article-head__title { font-size: var(--step-5); margin-top: var(--space-s); max-width: 17ch; }
.article-head__sub {
  margin-top: var(--space-m);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  color: var(--terracotta);
  max-width: 30ch;
  text-wrap: balance;
}
.article-head__meta {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-terracotta);
  max-width: 34rem;
  display: flex;
  flex-wrap: wrap;
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}
.article-head__meta strong { color: var(--on-navy); font-weight: 600; }
.article-head__meta > * + *::before { content: "\00B7"; margin: 0 0.75em; opacity: 0.55; }
.article-head__fig {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.article-head__fig img { width: 100%; height: 100%; object-fit: cover; }
.js .article-head [data-load] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) forwards;
  animation-delay: var(--load-delay, 0s);
}
@media (max-width: 60rem) {
  .article-head__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .article-head__fig { aspect-ratio: 16 / 9; }
}

.science__oneline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--on-light);
  text-wrap: balance;
}
.science__star { color: var(--terracotta-ink); font-size: 0.7em; line-height: 1.9; }
/* p carries max-width:66ch; lift it so the column sets the measure. */
.science p { max-width: none; }
.science__kicker { margin-bottom: var(--space-l); }
.arrow-link--back:hover .btn__arrow { transform: translateX(-4px); }
.science__body { margin-top: var(--space-xl); }

.science__body--lead > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.8;
  padding: 0.08em 0.14em 0 0;
  color: var(--navy);
}
/* Inline citations link down to the sources, quietly. */
.cite-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--rule-terracotta);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cite-link:hover { color: var(--terracotta-ink); border-bottom-color: currentColor; }

/* What this means: heading left, prose right, on navy. */
.science-meaning__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.science-meaning .prose p { color: var(--on-navy); max-width: 62ch; }
.science-meaning .cite-link:hover { color: var(--terracotta-soft); }
@media (max-width: 60rem) { .science-meaning__grid { grid-template-columns: 1fr; gap: var(--space-l); } }

.sources { list-style: none; margin-top: var(--space-xl); }
.source {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  align-items: start;
  padding-block: var(--space-l);
  border-top: 1px solid var(--rule-on-light);
}
.source:last-child { border-bottom: 1px solid var(--rule-on-light); }
.source__num { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; color: var(--terracotta-ink); padding-top: 0.1em; min-width: 2.6ch; }
.source__finding { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; color: var(--on-light); }
.source__cite { margin-top: var(--space-xs); font-size: var(--step--1); line-height: 1.55; color: var(--on-light-soft); }

/* Keep reading: the other entries as ruled links. */
.read-next { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.read-next__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-m);
}
.read-next__list a {
  display: grid;
  gap: var(--space-2xs);
  padding-top: var(--space-s);
  border-top: 2px solid var(--rule-terracotta);
  text-decoration: none;
  color: inherit;
}
.read-next__kicker {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}
.read-next__title { font-family: var(--font-display); font-size: var(--step-0); line-height: 1.3; transition: color 0.2s var(--ease); }
.read-next__list a:hover .read-next__title { color: var(--terracotta-ink); }
@media (max-width: 48rem) { .read-next__list { grid-template-columns: 1fr; } }

.author-strip {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
}
.author-strip__photo { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 0 1rem 0 1rem; flex: none; }
.author-strip__text { font-size: var(--step--1); color: var(--on-light-soft); max-width: none; }
.author-strip__text strong { color: var(--on-light); font-weight: 600; }

/* About / Team page */

.bio { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bio__portrait { position: sticky; top: 6rem; }

.bio .prose p { max-width: none; }
.bio__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  padding: var(--space-l);
  border: 1px solid var(--rule-on-navy);
  border-radius: var(--radius);
  background: var(--navy-raised);
  align-items: center;
}
.profile-card__avatar { width: 6rem; }
.profile-card__name { font-size: var(--step-2); }
.profile-card__role { font-size: var(--step--1); color: var(--terracotta-soft); font-weight: 700; letter-spacing: 0.06em; }

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 0;
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(32, 56, 72, 0.66);
}
.field-navy .cred-strip { color: rgba(252, 240, 216, 0.62); }
.cred-strip__item { white-space: nowrap; }

.cred-strip__item:not(:last-child)::after {
  content: "\00B7";
  margin: 0 0.75em;
  opacity: 0.55;
}
/* Out in the wild */
.featured { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light); }
.featured:empty { display: none; }
.featured__heading { font-size: var(--step-2); }

.press { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-l) clamp(1.5rem, 3vw, 3rem); margin-top: var(--space-l); }
.press__tile {
  display: grid; gap: var(--space-2xs); align-content: start;
  padding-top: var(--space-m); border-top: 1px solid var(--rule-on-light);
  text-decoration: none; color: inherit;
  transition: transform 0.4s var(--ease);
}
.press__tile:hover { transform: translateY(-4px); }
.press__tile:focus-visible { outline: 3px solid var(--terracotta-ink); outline-offset: 4px; border-radius: 2px; }
.press__mark {
  display: block; height: 3.25rem; width: min(100%, calc(3.25rem * var(--ratio, 3)));
  margin-bottom: var(--space-s);
  background: var(--on-light);
  -webkit-mask: var(--mask) left center / contain no-repeat; mask: var(--mask) left center / contain no-repeat;
}
.press__kind { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-light-soft); }
.press__piece { font-family: var(--font-display); font-size: var(--step-0); line-height: 1.35; color: var(--on-light); }
.press__cta { margin-top: var(--space-2xs); }
.press__tile:hover .press__cta { border-color: currentColor; }
.press__tile:hover .press__cta .btn__arrow { transform: translateX(4px); }
@media (max-width: 64rem) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .press { grid-template-columns: 1fr; gap: var(--space-m); } }

.voices {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: var(--space-m) clamp(1.5rem, 4vw, 4rem); align-items: start;
  margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-light);
}
.voices__rail { display: grid; gap: var(--space-m); align-content: start; }
.voices__controls { display: flex; align-items: center; gap: var(--space-xs); }
.voices__btn {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--rule-on-light); border-radius: 50%;
  color: var(--on-light); font-size: var(--step-0); cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.voices__btn:hover, .voices__btn:focus-visible { border-color: var(--terracotta-ink); color: var(--terracotta-ink); }
.voices__dots { list-style: none; display: flex; gap: 0.35rem; }
.voices__dot { font-size: 0.8rem; line-height: 1; color: var(--rule-on-light); transition: color 0.3s var(--ease); }
.voices__dot.is-current { color: var(--terracotta); }
.voices__stage { display: grid; }
.voices__quote {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-s); align-items: start;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.35;
  color: var(--terracotta-ink); max-width: 30ch;
}
.voices__quote p { max-width: none; }
.voices__star { font-style: normal; font-size: 0.6em; line-height: 2.2; }
.voices:not(.is-rotating) .voices__stage { gap: var(--space-m); }
.is-rotating .voices__quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.is-rotating .voices__quote.is-current { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
@media (max-width: 60rem) { .voices { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .is-rotating .voices__quote { transition: none; } }

.featured__fallback { margin-top: var(--space-s); }
.featured__fallback a { color: var(--terracotta-soft); text-underline-offset: 0.22em; }
.field-light .featured__fallback a { color: var(--terracotta-ink); }

/* Contact page */

.booking { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.booking__panel {
  background: var(--parchment);
  color: var(--on-light);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  padding: clamp(1rem, 2.4vw, 2rem);
  overflow: hidden;
}
.booking__mount { min-height: 34rem; }
.booking__mount iframe { display: block; }
.booking__fallback { display: grid; gap: var(--space-m); justify-items: start; padding: var(--space-l) 0; }
.booking__fallback-lead { font-family: var(--font-display); font-size: var(--step-1); max-width: 30ch; }
.booking__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule-on-light);
}
.booking__note { font-size: var(--step--1); color: var(--on-light-soft); max-width: none; }
@media (max-width: 40rem) {
  .booking__panel { padding: var(--space-xs); border-radius: 0 var(--radius-lg) 0 var(--radius-lg); }
  .booking__mount { min-height: 28rem; }
}

.booking-band { scroll-margin-top: 4.5rem; }

.direct { display: grid; gap: var(--space-m); align-content: end; }
.direct__label {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
}
.direct .person { grid-template-columns: 6.5rem minmax(0, 1fr); }
.direct .person__name { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
.direct__list { display: grid; margin-top: var(--space-2xs); }
.direct__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--space-m);
  align-items: baseline;
  padding-block: var(--space-s);
  border-top: 1px solid var(--rule-on-navy);
}
.direct__row:last-child { border-bottom: 1px solid var(--rule-on-navy); }
.direct__row dt {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
}
.direct__row dd { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; color: var(--on-navy); min-width: 0; }
.direct__row dd a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
.direct__row dd a:hover, .direct__row dd a:focus-visible { color: var(--terracotta-soft); }

.direct__list--shape { margin-top: clamp(2rem, 5vw, 3.5rem); }
.direct__list--shape .direct__row { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); border-color: var(--rule-on-light); padding-block: var(--space-m); }
.direct__list--shape .direct__row dt { color: var(--terracotta-ink); }
.direct__list--shape .direct__row dd { color: var(--on-light); font-size: var(--step-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-m); }
.direct__note { font-family: var(--font-sans); font-size: var(--step--1); color: var(--on-light-soft); line-height: 1.6; }
@media (max-width: 60rem) { .direct { margin-top: var(--space-xl); } }
@media (max-width: 40rem) {
  .direct__row, .direct__list--shape .direct__row { grid-template-columns: 1fr; gap: var(--space-3xs); }
}

/* PHILOSOPHY */
.creed {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.creed + .creed,
.creed--after-fig { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.creed__rail { display: grid; gap: var(--space-l); align-content: start; }
.creed__rail .eyebrow + .creed__title { margin-top: calc(var(--space-l) * -1 + var(--space-s)); }
.creed__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.1; max-width: 16ch; }
.page-head--creed .creed__title { font-size: var(--step-5); margin-top: var(--space-s); }
.creed__prose p { max-width: 62ch; }
.field-navy .creed__prose p { color: var(--on-navy); }
.creed__prose a {
  color: var(--terracotta-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-terracotta);
}
.field-navy .creed__prose a { color: var(--terracotta-soft); }
.creed__prose a:hover { text-decoration-color: currentColor; }
.creed__sub + .creed__sub { margin-top: var(--space-xl); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-navy); }
.creed__subtitle { font-size: var(--step-2); margin-top: var(--space-2xs); margin-bottom: var(--space-s); }

/* Marginalia */
.rail-fig {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.rail-fig img { width: 100%; height: 100%; object-fit: cover; }
.rail-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--terracotta-ink);
  max-width: 26ch;
  text-wrap: balance;
}
.field-navy .rail-quote { color: var(--terracotta); }
.rail-quote p { max-width: none; }
.rail-quote em { font-style: normal; }
.rail-quote__star { font-style: normal; font-size: 0.7em; line-height: 2; }
.rail-link { margin-top: calc(var(--space-s) * -1); }

/* The 80,000 hours: a figure, not a paragraph. */
.bignum { display: grid; gap: var(--space-2xs); max-width: 30rem; }
.bignum__label,
.bignum__unit {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  max-width: none;
}
.bignum__value {
  font-family: var(--font-display);
  font-size: var(--step-6);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--parchment);
}
.bignum__note { margin-top: var(--space-m); color: var(--on-navy-soft); max-width: 34ch; }
.page-head--creed { padding-bottom: clamp(3.5rem, 9vw, var(--space-3xl)); }
.page-head--creed .creed { align-items: end; }

.creed--head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-head--creed .creed__title { max-width: 16ch; }
@media (max-width: 60rem) { .creed--head { grid-template-columns: 1fr; } }

/* The growth band: a static figure on the navy ground. */
.gb {
  margin: clamp(2.5rem, 6vw, var(--space-2xl)) auto 0;
  max-width: 58rem;
}
.gb__svg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--font-sans); }
.gb__band { fill: var(--terracotta); fill-opacity: 0.16; }
.gb__edge { stroke: var(--terracotta); stroke-opacity: 0.75; stroke-width: 1.5; }
.gb__axes { stroke: var(--parchment); stroke-opacity: 0.45; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gb__axis-labels text { fill: var(--on-navy-soft); font-size: 22px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.gb__axis-labels .gb__extent { font-size: 18px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; fill-opacity: 0.7; }
.gb__region text { fill: var(--parchment); font-size: 30px; font-weight: 600; }
.gb__region .gb__region-sub { font-size: 16px; font-weight: 400; fill-opacity: 0.7; }
.gb__label text { fill: var(--parchment); font-family: var(--font-display); font-style: italic; font-size: 30px; }
.gb__label .gb__label-sub { font-family: var(--font-sans); font-style: normal; font-size: 14px; letter-spacing: 0.06em; fill-opacity: 0.7; }
.gb__star path { fill: var(--terracotta); }
.gb__star .gb__star-core { fill: var(--parchment); }
.gb__caption {
  margin: var(--space-m) auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}

.read-next--wide { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); padding-top: var(--space-l); border-top: 1px solid var(--rule-on-navy); }
.read-next__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.read-next__list--4 .read-next__kicker { min-height: 2.6em; line-height: 1.3; }
.field-navy .read-next__kicker { color: var(--terracotta-soft); }
.field-navy .read-next__list a:hover .read-next__title { color: var(--terracotta-soft); }
@media (max-width: 64rem) { .read-next__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The umbrella diagram sits under the foundation's opening. */
.umbrella { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }
.integration-note { margin-top: clamp(2.5rem, 6vw, var(--space-2xl)); }

@media (max-width: 60rem) {
  .creed { grid-template-columns: 1fr; gap: var(--space-l); }
  .creed__rail { gap: var(--space-m); }
  .rail-fig { max-width: 28rem; }
  .bignum { margin-top: var(--space-m); }
}
@media (max-width: 48rem) {
  .read-next__list--4 { grid-template-columns: 1fr; }
}

/* 9. Responsive */
@media (max-width: 60rem) {
  .grid-2, .grid-3, .proof-grid, .disciplines.grid-3, .science-grid, .science-head { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .human, .bio, .service-block, .foundation { grid-template-columns: 1fr; }
  .bio__portrait { position: static; max-width: 20rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-l); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  /* A blurred header would be the fixed drawer's containing block; go solid on phones. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); }
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(20rem, 82vw);
    flex-direction: column;
    align-items: flex-start;
    /* Top-aligned: a centred column taller than the viewport is unreachable at the top. */
    justify-content: flex-start;
    gap: var(--space-l);
    padding: 6rem var(--space-xl) var(--space-2xl);
    margin: 0;
    background: var(--navy-deep);
    border-left: 1px solid var(--rule-on-navy);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { font-size: var(--step-1); }
  .nav__parent { font-size: var(--step-1); }
  /* No hover on touch: the panel expands in flow when tapped. */
  .nav__item--has-menu::after { display: none; }
  .nav__submenu {
    position: static;
    transform: none;
    margin: var(--space-s) 0 0;
    padding: 0 0 0 var(--space-s);
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: var(--space-m);
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__submenu.is-open { display: flex; }
  .nav__sublink { padding: 0; white-space: normal; line-height: 1.35; }
  .nav__actions { margin-left: auto; gap: var(--space-xs); }
  .nav__book { padding: 0.55em 0.85em; font-size: var(--step--1); }
  body.nav-open { overflow: hidden; }
  /* Backdrop */
  .nav__scrim {
    position: fixed; inset: 0;
    background: rgba(16,26,33,.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 90;
  }
  .nav__scrim.is-open { opacity: 1; visibility: visible; }

  .facet { grid-template-columns: auto 1fr; }
  .facet__arrow { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 27rem) {
  .nav__book-long { display: none; }
  .nav__book-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__menu, .nav__scrim, .facet, .logo-chip, .placeholder { transition: none !important; }
}
