/* DEMO — ThinkFirst Studios · [Your name here] — fictional business. */
:root { --g:#ECE9F0;--ink:#1C1B24;--ink2:#4E4B5C;--link:#4B2E83;--focus:#33205C;--a1:#4B2E83;--a1d:#33205C;--on-a1:#fff;--a2:#1F7F86;--a2w:#D6E8E9;--wash:#DCD6E6;--line:#C9C2D4;--card:#F6F4F9;--field:#fff;--field-line:#8E87A0;--err:#9B1C31;--display:'Vollkorn',Georgia,serif;--body:'Encode Sans',system-ui,sans-serif;--dw:700;--dlh:1.04;--dls:-.012em;--dtt:none;--r:0;--rb:2px;--rf:0;--btn-grad:linear-gradient(135deg,#4B2E83 0%,#33205C 100%);--band-grad:linear-gradient(180deg,#DCD6E6 0%,#ECE9F0 100%);--dark-grad:linear-gradient(100deg,#1C1B24 0%,#262235 100%);--accent-grad:linear-gradient(135deg,#4B2E83 0%,#33205C 100%);--dark-ink:#ECE9F0;--dark-ink2:#C9C2D4;--dark-line:rgba(236,233,240,.2);--hero-scrim:linear-gradient(180deg,rgba(28,27,36,0) 0%,rgba(28,27,36,.42) 52%,rgba(28,27,36,.86) 100%);--head-bg:transparent;--head-bg-c:#ECE9F0;--head-ink:#fff;--head-h:86px;--head-h-c:56px;--head-shadow:0 1px 0 #C9C2D4;--overlay-bg:#ECE9F0;--overlay-ink:#1C1B24;--demo-bg:#4B2E83;--demo-ink:#fff;--th-bg:#DCD6E6;--th-ink:#1C1B24;--frame-line:#4B2E83;--frame-bg:#DCD6E6;--foot-bg:#1C1B24;--foot-ink:#ECE9F0;--foot-line:rgba(236,233,240,.22);--mbar-bg:#ECE9F0;--ease:cubic-bezier(.2,.8,.3,1);--rv-t:.22s;--stagger:55ms;--rise:14px }
/* Shared layout for the gym / training demos. Per-template tokens and systems are set above and below this block. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--g); color: var(--ink); font: 400 17px/1.62 var(--body); font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: var(--dw); line-height: var(--dlh); letter-spacing: var(--dls); text-transform: var(--dtt); margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, 1220px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--g); padding: 12px 16px; }
.skip:focus { left: 8px; top: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font: 600 .8rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin-bottom: 12px; }
.lede { font-size: 1.14rem; color: var(--ink2); max-width: 62ch; }
.note { font-size: .95rem; color: var(--ink2); }
.ph { overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph--block { display: block; padding: .7em .85em; margin: .3em 0; }

/* demo plate: fixed, top-left, max z-index, survives a screenshot */
.demo-plate { position: fixed; left: 0; top: 0; z-index: 9999; background: var(--demo-bg); color: var(--demo-ink); font: 700 .74rem/1 var(--body); letter-spacing: .05em; padding: 8px 12px; border-radius: 0 0 var(--r) 0; box-shadow: 0 2px 10px rgba(0,0,0,.18); pointer-events: none; max-width: calc(100vw - 20px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: .7em 1.4em; border-radius: var(--rb); border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 600 1rem/1.15 var(--body); letter-spacing: .01em; color: var(--on-a1); background: var(--btn-grad); transition: transform .18s, filter .18s, box-shadow .18s; }
.btn:hover { filter: brightness(1.08); color: var(--on-a1); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--line:hover { background: rgba(127,127,127,.12); filter: none; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--link); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 60; transition: background .25s, box-shadow .25s; background: var(--head-bg); }
.site-head .bar { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); transition: min-height .25s; }
.site-head.is-condensed { background: var(--head-bg-c); box-shadow: var(--head-shadow); }
.site-head.is-condensed .bar { min-height: var(--head-h-c); }
.wordmark { text-decoration: none; color: var(--head-ink); margin-right: auto; display: flex; align-items: center; gap: 10px; font: var(--dw) 1.45rem/1 var(--display); letter-spacing: var(--dls); text-transform: var(--dtt); }
.wordmark small { display: block; font: 500 .72rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--head-ink); font-weight: 500; font-size: .97rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--a1); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; min-height: 44px; min-width: 72px; border: 2px solid var(--head-ink); background: transparent; color: var(--head-ink); border-radius: var(--rb); font: 600 .9rem var(--body); cursor: pointer; }
.strip { background: var(--strip-bg); color: var(--strip-ink); font-size: .86rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 7px 0; }
.strip b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-block; }
  .nav { position: fixed; inset: var(--nav-top, 100px) 0 0 0; background: var(--overlay-bg); display: none; padding: 16px 16px 120px; overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.2rem; min-height: 54px; border-bottom: 1px solid var(--line); color: var(--overlay-ink); }
  .nav .nav-cta { display: block; margin-top: 18px; }
  .head-cta .btn { display: none; }
}
.nav .nav-cta { display: none; }
@media (max-width: 1080px) { .nav .nav-cta { display: block; } }

