/*
 * halcy.site — shared design system for the public marketing site.
 *
 * Grown from the careers microsite stylesheet (itself anchored to
 * round.halcy.site) when careers was folded into the main site, so every
 * Halcy web surface shares one palette + typography: Haffer SQ throughout
 * (the PP Editorial New display serif was retired 2026-06-12 to match the
 * app and round site).
 *
 * No build step. One stylesheet imported by every page (home, careers,
 * roles, partners, press, privacy, terms).
 *
 * CACHE BUSTING: Cloudflare proxies halcy.site and rewrites this file's
 * browser TTL to 4 hours, ignoring vercel.json. Every page therefore links
 * /styles.css?v=<stamp> (same for site.js/form.js). If you edit this file,
 * bump the ?v= stamp in all seven index.html files before deploying or
 * phones keep the stale version for hours.
 */

@font-face {
  font-family: "Haffer SQ";
  src: url("/fonts/HafferSQTRIAL-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Haffer SQ";
  src: url("/fonts/HafferSQTRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Haffer SQ";
  src: url("/fonts/HafferSQTRIAL-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("/fonts/PPEditorialNew-Ultralight.otf") format("opentype");
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("/fonts/PPEditorialNew-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("/fonts/PPEditorialNew-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #4a6789;
  --bg-shade: rgba(0, 0, 0, 0.18);
  --paper: #f3f1ec;
  --ink: #243648;
  --text: #f7f5f0;
  --text-muted: rgba(247, 245, 240, 0.94);
  --text-faded: rgba(247, 245, 240, 0.8);
  --border: rgba(255, 255, 255, 0.22);
  --border-soft: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --error: #ffd9d2;
  --accent: #ffd9b8; /* golden hour against the slate */

  --serif: "PP Editorial New", "Iowan Old Style", "Apple Garamond", "Baskerville", Georgia, serif;
  --sans: "Haffer SQ", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Cross-document view transitions: navigating between pages crossfades
 * instead of hard-reloading. The sky, clouds (clock-synced inline on each
 * page), dusk and grain are identical on both sides, so visually only the
 * content changes. Browsers without support just navigate normally. */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 19px;
  line-height: 1.55;
}
/* Background image lives on a fixed-position layer rather than on body.
 * iOS Safari has a long-standing bug where `background-attachment: fixed`
 * on body is treated as `scroll` for sizing - so `background-size: cover`
 * is computed against the full scrollable document height (5000px+),
 * not the viewport (~844px). That scaled the 3832x2152 photo by ~2.3x
 * and produced visible grain/blockiness. Putting the same stack on a
 * `position: fixed; inset: 0` layer forces cover to size against the
 * viewport, so the image renders at native resolution. The CSS gradient
 * under the image-set paints instantly while the bitmap decodes so
 * there's no flash to flat blue. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.3), transparent 68%),
    image-set(
      url("/SkyBackground.avif") type("image/avif"),
      url("/SkyBackground.jpg") type("image/jpeg")
    ),
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, #5a779a 0%, #4a6789 45%, #3e587a 100%);
  background-size: auto, cover, auto, auto;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
/* The sky breathes: a barely-perceptible slow zoom keeps the page alive. */
@media not (prefers-reduced-motion: reduce) {
  body::before {
    animation: sky-breathe 70s ease-in-out infinite alternate;
  }
  @keyframes sky-breathe {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.06);
    }
  }
}

/* Reset for editorial typography. */
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}
/* Keeps the hairline display type legible when a drifting cloud passes behind it. */
.hero h1,
.problem-line,
.moments-line,
.index-row h3,
.editorial-wide,
.founders-line {
  text-shadow: 0 1px 22px rgba(20, 30, 48, 0.35);
}
ul,
ol {
  padding-left: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
}

/* ─── Layout primitives ─────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}
.shell--narrow {
  max-width: 640px;
}

/* ─── Page chrome (shared header + footer) ──────────────────────── */
.chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 0;
  position: relative;
  z-index: 2;
}
.chrome a.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 200;
  font-size: 28px;
  letter-spacing: -0.005em;
}
.chrome a.wordmark img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.97;
}
.chrome .nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
  color: var(--text-muted);
}
/* Underline slides in from the left on hover, stays under the current page. */
.chrome .nav a {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0% 1px;
  transition:
    color 120ms ease,
    background-size 220ms ease,
    background-position 0s 220ms;
}
.chrome .nav a:hover {
  color: var(--text);
  background-position: 0% 100%;
  background-size: 100% 1px;
  transition:
    color 120ms ease,
    background-size 220ms ease;
}
.chrome .nav a[aria-current="page"] {
  color: var(--text);
  background-position: 0% 100%;
  background-size: 100% 1px;
}

