  /* ============================ THEME TOKENS ============================
   Repaint the campaign here: the :root vars below + the display font in the
   Google Fonts <link>. Everything else derives from these.
   ====================================================================== */
/* KIRA UNIVERSITY — campus stationery over the standard skeleton.
     Language: chalk card stock on a locker-green wall, hairline ink rules,
     guilloche security print, collegiate Graduate over Newsreader with
     Courier Prime carrying every field label. One signature motion: the ID
     card printing up out of the registrar's slot, gloss sweeping once across
     the laminate as it lands. */
  :root{
    --wall:#1B2E26; --wall2:#15251E; --wall3:#22392F;
    --spine:#2E5D4B; --spine2:#1E4033;
    --chalk:#EDEBE4; --chalk2:#DCD6C6; --chalk3:#C6BFAC;
    --ink:#1C1C1A; --dim:#6E6E66;
    --brick:#B0382A; --acc:#C6A22A;
    --white:#fff; --mute:rgba(237,235,228,.62); --line:rgba(237,235,228,.14);
    --f-disp:"Graduate",Impact,system-ui,sans-serif;
    --f-body:"Newsreader",Georgia,serif;
    --f-data:"Courier Prime",ui-monospace,monospace;
    /* aliases the shared activity-menu skins itself from */
    --navy:#1B2E26; --green:#C6A22A;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{font-family:var(--f-body);background:var(--wall2);color:var(--chalk);display:flex;justify-content:center}
  .h5{position:relative;width:min(460px,100vw);background:var(--wall);overflow:visible;min-height:100vh}
  /* guilloche — four interfering ring systems, the print under every card */
  .guilloche{background-image:
    repeating-radial-gradient(circle at 21% 57%,transparent 0 8px,rgba(28,28,26,.055) 8px 8.9px),
    repeating-radial-gradient(circle at 67% 25%,transparent 0 9.5px,rgba(28,28,26,.05) 9.5px 10.4px),
    repeating-radial-gradient(circle at 93% 79%,transparent 0 7px,rgba(28,28,26,.05) 7px 7.8px)}

  /* ---------- preloader ---------- */
  .preloader{position:fixed;inset:0;background:var(--wall);z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;
    transition:transform .85s cubic-bezier(.76,0,.24,1)}
  .preloader.done{transform:translateY(-100%)}
  .pl-lockup{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(8px,2.5vw,18px);padding:0 14px;max-width:100%}
  .pl-logo{height:clamp(24px,6.5vw,50px);width:auto;flex:0 0 auto;display:block;opacity:0;animation:plUp .6s cubic-bezier(.2,.8,.2,1) .05s forwards}
  .pl-x{font-family:var(--f-data);font-weight:700;font-size:clamp(16px,4.5vw,30px);line-height:1;flex:0 0 auto;color:var(--chalk);opacity:.45;animation:plxin .5s ease .16s both}
  @keyframes plUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes plxin{from{opacity:0;transform:translateY(10px)}to{opacity:.4;transform:none}}
  .pl-mark{font-family:var(--f-disp);color:var(--chalk);font-size:clamp(22px,6.4vw,48px);letter-spacing:.02em;line-height:1.3;padding-bottom:.06em;white-space:nowrap;flex:0 1 auto;
    clip-path:inset(0 100% 0 0);animation:plReveal 1.5s cubic-bezier(.76,0,.24,1) .15s forwards}
  @keyframes plReveal{to{clip-path:inset(0 0 0 0)}}
  .pl-count{position:absolute;bottom:38px;left:0;right:0;text-align:center;font-family:var(--f-data);color:var(--mute);font-size:15px;letter-spacing:.14em}
  .pl-bar{position:absolute;bottom:0;left:0;height:4px;width:0;background:var(--acc)}
  .pl-spider{position:absolute;bottom:7px;left:0;transform:translateX(-50%);z-index:6;pointer-events:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
  .pl-spider img{display:inline-block;width:26px;height:auto;animation:plsway 1.4s ease-in-out infinite alternate}
  @keyframes plsway{from{transform:rotate(-9deg)}to{transform:rotate(9deg)}}

  /* reveal */
  .rv{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
  .rv.in{opacity:1;transform:none}
  .rv.d1{transition-delay:.1s}.rv.d2{transition-delay:.2s}.rv.d3{transition-delay:.3s}

  /* ---------- top bar ---------- */
  .topbar{position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:16px 18px}
  .logo-img{height:38px;width:auto;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}

  /* ---------- hero ---------- */
  .hero{position:relative;height:78vh;height:78svh;min-height:580px;max-height:820px;overflow:hidden}
  .hero .heroimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.1);transform-origin:center}
  body.ready.go .hero .heroimg{animation:kb 12s ease-out forwards}
  @keyframes kb{from{transform:scale(1.1)}to{transform:scale(1)}}
  .hero .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,20,16,.55) 0%,rgba(11,20,16,.1) 26%,rgba(21,37,30,.7) 74%,var(--wall) 100%)}
  .hero .content{position:absolute;left:0;right:0;bottom:26px;padding:0 22px;z-index:4}
  .eyebrow{font-family:var(--f-data);font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--acc)}
  .hashtag{font-family:var(--f-disp);font-size:clamp(38px,11.5vw,62px);line-height:.98;margin:9px 0 7px;letter-spacing:.01em;color:var(--chalk)}
  .tagline{font-size:clamp(13px,4.1vw,18px);color:rgba(237,235,228,.86);margin-bottom:18px;line-height:1.45}
  .heroup{opacity:0;transform:translateY(26px)}
  body.ready.go .heroup{animation:up .8s cubic-bezier(.2,.8,.2,1) forwards}
  @keyframes up{to{opacity:1;transform:none}}
  body.skip-intro .heroup{animation:none;opacity:1;transform:none}
  body.skip-intro .hero .heroimg{animation:none;transform:scale(1)}
  /* THE SIGNATURE MOTION — the registrar's slot prints your card: it rises
     out of the slot, settles, and the laminate gloss sweeps once. The copy
     waits for it, the way spidey's title waited for the spider. */
  .idslot{position:absolute;left:50%;top:clamp(58px,9.5vh,104px);transform:translateX(-50%);z-index:3;
    width:min(392px,88vw);perspective:1200px;container-type:inline-size}
  .idslot .lip{position:absolute;left:-6%;right:-6%;top:-9px;height:9px;border-radius:5px;
    background:linear-gradient(#0D1712,#1B2E26);box-shadow:0 2px 6px rgba(0,0,0,.5)}
  .idcard{width:100%;aspect-ratio:472/298;position:relative;border-radius:11px;overflow:hidden;display:flex;
    background:var(--chalk);color:var(--ink);font-family:var(--f-data);
    box-shadow:0 1px 1px rgba(0,0,0,.34),0 3px 6px rgba(0,0,0,.26),0 18px 34px -10px rgba(0,0,0,.6),
      inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 3px rgba(0,0,0,.14);
    transform:translateY(58%) rotateX(26deg);opacity:0}
  body.ready.go .idcard{animation:idprint 1.15s cubic-bezier(.22,.9,.28,1) .25s forwards}
  @keyframes idprint{0%{opacity:0;transform:translateY(58%) rotateX(26deg)}
    55%{opacity:1}
    100%{opacity:1;transform:translateY(0) rotateX(4deg) rotateY(-5deg)}}
  body.skip-intro .idcard{animation:none;opacity:1;transform:rotateX(4deg) rotateY(-5deg)}
  .idcard .sweep{position:absolute;inset:0;z-index:8;pointer-events:none;
    background:linear-gradient(107deg,transparent 30%,rgba(255,255,255,.6) 44%,rgba(255,255,255,.14) 51%,transparent 63%);
    transform:translateX(-115%)}
  body.ready.go .idcard .sweep{animation:gloss 1.1s ease-out 1.25s forwards}
  @keyframes gloss{to{transform:translateX(115%)}}
  .idcard .print{position:absolute;inset:0;z-index:1;background-image:
    repeating-radial-gradient(circle at 20% 58%,transparent 0 13px,rgba(46,93,75,.14) 13px 14px),
    repeating-radial-gradient(circle at 69% 24%,transparent 0 16px,rgba(46,93,75,.12) 16px 17px)}
  .idcard .hair{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--spine);z-index:6}
  .idcard .band{width:11%;flex:none;display:grid;place-items:center;z-index:3;
    background:repeating-linear-gradient(180deg,var(--spine) 0 9px,var(--spine2) 9px 18px)}
  .idcard .band span{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--f-disp);font-size:9px;letter-spacing:.13em;color:#EBD9A4;white-space:nowrap}
  .idcard .body{flex:1;padding:11px 13px;display:flex;flex-direction:column;z-index:3}
  .idcard .ihd{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding-bottom:5px;border-bottom:2px solid var(--ink)}
  .idcard .ihd b{font-family:var(--f-disp);font-size:12.5px;line-height:1}
  .idcard .ihd i{font-style:normal;font-size:6px;letter-spacing:.09em;text-align:right;line-height:1.55;color:var(--dim)}
  .idcard .imid{display:flex;gap:11px;padding-top:9px;flex:1}
  /* 3:4 — the ratio the ID generator returns (docs/KIRAU_PROMPTS.md) */
  /* align-self keeps the 3:4 honest — a stretched flex item ignores
     aspect-ratio and the portrait comes out long */
  .idcard .shot{width:30%;aspect-ratio:3/4;flex:none;align-self:flex-start;position:relative;overflow:hidden;
    background:linear-gradient(168deg,#EFEADD,#B6AF9C);box-shadow:0 0 0 2px var(--ink)}
  .idcard .shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:2}
  .idcard .shot.has::before,.idcard .shot.has::after{display:none}
  .idcard .shot::before{content:"";position:absolute;left:50%;top:19%;width:38%;aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.72);transform:translateX(-50%)}
  .idcard .shot::after{content:"";position:absolute;left:50%;bottom:-6%;width:74%;height:44%;border-radius:46% 46% 0 0;background:rgba(255,255,255,.72);transform:translateX(-50%)}
  /* the ghost portrait — the secondary image every real ID carries: same
     face, small, desaturated, fading into the stock */
  .idcard .shot.ghost{width:14%;box-shadow:none;background:none;align-self:flex-start;margin-top:2px;
    opacity:.33;filter:grayscale(1) contrast(1.12);
    -webkit-mask-image:linear-gradient(190deg,#000 0 52%,rgba(0,0,0,.28) 86%,transparent);
    mask-image:linear-gradient(190deg,#000 0 52%,rgba(0,0,0,.28) 86%,transparent)}
  .idcard .shot.ghost::before,.idcard .shot.ghost::after{background:rgba(28,28,26,.3)}
  .idcard dl{margin:0;flex:1;font-size:7.5px;line-height:1.5}
  .idcard dt{color:var(--dim);font-size:6px;letter-spacing:.1em}
  .idcard dd{margin:0 0 4px;font-weight:700;letter-spacing:.03em;font-size:8px}
  .idcard .stamp{position:absolute;right:19%;top:52%;transform:rotate(-13deg);font-family:var(--f-disp);
    font-size:11px;letter-spacing:.05em;padding:2px 6px;border:2px solid var(--brick);border-radius:2px;color:var(--brick);opacity:.9;z-index:5}
  .idcard .ibtm{display:flex;align-items:flex-end;gap:7px;padding-top:5px;border-top:2px solid var(--ink)}
  .idcard .bars{height:13px;flex:1;color:var(--ink);
    background-image:repeating-linear-gradient(90deg,currentColor 0 1.5px,transparent 1.5px 3px,currentColor 3px 3.8px,transparent 3.8px 6.5px)}
  .idcard .qr{width:21px;height:21px;flex:none;position:relative;color:var(--ink);
    background:linear-gradient(currentColor,currentColor) 0 0/7px 7px no-repeat,
      linear-gradient(currentColor,currentColor) 100% 0/7px 7px no-repeat,
      linear-gradient(currentColor,currentColor) 0 100%/7px 7px no-repeat}
  .idcard .qr::after{content:"";position:absolute;inset:9px 0 0 9px;
    background-image:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 4px),repeating-linear-gradient(currentColor 0 2px,transparent 2px 4px);opacity:.85}
  /* the copy waits for the card to land */
  body.ready.go .heroup{animation-delay:1.05s}
  body.ready.go .heroup.a2{animation-delay:1.2s}
  body.ready.go .heroup.a3{animation-delay:1.36s}
  body.ready.go .heroup.a4{animation-delay:1.52s}

  /* ---------- buttons ---------- */
  .btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:9px;cursor:pointer;text-decoration:none;
    font-family:var(--f-disp);font-size:15px;letter-spacing:.02em;background:var(--chalk);color:var(--ink);
    border:2px solid var(--ink);padding:13px 26px;border-radius:4px;
    box-shadow:0 2px 0 var(--spine2),0 6px 14px -5px rgba(0,0,0,.5);
    transition:transform .14s ease,box-shadow .15s ease,background .15s ease}
  .btn:hover{transform:translateY(-2px);box-shadow:0 4px 0 var(--spine2),0 10px 20px -6px rgba(0,0,0,.55)}
  .btn:active{transform:translateY(1px);box-shadow:0 1px 0 var(--spine2)}
  .btn.full{width:100%;justify-content:center;font-size:17px;padding:16px}
  .btn.kicked{animation:btnpop .42s ease}
  @keyframes btnpop{0%{transform:scale(.96)}45%{transform:scale(1.04)}100%{transform:scale(1)}}

  /* ---------- ticker ---------- */
  .ticker{background:var(--chalk);color:var(--ink);font-family:var(--f-data);font-weight:700;text-transform:uppercase;
    font-size:11.5px;letter-spacing:.13em;padding:9px 0;overflow:hidden;white-space:nowrap;
    border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
  .ticker span{display:inline-block;padding-left:100%;animation:slide 18s linear infinite}
  .ticker span i{font-style:normal;margin:0 8px;color:var(--spine)}
  @keyframes slide{to{transform:translateX(-100%)}}

  /* ---------- sections ---------- */
  section{padding:46px 22px}
  .sec-eyebrow{font-family:var(--f-data);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--acc)}
  h2{font-family:var(--f-disp);font-weight:400;font-size:clamp(28px,8.4vw,40px);letter-spacing:.01em;line-height:1.04;margin:8px 0 16px;color:var(--chalk)}
  .lead{font-size:15.5px;line-height:1.6;color:var(--mute)}

  /* social proof — a filing card */
  .proof{display:flex;align-items:center;gap:14px;background:var(--chalk);color:var(--ink);border:2px solid var(--ink);border-radius:5px;padding:15px 17px;margin-top:-8px;
    box-shadow:0 3px 0 var(--spine2),0 10px 22px -8px rgba(0,0,0,.5);position:relative;overflow:hidden}
  .proof .num{font-family:var(--f-disp);font-size:29px;color:var(--spine);line-height:1}
  .proof .lbl{font-family:var(--f-data);font-size:10.5px;color:var(--dim);letter-spacing:.09em;text-transform:uppercase;margin-top:2px}
  .avs{display:flex;margin-left:auto}
  .avs img{width:30px;height:30px;border-radius:50%;border:2px solid var(--chalk);margin-left:-10px;object-fit:cover;background:var(--chalk2)}

  /* steps — three filed cards */
  .steps{display:flex;flex-direction:column;gap:12px}
  .step{display:flex;gap:14px;align-items:flex-start;background:var(--chalk);color:var(--ink);border:2px solid var(--ink);border-radius:5px;padding:16px;
    box-shadow:0 3px 0 var(--spine2),0 10px 22px -8px rgba(0,0,0,.45);position:relative;overflow:hidden}
  .step .n{flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:var(--spine);border:2px solid var(--ink);display:grid;place-items:center;font-family:var(--f-disp);font-size:15px;color:var(--chalk)}
  .step:nth-child(2) .n{background:var(--brick)}
  .step:nth-child(3) .n{background:var(--acc);color:var(--ink)}
  .step h3{font-family:var(--f-disp);font-size:16px;margin-bottom:3px;line-height:1.15}
  .step p{font-size:13.5px;color:var(--dim);line-height:1.5}

  /* pattern divider */
  .divider{height:130px;overflow:hidden;position:relative;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
  .divider img{width:100%;height:100%;object-fit:cover;object-position:center}

  /* ---------- THE INTERACTION BLOCK ---------- */
  /* Section ships hidden; block.js unhides. Style your campaign's playable
     thing here. Keep overlays modeled on the auth-modal pattern. */
  #block[hidden]{display:none}
  #blockRoot{min-height:120px}

  /* reward card — the registrar's notice */
  .reward{background:var(--chalk);color:var(--ink);border-radius:6px;padding:22px 18px;border:2px solid var(--ink);
    box-shadow:0 4px 0 var(--spine2),0 16px 34px -12px rgba(0,0,0,.55);position:relative;overflow:hidden}
  .reward .rtop{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px;position:relative}
  .reward .rtitle{font-family:var(--f-disp);font-size:23px;line-height:1.05}
  .reward .rtitle b{color:var(--spine)}
  .reward .rtoday{text-align:right;font-family:var(--f-data);font-size:10px;color:var(--dim);line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
  .reward .rtoday b{display:block;color:var(--brick);font-size:16px;font-family:var(--f-disp);letter-spacing:0}
  .reqline{background:var(--chalk2);border:1px solid var(--chalk3);border-radius:3px;padding:10px 13px;font-family:var(--f-data);font-size:11px;color:var(--dim);letter-spacing:.04em;margin-bottom:18px;position:relative}
  .reqline b{color:var(--spine)}
  .ladder{position:relative;padding-left:4px}
  .track{position:absolute;left:22px;top:30px;bottom:30px;width:4px;background:var(--chalk2);border-radius:4px;overflow:hidden}
  .track .fill{position:absolute;left:0;top:0;width:100%;height:0;background:var(--spine);border-radius:4px;transition:height 1.6s cubic-bezier(.4,0,.2,1) .2s}
  .in .track .fill{height:100%}
  .tier{position:relative;display:flex;align-items:center;gap:15px;padding:11px 0;z-index:2;opacity:0;transform:translateX(-12px);transition:opacity .5s,transform .5s}
  .in .tier{opacity:1;transform:none}
  .in .tier:nth-child(2){transition-delay:.3s}.in .tier:nth-child(3){transition-delay:.6s}.in .tier:nth-child(4){transition-delay:.9s}
  .tier .dot{width:44px;height:44px;flex:0 0 auto;border-radius:50%;background:var(--chalk);border:2px solid var(--spine);display:grid;place-items:center;font-size:12px;letter-spacing:.02em;font-family:var(--f-disp);color:var(--spine)}
  .tier .info .w{font-family:var(--f-data);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
  .tier .info .r{font-family:var(--f-disp);font-size:17px;color:var(--ink)}
  .reward .btn{margin-top:18px;background:var(--spine);color:var(--chalk);border-color:var(--ink)}

  /* footer */
  footer{padding:30px 22px 130px;text-align:center;border-top:1px solid var(--line)}
  .fine{font-family:var(--f-data);font-size:10px;color:rgba(237,235,228,.36);line-height:1.7;margin-top:18px;letter-spacing:.02em}

  /* sticky bottom CTA */
  .stickybar{position:fixed;bottom:0;left:50%;transform:translate(-50%,120%);width:min(460px,100vw);
    background:rgba(21,37,30,.95);backdrop-filter:blur(10px);border-top:2px solid var(--ink);
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;z-index:320;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
  .stickybar.show{transform:translate(-50%,0)}
  .stickybar .s-left{font-family:var(--f-data);font-size:10.5px;color:var(--mute);line-height:1.4;letter-spacing:.06em}
  .stickybar .s-left b{display:block;color:var(--chalk);font-family:var(--f-disp);font-size:14px;letter-spacing:.02em}
  .stickybar .btn{margin-left:auto;padding:11px 20px;font-size:14px}

  /* ============ TABLET / DESKTOP ============ */
  @media (min-width:768px){
    .h5{width:100%}
    section{padding-top:80px;padding-bottom:80px;
      padding-left:max(6vw,calc((100% - 1080px) / 2));
      padding-right:max(6vw,calc((100% - 1080px) / 2))}
    h2{font-size:clamp(38px,4.4vw,56px)}
    .sec-eyebrow{font-size:12px}
    .lead{font-size:17px;max-width:60ch}
    .hero{height:92vh;height:92svh;min-height:620px;max-height:none}
    .hero .content{left:50%;transform:translateX(-50%);width:100%;max-width:1080px;padding:0 6vw;bottom:8vh}
    /* the card carries the hero on desktop, so it gets real size — capped on
       height too, or a short laptop viewport walks it into the copy */
    .idslot{width:min(560px,44vw,58vh);top:clamp(74px,12vh,132px)}
    .hashtag{font-size:clamp(58px,7vw,112px)}
    .tagline{font-size:21px;max-width:46ch}
    .topbar{padding:22px}
    .logo-img{height:52px}
    .proof{max-width:560px;margin-left:auto;margin-right:auto}
    .steps{flex-direction:row;gap:18px}
    .step{flex:1;flex-direction:column;padding:26px}
    .step h3{font-size:18px;margin-top:8px}
    .step p{font-size:14.5px}
    .reward{padding:36px 34px}
    .reward .rtitle{font-size:30px}
    .reqline{font-size:12.5px}
    .tier .info .r{font-size:19px}
    .divider{height:200px}
    .ticker{font-size:13px;padding:12px 0}
    .stickybar{width:auto;min-width:460px;max-width:720px;border:2px solid var(--ink);border-radius:6px;
      bottom:24px;padding:12px 14px 12px 24px}
    footer{padding:60px 6vw 120px}
  }
  /* Wide screens: the hero stops being a phone screenshot stretched out. Two
     columns — the copy reading down the left, the card standing tall on the
     right at the size it deserves — instead of a small card floating over a
     bandof empty wall. */
  @media (min-width:1150px){
    .hero{display:block}
    .hero .content{left:max(6vw,calc((100% - 1180px) / 2));right:auto;bottom:auto;top:50%;
      transform:translateY(-50%);width:min(40vw,500px);max-width:none;padding:0}
    body.ready.go .hero .content{transform:translateY(-50%)}
    .idslot{left:auto;right:max(6vw,calc((100% - 1180px) / 2));top:50%;transform:translateY(-50%);
      width:min(650px,44vw,72vh)}
    .idslot .lip{left:-4%;right:-4%}
    .idhint{top:calc(100% + 14px)}
    .hero .scrim{background:linear-gradient(100deg,rgba(11,20,16,.9) 0%,rgba(11,20,16,.62) 46%,rgba(21,37,30,.5) 72%,rgba(21,37,30,.86) 100%)}
  }
  @media (min-width:1180px){
    section{padding-top:96px;padding-bottom:96px}
    .hashtag{font-size:clamp(72px,7vw,124px)}
  }

  @media (prefers-reduced-motion:reduce){
    .rv,.heroup{transition:none;animation:none!important;opacity:1;transform:none}
    .ticker span{animation:none;padding-left:0}
    .hero .heroimg{animation:none;transform:scale(1)}
    .idcard{animation:none!important;opacity:1;transform:none}
    .idcard .sweep{animation:none!important;opacity:0}
    .pl-spider img{animation:none}
  }

  .auth-modal{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:24px}
  .auth-modal[hidden]{display:none}
  .auth-backdrop{position:absolute;inset:0;background:rgba(8,16,12,.76);backdrop-filter:blur(6px)}
  .auth-card{position:relative;z-index:1;width:min(380px,92vw);background:var(--chalk);color:var(--ink);border:2px solid var(--ink);border-radius:6px;padding:32px 26px 24px;text-align:center;
    box-shadow:0 4px 0 var(--spine2),0 20px 44px -14px rgba(0,0,0,.7);animation:authpop .42s cubic-bezier(.34,1.56,.64,1)}
  @keyframes authpop{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
  .auth-x{position:absolute;top:10px;right:14px;background:none;border:none;color:var(--dim);font-size:26px;line-height:1;cursor:pointer}
  /* no invert: the wordmark is a colour collage on paper, and inverting it
     turns the whole thing into a negative */
  .auth-logo{height:34px;width:auto;margin:0 auto 18px;display:block}
  .auth-title{font-family:var(--f-disp);font-size:21px;margin-bottom:8px}
  .auth-body{font-size:14.5px;color:var(--dim);line-height:1.55;margin-bottom:22px}
  .auth-card .btn{background:var(--spine);color:var(--chalk)}
  .btn.is-ended{background:var(--chalk2)!important;color:var(--dim)!important;box-shadow:none!important;cursor:default;pointer-events:none}
  .lang{position:relative;display:inline-block;margin-top:18px}
  .lang-btn{display:inline-flex;align-items:center;gap:8px;background:var(--wall3);color:var(--chalk);border:1px solid var(--line);border-radius:4px;padding:9px 15px;font-family:var(--f-data);font-size:12px;cursor:pointer;transition:border-color .15s ease}
  .lang-btn:hover{border-color:rgba(237,235,228,.3)}
  .lang-globe{font-size:14px;opacity:.85}
  .lang-chev{opacity:.55}
  .lang-menu{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--wall3);border:1px solid var(--line);border-radius:5px;padding:6px;display:none;flex-direction:column;min-width:150px;max-height:248px;overflow:auto;box-shadow:0 18px 44px -12px rgba(0,0,0,.7);z-index:50}
  .lang-menu.open{display:flex}
  .lang-opt{background:none;border:none;color:rgba(237,235,228,.82);font-family:var(--f-data);font-size:12px;text-align:left;padding:9px 12px;border-radius:3px;cursor:pointer;white-space:nowrap}
  .lang-opt:hover{background:rgba(237,235,228,.09);color:var(--chalk)}
  .lang-opt.sel{color:var(--acc)}
  .tb-right{display:flex;align-items:center;gap:9px}
  .share-wrap{position:relative}
  .share-btn{width:36px;height:36px;display:grid;place-items:center;background:rgba(0,0,0,.35);border:1px solid var(--line);border-radius:50%;color:var(--chalk);cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:border-color .15s ease}
  .share-btn:hover{border-color:rgba(237,235,228,.32)}
  .share-btn svg{width:17px;height:17px;transform:translateX(-1px)}
  .share-menu{position:absolute;top:calc(100% + 8px);right:0;background:var(--wall3);border:1px solid var(--line);border-radius:5px;padding:6px;display:flex;flex-direction:column;min-width:174px;box-shadow:0 18px 44px -12px rgba(0,0,0,.65);z-index:60}
  .share-menu[hidden]{display:none}
  .share-wrap.up .share-menu{top:auto;bottom:calc(100% + 8px)}
  .share-opt{display:flex;align-items:center;gap:11px;background:none;border:none;color:rgba(237,235,228,.85);font-family:var(--f-data);font-size:13px;text-align:left;padding:10px 12px;border-radius:3px;cursor:pointer;text-decoration:none;white-space:nowrap;width:100%}
  .share-opt:hover{background:rgba(237,235,228,.09);color:var(--chalk)}
  .share-opt svg{width:17px;height:17px;flex:0 0 auto;color:var(--acc)}


  /* The card is drawn once and scaled by its container: every size below is a
     percentage of the card's own width (cqw), with the px value kept first as
     the fallback for a browser without container queries. Without this the
     desktop card is a 670px sheet carrying 7px type. 392px is the reference
     width the design was drawn at. */
  .idcard{border-radius:11px;border-radius:2.8cqw}
  .idcard .band span{font-size:9px;font-size:2.3cqw}
  .idcard .body{padding:11px 13px;padding:2.8cqw 3.3cqw}
  .idcard .ihd{padding-bottom:5px;padding-bottom:1.3cqw;border-bottom-width:2px;border-bottom-width:.5cqw}
  .idcard .ihd b{font-size:12.5px;font-size:3.19cqw}
  .idcard .ihd i{font-size:6px;font-size:1.53cqw}
  .idcard .imid{gap:11px;gap:2.8cqw;padding-top:9px;padding-top:2.3cqw}
  /* the fields read at arm's length — a card, not fine print */
  .idcard dl{font-size:9px;font-size:2.3cqw;line-height:1.35}
  .idcard dt{font-size:7.5px;font-size:1.9cqw;margin-top:1px}
  .idcard dd{font-size:11px;font-size:2.8cqw;margin-bottom:5px;margin-bottom:1.3cqw}
  .idcard .stamp{font-size:11px;font-size:2.81cqw;padding:2px 6px;padding:.5cqw 1.5cqw;
    border-width:2px;border-width:.5cqw;border-radius:2px;border-radius:.5cqw}
  .idcard .ibtm{gap:7px;gap:1.8cqw;padding-top:5px;padding-top:1.3cqw;border-top-width:2px;border-top-width:.5cqw}
  .idcard .bars{height:13px;height:3.3cqw}
  .idcard .qr{width:21px;width:5.36cqw;height:21px;height:5.36cqw}
  .idcard .hair{height:3px;height:.77cqw}
  .idcard .shot{box-shadow:0 0 0 2px var(--ink);box-shadow:0 0 0 .5cqw var(--ink)}

  /* ---------- the enrollment slip (enroll.js) ----------
     A PAPER FORM, not a card and not a modal: warm stock with a printed
     green masthead, a form code, punch holes down the margin, ruled
     fill-in lines, real checkboxes, a fold crease, and a perforated stub at
     the foot. The ID card it prints is the plastic; this is the paperwork
     that comes first. */
  .enr{position:fixed;inset:0;z-index:9200;display:flex;align-items:center;justify-content:center;padding:22px 16px}
  .enr-back{position:absolute;inset:0;background:rgba(8,16,12,.8);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);opacity:0;transition:opacity .5s ease}
  .enr.open .enr-back{opacity:1}
  .enr.gone .enr-back{opacity:0}
  /* the sheet: square corners, paper grain, a fold crease across the middle,
     and the soft double shadow of something lying on a desk */
  .enr-slip{position:relative;z-index:1;width:min(396px,93vw);max-height:calc(100vh - 40px);overflow:auto;
    background:#F7F5ED;color:var(--ink);border-radius:2px;
    background-image:
      linear-gradient(180deg,transparent 0 55.6%,rgba(28,28,26,.045) 55.6% 55.9%,rgba(255,255,255,.5) 55.9% 56.4%,transparent 56.4%),
      repeating-linear-gradient(97deg,rgba(28,28,26,.014) 0 2px,transparent 2px 5px),
      repeating-linear-gradient(3deg,rgba(28,28,26,.012) 0 3px,transparent 3px 7px);
    box-shadow:0 1px 1px rgba(0,0,0,.2),0 12px 20px -8px rgba(0,0,0,.5),0 30px 60px -18px rgba(0,0,0,.7);
    transform:translateY(-116%) rotate(-3deg);opacity:0}
  /* it flutters down and settles slightly off-square, the way a sheet does */
  .enr.open .enr-slip{animation:slipdrop .9s cubic-bezier(.22,.9,.28,1) forwards}
  @keyframes slipdrop{0%{opacity:0;transform:translateY(-116%) rotate(-3deg)}
    58%{opacity:1;transform:translateY(2.5%) rotate(1.1deg)}
    100%{opacity:1;transform:translateY(0) rotate(-.55deg)}}
  .enr.gone .enr-slip{animation:sliplift .5s cubic-bezier(.5,0,.75,0) forwards}
  @keyframes sliplift{to{opacity:0;transform:translateY(-15%) rotate(1.8deg) scale(.97)}}
  .enr.shake .enr-slip{animation:slipshake .4s ease}
  @keyframes slipshake{0%,100%{transform:rotate(-.55deg)}20%{transform:translateX(-7px) rotate(-.55deg)}45%{transform:translateX(6px) rotate(-.55deg)}70%{transform:translateX(-3px) rotate(-.55deg)}}
  /* security print, faint — it is paper, not a banknote */
  .enr-print{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:
    repeating-radial-gradient(circle at 16% 64%,transparent 0 17px,rgba(46,93,75,.085) 17px 18px),
    repeating-radial-gradient(circle at 78% 18%,transparent 0 21px,rgba(46,93,75,.07) 21px 22px)}
  .enr-in{position:relative;z-index:2;padding:0 20px 0 42px}
  /* punch holes down the filing margin */
  .enr-holes{position:absolute;left:14px;top:0;bottom:0;width:8px;z-index:2;pointer-events:none;
    display:flex;flex-direction:column;justify-content:center;gap:96px}
  .enr-holes i{display:block;width:8px;height:8px;border-radius:50%;background:rgba(21,37,30,.3);
    box-shadow:inset 0 1px 1px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.55)}
  /* printed masthead: name left, form code right, double rule under */
  .enr-head{position:relative;z-index:2;margin:0 20px 0 42px;padding:20px 0 7px;
    display:flex;justify-content:space-between;align-items:flex-start;gap:12px;
    border-bottom:2px solid var(--spine)}
  .enr-org{font-family:var(--f-disp);font-size:13px;letter-spacing:.03em;color:var(--spine);line-height:1.15}
  .enr-code{font-family:var(--f-data);font-size:8px;letter-spacing:.1em;text-align:right;color:var(--dim);line-height:1.6;white-space:nowrap}
  .enr-rule2{position:relative;z-index:2;height:1px;background:var(--spine);opacity:.5;margin:2px 20px 0 42px}
  .enr-eyebrow{font-family:var(--f-data);font-size:9px;letter-spacing:.15em;text-transform:uppercase;color:var(--dim);margin-top:15px}
  .enr-title{color:var(--ink);font-family:var(--f-disp);font-size:24px;line-height:1.14;font-weight:400;margin:5px 0 0;letter-spacing:.01em}
  .enr-title b{font-weight:400;display:block}
  .enr-body{font-size:13px;line-height:1.5;color:var(--dim);margin:8px 0 16px;padding-bottom:12px;border-bottom:1px dashed rgba(28,28,26,.28)}
  /* fields: a printed label sitting on a ruled line, filled in by hand */
  .enr-f{display:block;margin-bottom:15px}
  .enr-f>span{display:block;font-family:var(--f-data);font-size:8.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-bottom:3px}
  .enr-f input,.enr-f select{width:100%;background:transparent;border:none;border-bottom:1px solid rgba(28,28,26,.55);
    font-family:var(--f-data);font-weight:700;font-size:15px;letter-spacing:.06em;color:var(--ink);
    padding:4px 2px 5px;border-radius:0;-webkit-appearance:none;appearance:none;text-transform:uppercase}
  .enr-f input::placeholder{color:rgba(28,28,26,.24);font-weight:400}
  .enr-f input:focus,.enr-f select:focus{outline:none;border-bottom-width:2px;border-bottom-color:var(--spine)}
  .enr-f select{background-image:linear-gradient(45deg,transparent 50%,var(--dim) 50%),linear-gradient(135deg,var(--dim) 50%,transparent 50%);
    background-position:calc(100% - 9px) 11px,calc(100% - 4px) 11px;background-size:5px 5px;background-repeat:no-repeat;cursor:pointer}
  /* gender: tick a box, the way you would with a pen */
  .enr-boxes{display:flex;gap:16px;padding-top:3px}
  .enr-box{display:flex;align-items:center;gap:7px;background:none;border:none;padding:2px 0;cursor:pointer;
    font-family:var(--f-data);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--dim)}
  .enr-box i{width:14px;height:14px;flex:none;border:1.5px solid rgba(28,28,26,.62);border-radius:1px;position:relative;background:rgba(255,255,255,.5)}
  .enr-box:hover{color:var(--ink)}
  .enr-box:hover i{border-color:var(--ink)}
  .enr-box.on{color:var(--ink);font-weight:700}
  /* the tick is drawn, off-centre and over the rule — a pen mark, not a glyph */
  .enr-box.on i::before,.enr-box.on i::after{content:"";position:absolute;left:-1px;right:-2px;top:50%;height:2px;background:var(--brick);border-radius:1px}
  .enr-box.on i::before{transform:rotate(41deg)}
  .enr-box.on i::after{transform:rotate(-41deg)}
  /* the fields sit beside a photograph box, the way an application form does */
  .enr-grid{display:grid;grid-template-columns:1fr 106px;gap:15px;align-items:start}
  .enr-grid .enr-f:last-child{margin-bottom:0}
  /* gender ticks stack in the narrow column — a printed list, one box each */
  .enr-boxes.col{flex-direction:column;gap:5px}
  .enr-photo{position:relative;width:106px;aspect-ratio:3/4;padding:0;cursor:pointer;overflow:hidden;
    background:rgba(255,255,255,.5);border:1.5px dashed rgba(28,28,26,.45);border-radius:1px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    font-family:var(--f-data);font-size:8px;letter-spacing:.11em;text-transform:uppercase;color:var(--dim);
    text-align:center;line-height:1.5;transition:border-color .16s ease,color .16s ease}
  .enr-photo:hover{border-color:var(--spine);color:var(--ink)}
  .enr-photo b{display:block;font-weight:700;font-size:9px;color:rgba(28,28,26,.6)}
  .enr-photo.miss{border-color:var(--brick);color:var(--brick)}
  .enr-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
  /* mounted like a print: two paper corners hold it to the form */
  .enr-photo.has::before,.enr-photo.has::after{content:"";position:absolute;z-index:2;width:0;height:0;
    border:11px solid transparent}
  .enr-photo.has::before{top:0;left:0;border-top-color:rgba(28,28,26,.42);border-left-color:rgba(28,28,26,.42)}
  .enr-photo.has::after{bottom:0;right:0;border-bottom-color:rgba(28,28,26,.42);border-right-color:rgba(28,28,26,.42)}
  .enr-photo.has{border-style:solid;border-color:rgba(28,28,26,.5)}
  .enr-photo .re{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:3px 0;
    background:rgba(28,28,26,.72);color:var(--chalk);font-size:7.5px;letter-spacing:.12em}
  .enr-cap{font-family:var(--f-data);font-size:8px;letter-spacing:.1em;text-transform:uppercase;
    color:var(--dim);text-align:center;margin-top:5px;line-height:1.5}
  .enr-err{font-family:var(--f-data);font-size:9.5px;letter-spacing:.06em;color:var(--brick);margin:-8px 0 12px}
  .enr-err[hidden]{display:none}
  @media (max-width:359px){
    .enr-grid{grid-template-columns:1fr}
    .enr-photo{width:100%;max-width:132px}
    .enr-boxes.col{flex-direction:row;flex-wrap:wrap;gap:12px}
  }
  .enr-go{width:100%;margin-top:2px;border-radius:2px;background:var(--spine);color:var(--chalk)}
  .enr-skip{display:block;width:100%;margin-top:10px;background:none;border:none;cursor:pointer;
    font-family:var(--f-data);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);text-decoration:underline;text-underline-offset:3px}
  .enr-skip:hover{color:var(--ink)}
  /* the perforated stub at the foot */
  .enr-perf{position:relative;z-index:2;margin:16px 0 0;border-top:1px dashed rgba(28,28,26,.4);
    padding:8px 20px 14px 42px;display:flex;justify-content:space-between;gap:10px;
    font-family:var(--f-data);font-size:7.5px;letter-spacing:.12em;text-transform:uppercase;color:rgba(28,28,26,.42)}
  /* the registrar's stamp thuds down on submit */
  .enr-stamp{position:absolute;right:14px;top:33%;z-index:4;pointer-events:none;
    font-family:var(--f-disp);font-size:25px;letter-spacing:.06em;color:var(--brick);
    border:3px solid var(--brick);border-radius:3px;padding:4px 10px;
    transform:rotate(-13deg) scale(2.4);opacity:0}
  .enr.stamped .enr-stamp{animation:slipstamp .34s cubic-bezier(.3,1.4,.5,1) forwards}
  @keyframes slipstamp{0%{opacity:0;transform:rotate(-13deg) scale(2.4)}
    60%{opacity:.92;transform:rotate(-13deg) scale(.94)}
    100%{opacity:.92;transform:rotate(-13deg) scale(1)}}
  .enr.stamped .enr-in,.enr.stamped .enr-head{opacity:.5;transition:opacity .3s ease}
  @media (prefers-reduced-motion: reduce){
    .enr-slip{opacity:1;transform:none}
    .enr.open .enr-slip,.enr.gone .enr-slip,.enr.shake .enr-slip{animation:none}
    .enr.gone .enr-slip{opacity:0}
    .enr.stamped .enr-stamp{animation:none;opacity:.92;transform:rotate(-13deg) scale(1)}
  }

  /* ---------- the registrar (block.js) ----------
     Picture day: your ID at the top, four eras, then the shoot — a camera on
     the stage, the bulb popping while the job renders — and a yearbook page
     you can save or post. */
  .mach{position:relative}
  /* the screens are <section>s inside a <section>, so the page-wide
     section{padding:46px} lands on each one — that is the dead band under the
     plays chip. Reset it here rather than renaming the elements. */
  .m-screen{display:none;padding:0}
  .mach[data-step="pick"] .m-pick,
  .mach[data-step="shoot"] .m-shoot,
  .mach[data-step="done"] .m-done{display:block}
  .m-plays{font-family:var(--f-data);font-size:11px;letter-spacing:.11em;text-transform:uppercase;
    color:var(--acc);text-align:center;margin:4px 0 18px}
  .m-plays[hidden]{display:none}

  /* your ID, as a strip */
  .m-id{display:flex;align-items:center;gap:12px;background:var(--chalk);color:var(--ink);
    border-radius:5px;padding:10px 13px;margin-bottom:20px;box-shadow:0 2px 0 var(--spine2),0 10px 22px -12px rgba(0,0,0,.6)}
  .m-idshot{width:42px;aspect-ratio:3/4;flex:none;overflow:hidden;border-radius:2px;
    background:linear-gradient(168deg,#EFEADD,#B6AF9C);box-shadow:0 0 0 1.5px var(--ink)}
  .m-idshot img{width:100%;height:100%;object-fit:cover;display:block}
  .m-idtx{flex:1;min-width:0}
  .m-idtx b{display:block;font-family:var(--f-data);font-weight:700;font-size:13px;letter-spacing:.04em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-idtx i{font-style:normal;font-family:var(--f-data);font-size:9.5px;letter-spacing:.1em;color:var(--dim)}
  .m-idok{flex:none;font-family:var(--f-data);font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;
    color:var(--spine);border:1.5px solid var(--spine);border-radius:3px;padding:3px 6px}
  .m-id.empty{display:block;text-align:center;padding:20px 18px}
  .m-id.empty b{font-family:var(--f-disp);font-weight:400;font-size:17px;display:block;margin-bottom:6px}
  .m-id.empty p{font-size:13.5px;color:var(--dim);line-height:1.5;margin-bottom:14px}
  .btn.small{display:inline-block;width:auto;padding:10px 20px;font-size:13px;background:var(--spine);color:var(--chalk)}

  .m-hd{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}
  .m-step{font-family:var(--f-data);font-size:10px;letter-spacing:.16em;color:var(--acc)}
  .m-hd h3{font-family:var(--f-disp);font-weight:400;font-size:19px;letter-spacing:.01em}

  /* the era tiles */
  .m-tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}
  .m-tile{position:relative;text-align:left;background:var(--wall3);border:1.5px solid var(--line);border-radius:5px;
    padding:13px 13px 11px;cursor:pointer;color:var(--chalk);transition:border-color .16s ease,background .16s ease}
  .m-tile:hover{border-color:rgba(237,235,228,.34)}
  .m-tile.on{border-color:var(--acc);background:#1F3529}
  .m-tile b{display:block;font-family:var(--f-disp);font-weight:400;font-size:20px;line-height:1;margin-bottom:6px}
  .m-tile i{font-style:normal;font-family:var(--f-data);font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
  .m-tile.got::after{content:"✓";position:absolute;top:8px;right:10px;font-size:11px;color:var(--acc)}
  .m-go{background:var(--chalk);color:var(--ink)}
  .m-go:disabled{opacity:.45;cursor:default;box-shadow:none}

  /* the shelf */
  .m-shelf{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}
  .m-shelf[hidden]{display:none}
  .m-shelf-hd{font-family:var(--f-data);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-bottom:10px}
  .m-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  .m-slot{background:none;border:none;padding:0;cursor:pointer;text-align:center}
  .m-slot-img{display:block;aspect-ratio:3/4;border-radius:3px;overflow:hidden;
    background:rgba(237,235,228,.06);border:1px dashed var(--line)}
  .m-slot.got .m-slot-img{border-style:solid;border-color:var(--acc)}
  .m-slot-img img{width:100%;height:100%;object-fit:cover;display:block}
  .m-slot-lb{display:block;font-family:var(--f-data);font-size:9px;letter-spacing:.08em;color:var(--mute);margin-top:5px}
  .m-slot.got .m-slot-lb{color:var(--chalk)}

  /* picture day: the camera, and the bulb that pops while it renders */
  .m-stage{position:relative;height:210px;display:grid;place-items:center;overflow:hidden;
    background:radial-gradient(120% 90% at 50% 30%,#28402F,var(--wall2));border-radius:6px;border:1px solid var(--line)}
  .m-cam{position:relative;width:124px;height:82px;border-radius:8px;background:linear-gradient(180deg,#2A2A28,#151514);
    box-shadow:0 10px 22px -8px rgba(0,0,0,.7)}
  .m-cam::before{content:"";position:absolute;left:50%;top:-13px;transform:translateX(-50%);
    width:38px;height:13px;border-radius:4px 4px 0 0;background:#242422}
  .m-cam i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;
    background:radial-gradient(circle at 38% 34%,#5A6B60,#0C0F0D 70%);box-shadow:inset 0 0 0 3px #33352F}
  .m-bulb{position:absolute;left:50%;top:34px;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;
    background:radial-gradient(circle at 40% 36%,#FFF6D8,#C6A22A);opacity:.5}
  .m-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
  .mach[data-step="shoot"] .m-bulb{animation:mbulb 3.2s ease-in-out infinite}
  .mach[data-step="shoot"] .m-flash{animation:mflash 3.2s ease-in-out infinite}
  @keyframes mbulb{0%,72%{opacity:.45}78%{opacity:1}86%,100%{opacity:.45}}
  @keyframes mflash{0%,74%{opacity:0}77%{opacity:.62}84%,100%{opacity:0}}
  .m-say{font-family:var(--f-data);font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;
    color:var(--mute);text-align:center;margin-top:16px;min-height:1.4em}

  /* the finished page */
  .m-page{border-radius:5px;overflow:hidden;box-shadow:0 16px 38px -16px rgba(0,0,0,.75)}
  .m-canvas{display:block;width:100%;height:auto}
  .m-acts{display:flex;flex-direction:column;gap:9px;margin-top:16px}
  .m-acts .btn{margin:0}
  .btn.alt{background:var(--wall3);color:var(--chalk);box-shadow:0 3px 0 #10201A}
  .m-again{background:none;border:none;cursor:pointer;font-family:var(--f-data);font-size:11px;letter-spacing:.1em;
    text-transform:uppercase;color:var(--mute);text-decoration:underline;text-underline-offset:3px;padding:6px}
  .m-again:hover{color:var(--chalk)}

  .m-toast{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);z-index:9400;max-width:min(360px,88vw);
    background:var(--chalk);color:var(--ink);border-radius:4px;padding:12px 16px;text-align:center;
    font-size:13.5px;line-height:1.45;box-shadow:0 3px 0 var(--spine2),0 18px 40px -14px rgba(0,0,0,.7)}
  .m-toast[hidden]{display:none}
  @media (prefers-reduced-motion: reduce){
    .mach[data-step="shoot"] .m-bulb,.mach[data-step="shoot"] .m-flash{animation:none}
    .mach[data-step="shoot"] .m-bulb{opacity:.8}
  }

  .m-idsave{flex:none;background:var(--spine);border:none;border-radius:3px;color:var(--chalk);cursor:pointer;
    font-family:var(--f-data);font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:8px 11px;
    transition:background .16s ease}
  .m-idsave:hover{background:var(--spine2)}
  .m-idsave:disabled{opacity:.5;cursor:default}

  /* the receipt: the slip after the stamp, offering the card */
  .enr.done .enr-stamp{opacity:.92}
  .enr.done .enr-in{opacity:1}
  .enr-mini{width:104px;aspect-ratio:3/4;margin:0 auto 18px;overflow:hidden;border-radius:2px;
    background:linear-gradient(168deg,#EFEADD,#B6AF9C);box-shadow:0 0 0 3px var(--ink),0 10px 20px -10px rgba(0,0,0,.6)}
  .enr-mini img{width:100%;height:100%;object-fit:cover;display:block}
  .enr.done .enr-title,.enr.done .enr-body,.enr.done .enr-eyebrow{text-align:center}
  .enr.done .enr-body{border-bottom:none;padding-bottom:0;margin-bottom:16px}
  /* the hero card, once it is yours: a tap saves it */
  body.enrolled .idslot .idcard{cursor:pointer}
  body.enrolled .idslot .idcard:focus-visible{outline:2px solid var(--acc);outline-offset:4px}
  .idhint{position:absolute;left:0;right:0;top:calc(100% + 10px);text-align:center;
    font-family:var(--f-data);font-size:10px;letter-spacing:.13em;text-transform:uppercase;
    color:rgba(237,235,228,.6);opacity:0}
  body.ready.go .idhint{animation:up .8s cubic-bezier(.2,.8,.2,1) 1.9s forwards}
  body.skip-intro .idhint{animation:none;opacity:1}
  /* on the receipt the stamp moves off the copy — bottom-left, clear of the
     title, the line and the card */
  /* on the receipt the stamp sits high and right, clear of the title, the
     card and both buttons — it kept landing across whichever one moved */
  .enr.done .enr-stamp{top:49%;bottom:auto;left:12px;right:auto;font-size:19px;padding:3px 7px}

  /* the receipt while the ID prints: one forward action, one quiet extra */
  .enr-second{display:block;width:100%;margin-top:10px;background:none;border:1.5px solid rgba(28,28,26,.34);
    border-radius:2px;padding:11px 8px;cursor:pointer;font-family:var(--f-data);font-size:11.5px;font-weight:700;
    letter-spacing:.1em;text-transform:uppercase;color:var(--dim);transition:border-color .16s ease,color .16s ease}
  .enr-second:hover{border-color:var(--ink);color:var(--ink)}
  .enr-second:disabled{opacity:.5;cursor:default}
  .enr-status{font-family:var(--f-data);font-size:10.5px;letter-spacing:.06em;line-height:1.6;
    color:var(--dim);text-align:center;margin:0 0 14px;min-height:1.6em}
  .enr-status.ok{color:var(--spine)}
  .enr-status.warn{color:var(--acc)}
  .enr-status.err{color:var(--brick)}
  /* the print developing under the mini card */
  .enr-mini{position:relative}
  .enr-dev{position:absolute;inset:0;z-index:2;pointer-events:none;
    background:linear-gradient(107deg,transparent 34%,rgba(255,255,255,.55) 50%,transparent 66%);
    background-size:260% 100%;animation:devsweep 1.5s linear infinite}
  .enr-dev[hidden]{display:none}
  @keyframes devsweep{from{background-position:180% 0}to{background-position:-80% 0}}
  @media (prefers-reduced-motion: reduce){ .enr-dev{animation:none;opacity:.25} }
  .enr-go:disabled{opacity:.5;cursor:default;box-shadow:0 3px 0 var(--spine2)}

  /* topbar login / logout — a small chalk pill in the corner, one of the two
     shown once /refresh has answered */
  .tb-right{display:flex;align-items:center;gap:9px;z-index:21}
  .tb-link{font-family:var(--f-data);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
    color:var(--chalk);text-decoration:none;border:1.5px solid rgba(237,235,228,.45);border-radius:3px;padding:7px 11px;
    background:rgba(0,0,0,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:border-color .15s ease,background .15s ease}
  .tb-link:hover{border-color:var(--chalk);background:rgba(0,0,0,.45)}
  .tb-link[hidden]{display:none}
  /* welcome back: the photograph box shows the ID on file, and is optional */
  .enr-photo.onfile{border-color:var(--spine)}
  .enr-photo.onfile .re{background:rgba(46,93,75,.85)}
