/* =====================================================================
   UNASSISTED — shared parts, the poster (landing) and the front desk
   ===================================================================== */

/* ---------- illustrations: ink outline + colour plate out of register ---------- */
.art { overflow: visible; width: 100%; height: auto; }
.art .o { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.art .t { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.art .pen { fill: none; stroke: var(--red); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.art .chalk { fill: none; stroke: var(--chalk); stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.art .fill { mix-blend-mode: var(--blend); }
.art .fy { fill: var(--yellow); } .art .fr { fill: var(--red); } .art .fb { fill: var(--blue); } .art .fp { fill: var(--pink); }
.art .fk { fill: var(--ink); } .art .fw { fill: var(--paper-hi); } .art .fs { fill: var(--slate); }
.art .o.fk { fill: var(--ink); } .art .o.fw { fill: var(--paper-hi); } .art .o.fs { fill: var(--slate); } .art .o.fr { fill: var(--red); }

/* ---------- tones: each round has its ink ---------- */
.t-red { --tone: var(--red); --on: var(--light); }
.t-blue { --tone: var(--blue); --on: var(--light); }
.t-slate { --tone: var(--slate); --on: var(--chalk); }
.t-yellow { --tone: var(--yellow); --on: var(--dark); }
.t-pink { --tone: var(--pink); --on: var(--dark); }

/* ---------- section scaffolding ---------- */
.sec { padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.sec-head { margin-bottom: 1.6rem; max-width: 46rem; }
.sec-head h2 { font-size: clamp(2.6rem, 9vw, 5.2rem); margin: .2rem 0 .5rem; }
.sec-sub { font-size: 1.15rem; color: var(--ink-2); margin: 0; }

/* ---------- station cards (the hand you're dealt) ---------- */
.scard {
  position: relative; display: flex; flex-direction: column; text-align: left; text-decoration: none;
  width: 13.2rem; flex: none; padding: .6rem .6rem .75rem; border-radius: 14px;
  background: var(--tone); color: var(--on); border: var(--line) solid var(--ink); box-shadow: var(--shadow);
}
.scard-win { position: relative; background: var(--paper-hi); border: var(--line) solid var(--ink); border-radius: 9px; padding: .8rem 1.5rem .5rem; aspect-ratio: 1 / .86; display: grid; place-items: center; overflow: hidden; }
.scard-win::after { content: ""; position: absolute; inset: 0; color: var(--ink); opacity: .07; background-image: radial-gradient(circle, currentColor 0 1.4px, transparent 1.6px); background-size: 7px 7px; pointer-events: none; }
.scard-no { position: absolute; left: -.55rem; top: -.75rem; z-index: 3; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 400 1.2rem/1 var(--f-fat); border: var(--line) solid var(--ink); transform: rotate(-8deg); }
.scard-name { font: 900 2rem/.9 var(--f-cond); letter-spacing: .02em; text-transform: uppercase; margin: .7rem .2rem .25rem; }
.scard-line { font: 400 .9rem/1.25 var(--f-type); margin: 0 .2rem .2rem; opacity: .95; }
.scard-state { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.scard.done .scard-win > .art { opacity: .35; }
.scard.locked { filter: saturate(.55); }
.scard.locked .scard-win > .art { opacity: .3; }
.scard-lock { width: 3rem; height: 3rem; color: var(--ink); }
.scard-score { font: 400 3.6rem/1 var(--f-fat); color: var(--red); transform: rotate(-7deg); text-shadow: 3px 3px 0 var(--paper-hi), -1px -1px 0 var(--paper-hi); }
button.scard, a.scard { cursor: pointer; }

.fan { display: flex; justify-content: center; padding: 1.8rem 0 3rem; }
.fan .scard { margin: 0 -.85rem; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .24s var(--ease-thud), box-shadow .2s; }
.fan .scard:nth-child(1) { --r: -9deg; --y: 2.4rem; } .fan .scard:nth-child(2) { --r: -4.5deg; --y: .7rem; }
.fan .scard:nth-child(4) { --r: 4.5deg; --y: .7rem; } .fan .scard:nth-child(5) { --r: 9deg; --y: 2.4rem; }
.fan .scard:hover, .fan .scard:focus-visible { transform: translateY(-1.5rem) rotate(0deg) scale(1.06); z-index: 5; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .fan { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding: 1.6rem 1.25rem 2rem; margin: 0 -1.25rem; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan .scard { margin: 0; transform: none !important; scroll-snap-align: center; }
  .fan .scard:nth-child(odd) { rotate: -1.2deg; } .fan .scard:nth-child(even) { rotate: 1.2deg; }
}

/* ---------- the punch card ---------- */
.punch { background: var(--paper-hi); border: var(--line) solid var(--ink); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; box-shadow: var(--shadow); position: relative; }
.punch-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; border-bottom: 2px dashed var(--ink); padding-bottom: .55rem; margin-bottom: .8rem; }
.punch-head b { font: 900 1.5rem/1 var(--f-cond); letter-spacing: .04em; text-transform: uppercase; }
.punch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: .45rem; }
.hole { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--ink-3); display: grid; place-items: center; font: 700 .68rem/1 var(--f-cond); color: var(--ink-3); position: relative; }
.hole.done { border: 2px solid var(--ink); background: var(--ink); color: transparent; box-shadow: inset 3px 3px 0 color-mix(in srgb, var(--paper) 22%, transparent); }
.hole.next { border: 2px solid var(--red); color: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.hole.pop { animation: hole-pop .3s var(--ease-thud); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 25%, transparent); } }
@keyframes hole-pop { from { transform: scale(1.5); } }

/* =====================================================================
   THE POSTER (landing)
   ===================================================================== */
.hero { padding-top: clamp(1.4rem, 4vw, 2.6rem); }
.flyer { filter: drop-shadow(9px 9px 0 var(--ink)); }
.poster { position: relative; background: var(--paper-hi); border: var(--line) solid var(--ink); border-bottom: 0; padding: clamp(1.1rem, 3.5vw, 2.4rem) clamp(1.1rem, 4vw, 3rem) clamp(1.4rem, 3.5vw, 2.4rem); overflow: hidden; isolation: isolate; }
.poster-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: var(--line) solid var(--ink); padding-bottom: .7rem; }
.sun { position: absolute; z-index: -1; right: -7%; top: 9%; width: min(46%, 30rem); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.sun::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; color: var(--blue); opacity: .5; background-image: radial-gradient(circle, currentColor 0 1.6px, transparent 1.9px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(circle, transparent 52%, #000 53%, #000 68%, transparent 69%); mask-image: radial-gradient(circle, transparent 52%, #000 53%, #000 68%, transparent 69%); }
.bout { display: flex; flex-direction: column; align-items: flex-start; margin: clamp(.6rem, 2vw, 1.2rem) 0 0; line-height: .8; }
.bout-you { position: relative; font-size: clamp(6.2rem, 27vw, 17.5rem); color: var(--red); letter-spacing: -.02em; line-height: .86; margin-left: -.03em; }
.bout-you::before { content: attr(data-text); position: absolute; left: .045em; top: .035em; color: var(--blue); mix-blend-mode: var(--blend); z-index: -1; }
.bout-vs { align-self: flex-start; margin: -1.2rem 0 -.4rem clamp(9rem, 44vw, 30rem); width: clamp(3.6rem, 9vw, 5.6rem); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 400 clamp(1.3rem, 3.4vw, 2.1rem)/1 var(--f-fat); transform: rotate(-12deg); position: relative; z-index: 2; }
.bout-auto { position: relative; display: inline-block; font: 900 clamp(3.1rem, 14.2vw, 9.6rem)/.84 var(--f-cond); letter-spacing: -.012em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.bout-auto .bout-the { font-size: .34em; letter-spacing: .12em; vertical-align: 1.35em; margin-right: .2em; }
.bout-auto .hollow { color: transparent; -webkit-text-stroke: clamp(2px, .32vw, 3.5px) var(--ink); background-image: radial-gradient(circle, var(--ink) 0 1.5px, transparent 1.8px); background-size: 7px 7px; -webkit-background-clip: text; background-clip: text; }
.bout-strike { position: absolute; left: 14%; top: 0; width: 88%; height: 100%; overflow: visible; pointer-events: none; }
.bout-strike path { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; mix-blend-mode: var(--blend); stroke-dasharray: 1; stroke-dashoffset: 1; animation: strike .7s 1s cubic-bezier(.4, .1, .3, 1) forwards; }
@keyframes strike { to { stroke-dashoffset: 0; } }
.poster-facts { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: clamp(1.25rem, 3.6vw, 2.1rem); margin: clamp(1rem, 3vw, 1.8rem) 0 .7rem; }
.poster-facts i { color: var(--red); font-style: normal; font-size: .7em; }
.poster-pitch { max-width: 30rem; font: 400 clamp(1.1rem, 2.6vw, 1.4rem)/1.3 var(--f-type); margin-bottom: 1.5rem; }
.poster-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; }
.poster-cta p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.poster-cta a { color: var(--ink); display: inline-block; padding: .55rem .6rem .55rem 0; }   /* a thumb-sized target */

/* the bell: the one call to action everywhere */
.bellbtn { display: inline-flex; align-items: center; gap: 1rem; padding: .65rem 1.6rem .65rem .9rem; text-align: left; background: var(--yellow); color: var(--dark); border: var(--line) solid var(--ink); border-radius: 8px; box-shadow: var(--shadow-lg); transition: transform .07s ease-out, box-shadow .07s ease-out; -webkit-tap-highlight-color: transparent; }
.bellbtn:hover { transform: translate(-2px, -2px); box-shadow: 11px 11px 0 var(--ink); }
.bellbtn:active { transform: translate(7px, 7px); box-shadow: 2px 2px 0 var(--ink); }
.bellbtn-art { width: clamp(3.6rem, 9vw, 4.8rem); flex: none; }
.bellbtn-art .art .o, .bellbtn-art .art .t { stroke: var(--dark); }
.bellbtn-art .art .fk { fill: var(--dark); } .bellbtn-art .art .fw, .bellbtn-art .art .o.fw { fill: var(--light); }
.bellbtn-art .bell-dome .fy { fill: var(--red); }
.bellbtn b { display: block; font: 900 clamp(1.7rem, 5.4vw, 2.6rem)/.9 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; }
.bellbtn small { font: 400 .95rem/1.2 var(--f-type); display: block; margin-top: .3rem; }
.bell-hammer { transform-box: view-box; transform-origin: 103.5px 88px; transform: rotate(13deg); transition: transform .14s var(--ease-out); }
.bell-dome { transform-box: view-box; transform-origin: 60px 88px; }
.bellbtn:hover .bell-hammer { transform: rotate(27deg); }
.ring .bell-hammer { animation: hammer .3s ease-out; }
.ring .bell-dome { animation: dome .5s ease-out; }
@keyframes hammer { 0% { transform: rotate(27deg); } 35% { transform: rotate(-7deg); } 100% { transform: rotate(13deg); } }
@keyframes dome { 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } }

/* tear-off tabs along the bottom of the flyer */
.tearoffs { display: flex; background: transparent; }
.tear { flex: 1; height: 5.8rem; background: var(--paper-hi); border: var(--line) solid var(--ink); border-top: 2px dashed var(--ink); border-left-width: 0; writing-mode: vertical-rl; font: 900 .82rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; display: grid; place-items: center; transform-origin: top center; transition: transform .16s var(--ease-out), background-color .12s; color: var(--ink); }
.tear:first-child { border-left-width: var(--line); }
.tear:hover { transform: rotate(3.5deg) translateY(3px); background: var(--yellow); color: var(--dark); z-index: 2; }
.tear.gone { animation: tear-off .75s cubic-bezier(.45, 0, .85, .45) forwards; pointer-events: none; }
.tear.missing { visibility: hidden; }
@keyframes tear-off { 25% { transform: rotate(-9deg) translateY(8px); } 100% { transform: translate(-40px, 70vh) rotate(-80deg); opacity: 0; } }
@media (max-width: 720px) { .tear:nth-child(n+7) { display: none; } .tear { height: 5rem; } }

/* injury report */
.report { overflow: hidden; }
.report-row { display: grid; grid-template-columns: 10.5rem 9rem 1fr 15rem; gap: 1rem; padding: .95rem 1.1rem; border-top: 2px solid var(--ink); align-items: center; }
.report-row:first-child { border-top: 0; }
.report-th { background: var(--ink); color: var(--paper); font: 700 .78rem/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; padding-block: .7rem; }
.report-row b { font: 900 1.5rem/1 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; }
.report-row p { margin: 0; }
.report-src { font: 400 .8rem/1.35 var(--f-type); color: var(--ink-2); }
.report-row:not(.report-th):hover { background: color-mix(in srgb, var(--yellow) 22%, transparent); }
@media (max-width: 860px) {
  .report-th { display: none; }
  .report-row { grid-template-columns: 1fr auto; gap: .4rem .8rem; }
  .report-row:nth-child(2) { border-top: 0; }
  .report-row p, .report-src { grid-column: 1 / -1; }
}
.note { max-width: 27rem; margin: 2.2rem 0 0 auto; font-size: 1.22rem; transform: rotate(1.2deg); background: var(--paper-hi); box-shadow: 4px 4px 0 var(--ink); }

/* house rules: three signs screwed to the gym wall */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: sign; }
.sign { counter-increment: sign; position: relative; background: var(--ink); color: var(--paper); padding: 1.6rem 1.3rem 1.4rem; border-radius: 6px; box-shadow: 6px 6px 0 var(--red); }
.sign:nth-child(1) { transform: rotate(-1.4deg); } .sign:nth-child(2) { transform: rotate(.8deg) translateY(.6rem); box-shadow: 6px 6px 0 var(--blue); } .sign:nth-child(3) { transform: rotate(-.6deg); box-shadow: 6px 6px 0 var(--yellow); }
.sign::before { content: "RULE " counter(sign); font: 700 .78rem/1 var(--f-cond); letter-spacing: .24em; color: var(--yellow); }
.sign::after { content: ""; position: absolute; inset: .55rem; pointer-events: none; background: radial-gradient(circle, var(--paper) 0 2.5px, transparent 3px) left top / 12px 12px no-repeat, radial-gradient(circle, var(--paper) 0 2.5px, transparent 3px) right top / 12px 12px no-repeat, radial-gradient(circle, var(--paper) 0 2.5px, transparent 3px) left bottom / 12px 12px no-repeat, radial-gradient(circle, var(--paper) 0 2.5px, transparent 3px) right bottom / 12px 12px no-repeat; opacity: .55; }
.sign b { display: block; font: 400 clamp(2.2rem, 5vw, 3.3rem)/.95 var(--f-fat); text-transform: uppercase; margin: .5rem 0 .6rem; }
.sign span { font-size: 1rem; line-height: 1.45; color: color-mix(in srgb, var(--paper) 86%, transparent); display: block; }
@media (max-width: 800px) { .signs { grid-template-columns: 1fr; } .sign:nth-child(n) { transform: rotate(0); } }

/* last call */
.lastcall { margin-top: clamp(3.5rem, 9vw, 6.5rem); background: var(--dark); color: var(--light); padding: clamp(2.5rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.lastcall .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.lastcall h2 { font-size: clamp(3.4rem, 13vw, 9rem); color: var(--yellow); }
.lastcall p { font: 400 1.05rem/1.4 var(--f-type); max-width: 22rem; margin: .8rem 0 0; }
.lastcall .bellbtn { box-shadow: 9px 9px 0 var(--red); border-color: var(--light); }
.lastcall + .foot, body[data-route="home"] .foot, body[data-route="poster"] .foot { margin-top: 0; }

/* =====================================================================
   FRONT DESK (onboarding)
   ===================================================================== */
.desk { max-width: 60rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.8rem) 1.25rem 0; }
.desk h1 { font-size: clamp(2.6rem, 9vw, 5rem); margin: .2rem 0 .4rem; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 2.6rem); margin-top: 1.8rem; align-items: start; }
@media (max-width: 800px) { .desk-grid { grid-template-columns: 1fr; } }
.step-no { font: 400 1.1rem/1 var(--f-fat); background: var(--ink); color: var(--paper); width: 2.1rem; height: 2.1rem; border-radius: 50%; display: inline-grid; place-items: center; margin-right: .5rem; transform: rotate(-6deg); }
.desk h2 { font-size: 1.7rem; display: flex; align-items: center; margin-bottom: .9rem; }

/* the name machine */
.reels { background: var(--red); border: var(--line) solid var(--ink); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow); position: relative; }
.reels-win { display: grid; grid-template-columns: 1.25fr 1.25fr .6fr; gap: .45rem; }
.reel { height: 4.2rem; overflow: hidden; background: var(--paper-hi); border: var(--line) solid var(--ink); border-radius: 7px; position: relative; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 26%, transparent 74%, rgba(0,0,0,.28)); }
.reel-strip { display: flex; flex-direction: column; will-change: transform; }
.reel-strip span { height: 4.2rem; flex: none; display: grid; place-items: center; font: 900 clamp(1.25rem, 3.4vw, 1.75rem)/1 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; color: #17130F; }
[data-theme="night"] .reel-strip span { color: var(--ink); }
.reels-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; color: var(--light); }
.reels-row p { margin: 0; font: 400 .85rem/1.3 var(--f-type); }

/* the member card + signature */
.mcard { background: var(--paper-hi); border: var(--line) solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 1.1rem 1.2rem 1.2rem; position: relative; overflow: hidden; transform: rotate(-1deg); }
.mcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .9rem; background: repeating-linear-gradient(90deg, var(--red) 0 1.2rem, var(--paper-hi) 1.2rem 1.6rem, var(--blue) 1.6rem 2.8rem, var(--paper-hi) 2.8rem 3.2rem); border-bottom: var(--line) solid var(--ink); }
.mcard-top { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; }
.mcard .wm { font-size: 1.35rem; }
.mcard-name { font: 400 clamp(1.6rem, 5vw, 2.3rem)/1 var(--f-fat); text-transform: uppercase; margin: .9rem 0 .2rem; word-break: break-word; }
.mcard-rows { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .6rem; margin: .7rem 0 .9rem; }
.mcard-rows div { font: 400 .95rem/1.2 var(--f-type); }
.mcard-rows span { display: block; font: 700 .64rem/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .25rem; }
.sig { position: relative; border-bottom: 2px solid var(--ink); height: 5.4rem; touch-action: none; cursor: crosshair; background: linear-gradient(transparent 0, transparent calc(100% - 1.3rem), color-mix(in srgb, var(--blue) 12%, transparent) calc(100% - 1.3rem)); }
.sig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig path { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sig-x { position: absolute; left: .2rem; bottom: .1rem; font: 700 1.5rem/1 var(--f-hand); color: var(--red); pointer-events: none; }
.sig-hint { position: absolute; left: 2rem; right: .5rem; bottom: .35rem; font: 400 .82rem/1 var(--f-type); color: var(--ink-3); pointer-events: none; }
.sig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .45rem; font: 400 .82rem/1.3 var(--f-type); color: var(--ink-2); gap: 1rem; }
.pledge { font: 700 1.12rem/1.3 var(--f-hand); margin: 0 0 .3rem; }
.desk-go { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.desk-go label { font: 400 .9rem/1.3 var(--f-type); display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; cursor: pointer; }
.desk-go input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--red); }
.mcard.printed { animation: printed .5s var(--ease-thud); }
@keyframes printed { from { transform: translateY(-1.4rem) rotate(-4deg); } }

@media (max-width: 720px) { .tear { height: 6.6rem; font-size: .72rem; letter-spacing: .1em; } }
[data-theme="night"] .sign::before { color: #C4311C; }
