/* The public site's one stylesheet: the four font faces, then the design.
   Every address in it names a file of this bundle by its bundled name, which carries
   the first 16 hex digits of the file's SHA-256; the stylesheet is served
   from the same directory, so the names resolve beside it. A test holds
   each name to the file's hash (crates/web/src/public.rs). */

/* Archivo (variable) + IBM Plex Mono, latin subset, SIL OFL 1.1.
   Self-hosted on purpose: the public site loads zero third-party origins. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('Archivo-variable-7150c0ec5ad35645.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('IBMPlexMono-400-c36f509c0a8f9f85.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('IBMPlexMono-500-a76f53ca6612e7b3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('IBMPlexMono-600-ad4580d8cb4b5f62.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ TOKENS ============ */
:root{
  --ink:#0A0E14;          /* deep navy-black */
  --ink-2:#0C121B;        /* panel */
  --ink-3:#0E1522;        /* raised panel */
  --bone:#E9E7E0;         /* bone white (used as primary text on dark) */
  --bone-2:#C7C9CC;       /* cool secondary */
  --dim:rgba(233,231,224,.60);
  --dimmer:rgba(233,231,224,.40);
  --red:#D63B3B;          /* wing red — the accent (identical on both surfaces) */
  --red-hi:#E44C4C;
  --line:rgba(233,231,224,.10);
  --line-2:rgba(233,231,224,.06);
  --steel:rgba(150,180,210,.9);
  --grid:rgba(233,231,224,.035);
  --surface-light:#F4F2EC; /* bone light-section background */
  --grot:'Archivo',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;
}

