/* =========================================================
   Marbendill site styles
   Concept: the page is a waterline. Above it is the surface
   (white, calm). Below it is the deep, where the systems live.
   All text colour pairs meet WCAG 2.2 AAA contrast (7:1+).
   Brand source: Marbendill Brand Guidelines v1.0 (Nov 2026).
   ========================================================= */

/* Lato, the brand's text face, self-hosted from the brand kit (SIL OFL, see
   fonts/OFL.txt). Latin subset; 400 and 700 only. Georgia, the display face,
   ships with every Mac and Windows computer, so it needs no download. */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-bold.woff2") format("woff2");
}

:root {
  /* Palette: the brand palette (Brand Guidelines, section 07), by brand name.
     Brand Slate (5.5:1) and Deep Teal (5.4:1) miss this site's 7:1 promise, so
     secondary text uses a darker slate and links use Navy instead. */
  --surface: #FFFFFF;  /* White */
  --foam: #EAF2F2;     /* Mist: alternate light section */
  --ink: #0B2C3B;      /* Abyss: body text on light: 14.6:1 on white, 12.9:1 on mist */
  --ink-muted: #34505B;/* slate, darkened for 7:1: 8.6:1 on white, 7.6:1 on mist */
  --deep: #13475E;     /* Marbendill Navy: 10.0:1 on white, 8.8:1 on mist */
  --abyss: #0B2C3B;    /* Abyss: below-the-waterline background */
  --tide: #4D9A9B;     /* Tide Teal: decorative only (3.3:1) */
  --glow: #8CC9C8;     /* Seafoam: accent on dark only: 7.9:1 on abyss */
  --on-deep: #EAF2F2;  /* Mist: text on abyss: 12.9:1 */
  --on-deep-muted: #B9D6D8; /* 9.5:1 on abyss */
  --abyss-raised: #123444; /* cards in the deep: --on-deep 11.6:1, --on-deep-muted 8.5:1, --glow 7.1:1 */
  --error: #8A1C1C;    /* 9.3:1 on white */

  --focus: var(--deep);

  /* Type: the brand pairing (Brand Guidelines, section 08). Georgia Bold for
     headings, Lato for everything else. One scale for every page: each role is a
     matched set of size, leading and tracking. Georgia is a wide face, so display
     sizes tighten slightly; Lato is set at its designed spacing.
     Leading stays at 1.5 or more for running text (WCAG 1.4.8, AAA).
     Components choose a role in "Type roles" below and never set their own. */
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, Cambria, "Noto Serif", "Times New Roman", serif;
  --text-display: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); --lh-display: 1.08; --track-display: -0.02em;
  --text-title-1: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);  --lh-title-1: 1.1;  --track-title-1: -0.012em;
  --text-title-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); --lh-title-2: 1.15; --track-title-2: -0.006em;
  --text-title-3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); --lh-title-3: 1.25; --track-title-3: 0;
  --text-lede:    var(--text-title-3);                    --lh-lede: 1.5;     --track-lede: 0;
  --text-body:    1.125rem;                               --lh-body: 1.6;     --track-body: 0;
  --text-subhead: 1rem;                                   --lh-subhead: 1.5;  --track-subhead: 0;
  --text-footnote: 0.875rem;                              --lh-footnote: 1.5; --track-footnote: 0.005em;

  /* Space */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --gutter-wide: clamp(1rem, 0.25rem + 3vw, 3.5rem); /* header and footer */
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --measure: 66ch;
  --header-h: 4.5rem;

  /* Motion: critically damped springs (Apple damping 1.0), sampled into linear().
     A spring has no "duration" — these are its natural settle times. */
  --spring: linear(0, 0.0596, 0.1860, 0.3294, 0.4656, 0.5840, 0.6819, 0.7601, 0.8210, 0.8677, 0.9029, 0.9292, 0.9487, 0.9630, 0.9734, 0.9809, 0.9864, 0.9903, 0.9931, 0.9951, 0.9966, 0.9976, 0.9983, 0.9988, 1);
  --spring-time: 0.6s;   /* response 0.4 */
  --spring-snappy: linear(0, 0.0974, 0.2816, 0.4656, 0.6189, 0.7361, 0.8210, 0.8806, 0.9213, 0.9487, 0.9668, 0.9787, 0.9864, 0.9914, 0.9945, 0.9966, 0.9978, 0.9987, 1);
  --spring-snappy-time: 0.45s; /* response 0.3, used for sheets/menus */
  --press: 100ms ease-out;     /* press feedback is instant, on pointer-down */
}

