/* base.css - what every direction shares and none of them designs: the reset, the mechanics of the
   lightbox and video tiles, the pitch bar, and the overview cover. Anything with a look lives in a
   dir-*.css file, and only one of those is ever enabled at a time. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; background-color: #0e0e10; color: #ece9e2; font-family: "Inter Tight", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, blockquote { text-wrap: balance; }   /* never strand one word on a line of its own */
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background-color: #fff; color: #000; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
html.lb-open, html.menu-open { overflow: hidden; }
.t-main:focus { outline: none; }

/* mechanics shared by every direction */
.t-ph { display: block; width: 100%; overflow: hidden; }
.t-ph img { width: 100%; }
.t-logo-mark { display: inline-block; width: 1.6em; height: 1.6em; background-color: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.t-vid { display: block; width: 100%; text-align: left; }
.t-vid-poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background-color: #000; }
.t-vid-poster img { width: 100%; height: 100%; object-fit: cover; }   /* also crops the black bars off YouTube's 4:3 posters */
.t-vid-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.t-vid-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background-color: rgba(0, 0, 0, .55); border: 1.5px solid rgba(255, 255, 255, .85); }
.t-vid-play::after { content: ""; position: absolute; left: 25px; top: 19px; border: 12px solid transparent; border-left: 18px solid #fff; border-right: 0; }
.t-reel { position: relative; }
.t-reel video { width: 100%; background-color: #000; object-fit: cover; }
.t-ext { font-size: .85em; }

/* lightbox: the picture is an <img> with a real src, never a background, so nothing can reset it */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: 1fr auto; align-items: center; justify-items: center; background-color: rgba(8, 8, 9, .96); padding: 24px 0 18px; }
.lb-img { grid-column: 2; grid-row: 1; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lb-cap { grid-column: 1 / -1; grid-row: 2; color: #cfcac1; font-size: 13px; letter-spacing: .02em; padding: 12px 24px 0; text-align: center; font-family: "Inter Tight", system-ui, sans-serif; }
.lb button { color: #fff; font-size: 40px; line-height: 1; width: 56px; height: 56px; border-radius: 50%; font-family: system-ui, sans-serif; }
.lb button:hover { background-color: rgba(255, 255, 255, .12); }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-x { position: absolute; right: 14px; top: 12px; z-index: 2; }
@media (max-width: 700px) { .lb { grid-template-columns: 44px 1fr 44px; } .lb button { width: 40px; height: 40px; font-size: 30px; } }

/* pitch bar */
/* bottom-right on a desktop, clear of every hero's own controls; centred on a phone */
.pb { position: fixed; right: 16px; bottom: 14px; z-index: 150; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background-color: rgba(14, 14, 16, .9); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 13px/1 "Inter Tight", system-ui, sans-serif; color: #ece9e2; white-space: nowrap; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.pb a, .pb button { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 13px; border-radius: 999px; text-decoration: none; color: inherit; }
.pb a:hover, .pb button:hover { background-color: rgba(255, 255, 255, .12); }
.pb-dir b { font-weight: 700; opacity: .6; }
.pb-dir[aria-current] { background-color: #ece9e2; color: #0e0e10; }
.pb-dir[aria-current] b { opacity: 1; }
.pb-home { opacity: .75; } .pb-x { font-size: 18px; opacity: .6; }
html.lb-open .pb { display: none; }
@media (max-width: 640px) { .pb { right: auto; left: 50%; transform: translateX(-50%); } .pb-wide { display: none; } .pb a, .pb button { padding: 0 12px; } }

/* ---------- the cover (overview of the pitch) ---------- */
html[data-dir="cover"] body { background-color: #0e0e10; color: #ece9e2; }
.cv { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) 80px; }
.cv-kicker { font: 500 13px/1.4 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #9d988e; }
.cv-head h1 { font: 400 clamp(56px, 10vw, 148px)/.95 "Instrument Serif", Georgia, serif; letter-spacing: -.02em; margin: 14px 0 22px; }
.cv-sum { max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); color: #cfcac1; }
.cv-dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.cv-dir { display: flex; flex-direction: column; text-decoration: none; border: 1px solid #2b2a2e; border-radius: 14px; overflow: hidden; background-color: #151518; transition: border-color .2s, transform .2s; }
.cv-dir:hover { border-color: #ece9e2; transform: translateY(-3px); }
.cv-dir figure { aspect-ratio: 4 / 3; overflow: hidden; background-color: #000; }
.cv-dir img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.cv-letter { font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .1em; color: #9d988e; padding: 20px 22px 0; }
.cv-dir h2 { font: 400 34px/1.05 "Instrument Serif", Georgia, serif; padding: 8px 22px 10px; }
.cv-dir p:not(.cv-letter) { padding: 0 22px; color: #bdb8ae; font-size: 15.5px; flex: 1; }
.cv-open { padding: 18px 22px 22px; font-weight: 600; font-size: 14px; }
.cv-sec { border-top: 1px solid #2b2a2e; padding: clamp(32px, 4vw, 56px) 0; }
.cv-sec > h2 { font: 400 clamp(32px, 3.4vw, 46px)/1.1 "Instrument Serif", Georgia, serif; margin-bottom: 22px; }
.cv-note { color: #9d988e; margin: -12px 0 26px; max-width: 60ch; }
.cv-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cv-sec h3 { font: 600 16px/1.3 "Inter Tight", system-ui, sans-serif; margin-bottom: 6px; }
.cv-sec p { color: #bdb8ae; font-size: 15px; }
.cv-find { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 48px; counter-reset: f; }
.cv-find li { counter-increment: f; position: relative; padding-left: 44px; }
.cv-find li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 13px/1.4 "IBM Plex Mono", ui-monospace, monospace; color: #ff8a3d; }
.cv-map { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.cv-map th { text-align: left; font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #9d988e; padding: 0 0 12px; }
.cv-map td { padding: 10px 0; border-top: 1px solid #2b2a2e; color: #cfcac1; }
.cv-map td:last-child { color: #ece9e2; font-weight: 600; }
.cv-foot { border-top: 1px solid #2b2a2e; padding-top: 26px; color: #8b867d; font-size: 13.5px; max-width: 80ch; }
@media (max-width: 1100px) { .cv-dirs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cv-dirs { grid-template-columns: repeat(2, 1fr); } .cv-cols { grid-template-columns: repeat(2, 1fr); } .cv-find { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cv-cols, .cv-dirs { grid-template-columns: 1fr; } }

/* ---------- the Book page (book.js): the studio's own "Book Your Session" mock-up, layout only.
   Every colour, face and edge comes from the direction's sheet ---------- */
.bk { max-width: 1320px; margin-inline: auto; }
.bk-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 68vh; overflow: hidden; background-color: #111; }
.bk-hero-img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.bk-hero-img.is-on { opacity: 1; }
.bk-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.bk-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.bk-mode { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 148px; padding: 22px 12px; text-align: center; }
.bk-mode-ic { display: grid; place-items: center; width: 48px; height: 48px; }
/* the chosen service fills with a blue gradient (Kaine, 2026-09-29), the same in every direction. It starts at their own
   measured blue backdrop (#045ff2) and only deepens, so white type never falls below its 5.35:1. The gradient is a layer
   that fades in behind the content: a selected tab is complete whether or not the fade ever runs. */
.bk-mode { position: relative; isolation: isolate; overflow: hidden; }
.bk-mode::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background-image: linear-gradient(135deg, #045ff2 0%, #0447c4 52%, #062a86 100%); }
.bk-mode[aria-selected="true"] { color: #fff; }
.bk-mode[aria-selected="true"]::before { opacity: 1; }
.bk-mode[aria-selected="true"] .bk-mode-ic { border-color: rgba(255, 255, 255, .7); color: #fff; }
.bk-mode[aria-selected="true"] .bk-mode-state { color: rgba(255, 255, 255, .85); opacity: 1; }
.bk-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 4vw, 60px); align-items: start; margin-top: clamp(32px, 4vw, 52px); }
.bk-flow, .bk-panel { display: grid; gap: 26px; min-width: 0; }
.bk .t-form { max-width: none; }
.bk-field { position: relative; display: grid; gap: 8px; align-content: start; }
.bk-date, .bk-pk-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; }
.bk-date svg, .bk-pk-btn svg { flex: none; opacity: .6; }
.bk-pk-v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-pk-meta { opacity: .6; }
.bk-pop, .bk-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; }
.bk-list { right: 0; max-height: 460px; overflow-y: auto; padding: 8px; }
.bk-list:focus { outline: none; }
.bk-list-h { padding: 8px 10px 10px; }
.bk-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 12px 12px 14px; cursor: pointer; }
.bk-opt-price { text-align: right; white-space: nowrap; }
.bk-opt-time, .bk-opt-inc { grid-column: 1 / -1; }
.bk-line b { font-weight: 700; }
.bk-adds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bk-adds--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-add { position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.bk-add-plate { display: grid; place-items: center; height: 108px; flex: none; }
.bk-add-body { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 4px; align-content: start; padding: 14px 16px 16px; }
.bk-add input { grid-row: 1; width: 18px; height: 18px; margin: 2px 0 0; accent-color: currentColor; cursor: pointer; }
.bk-add-name, .bk-add-line, .bk-add-need { grid-column: 2; }
.bk-add-price { grid-column: 1 / -1; justify-self: end; margin-top: 8px; }
.bk-add:has(input:focus-visible) { outline: 3px solid currentColor; outline-offset: 3px; }
.bk-fig { overflow: hidden; }
.bk-fig img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.bk-fee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; padding: 16px 18px; }
.bk-fee-line { grid-column: 1; }
.bk-fee-price { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.bk-inc { padding: 18px 20px; }
.bk-inc-h { margin-bottom: 6px; }
.bk-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 12px; width: 100%; padding: 14px 18px; text-align: left; }
.bk-more-s { grid-column: 1; }
.bk-more svg { grid-column: 2; grid-row: 1 / 3; transition: transform .2s; }
.bk-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.bk-more-panel { display: grid; gap: 16px; padding: 20px; margin-top: -14px; }
.bk-done { width: 100%; min-height: 46px; }
.bk-go { width: 100%; justify-content: center; }
.bk-hint:empty { display: none; }
.bk-sum { position: sticky; top: 24px; padding: 28px; }
.bk-sum-list, .bk-sum-tot { display: grid; }
.bk-sum-list div, .bk-sum-tot div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bk-sum-list dd, .bk-sum-tot dd { text-align: right; }
.bk-sum-box { padding: 14px 16px; }
.bk-sum-box li { display: flex; justify-content: space-between; gap: 12px; }
.bk-sum-box li::before { content: "•"; margin-right: -4px; }
.bk-sum-box li span { flex: 1; }
/* the date popover's month */
.bk-cal { padding: 12px; }
.bk-cal-cap { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; margin-bottom: 6px; }
.bk-cal-nav { position: absolute; top: 2px; display: grid; place-items: center; width: 36px; height: 36px; }
.bk-cal-nav[data-step="-1"] { left: 2px; }
.bk-cal-nav[data-step="1"] { right: 2px; }
.bk-cal-nav:disabled { opacity: .3; cursor: default; }
.bk-cal-grid { border-collapse: collapse; }
.bk-cal-grid th { width: 44px; height: 30px; padding: 0; font-weight: inherit; }
.bk-cal-grid td { padding: 1px; text-align: center; }
.bk-day { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; font-variant-numeric: tabular-nums; }
.bk-day:disabled { cursor: default; }
.bk-day[aria-current="date"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background-color: currentColor; }
@media (max-width: 1100px) { .bk-body { grid-template-columns: 1fr; } .bk-sum { position: static; } }
@media (max-width: 700px) {
  .bk-hero { aspect-ratio: 4 / 3; }
  .bk-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-mode { min-height: 124px; }
  .bk-adds, .bk-adds--3 { grid-template-columns: 1fr; }
  .bk-add { flex-direction: row; }
  .bk-add-plate { width: 84px; height: auto; }
  .bk-sum { padding: 24px 20px; }
}

/* ---------- reviews on the home page (pages.js reviews()): layout only. Quoted word for word; each direction draws them ---------- */
.t-rev { margin: 0; }
.t-rev-q { margin: 0; }
.t-revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-rev-by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 16px; }
.t-rev-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
@media (max-width: 960px) { .t-revs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .t-revs { grid-template-columns: 1fr; } }

/* ---------- a featured video (the Studio tour, the membership breakdown): one wide tile, nothing loaded until pressed ---------- */
.t-feature { max-width: 1100px; }
.t-feature .t-vid-play { transform: scale(1.4); }

/* ---------- slideshow (pages.js slides()): a scroll-snapped row of big photographs at their own shape ---------- */
.t-slides-track { position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.t-slides-track::-webkit-scrollbar { display: none; }
.t-slides-track:focus-visible { outline-offset: 6px; }
.t-slides .t-slide { flex: none; width: auto; scroll-snap-align: start; }
.t-slides .t-slide img { width: auto; max-width: none; height: clamp(320px, 64vh, 660px); }
.t-slides-bar { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.t-slides-btn { display: grid; place-items: center; width: 48px; height: 48px; font-size: 20px; line-height: 1; }
.t-slides-btn:disabled { opacity: .3; cursor: default; }
.t-slides-count { min-width: 5.5em; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .t-slides .t-slide img { height: 64vw; max-width: 88vw; object-fit: cover; } }

/* ---------- member stories (pages.js stories()): a slot is a labelled frame until a member's own story fills it ---------- */
.t-mstories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t-mstory { display: flex; flex-direction: column; gap: 14px; }
.t-mstory-bts { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 12px; text-align: center; }
.t-mstory-bts img { width: 100%; height: 100%; object-fit: cover; }
.t-mstory dl { display: grid; gap: 12px; }
.t-mstory--slot dd { height: 2.4em; }
.t-mstory-note { margin-top: 22px; max-width: 70ch; }
@media (max-width: 960px) { .t-mstories { grid-template-columns: 1fr; } }