/* ============ RESET ============ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--grot);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
:focus-visible{outline:2px solid var(--red-hi);outline-offset:3px;border-radius:2px}

/* skip link */
.skip{position:absolute;left:-999px;top:0;background:var(--red);color:#fff;padding:.7rem 1.1rem;z-index:200;font-family:var(--mono);font-size:.8rem}
.skip:focus{left:12px;top:12px}

/* ============ SHARED PIECES ============ */
.wrap{width:min(1240px,92vw);margin-inline:auto}
.sec-no{font-family:var(--mono);font-size:.72rem;letter-spacing:.2em;color:var(--dimmer)}
.red{color:var(--red)}

.btn{
  font-family:var(--grot);
  font-weight:600;
  font-size:.9rem;
  letter-spacing:.02em;
  padding:.85rem 1.6rem;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .25s ease,border-color .25s ease,color .25s ease,transform .12s ease;
}
.btn-join{background:var(--red);color:#fff;border-color:var(--red)}
.btn-join:hover{background:var(--red-hi);border-color:var(--red-hi)}
.btn-ghost{background:transparent;color:var(--bone);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--bone-2);background:rgba(233,231,224,.04)}
.btn .arw{transition:transform .25s ease}
.btn:hover .arw{transform:translateX(3px)}
.btn:active{transform:scale(.98)}          /* tactile press — fast transform only */

/* ============ NAV ============ */
.nav{
  position:sticky;top:0;z-index:100;
  border-bottom:1px solid transparent;
  background:rgba(10,14,20,0);
  backdrop-filter:saturate(120%) blur(0px);
  transition:background .3s ease,border-color .3s ease,backdrop-filter .3s ease;
}
.nav.scrolled{
  background:rgba(9,12,18,.82);
  border-bottom-color:var(--line);
  backdrop-filter:saturate(130%) blur(10px);
}
.nav__inner{
  width:min(1240px,92vw);margin-inline:auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;height:68px;
}
.brand{display:flex;align-items:center;gap:.6rem}
.brand__mark{
  width:34px;height:34px;overflow:hidden;flex:none;
  display:flex;align-items:center;justify-content:center;
}
.brand__mark img{width:34px;height:34px}
.brand__word{
  font-family:var(--grot);font-weight:800;letter-spacing:.14em;
  font-size:1.15rem;color:var(--bone)}
.brand__word b{color:var(--red);font-weight:800}

.nav-links{display:flex;align-items:center;gap:1.9rem}
.nav-links a{
  font-size:.82rem;letter-spacing:.04em;color:var(--dim);
  font-weight:500;transition:color .2s ease;position:relative;padding:.3rem 0;
}
.nav-links a:hover{color:var(--bone)}
.nav-links a::after{                       /* animated red hover underline */
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--red);
  transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-cta{display:flex;align-items:center;gap:1rem}
.nav-cta .btn{padding:.6rem 1.25rem;font-size:.82rem}

/* mobile menu (checkbox hack — works with JS off) */
.nav-toggle-cb{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.nav-toggle{
  display:none;flex:none;width:42px;height:42px;
  border:1px solid var(--line);border-radius:3px;
  align-items:center;justify-content:center;cursor:pointer;background:transparent;
}
.nav-toggle span{display:block;width:18px;height:1.5px;background:var(--bone);position:relative}
.nav-toggle span::before,.nav-toggle span::after{
  content:"";position:absolute;left:0;width:18px;height:1.5px;background:var(--bone)}
.nav-toggle span::before{top:-5px}.nav-toggle span::after{top:5px}

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100vh;min-height:100svh;
  display:flex;align-items:center;
  overflow:hidden;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(20,30,46,.55) 0%, rgba(10,14,20,0) 55%),
    var(--ink);
  isolation:isolate;
}
.hero__layer{position:absolute;inset:0;pointer-events:none}
/* coordinate grid */
.hero__grid{
  background-image:
    linear-gradient(var(--grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:66px 66px;
  z-index:0;
  -webkit-mask-image:radial-gradient(130% 100% at 60% 45%,#000 30%,transparent 88%);
          mask-image:radial-gradient(130% 100% at 60% 45%,#000 30%,transparent 88%);
}
/* radar sweep — cold, barely there */
.hero__sweep{
  z-index:0;
  left:auto;right:-24vw;top:50%;width:120vh;height:120vh;
  transform:translateY(-50%);
  background:conic-gradient(from 0deg,
     rgba(150,180,210,0) 0deg,
     rgba(150,180,210,.055) 26deg,
     rgba(150,180,210,0) 64deg,
     rgba(150,180,210,0) 360deg);
  border-radius:50%;
  animation:sweep 22s linear infinite;
  opacity:.9;
}
/* the monument griffin — visible by default; JS supplies the entrance */
.hero__griffin{
  position:absolute;top:50%;right:-3vw;
  height:106vh;width:auto;max-width:none;
  transform:translateY(-50%);
  z-index:1;
  opacity:1;
  filter:drop-shadow(0 30px 60px rgba(0,0,0,.55));
  pointer-events:none;
}
html.js .hero__griffin{
  opacity:0;
  animation:griffinIn 1.9s cubic-bezier(.18,.7,.2,1) .15s forwards;
}
/* legibility scrim over left/text side */
.hero__scrim{
  z-index:2;
  background:linear-gradient(90deg,
     var(--ink) 0%, rgba(10,14,20,.92) 26%,
     rgba(10,14,20,.55) 46%, rgba(10,14,20,0) 72%);
}
.hero__scrim.bottom{
  background:linear-gradient(0deg,var(--ink) 0%,rgba(10,14,20,0) 22%);
}
/* film grain */
.hero__noise{
  z-index:3;opacity:.05;mix-blend-mode:overlay;
  background-image:url("noise-f0c6cfa941fe4369.svg");
}
/* vignette */
.hero__vignette{
  z-index:3;
  background:radial-gradient(ellipse 90% 80% at 50% 45%,transparent 42%,rgba(4,6,10,.72) 100%);
}

.hero__inner{position:relative;z-index:5;width:min(1240px,92vw);margin-inline:auto;
  padding:120px 0 90px}
.hero__col{max-width:660px}

.hero h1{
  font-family:var(--grot);font-weight:800;
  font-size:clamp(2.7rem,7.4vw,6.3rem);
  line-height:.97;letter-spacing:-.02em;color:var(--bone);
  margin-bottom:1.5rem;
}
.hero h1 .u{position:relative;white-space:nowrap}
.hero h1 .u::after{
  content:"";position:absolute;left:0;right:0;bottom:-.09em;height:.07em;
  background:var(--red);transform-origin:left;
  transform:scaleX(1);
}
html.js .hero h1 .u::after{
  transform:scaleX(0);animation:underline 1s cubic-bezier(.7,0,.2,1) 1.1s forwards;
}
/* headline masked-line reveal — each line rides in an overflow:hidden clip; padding
   gives the underline/descenders room, negative margin keeps line spacing tight.
   Static & fully visible with JS off (the transform lives only under html.js). */
.hero h1 .hl{display:block;overflow:hidden;padding-bottom:.18em;margin-bottom:-.18em}
.hero h1 .hl>span{display:block}
html.js .hero h1 .hl>span{transform:translateY(125%);
  animation:lineUp .95s cubic-bezier(.16,1,.3,1) forwards}
html.js .hero h1 .hl:nth-child(1)>span{animation-delay:.25s}
html.js .hero h1 .hl:nth-child(2)>span{animation-delay:.37s}
.hero__sub{
  font-size:clamp(1.05rem,1.9vw,1.4rem);font-weight:500;color:var(--bone);
  letter-spacing:.005em;margin-bottom:1.4rem;
}
.hero__lead{
  font-size:1.02rem;line-height:1.65;color:var(--dim);max-width:52ch;margin-bottom:2.4rem}
.hero__actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}

/* staggered hero entrance — the animation is a no-op with JS off (element already
   visible, keyframe only has a `to`), and html.js supplies the hidden starting state */
.hero-fade{animation:heroUp .9s cubic-bezier(.2,.7,.2,1) forwards}
html.js .hero-fade{opacity:0;transform:translateY(20px)}
/* orchestrated timing: headline lines slide, underline draws (1.1s),
   then sub/lead/actions settle in */
.d2{animation-delay:.30s}.d3{animation-delay:.95s}
.d4{animation-delay:1.1s}.d5{animation-delay:1.25s}

/* scroll cue — visible by default; JS supplies the entrance */
.hero__cue{
  position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:5;
  font-family:var(--mono);font-size:.62rem;letter-spacing:.3em;text-transform:uppercase;
  color:var(--dimmer);display:flex;flex-direction:column;align-items:center;gap:.6rem;
  opacity:1}
html.js .hero__cue{opacity:0;animation:heroUp .9s ease 1.2s forwards}
.hero__cue .bar{width:1px;height:34px;background:linear-gradient(var(--red),transparent);
  animation:cue 2.4s ease-in-out infinite}

/* ============ SECTIONS ============ */
section{position:relative}
.band{padding:clamp(72px,10vw,140px) 0;border-top:1px solid var(--line-2)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;
  margin-bottom:3.2rem;flex-wrap:wrap}
.sec-head h2{
  font-family:var(--grot);font-weight:800;letter-spacing:-.015em;
  font-size:clamp(1.7rem,3.6vw,2.9rem);line-height:1.05;color:var(--bone);
  max-width:20ch}

/* ---- LIGHT (bone) SECTION OVERRIDES ----
   Redefine the surface tokens so every A component (cards, borders,
   mono accents) renders correctly on bone with AA-contrast text. The red accent
   is intentionally NOT overridden so it stays identical on both surfaces. */
.section--light{
  background:var(--surface-light);
  color:var(--ink);
  --bone:#0A0E14;                       /* primary text -> ink */
  --bone-2:rgba(10,14,20,.55);
  --dim:rgba(10,14,20,.72);             /* body/secondary text (AA on bone) */
  --dimmer:rgba(10,14,20,.60);          /* mono micro-labels (AA on bone) */
  --line:rgba(10,14,20,.16);
  --line-2:rgba(10,14,20,.10);
  --ink:#FFFFFF;                        /* card base surface */
  --ink-2:#FBFAF5;                      /* card gradient top */
  --ink-3:#FFFFFF;                      /* tools card base */
  --grid:rgba(10,14,20,.04);
}
/* hardcoded bone-rgba values from A that need a light equivalent */
.section--light .step__no{color:rgba(10,14,20,.14)}
.section--light .card:hover{border-color:rgba(10,14,20,.30)}
.section--light .btn-ghost:hover{background:rgba(10,14,20,.05)}
.section--light .card{box-shadow:0 1px 2px rgba(10,14,20,.04)}

/* ---- WHO WE ARE — large bold statement on bone ---- */
.who__statement{
  font-family:var(--grot);
  font-weight:700;
  font-size:clamp(1.75rem,3.4vw,2.5rem);
  line-height:1.22;
  letter-spacing:-.015em;
  color:var(--bone);                    /* ink on light */
  max-width:min(960px,100%);
}
.who__statement strong{font-weight:800;color:var(--bone)}
.who__statement .red{color:var(--red)}
.who__statement .w{opacity:1}             /* fallback: full contrast without a working timeline */
.who__foot{
  font-family:var(--mono);font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dimmer);margin-top:1.9rem;padding-top:1.4rem;border-top:1px solid var(--line-2);
  max-width:64ch}

/* card grids */
.grid-3{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:720px){.grid-3{grid-template-columns:repeat(3,1fr)}}
/* Four across only when there is room for it; two-up in between, so a card
   never ends up alone on a row. */
.grid-4{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:720px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1080px){.grid-4{grid-template-columns:repeat(4,1fr)}}
.card{
  position:relative;border:1px solid var(--line);border-radius:4px;
  padding:2rem 1.8rem 2.1rem;background:linear-gradient(180deg,var(--ink-2),var(--ink));
  transition:border-color .3s ease,transform .25s cubic-bezier(.16,1,.3,1),background .3s ease;
  overflow:hidden;
}
.card::before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;
  background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
.card:hover{border-color:rgba(233,231,224,.2);transform:translateY(-4px)}
.card:hover::before{transform:scaleX(1)}
.card h3{font-family:var(--grot);font-weight:700;font-size:1.25rem;letter-spacing:-.01em;
  color:var(--bone);margin-bottom:.7rem}
.card p{font-size:.97rem;line-height:1.62;color:var(--dim)}


/* steps */
.steps{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--line)}
@media(min-width:820px){.steps{grid-template-columns:repeat(4,1fr);border-top:none}}
.step{
  padding:2rem 1.6rem 2.2rem;border-bottom:1px solid var(--line);position:relative;
}
@media(min-width:820px){
  .step{border-bottom:none;border-top:1px solid var(--line);border-left:1px solid var(--line-2)}
  .step:first-child{border-left:none}
  /* Six steps read as two rows of three. The left border is a column rule, so
     it has to clear on whichever step opens a row, not only on the first. */
  .steps--six{grid-template-columns:repeat(3,1fr)}
  .steps--six .step:nth-child(3n+1){border-left:none}
}
.step__no{font-family:var(--mono);font-size:2.4rem;font-weight:400;color:rgba(233,231,224,.14);
  line-height:1;margin-bottom:1rem;transition:color .3s ease}
.step:hover .step__no{color:var(--red)}
.step h3{font-family:var(--grot);font-weight:700;font-size:1.15rem;color:var(--bone);
  margin-bottom:.5rem;letter-spacing:-.01em}
.step p{font-size:.94rem;line-height:1.58;color:var(--dim)}

/* tools */
.tools .card{background:linear-gradient(180deg,var(--ink-3),var(--ink))}
.tool__name{display:flex;align-items:baseline;gap:.6rem}
.tool__tag{font-family:var(--mono);font-size:.64rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--dimmer);border:1px solid var(--line);border-radius:2px;padding:.15rem .45rem}