/* Fallback for browsers without linear() */
@supports not (transition-timing-function: linear(0, 1)) {
  :root { --spring: cubic-bezier(.2, .8, .2, 1); --spring-snappy: cubic-bezier(.2, .8, .2, 1); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Keeps anchored/focused content clear of the sticky header (WCAG 2.4.11/2.4.12) */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  letter-spacing: var(--track-body);
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0; line-height: 1.12; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--deep); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }

/* ---------- Type roles ----------
   Every piece of text on the site takes one of these roles. Hierarchy comes from
   size, weight and leading together: display is heaviest, titles bold, text regular.
   Kept early in the file so a component or breakpoint can still override one value. */
.page-title, .stat-num {
  font-size: var(--text-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  font-weight: 700;
}
/* The home headline says what the company does, so it is long: it takes Title 1,
   and the tagline above it carries the brand line. */
.hero h1, .section-title, .contact .page-title {
  font-size: var(--text-title-1);
  line-height: var(--lh-title-1);
  letter-spacing: var(--track-title-1);
  font-weight: 700;
}
.statement-text, .track h2, .prose h2, .pillar::before, .hero-tagline {
  font-size: var(--text-title-2);
  line-height: var(--lh-title-2);
  letter-spacing: var(--track-title-2);
  font-weight: 700;
}
.steps h2, .formats h3, .pillar h3, .prose h3, .faq-row h3 {
  font-size: var(--text-title-3);
  line-height: var(--lh-title-3);
  letter-spacing: var(--track-title-3);
  font-weight: 700;
}
/* Headline: body size, set apart by weight alone (Lato, not Georgia) */
.founder-sub, .founder-name, .byline-name, .steps li::before {
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--lh-title-3);
  letter-spacing: var(--track-body);
  font-weight: 700;
}
.hero-lede, .section-lede, .statement-sub, .founder-body .founder-lead, .about p, .next-inner p {
  font-size: var(--text-lede);
  line-height: var(--lh-lede);
  letter-spacing: var(--track-lede);
}
.site-nav a, .nav-toggle, .topic-list li, .steps p, .spec-line, .eyebrow li, .founder-role, .crumbs,
.byline-role,
.form-note, .field-hint, .field-error {
  font-size: var(--text-subhead);
  line-height: var(--lh-subhead);
  letter-spacing: var(--track-subhead);
}
.site-footer {
  font-size: var(--text-footnote);
  line-height: var(--lh-footnote);
  letter-spacing: var(--track-footnote);
}

/* Focus: thick, offset, high contrast (WCAG 2.4.7 / 2.4.13 AAA) */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header and footer span nearly the full window; capped so ultra-wide screens stay sane */
.wrap.wrap-wide {
  max-width: 120rem;
  padding-inline: var(--gutter-wide);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; outline-color: var(--deep); }

