/* 2027 re-enrolment: one form, charcoal and white, easy on a phone. Uses the lead capsule's field styles (form.lead). */
.rehead{padding-block:clamp(40px,6vw,88px) clamp(8px,2vw,24px);background:radial-gradient(ellipse 70% 90% at 12% -20%,color-mix(in oklab,var(--g) 24%,transparent) 0%,rgba(8,11,20,0) 62%),var(--stage)}
.rehead .wrap{display:grid;gap:18px;max-width:var(--max)}
.rehead h1{font-family:var(--disp);font-weight:400;font-size:clamp(2.6rem,1.3rem + 4.2vw,5rem);line-height:.98;letter-spacing:-.014em;text-wrap:balance;color:var(--light-2)}
.rehead h1 em{font-style:normal;color:var(--light)}
.re-intro .lede{max-width:44ch;color:var(--light)}

/* the intro is two short lines and three facts; the studio photograph sits in the left column beside the form (owner notes 2026-11-03).
   A phone reads the intro first, then a short crop of the photograph, then the form. */
.rehead .wrap{gap:14px}
.re-intro .lede{max-width:52ch}
/* owner 2026-11-13: the intro sits in the left column with her photograph under it, and the form starts level with "We can't wait to welcome you back" */
.re-wrap{padding-top:clamp(14px,2vw,24px)}
.re-intro{display:grid;gap:14px;align-content:start;min-width:0}
.re-intro>*{margin:0}
.re{display:grid;gap:22px;align-items:start}
.re-photo{margin:0;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r);background:var(--well)}
.re-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
@media (min-width:600px){.re-photo{aspect-ratio:2/1}}
/* owner 2026-11-10: on a phone the form comes before the photograph, so parents start on their details straight away */
@media (max-width:999px){.re-intro{order:0}.reenrol{order:1}.re-photo{order:2}}
/* her class availability notice under the three facts: small and quiet */
.re-avail{max-width:62ch;padding:10px 14px;border-radius:var(--r);background:var(--mist);font-size:var(--t-small);line-height:1.5;color:var(--light-2)}
.re-avail b{margin-right:6px;font-weight:700;color:var(--light)}
@media (min-width:1000px){
  .re{grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"intro form" "photo form";grid-template-rows:auto 1fr;gap:clamp(28px,3vw,40px) clamp(36px,4.5vw,64px)}
  .re-intro{grid-area:intro}.re-photo{grid-area:photo;align-self:start}.reenrol{grid-area:form}
  .re-photo{aspect-ratio:10/11} /* owner 2026-11-12: photos stay put, never sticky */
  .re-photo img{object-position:50% 76%}
}

.reenrol{gap:18px;padding:clamp(20px,3vw,34px);scroll-margin-top:calc(var(--hdr) + 16px)}
.re-body{display:grid;gap:0}
.re-sec{display:grid;gap:12px;border:0;margin:0;padding:0;min-width:0}
.re-sec+.re-sec{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
/* the serif section headings, about 22% smaller than before */
.re-h{padding:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-family:var(--disp);font-weight:400;font-size:clamp(1.15rem,.95rem + .8vw,1.5rem);line-height:1.12;text-wrap:balance}
.re-h .n{flex:none;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--g);color:var(--stage);font:800 .75rem/1 var(--text);transform:translateY(-2px)}
.re-tag{align-self:center;padding:3px 10px;border-radius:999px;background:var(--g);color:var(--ink);font:700 .6875rem/1.3 var(--text);letter-spacing:.06em;text-transform:uppercase}
.lbl-t{font-weight:600;font-size:.9375rem;line-height:1.3}
.re-hint{font-size:var(--t-small);line-height:1.45;color:var(--light-2)}
.re-hint a{text-underline-offset:.2em}

