/* ============================================================================
   SECTION 7 · BETA SIGN-UP SHEET, jeff-signup.css  (v2)
   Off-white printed form (Courier-style ink type), stickers + watermark,
   signature-to-submit flow. Pass card: off-white, rounded, cursor tilt.
   Scoped under .signup / .su-modal.
   ============================================================================ */

.signup, .su-modal{
  /* printed-ink type: courier-style */
  --f-print:"Courier Prime","Courier New",Courier,monospace;
  /* off-white paper for the artifacts */
  --su-paper:#f6f4ea; --su-paper-2:#efece0;
}

.signup{ position:relative; z-index:1; min-height:100vh; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  padding:clamp(90px,12vh,150px) clamp(28px,6vw,96px) clamp(175px,24vh,250px);
  background-color:var(--course-c,var(--orange)); transition:background-color .8s ease;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1.5px, transparent 1.5px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1.5px, transparent 1.5px 44px);
  background-size:44px 44px; }
.signup::before{ content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  box-shadow:inset 0 0 240px 40px rgba(20,12,4,.20);
  -webkit-mask:linear-gradient(to bottom, transparent 0, #000 320px, #000 calc(100% - 200px), transparent 100%);
          mask:linear-gradient(to bottom, transparent 0, #000 320px, #000 calc(100% - 200px), transparent 100%); }
.signup .icon, .su-modal .icon{ font-family:'Material Symbols Outlined'; }

.signup-inner{ position:relative; z-index:2; display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,500px);
  gap:clamp(36px,4.5vw,72px); align-items:center; width:min(1140px,100%); }

/* ---------------- left · copy ---------------- */
.su-copywrap{ position:relative; color:#fff; min-width:0; }
.su-wm{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) rotate(-8deg);
  font-size:min(58vh,30vw); color:rgba(255,255,255,.10); pointer-events:none; user-select:none; z-index:0; }
.su-copy{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:flex-start; }
.su-copy .c-eyebrow{ margin-bottom:20px; }
.su-title{ margin:0; font-family:var(--f-display); font-weight:600; letter-spacing:-.02em;
  font-size:clamp(34px,4.6vw,58px); line-height:1.04; text-wrap:balance; }
.su-title em{ font-family:var(--f-script); font-style:italic; font-weight:600;
  text-decoration:underline; text-decoration-style:wavy; text-decoration-thickness:2px;
  text-underline-offset:8px; text-decoration-color:rgba(255,255,255,.6); }
.su-blurb{ margin:22px 0 0; max-width:46ch; font-size:clamp(16px,1.6vw,19px); line-height:1.62;
  color:rgba(255,255,255,.92); text-wrap:pretty; }
.su-blurb strong{ color:#fff; font-weight:700; }
.su-feats{ list-style:none; margin:28px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.su-feats li{ display:flex; align-items:center; gap:14px; font-size:clamp(15px,1.3vw,17px); font-weight:500; color:#fff; }
.su-feats .icon{ font-size:22px; width:44px; height:44px; flex:none; display:grid; place-items:center;
  border-radius:12px; border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.12); }
.su-feats .sub{ display:block; font-weight:400; font-size:13.5px; color:rgba(255,255,255,.75); margin-top:2px; }
.su-fine{ margin-top:30px; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(255,255,255,.62); display:flex; flex-wrap:wrap; gap:7px 0; align-items:center; }
.su-fine .sep{ margin:0 10px; opacity:.5; }

/* ---------------- right · the sheet ---------------- */
.sheet-side{ position:relative; min-width:0; display:flex; justify-content:center; }
.sheet-wrap{ position:relative; width:min(440px,100%); transform:rotate(-1.4deg); }

.su-scrib{ position:absolute; font-family:var(--f-hand); color:rgba(255,255,255,.94);
  pointer-events:none; z-index:3; text-shadow:0 2px 10px rgba(120,40,6,.3); }
.su-scrib .sm{ display:block; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.1em;
  text-transform:uppercase; color:rgba(255,255,255,.72); margin-top:3px; }
.su-scrib.a{ right:-10px; top:-66px; font-size:24px; transform:rotate(3deg); text-align:right; }

.su-paper{ position:relative; background:var(--su-paper); border-radius:4px;
  box-shadow:0 2px 3px rgba(70,34,6,.14), 0 44px 80px -30px rgba(70,34,6,.55); }
.su-paper .grain{ border-radius:inherit; }

.sheet{ display:block; width:100%; padding:22px 28px 16px;
  background-image:
    repeating-linear-gradient(0deg, rgba(31,26,18,.03) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(31,26,18,.03) 0 1px, transparent 1px 22px); }
/* formal rim hairline */
.sheet::before{ content:""; position:absolute; inset:9px; border:1px solid rgba(31,26,18,.3);
  border-radius:2px; pointer-events:none; z-index:2; }
/* two-piece thumbtack, ported exactly from the Lumen pin-card system */
.sheet .tk{ position:absolute; left:50%; top:-24px; margin-left:-25px; width:50px; height:50px; z-index:3;
  pointer-events:none; --tkc:#cf3b30; }
.sheet .tk .sh{ position:absolute; left:50%; top:50%; transform:translate(-50%,calc(-50% + 9px));
  width:24px; height:42px; border-radius:50%; background:rgba(40,22,12,.37); filter:blur(4px); }
.sheet .tk .hole{ position:absolute; left:50%; top:50%; transform:translate(-50%,calc(-50% + 17px));
  width:5px; height:8px; border-radius:50%;
  background:linear-gradient(180deg, #c4bfb5 0%, #9a958b 55%, #6a655c 100%); box-shadow:0 1px 1px rgba(0,0,0,.22); }
.sheet .tk .base{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:32px; height:32px; border-radius:50%;
  background:radial-gradient(circle at 50% 33%,
    color-mix(in oklab,#fff 22%,var(--tkc)) 0%, var(--tkc) 46%, color-mix(in oklab,#000 32%,var(--tkc)) 100%);
  box-shadow:inset 0 -2.5px 4px rgba(0,0,0,.32), inset 0 2px 2px rgba(255,255,255,.22); }
.sheet .tk .cap{ position:absolute; left:50%; top:50%; transform:translate(-50%,calc(-50% - 6px));
  width:26px; height:26px; border-radius:50%;
  background:radial-gradient(circle at 50% 50%,
    color-mix(in oklab,#fff 5%,var(--tkc)) 0%, var(--tkc) 66%, color-mix(in oklab,#000 12%,var(--tkc)) 100%);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255,255,255,.5), inset 0 -1.5px 2px rgba(0,0,0,.22),
    inset 0 0 0 1px color-mix(in oklab,#fff 8%,transparent),
    0 3px 3px rgba(20,10,5,.45), 0 5px 5px rgba(20,10,5,.2); }
.sheet .tk .stem{ display:none; }

/* watermark + stickers */
.sh-wm{ position:absolute; left:50%; top:52%; z-index:1; transform:translate(-50%,-50%) rotate(-18deg);
  font-family:var(--f-print); font-weight:700; font-size:130px; letter-spacing:.06em;
  color:rgba(31,26,18,.05); pointer-events:none; user-select:none; white-space:nowrap; }
.stk{ position:absolute; z-index:4; pointer-events:none; }
.stk-tape .bars{ display:block; height:10px; margin-bottom:4px;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 11px); }

/* printed-ink baseline */
.sh-head, .sh-titlerow, .sh-field, .sh-foot{ position:relative; z-index:2; }
.sh-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sh-brand{ display:inline-flex; align-items:center; gap:9px; font-family:var(--f-print); font-weight:700;
  font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink);
  text-shadow:0 0 1px rgba(31,26,18,.28); }
.sh-brand .donut{ width:17px; height:17px; background:var(--orange); }
.sh-brand .donut::after{ inset:5px; background:var(--su-paper); }
.sh-formno{ font-family:var(--f-print); font-weight:700; font-size:10.5px; letter-spacing:.16em;
  padding:4px 8px; color:var(--orange-deep); border:1.5px solid var(--orange); border-radius:2px; }
.sh-rule{ margin-top:8px; height:4px; border-top:2px solid var(--orange); border-bottom:1.5px solid var(--ink); }

.sh-titlerow{ margin-top:9px; display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.sh-title{ margin:0; font-family:var(--f-print); font-weight:700; font-size:14px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink); text-shadow:0 0 1px rgba(31,26,18,.28); }
.sh-note{ font-family:var(--f-print); font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.sh-tr-right{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.sh-date{ font-family:var(--f-print); font-weight:700; font-size:9px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--ink-2); }
.sh-date i{ font-style:normal; font-family:var(--f-hand); font-size:14px; letter-spacing:0;
  text-transform:none; color:var(--scrib); font-weight:400; }

/* fields */
.sh-field{ margin-top:9px; }
.sh-field label, .sh-field .lbl{ display:flex; align-items:baseline; gap:6px;
  font-family:var(--f-print); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-2); font-weight:700; text-shadow:0 0 1px rgba(31,26,18,.2); }
.sh-field label i, .sh-field .lbl i{ font-style:normal; font-weight:400; letter-spacing:.08em; color:var(--muted); }
.sh-field .req{ color:var(--orange-deep); font-size:13px; }
.sh-field input{ display:block; width:100%; border:none; outline:none; background:transparent;
  border-bottom:1.5px solid var(--line-2); border-radius:0; padding:1px 0 3px; margin-top:1px;
  font-family:var(--f-hand); color:var(--scrib); transition:border-color .15s; }
.sh-field input:focus{ border-bottom-color:var(--orange); }
.sh-field input::placeholder{ color:var(--muted-2); opacity:.75; }
.sh-field.f1 input{ font-size:20px; line-height:1.08; }
.sh-field.f1 input::placeholder{ font-size:17px; }
.sh-field.f2 input{ font-size:20px; line-height:1.08; }
.sh-field.f2 input::placeholder{ font-size:17px; }
.sh-row2{ display:grid; grid-template-columns:1fr 1fr; gap:0 18px; align-items:end; }
.sh-row2 .sh-field label{ white-space:nowrap; font-size:9.5px; letter-spacing:.14em; }
.sh-row2 input{ font-size:17px; line-height:1.15; }
.sh-row2 input::placeholder{ font-size:14px; }
.sh-err{ display:none; margin-top:3px; font-family:var(--f-hand); font-size:16px; color:var(--red);
  transform:rotate(-1deg); }
.sh-err.show{ display:block; }

/* staff margin notes (red pen) */
.sh-staff{ display:block; margin-top:2px; font-family:var(--f-hand); font-size:13px; line-height:1.05;
  color:var(--red); opacity:.82; transform:rotate(-1.6deg); transform-origin:left center; }
.sh-staff.s2{ margin-top:2px; }
.sh-staff.s3{ position:absolute; right:2px; bottom:-22px; margin:0; transform:rotate(-2deg);
  opacity:0; transition:opacity .4s .9s; pointer-events:none; }
.sheet.sent .sh-staff.s3{ opacity:.85; }

/* checkboxes */
.sh-checks{ display:flex; gap:18px; margin-top:3px; }
.chk{ display:inline-flex; align-items:center; gap:8px; border:none; background:transparent; padding:2px 0;
  cursor:pointer; font-family:var(--f-print); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-2); }
.chk::before{ content:""; width:16px; height:16px; flex:none; border:1.5px solid var(--ink);
  border-radius:2px; display:grid; place-items:center; }
.chk.on{ color:var(--ink); font-weight:700; }
.chk.on::before{ content:"\00d7"; color:var(--orange-deep); font-size:16px; line-height:1;
  font-weight:700; display:grid; place-items:center; }

/* ---- signature field (the submit) ---- */
.sh-field.f6{ margin-top:10px; }
.sh-field.f6 .sig-row{ position:relative; margin-top:0; }
.sh-sign{ position:relative; display:block; width:100%; min-height:50px; cursor:pointer;
  border:none; background:transparent; padding:4px 0 3px; text-align:left;
  border-bottom:1.5px solid var(--ink); }
.sh-sign .sig-hint{ position:absolute; left:0; bottom:8px; display:inline-flex; align-items:center; gap:9px;
  font-family:var(--f-print); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); transition:opacity .25s; }
.sh-sign .sig-hint .x{ font-family:var(--f-hand); font-size:19px; color:var(--ink-2); }
.sh-sign:hover .sig-hint{ color:var(--ink); }
.sh-sign .sig-ink{ display:block; font-family:"Herr Von Muellerhoff",cursive; font-weight:400;
  font-size:40px; line-height:1.05; color:var(--scrib); transform:rotate(-3deg);
  opacity:0; pointer-events:none; white-space:nowrap; }
.sheet .sh-sign.signed .sig-hint{ opacity:0; }
.sheet .sh-sign.signed .sig-ink{ opacity:1; }
@media (prefers-reduced-motion: no-preference){
  .sheet .sh-sign.signed .sig-ink{ animation:sigWrite .9s cubic-bezier(.4,.1,.3,1) backwards; }
}
@keyframes sigWrite{
  0%{ clip-path:inset(-60% 101% -35% -4%); opacity:1; }
  100%{ clip-path:inset(-60% -4% -35% -4%); opacity:1; }
}
.sig-cap{ display:block; margin-top:3px; font-family:var(--f-print); font-size:8px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); }
/* after it's signed: a handwritten aside points to the pass */
.sig-view{ position:absolute; right:0; top:-24px; font-family:var(--f-hand); font-size:16px;
  color:var(--muted); transform:rotate(-2deg); opacity:0; transition:opacity .3s .4s; pointer-events:none; }
.sheet.sent .sig-view{ opacity:1; }

/* office use + fine print */
.sh-foot{ margin-top:11px; }
.sh-office{ position:relative; display:flex; align-items:center; gap:12px; min-height:34px;
  margin-top:5px; border:1.5px dashed var(--line-2); border-radius:2px; padding:6px 10px 5px; }
.of-lbl{ position:absolute; left:8px; top:-7px; padding:0 5px; background:var(--su-paper);
  font-family:var(--f-print); font-weight:700; font-size:7.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted-2); }
/* the fields "we" fill in, blank until the sheet is signed */
.of-grid{ flex:1; display:grid; grid-template-columns:1fr 1.2fr .9fr .7fr; gap:0 10px; align-items:end; }
.of-f{ display:flex; flex-direction:column; gap:1px; min-width:0; }
.of-f b{ font-family:var(--f-print); font-weight:700; font-size:7.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted-2); }
.of-f i{ font-style:normal; font-family:var(--f-hand); font-size:13px; line-height:1.1; color:var(--red);
  opacity:0; transform:rotate(-1.5deg); border-bottom:1px dotted var(--line-2); padding-bottom:1px;
  white-space:nowrap; overflow:hidden; transition:opacity .3s; }
.sheet.sent .of-f i{ opacity:.85; }
.sheet.sent .of-f:nth-child(1) i{ transition-delay:1.05s; }
.sheet.sent .of-f:nth-child(2) i{ transition-delay:1.3s; }
.sheet.sent .of-f:nth-child(3) i{ transition-delay:1.55s; }
.sheet.sent .of-f:nth-child(4) i{ transition-delay:1.8s; }
@media (prefers-reduced-motion: reduce){
  .sheet.sent .of-f i{ transition:none; }
}
.of-stamp{ margin-left:auto; font-family:var(--f-print); font-weight:700; font-size:11px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--red); border:2.5px double var(--red); border-radius:4px;
  padding:3px 8px 3px 10px; transform:rotate(-7deg); opacity:0; visibility:hidden; }
.sheet.sent .of-stamp{ visibility:visible; animation:ofStamp .45s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes ofStamp{
  0%{ opacity:0; transform:rotate(-7deg) scale(1.9); }
  60%{ opacity:1; transform:rotate(-7deg) scale(.95); }
  100%{ opacity:1; transform:rotate(-7deg) scale(1); }
}
.sheet.sent .sh-field input{ pointer-events:none; }
.sheet.sent .chk{ pointer-events:none; }
/* disclosures + fine print + barcode strip */
.sh-disc{ margin:7px 0 0; font-family:var(--f-print); font-size:7.5px; line-height:1.6;
  letter-spacing:.04em; text-transform:uppercase; color:var(--muted); text-align:justify; }
.sh-disc b{ font-weight:700; letter-spacing:.16em; color:var(--ink-2); }
.sh-fine{ margin:5px 0 0; text-align:center; font-family:var(--f-print); font-size:8.5px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--muted-2); }
.sh-barrow{ margin-top:6px; display:flex; align-items:center; gap:12px; }
.sh-barrow .bars{ flex:1; height:17px;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 7px); }
.sh-barrow .btxt{ font-family:var(--f-print); font-weight:700; font-size:8.5px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--ink-2); }
@media (prefers-reduced-motion: reduce){
  .sheet.sent .of-stamp{ animation:none; opacity:1; }
}

/* lock page scroll while the pass lightbox is open (robust: class, not inline) */
html.pass-locked{ overflow:hidden !important; }

/* ---------------- section footer ---------------- */
.su-footer{ position:absolute; left:0; right:0; bottom:0; z-index:3;
  padding:0 24px clamp(22px,3.4vh,38px); text-align:center; color:#fff;
  display:flex; flex-direction:column; align-items:center; gap:14px; }
.su-foot-cta{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:center; }
.su-foot-q{ font-family:var(--f-hand); font-size:19px; color:rgba(255,255,255,.94);
  transform:rotate(-1.5deg); }
.su-foot-btn{ display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 20px;
  border-radius:999px; text-decoration:none; cursor:pointer;
  background:#fff; color:var(--course-c,var(--orange-deep)); font-family:var(--f-display); font-weight:600; font-size:14.5px;
  box-shadow:0 3px 0 rgba(0,0,0,.22), 0 12px 22px -12px rgba(0,0,0,.55);
  transition:transform .14s ease, box-shadow .14s ease; }
.su-foot-btn:hover{ transform:translateY(-2px); box-shadow:0 5px 0 rgba(0,0,0,.22), 0 16px 26px -12px rgba(0,0,0,.55); }
.su-foot-btn:active{ transform:translateY(1px); box-shadow:0 1px 0 rgba(0,0,0,.22); }
/* legal band: a single tidy row on its own hairline rule */
.su-foot-legal{ margin:6px 0 0; width:100%; max-width:940px; padding-top:14px;
  border-top:1px solid rgba(255,255,255,.22);
  font-family:var(--f-mono); font-size:10px; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(255,255,255,.7); line-height:1.6;
  display:flex; flex-wrap:wrap; gap:2px 12px; align-items:center; justify-content:center; }
.su-foot-legal .dot{ opacity:.45; }
.su-foot-mono{ margin:0; font-family:var(--f-mono); font-size:8.5px; letter-spacing:.1em;
  text-transform:uppercase; color:rgba(255,255,255,.48); }

/* ---------------- lightbox ---------------- */
.su-modal{ position:fixed; inset:0; z-index:130; display:grid; place-items:center; padding:28px 20px; }
.su-modal[hidden]{ display:none; }
.su-backdrop{ position:absolute; inset:0;
  background:color-mix(in oklab, var(--course-c,var(--orange)) 32%, rgba(14,8,3,.82));
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  animation:suFade .3s ease backwards; }
@keyframes suFade{ from{ opacity:0; } }
.su-modal.closing .su-backdrop{ opacity:0; transition:opacity .22s ease; }

.pass-scene{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:22px;
  perspective:1100px; }
.pass-pop{ animation:passIn .55s cubic-bezier(.2,.9,.3,1.08) backwards; }
@keyframes passIn{
  0%{ opacity:0; transform:translateY(90px) rotate(6deg) scale(.7); }
  100%{ opacity:1; transform:translateY(0) rotate(0deg) scale(1); }
}
.su-modal.closing .pass-pop{ animation:passOut .2s ease forwards; }
@keyframes passOut{ 100%{ opacity:0; transform:translateY(36px) rotate(2deg) scale(.94); } }
@media (prefers-reduced-motion: reduce){
  .pass-pop{ animation:none; }
  .su-modal.closing .pass-pop{ animation:none; opacity:0; }
  .su-backdrop{ animation:none; }
}

/* ============================================================================
   THE BETA PASS v2 — tear-off stub (designer's "Beta Pass v2 — Web Embed").
   Two rounded-rect sections joined by a dashed tear rule + a full-card
   holographic foil overlay (sunpillar rainbow + name-foil + centre JEFF,
   color-dodge, parallaxed by the pointer). All scoped under .pass.
   ============================================================================ */
.pass{
  --r:18px;
  --paper:var(--su-paper); --paper-2:var(--su-paper-2);
  --f-sig:"Herr Von Muellerhoff",cursive;
  --mx:50%; --px:50%; --py:44%; --hue:0deg; --fx:.09; --glo:.14; --rx:0deg; --ry:0deg;
  --sp1:hsl(2,100%,73%); --sp2:hsl(53,100%,69%); --sp3:hsl(93,100%,69%);
  --sp4:hsl(176,100%,76%); --sp5:hsl(228,100%,74%); --sp6:hsl(283,100%,73%);
  --foil:linear-gradient(100deg,#ff5db0,#ffc24d,#7bffa0,#4dd7ff,#b09fff,#ff5db0);
  /* content-width (not a fixed 612) so that removing the stub's 118px slot lets
     the scene/fit re-centre the remaining 494px card automatically — horizontally
     in desktop, vertically in the rotated small-screen mode. See .peeled below. */
  position:relative; width:max-content; height:300px; flex:none; touch-action:none;
  display:flex; align-items:stretch;
  filter:drop-shadow(0 2px 2px rgba(70,34,6,.2)) drop-shadow(0 20px 32px rgba(70,34,6,.42));
  transform:perspective(1050px) rotateX(var(--rx)) rotateY(var(--ry)); will-change:transform;
}
/* the pass lives in a content-width fitter so the scene centres the *actual* card
   (612 with the stub, 494 once it's peeled). */
.pass-fit{ width:max-content; height:300px; }
/* small screens: stand the ticket up — rotate it 90° clockwise into a 300×612
   footprint, then zoom-to-fit the viewport so the design stays pixel-exact */
@media (max-width:660px){
  .pass-fit{ position:relative; width:300px; height:612px;
    zoom:min(1, calc((100vw - 32px) / 300), calc((100vh - 96px) / 612)); }
  .pass{ position:absolute; top:50%; left:50%; transform-origin:center center;
    transform:translate(-50%,-50%) rotate(90deg) perspective(1050px) rotateX(var(--rx)) rotateY(var(--ry)); }
}

/* ===== RIP-OFF — tear the stub away when the pass is clicked or closed =====
   JS toggles .ripped on #passCard; the stub flings off with gravity, the
   perforation fades, and the holo re-masks so the foil stops hanging in the
   empty space the stub left behind. */
.pass .stub{ cursor:pointer; transform-origin:88% 92%; }
.pass .stub:hover .stub-head{ color:var(--red); }
/* The stub just FLINGS off (pure transform, full width — no reflow, no squish). */
.pass.ripped .stub{ animation: stubRip 1.15s cubic-bezier(.34,.02,.5,1) forwards; pointer-events:none; will-change:transform; }
@keyframes stubRip{
  0%{ transform:none; opacity:1; }
  16%{ transform:rotate(-2.5deg) translate(-3px,1px); }
  34%{ transform:rotate(6deg) translate(-12px,-5px); }
  52%{ transform:rotate(-10deg) translate(-34px,30px); opacity:1; }
  100%{ transform:translate(-160px,440px) rotate(-46deg); opacity:0; }
}

/* The kept card (main+portrait+holo+tear+stamp) is one unit. It re-centres with a GPU
   transform when the stub peels — translateX(-59px) = half the 118px stub. In the
   rotated small-screen mode local-x maps to screen-up, so the same value re-centres
   vertically. No per-frame reflow; the only layout change is the final snap to the
   peeled state, which is seamless (the card is centred either way). */
.pass-card{ position:relative; display:flex; align-items:stretch; width:494px; flex:none; }
.pass.ripped .pass-card{ transform:translateX(-59px); transition:transform .72s cubic-bezier(.22,1,.36,1); }
.pass.peeled .pass-card{ transform:none; transition:none; }
.pass.ripped .tear{ opacity:0; transition:opacity .18s ease; }
/* (holo is already locked to the 494 card in the base rule, so peeling changes
   nothing about the foil — it just travels with the card.) */
@media (prefers-reduced-motion: reduce){
  .pass.ripped .stub{ animation:none; opacity:0; }
}
/* small screens: the ticket is stood up 90°cw — the tear falls with screen gravity */
@keyframes stubRipRot{
  0%{ transform:none; opacity:1; }
  16%{ transform:rotate(-2.5deg) translate(1px,3px); }
  34%{ transform:rotate(6deg) translate(-5px,12px); }
  52%{ transform:rotate(-10deg) translate(30px,34px); opacity:1; }
  100%{ transform:translate(440px,160px) rotate(-46deg); opacity:0; }
}
/* rotated ticket: swap the fling for the gravity-correct one */
@media (max-width:660px){ .pass.ripped .stub{ animation-name:stubRipRot; } }

/* ===== PEELED — the static "stub gone, centred" state (State B) =====
   Reached either by the rip animation finishing (JS adds .peeled on the stub's
   animationend) or by opening straight into it (already-on-the-list / previously
   peeled). The stub + tear are out of flow, so the pass is 494 wide and the
   scene (desktop) / fit (rotated) re-centre it automatically. */
.pass.peeled .stub{ display:none; }
.pass.peeled .tear{ display:none; }
/* (.peeled .holo mask is handled by the combined rule above — no fixed viewBox) */

.pass .sec{ position:relative; background:var(--paper); border-radius:var(--r); overflow:hidden; }
.pass .sec::before{ content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:radial-gradient(rgba(31,26,18,.045) 1px, transparent 1px); background-size:5px 5px; }

/* left · tear-off stub */
.pass .stub{ width:118px; flex:none; display:flex; flex-direction:column; padding:16px 14px 12px; }
.pass .stub-head{ display:flex; align-items:center; justify-content:space-between;
  font-family:var(--f-print); font-weight:700; font-size:10px; color:var(--ink-2); }
.pass .stub-head .ast{ color:var(--red); font-size:12px; }
.pass .stub-code{ position:relative; flex:1; margin:10px 2px; display:flex; }
.pass .stub-bars{ flex:1;
  background-image:repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg, var(--ink) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(0deg, var(--ink) 0 1px, transparent 1px 7px);
  border-top:1.5px solid var(--ink); border-bottom:1.5px solid var(--ink); }
.pass .stub-vlabel{ position:absolute; right:-7px; top:50%; transform:translateY(-50%) rotate(180deg);
  writing-mode:vertical-rl; text-orientation:mixed; white-space:nowrap;
  font-family:var(--f-print); font-size:7.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); background:var(--paper); padding:6px 0; }
.pass .stub-no{ font-family:var(--f-print); font-weight:700; font-size:10.5px; letter-spacing:.12em; color:var(--ink-2); text-align:center; }
.pass .stub-keep{ margin-top:3px; font-family:var(--f-print); font-size:7px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted-2); text-align:center; white-space:nowrap; }

/* tear join (seam between the two touching rounded cards) */
/* the tear seam sits at the card's left edge and travels with the .pass-card */
.pass .tear{ position:absolute; left:0; top:0; bottom:0; width:0; z-index:5; }
.pass .tear-rule{ position:absolute; left:50%; top:12px; bottom:12px; width:0; border-left:2px dashed var(--line-2); transform:translateX(-50%); }

/* right · main panel. Fixed 346px (was flex:1) so the card keeps its exact size
   whether the stub is present (612 total) or peeled (494) — the pass is now
   content-width, so a fixed main is what makes removing the stub re-centre. */
.pass .main{ width:346px; flex:none; min-width:0; display:flex; flex-direction:column; border-radius:var(--r) 0 0 var(--r); }
.pass .m-titlebar{ position:relative; padding:12px 16px 11px; border-bottom:1.5px solid var(--ink); }
.pass .m-topline{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pass .m-brand{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  font-family:var(--f-print); font-weight:700; font-size:9px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); }
.pass .m-brand .donut{ width:14px; height:14px; border-radius:50%; background:var(--orange); position:relative; flex:none; }
.pass .m-brand .donut::after{ content:""; position:absolute; inset:4px; border-radius:50%; background:var(--paper); }
.pass .m-code{ font-family:var(--f-print); font-size:8.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.pass .m-code b{ color:var(--ink-2); }
.pass .m-bigtitle{ margin:7px 0 0; font-family:var(--f-display); font-weight:700; white-space:nowrap;
  font-size:52px; line-height:.9; letter-spacing:-3.9px;
  background-image:linear-gradient(105deg,#6e2447,#6e4f12,#215c33,#174f6e,#443481,#6e2447);
  background-size:220% 100%; background-position-x:var(--mx,50%);
  -webkit-background-clip:text; background-clip:text; color:transparent; filter:hue-rotate(var(--hue,0deg)); }
.pass .m-bigtitle .jdot{ display:inline-block; width:11px; height:11px; margin:0 3px 0 1px; border-radius:50%; background:var(--orange); vertical-align:baseline; }

.pass .m-body{ display:flex; flex:1; min-height:0; }
.pass .m-fields{ flex:1; min-width:0; display:flex; flex-direction:column; padding:11px 16px 12px; position:relative; z-index:1; }
.pass .m-rows{ margin:0; display:flex; flex-direction:column; }
.pass .m-row{ display:grid; grid-template-columns:74px 1fr; gap:8px; align-items:baseline; padding:1.5px 0; }
.pass .m-row + .m-row{ border-top:1px solid var(--line); }
.pass .m-row dt{ font-family:var(--f-print); font-weight:700; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-2); text-shadow:0 0 1px rgba(31,26,18,.2); }
.pass .m-row dd{ margin:0; font-family:var(--f-hand); font-weight:600; font-size:14px; color:var(--scrib); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pass .m-row dd.print{ font-family:var(--f-print); font-weight:400; font-size:11.5px; letter-spacing:.04em; color:var(--ink); overflow:visible; }
.pass .m-sig{ margin-top:7px; display:flex; align-items:flex-end; gap:10px; padding-top:6px; }
.pass .m-sig .line{ flex:1; border-bottom:1px solid var(--line-2); position:relative; height:20px; }
.pass .m-sig .script{ position:absolute; right:8px; bottom:-7px; font-family:var(--f-sig); font-size:28px; color:var(--orange-deep); transform:rotate(-4deg); }
.pass .m-sig .cap{ font-family:var(--f-print); font-size:7.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted-2); }
.pass .m-disc{ margin:8px 0 0; font-family:var(--f-print); font-size:6.5px; line-height:1.5; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); text-align:left; }
.pass .m-disc b{ letter-spacing:.14em; color:var(--ink-2); }
.pass .m-circ{ position:relative; display:inline-block; }
.pass .m-circ::after{ content:""; position:absolute; inset:-3px -7px; border:1.5px solid var(--red); border-radius:50%; transform:rotate(-3deg); }

/* portrait · own full-height section, flush right */
.pass .m-portrait{ position:relative; width:148px; flex:none; background:var(--paper-2);
  border-left:1.5px solid var(--ink); border-radius:0 var(--r) var(--r) 0; overflow:hidden; display:flex; flex-direction:column; }
.pass .p-vlabel{ position:absolute; left:3px; top:14px; z-index:2; writing-mode:vertical-rl; text-orientation:mixed;
  font-family:var(--f-print); font-size:7.5px; letter-spacing:.22em; text-transform:uppercase; color:var(--muted-2); }
.pass .p-face{ flex:1; position:relative; display:grid; place-items:center; }
.pass .p-face .donut{ width:74px; height:74px; border-radius:50%; background:var(--orange); position:relative; }
.pass .p-face .donut::after{ content:""; position:absolute; inset:23px; border-radius:50%; background:var(--paper-2); }
.pass .p-face .scrib1{ position:absolute; left:16px; top:12px; font-family:var(--f-hand); font-size:16px; color:var(--scrib); transform:rotate(-8deg); }
.pass .p-face .scrib2{ position:absolute; right:10px; bottom:14px; font-family:var(--f-hand); font-size:15px; color:var(--muted); transform:rotate(4deg); }
.pass .p-face::before, .pass .p-face::after{ content:""; position:absolute; width:12px; height:12px; opacity:.55; }
.pass .p-face::before{ left:10px; bottom:10px; border-left:1.5px solid var(--ink); border-bottom:1.5px solid var(--ink); }
.pass .p-face::after{ right:10px; top:10px; border-right:1.5px solid var(--ink); border-top:1.5px solid var(--ink); }
.pass .p-bar{ flex:none; display:flex; align-items:center; justify-content:center; gap:8px; background:var(--orange); color:#fff; padding:17px 8px;
  font-family:var(--f-print); font-weight:700; font-size:11px; letter-spacing:.18em; text-transform:uppercase; }
.pass .p-bar .circ{ display:inline-grid; place-items:center; min-width:21px; height:21px; border-radius:50%; border:1.5px solid #fff; font-size:10px; transform:rotate(-6deg); }

/* holographic overlay — sunpillar foil grid + tiled holder-name + centre JEFF + glare,
   clipped to the two-section silhouette; driven by --mx/--hue/--px/--py/--fx/--glo */
/* Holo foil fills the .pass-card (main+portrait) and travels with it as one unit, so it
   never re-clips or reflows when the stub peels. overflow:hidden + border-radius clip it
   to the card's rounded rect (no fixed-viewBox mask). */
.pass .holo{ position:absolute; inset:0; z-index:50; pointer-events:none; border-radius:var(--r); overflow:hidden; }
.pass .holo > *{ position:absolute; }
.pass .h-grid{ inset:0; background-image:repeating-linear-gradient(113deg, var(--sp1),var(--sp2),var(--sp3),var(--sp4),var(--sp5),var(--sp6),var(--sp1));
  background-size:220% 100%; background-position-x:var(--mx);
  -webkit-mask-image:repeating-linear-gradient(90deg,#000 0 1.5px,transparent 1.5px 26px),repeating-linear-gradient(0deg,#000 0 1.5px,transparent 1.5px 26px);
  mask-image:repeating-linear-gradient(90deg,#000 0 1.5px,transparent 1.5px 26px),repeating-linear-gradient(0deg,#000 0 1.5px,transparent 1.5px 26px);
  mix-blend-mode:color-dodge; opacity:var(--fx); filter:hue-rotate(var(--hue)); }
.pass .h-names{ inset:-26px; display:flex; flex-direction:column; justify-content:space-between;
  transform:rotate(-10deg) scale(1.22); mix-blend-mode:color-dodge; opacity:calc(var(--fx)*.85); filter:hue-rotate(var(--hue)); }
.pass .h-names .hrow{ font-family:var(--f-display); font-weight:700; font-size:11px; letter-spacing:.22em; text-transform:uppercase; white-space:nowrap; line-height:1; user-select:none;
  background-image:var(--foil); background-size:220% 100%; background-position-x:var(--mx); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pass .h-names .hrow:nth-child(2n){ margin-left:-38px; }
.pass .h-names .hrow:nth-child(3n){ margin-left:-16px; }
.pass .h-ic{ font-family:'Material Symbols Outlined'; font-weight:400; font-size:46px; line-height:1;
  background-image:var(--foil); background-size:220% 100%; background-position-x:var(--mx); -webkit-background-clip:text; background-clip:text; color:transparent;
  mix-blend-mode:color-dodge; opacity:calc(var(--fx)*2.2); filter:hue-rotate(var(--hue)); }
.pass .h-tr{ right:14px; top:12px; }
.pass .h-bl{ left:14px; bottom:12px; }
.pass .h-center{ left:50%; top:50%; transform:translate(-50%,-50%); font-family:var(--f-display); font-weight:700; font-size:150px; letter-spacing:-.04em; line-height:1; user-select:none;
  color:transparent; -webkit-text-stroke:2.5px rgba(150,200,255,.9); mix-blend-mode:color-dodge; opacity:calc(var(--fx)*1.6); filter:hue-rotate(var(--hue)); }
.pass .h-glare{ inset:0; background:radial-gradient(farthest-corner circle at var(--px) var(--py), rgba(255,255,255,.5) 8%, rgba(255,255,255,.16) 28%, rgba(20,10,4,.14) 92%);
  mix-blend-mode:overlay; opacity:var(--glo,.22); }

/* close button + email-sent stamp — site behaviours, layered above the holo */
.pass-close{ position:absolute; right:8px; top:8px; z-index:60; width:34px; height:34px;
  border:1.5px dashed transparent; border-radius:50%; background:transparent; cursor:pointer;
  font-family:var(--f-display); font-size:19px; line-height:1; color:var(--muted);
  display:grid; place-items:center; transition:background .15s, color .15s, border-color .15s; }
.pass-close:hover{ background:var(--paper-2); color:var(--ink); border-color:var(--line-2); }

.pc-stamp{ position:absolute; right:158px; top:50%; z-index:55; pointer-events:none;
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--f-print); font-weight:700; font-size:14px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--red); border:3px double var(--red); border-radius:6px; padding:6px 11px 6px 14px;
  transform:rotate(-12deg); opacity:0; visibility:hidden;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E"); }
.pc-stamp .icon{ font-size:16px; }
.pass.stamped .pc-stamp{ visibility:visible; animation:pcStamp .5s cubic-bezier(.2,1.4,.4,1) forwards; }
.pass.stamped.quiet .pc-stamp{ animation:none; opacity:1; }
@keyframes pcStamp{
  0%{ opacity:0; transform:rotate(-12deg) scale(2.2); }
  55%{ opacity:1; transform:rotate(-12deg) scale(.95); }
  100%{ opacity:1; transform:rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .pass.stamped .pc-stamp{ animation:none; opacity:1; }
}

/* note under the card */
.pass-note{ margin:0; max-width:46ch; text-align:center; font-family:var(--f-mono); font-size:11px;
  letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.88); line-height:1.7; }
.pass-note b{ color:#fff; }
.pass-note .icon{ font-size:14px; vertical-align:-2px; margin-right:6px; }

/* touch: grow the checkbox hit area to ~45px without changing the visual layout */
@media (pointer:coarse){
  .chk{ padding:13px 4px; margin:-11px -4px; }
}

/* busy cursor while the signature submit contacts the server (Turnstile → Sheet → email) */
html.sh-busy, html.sh-busy *{ cursor:progress !important; }

/* ---------------- responsive ---------------- */
@media (max-width:899px){
  .signup{ flex-direction:column; justify-content:flex-start;
    padding:clamp(70px,10vh,110px) clamp(22px,6vw,40px) clamp(40px,6vh,60px); }
  .signup-inner{ grid-template-columns:1fr; width:100%; max-width:520px; margin:0 auto; gap:40px; }
  .su-copy{ align-items:center; text-align:center; }
  .su-title{ font-size:clamp(31px,8.4vw,44px); }
  .su-blurb{ font-size:15.5px; line-height:1.6; max-width:38ch; }
  .su-feats{ align-items:flex-start; text-align:left; gap:16px; max-width:340px; margin-left:auto; margin-right:auto; }
  .su-feats li{ font-size:15px; }
  .su-fine{ justify-content:center; }
  .sheet-wrap{ transform:rotate(0deg); width:min(400px,100%); }
  .su-scrib{ display:none; }
  /* footer flows in-document on mobile so it can't collide with the sheet */
  .su-footer{ position:static; margin-top:52px; padding:0 8px; gap:14px; }
  .su-foot-cta{ display:none; }
  .su-foot-legal{ font-size:9.5px; gap:0 7px; }
}
@media (max-width:640px){
  .signup-inner{ gap:34px; }
  .sheet{ padding:26px 20px 20px; }
  .sh-wm{ font-size:88px; }
  /* the pass itself scales via `zoom` (see .pass @media max-width:660px) */
  .sh-sign .sig-ink{ font-size:34px; }
  .sh-row2{ grid-template-columns:1fr; gap:0; }
  .su-footer{ margin-top:44px; }
  .su-foot-legal{ font-size:9px; }
  .su-foot-mono{ font-size:8px; }
}
