/* Studio Deadline — shared styles for every page.
   Near-black, greys and white. The ONLY colour accent is the red recording dot (#e0322b) on the front page.
   Deep blue removed 18 Nov 2026. Mobile-first. No frameworks.
   Fonts: Oswald (headings) + Inter (body) from Google Fonts, linked in each page <head>. */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #18181b;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f2f2f3;
  --muted: #9b9ba3;
  --accent: #f2f0ea;      /* off-white (no colour accent; the red dot is the only colour) */
  --accent-hi: #ffffff;
  --soft: #c9c9cf;        /* light grey for labels, dashes, step numbers */
  --white: #ffffff;
  --ph-bg: #2a2a2e;
  --ph-line: #6b6b73;
  --ph-text: #c9c9cf;
  --head: "Oswald", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hh: 4.25rem;            /* header height */
  --space: clamp(5rem, 12vw, 9rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 1.5rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.8rem, 10vw, 6.5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 500; letter-spacing: 0.03em; }
h4 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; color: var(--muted); margin-bottom: 1.2rem; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.eyebrow { font: 500 0.75rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.3em; color: var(--soft); margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.6; color: var(--text); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; color: var(--muted); }
/* The nickname is always written "big v", lowercase — even inside uppercase headings/buttons */
.bigv { text-transform: none; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--white); color: var(--bg); padding: 0.6rem 1rem; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: transparent; color: var(--white);
  border: 1.5px solid var(--white); border-radius: 999px;
  font: 600 0.8rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.16em;
  text-decoration: none; padding: 1.05rem 1.9rem; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--white); border-color: var(--white); color: #000; }
/* Main calls to action (hero buttons, form submit): solid white with black text */
.hero .btn, .btn-full { background: var(--white); color: #000; }
.hero .btn:hover, .hero .btn:focus-visible, .btn-full:hover, .btn-full:focus-visible { background: #d9d9dc; border-color: #d9d9dc; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--bg); }
.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.68rem; letter-spacing: 0.12em; white-space: nowrap; }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }

.link {
  font: 500 0.78rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.18em;
  text-decoration: none; color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45); padding-bottom: 0.35rem;
}
.link:hover { border-bottom-color: var(--white); }

/* ---------- Placeholders: grey, dashed, clearly labelled ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  text-align: center; padding: 1.25rem;
  background: var(--ph-bg); border: 1.5px dashed var(--ph-line); border-radius: 14px;
  color: var(--ph-text); font-size: 0.88rem;
}
.ph-tag {
  font: 600 0.66rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.16em;
  background: var(--ph-line); color: var(--bg); padding: 0.35rem 0.6rem; border-radius: 999px;
}
.ph-note { max-width: 30rem; }
.ph-photo { aspect-ratio: 4 / 3; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-video { aspect-ratio: 16 / 9; }
.ph-block { min-height: 8rem; margin-block: 1.5rem; }
.ph-inline {
  display: inline-block; background: var(--ph-bg); border: 1px dashed var(--ph-line); color: var(--ph-text);
  font-size: 0.85em; line-height: 1.5; padding: 0.05rem 0.55rem; border-radius: 6px;
}

/* Real photos: full colour (since 17 Nov 2026), cropped to fill their box */
.media img, .frame img, .gallery img { object-fit: cover; width: 100%; height: 100%; }
/* portrait-arms-crossed (Contact banner): anchored right so the text sits on the grey wall; face-centred when stacked */
.media-arms img { object-position: right center; }
@media (max-width: 899px) { .media-arms img { object-position: 53% center; } }
@media (min-width: 900px) {
  /* Push the photo right so he stands right of the text; fade its left edge into the background */
  .media-arms img {
    position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none;
    transform: translateX(18%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%);
  }
}
.bw img { filter: grayscale(100%); }

/* Contact banner: shorter hero, text on the grey wall; phones/tablets: photo on top, text below */
.hero.hero-banner { min-height: calc(64svh - var(--hh)); align-items: center; padding-block: 5rem; }
.hero-banner h1 { max-width: 14ch; }
@media (max-width: 899px) {
  .hero.hero-banner { display: block; min-height: 0; padding-block: 0 1rem; }
  .hero-banner .media { position: relative; aspect-ratio: 1 / 1; max-height: 70svh; }
  .hero-banner .media::after { background: linear-gradient(180deg, rgba(11,11,12,0) 60%, rgba(11,11,12,0.95) 100%); }
  .hero-banner .wrap { padding-top: 1.5rem; }
}