/* event strip — stays dark with red accents */
.event{border-top:1px solid var(--line)}
.event__inner{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2rem;
  padding:clamp(48px,7vw,86px) 0;
  background:
    linear-gradient(90deg, rgba(214,59,59,.06), transparent 60%);
  border-radius:4px;
}
.event__txt{display:flex;flex-direction:column;gap:.7rem;max-width:60ch}
.event__date{font-family:var(--mono);font-size:.76rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--red)}
.event h2{font-family:var(--grot);font-weight:800;font-size:clamp(1.6rem,3.2vw,2.5rem);
  color:var(--bone);letter-spacing:-.015em;line-height:1.05}
.event p{color:var(--dim);font-size:1rem}

/* ============ FOOTER ============ */
.foot{border-top:1px solid var(--line);padding:clamp(56px,7vw,90px) 0 42px;
  background:var(--ink-2)}
.foot__top{display:grid;grid-template-columns:1fr;gap:2.6rem;margin-bottom:3rem}
@media(min-width:840px){.foot__top{grid-template-columns:1.4fr 1fr 1fr;gap:2rem}}
.foot__brand{display:flex;flex-direction:column;gap:1.1rem;max-width:38ch}
.foot__brand .brand__word{font-size:1.3rem}
.foot__mission{display:flex;flex-direction:column;gap:.3rem;font-size:.96rem;line-height:1.5;color:var(--dim)}
.foot__tag{font-family:var(--grot);font-size:1.12rem;font-weight:700;letter-spacing:-.01em;color:var(--bone)}
.foot__note{margin-top:.55rem;text-wrap:balance;font-family:var(--mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dimmer)}
.foot__col h4{font-family:var(--mono);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--dimmer);margin-bottom:1.2rem;font-weight:500}
.foot__col a{display:block;font-size:.92rem;color:var(--dim);padding:.32rem 0;transition:color .2s}
.foot__col a:hover{color:var(--bone)}
.foot__bar{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;
  padding-top:2rem;border-top:1px solid var(--line-2)}
.foot__legal{font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;color:var(--dimmer);
  display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}
.foot__legal .sep{color:var(--red)}
.foot__social a{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--mono);
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.foot__social a:hover{color:var(--bone)}

/* section scroll offset for sticky nav */
section[id]{scroll-margin-top:80px}

