/* =====================================================================================================
   GTCC Track Day - "Garage to Track" design (v2). Loaded ONLY by TrackDayPromo.aspx and
   RegisterEventTrackSandown.aspx; every rule is scoped under .td2, so nothing here reaches other pages.
   The site's own nav (SiteV2.Master, fixed, var(--nav-h)) stays on top; these pages start below it.
   The earlier dark styles (trackday.css) are kept on disk, unused, in case we need to switch back.
   ===================================================================================================== */
.td2 {
    --paper: #f1efe9;
    --paper-2: #e7e4dc;
    --white: #fbfaf7;
    --ink: #121212;
    --muted: #5d5a54;
    --line: rgba(18,18,18,.14);
    --line-strong: rgba(18,18,18,.32);
    --red: #d42a20;
    --red-bg: #fcebe9;
    --ok: #1f7a3d;
    --pad: clamp(20px, 4vw, 56px);
    --max: 1320px;
    --nav: var(--nav-h, 66px);
    --e: cubic-bezier(.16, 1, .3, 1);
    --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --body: 'Inter Tight', system-ui, sans-serif;
    background: var(--paper); color: var(--ink);
    font: 400 17px/1.55 var(--body); font-variant-numeric: lining-nums;
    color-scheme: light;
    overflow-x: clip;
}
.td2 *, .td2 *::before, .td2 *::after { box-sizing: border-box; }
.td2 img { display: block; max-width: 100%; }
.td2 a { color: inherit; }
.td2 p { margin: 0 0 14px; }
.td2 .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.td2 .label { font: 600 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.td2 .muted { color: var(--muted); }
.td2 .red { color: var(--red); }
.td2 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.td2 h2.big { font: 900 clamp(48px, 8vw, 128px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.005em; margin: 0 0 28px; }
.td2 section.block { padding: clamp(80px, 11vw, 160px) 0; }
.td2 a:focus-visible, .td2 button:focus-visible, .td2 summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- buttons ---------- */
.td2 .btn, .td2 a.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 16px var(--body);
    padding: 14px 24px; border-radius: 999px; border: 0; position: relative; overflow: hidden; isolation: isolate; cursor: pointer; }
.td2 .btn::before { content: ''; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform .5s var(--e); z-index: -1; }
.td2 .btn:hover::before, .td2 .btn:focus-visible::before { transform: translateY(0); }
.td2 .btn.light { background: #fff; color: var(--ink); }
.td2 .btn.light:hover { color: #fff; }
.td2 .btn.lg { padding: 18px 30px; font-size: 17px; }
.td2 .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.td2 .btn.ghost::before { background: var(--ink); }
.td2 .btn.ghost:hover { color: var(--paper); }

/* ---------- hero (promo) ---------- */
.td2 .hero { position: relative; margin-top: var(--nav); height: calc(100vh - var(--nav)); min-height: 560px; overflow: hidden; color: #fff; }
.td2 .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.td2 .hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(60% 45% at 100% 0%, rgba(10,20,35,.55), rgba(10,20,35,0) 70%),
    linear-gradient(180deg, rgba(10,20,35,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
.td2 .curtain { position: absolute; inset: 0; background: var(--red); z-index: 3; transform-origin: top; transform: scaleY(0); pointer-events: none; }
.td2 .hero-top { position: absolute; z-index: 2; top: 28px; right: var(--pad); text-align: right; max-width: 460px; text-shadow: 0 1px 14px rgba(0,10,30,.45); }
.td2 .hero-top p { margin: 10px 0 0; font-size: 18px; }
.td2 .hero-title { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 28px; }
.td2 .hero-title .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.td2 .hero-title .row > .hero-cta { flex: 0 1 360px; }
.td2 .mega { font: 900 clamp(96px, 23vw, 380px)/.78 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.td2 .mega .mask { display: block; overflow: hidden; }
.td2 .mega .ch { display: inline-block; will-change: transform; }
.td2 .hero-cta { padding-bottom: 2.4vw; display: grid; gap: 10px; justify-items: end; text-align: right; }
.td2 .td2-herosub { max-width: 340px; font-size: 14px; line-height: 1.45; opacity: .9; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.td2 .chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(18,18,18,.55);
    backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.td2 .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.td2 .closed-note { background: rgba(18,18,18,.6); border-radius: 12px; padding: 12px 16px; max-width: 360px; }

/* ---------- facts ---------- */
.td2 .facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--ink); }
.td2 .fact { padding: 28px 20px 30px 0; border-right: 1px solid var(--line); }
.td2 .fact + .fact { padding-left: 20px; }
.td2 .fact:last-child { border-right: 0; }
.td2 .fact .label { color: var(--red); }
.td2 .fact strong { display: block; font: 800 clamp(30px, 3.4vw, 48px)/1 var(--display); text-transform: uppercase; margin-top: 12px; }
.td2 .fact small { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.4; }
.td2 .clubinfo { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }

/* ---------- notice + phase bar ---------- */
.td2 .notice { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); }
.td2 .notice .lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; font-weight: 600; margin: 0 0 16px; }
.td2 .notice .small { font-style: italic; color: var(--muted); }
.td2 .phasebar { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.td2 .phasebar .rail, .td2 .phasebar .fill { position: absolute; left: 0; top: 0; height: 3px; }
.td2 .phasebar .rail { right: 0; background: var(--line); }
.td2 .phasebar .fill { background: var(--red); width: var(--fill, 0%); }
.td2 .phasebar .step { padding: 20px 16px 0 0; }
.td2 .phasebar .n { font: 800 15px var(--display); letter-spacing: .08em; color: var(--muted); }
.td2 .phasebar b { display: block; font-size: 17px; margin-top: 4px; }
.td2 .phasebar .s { font-size: 14px; color: var(--muted); }
.td2 .phasebar .now .n, .td2 .phasebar .now b { color: var(--red); }

/* ---------- story: four steps, sticky stage (no JS pinning, so ASP.NET partial updates are never disturbed) ---------- */
.td2 .story { position: relative; background: var(--ink); color: var(--paper); height: calc(100vh + var(--story-travel, 128vh)); }
.td2 .story-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); display: grid; grid-template-columns: minmax(320px, 36%) 1fr; overflow: hidden; }
.td2 .story-copy { position: relative; padding: 40px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.td2 .story-copy .cap { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-50%); }
.td2 .cap .num { font: 900 120px/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.td2 .cap h3 { font: 900 clamp(40px, 4.4vw, 68px)/.9 var(--display); text-transform: uppercase; margin: 18px 0 14px; }
.td2 .cap p { margin: 0; color: #c9c6bf; max-width: 38ch; }
.td2 .story-progress { display: flex; gap: 6px; }
.td2 .story-progress i { flex: 1; height: 3px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.td2 .story-progress b { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.td2 .story-media { position: relative; overflow: hidden; }
.td2 .story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td2 .skip { color: #c9c6bf; font-size: 14px; }
/* Without the motion script (reduced motion, or it failed to load): the four steps simply stack. */
.td2:not(.motion) .story { height: auto; padding: 80px 0; }
.td2:not(.motion) .story-stage { position: relative; top: 0; height: auto; display: block; }
.td2:not(.motion) .story-media { display: none; }
.td2:not(.motion) .story-copy .cap { position: relative; transform: none; top: auto; left: auto; right: auto; margin: 0 0 48px; opacity: 1 !important; }
.td2:not(.motion) .story-progress, .td2:not(.motion) .skip { display: none; }
.td2:not(.motion) .story-copy > .label { margin-bottom: 40px; }
.td2.motion .story-media img + img { opacity: 0; }
.td2.motion .story-copy .cap + .cap { opacity: 0; }   /* opacity only: hidden steps stay readable by screen readers */

/* ---------- line-up: the pit-lane photo opens out of a circle (sticky stage) ---------- */
.td2 .reveal-wrap { position: relative; height: calc(100vh + var(--circle-travel, 40vh)); }
.td2 .reveal-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); overflow: hidden; background: var(--ink); }
.td2 .reveal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td2.motion .reveal-stage img { clip-path: circle(8% at 50% 55%); will-change: clip-path; }
.td2 .reveal-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.td2 .reveal-title { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.td2 .reveal-title h2 { margin: 0; }
.td2 .spots { font: 800 clamp(40px, 5vw, 72px)/1 var(--display); text-align: right; }
.td2:not(.motion) .reveal-wrap { height: auto; }
.td2:not(.motion) .reveal-stage { position: relative; top: 0; height: 70vh; }

/* ---------- registrant list (the RadGrid, restyled as an editorial table) ---------- */
.td2 .registrants { padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); scroll-margin-top: calc(var(--nav) + 16px); }
.td2 .list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.td2 .list-head h2 { font: 600 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.td2 .RadGrid { border: 0 !important; background: transparent !important; font-family: var(--body) !important; color: var(--ink) !important; }
.td2 .RadGrid table.rgMasterTable { border-collapse: collapse; width: 100%; background: transparent; font-size: 16px; }
.td2 .RadGrid .rgHeader, .td2 .RadGrid th.rgHeader { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--ink) !important;
    font: 600 12px var(--body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; padding: 0 12px 14px 0 !important; text-align: left; }
.td2 .RadGrid .rgHeader a { color: var(--muted) !important; text-decoration: none; }
.td2 .RadGrid .rgRow > td, .td2 .RadGrid .rgAltRow > td { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 18px 12px 18px 0 !important; vertical-align: middle; }
.td2 .RadGrid .rgRow:hover > td, .td2 .RadGrid .rgAltRow:hover > td { background: var(--paper-2) !important; }
.td2 .RadGrid .rgFooter > td, .td2 .RadGrid .rgPager > td { background: transparent !important; border: 0 !important; }
.td2 .RadGrid .EntrantIn, .td2 .RadGrid .EntrantWaiting { font: 900 32px/1 var(--display); }
.td2 .RadGrid .EntrantWaiting { color: var(--red); font-size: 22px; }
.td2 .RadGrid .td-name { font-weight: 600; font-size: 18px; }
.td2 .RadGrid .paidfull { color: var(--ok); font-weight: 700; }
.td2 .RadGrid .partpaid { color: #6a7a1f; font-weight: 700; }
.td2 .RadGrid .notpaid { color: var(--red); font-weight: 700; }
.td2 .RadGrid input[type=submit], .td2 .RadGrid button { font: 600 13px var(--body); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; }
.td2 .RadGrid input[type=submit]:hover { background: var(--ink); color: var(--paper); }
.td2 .RadGrid select { font: 14px var(--body); padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white); }
.td2 .you-row { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line-strong); }
.td2 .you-row .pos { font: 900 32px/1 var(--display); color: var(--red); min-width: 56px; }
.td2 .you-row .who { color: var(--red); font-weight: 600; font-size: 18px; min-width: 140px; }
.td2 .empty { padding: 32px 0; font-size: 20px; }
.td2 .admin-status { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.td2 .admin-note { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: #fff7d6; border: 1px solid #e8d48a; font-size: 14px; }

/* admin "Edit registration" form */
.td2 .edit { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 0 0 28px; }
.td2 .edit h3 { font: 900 28px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.td2 .edit .row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: start; padding-top: 12px; }
.td2 .edit .row > div:first-child { padding-top: 10px; font-weight: 600; font-size: 15px; }
.td2 .edit .fields { display: flex; flex-wrap: wrap; gap: 8px; }
.td2 .edit .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- info, gallery, FAQ ---------- */
.td2 .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.td2 .cols h3 { font: 900 40px/1 var(--display); text-transform: uppercase; margin: 0 0 8px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.td2 .item { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.td2 .item b { font-weight: 600; }
.td2 .item p { margin: 0; color: var(--muted); }
.td2 .tbc { font: 700 11px var(--body); color: var(--red); border: 1px solid var(--red); border-radius: 3px; padding: 1px 5px; margin-left: 6px; letter-spacing: .06em; }
.td2 .gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.td2 .mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 15vw; gap: 10px; }
.td2 .mosaic figure { margin: 0; overflow: hidden; }
.td2 .mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e); }
.td2 .mosaic figure:hover img { transform: scale(1.05); }
.td2 .mosaic figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.td2 .mosaic figure:nth-child(n+2) { grid-column: span 2; }
.td2 .faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.td2 .faq details { border-top: 1px solid var(--ink); }
.td2 .faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 19px; }
.td2 .faq summary::-webkit-details-marker { display: none; }
.td2 .faq summary span { font: 900 26px/1 var(--display); transition: transform .45s var(--e); color: var(--red); }
.td2 .faq details[open] summary span { transform: rotate(45deg); }
.td2 .faq .answer { overflow: hidden; }
.td2 .faq .answer p { margin: 0; padding: 0 0 24px; color: var(--muted); }

/* ---------- closer ---------- */
.td2 .closer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 48px; overflow: hidden; }
.td2 .marquee { display: flex; white-space: nowrap; font: 900 clamp(64px, 11vw, 180px)/1 var(--display); text-transform: uppercase; }
.td2 .marquee span { padding-right: .4em; }
.td2 .marquee em { font-style: normal; color: var(--red); }
.td2 .closer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; }
.td2 .closer .btn { background: var(--paper); color: var(--ink); }
.td2 .closer .btn:hover { color: #fff; }
.td2 .credits { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; color: #9a968e; font-size: 14px; }
.td2 .credits a { color: #c9c6bf; }

/* ========================== REGISTER PAGE ========================== */
.td2.reg { margin-top: var(--nav); }
.td2 .reg-page { display: grid; grid-template-columns: minmax(340px, 42%) 1fr; min-height: calc(100vh - var(--nav)); }
.td2 .side { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); overflow: hidden; color: #fff; background: var(--ink); }
.td2 .side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; opacity: .9; }
.td2 .side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.85) 100%); }
.td2 .side-copy { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 36px; }
.td2 .side-copy h1 { font: 900 clamp(44px, 5vw, 84px)/.86 var(--display); text-transform: uppercase; margin: 12px 0 14px; }
.td2 .side-copy .sub { display: none; }   /* same sentence as "When" below - kept in the markup because the code-behind fills it */
.td2 .side-copy dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 20px; font-size: 15px; }
.td2 .side-copy dt { opacity: .7; }
.td2 .side-copy dd { margin: 0; font-weight: 600; }
.td2 .side-copy dd small { font-weight: 400; opacity: .8; font-size: 14px; }
.td2 .nopay { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); font-weight: 600; font-size: 14px; }
.td2 .nopay b { width: 8px; height: 8px; border-radius: 50%; background: #5bd17f; }
.td2 .reg-main { padding: 56px var(--pad) 80px; }
.td2 .reg-inner { max-width: 640px; }
.td2 .back-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 28px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.td2 .back-link:hover { color: var(--ink); text-decoration: underline; }
.td2 .reg-main h2 { font: 900 clamp(44px, 5vw, 76px)/.88 var(--display); text-transform: uppercase; margin: 0 0 18px; }
.td2 .intro { margin: 0 0 8px; font-size: 18px; }
.td2 .intro-small { margin: 0 0 32px; color: var(--muted); font-size: 15px; font-style: italic; }

.td2 .fs { margin: 0 0 8px; padding: 26px 0 30px; border-top: 1px solid var(--ink); display: grid; gap: 18px; }
.td2 .fs-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 4px; }
.td2 .fs-head .n { font: 800 15px var(--display); letter-spacing: .08em; color: var(--red); }
.td2 .fs-head .t { font: 900 30px/1 var(--display); text-transform: uppercase; }
.td2 .fs-head .opt { margin-left: auto; font-size: 13px; color: var(--muted); }
.td2 .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.td2 .frow.car { grid-template-columns: 130px 1fr 1.4fr; }
.td2 .field { display: grid; gap: 7px; align-content: start; }
.td2 .field > label, .td2 .field > .lbl { font-weight: 600; font-size: 15px; }
.td2 .hint { font-size: 13px; color: var(--muted); }
.td2 .opt-tag { font-weight: 500; color: var(--muted); font-size: 13px; }
.td2 input.form-control, .td2 select.form-control, .td2 .riTextBox, .td2 .rcCaptchaPanel input[type=text] {
    width: 100%; font: 500 17px var(--body); color: var(--ink); background: var(--white); height: auto;
    border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; outline: none; box-shadow: none;
    transition: border-color .25s var(--e), box-shadow .25s var(--e); }
.td2 select.form-control { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.td2 input.form-control::placeholder { color: #a19d95; opacity: 1; font-weight: 400; }
.td2 input.form-control:focus, .td2 select.form-control:focus, .td2 .rcCaptchaPanel input[type=text]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,18,18,.12); }
.td2 .field.invalid input.form-control, .td2 .field.invalid select.form-control { border-color: var(--red); background-color: #fffafa; }
.td2 .field.valid input.form-control:not(:focus) { border-color: rgba(31,122,61,.55); }
/* server messages (asp:Label .error) and client messages (.cerr) look the same */
.td2 .error, .td2 .cerr { color: var(--red); font-size: 14px; font-weight: 600; }
.td2 .cerr:empty { display: none; }
.td2 .note { font-size: 13px; color: var(--muted); margin: -4px 0 0; }
.td2 .resolved { font-size: 13px; color: var(--ok); font-weight: 600; }
.td2 .resolved:empty { display: none; }
.td2 .td-club-other { margin-top: 10px; }
.td2 .td-club-other[hidden] { display: none; }
.td2 .alert { border-radius: 12px; padding: 16px 18px; margin: 0 0 24px; font-size: 15px; background: var(--red-bg); border: 1px solid rgba(212,42,32,.35); }
.td2 .alert b { color: var(--red); }
.td2 .alert ul { margin: 8px 0 0; padding-left: 18px; }
.td2 .alert li { list-style: disc; }
.td2 .alert:focus { outline: none; }
.td2 .alert[hidden] { display: none; }
.td2 .save-status { display: block; margin-top: 14px; }
.td2 .admin-preview { margin: 0 0 24px; padding: 12px 16px; border-radius: 10px; background: #fff7d6; border: 1px solid #e8d48a; font-size: 14px; }
.td2 .closed-box { padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.td2 .closed-box h2 { font-size: 40px; }

/* RadCaptcha: image, then the text box + its label, then the "new code" link.
   Its own validator message is hidden - lblCaptcha_Error says the same thing in the page's words. */
.td2 .RadCaptcha > span[data-val-errormessage] { display: none !important; }
.td2 .RadCaptcha [id$=SpamProtectorPanel] { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.td2 .RadCaptcha img { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.td2 .RadCaptcha p { margin: 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.td2 .RadCaptcha p input.form-control { max-width: 200px; letter-spacing: .2em; text-transform: uppercase; }
.td2 .RadCaptcha label { font-size: 14px; color: var(--muted); }
.td2 .RadCaptcha a { font: 600 14px var(--body); color: var(--ink); text-decoration: underline; }

/* paid-phase extras (hidden while it's an expression of interest) */
.td2 .paid-box { padding: 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; }
.td2 .totalprice { font: 800 34px/1 var(--display); }
.td2 .td-warn { color: var(--red); font-weight: 700; }
.td2 .td-em { font-weight: 600; }

/* submit (RadButton without its skin) */
.td2 .submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--ink); }
.td2 .submit .RadButton, .td2 .submit .td2-submit { display: inline-flex !important; align-items: center; gap: 12px; background: var(--ink) !important; color: var(--paper) !important;
    font: 600 17px var(--body) !important; border: 0 !important; border-radius: 999px !important; padding: 18px 30px !important; cursor: pointer; height: auto !important;
    box-shadow: none !important; transition: background .35s var(--e); }
.td2 .submit .RadButton:hover { background: var(--red) !important; }
.td2 .submit .RadButton.rbDisabled, .td2 .submit .RadButton[disabled] { opacity: .65; cursor: progress; }
.td2 .submit .RadButton .rbText { padding: 0 !important; color: inherit !important; font: inherit !important; }

/* success */
.td2 .done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin-bottom: 22px; }
.td2 .done .tick svg { width: 30px; height: 30px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: td2draw .6s .2s var(--e) forwards; }
@keyframes td2draw { to { stroke-dashoffset: 0; } }
.td2 .next { list-style: none; margin: 28px 0 34px; padding: 0; border-top: 1px solid var(--ink); }
.td2 .next li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.td2 .next .n { font: 900 30px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--red); }
.td2 .next b { display: block; }
.td2 .next span { color: var(--muted); font-size: 15px; }
.td2 .done .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.td2 .reg-faq { margin-top: 56px; }
.td2 .reg-faq .faq { grid-template-columns: 1fr; }
.td2 .reg-foot { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* entrance: crisp fade-up of the form groups, once */
.td2 .rise { opacity: 0; transform: translateY(18px); animation: td2rise .8s var(--e) forwards; }
@keyframes td2rise { to { opacity: 1; transform: none; } }
/* ...on the first load only: after a postback (errors shown) the form must not fade in again under the visitor's cursor */
.td2.no-rise .rise { animation: none; opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .td2 .hero-top { left: var(--pad); right: auto; text-align: left; top: 22px; }
    .td2 .hero-cta { justify-items: start; text-align: left; }
    .td2 .facts { grid-template-columns: 1fr 1fr; }
    .td2 .fact { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
    .td2 .notice, .td2 .cols, .td2 .faq { grid-template-columns: 1fr; }
    .td2 .phasebar { grid-template-columns: 1fr 1fr; row-gap: 24px; }
    .td2 .story-stage { grid-template-columns: 1fr; grid-template-rows: 56% 1fr; }
    .td2 .story-media { grid-row: 1; }
    .td2 .story-copy { grid-row: 2; padding: 20px var(--pad); }
    .td2 .story-copy .cap { top: 50px; transform: none; }
    .td2 .cap .num { font-size: 60px; }
    .td2 .cap h3 { margin-top: 8px; }
    .td2 .item { grid-template-columns: 1fr; gap: 4px; }
    .td2 .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
    .td2 .mosaic figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .td2 .mosaic figure:nth-child(1) { grid-column: span 2; }
    .td2 .edit .row { grid-template-columns: 1fr; }
    .td2 .reg-page { grid-template-columns: 1fr; }
    .td2 .side { position: relative; top: 0; height: 46vh; min-height: 320px; }
    .td2 .side-copy { bottom: 20px; }
    .td2 .side-copy h1 { font-size: 52px; }
    .td2 .side-copy dl, .td2 .side-copy .sub { display: none; }
    .td2 .reg-main { padding-top: 40px; }
    .td2 .frow, .td2 .frow.car { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    /* the public list: hide the less important columns on a phone */
    .td2 .RadGrid .rgMasterTable td:nth-child(n+4), .td2 .RadGrid .rgMasterTable th:nth-child(n+4) { display: none; }
    .td2 .td2-admin .RadGrid .rgMasterTable td, .td2 .td2-admin .RadGrid .rgMasterTable th { display: table-cell; }
    .td2 .td2-admin { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .td2 .rise { animation: none; opacity: 1; transform: none; }
    .td2 *, .td2 *::before, .td2 *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
