:root{
  --blue:#1f3a4d;
  --blue-deep:#162b39;
  --terra:#b8573a;
  --terra-soft:#c9694b;
  --cream:#f6efe0;
  --cream-warm:#fbf6ec;
  --ink:#24211c;
  --muted:#6d6558;

  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
/* An explicit display: in a rule beats the hidden attribute, which silently
   leaks panels like .flow__nav back onto the screen. Settle it once, here. */
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--cream);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%}
a{color:inherit}

.wrap{width:100%;max-width:960px;margin:0 auto;padding:0 22px}
.wrap--narrow{max-width:660px}
.center{text-align:center}
.muted{color:var(--muted)}
.t{color:var(--terra)}
.b{color:var(--blue)}

/* ───────── HERO ───────── */
.hero{
  position:relative;background:var(--blue);color:var(--cream-warm);
  padding:clamp(52px,12vw,104px) 22px 0;overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(120% 90% at 50% 0%,rgba(184,87,58,.28),transparent 62%);
  pointer-events:none;
}
.hero__inner{position:relative;max-width:700px;margin:0 auto;text-align:center;padding-bottom:clamp(64px,16vw,120px)}

.wordmark{display:block;margin:0 auto 20px}
.wm__line1{
  display:block;font-family:var(--serif);font-weight:600;
  font-size:clamp(2.35rem,10.5vw,4.6rem);line-height:1.02;
  letter-spacing:-.015em;font-variation-settings:"SOFT" 40,"WONK" 1;
  text-wrap:balance;
}
.wm__line1 em{font-style:normal}
.wm__line1 .t{color:var(--terra-soft)}
.wm__rule{display:block;width:62px;height:2px;background:var(--terra-soft);margin:16px auto 14px;opacity:.85}
.wm__line2{
  display:block;font-family:var(--serif);font-style:italic;font-weight:300;
  font-size:clamp(1.15rem,4.6vw,1.7rem);line-height:1.25;color:#e4dccb;
  text-wrap:balance;
}