/* ---------- Buttons (44px+ targets, WCAG 2.5.5 AAA) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform var(--spring-snappy-time) var(--spring-snappy);
}
/* Respond on press, not on release */
.btn:active,
.site-nav a:active,
.nav-toggle:active,
.site-footer a:active { transform: scale(0.97); transition: transform var(--press); }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--abyss); }
.btn-quiet { color: var(--deep); border-color: var(--deep); background: transparent; }
.btn-quiet:hover { background: var(--foam); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  view-transition-name: site-header;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    /* translucent material: content scrolls underneath it */
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }
}
/* Scroll edge effect instead of a permanent hairline: appears only once content is underneath */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: linear-gradient(to bottom, rgba(11, 44, 59, 0.10), rgba(11, 44, 59, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.site-header[data-scrolled="true"]::after { opacity: 1; }

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 2px solid var(--ink); }
  .site-header::after { display: none; }
  :root { --ink-muted: var(--ink); --on-deep-muted: var(--on-deep); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* The primary horizontal logo, as supplied in the brand kit (never retyped).
   2.75rem tall keeps it above the brand's 175px minimum width. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  text-decoration: none;
}
.brand img { display: block; width: auto; height: 2.75rem; }
@media (min-width: 52.01rem) { .brand img { height: 3rem; } }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
}
.site-nav a:hover { background: var(--foam); }
/* Current page: shown by weight and an underline bar, not colour alone */
.site-nav a[aria-current="page"]:not(.nav-cta) {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
  text-decoration-color: var(--tide);
}
.site-nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--deep); }
.site-nav a.nav-cta { background: var(--deep); color: #fff; font-weight: 600; margin-left: 0.5rem; }
.site-nav a.nav-cta:hover { background: var(--abyss); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  border: 2px solid var(--deep);
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  font-family: inherit; /* not the font shorthand, which would reset the role's size */
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  /* The menu is a sheet anchored to the Menu button: it grows out of the button's
     corner and returns the same way. CSS transitions retarget from the current
     on-screen value, so tapping again mid-animation reverses it smoothly. */
  .js .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: var(--gutter-wide);
    width: min(22rem, calc(100vw - 2 * var(--gutter-wide)));
    background: var(--surface);
    border: 1px solid rgba(11, 44, 59, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 18px 48px -12px rgba(11, 44, 59, 0.35);
    padding: 0.75rem;
    transform-origin: top right;
    transition: opacity 0.2s ease,
                transform var(--spring-snappy-time) var(--spring-snappy),
                visibility 0s linear 0s;
  }
  .js .site-nav[data-open="false"] {
    opacity: 0;
    transform: translateY(-8px) scale(0.92);
    visibility: hidden; /* removes links from tab order and screen readers while closed */
    transition: opacity 0.2s ease,
                transform var(--spring-snappy-time) var(--spring-snappy),
                visibility 0s linear 0.2s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { width: 100%; padding: 0 1rem; font-size: var(--text-body); }
  .site-nav a.nav-cta { margin: 0.5rem 0 0; justify-content: center; }
  /* Without JS the nav simply wraps below the brand */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
}

/* ---------- Hero: the surface ----------
   Copy and logo sit side by side so the headline, actions, merman and
   waterline all fit in the first screen on desktop. */
.hero {
  position: relative;
  padding-top: clamp(2rem, 1rem + 3vw, 4rem);
  background: var(--surface);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}

/* The brand tagline, set as it is in the brand kit: Georgia italic.
   --deep on --surface: 10.0:1 */
.hero-tagline {
  margin: 0 0 0.75rem;
  color: var(--deep);
  font-family: var(--font-display);
  font-style: italic;
}
.hero h1 {
  max-width: 20ch;
  color: var(--ink);
}
.hero-lede {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* The merman sits in the page's sea. The mark is the logo (900x731) plus 89px of
   depth, and .hero-sea shares that pixel space, so the water's surface traces the
   undersides of the logo's waves at any size. Its paths run far past the mark on
   both sides; the hero clips them at the screen edge. */
.hero-mark {
  position: relative;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 900 / 820;
  justify-self: end;
  align-self: end;
}
/* --logo-lift raises the merman out of the water (as a share of the logo's height)
   so its own wave strokes sit clear of the sea instead of merging into it.
   0% puts the logo back in the traced position, where the sea covers its base. */
.hero-mark { --logo-lift: 6%; }
.hero-mark picture, .about-mark picture { display: block; }
.hero-logo { display: block; width: 100%; height: auto; translate: 0 calc(var(--logo-lift) * -1); }
.hero-sea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Keep the copy clear of the water that runs beneath it */
.hero-copy { padding-bottom: clamp(6.5rem, 3rem + 7vw, 9rem); }

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-mark { max-width: 17rem; justify-self: center; margin-top: 0.5rem; }
}

.waterline {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(6rem, 3rem + 9vw, 13.75rem);
  margin-bottom: -2px;
  /* front wave runs past the box so the back wave can't peek through at the seam */
  overflow: visible;
}
.wave-back { fill: var(--tide); }
.wave-front { fill: var(--abyss); }

/* One orchestrated entrance, on spring curves. The merman surfaces *up* through
   the waterline, the same direction the eye travels down the page. */
@media (prefers-reduced-motion: no-preference) {
  .hero-tagline, .hero h1, .hero-lede, .hero-actions { animation: rise var(--spring-time) var(--spring) both; }
  .hero h1 { animation-delay: 0.05s; }
  .hero-lede { animation-delay: 0.1s; }
  .hero-actions { animation-delay: 0.18s; }
  .hero-logo { animation: surface 1s var(--spring) 0.2s both; }
  .wave-back { animation: swell 1s var(--spring) both; }
  .wave-front { animation: swell 1s var(--spring) 0.08s both; }
  /* The sea shares the logo's pixel space, so its swell is set in those units */
  .hero-sea .wave-back { animation-name: swell-sea; }
  .hero-sea .wave-front { animation-name: swell-sea; }
}
/* Reduced motion: a gentle cross-fade instead of movement */
@media (prefers-reduced-motion: reduce) {
  .hero-tagline, .hero h1, .hero-lede, .hero-actions, .hero-logo { animation: fade 0.3s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes surface { from { opacity: 0; transform: translateY(60px); } }
@keyframes swell { from { transform: translateY(40px); } }
@keyframes swell-sea { from { transform: translateY(70px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Page-to-page continuity (View Transitions) ----------
   The header stays put and the waterline glides to its new place, so moving
   between pages feels like one continuous space rather than a reload. */
@view-transition { navigation: auto; }
.waterline { view-transition-name: waterline; }
::view-transition-group(*) {
  animation-duration: var(--spring-time);
  animation-timing-function: var(--spring);
}
::view-transition-old(root) { animation: 0.18s ease both fade-out; }
::view-transition-new(root) { animation: 0.3s ease 0.06s both fade; }
@keyframes fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  /* keep only the cross-fade: nothing travels across the screen */
  .waterline, .site-header { view-transition-name: none; }
}

/* ---------- Below the waterline ---------- */
.deep {
  background: var(--abyss);
  color: var(--on-deep);
  --focus: var(--glow);
  margin-top: -1px;
}
.deep a { color: var(--glow); }

.section { padding-block: var(--section); }
.deep .section:first-child { padding-top: clamp(2rem, 1rem + 4vw, 5rem); }

.section-title {
  max-width: 20ch;
}
.section-lede {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  max-width: 52ch;
}
.deep .section-lede { color: var(--on-deep-muted); }

/* Tracks: an editorial list, not a card grid */
.tracks { margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.track {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem 3rem;
  padding-block: 2.5rem;
  border-top: 1px solid rgba(185, 214, 216, 0.28);
}
.track:last-child { border-bottom: 1px solid rgba(185, 214, 216, 0.28); }
.track h2 { color: var(--on-deep); }
.track-body p { color: var(--on-deep-muted); }
.track-body .topic-list + p { margin-top: 1.25rem; }
.topic-list {
  margin-top: 1.25rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.5rem 1.5rem;
}
.topic-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--on-deep);
}
.topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--glow);
}

/* Statement band: headline and supporting line side by side to save height */
.statement { padding-block: clamp(1.5rem, 0.5rem + 2.5vw, 3rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.statement-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
}
.statement-text {
  max-width: 22ch;
  color: var(--on-deep);
}
.statement-sub {
  margin: 0;
  color: var(--on-deep-muted);
  max-width: 46ch;
}
@media (max-width: 52rem) {
  .statement-inner { grid-template-columns: 1fr; }
}
/* Short pages that end in the deep: no white band above the footer */
main:has(> .deep:last-child) { background: var(--abyss); }

.resurface {
  width: 100%;
  height: clamp(3rem, 2rem + 4vw, 7.5rem);
  margin-top: -1px;
}
.resurface path,
.resurface .resurface-front { fill: var(--abyss); }
.resurface .resurface-back { fill: var(--tide); }

/* ---------- Steps: a true sequence, so numbered ---------- */
.steps {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 4.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
}
/* connecting line between steps */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 3.75rem;
  right: -1.25rem;
  height: 2px;
  background: var(--tide);
}
.steps h2 { margin-bottom: 0.5rem; }
.steps p { color: var(--ink-muted); }

@media (max-width: 60rem) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 2rem 4.5rem; min-height: 3rem; }
  .steps li:not(:last-child)::after { top: 3.5rem; bottom: 0.5rem; left: 1.45rem; right: auto; width: 2px; height: auto; }
}

/* ---------- Formats ---------- */
.section-foam { background: var(--foam); }
.formats {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 2.5rem;
}
.format-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--deep);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.formats h3 { margin-bottom: 0.5rem; }
.formats p { color: var(--ink-muted); }