.foot {
  margin: 96px 0 56px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: var(--text-faded);
  text-align: center;
}
.foot a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition:
    color 120ms ease,
    border-color 120ms ease;
}
.foot a:hover {
  color: var(--text);
  border-color: var(--text);
}
.foot .foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 16px;
}
.foot .legal-line {
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    translate 320ms cubic-bezier(0.2, 1, 0.3, 1),
    transform 80ms ease,
    background 120ms ease,
    opacity 120ms ease;
}
.btn:hover:not([disabled]) {
  background: #ffffff;
}
.btn:active:not([disabled]) {
  transform: scale(0.985);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover:not([disabled]) {
  background: var(--glass);
  color: var(--text);
}
.linkish {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  font-size: 14px;
  transition:
    color 120ms ease,
    border-color 120ms ease;
}
.linkish:hover {
  color: var(--text);
  border-color: var(--text);
}

.section-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 24px;
}

/* ─── Home: hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 14vh;
  padding-bottom: 3vh;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 18ch;
  text-wrap: balance;
}
.hero .lede {
  margin-top: 26px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  color: var(--text);
  text-wrap: balance;
}
.hero .scroll-cue {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faded);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.hero .scroll-cue:hover {
  color: var(--text);
}
.hero .cue-arrow {
  display: inline-block;
}

@media not (prefers-reduced-motion: reduce) {
  .hero .cue-arrow {
    animation: cue-bob 2.2s ease-in-out infinite;
  }
  @keyframes cue-bob {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(5px);
    }
  }
}

/* ─── Poster hero (homepage modifier; .hero base shared with careers) ── */
.shell--wide {
  max-width: 1360px;
}
.hero--poster {
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 0;
  padding-bottom: max(5vh, 44px);
}
.hero--poster h1 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: none;
}
.hero--poster h1 .ln {
  display: block;
}
.hero--poster .lede-min {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faded);
  text-wrap: balance;
}
.hero--poster .waitlist {
  margin-top: 30px;
}
.hero--poster .scroll-cue {
  margin-top: 34px;
}