/* class list */
.re-list{display:grid;gap:6px}
.re-empty{padding:18px;border-radius:var(--r);background:rgba(247,244,239,.05);font-size:var(--t-small);color:var(--light-3)}
.re-day{margin-top:12px;font-size:var(--t-xs);font-weight:700;letter-spacing:.02em;color:var(--light-2)}
.re-day:first-child{margin-top:0}
.cls{position:relative;display:grid;grid-template-columns:22px 4.6rem minmax(0,1fr);gap:12px;align-items:center;min-height:52px;padding:8px 14px;border-radius:var(--r);background:rgba(3,5,9,.5);box-shadow:inset 0 0 0 1px var(--line-2);cursor:pointer;transition:background-color .2s var(--ease),box-shadow .2s var(--ease)}
.cls:hover{box-shadow:inset 0 0 0 1.5px var(--g)}
.cls input{width:22px;height:22px;margin:0;accent-color:var(--light)}
.cls:has(input:checked){background:rgba(247,244,239,.1);box-shadow:inset 0 0 0 2px var(--light)}
.cls:has(input:focus-visible){outline:2px solid var(--light);outline-offset:3px}
.cls__t{font-weight:700;font-size:.9375rem;color:var(--light)}
.cls__n{font-size:.9375rem;line-height:1.3;color:var(--light)}
.cls__s{margin-left:8px;padding:1px 8px;border-radius:999px;background:rgba(233,162,140,.18);color:var(--review);font-style:normal;font-size:.75rem;font-weight:700;white-space:nowrap}

/* what the rules say, in plain words */
.re-rules{display:grid;gap:8px;padding:14px 16px;border-radius:var(--r);font-size:var(--t-small);line-height:1.45}
.re-rules__n{display:flex;align-items:center;gap:8px;font-weight:700}
.re-rules__n .ico{width:18px;height:18px}
.re-rules ul{display:grid;gap:6px;padding-left:1.1em;list-style:disc}
.re-rules.is-bad{background:rgba(255,165,147,.1);box-shadow:inset 3px 0 0 var(--err);color:var(--light)}
.re-rules.is-ok{background:rgba(155,214,165,.1);box-shadow:inset 3px 0 0 var(--ok);color:var(--light)}

/* the jacket */
.re-jacket{display:grid;gap:18px;align-items:start}
@media (min-width:600px){.re-jacket{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px}}
.re-jacket__img{display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;border-radius:var(--r);background:repeating-linear-gradient(135deg,var(--wash-ghost) 0 10px,var(--wash-faint) 10px 20px);box-shadow:inset 0 0 0 1px var(--line-2);text-align:center;font-size:var(--t-small);line-height:1.4;color:var(--light-3)}
.re-jacket__body{display:grid;gap:14px;align-content:start;min-width:0}
.re-jacket__body>p{font-size:var(--t-body);line-height:1.5;color:var(--light)}

/* send */
.re-send{display:grid;gap:12px}
.re-guar{max-width:62ch;font-size:var(--t-small);line-height:1.5;color:var(--light-2)}
.re-send .btn{width:100%;min-height:58px;font-size:1.0625rem;letter-spacing:.04em}
@media (min-width:600px){.re-send .btn{width:auto;justify-self:start;padding-inline:36px}}
/* only shown after someone tries to send an incomplete form */
.re-missing{padding:12px 14px;border-radius:var(--r);background:var(--err-wash);box-shadow:inset 3px 0 0 var(--err);font-size:var(--t-small);font-weight:600;line-height:1.45;color:var(--err)}
.re-missing[hidden]{display:none}
/* the privacy line stays, but quietly */
.re-fine,.re-talk{margin:0;font-size:.75rem;line-height:1.5;color:var(--light-3)}
.re-fine a,.re-talk a{color:inherit;text-underline-offset:.2em}
.re-talk a{font-weight:600}

/* finish */
.re-ok{padding-block:6px}
.re-summary{display:grid;gap:0;border-top:1px solid var(--line-2)}
.re-summary>div{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}
@media (min-width:600px){.re-summary>div{grid-template-columns:9rem minmax(0,1fr);gap:16px}}
.re-summary dt{font-size:var(--t-xs);font-weight:700;color:var(--light-3)}
.re-summary dd{font-size:var(--t-small);color:var(--light)}
.re-summary ul{display:grid;gap:4px}