@media (max-width: 52rem) {
  .formats { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.about-logo { width: 100%; max-width: 20rem; justify-self: center; }
.about .section-title { margin-bottom: 1.5rem; }
.about p + p { color: var(--ink-muted); }

@media (max-width: 52rem) {
  .about-grid { grid-template-columns: 1fr; }
  .about-logo { max-width: 12rem; justify-self: start; }
}

/* Founder: text is --ink (14.9:1) and --ink-muted (8.3:1) on --surface.
   Credential tags: --ink on --surface (14.9:1), border --deep. */
.founder-grid {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2rem clamp(2rem, 1rem + 4vw, 4rem);
}
/* A conventional leadership block: the heading spans the section, then a
   modest headshot with name and title beside the bio. */
.founder-title { grid-column: 1 / -1; grid-row: 1; margin: 0; }
.founder-figure {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0;
}
.founder-body { grid-column: 2; grid-row: 2; max-width: var(--measure); }
/* Caption sits quietly under the photo: --ink on white (14.9:1), --ink-muted on white (8.3:1) */
.founder-figure figcaption { margin-top: 1.25rem; }
.founder-name, .founder-role { display: block; }
.founder-role { color: var(--ink-muted); }
.founder-body p + p { margin-top: 1rem; }
.founder-sub { margin-top: 2rem; }
.trained { margin-top: 0.75rem; padding-left: 1.25rem; }
.trained li + li { margin-top: 0.35rem; }
/* Certifications as a spec line under the caption, like a product's spec sheet:
   --ink-muted on white (8.3:1). The rule above it is decorative. */
.spec-line {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0.875rem 0 0;
  padding: 0.875rem 0 0;
  border-top: 1px solid rgba(11, 44, 59, 0.14);
  color: var(--ink-muted);
}
.spec-line li { white-space: nowrap; }
/* the separator is silent to screen readers; each item is already a list item */
.spec-line li:not(:last-child)::after { content: "\00B7" / ""; margin-inline: 0.5em; }

@media (max-width: 52rem) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-title, .founder-figure, .founder-body { grid-column: 1; grid-row: auto; }
  .founder-portrait { max-width: 12rem; }
}

/* ---------- About page: a dive and a return ----------
   Intro and founder on the surface, experience and principles in the deep,
   then the name story resurfaces. Every effect is decoration on top of a page
   that reads fully without it: no JS needed, and nothing hides content unless
   scroll-driven animations are supported and motion is welcome. */

/* Trust facts as quiet tags: --deep on --foam (9.2:1) */
.eyebrow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.eyebrow li {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--foam);
  color: var(--deep);
  font-weight: 600;
}

