/* Believe / Dagmar landing v3. Tokens are Version B's (site/v2/page-dagmar-v2.php); add none without asking. */
:root{
  --red:#DD261D; --red-deep:#B01A13;
  --ink:#14120F; --ink-soft:#3A352E; --ink-mute:#6B6358;
  --paper:#FBF9F5; --paper-warm:#F3EEE6; --paper-edge:#E4DCCF;
  --gold:#B8873B;
  --night:#12100E; --night-card:#1C1915;
  --swift:cubic-bezier(0.32,0.72,0,1);
  --display:'Marcellus',Georgia,serif;
  --sans:'Plus Jakarta Sans',system-ui,sans-serif;
  --pad:72px; --gutter:20px; --wrap:1240px; --radius:6px; --frame:14px;
}
@media (min-width:1024px){ :root{ --pad:112px; --gutter:40px; } }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{ margin:0; background:var(--paper); color:var(--ink); font:400 17px/1.6 var(--sans); overflow-x:hidden; }
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }
h1,h2,h3,p,figure,blockquote,dl,dd,ol,ul{ margin:0; }
ul,ol{ padding:0; list-style:none; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--ink); color:var(--paper); padding:10px 14px; border-radius:var(--radius); z-index:30; }
.skip:focus{ left:8px; }
:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; }
/* Dark surfaces: a paper ring, since ink on night is invisible (Ship Report C1, 2026-10-29). */
.site-footer :focus-visible, .tone-night :focus-visible, .world :focus-visible, .pg-join-dark :focus-visible, .contact-info :focus-visible, .video-modal :focus-visible{ outline-color:var(--paper); }