/* ─── Atmosphere: clouds (ported from the app's sign-in screen) ──── */
.clouds {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.clouds .cloud {
  position: absolute;
  top: var(--top, 20%);
  left: 0;
  width: var(--w, 160px);
  height: auto;
  opacity: var(--o, 0.35);
  /* Same trick as the app: when two clouds drift past each other the
   * brighter pixel wins instead of the alphas compounding to a blob. */
  mix-blend-mode: lighten;
  transform: translateX(-280px);
}
.clouds .cloud--flip {
  scale: -1 1;
}
@media not (prefers-reduced-motion: reduce) {
  .clouds .cloud {
    animation: cloud-drift var(--dur, 100s) linear infinite;
    animation-delay: var(--delay, 0s);
  }
  @keyframes cloud-drift {
    from {
      transform: translateX(-280px);
    }
    to {
      transform: translateX(105vw);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Static scatter so the sky still has weather. */
  .clouds .cloud:nth-child(1) {
    transform: translateX(12vw);
  }
  .clouds .cloud:nth-child(2) {
    transform: translateX(62vw);
  }
  .clouds .cloud:nth-child(3) {
    transform: translateX(34vw);
  }
  .clouds .cloud:nth-child(4) {
    transform: translateX(80vw);
  }
  .clouds .cloud:nth-child(5) {
    transform: translateX(48vw);
  }
  .clouds .cloud:nth-child(6) {
    transform: translateX(5vw);
  }
}

/* ─── Atmosphere: day → dusk → dawn across the scroll ───────────── */
.sky-golden,
.sky-dusk,
.sky-sunrise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}
.sky-golden {
  background: linear-gradient(
    180deg,
    rgba(255, 176, 107, 0.08),
    rgba(255, 140, 90, 0.2) 60%,
    rgba(120, 70, 90, 0.16)
  );
}
.sky-dusk {
  background: linear-gradient(180deg, rgba(30, 36, 66, 0.28), rgba(22, 26, 52, 0.5));
}
/* The sun rises again at the bottom of the page. A viewport-wide wash over
 * the same sky photo (not a box in the document flow), so it has no edges
 * anywhere and the photo's texture stays visible through it. Strongest at
 * the horizon line of the viewport, dissolving upward. */
.sky-sunrise {
  background:
    radial-gradient(ellipse 130% 65% at 50% 104%, rgba(255, 159, 94, 0.45), transparent 72%),
    linear-gradient(
      to top,
      rgba(245, 117, 60, 0.5) 0%,
      rgba(251, 150, 90, 0.28) 34%,
      rgba(255, 190, 125, 0.1) 62%,
      rgba(255, 211, 156, 0) 82%
    );
}
@supports (animation-timeline: scroll()) {
  @media not (prefers-reduced-motion: reduce) {
    .sky-golden {
      animation: golden-hour linear both;
      animation-timeline: scroll(root);
    }
    .sky-dusk {
      animation: dusk-fall linear both;
      animation-timeline: scroll(root);
    }
    .sky-sunrise {
      animation: sun-rise linear both;
      animation-timeline: scroll(root);
    }
    @keyframes golden-hour {
      0%,
      30% {
        opacity: 0;
      }
      60% {
        opacity: 1;
      }
      100% {
        opacity: 0.4;
      }
    }
    /* Dusk peaks, then recedes as the dawn takes over below. */
    @keyframes dusk-fall {
      0%,
      55% {
        opacity: 0;
      }
      82% {
        opacity: 1;
      }
      100% {
        opacity: 0.55;
      }
    }
    @keyframes sun-rise {
      0%,
      70% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
  }
}

/* ─── Atmosphere: film grain over everything (all pages) ────────── */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
}

/* Hero entrance: content rises softly on load. */
@media not (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 0;
    animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .rise-2 {
    animation-delay: 0.15s;
  }
  .rise-3 {
    animation-delay: 0.3s;
  }
  .rise-4 {
    animation-delay: 0.5s;
  }
  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ─── Home: waitlist form ───────────────────────────────────────── */
.waitlist {
  margin-top: 40px;
  max-width: 480px;
}
.waitlist .waitlist-row {
  display: flex;
  gap: 10px;
}
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  transition:
    border-color 120ms ease,
    background 120ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.waitlist input[type="email"]::placeholder {
  color: var(--text-faded);
}
.waitlist input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--glass-strong);
  box-shadow:
    0 0 0 4px rgba(247, 245, 240, 0.1),
    0 2px 30px rgba(247, 245, 240, 0.16);
}
.waitlist .note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-faded);
}
.waitlist .waitlist-error {
  margin-top: 10px;
  font-size: 14px;
  color: var(--error);
  min-height: 18px;
}
.waitlist .confirm-inline {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--text);
}
@media (max-width: 480px) {
  .waitlist .waitlist-row {
    flex-direction: column;
  }
  .waitlist .btn {
    width: 100%;
  }
}