/* Portrait lifted off the page by light, not by a plate behind it: a wide, faint
   ambient shadow plus a tight contact shadow, both tinted with --abyss.
   The frame only clips and casts the shadow. It has no fill and no inner line,
   so nothing can show around the photo's anti-aliased edge. */
.founder-portrait {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(11, 44, 59, 0.08),
    0 4px 8px -2px rgba(11, 44, 59, 0.10),
    0 16px 32px -12px rgba(11, 44, 59, 0.24);
}
/* Continuous (squircle) corners where supported, like Apple's hardware and icons */
@supports (corner-shape: squircle) {
  .founder-portrait { border-radius: 1.75rem; corner-shape: squircle; }
}
.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  /* He stands at the waterline: --foam surface above, --tide water at the shoulders.
     The subject is cut out (img/cox_headshot_cutout.png), so this shows around him.
     It is painted on the image itself, so it is clipped exactly with the photo.
     Decorative only, no text sits on it. */
  background: linear-gradient(180deg, var(--foam) 0%, var(--foam) 18%, var(--tide) 100%);
}

/* By the numbers: --glow numerals (9.2:1) and --on-deep-muted labels (9.2:1) on --abyss */
.by-numbers { padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 2.5rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
}
.stat { position: relative; padding-top: 1.25rem; }
/* a rule above each figure that draws itself in as it scrolls into view */
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glow);
  opacity: 0.5;
  transform-origin: left;
}
.stat-num {
  display: block;
  color: var(--glow);
}
/* steady digit widths so counting figures don't jitter */
.stat-num[data-count] { font-variant-numeric: tabular-nums; }
.stat-label {
  display: block;
  margin-top: 0.75rem;
  max-width: 24ch;
  color: var(--on-deep-muted);
}

/* Principles: numbered panels in the deep. Text on --abyss-raised: see :root. */
.principles { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.pillars {
  list-style: none;
  counter-reset: pillar;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
}
.pillars-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.pillar {
  counter-increment: pillar;
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid rgba(140, 201, 200, 0.22);
  border-radius: 1.25rem;
  background: var(--abyss-raised);
}
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  content: counter(pillar, decimal-leading-zero) / ""; /* the list is already ordered for screen readers */
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 700; /* numerals match the display weight of the stats */
  line-height: 1;
  color: var(--glow);
}
/* light falling through the water onto the top of each panel (decorative) */
.pillar::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(140, 201, 200, 0.14), transparent);
  pointer-events: none;
}
.pillar h3 { position: relative; color: var(--on-deep); margin-bottom: 0.5rem; }
.pillar h3 a { color: inherit; text-decoration-color: var(--glow); }
.pillar p { position: relative; color: var(--on-deep-muted); }

@media (max-width: 52rem) {
  .pillars { grid-template-columns: 1fr; }
}