/* ============ KEYFRAMES ============ */
@keyframes heroUp{to{opacity:1;transform:none}}
@keyframes griffinIn{0%{opacity:0;transform:translateY(-50%) scale(1.05)}
  100%{opacity:1;transform:translateY(-50%) scale(1)}}
@keyframes underline{to{transform:scaleX(1)}}
@keyframes sweep{to{transform:translateY(-50%) rotate(360deg)}}
@keyframes cue{0%,100%{transform:scaleY(1);opacity:.5}50%{transform:scaleY(.5);opacity:1}}

/* ============ MOTION SYSTEM ============
   Load choreography above; scroll-driven work below. Every scroll effect is gated on
   timeline support — with no support the targets keep their static resting state
   (fully visible). Reduced-motion neutralizes all of it (hairline may stay). */
@keyframes lineUp{to{transform:translateY(0)}}
@keyframes revealUp{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
@keyframes cardUp{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes statementRise{from{translate:0 24px}to{translate:0 0}}
@keyframes wordFill{from{opacity:.14}to{opacity:1}}
@keyframes griffinPar{to{translate:0 8vh}}
@keyframes navProgress{to{transform:scaleX(1)}}

/* scroll-progress hairline at the nav's bottom edge — scroll-position feedback like a
   scrollbar; absolute so it never affects layout, invisible (scaleX 0) without support */
.nav::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;
  background:var(--red);transform-origin:left;transform:scaleX(0);pointer-events:none}

@supports (animation-timeline:scroll()){
  .nav::after{animation-name:navProgress;animation-timing-function:linear;
    animation-timeline:scroll(root)}
  /* griffin parallax via the independent `translate` property — composes with the base
     translateY(-50%) transform and the griffinIn entrance (which animates `transform`) */
  .hero__griffin{animation-name:griffinPar;animation-timing-function:linear;
    animation-fill-mode:both;animation-timeline:scroll(root);animation-range:0svh 100svh}
  html.js .hero__griffin{                     /* entrance + parallax as two animations */
    animation-name:griffinIn,griffinPar;
    animation-duration:1.9s,auto;
    animation-timing-function:cubic-bezier(.18,.7,.2,1),linear;
    animation-delay:.15s,0s;
    animation-fill-mode:forwards,both;
    animation-timeline:auto,scroll(root);
    animation-range:normal,0svh 100svh;
  }
}

@supports (animation-timeline:view()){
  /* shared on-scroll entrance settings (longhand so duration stays timeline-auto) */
  .sec-head,.who__statement,.grid-3 .card,.grid-4 .card,.steps .step,.event__inner{
    animation-timing-function:linear;animation-fill-mode:both;animation-timeline:view()}
  .sec-head{animation-name:revealUp;animation-range:entry 0% entry 55%}
  .grid-3 .card,.grid-4 .card,.steps .step,.event__inner{animation-name:cardUp}
  .event__inner{animation-range:entry 0% entry 55%}
  /* left-to-right cascade — each child's range starts later. Every child of a
     grid is named: one that is not falls back to the default range and enters
     out of step with its neighbours. */
  .grid-3 .card:nth-child(1),.grid-4 .card:nth-child(1){animation-range:entry 0% entry 45%}
  .grid-3 .card:nth-child(2),.grid-4 .card:nth-child(2){animation-range:entry 10% entry 55%}
  .grid-3 .card:nth-child(3),.grid-4 .card:nth-child(3){animation-range:entry 20% entry 65%}
  .grid-4 .card:nth-child(4){animation-range:entry 30% entry 75%}
  .steps .step:nth-child(1){animation-range:entry 0% entry 45%}
  .steps .step:nth-child(2){animation-range:entry 8% entry 53%}
  .steps .step:nth-child(3){animation-range:entry 16% entry 61%}
  .steps .step:nth-child(4){animation-range:entry 24% entry 69%}
  .steps .step:nth-child(5){animation-range:entry 32% entry 77%}
  .steps .step:nth-child(6){animation-range:entry 40% entry 85%}
  /* who statement: subtle rise (own view timeline) + word-by-word scroll fill.
     --who is a named view timeline visible to the .w word spans (wrapped by JS). */
  .who__statement{animation-name:statementRise;animation-range:entry 0% entry 50%;
    view-timeline:--who block}
  .who__statement .w{animation-name:wordFill;animation-timing-function:linear;
    animation-fill-mode:both;animation-timeline:--who}
}

/* ============ RESPONSIVE ============ */
@media(max-width:900px){
  .nav-toggle{display:flex;margin-left:auto}
  .nav-links{
    display:none;position:absolute;left:0;right:0;top:68px;
    flex-direction:column;align-items:flex-start;gap:0;
    background:rgba(9,12,18,.97);border-bottom:1px solid var(--line);
    padding:.5rem 6vw 1.2rem;backdrop-filter:blur(10px);
  }
  .nav-links a{padding:.85rem 0;width:100%;border-bottom:1px solid var(--line-2);font-size:.95rem}
  .nav-links a::after{display:none}        /* the row borders already delineate; underline would be noisy */
  .nav-toggle-cb:checked ~ .nav__inner .nav-links{display:flex}
  .nav-cta .btn-donate-nav{display:none}
}
@media(max-width:760px){
  .hero__griffin{height:82vh;right:-22vw;opacity:.5}
  html.js .hero__griffin{opacity:0;
    animation:griffinInM 1.9s cubic-bezier(.18,.7,.2,1) .15s forwards}
  .hero__scrim{background:linear-gradient(0deg,var(--ink) 4%,rgba(10,14,20,.72) 45%,rgba(10,14,20,.55) 100%)}
  .hero__inner{padding:104px 0 120px}
  .hero__cue{display:none}
}
@keyframes griffinInM{0%{opacity:0;transform:translateY(-50%) scale(1.05)}
  100%{opacity:.5;transform:translateY(-50%) scale(1)}}

/* ============ REDUCED MOTION ============ */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-fade,.hero__griffin,.hero__cue,
  html.js .hero-fade,html.js .hero__griffin,html.js .hero__cue{
    animation:none!important;opacity:1!important;transform:translateY(-50%)!important}
  .hero__griffin,html.js .hero__griffin{transform:translateY(-50%)!important}
  .hero-fade,.hero__cue,html.js .hero-fade,html.js .hero__cue{transform:none!important}
  .hero h1 .u::after,html.js .hero h1 .u::after{animation:none;transform:scaleX(1)}
  .hero__sweep{animation:none}
  .hero__cue .bar{animation:none}
  .card,.btn,.step__no{transition:none}
  /* new motion system — kill headline reveal and every scroll-driven
     entrance (targets stay visible/static). The scroll hairline is allowed to remain. */
  html.js .hero h1 .hl>span{animation:none!important;transform:none!important}
  .sec-head,.who__statement,.who__statement .w,
  .grid-3 .card,.grid-4 .card,.steps .step,.event__inner{
    animation:none!important;opacity:1!important;translate:none!important}
  .hero__griffin,html.js .hero__griffin{translate:none!important}
  .nav-links a::after{transition:none}
  .btn:active{transform:none}
}