/* ─── Home: the mess (scattered planning artifacts) ─────────────── */
.problem {
  padding-top: 5vh;
  padding-bottom: 2vh;
  text-align: center;
}
.scraps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  max-width: 36ch;
  margin-inline: auto;
}
.scrap {
  display: inline-block;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0));
  margin-right: -12px;
  font-family: var(--sans);
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-faded);
  padding: 9px 16px;
  /* Second material on purpose: dark, rectangular, an artifact —
   * not the dreamy glass the rest of the page is made of. */
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  white-space: nowrap;
}
.problem .problem-line {
  margin-top: 8vh;
  margin-inline: auto;
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(32px, 4.8vw, 66px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}

/* ─── Home: the turn — trip moments drifting around the resolve ─── */
.moments {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10vh 28px;
  overflow: hidden;
}
.moments .moments-line {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 18ch;
  text-wrap: balance;
}
.moments .chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.moments .chip {
  position: absolute;
  padding: 10px 18px;
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(16px, 1.5vw, 21px);
  color: var(--text-muted);
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  white-space: nowrap;
}
/* Hand-placed like a sky full of plans. Far chips smaller and fainter. */
.moments .chip:nth-child(1) {
  top: 12%;
  left: 12%;
}
.moments .chip:nth-child(2) {
  top: 22%;
  right: 14%;
}
.moments .chip:nth-child(3) {
  top: 48%;
  left: 6%;
  opacity: 0.75;
  scale: 0.88;
}
.moments .chip:nth-child(4) {
  bottom: 22%;
  right: 8%;
}
.moments .chip:nth-child(5) {
  bottom: 12%;
  left: 18%;
}
.moments .chip:nth-child(6) {
  top: 60%;
  right: 22%;
  opacity: 0.75;
  scale: 0.88;
}
.moments .chip:nth-child(7) {
  bottom: 13%;
  left: 47%;
  opacity: 0.9;
}
@media not (prefers-reduced-motion: reduce) {
  .moments .chip {
    animation: chip-drift 9s ease-in-out infinite alternate;
  }
  .moments .chip:nth-child(2n) {
    animation-duration: 12s;
    animation-delay: -4s;
  }
  .moments .chip:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: -7s;
  }
  /* translate, not margin: composited, no per-frame layout. The scaled
   * chips keep their scale via the separate `scale` property below. */
  @keyframes chip-drift {
    from {
      translate: 0 0;
    }
    to {
      translate: 0 26px;
    }
  }
}
/* Phones: not enough sky for absolute placement — let the chips gather
 * in a loose centered cloud under the line instead. */
@media (max-width: 720px) {
  .moments {
    min-height: 0;
    flex-direction: column;
    gap: 40px;
    padding: 12vh 24px;
  }
  .moments .chips {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
  }
  .moments .chip {
    position: static;
    opacity: 1;
    transform: none;
    scale: 1;
  }
}

/* ─── Home: the trip sheet (the product, as an object) ──────────── */
.trip-demo {
  padding-top: 6vh;
  padding-bottom: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trip-sheet {
  width: min(560px, 100%);
  padding: 24px 26px 12px;
  background: var(--glass-strong);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-family: var(--sans); /* UI voice, not editorial voice */
  font-size: 15px;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.5);
  rotate: -1.2deg; /* an artifact lying in the sky, not a section */
}
.trip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
}
.trip-dest {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 36px;
  line-height: 1.05;
  display: block;
  color: var(--text);
}
.trip-dates {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-faded);
}
.trip-crew {
  display: flex;
  padding-top: 4px;
}
.trip-crew li {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--c, var(--glass));
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: -8px;
}
.trip-crew li.more {
  background: var(--paper);
}
.trip-rows {
  display: flex;
  flex-direction: column;
}
.trip-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.trip-row.is-done::before {
  content: "✓";
  color: var(--accent);
}
.trip-row.is-live {
  color: var(--text);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
  justify-self: center;
}
@media not (prefers-reduced-motion: reduce) {
  .pulse {
    animation: pulse 1.6s ease-in-out infinite;
  }
  @keyframes pulse {
    50% {
      opacity: 0.35;
    }
  }
}
/* Rows assemble one scroll-beat apart. */
@supports (animation-timeline: view()) {
  @media not (prefers-reduced-motion: reduce) {
    .trip-row {
      animation: site-fade-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .trip-row:nth-child(2) {
      animation-range: entry 12% entry 47%;
    }
    .trip-row:nth-child(3) {
      animation-range: entry 24% entry 59%;
    }
    .trip-row:nth-child(4) {
      animation-range: entry 36% entry 71%;
    }
  }
}

/* ─── Home: editorial index (replaces the card grid) ────────────── */
.index-list {
  display: flex;
  flex-direction: column;
}
.index-row {
  display: grid;
  grid-template-columns: 6ch 1fr minmax(20ch, 28ch);
  align-items: baseline;
  gap: 12px 28px;
  padding: clamp(30px, 6vh, 60px) 0;
  border-top: 1px solid var(--border-soft);
}
.index-row .card-num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-faded);
}
.index-row h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--text);
}
.index-row p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-faded);
  transition: color 160ms ease;
}
.index-row:hover p {
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .index-row {
    grid-template-columns: 6ch 1fr;
  }
  .index-row p {
    grid-column: 2;
  }
}