/* Name story: the merman breaks the surface once, and ripples spread from that moment.
   Ripples behave like water: flat ellipses (a horizontal surface seen from the side),
   bursting out fast then slowing, thinning and fading as they spread. Each ring's back
   arc is drawn behind the logo and its front arc over it, so it wraps the figure.
   The rings are invisible at rest; they exist only during the event. --tide is
   decorative here, as in the logo's own waves. */
.about { overflow-x: clip; } /* rings may spread past the column while they play */
.about-mark {
  position: relative;
  display: grid;
  justify-self: center;
  width: 100%;
  max-width: 20rem;
}
.about-mark .about-logo { position: relative; z-index: 1; width: 100%; max-width: none; }
.ripples {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ripples-front { z-index: 2; }
.ripple {
  fill: none;
  stroke: var(--tide);
  vector-effect: non-scaling-stroke; /* line weight stays physical while the ring grows */
  transform-box: view-box;
  transform-origin: 200px 222px;      /* RIPPLE_CX, RIPPLE_CY in build_pages.py */
  opacity: 0;
}
@media (max-width: 52rem) {
  .about-mark { max-width: 14rem; justify-self: start; }
}

/* JS marks the mark "pending" only when it will play the event, so without JS
   the logo is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .about-mark[data-surface="pending"] .about-logo { opacity: 0; translate: 0 1.75rem; }
  .about-mark[data-surface="go"] .about-logo { animation: surface-up 0.9s var(--spring) both; }
  /* Growth and fade run on separate curves: the ring decelerates as it spreads,
     while it holds its strength and only fades late, the way a real wave loses energy. */
  .about-mark[data-surface="go"] .ripple {
    animation: ripple-grow 1.8s cubic-bezier(0.1, 0.7, 0.3, 1) both,
               ripple-fade 1.8s ease-in both;
  }
  /* rings start as he breaks the surface, about a third of the way into the rise */
  .about-mark[data-surface="go"] .ripple-1 { --peak: 1;    animation-delay: 0.28s; }
  .about-mark[data-surface="go"] .ripple-2 { --peak: 0.75; animation-delay: 0.5s; }
  .about-mark[data-surface="go"] .ripple-3 { --peak: 0.5;  animation-delay: 0.72s; }
}
/* Reduced motion: a plain cross-fade, no travel and no ripples */
@media (prefers-reduced-motion: reduce) {
  .about-mark[data-surface="pending"] .about-logo { opacity: 0; }
  .about-mark[data-surface="go"] .about-logo { animation: fade 0.3s ease both; }
  .ripples { display: none; }
}
@keyframes surface-up { from { opacity: 0; translate: 0 1.75rem; } }
@keyframes ripple-grow {
  from { transform: scale(0.06); stroke-width: 3.5px; }
  to   { transform: scale(1); stroke-width: 1.25px; }
}
@keyframes ripple-fade {
  0%   { opacity: 0; }
  6%   { opacity: var(--peak, 0.8); }
  100% { opacity: 0; }
}

/* Wave parallax: depth at the waterline, on the about page's two waves.
   Only the far (light) wave moves; the near wave is joined to the deep section and
   stays put, so no seam can open. The far wave lags the scroll by a few pixels,
   tracked 1:1 with no easing, so it feels attached to your finger rather than animated.
   Distances are in the wave's own units (±14 of 220/120), so they scale with the wave:
   about 6-9px on screen. Decorative only, never text; off with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .wave-parallax { view-timeline: --wave block; }
    /* the waterline's back wave also keeps its on-load swell */
    .waterline.wave-parallax .wave-back {
      animation: swell 1s var(--spring) both, wave-drift linear both;
      animation-timeline: auto, --wave;
    }
    .resurface.wave-parallax .resurface-back {
      animation: wave-drift linear both;
      animation-timeline: --wave;
    }
  }
}
@keyframes wave-drift {
  from { translate: 0 -14px; }
  to   { translate: 0 14px; }
}

/* Entrance on load for the intro, matching the home hero */
@media (prefers-reduced-motion: no-preference) {
  .about-intro .eyebrow,
  .about-intro .page-title,
  .about-intro .section-lede { animation: rise var(--spring-time) var(--spring) both; }
  .about-intro .page-title { animation-delay: 0.06s; }
  .about-intro .section-lede { animation-delay: 0.12s; }
}