.tagline{
  font-family:var(--serif);font-style:italic;font-weight:400;
  font-size:clamp(1.02rem,4vw,1.3rem);color:#efe7d6;
  margin:0 0 26px;text-wrap:balance;
}
.tagline .t{color:var(--terra-soft)}
.tagline .b{color:#9dc3d8}

.hero__when{
  font-family:var(--sans);font-weight:600;text-transform:uppercase;
  letter-spacing:.14em;font-size:.78rem;color:#d9cfbc;
  margin:0 0 26px;
}
.hero__when .dot{margin:0 .5em;color:var(--terra-soft)}

.hero__sub{font-size:.85rem;color:#cfc5b2;margin:14px 0 0;min-height:1em}
.sub--dark{color:var(--muted)}

/* ───────── BUTTON ───────── */
.btn{
  display:inline-block;background:var(--terra);color:#fff8ef;
  padding:14px 30px;font-size:1rem;line-height:1.15;
  font-family:var(--sans);font-weight:600;letter-spacing:.02em;
  text-decoration:none;border-radius:999px;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.btn--big{padding:17px 40px;font-size:1.06rem}
.btn:hover{background:#a44b31;transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.26)}
.btn:active{transform:translateY(0)}
.btn:focus-visible{outline:3px solid #9dc3d8;outline-offset:3px}

/* ───────── RIDGELINE ───────── */
.ridge{position:absolute;left:0;bottom:-1px;width:100%;height:clamp(78px,15vw,150px)}
.ridge .r{fill:var(--cream)}
.ridge .r4{fill:#2b4a5e}
.ridge .r3{fill:#3d5f72}
.ridge .r2{fill:#dfd2ba}
.ridge .r1{fill:var(--cream)}
.ridge--flip{top:-1px;bottom:auto;transform:scaleY(-1);height:clamp(54px,9vw,96px)}
.ridge--flip .r2{fill:#dfd2ba}
.ridge--flip .r1{fill:var(--cream)}

/* ───────── BANDS ───────── */
.band{padding:clamp(52px,9vw,84px) 0}
.band--cream{background:var(--cream)}
.band--blue{background:var(--blue);color:#f0e8d8;position:relative}

.h2{
  font-family:var(--serif);font-weight:500;font-style:italic;
  font-size:clamp(1.5rem,5.5vw,2.05rem);line-height:1.15;
  margin:0 0 28px;letter-spacing:-.01em;
}
.band--cream .h2{color:var(--blue)}

.blurb{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(1.18rem,4.6vw,1.6rem);line-height:1.5;
  color:var(--blue);margin:0;text-align:center;text-wrap:pretty;
}

/* ───────── DETAILS ───────── */
.details{margin:0;display:grid;gap:0;border-top:1px solid rgba(246,239,224,.2)}
.details__row{
  display:grid;grid-template-columns:110px 1fr;gap:16px;
  padding:18px 0;border-bottom:1px solid rgba(246,239,224,.2);
}
.details dt{
  font-weight:600;text-transform:uppercase;letter-spacing:.12em;
  font-size:.72rem;color:#b9c9d4;padding-top:4px;
}
.details dd{margin:0;font-size:1.05rem}
.details .muted{color:#b9c9d4}
.link{color:#e6a98f;text-decoration:none;border-bottom:1px solid rgba(230,169,143,.45)}
.link:hover{color:#f2c3ac}
.series{
  font-family:var(--serif);font-style:italic;font-size:1.02rem;
  color:#cfe0ea;margin:26px 0 0;
}

/* ───────── TICKETS ───────── */
.roles{margin:0 auto 30px;max-width:520px;color:#4a443a;text-wrap:pretty}
.roles strong{color:var(--blue)}
#tt-widget{margin:0 0 26px}
#tt-widget:empty{display:none}

/* ───────── FAQ ───────── */
.faq{border-top:1px solid rgba(246,239,224,.2)}
.faq details{border-bottom:1px solid rgba(246,239,224,.2)}
.faq summary{
  cursor:pointer;list-style:none;padding:18px 34px 18px 0;position:relative;
  font-family:var(--serif);font-size:1.08rem;font-weight:400;color:#f3ecdd;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;right:4px;top:15px;
  font-family:var(--sans);font-size:1.3rem;color:var(--terra-soft);
  transition:transform .2s ease;
}
.faq details[open] summary::after{content:"–"}
.faq summary:focus-visible{outline:2px solid #9dc3d8;outline-offset:2px}
.faq p{margin:0 0 20px;padding-right:12px}
.draft{
  font-size:.95rem;color:#cfe0ea;
  border-left:2px solid var(--terra-soft);padding-left:14px !important;
}
/* what a draft answer becomes once you've approved it */
.answer{font-size:.98rem;color:#e0d8c8}

/* ───────── FOOTER ───────── */
.footer{position:relative;background:var(--blue-deep);color:#d7cdba;padding-top:clamp(54px,9vw,96px)}
.footer__inner{padding-bottom:46px}
.footer__mark{font-family:var(--serif);font-size:1.1rem;color:#f0e8d8;margin:0 0 12px}
.footer__mark .t{color:var(--terra-soft)}
.footer__contact{margin:0 0 8px;font-size:.95rem}
.footer__contact a{color:#e6a98f;text-decoration:none;border-bottom:1px solid rgba(230,169,143,.4)}
.footer__signup{margin:0 0 18px;font-size:.9rem}
.footer__signup .muted{color:#8f8676}
.footer__fine{margin:0;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#7f7767}

/* ───────── LOGO SLOT ───────── */
.logo-img{max-width:min(320px,76vw);margin:0 auto 18px}

/* ───────── WHO'S COMING (live balance) ───────── */
.bal{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  gap:clamp(8px,3vw,22px);max-width:460px;margin:0 auto 18px;
}
.bal__side{display:flex;flex-direction:column;align-items:center;gap:2px}
.bal__num{
  font-family:var(--serif);font-weight:600;line-height:1;
  font-size:clamp(2.5rem,13vw,3.9rem);color:var(--blue);
  font-variant-numeric:tabular-nums;font-variation-settings:"SOFT" 40,"WONK" 1;
}
.bal__side:first-child .bal__num{color:var(--terra)}
.bal__label{
  font-weight:600;text-transform:uppercase;letter-spacing:.14em;
  font-size:.7rem;color:var(--muted);
}
/* the ridgeline "swing" tips toward whichever role is fuller */
.bal__swing{
  --tilt:0deg;
  position:relative;width:clamp(58px,20vw,120px);height:52px;
  transform:rotate(var(--tilt));transition:transform .6s cubic-bezier(.22,.61,.36,1);
}
.bal__wave{width:100%;height:100%}
.bal__wave path{stroke:var(--blue);opacity:.32}
.bal__dot{
  position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;
  border-radius:50%;background:var(--terra);box-shadow:0 0 0 4px rgba(184,87,58,.16);
}
.bal__either{font-family:var(--serif);font-style:italic;color:var(--muted);margin:0 0 6px;font-size:1rem}
.bal__nudge{
  font-family:var(--serif);font-size:clamp(1.02rem,4vw,1.2rem);
  color:var(--blue);margin:0 0 8px;text-wrap:pretty;
}
.bal__src{font-size:.78rem;letter-spacing:.04em;margin:0}

/* ───────── REGISTER ───────── */
.reg__intro{margin:0 0 26px;color:#cfe0ea;text-wrap:pretty}
.reg__step{border:0;margin:0 0 26px;padding:0}
.reg__step legend{
  font-family:var(--serif);font-size:1.12rem;color:#f3ecdd;
  padding:0;margin:0 0 10px;display:flex;align-items:center;gap:10px;
}
.reg__n{
  flex:0 0 auto;width:26px;height:26px;border-radius:50%;
  background:var(--terra);color:#fff8ef;
  font-family:var(--sans);font-size:.82rem;font-weight:600;
  display:grid;place-items:center;
}
.reg__hint{font-size:.9rem;color:#b9c9d4;margin:0 0 12px;text-wrap:pretty}

/* role picker — big tap targets, stacks on small phones */
.roleset{display:grid;grid-template-columns:1fr;gap:10px}
.role{position:relative;display:block}
.role input{position:absolute;opacity:0;width:1px;height:1px}
.role span{
  display:block;padding:15px 18px;border-radius:14px;cursor:pointer;
  border:1.5px solid rgba(246,239,224,.26);background:rgba(246,239,224,.05);
  color:#f0e8d8;font-weight:600;transition:background .15s ease,border-color .15s ease;
}
.role span:hover{background:rgba(246,239,224,.1)}
.role input:checked + span{
  background:var(--terra);border-color:var(--terra);color:#fff8ef;
}
.role input:focus-visible + span{outline:3px solid #9dc3d8;outline-offset:2px}

/* checkboxes */
.check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;margin:0 0 10px;font-size:.96rem;color:#eae2d2}
.check input{flex:0 0 auto;width:21px;height:21px;margin:2px 0 0;accent-color:var(--terra)}
.check .muted{color:#a8b8c4;display:block}
.check--wsdc{
  padding:15px 16px;border-radius:14px;
  border:1.5px solid rgba(246,239,224,.2);background:rgba(246,239,224,.05);
}
.reg__price{font-family:var(--serif);font-style:italic;color:#e6a98f;margin:12px 0 0}

/* fields */
.field{margin:0 0 14px}
.field label{display:block;font-size:.82rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#b9c9d4;margin:0 0 6px}
.field label .muted{text-transform:none;letter-spacing:0;font-weight:400}
.field input{
  width:100%;padding:14px 15px;font-family:var(--sans);font-size:16px;
  color:var(--ink);background:var(--cream-warm);
  border:1.5px solid transparent;border-radius:12px;
}
.field input:focus{outline:none;border-color:var(--terra-soft);background:#fff}
.reg__submit{width:100%;border:0;cursor:pointer;margin-top:4px}
.reg__msg{min-height:1.2em;margin:12px 0 0;font-size:.92rem;color:#cfe0ea}
.reg__msg.is-err{color:#f0b49b}

.reg__done{text-align:center}
.reg__done-h{font-family:var(--serif);font-size:1.6rem;color:#f3ecdd;margin:0 0 10px}
.reg__done-p{color:#cfe0ea;margin:0 0 22px;text-wrap:pretty}

/* ───────── FOOTER EMAIL LIST ───────── */
.list{max-width:460px;margin:0 auto 22px}
.list__label{display:block;font-size:.92rem;color:#c3b9a6;margin:0 0 10px}
.list__row{display:grid;grid-template-columns:1fr;gap:9px}
.list__row input{
  width:100%;padding:13px 14px;font-family:var(--sans);font-size:16px;
  color:var(--ink);background:#efe7d7;border:1.5px solid transparent;border-radius:11px;
}
.list__row input:focus{outline:none;border-color:var(--terra-soft);background:#fff}
.list__btn{padding:13px 22px;font-size:.96rem;border:0;cursor:pointer}
.list__msg{min-height:1em;margin:9px 0 0;font-size:.86rem;color:#c3b9a6}
.list__ok{font-family:var(--serif);font-style:italic;color:#e6a98f;margin:0}

@media (min-width:560px){
  .roleset{grid-template-columns:repeat(3,1fr)}
  .role span{text-align:center;padding:15px 10px}
  .list__row{grid-template-columns:1fr 1fr auto}
}

@media (max-width:420px){
  .details__row{grid-template-columns:1fr;gap:6px}
  .details dt{padding-top:0}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto}
}

/* ═══════════ Next-dance tracker in the hero ═══════════ */
.next{
  margin:0 auto 1.9rem;
  padding:.95rem 1.4rem 1.05rem;
  display:block;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(246,239,224,.22);
  border-radius:14px;
  background:rgba(246,239,224,.05);
}
.next__label{
  margin:0 0 .35rem;
  font-family:var(--sans);
  font-size:.7rem;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:rgba(246,239,224,.62);
}
.next__when{
  margin:0;
  font-family:var(--serif);
  font-size:1.22rem;
  font-weight:600;
  line-height:1.3;
  color:var(--cream);
  text-wrap:balance;
}
.next__time{
  margin:.18rem 0 0;
  font-family:var(--sans);
  font-size:.92rem;
  letter-spacing:.03em;
  color:rgba(246,239,224,.8);
}
.next__count{
  margin:.4rem 0 0;
  font-family:var(--sans);
  font-size:.85rem;
  color:var(--terra-soft);
}

/* ═══════════ Teacher cards (rotate monthly) ═══════════ */
.teach__sub{
  margin:.1rem auto 2rem;
  max-width:26ch;
  text-wrap:balance;
  font-family:var(--sans);
  font-size:.95rem;
  color:var(--muted);
}
.teach__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.1rem;
}
.tcard{
  padding:1.6rem 1.2rem;
  text-align:center;
  background:var(--cream-warm);
  border:1px solid rgba(31,58,77,.12);
  border-radius:16px;
}
.tcard__photo{
  width:92px;
  height:92px;
  margin:0 auto 1rem;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:var(--cream);
  font-family:var(--serif);
  font-size:1.6rem;
  font-weight:600;
  letter-spacing:.02em;
}
.tcard__photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.tcard--tba .tcard__photo{
  background:transparent;
  border:1px dashed rgba(31,58,77,.3);
  color:rgba(31,58,77,.4);
}
.tcard__lesson{
  margin:0 0 .3rem;
  font-family:var(--sans);
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--terra);
}
.tcard__name{
  margin:0;
  font-family:var(--serif);
  font-size:1.28rem;
  font-weight:600;
  color:var(--blue);
}
.tcard--tba .tcard__name{ color:var(--muted); font-style:italic; font-weight:500; }
.tcard__note{
  margin:.5rem 0 0;
  font-family:var(--sans);
  font-size:.88rem;
  color:var(--muted);
}

/* ═══════════ Capacity meters on the floor count ═══════════ */

.bal__of{
  display:block;
  font-family:var(--sans);
  font-size:.78rem;
  color:var(--muted);
  margin-top:-.15rem;
}
.bal__meter{
  display:block;
  width:100%;
  max-width:104px;
  height:6px;
  margin:.6rem auto .4rem;
  border-radius:99px;
  background:rgba(31,58,77,.13);
  overflow:hidden;
}
.bal__fill{
  display:block;
  height:100%;
  width:0;
  border-radius:99px;
  transition:width .5s ease;
}
.bal__fill--l{ background:var(--terra); }
.bal__fill--f{ background:var(--blue); }
.bal__left{
  display:block;
  font-family:var(--sans);
  font-size:.74rem;
  letter-spacing:.04em;
  color:var(--muted);
}

/* ═══════════ Role buttons: remaining spots, and full ═══════════ */
.role__left{
  display:block;
  margin-top:.2rem;
  font-family:var(--sans);
  font-style:normal;
  font-size:.68rem;
  letter-spacing:.06em;
  opacity:.72;
}
.role.is-full{ opacity:.45; }
.role.is-full span{ text-decoration:line-through; }
.role input:disabled + span{ cursor:not-allowed; }

@media (min-width:620px){
  .teach__grid{ grid-template-columns:1fr 1fr; gap:1.4rem; }
  .tcard{ padding:1.9rem 1.4rem; }
  .tcard__photo{ width:104px; height:104px; }
}


/* ═══════════ The night ═══════════ */
.night__blurb{
  font-family:var(--serif);
  font-weight:300;
  font-size:clamp(1.1rem,4.2vw,1.42rem);
  line-height:1.5;
  color:#e6dfd0;
  margin:0 0 2rem;
  text-wrap:pretty;
}
.night__cta{ margin:1.9rem 0 0; }
.band--divided{ border-top:1px solid rgba(246,239,224,.14); }

/* ═══════════ The step-by-step flow ═══════════ */
body.is-locked{ overflow:hidden; }

.flow{
  width:min(560px,100%);
  max-height:92dvh;
  margin:auto;
  padding:1.15rem 1.25rem 1.4rem;
  border:0;
  border-radius:20px;
  background:var(--blue);
  color:#f0e8d8;
  overflow-y:auto;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.flow::backdrop{ background:rgba(12,24,32,.72); backdrop-filter:blur(3px); }

.flow__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.5rem;
}
.flow__dots{ display:flex; gap:7px; }
.flow__dot{
  width:28px; height:4px; border-radius:99px;
  background:rgba(246,239,224,.2);
  transition:background .25s ease;
}
.flow__dot.is-done{ background:rgba(246,239,224,.45); }
.flow__dot.is-on{ background:var(--terra); }
.flow__x{
  flex:0 0 auto;
  width:34px; height:34px;
  border:0; border-radius:50%;
  background:rgba(246,239,224,.1);
  color:#f0e8d8;
  font-size:1.35rem; line-height:1;
  cursor:pointer;
}
.flow__x:hover{ background:rgba(246,239,224,.18); }

.step__eyebrow{
  margin:0 0 .5rem;
  font-family:var(--sans);
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#9fb4c2;
}
.step__q{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(1.3rem,5vw,1.62rem);
  line-height:1.22;
  color:#f6efe0;
  margin:0 0 .7rem;
  text-wrap:balance;
}
.step__q:focus{ outline:none; }
.step__hint{ margin:0 0 1.1rem; font-size:.92rem; color:#b9c9d4; text-wrap:pretty; }
.step__hint strong{ color:#f0e8d8; }
.step__note{ margin:1rem 0 0; font-size:.86rem; color:#9fb4c2; text-wrap:pretty; }
.step__summary{
  margin:1.3rem 0 0;
  padding:.85rem 1rem;
  border-radius:12px;
  background:rgba(246,239,224,.06);
  border-left:2px solid var(--terra-soft);
  font-family:var(--serif);
  font-style:italic;
  font-size:1rem;
  color:#e6a98f;
  text-wrap:pretty;
}

/* the yes/no/code picker */
.pickset{ display:grid; gap:10px; }
.pick{ position:relative; display:block; }
.pick input{ position:absolute; opacity:0; width:1px; height:1px; }
.pick span{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:15px 18px; border-radius:14px; cursor:pointer;
  border:1.5px solid rgba(246,239,224,.26);
  background:rgba(246,239,224,.05);
  color:#f0e8d8; font-weight:600;
  transition:background .15s ease,border-color .15s ease;
}
.pick span em{
  flex:0 0 auto;
  font-family:var(--serif); font-style:italic; font-weight:400;
  color:#e6a98f;
}
.pick span:hover{ background:rgba(246,239,224,.1); }
.pick input:checked + span{ background:var(--terra); border-color:var(--terra); color:#fff8ef; }
.pick input:checked + span em{ color:#ffeade; }
.pick input:focus-visible + span{ outline:3px solid #9dc3d8; outline-offset:2px; }

.code{ margin-top:14px; }
.code input{ letter-spacing:.1em; text-transform:uppercase; }

/* nav */
.flow__nav{
  display:flex; align-items:center; gap:1rem;
  margin-top:1.7rem;
}
.flow__next{
  flex:1 1 auto; border:0; cursor:pointer;
  padding:16px 30px;
  font-size:1.04rem;
  min-height:54px;
  box-shadow:0 8px 20px rgba(0,0,0,.24);
}
.flow__next:disabled{ opacity:.6; cursor:default; }
.flow__back{
  flex:0 0 auto;
  border:0; background:none; cursor:pointer; padding:.6rem .2rem;
  font-family:var(--sans); font-size:.92rem; color:#9fb4c2;
  text-decoration:underline; text-underline-offset:3px;
}
.flow__back:hover{ color:#f0e8d8; }
.flow__msg{ min-height:1.2em; margin:.85rem 0 0; font-size:.92rem; color:#cfe0ea; }
.flow__msg.is-err{ color:#f0b49b; }

/* done */
.step--done{ text-align:center; padding:.5rem 0 .3rem; }
.done__tick{
  width:52px; height:52px; margin:0 auto 1rem;
  border-radius:50%;
  display:grid; place-items:center;
  background:rgba(157,195,216,.16);
  color:#9dc3d8;
}
.done__p{ color:#cfe0ea; margin:0 0 1.5rem; text-wrap:pretty; }

@media (min-width:620px){
  .flow{ padding:1.5rem 1.9rem 1.8rem; }
  .sg__num{ font-size:2.5rem; }
  .sg__swing{ width:76px; }
}

.step__pay{
  margin:.7rem 0 0;
  font-family:var(--sans);
  font-size:.86rem;
  color:#9fb4c2;
  text-wrap:pretty;
}

/* ═══════════ The rope bridge ═══════════
   Counters flank the span; the bridge itself carries the sense of two sides
   building toward each other. Nothing tips. */
.signups{
  margin-top:1.05rem;
  padding-top:1rem;
  border-top:1px solid rgba(246,239,224,.18);
}

.balance__scope{
  margin:0 0 .7rem;
  font-family:var(--sans);
  font-size:.66rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-align:center;
  color:rgba(246,239,224,.45);
}
.balance__row{
  display:grid;
  grid-template-columns:minmax(58px,auto) 1fr minmax(58px,auto);
  align-items:center;
  gap:.35rem;
}
.balance__side{ text-align:center; }
.balance__n{
  display:block;
  font-family:var(--serif);
  font-size:clamp(1.7rem,7vw,2.2rem);
  font-weight:600;
  line-height:1;
  color:var(--terra-soft);
  font-variant-numeric:tabular-nums;
}
.balance__side:last-child .balance__n{ color:#9dc3d8; }
.balance__lab{
  display:block;
  margin-top:.28rem;
  font-family:var(--sans);
  font-size:.62rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:rgba(246,239,224,.6);
}
.balance__cap{
  display:block;
  font-family:var(--sans);
  font-size:.68rem;
  color:rgba(246,239,224,.4);
}

.bridge{ min-width:0; }
.bridge__svg{ display:block; width:100%; height:auto; overflow:visible; }
.bridge__posts path{
  stroke:rgba(246,239,224,.3);
  stroke-width:2.4;
  stroke-linecap:round;
}
.bridge__rope{
  stroke:rgba(246,239,224,.34);
  stroke-linecap:round;
}
.bridge__rope--rail{ stroke-width:1.5; stroke-dasharray:2 3; }
.bridge__rope--deck{ stroke-width:2.2; }
.bridge__hangers line{ stroke:rgba(246,239,224,.18); stroke-width:1; }

.bridge__plank{ transition:fill .4s ease, opacity .4s ease; }
.bridge__plank.is-ghost{ fill:rgba(246,239,224,.13); }
.bridge__plank.is-lead,
.bridge__plank.is-follow{
  animation:plank-lay .5s cubic-bezier(.2,.8,.3,1) both;
  animation-delay:calc(var(--i,0) * 55ms);
}
.bridge__plank.is-lead{ fill:var(--terra); }
.bridge__plank.is-follow{ fill:#9dc3d8; }

@keyframes plank-lay{
  from{ opacity:0; }
  to  { opacity:1; }
}
@media (prefers-reduced-motion:reduce){
  .bridge__plank{ animation:none; }
}

/* when both sides meet, the ropes firm up */
.balance.is-complete .bridge__rope{ stroke:rgba(246,239,224,.55); }

.balance__either{
  margin:.7rem 0 0;
  font-family:var(--serif);
  font-style:italic;
  font-size:.9rem;
  text-align:center;
  color:rgba(246,239,224,.7);
}

/* ── Drop my spot ── */
.hero__drop{ margin:.85rem 0 0; text-align:center; }
.link--quiet{
  font-family:var(--sans);
  font-size:.86rem;
  color:rgba(246,239,224,.55);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.link--quiet:hover{ color:var(--cream); }
.done__door{
  margin:.6rem 0 0;
  font-family:var(--sans);
  font-size:.92rem;
  line-height:1.5;
  color:#e6a98f;
  text-wrap:pretty;
}

/* The hero stack: card, then button, then the quiet link — each on its own
   centred line. Without width:max-content these would be inline-level and the
   button would ride up beside the card on a wide screen. */
.hero__cta{
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 auto;
}

/* Decoration must never intercept a tap meant for the button beneath it. */
.ridge, .hero::before{ pointer-events:none; }

/* The quiet way in to the door list. Reads as punctuation until you hover it. */
.dot{
  display:inline-block;
  width:7px; height:7px;
  margin-left:9px;
  border-radius:50%;
  background:rgba(246,239,224,.22);
  vertical-align:middle;
  transition:background .2s ease, transform .2s ease;
}
.dot:hover, .dot:focus-visible{ background:var(--terra); transform:scale(1.35); }
.dot:focus-visible{ outline:2px solid #9dc3d8; outline-offset:3px; }

/* The DJ card: same object as a teacher, given its own full-width row so three
   cards never read as a lopsided two-plus-one grid. */
.tcard--dj{ grid-column:1 / -1; max-width:22rem; margin-inline:auto; width:100%; }