/* Paper grain: fixed, never on a scrolling layer */
body::after{ content:''; position:fixed; inset:0; z-index:40; pointer-events:none; opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap{ width:100%; max-width:calc(var(--wrap) + 2*var(--gutter)); margin:0 auto; padding:0 var(--gutter); }
.display{ font-family:var(--display); font-weight:400; letter-spacing:-.012em; line-height:1.04; text-wrap:balance; }
.h2{ font-size:clamp(30px,3.7vw,50px); line-height:1.08; }
.body{ color:var(--ink-soft); max-width:60ch; }
.pending{ border-bottom:1.5px dashed var(--gold); cursor:help; }

/* Buttons: square-ish, no glow */
.btn{ display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 26px; border:0; border-radius:var(--radius);
  background:var(--red); color:var(--paper); font:600 16px/1 var(--sans); text-decoration:none; cursor:pointer;
  transition:background-color .35s var(--swift), transform .2s var(--swift); }
.btn:hover{ background:var(--red-deep); }
.btn:active{ transform:scale(.98); }
.btn-small{ min-height:40px; padding:0 16px; font-size:14px; }

/* Header */
.site-header{ position:relative; z-index:20; background:var(--paper-warm); }
.header-row{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo{ display:block; padding:10px 0; }
.logo img{ width:120px; height:auto; }
.nav{ display:flex; align-items:center; gap:22px; font-size:15px; font-weight:500; }
.nav a:not(.btn){ text-decoration:none; color:var(--ink-soft); }
.nav a:not(.btn):hover, .nav a[aria-current="page"]{ color:var(--ink); }
.nav a[aria-current="page"]{ text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1.5px; }
.nav-links{ display:none; gap:22px; }
/* Same menu type on every page (matches the believemedia.org header). */
.nav-links a{ text-transform:uppercase; font-size:16px; font-weight:500; }
.site-header .btn{ min-height:44px; padding:0 30px; border-radius:50px; font:400 16px/1 var(--display); text-transform:uppercase; }
.site-header .btn{ white-space:nowrap; } /* never wrap (Ship Report C2) */
@media (max-width:419px){ .site-header .btn{ padding:0 18px; font-size:15px; } }
/* Phones: the site menu folds into a native disclosure (no script). */
.menu{ position:relative; }
.menu summary{ list-style:none; cursor:pointer; padding:10px 4px; font-weight:600; color:var(--ink); }
.menu summary::-webkit-details-marker{ display:none; }
.menu-panel{ position:absolute; right:0; top:calc(100% + 8px); z-index:40; display:grid; min-width:200px; padding:8px; background:var(--paper); border:1px solid var(--paper-edge); border-radius:var(--frame); box-shadow:0 12px 30px rgba(18,16,14,.12); }
.menu-panel a{ padding:12px 14px; border-radius:var(--radius); }
.menu-panel a:hover{ background:var(--paper-warm); }
@media (min-width:768px){ .logo img{ width:154px; } }
@media (min-width:900px){ .nav-links{ display:flex; } .menu{ display:none; } }

/* 1. Hero */
.hero{ background:var(--paper-warm); padding:8px 0 var(--pad); overflow:hidden; }
.hero-grid{ display:grid; gap:28px; }
.slate{ display:flex; flex-wrap:wrap; gap:4px 14px; margin-bottom:18px; font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--ink-mute); }
.slate span:first-child{ color:var(--ink); }
.slate{ flex-direction:column; }
@media (min-width:600px){ .slate{ flex-direction:row; } .slate span + span{ padding-left:14px; border-left:1px solid var(--paper-edge); } }
h1.display{ font-size:clamp(40px,6.2vw,88px); max-width:13ch; }
@media (min-width:1024px){ h1.display{ max-width:none; } }
.lede{ margin-top:18px; font-size:18px; color:var(--ink-soft); max-width:46ch; }

/* The team's high-five hero (Ashley, 2026-10-27): one painted frame, no cut-out compositing. */
.scene{ margin:0; }
.scene picture{ display:block; }
.scene img{ display:block; width:100%; aspect-ratio:1672/941; object-fit:cover; border-radius:var(--frame); }

.give{ position:relative; z-index:5; }
.give-card{ background:var(--paper); border:1px solid var(--paper-edge); border-radius:var(--frame); padding:22px; }
.give-title{ font:400 30px/1.1 var(--display); margin-bottom:16px; }
.freq{ display:grid; grid-template-columns:1fr 1fr; padding:4px; gap:4px; background:var(--paper-warm); border-radius:8px; margin-bottom:14px; }
.freq label{ position:relative; }
.freq input, .amt input, .fee input{ position:absolute; opacity:0; }
.freq span{ display:block; text-align:center; padding:9px 0; border-radius:5px; font-size:15px; font-weight:600; color:var(--ink-mute); cursor:pointer;
  transition:background-color .3s var(--swift), color .3s var(--swift); }
.freq input:checked + span{ background:var(--paper); color:var(--ink); box-shadow:0 1px 2px rgba(18,16,14,.12); }
.freq input:focus-visible + span{ outline:2px solid var(--ink); outline-offset:1px; }
.amounts{ border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.amt{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:64px; border:1px solid var(--paper-edge);
  border-radius:8px; cursor:pointer; transition:border-color .25s var(--swift), background-color .25s var(--swift); }
.amt span{ font:600 22px/1 var(--sans); }
.amt em{ font-style:normal; font-size:12px; font-weight:600; color:var(--ink-mute); margin-top:5px; }
.amt-other span{ font-size:17px; }
.amt:hover{ border-color:var(--ink-mute); }
.amt:has(input:checked){ border:2px solid var(--ink); background:var(--paper-warm); }
.amt:has(input:focus-visible){ outline:2px solid var(--ink); outline-offset:2px; }
.other-field{ margin-top:12px; }
.other-field label{ font-size:14px; font-weight:600; }
.money{ display:flex; align-items:center; margin-top:6px; border:1px solid var(--ink-mute); border-radius:8px; padding:0 12px; background:var(--paper); }
.money span{ font-weight:600; color:var(--ink-mute); }
.money input{ flex:1; border:0; background:none; font:600 20px/1 var(--sans); padding:12px 6px; color:var(--ink); min-width:0; }
.money input:focus{ outline:none; }
.money:focus-within{ border-color:var(--ink); }
.impact{ margin:14px 0 0; font-size:14px; color:var(--ink-soft); }
.fee{ display:flex; gap:10px; align-items:flex-start; margin-top:12px; font-size:14px; color:var(--ink-soft); cursor:pointer; }
.fee span::before{ content:''; display:inline-block; vertical-align:-3px; width:16px; height:16px; margin-right:9px; border:1.5px solid var(--ink-mute); border-radius:4px; background:var(--paper) center/12px no-repeat; }
.fee input:checked + span::before{ background-color:var(--ink); border-color:var(--ink);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23FBF9F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fee input:focus-visible + span::before{ outline:2px solid var(--ink); outline-offset:2px; }
.btn-give{ width:100%; margin-top:16px; min-height:56px; font-size:17px; }
.btn-give[aria-busy="true"]{ opacity:.7; pointer-events:none; }
.form-note{ margin-top:10px; font-size:14px; color:var(--red-deep); }
.secure{ margin-top:12px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px 10px; font-size:13px; color:var(--ink-mute); }
.pay-marks{ display:inline-flex; align-items:center; gap:8px; }
.pay-marks img{ height:30px; width:auto; }
.legal{ margin-top:6px; font-size:12px; line-height:1.5; color:var(--ink-mute); text-align:center; }

@media (min-width:1024px){
  .hero{ padding-top:24px; }
  .hero-grid{ grid-template-columns:minmax(0,1fr) 400px; column-gap:56px; row-gap:36px; align-items:start; }
  .hero-copy{ grid-column:1 / -1; }
  .scene{ grid-column:1; grid-row:2; }
  .give{ grid-column:2; grid-row:2; align-self:start; }
  .lede{ max-width:62ch; }
  .give-card{ padding:28px; }
  .lede{ font-size:19px; }
}

/* Shared section rhythm: one padding value everywhere */
.section{ padding:var(--pad) 0; position:relative; }

/* 2. Message */
.message-grid{ display:grid; gap:32px; align-items:center; }
.video-frame{ position:relative; }
.video-poster{ display:block; position:relative; width:100%; padding:0; border:0; background:var(--night); border-radius:var(--frame); overflow:hidden; cursor:pointer; }
.video-poster img{ width:100%; aspect-ratio:16/9; object-fit:cover; transition:transform 1.1s var(--swift); }
.video-poster:hover img{ transform:scale(1.02); }
.play{ position:absolute; left:16px; bottom:16px; display:inline-flex; align-items:center; gap:10px; padding:11px 16px 11px 12px; border-radius:var(--radius);
  background:var(--paper); color:var(--ink); font:600 15px/1 var(--sans); }
.play svg{ width:22px; height:22px; fill:var(--red); }
.play small{ font-size:13px; color:var(--ink-mute); font-weight:500; }
.message-copy{ position:relative; }
blockquote{ margin-top:22px; padding-left:20px; border-left:2px solid var(--red); }
blockquote p{ font:400 clamp(21px,2.1vw,27px)/1.4 var(--display); color:var(--ink); max-width:30ch; }
blockquote footer{ margin-top:14px; font-size:14px; color:var(--ink-mute); }
.char{ position:absolute; pointer-events:none; }
.char-cat{ position:static; width:110px; margin:18px 0 0 auto; }
@media (min-width:1024px){
  .message{ padding-bottom:calc(var(--pad) * .6); }
  .message-grid{ grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:64px; }
  .char-cat{ width:140px; margin-top:8px; }
}

/* 3. Why */
.why{ background:var(--paper-warm); overflow:clip; } /* clip, not hidden: hidden would stop the sticky copy */
.why-grid{ display:grid; gap:12px; }
.why-copy .body{ margin-top:20px; }
.rules{ margin-top:30px; border-top:1px solid var(--paper-edge); }
.rules > div{ display:grid; gap:4px; padding:16px 0; border-bottom:1px solid var(--paper-edge); }
.rules dt{ font-weight:700; }
.rules dd{ color:var(--ink-soft); }
/* Dagmar hatching: four frames of one shot stacked as a single image; app.js sets --hatch (0 to 3) from scroll. */
.hatch{ --hatch:0; position:relative; margin:28px 0 0; aspect-ratio:16/9; border-radius:var(--frame); overflow:hidden; background:var(--night); }
.hatch img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Each frame holds, then blends in over a short stretch so the hands never sit doubled for long. */
.hatch img:nth-child(2){ opacity:clamp(0, calc((var(--hatch) - .35) * 3.4), 1); }
.hatch img:nth-child(3){ opacity:clamp(0, calc((var(--hatch) - 1.35) * 3.4), 1); }
.hatch img:nth-child(4){ opacity:clamp(0, calc((var(--hatch) - 2.35) * 3.4), 1); }
@media (min-width:768px){ .rules > div{ grid-template-columns:170px 1fr; gap:24px; } }
@media (min-width:1024px){
  .why{ padding-top:calc(var(--pad) * .6); }
  .why-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px 80px; align-items:center; }
  .hatch{ margin:0; }
}
/* Desktop with room: the copy and the egg hold still while the scroll hatches her, then the page moves on. */
@media (min-width:1024px) and (min-height:600px) and (prefers-reduced-motion:no-preference){
  /* The grid sits at the top of the track and sticks near mid-screen; no empty screen above or below it. */
  .why-track{ height:200vh; }
  .why-grid{ position:sticky; top:max(32px, calc(50vh - 290px)); }
}
@media (prefers-reduced-motion:reduce){ .hatch{ --hatch:3; } }

/* 4. How */
.how-grid{ position:relative; display:grid; gap:28px; }
.steps{ display:grid; gap:0; border-top:1px solid var(--paper-edge); counter-reset:s; }
.steps li{ padding:26px 0; border-bottom:1px solid var(--paper-edge); display:grid; gap:10px; }
.num{ font-size:clamp(34px,3.7vw,54px); color:var(--red); line-height:1; white-space:nowrap; }
.num span{ color:var(--ink-mute); font-size:.7em; }
.char-carolyn{ display:none; }
@media (min-width:1024px){
  .how-grid{ grid-template-columns:240px minmax(0,1fr) 150px; gap:56px; align-items:start; }
  .steps li{ padding-left:12px; }
  .steps .num{ font-size:clamp(34px,3.2vw,46px); }
  .char-carolyn{ display:block; position:static; width:150px; align-self:end; }
}
/* Wide: figure and words side by side, both rows sharing one column edge */
@media (min-width:1280px){
  .how-grid{ grid-template-columns:280px minmax(0,1fr) 170px; gap:64px; }
  .steps{ grid-template-columns:auto minmax(0,1fr); column-gap:56px; }
  .steps li{ grid-column:1 / -1; display:grid; grid-template-columns:subgrid; align-items:center; }
  .char-carolyn{ width:170px; }
}

/* 5. World / storyboard */
.world{ background:var(--night); color:var(--paper); }
.world .h2{ color:var(--paper); }
.board{ display:grid; gap:14px; margin-top:32px; }
.frame{ position:relative; border-radius:var(--frame); overflow:hidden; background:var(--night-card); }
.frame img{ width:100%; height:100%; object-fit:cover; aspect-ratio:16/9; }
.frame-egg{ background:var(--paper); }
.frame-egg img{ object-fit:contain; padding:18px; }
.frame figcaption{ position:absolute; left:12px; bottom:12px; font-size:13px; font-weight:600; background:var(--night); color:var(--paper); padding:5px 9px; border-radius:4px; }
.frame-egg figcaption{ background:var(--ink); }
.frame figcaption span{ color:var(--paper-edge); margin-right:6px; font-weight:500; }
.status{ margin-top:36px; border-top:1px solid rgba(251,249,245,.16); display:grid; }
.status > div{ display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid rgba(251,249,245,.16); }
.status dt{ color:var(--paper-edge); }
.status dd{ font-weight:600; text-align:right; }
@media (min-width:768px){
  .board{ grid-template-columns:repeat(3,1fr); grid-template-rows:auto auto; }
  .frame-wide{ grid-column:1 / span 2; grid-row:1 / span 2; }
  .frame-wide img{ aspect-ratio:auto; }
  .frame:not(.frame-wide) img{ aspect-ratio:4/3; }
}
@media (min-width:1024px){ .status{ grid-template-columns:repeat(5,1fr); border-bottom:1px solid rgba(251,249,245,.16); }
  .status > div{ display:grid; gap:4px; padding:18px 18px 18px 0; border-bottom:0; }
  .status > div + div{ padding-left:18px; border-left:1px solid rgba(251,249,245,.16); }
  .status dd{ text-align:left; } }

/* Kraken partner: centred, logo first and large (Tammy, 2026-10-27). */
.partner{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; margin-top:36px; padding:28px 0 32px; border-top:1px solid rgba(251,249,245,.16); border-bottom:1px solid rgba(251,249,245,.16); }
.partner-logo{ order:-1; width:auto; height:128px; margin-bottom:12px; }
.partner-label{ color:var(--paper-edge); font-size:15px; }
.partner-name{ font:400 clamp(22px,2.2vw,28px)/1.2 var(--display); color:var(--paper); }
@media (min-width:1024px){ .partner-logo{ height:168px; } }

/* 6. Check */
.check-grid{ display:grid; gap:24px; align-items:end; }
.check-atlas{ width:150px; }
.check-copy .body{ margin-top:18px; }
.facts{ margin-top:26px; border-top:1px solid var(--paper-edge); }
.facts > div{ display:grid; grid-template-columns:120px 1fr; gap:16px; padding:13px 0; border-bottom:1px solid var(--paper-edge); font-size:16px; }
.facts dt{ color:var(--ink-mute); }
.small-head{ margin-top:32px; font-size:14px; font-weight:700; }
.charities{ display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.charities li{ display:grid; place-items:center; width:132px; height:72px; padding:12px; border:1px solid var(--paper-edge); border-radius:8px; background:var(--paper); }
.charities img{ max-height:46px; width:auto; object-fit:contain; }
/* Red Flamingo's mark is white on its own red, so its badge fills the tile. */
.charities .charity-flamingo{ padding:0; overflow:hidden; border:0; }
.charity-flamingo img{ width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; }
.fine{ margin-top:22px; font-size:15px; }
.fine a{ font-weight:600; text-underline-offset:4px; display:inline-block; padding:10px 0; }
@media (min-width:1024px){
  .check-grid{ grid-template-columns:300px minmax(0,1fr); gap:72px; }
  .check-atlas{ width:240px; justify-self:center; }
}

/* 7. Close */
.close{ background:var(--paper-warm); overflow:hidden; }
.close-grid{ display:grid; gap:36px; align-items:center; }
.close .body{ margin-top:16px; }
.close .btn{ margin-top:26px; }
.close-cuddle{ display:block; width:100%; aspect-ratio:1600/928; object-fit:cover; border-radius:var(--frame); }
@media (min-width:1024px){ .close-grid{ grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:64px; } }

/* Footer: one big night footer on every page (Mike, 2026-10-29: thicker, clearly a footer) */
.site-footer{ background:var(--night); color:var(--paper-edge); font-size:15px; padding:var(--pad) 0 32px; }
.f-cta{ display:grid; gap:24px; padding-bottom:48px; border-bottom:1px solid rgba(251,249,245,.16); }
.f-cta p{ font:400 clamp(32px,4.4vw,60px)/1.05 var(--display); color:var(--paper); max-width:16ch; text-wrap:balance; }
.f-cta .btn{ justify-self:start; }
.f-cols{ display:grid; gap:36px; padding:48px 0; }
.f-brand img{ width:180px; height:auto; }
.f-brand p{ margin-top:16px; max-width:34ch; }
.f-col h2{ margin-bottom:10px; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--paper-edge); }
.f-col ul{ display:grid; }
.site-footer a:not(.btn){ color:var(--paper); text-decoration:none; display:inline-block; padding:8px 0; }
.site-footer a:not(.btn):hover{ text-decoration:underline; text-underline-offset:4px; }
.f-social{ display:flex; gap:8px; margin-top:6px; }
.f-social a{ display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid rgba(251,249,245,.24); border-radius:50%; transition:background-color .25s var(--swift); }
.f-social a:hover{ background:rgba(251,249,245,.1); }
.f-social img{ width:18px; height:18px; }
.f-base{ display:grid; gap:6px; padding-top:24px; border-top:1px solid rgba(251,249,245,.16); font-size:13px; }
body:has(#sticky) .site-footer{ padding-bottom:96px; }
@media (min-width:768px){ .f-cols{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px){
  .f-cta{ grid-template-columns:minmax(0,1fr) auto; align-items:end; padding-bottom:64px; }
  .f-cols{ grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)); gap:48px; padding:64px 0; }
  .f-base{ grid-template-columns:1fr auto; }
  body:has(#sticky) .site-footer{ padding-bottom:32px; }
}

/* Sticky give bar (phones only), shown when the giving box is off-screen */
.sticky-give{ position:fixed; left:0; right:0; bottom:0; z-index:25; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background:var(--paper); border-top:1px solid var(--paper-edge);
  transform:translateY(110%); transition:transform .5s var(--swift); font:600 16px/1 var(--display); }
.sticky-give.on{ transform:none; }
.sticky-give span{ font-size:20px; }
@media (min-width:1024px){ .sticky-give{ display:none; } }

/* Video dialog */
.video-modal{ width:min(1100px,94vw); padding:0; border:0; border-radius:var(--frame); background:var(--night); overflow:visible; }
.video-modal::backdrop{ background:rgba(18,16,14,.86); }
.video-modal video{ display:block; width:100%; height:auto; border-radius:var(--frame); }
.ask-modal{ width:min(520px,94vw); max-height:94dvh; padding:0; border:0; border-radius:var(--frame); background:var(--paper); color:var(--ink); }
.ask-modal::backdrop{ background:rgba(18,16,14,.72); }
.ask-form, .ask-done{ position:relative; display:grid; padding:28px 24px 24px; }
.ask-form[hidden], .ask-done[hidden]{ display:none; }
.ask-modal .give-title{ padding-right:48px; }
.ask-intro{ margin:-6px 0 18px; font-size:15px; color:var(--ink-soft); }
.ask-form label{ font-size:14px; font-weight:600; margin-top:12px; }
.ask-form input, .ask-form textarea{ margin-top:6px; width:100%; border:1px solid var(--ink-mute); border-radius:8px; padding:12px; background:var(--paper); font:400 16px/1.4 var(--sans); color:var(--ink); }
.ask-form textarea{ resize:vertical; min-height:120px; }
.ask-form input:focus, .ask-form textarea:focus{ outline:2px solid var(--ink); outline-offset:1px; border-color:var(--ink); }
.ask-x{ position:absolute; right:12px; top:12px; width:40px; height:40px; border:0; border-radius:var(--radius); background:var(--paper-warm); color:var(--ink); font-size:24px; line-height:1; cursor:pointer; }
.ask-done .btn{ justify-self:start; }
.ask-form .ts{ margin-top:18px; min-height:65px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
#ask-send[aria-busy="true"]{ opacity:.7; pointer-events:none; }
.close-x{ position:absolute; right:0; top:-46px; width:40px; height:40px; border:0; border-radius:var(--radius); background:var(--paper); color:var(--ink); font-size:26px; line-height:1; cursor:pointer; }

/* Motion: entrance only, transform and opacity, skipped for reduced motion */
.js .reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--swift), transform .9s var(--swift); }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
}

/* Thank-you page */
.thanks{ background:var(--paper-warm); min-height:70dvh; }
.thanks-grid{ display:grid; gap:24px; align-items:end; }
.thanks-body{ margin-top:16px; }
.thanks .btn{ margin-top:28px; }
.thanks-cast{ width:100%; max-width:560px; height:auto; justify-self:center; } /* the team's whole-cast photo (Ashley, 2026-10-27) */
@media (min-width:1024px){ .thanks-grid{ grid-template-columns:minmax(0,1fr) minmax(0,560px); gap:64px; align-items:center; } }