/* Scroll-driven reveals. Guarded twice: browsers without view timelines, and people
   who prefer reduced motion, simply see everything in place. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal,
    .reveal-stagger > * {
      animation: reveal linear both;
      animation-timeline: view();
      /* fixed distances, not percentages, so tall blocks finish as quickly as short ones */
      animation-range: entry 0px entry 10rem;
    }
    .reveal-stagger > :nth-child(2) { animation-range: entry 2rem entry 12rem; }
    .reveal-stagger > :nth-child(3) { animation-range: entry 4rem entry 14rem; }
    .reveal-stagger > :nth-child(4) { animation-range: entry 6rem entry 16rem; }

    .stat::before {
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 35%;
    }
    /* The portrait's one entrance: the frame settles up to full size while the
       photo inside eases back from a slight zoom, like a lens finding focus. */
    .founder-portrait {
      animation: portrait-in var(--spring) both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .founder-photo {
      animation: portrait-focus var(--spring) both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes portrait-in { from { opacity: 0; scale: 0.94; } }
@keyframes portrait-focus { from { scale: 1.1; } }
@keyframes reveal { from { opacity: 0; translate: 0 2rem; } }
@keyframes draw { from { transform: scaleX(0); } }

@media (prefers-contrast: more) {
  .pillar { border-color: var(--glow); }
  .stat::before { opacity: 1; }
  .founder-portrait { outline: 1px solid var(--ink); }
}
@media (forced-colors: active) {
  .ripples, .pillar::after { display: none; }
  .founder-portrait { border: 1px solid CanvasText; }
  .pillar { border-color: CanvasText; }
}

/* ---------- Contact ---------- */
.contact { background: var(--abyss); color: var(--on-deep); --focus: var(--glow); }
.contact .section-lede { color: var(--on-deep-muted); }
.contact-alt { margin-top: 1.5rem; color: var(--on-deep-muted); }
.contact a { color: var(--glow); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
@media (max-width: 52rem) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--surface);
  color: var(--ink);
  --focus: var(--deep);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.form-note { color: var(--ink-muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.optional { font-weight: 400; color: var(--ink-muted); }
.field-hint { color: var(--ink-muted); margin: -0.15rem 0 0.5rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 2px solid #5E7882; /* 4.6:1 on white, input boundary (WCAG 1.4.11) */
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-body);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--deep); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 600; margin-top: 0.4rem; }
.field-error::before { content: "Error: "; }

.contact-form .btn { width: 100%; margin-top: 0.5rem; }
.form-status { margin-top: 1rem; font-weight: 600; }
/* Stay in the accessibility tree when empty so the live region is announced reliably */
.form-status:empty { margin: 0; }

/* ---------- Footer ----------
   Apple-style: quiet, small, light. One help line, a hairline, then the legal bar.
   Text is --ink-muted on --foam (7.8:1, AAA). */
.site-footer {
  background: var(--foam);
  color: var(--ink-muted);
  --focus: var(--deep);
  padding-block: 1.25rem 1.5rem;
}
.site-footer p { max-width: none; margin: 0; }
.site-footer a { color: var(--ink); }

.footer-help {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 44, 59, 0.14);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-top: 0.25rem;
}
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; }
.footer-legal li { display: flex; align-items: center; }
.footer-legal li + li::before {
  content: "";
  width: 1px;
  height: 0.9em;
  background: rgba(11, 44, 59, 0.35);
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;           /* full-size target, visually small (WCAG 2.5.5) */
  padding: 0 0.75rem;
  text-decoration: none;
}
.footer-legal li:last-child a { padding-right: 0; }
.footer-legal a:hover { text-decoration: underline; }

@media (max-width: 40rem) {
  .footer-legal { flex-direction: column-reverse; align-items: flex-start; }
  .footer-legal li:first-child a { padding-left: 0; }
}

/* Pressable things spring back after the instant press-down */
.site-nav a, .site-footer a, .nav-toggle { transition: background-color 0.2s ease, transform var(--spring-snappy-time) var(--spring-snappy); }

/* ---------- Narrow screens ---------- */
@media (max-width: 40rem) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .track { grid-template-columns: 1fr; }
}

/* ---------- Windows High Contrast / forced colours ---------- */
@media (forced-colors: active) {
  .btn, .site-nav a.nav-cta, .nav-toggle { border: 2px solid ButtonText; }
  .steps li::before { border: 2px solid CanvasText; }
  .waterline, .resurface, .hero-sea { display: none; }
}

/* ---------- Inner pages ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Contact form spam trap: off screen for everyone (and aria-hidden, tabindex -1 in
   the markup). Not display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-intro { padding-top: clamp(3.5rem, 2rem + 6vw, 7rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-intro-surface { padding-bottom: clamp(1rem, 0.5rem + 2vw, 2rem); }
.page-title { max-width: 16ch; }
/* Contact's title shares a narrow column with the form, so it steps down to Title 1 */
.contact .page-title { max-width: 20ch; }