/* ─── Partners: the essentials manifest card ────────────────────── */
.fact-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.fact-card .fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border-top: 1px solid var(--border-soft);
}
.fact-card .fact:nth-child(-n + 2) {
  border-top: none;
}
.fact-card .fact:nth-child(2n) {
  border-left: 1px solid var(--border-soft);
}
.fact-card .fact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faded);
}
.fact-card .fact-value {
  font-size: 17px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.fact-card .fact-value a {
  border-bottom: 1px solid var(--border);
}
@media (max-width: 580px) {
  .fact-card {
    grid-template-columns: 1fr;
  }
  .fact-card .fact:nth-child(2) {
    border-top: 1px solid var(--border-soft);
  }
  .fact-card .fact:nth-child(2n) {
    border-left: none;
  }
}

/* ─── Home: margin notes (travel-log whispers) ──────────────────── */
.margin-note {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  font-variant-numeric: tabular-nums;
  margin-bottom: 28px;
}

/* ─── Home: closing statement (sits in the dawn wash) ───────────── */
.about--band {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20vh 28px 12vh;
}
.about--band .editorial-wide {
  margin-inline: auto;
  font-size: clamp(30px, 5vw, 58px);
  max-width: 24ch;
}
.about--band .founders-line {
  margin-top: 40px;
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text-muted);
}
.about--band .founders-line span {
  color: var(--text);
  white-space: nowrap;
}
.about--band .cta-row {
  margin-top: 44px;
  justify-content: center;
}

/* ─── Home: feature cards ───────────────────────────────────────── */
.features {
  padding-top: 10vh;
  padding-bottom: 4vh;
}
.features .section-label {
  text-align: center;
}
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
  }
}
.glass-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
  background: var(--glass-strong);
}
.glass-card .card-num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-faded);
}
.glass-card h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(27px, 3.2vw, 33px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.glass-card p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
}
/* Stagger the card entrances: each card's reveal window starts a little
 * later in its own view timeline, so the row cascades left to right. */
@supports (animation-timeline: view()) {
  @media not (prefers-reduced-motion: reduce) {
    .card-grid > :nth-child(2),
    .team-grid > :nth-child(2) {
      animation-range: entry 12% entry 47%;
    }
    .card-grid > :nth-child(3),
    .team-grid > :nth-child(3) {
      animation-range: entry 24% entry 59%;
    }
  }
}

/* ─── Home: team ────────────────────────────────────────────────── */
.team {
  padding-top: 8vh;
  padding-bottom: 4vh;
}
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
  }
}
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 26px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.person:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
  background: var(--glass-strong);
}
.person .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-weight: 200;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--text);
  overflow: hidden;
}
.person .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 26px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.person .role-line {
  font-size: 16px;
  color: var(--text-faded);
  margin-top: -10px;
}
.person .linkish {
  margin-top: auto;
}