/* ============ APPLICATION PAGES (join form, confirmation) ============
   Same tokens as the landing page: dark surface, bone text, red accent, mono
   micro-labels. Nothing here overrides a landing-page rule. */
.page{padding:calc(68px + clamp(48px,7vw,86px)) 0 clamp(72px,10vw,130px)}
.page__head{max-width:62ch;margin-bottom:3rem}
.page__head h1{
  font-family:var(--grot);font-weight:800;letter-spacing:-.02em;
  font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.03;color:var(--bone);
  margin:0 0 1.1rem}
.page__head p{color:var(--dim);font-size:1.02rem;line-height:1.65}

.form{max-width:760px}
.form fieldset{border:0;margin:0 0 2.6rem;padding:0}
.form legend,.form__legend{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--red);padding:0;margin-bottom:1.4rem;display:block}
.field{margin-bottom:1.5rem}
.field label,.field .label{
  display:block;font-size:.88rem;font-weight:600;letter-spacing:.01em;
  color:var(--bone);margin-bottom:.45rem}
.field .req{color:var(--red);font-weight:600}
.field .opt{color:var(--dimmer);font-weight:400;font-size:.8rem;letter-spacing:.04em}
.hint{font-size:.82rem;line-height:1.5;color:var(--dim);margin:.4rem 0 0}
.field input[type=text],.field input[type=email],.field input[type=tel],
.field input[type=url],.field select,.field textarea{
  width:100%;background:var(--ink-2);color:var(--bone);
  border:1px solid var(--line);border-radius:3px;
  padding:.72rem .85rem;font-family:var(--grot);font-size:.97rem;line-height:1.45;
  transition:border-color .2s ease,background .2s ease}
.field textarea{min-height:9rem;resize:vertical}
.field select{appearance:none;background-image:none}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--bone-2)}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--red);background:var(--ink-3);outline:none}
.field input[aria-invalid=true],.field select[aria-invalid=true],
.field textarea[aria-invalid=true]{border-color:var(--red)}
.field-error{display:block;font-size:.83rem;color:var(--red-hi);margin-top:.4rem}

/* choice cards — the sectors (one) and the services (any). The native input
   stays in the page, focusable and announced, invisible over the whole card; the letter
   badge is a counter with empty alternative text, so it is not read out. */
.choices{display:grid;grid-template-columns:1fr;gap:.6rem;counter-reset:choice;margin-top:1rem}
@media(min-width:640px){.choices{grid-template-columns:repeat(2,1fr)}}
.choices + .field{margin-top:1.5rem}
.choices__hint{margin:-.6rem 0 0;font-family:var(--mono);font-size:.7rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--dimmer)}
.choice{
  position:relative;display:flex;align-items:center;gap:.95rem;
  min-height:3.6rem;padding:.85rem 3.2rem .85rem .9rem;cursor:pointer;
  border:1px solid var(--line);border-radius:3px;background:rgba(233,231,224,.015);
  counter-increment:choice;-webkit-tap-highlight-color:transparent;
  transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .12s ease}