.waterline-sm { height: clamp(4rem, 2rem + 6vw, 9rem); }
.deep .section:first-child .tracks { margin-top: 0; }

.section-tight { padding-top: 0; }

.next-step { padding-block: clamp(3rem, 2rem + 4vw, 5rem); background: var(--foam); }
.next-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.next-inner p { margin: 0; font-weight: 600; }

.prose h2 { margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.prose ul { margin: 0 0 1em; padding-left: 1.25rem; max-width: var(--measure); }
.prose li + li { margin-top: 0.35rem; }

/* Breadcrumb on the service pages: the way back to the Services overview.
   --ink-muted 8.6:1 and the --deep link 10.0:1 on --surface. The link's padding
   gives it a 44px touch target. */
.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.6rem;
  margin-bottom: 1rem;
  color: var(--ink-muted);
}
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; }
.crumbs a { display: inline-block; padding-block: 0.6rem; }
.muted { color: var(--ink-muted); margin-top: 2.5rem; }

/* Facts for government buyers: label and value pairs on --foam.
   --ink-muted labels 7.6:1 and --ink values 12.9:1 on --foam. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem 3rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
}
.facts dt { color: var(--ink-muted); }
.facts dd { margin: 0.25rem 0 0; }
.facts dd + dt { margin-top: 1.25rem; }
.facts ul { list-style: none; }

/* ---------- Service pages ----------
   The same dive as the rest of the site: the service explained on the surface, the
   detail below the waterline (the .tracks list), then back up for who does the work,
   common questions, and the way on. */

/* Entrance on load, matching the home hero: one staggered rise on the spring curve */
@media (prefers-reduced-motion: no-preference) {
  .intro-rise .crumbs,
  .intro-rise .page-title,
  .intro-rise .section-lede,
  .intro-rise .hero-actions { animation: rise var(--spring-time) var(--spring) both; }
  .intro-rise .page-title { animation-delay: 0.05s; }
  .intro-rise .section-lede { animation-delay: 0.1s; }
  .intro-rise .hero-actions { animation-delay: 0.18s; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-rise .wrap { animation: fade 0.3s ease both; }
}
.intro-rise .page-title { max-width: 18ch; }

/* Heading beside its text, on the same 5:7 columns as the tracks below the waterline */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem 3rem;
  align-items: start;
}
.split .section-title { max-width: 14ch; }
.explain { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
/* --ink-muted on --surface: 8.6:1 */
.explain .split-body { color: var(--ink-muted); }

/* The founder beside his experience. The photo is decorative: his name is next to it. */
.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.byline-photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  box-shadow: 0 0 0 1px rgba(11, 44, 59, 0.12), 0 0.75rem 1.5rem -0.75rem rgba(11, 44, 59, 0.45);
}
.byline p { margin: 0; }
.byline-name, .byline-role { display: block; }
.byline-role { color: var(--ink-muted); }

/* Common questions: an editorial list on --foam, every answer in view.
   --ink 12.9:1 and --ink-muted 7.6:1 on --foam. */
.faq { background: var(--foam); }
.faq-list { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.75rem 3rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(19, 71, 94, 0.22);
}
.faq-row:last-child { border-bottom: 1px solid rgba(19, 71, 94, 0.22); }
.faq-row p { color: var(--ink-muted); }

/* The way on: the other services, as buttons (48px targets, press feedback) */
.related { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.related-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

@media (max-width: 52rem) {
  .split, .faq-row { grid-template-columns: 1fr; }
  .split .section-title { max-width: 20ch; }
}
@media (max-width: 40rem) {
  .related-list { flex-direction: column; }
}
@media (prefers-contrast: more) {
  .faq-row, .faq-row:last-child { border-color: var(--ink); }
}
@media (forced-colors: active) {
  .byline-photo { border: 1px solid CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .waterline, .resurface, .hero-sea, .contact-form, .hero-actions { display: none; }
  .deep, .contact, .site-footer { background: none; color: #000; }
  .footer-help { display: none; }
  .reveal, .reveal-stagger > *, .about-mark .about-logo, .founder-portrait, .founder-photo { animation: none !important; opacity: 1 !important; translate: none !important; }
  .ripples, .related { display: none; }
  .faq { background: none; }
  .stat-num, .pillar::before, .pillar h3, .pillar p, .stat-label { color: #000; }
  .pillar { background: none; border-color: #000; }
  .founder-figure { position: static; }
  .founder-portrait { box-shadow: none; }
}