/* Lessons hero split (portrait-laughing-stool): text in the left column, photo fills the right half; phones: photo on top */
@media (min-width: 900px) {
  .hero.hero-split { align-items: center; min-height: calc(88svh - var(--hh)); padding-block: 5rem; }
  .hero-split .media { left: 50%; }
  .hero-split .media img { object-position: center 15%; }
  .hero-split .media::after { background: linear-gradient(90deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 30%); }
  .hero-split .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .hero-split .wrap > * { grid-column: 1; }
  .hero-split h1 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
}
@media (max-width: 899px) {
  .hero.hero-split { display: block; min-height: 0; padding-block: 0 3rem; }
  .hero-split .media { position: relative; aspect-ratio: 4 / 5; max-height: 70svh; width: 100%; }
  .hero-split .media img { object-position: center 10%; }
  .hero-split .media::after { background: linear-gradient(180deg, rgba(11,11,12,0) 65%, rgba(11,11,12,0.95) 100%); }
  .hero-split .wrap { padding-top: 1.5rem; }
}
.media picture { display: block; width: 100%; height: 100%; }
.frame { border-radius: 18px; overflow: hidden; background: var(--bg-3); }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 3 / 2; }
.figure { margin: 0; }
.figure figcaption { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.7rem; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--bg-3); }
.gallery img { transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.03); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.banner { display: block; background: var(--bg); color: var(--accent); border-bottom: 1px solid var(--line-2); text-align: center; font-size: 0.8rem; padding: 0.5rem 1.25rem; text-decoration: none; }
.banner:hover { text-decoration: underline; }
.bar { display: flex; align-items: center; gap: 0.75rem; min-height: var(--hh); }
.wordmark {
  font: 600 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: none; color: var(--white); white-space: nowrap; margin-right: auto;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.nav a, .nav-soon {
  font: 500 0.72rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.24em;
  text-decoration: none; color: var(--text); padding: 0.5rem 0; white-space: nowrap;
}
.nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.5em; }
.nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 0.5em; }
.nav-soon { color: var(--muted); letter-spacing: 0.1em; }
.nav-soon small { font-size: 0.6rem; letter-spacing: 0.12em; border: 1px dashed var(--ph-line); border-radius: 999px; padding: 0.1rem 0.4rem; margin-left: 0.3rem; }
.menu-btn { display: none; }

/* Mobile: nav collapses into a panel (only when JS is available) */
@media (max-width: 899px) {
  .bar { flex-wrap: wrap; }
  .nav { order: 4; width: 100%; padding-bottom: 0.8rem; }
  .js .nav { display: none; }
  .js .site-header.open .nav { display: flex; flex-direction: column; gap: 0; padding: 0.5rem 0 1.4rem; }
  .js .site-header.open .nav a, .js .site-header.open .nav-soon { padding: 0.95rem 0; border-top: 1px solid var(--line); font-size: 0.8rem; }
  .js .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem; border-radius: 999px; border: 1px solid var(--line-2);
    background: transparent; color: var(--white); cursor: pointer; padding: 0;
  }
  .burger, .burger::before, .burger::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -5px; } .burger::after { top: 5px; }
  .site-header.open .burger { background: transparent; }
  .site-header.open .burger::before { transform: translateY(5px) rotate(45deg); }
  .site-header.open .burger::after { transform: translateY(-5px) rotate(-45deg); }
}
@media (max-width: 380px) {
  .wordmark { font-size: 0.95rem; letter-spacing: 0.08em; }
  .bar .btn-sm { padding: 0.65rem 0.8rem; font-size: 0.62rem; letter-spacing: 0.08em; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: calc(88svh - var(--hh));
  padding-block: 7rem clamp(3.5rem, 8vw, 6rem);
}
.hero-full { min-height: calc(100svh - var(--hh)); align-items: center; }
.media { position: absolute; inset: 0; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.55) 55%, rgba(11, 11, 12, 0.96) 100%);
}
/* Hero photos: extra dark gradient from the left so white text stays readable */
.media-left::after {
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0.45) 55%, rgba(11, 11, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.5) 60%, rgba(11, 11, 12, 0.97) 100%);
}
.media.ph-media { background: repeating-linear-gradient(135deg, #222226 0 18px, #1c1c1f 18px 36px); }
.ph-media .ph-label {
  position: absolute; top: 1.2rem; right: clamp(1.25rem, 5vw, 3rem); z-index: 1;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem;
  max-width: 19rem; text-align: right; font-size: 0.78rem; color: var(--ph-text);
}
.hero .wrap { position: relative; z-index: 1; }
/* A hero whose photo is hidden (launch mode) shrinks to fit its text instead of leaving an empty block */
.hero:not(.hero-full):not(:has(> .media)) { min-height: 0; padding-block: clamp(5rem, 12vw, 8rem) clamp(3.5rem, 8vw, 5rem); }
.hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 6vw, 4.75rem); }
.hero-full h1 { font-size: clamp(3.4rem, 15vw, 10rem); line-height: 0.92; max-width: none; letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-blue { background: var(--bg-3); } /* name kept; plain dark grey since 18 Nov 2026 */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.1rem); }
.card h3 { margin-bottom: 0.55rem; }
.card p:last-child { margin-bottom: 0; }
.card .link { margin-top: auto; align-self: flex-start; }
.card-col { display: flex; flex-direction: column; }
.card-col p { margin-bottom: 1.6rem; }
.label { font: 500 0.72rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.26em; color: var(--soft); margin-bottom: 1rem; }