/* ─── Home: about / CTA strip ───────────────────────────────────── */
.about {
  padding-top: 8vh;
  padding-bottom: 6vh;
}
.about .editorial-wide {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 30ch;
  text-wrap: balance;
}
.about .cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Info pages (partners, press, privacy, terms) ──────────────── */
.page-title {
  padding-top: 12vh;
  padding-bottom: 5vh;
}
.page-title .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 22px;
}
.page-title h1 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}
.page-title .sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  text-wrap: balance;
}

.prose {
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: clamp(40px, 6vh, 72px);
}
.prose + .prose {
  border-top: 1px solid var(--border-soft);
}
.prose h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 28px;
}
.prose h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 32px 0 12px;
}
.prose h3:first-of-type {
  margin-top: 0;
}
.prose p {
  color: var(--text-muted);
  max-width: 62ch;
}
.prose p + p {
  margin-top: 1em;
}
.prose ul {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 62ch;
}
.prose ul li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  color: var(--text-muted);
}
.prose ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faded);
  margin-top: 9px;
  justify-self: center;
}
.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.prose a:hover {
  border-color: var(--text);
}
.prose .meta-line {
  font-size: 14px;
  color: var(--text-faded);
}

/* Key/value fact rows — shared by press fast-facts, partner entity info,
 * and role benefits. */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefits li {
  display: grid;
  grid-template-columns: 14ch 1fr;
  gap: 18px;
  font-size: 17px;
  line-height: 1.55;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
}
.benefits li:first-child {
  border-top: none;
  padding-top: 0;
}
.benefits li .k {
  color: var(--text-faded);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 2px;
}
.benefits li .v {
  color: var(--text);
}
@media (max-width: 580px) {
  .benefits li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .benefits li .k {
    padding-top: 0;
  }
}

/* ─── Careers: index ────────────────────────────────────────────── */
.careers-hero h1 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 28ch;
  text-wrap: balance;
}

.roles {
  padding-top: 2vh;
  padding-bottom: 8vh;
}
.role-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .role-cards {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}
.role-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px 24px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}
.role-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: var(--glass-strong);
}
.role-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-faded);
  letter-spacing: 0.04em;
}
.role-card .tag {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.role-card h2 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(26px, 3.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.role-card p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
}
.role-card .cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}
.role-card .cta::after {
  content: "→";
  transition: transform 200ms ease;
}
.role-card:hover .cta::after {
  transform: translateX(4px);
}

.response-note {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-faded);
  text-align: center;
}

/* ─── Careers: cultural manifesto ───────────────────────────────── */
.principles {
  scroll-snap-type: y proximity;
}
.principle {
  scroll-snap-align: start;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-top: clamp(48px, 8vh, 88px);
  padding-bottom: clamp(48px, 8vh, 88px);
  border-top: 1px solid var(--border-soft);
}
.principle:first-child {
  border-top: none;
}
.principle .num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faded);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.principle h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--text);
}
.principle p {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 400;
  text-wrap: pretty;
}

/* Soft scroll-driven fade-in via the modern `animation-timeline: view()` API
 * where supported. On older browsers and with reduced-motion the elements
 * just render normally — no JS dependency. */
@supports (animation-timeline: view()) {
  @media not (prefers-reduced-motion: reduce) {
    .reveal {
      animation: site-fade-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    @keyframes site-fade-in {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}

.closing {
  margin: 8vh 0 4vh;
  text-align: center;
  max-width: none;
}
.closing p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto;
  line-height: 1.4;
  text-wrap: balance;
}

/* ─── Role pages ────────────────────────────────────────────────── */
.role {
  padding-bottom: 0;
}
.role-title {
  padding-top: 12vh;
  padding-bottom: 6vh;
}
.role-title .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 22px;
}
.role-title h1 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}
.role-title .sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  text-wrap: balance;
}
.role-title .cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.role-title .cta-row .meta {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.005em;
}

.role-section {
  padding-top: clamp(56px, 9vh, 96px);
  padding-bottom: clamp(56px, 9vh, 96px);
  border-top: 1px solid var(--border-soft);
}
.role-section h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 36px;
}
.editorial {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--text);
  max-width: 36ch;
}
.editorial em {
  font-style: italic;
  color: var(--text-muted);
}
.editorial p + p {
  margin-top: 1.2em;
}