/* hero */
.hero { position: relative; color: #fff; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; margin-top: calc(-1 * var(--head-h) - var(--strip-h, 0px)); }
.hero > .shot { position: absolute; inset: 0; margin: 0; }
.hero > .shot img, .hero > .shot picture { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding: calc(var(--head-h) + 90px) 0 40px; }
.hero h1 { max-width: 16ch; color: #fff; }
.hero .sub { font-size: 1.18rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.hero .link-arrow { color: #fff; }
.fieldline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); font-size: .95rem; color: rgba(255,255,255,.92); }
.js .hero .wrap > * { animation: heroin .7s cubic-bezier(.2,.8,.3,1) both; }
.js .hero .wrap > *:nth-child(2) { animation-delay: .08s; } .js .hero .wrap > *:nth-child(3) { animation-delay: .16s; } .js .hero .wrap > *:nth-child(4) { animation-delay: .24s; } .js .hero .wrap > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroin { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero > .shot img { animation: settle 1.6s cubic-bezier(.2,.8,.3,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 760px) { .hero { min-height: 82vh; } }

/* page head */
.pagehead { position: relative; color: #fff; padding: 150px 0 60px; overflow: hidden; margin-top: calc(-1 * var(--head-h) - var(--strip-h, 0px)); }
.pagehead > .shot { position: absolute; inset: 0; margin: 0; }
.pagehead > .shot img, .pagehead > .shot picture { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; }
.pagehead p { color: rgba(255,255,255,.92); max-width: 60ch; font-size: 1.12rem; }
.pagehead--plain { color: var(--ink); background: var(--band-grad); padding-top: calc(var(--head-h) + 70px); }
.pagehead--plain::after { display: none; }
.pagehead--plain h1, .pagehead--plain p { color: var(--ink); }

/* sections */
.sec { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.sec--alt { background: var(--band-grad); }
.sec--dark { background: var(--dark-grad); color: var(--dark-ink); }
.sec--dark .eyebrow, .sec--dark .note, .sec--dark .lede { color: var(--dark-ink2); }
.sec--dark a { color: var(--dark-ink); }
.sec--accent { background: var(--accent-grad); color: var(--on-a1); }
.sec--accent .eyebrow, .sec--accent .lede { color: var(--on-a1); opacity: .9; }
.sec--accent .btn { background: var(--g); color: var(--a1d); }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head--c { text-align: center; margin-inline: auto; }
.sec-head--c .lede { margin-inline: auto; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--7-5 { grid-template-columns: 7fr 5fr; } .split--5-7 { grid-template-columns: 5fr 7fr; } .split--flip > :first-child { order: 2; } }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* photos */
.shot { position: relative; margin: 0; overflow: hidden; background: var(--line); border-radius: var(--r); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-label { position: absolute; left: 8px; bottom: 8px; font: 600 .68rem/1.3 var(--body); background: rgba(0,0,0,.62); color: #fff; padding: 3px 7px; letter-spacing: .03em; max-width: calc(100% - 16px); border-radius: 2px; }
.hero .shot-label, .pagehead .shot-label { bottom: auto; top: calc(var(--head-h) + var(--strip-h, 0px) + 10px); z-index: 3; }
.r-16x9 { aspect-ratio: 16/9; } .r-4x3 { aspect-ratio: 4/3; } .r-3x2 { aspect-ratio: 3/2; } .r-1x1 { aspect-ratio: 1; } .r-4x5 { aspect-ratio: 4/5; } .r-21x9 { aspect-ratio: 21/9; }
.zoom img { transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.zoom:hover img { transform: scale(1.05); }

/* panels and cards */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel h3 { margin-bottom: .35em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .16s, transform .2s; }
.card:hover { border-color: var(--a1); }
.card-b { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-b .link-arrow, .card-b .btn { margin-top: auto; align-self: flex-start; }
.icon { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.facts li > span:first-child { font-weight: 600; }
.sec--dark .facts, .sec--dark .facts li { border-color: var(--dark-line); }

/* empty labelled frames (staff portraits, quotes, partners, map) */
.frame-empty { border: 1px dashed var(--frame-line); background: var(--frame-bg); border-radius: var(--r); display: grid; place-items: center; text-align: center; padding: 22px; color: var(--ink2); font: 600 .82rem/1.45 var(--body); letter-spacing: .05em; text-transform: uppercase; }
.frame-empty small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; margin-top: 8px; font-size: .9rem; }

/* tables — real tables that reflow on mobile */
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tbl caption { text-align: left; font-weight: 600; padding: 0 0 10px; color: var(--ink); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--th-bg); color: var(--th-ink); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.tbl tbody th { font-weight: 600; }
.tbl tr.is-today > * { background: var(--wash); }
.tbl tr.is-today > th:first-child { box-shadow: inset 4px 0 0 var(--a1); }
@media (max-width: 760px) {
  .reflow, .reflow tbody, .reflow tr, .reflow th, .reflow td { display: block; width: 100%; }
  .reflow thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reflow caption { display: block; }
  .reflow caption.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reflow tr { border-bottom: 2px solid var(--line); padding: 6px 0; }
  .reflow th, .reflow td { border: 0; padding: 6px 14px; }
  .reflow td[data-l]::before { content: attr(data-l); display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink2); }
}

/* forms */
.formcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend, .legend { font-weight: 600; font-size: .97rem; }
.hint { font-size: .9rem; color: var(--ink2); }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--field-line); border-radius: var(--rf); background: var(--field); color: var(--ink); font: 400 1rem/1.4 var(--body); }
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
[aria-invalid="true"] { border: 2px solid var(--err) !important; }
.err { color: var(--err); font-size: .9rem; font-weight: 600; margin: 0; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.checkline { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; font-weight: 500; }
.checkline input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--a1); }
.waiver { border: 2px solid var(--a1); border-radius: var(--r); padding: 16px; margin: 6px 0 16px; background: var(--wash); }
.waiver h4 { font-family: var(--body); font-size: 1rem; text-transform: none; letter-spacing: 0; margin: 0 0 8px; }
.waiver .greyline { height: 10px; border-radius: 2px; background: var(--line); margin: 8px 0; }
.waiver .greyline:nth-child(3) { width: 86%; } .waiver .greyline:nth-child(4) { width: 92%; } .waiver .greyline:nth-child(5) { width: 64%; }
.form-status { margin-top: 14px; padding: 14px; border-radius: var(--r); background: var(--wash); border: 1px solid var(--a1); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.slot span { display: block; border: 1px solid var(--field-line); border-radius: var(--rf); padding: 10px; text-align: center; background: var(--field); font-weight: 600; font-size: .92rem; transition: background .16s, border-color .16s, color .16s; min-height: 48px; }
.slot span small { display: block; font-weight: 500; color: var(--ink2); font-size: .8rem; }
.slot input:hover + span { background: var(--wash); }
.slot input:checked + span { background: var(--a1); border-color: var(--a1d); color: var(--on-a1); }
.slot input:checked + span small { color: var(--on-a1); }
.slot input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.slot input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.summary { position: sticky; top: calc(var(--head-h-c) + 16px); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-weight: 600; min-height: 48px; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--a1); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; }

/* footer */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); padding: 64px 0 120px; font-size: .95rem; }
.site-foot a { color: var(--foot-ink); }
.foot-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.foot-grid h2 { font: 600 .82rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--foot-ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid ul a { display: inline-flex; min-height: 34px; align-items: center; text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--foot-line); border-radius: var(--rb); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--foot-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; opacity: .9; }

/* sticky mobile bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 8px; padding: 8px; background: var(--mbar-bg); box-shadow: 0 -8px 24px rgba(0,0,0,.16); transform: translateY(110%); transition: transform .24s; }
.mbar.show { transform: none; }
.mbar a { flex: 1; min-height: 50px; }
@media (max-width: 900px) { .mbar { display: flex; } }

/* reveals */
.js .rv { opacity: 0; transform: translateY(var(--rise, 14px)); transition: opacity var(--rv-t, .22s) var(--ease), transform var(--rv-t, .22s) var(--ease); transition-delay: calc(var(--i, 0) * var(--stagger, 55ms)); }
.js .rv.is-in { opacity: 1; transform: none; }

.draft { border: 2px solid var(--a1); border-radius: var(--r); background: var(--wash); padding: 14px 18px; margin-bottom: 26px; font-weight: 600; }
.legal h2 { font-size: 1.5rem; margin-top: 1.4em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .mbar { transform: none !important; }
}
/* room for the fixed demo plate above the header */
.site-head { padding-top: 30px; }
.hero, .pagehead { margin-top: calc(-1 * var(--head-h) - var(--strip-h, 0px) - 30px); }
.hero .wrap { padding-top: calc(var(--head-h) + 120px); }
.nav { --nav-top: 0; }

/* ---- template system ---- */

.ph { font-family: 'Encode Sans', sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; color: #33205C; background: #DCD6E6; border: 1px solid #4B2E83; border-radius: 0; padding: 0 .34em; }
.hero .ph, .pagehead:not(.pagehead--plain) .ph { background: rgba(220,214,230,.94); }
h1 .ph { font-size: .5em; vertical-align: .22em; line-height: 1.7; }
.site-head.is-condensed .wordmark, .site-head.is-condensed .nav a { color: #1C1B24; }
.site-head.is-condensed .menu-btn { color: #1C1B24; border-color: #1C1B24; }
.btn { border-radius: 2px; }
.sec--accent .btn { background: #ECE9F0; color: #33205C; }
/* facility index */
.facs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fac { position: relative; display: block; text-decoration: none; color: #1C1B24; border: 1px solid #C9C2D4; background: #F6F4F9; transition: border-color .14s; }
.fac:hover { border-color: #4B2E83; }
.fac .shot { border-radius: 0; }
.fac-l { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font: 600 .86rem/1.2 'Encode Sans'; letter-spacing: .12em; text-transform: uppercase; border-top: 3px solid #4B2E83; }
.fac-l .icon { width: 28px; height: 28px; }
@media (max-width: 860px) { .facs { grid-template-columns: 1fr 1fr; } }
/* the filter tray */
.tray { position: sticky; top: var(--head-h-c); z-index: 20; background: linear-gradient(180deg, #DCD6E6 0%, #ECE9F0 100%); border: 1px solid #C9C2D4; padding: 14px 16px; background-image: linear-gradient(180deg, #DCD6E6 0%, #ECE9F0 100%), repeating-linear-gradient(0deg, rgba(201,194,212,.08) 0 1px, transparent 1px 24px); }
.tray-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: start; padding: 6px 0; }
.tray-l { font: 600 .78rem/2.6 'Encode Sans'; letter-spacing: .12em; text-transform: uppercase; color: #4E4B5C; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 6px 12px; border: 1px solid; border-radius: 0; background: #fff; font: 500 .92rem/1.2 'Encode Sans'; color: #1C1B24; cursor: pointer; transition: background .14s, color .14s; display: inline-flex; align-items: center; gap: 8px; }
.chip--aud { border-color: #4B2E83; } .chip--act { border-color: #1F7F86; }
.chip .cnt { font-size: .78rem; opacity: .8; }
.chip--aud[aria-pressed="true"] { background: #4B2E83; color: #fff; }
.chip--act[aria-pressed="true"] { background: #1F7F86; color: #fff; }
.chip .ph { font-size: .9em; }
.chip[aria-pressed="true"] .ph { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.tray-note { margin: 8px 0 0; font-size: .88rem; color: #4E4B5C; }
@media (max-width: 700px) { .tray { position: static; } .tray-row { grid-template-columns: 1fr; gap: 2px; } }
.readout { font-weight: 600; margin: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.clear { min-height: 40px; padding: 4px 14px; border: 1px solid #1C1B24; background: transparent; font: 600 .9rem 'Encode Sans'; cursor: pointer; }
/* programme grid */
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; transition: min-height .14s; }
@media (max-width: 1100px) { .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prog-grid { grid-template-columns: 1fr; } }
.prog { transition: opacity .16s, border-color .16s; }
.prog.is-match { border-color: #4B2E83; }
.prog.is-out { opacity: .28; }
.prog.is-gone { display: none; }
.prog-photo { position: relative; }
.prog-photo .shot { border-radius: 0; }
.plate { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(236,233,240,.94); font-size: .84rem; transition: transform .14s; }
.prog:hover .plate { transform: translateY(-2px); }
.act-chip { display: inline-block; background: #1F7F86; color: #fff; font: 600 .74rem/1 'Encode Sans'; letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; align-self: flex-start; }
.act-chip--sm { font-size: .68rem; padding: 4px 6px; }
.auds { display: flex; flex-wrap: wrap; gap: 4px; }
.aud-l { font-size: .74rem; font-weight: 600; color: #4B2E83; border: 1px solid #4B2E83; padding: 1px 6px; }
.prog .meta { font-size: .88rem; color: #4E4B5C; margin: 0; }
.empty-state { border: 1px dashed #4B2E83; padding: 18px; background: #F6F4F9; font-weight: 600; }
/* timetable */
.tt-sel { display: none; position: sticky; top: var(--head-h-c); z-index: 15; gap: 6px; padding: 8px 0; background: #ECE9F0; overflow-x: auto; }
.tt-sel button { min-height: 44px; min-width: 52px; border: 1px solid #C9C2D4; background: #fff; font: 600 .9rem 'Encode Sans'; cursor: pointer; }
.tt-sel button[aria-pressed="true"] { background: #4B2E83; color: #fff; border-color: #4B2E83; }
.tt-grid { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); gap: 0; border: 1px solid #C9C2D4; background: #F6F4F9; background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--days) - 1px), #C9C2D4 0 calc(100% / var(--days))); }
.tt-day h3 { font: 600 .82rem 'Encode Sans'; letter-spacing: .12em; text-transform: uppercase; margin: 0; padding: 10px; border-bottom: 1px solid #C9C2D4; background: #DCD6E6; }
.tt-day.is-today h3 { background: #4B2E83; color: #fff; }
.tt-day ol { list-style: none; margin: 0; padding: 6px; display: grid; gap: 6px; }
.slotcell { border: 1px solid #C9C2D4; background: #fff; padding: 8px; display: grid; gap: 4px; font-size: .84rem; transition: background .14s, color .14s, filter .14s; }
.slotcell b { font-weight: 600; font-size: .82rem; }
.slotcell .m { color: #4E4B5C; font-size: .78rem; }
.slotcell .book { font-weight: 600; color: #4B2E83; font-size: .85rem; min-height: 32px; display: inline-flex; align-items: center; }
.slotcell.is-match { background: #D6E8E9; border-color: #1F7F86; }
.slotcell.is-out { filter: grayscale(1); opacity: .45; }
.legend-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
@media (max-width: 900px) {
  .tt-sel { display: flex; }
  .tt-grid { grid-template-columns: 1fr; background-image: none; }
  .tt-day { display: none; } .tt-day.is-shown { display: block; }
}
/* aquatics band */
.aquatics { background: linear-gradient(160deg, #D6E8E9 0%, #ECE9F0 72%); }
.aquatics .shot { border-radius: 0; }
/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: #F6F4F9; border: 1px solid #C9C2D4; }
.tier-h { padding: 16px 20px; border-bottom: 1px solid #C9C2D4; }
.tier-h h3 { margin: 0; }
.tier--hot .tier-h { background: linear-gradient(135deg, #4B2E83 0%, #33205C 100%); color: #fff; }
.tier--hot .tier-h .ph { background: rgba(220,214,230,.92); }
.tier--hot { border-color: #4B2E83; }
.tier-b { padding: 20px; display: grid; gap: 16px; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price-line .mo { font: 700 2.1rem/1 'Vollkorn'; } .price-line .mo small { font: 500 1rem 'Encode Sans'; }
.price-line .fee { font: 600 1.15rem 'Encode Sans'; }
.first { border: 2px solid #4B2E83; padding: 12px 14px; display: grid; gap: 4px; background: #fff; }
.first span { font: 600 .78rem 'Encode Sans'; letter-spacing: .12em; text-transform: uppercase; }
.first b { font: 700 1.7rem/1.1 'Vollkorn'; }
.first small { font-size: .8rem; }
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inc li { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid #C9C2D4; padding-bottom: 8px; }
.commit { background: #DCD6E6; border: 1px solid #C9C2D4; padding: 14px; }
.commit h4 { font: 600 .82rem 'Encode Sans'; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.commit ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.commit li { display: grid; gap: 2px; }
.commit li > span:first-child { font-weight: 600; }
/* dark band */
.darkband { padding: 0; }
.darkband-in { display: grid; grid-template-columns: 55fr 45fr; min-height: 480px; }
.darkband-photo { position: relative; } .darkband-photo .shot { position: absolute; inset: 0; border-radius: 0; }
.darkband-copy { padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px); align-self: center; }
.pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.pts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.pts .icon { color: #DCD6E6; }
.pts h3 { font-size: 1.2rem; }
@media (max-width: 860px) { .darkband-in { grid-template-columns: 1fr; } .darkband-photo { aspect-ratio: 16/9; } }
.junior { border: 1px solid #1C1B24; padding: 24px; background: #F6F4F9; max-width: 820px; }
.tourband { text-align: left; }
.tourband .btn-row span { font-weight: 600; }
.tourband .ph { background: rgba(236,233,240,.92); }
.notice { margin: 10px 0 14px; }
.steps { padding-left: 1.2em; display: grid; gap: 8px; margin: 0; }
.cmp .tick { color: #1F7F86; font-weight: 700; font-size: 1.2rem; } .cmp .dash { color: #4E4B5C; }
.tbl tr.tot > * { font-weight: 700; background: #DCD6E6; }
.renew { background: #DCD6E6; border: 1px solid #C9C2D4; padding: 22px; }
.frame-empty { border-style: solid; border-color: #4B2E83; }