/* Bullet list with light grey dash */
.dash { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.dash li { position: relative; padding: 0.7rem 0 0.7rem 1.8rem; border-bottom: 1px solid var(--line); }
.dash li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 0.9rem; height: 2px; background: var(--soft); }

/* Big statements list (stakes) */
.statements { list-style: none; padding: 0; margin: 0; }
.statements li { font: 400 clamp(1.15rem, 2.6vw, 1.5rem)/1.45 var(--body); padding: 1.4rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.statements li:first-child { border-top: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.steps li::before { content: "0" counter(s); display: block; font: 500 0.8rem/1 var(--body); letter-spacing: 0.24em; color: var(--muted); margin-bottom: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }

/* Split layout */
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

/* Logo tile (logo is a detailed drawing on white) */
.logo-tile { display: inline-block; background: var(--white); border-radius: 16px; padding: 0.8rem; line-height: 0; margin-bottom: 2rem; }
.logo-tile img { width: 200px; height: auto; }
.logo-tile-sm { border-radius: 10px; padding: 0.4rem; margin-bottom: 1rem; }
.logo-tile-sm img { width: 64px; }

/* ---------- Front page: one screen, no header/footer (17 Nov 2026) ---------- */
.rec-page { background: #0b0b0c; }
.rec-hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; background: #0b0b0c; text-align: center;
}
/* Static repeating texture, front page only. fists-tile is from a watermarked proof: replace with the purchased file before launch. */
.rec-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/photos/fists-tile.webp") 0 0 / 40px auto repeat,
    #0b0b0c;
}
@media (min-width: 760px) {
  .rec-hero { background-size: auto, 55px auto, auto; }
}
.rec-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 4rem 2rem; }
.rec-mark {
  font: 700 clamp(2.8rem, 11vw, 8.5rem)/0.95 var(--head);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: #f2f0ea; margin: 0 0 1.4rem; max-width: none;
}
.rec-dot {
  display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.08em;
  border-radius: 50%; background: #e0322b; /* the ONLY red on the site */
  vertical-align: baseline;
  animation: rec-pulse 1.6s ease-in-out infinite;
}
.nowrap { white-space: nowrap; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rec-line {
  font: 400 clamp(0.72rem, 1.3vw, 0.85rem)/1.5 var(--body);
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 3.5rem; padding-left: 0.32em; /* balance trailing letter-spacing */
}
.rec-entries { display: flex; flex-direction: column; align-items: center; }
.rec-entries > span { display: block; width: 3rem; height: 1px; background: rgba(242,240,234,0.3); margin: 1.4rem 0; }
.rec-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.55em;
  font: 500 clamp(1.5rem, 3.6vw, 2.4rem)/1.1 var(--head); text-transform: uppercase; letter-spacing: 0.08em;
  color: #f2f0ea; text-decoration: none; padding-block: 0.35em;
}
.rec-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #f2f0ea;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.rec-link .arr { display: inline-block; transition: transform 0.35s ease; }
.rec-link:hover::after, .rec-link:focus-visible::after { transform: scaleX(1); }
.rec-link:hover .arr, .rec-link:focus-visible .arr { transform: translateX(0.3em); }
.rec-foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.9rem;
  padding: 1.5rem 1rem 1.8rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted);
}
.rec-foot a { color: var(--muted); text-decoration: none; }
.rec-foot a:hover, .rec-foot a:focus-visible { color: #f2f0ea; }
.rec-foot .tel { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 759px) {
  .rec-foot .sep-last { display: none; }
  .rec-foot .rec-ask { flex-basis: 100%; }
}
@media (min-width: 640px) {
  .rec-entries { flex-direction: row; }
  .rec-entries > span { width: 1px; height: 2.6rem; margin: 0 clamp(1.8rem, 4vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .rec-dot { animation: none; opacity: 1; }
  .rec-link::after, .rec-link .arr { transition: none; }
}

/* ---------- Front page doors ---------- */
.doors { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 34rem; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 3rem); isolation: isolate;
}
.door .media { z-index: -1; }
.door h2 { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 0.3em; }
.door p { max-width: 26rem; color: var(--text); margin-bottom: 1.8rem; }
.door .btn { align-self: flex-start; }

/* Meet strip */
.meet { display: grid; gap: 2rem; align-items: center; }
.meet .logo-tile { margin: 0; justify-self: start; }

/* ---------- Prices ---------- */
.price { display: flex; flex-direction: column; }
.amount { font: 600 clamp(3rem, 7vw, 4rem)/1 var(--head); color: var(--white); margin: 0.2rem 0 0.4rem; }
.per { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.price .dash { margin-bottom: 2rem; }
.price .btn { margin-top: auto; }
.price-main { border-color: rgba(255, 255, 255, 0.55); background: #1e1e21; }
.notes { margin-top: 2.5rem; display: grid; gap: 0.6rem; color: var(--muted); }
.notes p { margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 2.5rem 1.5rem 0; position: relative;
  font: 500 clamp(1.05rem, 2.2vw, 1.25rem)/1.4 var(--body); color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.3rem; font: 300 1.6rem/1 var(--body); color: var(--soft); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.6rem; color: var(--muted); max-width: 44rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.row-2 { display: grid; gap: 1.3rem; }
label, legend { font: 500 0.75rem/1.3 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--text); padding: 0; }
.req { color: var(--soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--white);
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 0.9rem 1rem;
}
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 50%, calc(100% - 0.95rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.choices label {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font: 400 0.92rem/1 var(--body); text-transform: none; letter-spacing: 0;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 0.7rem 1rem;
}
.choices label:has(input:checked) { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.choices input { accent-color: var(--accent); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 5vw, 3rem); }

/* Parent/guardian field: always shown in old browsers; hidden unless "My child"/"Both" in modern ones */
@supports selector(:has(*)) {
  .form:not(:has(.who-kid:checked)) .f-parent { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding-block: clamp(4rem, 9vw, 6rem) 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr 1fr; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer-grid a { text-decoration: none; color: var(--text); }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: var(--muted); margin: 0; }
.footer-visit { grid-column: 1 / -1; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; color: var(--muted); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Fade-in on scroll (only with JS, only if motion is OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .doors { grid-template-columns: 1fr 1fr; }
  .door { min-height: 40rem; }
  .meet { grid-template-columns: auto 1fr; gap: 3rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 5fr 6fr; }
  .split-rev > :first-child { order: 2; }
  .footer-grid { grid-template-columns: repeat(3, 1fr) 1.3fr; }
  .footer-visit { grid-column: auto; }
  .price-main { transform: translateY(-0.8rem); }
}

/* 18 Nov 2026: never split a phone number across two lines (Vahid). */
a[href^="tel:"]{white-space:nowrap}
input[type="date"], input[type="time"] { color-scheme: dark; min-height: 3.2rem; }
/* 20 Nov 2026: merged forms. Waitlist note shows only for tar/setar/theory; rental fields only when "Rent the studio" is ticked. */
.f-waitlist { margin: -0.4rem 0 1rem; color: var(--muted, #9b9ba3); }
.f-rental { border-left: 2px solid rgba(255,255,255,0.18); padding-left: 1rem; margin-bottom: 1rem; }
@supports selector(:has(*)) {
  .form:not(:has(option.wl:checked)) .f-waitlist { display: none; }
  .form:not(:has(input[name="need-rental"]:checked)) .f-rental { display: none; }
}
/* 20 Nov 2026: 4-week / 3-month / 6-month plan list inside price cards */
.plans { list-style: none; padding: 0; margin: 0 0 1.25rem; border-top: 1px solid rgba(255,255,255,0.14); }
.plans li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.plans span { color: var(--muted, #9b9ba3); }
/* 21 Nov 2026: accent colours (Vahid). Lessons/general = amber; The Studio pages = red. */
:root { --acc: #f5b72e; --acc-soft: rgba(245,183,46,0.10); --acc-ink: #0b0b0c; }
body.theme-studio { --acc: #3fb6a8; --acc-soft: rgba(63,182,168,0.10); --acc-ink: #0b0b0c; }
.eyebrow, .label { color: var(--acc); }
.dash li::before { background: var(--acc); }
.steps li { border-top-color: var(--acc); }
.steps li::before { color: var(--acc); }
.hero .btn, .btn-full, .price-main .btn { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.hero .btn:hover, .btn-full:hover, .price-main .btn:hover { background: var(--white); border-color: var(--white); color: #000; }
.link:hover { border-bottom-color: var(--acc); }
.nav a[aria-current="page"], .nav a:hover { text-decoration-color: var(--acc); }
.amount { color: var(--acc); }
.price { border-top: 3px solid var(--acc); }
.price-main { background: linear-gradient(180deg, var(--acc-soft), transparent 55%), #1e1e21; border-color: var(--acc); }
.plans li:first-child span { color: var(--acc); }
.faq details[open] summary { color: var(--acc); }
.section-head h2::after, #policy h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--acc); margin-top: 0.8rem; }
.services .card { border-top: 3px solid var(--acc); display: flex; flex-direction: column; }
.services .card .link { margin-top: auto; align-self: flex-start; }
.services .card p { color: var(--muted); }
/* 21 Nov 2026: menu underline uses the page's accent colour */
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
/* 21 Nov 2026: own accent colours for About (violet) and Contact (sky blue) */
body.theme-about { --acc: #a78bfa; --acc-soft: rgba(167,139,250,0.10); --acc-ink: #0b0b0c; }
body.theme-contact { --acc: #38bdf8; --acc-soft: rgba(56,189,248,0.10); --acc-ink: #0b0b0c; }
.acc { color: var(--acc); }
.hero.hero-tall { min-height: calc(100svh - var(--hh)); }
.hero-tall .media-left::after { background: linear-gradient(90deg, rgba(11,11,12,0.75) 0%, rgba(11,11,12,0.35) 50%, rgba(11,11,12,0.1) 100%), linear-gradient(180deg, rgba(11,11,12,0.1) 0%, rgba(11,11,12,0.25) 70%, rgba(11,11,12,0.95) 100%); }
/* 21 Nov 2026: weekly timetable with start-time tags */
.timetable { border-top: 2px solid var(--acc); margin-bottom: 1.25rem; }
.tt-row { display: grid; grid-template-columns: 1.1fr 2fr 1.1fr 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); align-items: start; }
.tt-row > span:first-child { color: var(--white); font-weight: 600; }
.tt-row > span { color: var(--muted); }
.tt-head > span { color: var(--acc) !important; font: 500 0.7rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500 !important; }
.tt-times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tt-times b { font: 500 0.85rem/1 var(--body); color: var(--white); border: 1px solid var(--acc); border-radius: 999px; padding: 0.35rem 0.65rem; }
@media (max-width: 760px) { .tt-row { grid-template-columns: 1fr; gap: 0.5rem; } .tt-head { display: none; } .tt-row > span:nth-child(2)::before { content: "Private: "; display: block; font-size: 0.75rem; color: var(--acc); margin-bottom: 0.3rem; } .tt-row > span:nth-child(3)::before { content: "Group: "; display: block; font-size: 0.75rem; color: var(--acc); margin-bottom: 0.3rem; } .tt-row > span:nth-child(4)::before { content: "Club Day: "; color: var(--acc); } }
/* 21 Nov 2026: colour-coded time options; all plan labels grey */
#li-time option, #li-time optgroup { background: #1e1e21; color: #f2f0ea; }
#li-time option.o-priv { color: #f5b72e; }
#li-time option.o-group { color: #2ecc71; }
.plans li:first-child span { color: var(--muted); }
/* 21 Nov 2026: Club Day options red in the time dropdown */
#li-time option.o-club { color: #e0322b; }
/* 21 Nov 2026: lessons forms — Where? = Online hides the time list and shows the online-times box (site.js sets .is-online) */
.js .form:not(.is-online) .f-online { display: none; }
.js .form.is-online .f-time { display: none; }
.f-online { display: grid; gap: 1.3rem; }