.qual-list {
  display: grid;
  gap: 18px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .qual-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px 48px;
  }
}
.qual-list li {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 0;
}
.qual-list li em {
  color: var(--text-muted);
}

.numbered {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: bring;
}
.numbered .group-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 14px 0 4px;
}
.numbered .group-label:first-child {
  margin-top: 0;
}
.numbered .item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px 18px;
  font-size: 17px;
  line-height: 1.55;
}
.numbered .item::before {
  counter-increment: bring;
  content: counter(bring, decimal-leading-zero);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-faded);
  padding-top: 4px;
}
.numbered .item .body {
  color: var(--text);
}

.do-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.do-stack .item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.55;
}
.do-stack .item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faded);
  margin-top: 9px;
  justify-self: center;
}
.do-stack .item strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.do-stack .item span {
  color: var(--text-muted);
}

.do-split {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .do-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.do-split .col h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  color: var(--text);
}
.do-split .col .lead {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-family: var(--sans);
  line-height: 1.5;
}
.do-split .col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.do-split .col li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.do-split .col li em {
  color: var(--text-muted);
}

.callout {
  margin: 6vh -28px;
  padding: 6vh 28px;
  background: rgba(243, 241, 236, 0.05);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.callout .label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 24px;
}
.callout p {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 24ch;
}

/* ─── Forms (careers apply) ─────────────────────────────────────── */
.apply {
  padding-top: clamp(56px, 9vh, 96px);
  padding-bottom: clamp(72px, 11vh, 120px);
  border-top: 1px solid var(--border-soft);
}
.apply .intro {
  margin-bottom: 36px;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 30ch;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.35;
}
.field .hint {
  font-size: 14px;
  color: var(--text-faded);
  margin-top: -2px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition:
    border-color 120ms ease,
    background 120ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faded);
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--glass-strong);
}
.field textarea {
  min-height: 7em;
  resize: vertical;
  field-sizing: content; /* progressive enhancement */
}
.field .err {
  font-size: 13px;
  color: var(--error);
  display: none;
}
.field.invalid .err {
  display: block;
}
.field.invalid input,
.field.invalid textarea {
  border-color: rgba(255, 217, 210, 0.55);
}

/* Honeypot - visually hidden but still part of the form */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden;
}

.submit-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.submit-row .submit-error {
  font-size: 14px;
  color: var(--error);
  min-height: 18px;
}
.submit-row .submit {
  align-self: flex-start;
}

.confirm {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 36ch;
}
.confirm h3 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(28px, 3.6vw, 36px);
  letter-spacing: -0.01em;
  color: var(--text);
}
.confirm p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.principles-link {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ─── Small-screen tweaks ───────────────────────────────────────── */
@media (max-width: 580px) {
  .shell {
    /* Long-hand only — shorthand would wipe the vertical clamp() padding
     * that .role-section/.apply/.prose set. */
    padding-left: 24px;
    padding-right: 24px;
  }
  .chrome {
    padding: 24px 24px 0;
  }
  .chrome .nav {
    gap: 16px;
  }
  .hero {
    padding-top: 11vh;
    padding-bottom: 3vh;
  }
  .role-title,
  .page-title {
    padding-top: 10vh;
    padding-bottom: 5vh;
  }
  .principle {
    min-height: 48vh;
  }
  .callout {
    margin: 6vh -24px;
    padding: 6vh 24px;
  }
  .chrome a.wordmark {
    font-size: 24px;
    gap: 12px;
  }
  .chrome a.wordmark img {
    height: 42px;
    width: auto;
  }
  .chrome .nav {
    gap: 14px;
    font-size: 14px;
  }
  /* Section dividers: inset by the shell's mobile padding so they align
   * with body text instead of running edge-to-edge. */
  .role-section,
  .principle,
  .apply {
    position: relative;
    border-top: none;
  }
  .role-section::before,
  .principle::before,
  .apply::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: var(--border-soft);
  }
  .principle:first-child::before {
    display: none;
  }
}