.choice::before{
  content:counter(choice,upper-alpha);
  content:counter(choice,upper-alpha) / "";
  flex:none;width:1.7rem;height:1.7rem;display:grid;place-items:center;
  font-family:var(--mono);font-size:.7rem;font-weight:500;color:var(--dim);
  border:1px solid var(--line);border-radius:2px;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.choice::after{                              /* the mark: a ring for one, a box for many */
  content:"";position:absolute;right:1.05rem;top:50%;width:1.05rem;height:1.05rem;
  margin-top:-.525rem;border:1px solid rgba(233,231,224,.28);border-radius:50%;
  box-shadow:inset 0 0 0 9px rgba(12,18,27,0),inset 0 0 0 9px rgba(214,59,59,0);
  transition:border-color .18s ease,background-color .18s ease,box-shadow .2s ease}
.choice:has(input[type=checkbox])::after{border-radius:2px;box-shadow:none}
.choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.choice span{font-size:.97rem;color:var(--bone-2);line-height:1.4;transition:color .18s ease}
@media(hover:hover) and (pointer:fine){
  .choice:hover{border-color:rgba(233,231,224,.3);background-color:rgba(233,231,224,.035);
    box-shadow:inset 0 0 0 1px rgba(233,231,224,.04),0 10px 24px -18px rgba(0,0,0,.9);transform:translateY(-1px)}
  .choice:hover span{color:var(--bone)}
  .choice:hover::before{border-color:rgba(233,231,224,.3);color:var(--bone)}
}
/* pressed: by a pointer, or for a moment after a letter key picks it */
.choice:active,.choice.is-pressed{transform:scale(.98)}
.choice:active::before,.choice.is-pressed::before{border-color:var(--red);color:var(--bone)}
.choice:has(:checked){border-color:var(--red);background-color:rgba(214,59,59,.075)}
.choice:has(:checked) span{color:var(--bone)}
.choice:has(:checked)::before{background-color:var(--red);border-color:var(--red);color:#fff}
.choice:has(input[type=radio]:checked)::after{border-color:var(--red);box-shadow:inset 0 0 0 3px var(--ink-2),inset 0 0 0 9px var(--red)}
.choice:has(input[type=checkbox]:checked)::after{border-color:var(--red);background-color:var(--red)}
.choice input[type=checkbox] + span::after{  /* the tick, drawn in when ticked */
  content:"";position:absolute;right:1.42rem;top:50%;width:.3rem;height:.58rem;margin-top:-.36rem;
  border:solid #fff;border-width:0 2px 2px 0;z-index:1;pointer-events:none;
  opacity:0;transform:rotate(45deg) scale(.4);transition:opacity .15s ease,transform .2s ease}
.choice input[type=checkbox]:checked + span::after{opacity:1;transform:rotate(45deg) scale(1)}
/* the card's outline from the input itself, for browsers without :has() */
.choice input:checked + span::before,.choice input:focus-visible + span::before{
  content:"";position:absolute;inset:-1px;border-radius:3px;pointer-events:none}
.choice input:checked + span::before{border:1px solid var(--red)}
/* keyboard focus: a quiet bone ring, apart from the red of a pick */
.choice input:focus-visible + span::before{outline:2px solid rgba(233,231,224,.55);outline-offset:4px}
/* a sub-question of cards (revenue, employees): labelled like a field, its
   cards a little more compact */
.form .choice-group{margin:0 0 1.8rem}
.form .choice-group > legend{
  font-family:var(--grot);font-size:.88rem;font-weight:600;letter-spacing:.01em;text-transform:none;
  color:var(--bone);margin-bottom:.45rem}
.choice-group .opt{color:var(--dimmer);font-weight:400;font-size:.8rem;letter-spacing:.04em}
.choice-group > .choices{margin-top:.4rem}
.choices--compact .choice{min-height:3.1rem;padding:.6rem 2.9rem .6rem .75rem;gap:.8rem}
@media(min-width:900px){.choices--compact{grid-template-columns:repeat(3,1fr)}}
@media(pointer:coarse){.choices{gap:.75rem}.choice,.choices--compact .choice{min-height:3.75rem}}

/* error summary — focus lands here after a failed submit */
.form-errors{
  border:1px solid var(--red);border-left-width:3px;border-radius:3px;
  background:rgba(214,59,59,.08);padding:1.2rem 1.3rem;margin-bottom:2.4rem}
.form-errors:focus-visible{outline:2px solid rgba(233,231,224,.4);outline-offset:3px}
.form-errors h2{
  font-family:var(--grot);font-weight:700;font-size:1.05rem;color:var(--bone);
  margin-bottom:.6rem}
.form-errors ul{margin:0;padding-left:1.1rem}
.form-errors li{font-size:.92rem;color:var(--dim);line-height:1.6}

/* the honeypot: off-screen for a browser, in the DOM for a scraper */
.trap{position:absolute!important;left:-9999px!important;top:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important}

.check{border-top:1px solid var(--line-2);padding-top:1.8rem;margin-bottom:2rem}
.check__status{
  display:flex;align-items:center;gap:.7rem;
  font-family:var(--mono);font-size:.78rem;letter-spacing:.06em;color:var(--dim);
  min-height:1.6rem}
.check__status[data-state=done]{color:var(--bone)}
.check__status[data-state=failed]{color:var(--red-hi)}
.check__dot{width:7px;height:7px;border-radius:50%;background:var(--dimmer);flex:none}
.check__status[data-state=working] .check__dot{background:var(--red);animation:pulse 1.1s ease-in-out infinite}
.check__status[data-state=done] .check__dot{background:#4FB477}
.check__status[data-state=failed] .check__dot{background:var(--red)}
@keyframes pulse{0%,100%{opacity:.35}50%{opacity:1}}
.check__meter{width:100%;max-width:280px;height:2px;background:var(--line);margin-top:.8rem}
.check__meter i{display:block;height:100%;width:0;background:var(--red);transition:width .18s linear}

.form__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem}
.form__actions .btn[disabled]{opacity:.45;cursor:not-allowed}
.form__actions .btn[disabled]:hover{background:var(--red);border-color:var(--red)}

/* the griffin, faint and large, behind the form. A sticky pseudo-element
   (iOS ignores a fixed background) one screen tall that takes no room: it
   stays put while the form scrolls and leaves with the page's end, so the
   footer never cuts it. Never in the way of a tap. */
.page--griffin::before{
  content:"";display:block;position:sticky;top:68px;z-index:-1;pointer-events:none;
  --tall:calc(100svh - 68px - clamp(28px,4vw,52px) - clamp(40px,6vw,72px));
  height:var(--tall);margin-bottom:calc(-1 * var(--tall));
  background:url('griffin-epic-ac7349c4c3efc408.svg') no-repeat right -4vw center/auto 92%;
  -webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent);
  mask-image:linear-gradient(to bottom,#000 62%,transparent);
  filter:grayscale(1);opacity:.05}
@media(max-width:760px){.page--griffin::before{background-position:left 34vw center;background-size:auto 80%;opacity:.045}}

/* ============ THE FORM, ONE QUESTION AT A TIME ============
   enhance.js adds .is-stepped and the hidden attribute on every step but the
   current one. Without it none of this applies and the form is one page. */
.form.is-stepped [hidden]{display:none!important}
.page:has(.form.is-stepped){padding:clamp(28px,4vw,52px) 0 clamp(40px,6vw,72px)}
.page:has(.form.is-stepped) .page__head{
  position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.step__intro{display:none}
.form.is-stepped .step__intro{display:block;max-width:60ch;margin-bottom:clamp(1.6rem,4vh,2.4rem)}
.step__intro-title{font-family:var(--grot);font-weight:700;font-size:1.05rem;letter-spacing:-.01em;color:var(--bone);margin-bottom:.35rem}
.step__intro-lead{font-size:.95rem;line-height:1.6;color:var(--dim)}
.form.is-stepped{
  max-width:780px;display:flex;flex-direction:column;
  min-height:calc(100svh - 68px - clamp(28px,4vw,52px) - clamp(40px,6vw,72px))}
.form.is-stepped > fieldset > legend{
  position:absolute;width:1px;height:1px;margin:0;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap}
.form.is-stepped .form-errors{margin-bottom:2rem}

/* the bar: back, progress, count */
.stepper{display:flex;align-items:center;gap:1.1rem;margin-bottom:clamp(2.2rem,7vh,4.5rem)}

.stepper__back{
  flex:none;width:2.5rem;height:2.5rem;display:grid;place-items:center;cursor:pointer;
  background:transparent;color:var(--bone);border:1px solid var(--line);border-radius:2px;
  font-family:var(--grot);font-size:1rem;transition:border-color .2s ease,background .2s ease,opacity .2s ease}
.stepper__back:hover{border-color:var(--bone-2);background:rgba(233,231,224,.04)}
.stepper__back[disabled]{opacity:.3;cursor:default}
.stepper__back[disabled]:hover{border-color:var(--line);background:transparent}
.stepper__track{flex:1;height:2px;background:var(--line);overflow:hidden}
.stepper__track i{display:block;height:100%;background:var(--red);transform-origin:left;
  transform:scaleX(0);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.stepper__count{flex:none;min-width:8.5rem;text-align:right;
  font-family:var(--mono);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dim)}

/* one question */
.form.is-stepped [data-step] > .field > label,
.form.is-stepped [data-step] > fieldset > legend{
  font-family:var(--grot);font-weight:700;text-transform:none;color:var(--bone);
  font-size:clamp(1.7rem,3.6vw,2.7rem);line-height:1.1;letter-spacing:-.025em;
  max-width:22ch;margin-bottom:1.2rem}
.form.is-stepped [data-step] .req{color:var(--red)}
.form.is-stepped [data-step] > .field > label:focus,
.form.is-stepped [data-step] > fieldset > legend:focus{outline:none}
.form.is-stepped [data-step] > .field > label .opt,
.form.is-stepped [data-step] > fieldset > legend .opt{
  display:block;margin-top:.8rem;font-family:var(--mono);font-size:.68rem;font-weight:400;
  letter-spacing:.18em;text-transform:uppercase;color:var(--dimmer)}
.form.is-stepped [data-step] > fieldset > legend + .hint,
.form.is-stepped [data-step] > fieldset > .choices__hint{margin:-.6rem 0 1.8rem;max-width:60ch}
.form.is-stepped [data-step] > fieldset > .hint{font-size:.95rem}
.form.is-stepped [data-step] > fieldset > .choices__hint{font-size:.68rem}
/* on a required choice the marker joins the hint's line: the legend's own
   "(required)" stays for a screen reader, the hint's copy of it is not read */
.form.is-stepped [data-step] > fieldset:has(> .choices__hint) > legend .opt{
  position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form.is-stepped [data-step] > fieldset:has(> legend .opt) > .choices__hint::before{content:"(Required) · " / ""}
.form.is-stepped [data-step] > fieldset .field label{
  font-family:var(--mono);font-size:.7rem;font-weight:500;letter-spacing:.18em;
  text-transform:uppercase;color:var(--dim);margin-bottom:.3rem}
.form.is-stepped [data-step] > fieldset .field label .opt{font-size:.66rem;letter-spacing:.12em}
.form.is-stepped [data-step] > fieldset > .choice-group > legend{
  font-family:var(--mono);font-size:.7rem;font-weight:500;letter-spacing:.18em;
  text-transform:uppercase;color:var(--dim);margin-bottom:.2rem}
.form.is-stepped [data-step] > fieldset > .choice-group > legend .opt{font-size:.66rem;letter-spacing:.12em}
.form.is-stepped [data-step] > fieldset > .field{margin-bottom:1.8rem}
.form.is-stepped .field{margin-bottom:0}
.form.is-stepped .hint{font-size:.9rem;margin-top:.8rem}
.form.is-stepped .field-error{font-size:.9rem;margin-top:.7rem}

/* answers on a line, as large as the question allows */
.form.is-stepped .field input[type=text],.form.is-stepped .field input[type=email],
.form.is-stepped .field input[type=tel],.form.is-stepped .field input[type=url],
.form.is-stepped .field select,.form.is-stepped .field textarea{
  background:transparent;border:0;border-bottom:1px solid rgba(233,231,224,.36);border-radius:0;
  padding:.5rem 0 .65rem;font-size:clamp(1.25rem,2.5vw,1.7rem);font-weight:500;letter-spacing:-.01em;
  box-shadow:0 1px 0 0 transparent;transition:border-color .2s ease,box-shadow .2s ease}
.form.is-stepped [data-step] > fieldset .field input,
.form.is-stepped [data-step] > fieldset .field select{font-size:clamp(1.15rem,2.1vw,1.45rem)}
/* a long answer starts one line tall and grows as it is typed */
.form.is-stepped .field textarea{min-height:0;field-sizing:content;font-size:clamp(1.1rem,2vw,1.35rem);line-height:1.5;resize:none}
.form.is-stepped .field select{
  padding-right:2.2rem;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--dim) 50%),linear-gradient(135deg,var(--dim) 50%,transparent 50%);
  background-position:calc(100% - 13px) 55%,calc(100% - 7px) 55%;background-size:6px 6px;background-repeat:no-repeat}
.form.is-stepped .field select option{background:var(--ink-2);color:var(--bone)}
.form.is-stepped .field ::placeholder{color:rgba(233,231,224,.26);opacity:1}
.form.is-stepped .field input:hover,.form.is-stepped .field select:hover,
.form.is-stepped .field textarea:hover{border-color:rgba(233,231,224,.56)}
.form.is-stepped .field input:focus,.form.is-stepped .field select:focus,
.form.is-stepped .field textarea:focus{background-color:transparent;border-color:var(--red);box-shadow:0 1px 0 0 var(--red)}
.form.is-stepped .field input[aria-invalid=true],.form.is-stepped .field select[aria-invalid=true],
.form.is-stepped .field textarea[aria-invalid=true]{border-color:var(--red)}

/* OK, and the key that does the same */
.step__next{display:flex;align-items:center;flex-wrap:wrap;gap:1.1rem;margin-top:2.2rem}
.step__next .btn{padding:.8rem 1.55rem}
.step__key{font-family:var(--mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dimmer)}
.step__key b{font-weight:500;color:var(--dim)}
.step__glyph{font-size:1.15em}
@media(hover:none){.step__key{display:none}}

/* the last screen, laid out as one more step: heading, a dim line,
   Send where OK sits, and the browser check as one quiet line beneath it.
   The check and the actions keep their markup; here they lend their parts
   to the panel (display:contents) and take their places by order. */
.final{display:flex;flex-direction:column;align-items:flex-start;max-width:720px}
.form.is-stepped .final .check,.form.is-stepped .final .form__actions{display:contents}
.final__head{order:1}
.final__title{
  font-family:var(--grot);font-weight:700;color:var(--bone);
  font-size:clamp(1.7rem,3.6vw,2.7rem);line-height:1.1;letter-spacing:-.025em;margin-bottom:1rem}
.final__title:focus{outline:none}
.final .form__actions .hint{order:2;margin:0;font-size:1rem;line-height:1.6;color:var(--dim);max-width:52ch}
.final .form__actions .btn{order:3;margin-top:2.2rem;padding:.8rem 1.55rem;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .12s ease}
.final .form__actions .btn[disabled],
.final .form__actions .btn[disabled]:hover{opacity:1;background:transparent;border-color:var(--line);color:var(--dim)}
.final .check__status{order:4;margin-top:1.1rem;max-width:52ch;min-height:0;align-items:baseline;gap:.6rem;
  font-family:var(--mono);font-size:.72rem;font-weight:400;letter-spacing:.04em;line-height:1.6;color:var(--dim)}
.final .check__status[data-state=failed]{color:var(--bone)}
.final .check__dot{width:6px;height:6px;transform:translateY(-1px)}
.final .check__meter{order:5;width:min(14rem,100%);height:1px;margin:.5rem 0 0 calc(6px + .6rem);
  max-width:none;transition:opacity .3s ease}
.final .check__status[data-state=done] + .check__meter,
.final .check__status[data-state=failed] + .check__meter{opacity:0}
.final .check .form__legend,.final .check > .hint{display:none}

/* restrained motion: in from below going on, from above going back */
@keyframes stepIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes stepBack{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}
.is-entering{animation:stepIn .5s cubic-bezier(.2,.7,.2,1) both}
.is-entering-back{animation:stepBack .5s cubic-bezier(.2,.7,.2,1) both}

@media(max-width:640px){
  .stepper{gap:.8rem}
  .stepper__count{min-width:7.4rem}
  .step__next .btn{flex:1;justify-content:center;padding:.95rem 1.4rem}
}

/* the confirmation: a quiet mark, the heading, then what happens next as a
   numbered sequence on hairlines, and a footnote */
.page--received{padding-top:clamp(40px,7vh,84px)}
.received__head{max-width:60ch;margin-bottom:clamp(2.6rem,7vh,4.4rem)}
.received__mark{
  display:grid;place-items:center;width:3rem;height:3rem;margin-bottom:1.6rem;
  border:1px solid var(--red);border-radius:50%;animation:markIn .7s cubic-bezier(.2,.7,.2,1) both}
.received__mark::after{content:"";width:.62rem;height:1.12rem;margin-top:-.22rem;
  border:solid var(--bone);border-width:0 2px 2px 0;transform:rotate(45deg)}
@keyframes markIn{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
.received__head p{font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.6;color:var(--bone-2)}
.done{max-width:980px}
.done__label{display:flex;align-items:center;gap:.7rem;margin-bottom:1.4rem;
  font-family:var(--mono);font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--dim)}
.done__label::before{content:"";width:22px;height:1px;background:var(--red)}
.done__steps{list-style:none;margin:0;padding:0;counter-reset:next;border-top:1px solid var(--line)}
.done__steps li{
  counter-increment:next;display:grid;grid-template-columns:3.6rem 1fr;gap:1rem;align-items:baseline;
  padding:1.35rem 0;border-bottom:1px solid var(--line);
  font-size:1.02rem;line-height:1.65;color:var(--dim)}
.done__steps li::before{
  content:counter(next,decimal-leading-zero);
  content:counter(next,decimal-leading-zero) / "";
  font-family:var(--mono);font-size:1.5rem;line-height:1;letter-spacing:-.02em;color:var(--dimmer)}
.done__steps li:first-child{color:var(--bone)}
.done__steps li:last-child{border-bottom:0}
.done__steps li:first-child::before{color:var(--red)}
@media(min-width:900px){
  .done__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2.4rem;border-top:0}
  .done__steps li{display:block;padding:1.5rem 0 0;border-bottom:0;border-top:1px solid var(--line)}
  .done__steps li:first-child{border-top-color:var(--red)}
  .done__steps li::before{display:block;margin-bottom:1.1rem;font-size:2.1rem}
}
.done__foot{margin-top:clamp(2.4rem,6vh,3.6rem);padding-top:1.4rem;border-top:1px solid var(--line-2);
  max-width:none;font-size:.92rem;line-height:1.6;color:var(--dim)}
.done__foot a{color:var(--bone);border-bottom:1px solid rgba(214,59,59,.6);transition:color .2s ease,border-color .2s ease}
.done__foot a:hover{color:#fff;border-bottom-color:var(--red)}

@media(prefers-reduced-motion:reduce){
  .check__status .check__dot{animation:none}
  .check__meter i{transition:none}
  .field input,.field select,.field textarea{transition:none}
  .choice,.choice::before,.choice::after,.choice span,.choice span::after,.stepper__back,.stepper__track i{transition:none}
  .choice:hover,.choice:active,.choice.is-pressed{transform:none}
  .is-entering,.is-entering-back{animation:none}
  .final .check__meter,.final .form__actions .btn{transition:none}
  .received__mark{animation:none}
  .done__foot a{transition:none}
}