/* acknowledgement page */
.ack{display:grid;gap:20px;max-width:46rem}
.ack p{font-family:var(--disp);font-size:clamp(1.45rem,1.1rem + 1.2vw,2.1rem);line-height:1.25;text-wrap:pretty;color:var(--light)}
.ack p+p{font-family:var(--text);font-size:var(--t-lede);line-height:1.5;color:var(--light-2)}

/* long text pages: privacy policy and child safe policy (owner 2026-10-30), set like the acknowledgement page */
.doc{display:grid;gap:14px;max-width:46rem}
.doc h2{margin-top:26px;font-family:var(--disp);font-weight:400;font-size:clamp(1.5rem,1.2rem + 1vw,2rem);line-height:1.1;color:var(--light)}
.doc p,.doc li{font-size:var(--t-body);line-height:1.6;color:var(--light-2);text-wrap:pretty}
.doc ul{display:grid;gap:10px;padding-left:1.25em;list-style:disc}
.doc li::marker{color:var(--light)}
.doc a:not(.link){color:inherit;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}
.doc .dated{margin-top:12px;font-weight:700;color:var(--light)}
.doc .acts{margin-top:22px}

/* jacket sizes (owner 2026-11-12): a quiet guide line, an underlined "View Size Guide" and the supplier chart in a pop-up */
.re-size-note{margin:6px 0 0;font-size:var(--t-xs);line-height:1.45;color:var(--light-3)}
.re-guide{justify-self:start;padding:0;border:0;background:none;font:inherit;font-weight:600;font-size:var(--t-small);color:inherit;cursor:pointer}
.re-sg{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:var(--r);background:#FFFFFF;color:var(--light);box-shadow:0 24px 60px rgba(20,24,38,.3)}
.re-sg::backdrop{background:rgba(20,24,38,.55)}
.re-sg__top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 12px 18px;border-bottom:1px solid var(--line-2)}
.re-sg__h{margin:0;font-size:1.0625rem;font-weight:700}
.re-sg__x{min-height:44px;padding:0 16px;border:1.5px solid var(--light);border-radius:999px;background:none;font:inherit;font-weight:600;color:inherit;cursor:pointer}
.re-sg__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:12px;background:#111}
.re-sg__scroll img{display:block;width:100%;min-width:640px;height:auto}

/* owner 2026-11-12: "No January fees", the same quiet grey box as Class availability, with a calendar icon, between the intro and the three facts */
.re-fees{display:flex;align-items:flex-start;gap:10px}
.re-fees .ico{flex:none;width:18px;height:18px;margin-top:2px;color:var(--light)}

/* owner 2026-11-13: Showtroupe and Elite carry an asterisk and a small "View Prerequisites" under the name, the same drop-down as the timetable cards.
   It sits outside the class's tick box (so opening it never ticks the class), lined up with the class name. */
.re-item{display:grid;gap:0;min-width:0}
.re-pre{margin:2px 0 4px calc(14px + 22px + 12px + 4.6rem + 12px)}
.re-pre summary{display:inline-flex;align-items:center;gap:4px;min-height:32px;list-style:none;font-size:.8125rem;font-weight:600;color:var(--light-2);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:.24em;text-decoration-thickness:1.5px;cursor:pointer}
.re-pre summary::-webkit-details-marker{display:none}
.re-pre summary:hover{color:var(--light);text-decoration-color:currentColor}
.re-pre summary:focus-visible{outline:2px solid var(--light);outline-offset:2px;border-radius:2px}
.re-pre summary .ico{width:14px;height:14px;transition:transform .2s var(--ease)}
.re-pre[open] summary .ico{transform:rotate(180deg)}
.re-pre p{margin:2px 0 0;max-width:52ch;padding:10px 12px;border-radius:var(--r);background:var(--mist);font-size:.8125rem;line-height:1.45;color:var(--light)}
