/* ============================================================
   SUBURBAN RHYTHM MUSIC STUDIO — v2
   Warm/rustic "wood & skin" palette, pushed deeper.
   Signature: the site is playable — drum pads + groove lab.
   ============================================================ */

/* ---- Design tokens: change these to re-skin the whole site ---- */
:root {
  /* Palette */
  --parchment:    #F6EFE3;
  --parchment-2:  #EDE1CB;
  --walnut:       #241812;   /* primary text / dark sections */
  --walnut-deep:  #170E09;   /* darkest — hero-contrast panels */
  --walnut-soft:  #55412F;   /* secondary text */
  --amber:        #B4692A;
  --amber-deep:   #8F4E1B;
  --brass:        #CE9E52;
  --cream-line:   #DECDB2;
  --on-dark:      #F2E8D8;
  --on-dark-soft: rgba(242, 232, 216, 0.72);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;

  --space-1: 0.5rem;  --space-2: 1rem;  --space-3: 1.5rem;
  --space-4: 2.5rem;  --space-5: 4rem;  --space-6: 6.5rem;

  --maxw: 1160px;
  --radius: 6px;

  /* subtle paper grain for dark sections (inline SVG noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--body);
  color: var(--walnut);
  background: var(--parchment);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-6) 0; }
.section--alt { background: var(--parchment-2); }
.section--dark {
  background: var(--walnut) var(--grain);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.center { text-align: center; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; color: var(--walnut); }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.4rem; line-height: 1.2; }
.accent-i { font-style: italic; font-weight: 400; color: var(--amber); }
.section--dark .accent-i { color: var(--brass); }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber-deep); font-weight: 600; margin-bottom: var(--space-2);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
.section--dark .eyebrow { color: var(--brass); }
.section--dark .eyebrow::before { background: var(--brass); }

.lead { font-size: 1.18rem; color: var(--walnut-soft); max-width: 58ch; }
.section--dark .lead, .section--dark p { color: var(--on-dark-soft); }

/* ---- Beat marks (signature motif) ---- */
.beats { display: flex; align-items: center; gap: 0.6rem; }
.beats span { width: 9px; height: 9px; border-radius: 50%; background: var(--cream-line); }
.beats span.on { background: var(--amber); }
.beats--pulse span.on { animation: pulse 1.7s ease-in-out infinite; }
.beats--pulse span.on:nth-child(2) { animation-delay: 0.425s; }
.beats--pulse span.on:nth-child(3) { animation-delay: 0.85s; }
.beats--pulse span.on:nth-child(4) { animation-delay: 1.275s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); background: var(--amber); }
  50% { transform: scale(1.55); background: var(--brass); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.9rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: #FFF8ED; box-shadow: 0 8px 22px rgba(143, 78, 27, 0.32); }
.btn--primary:hover { background: var(--amber-deep); box-shadow: 0 12px 28px rgba(143, 78, 27, 0.38); }
.btn--ghost { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn--ghost:hover { background: var(--walnut); color: var(--parchment); }
.section--dark .btn--ghost, .cta-strip .btn--ghost { color: var(--on-dark); border-color: var(--on-dark); }
.section--dark .btn--ghost:hover, .cta-strip .btn--ghost:hover { background: var(--on-dark); color: var(--walnut); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  color: var(--walnut); letter-spacing: -0.01em; text-decoration: none;
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand:hover { text-decoration: none; }
.brand .brand-mark { color: var(--amber); }
.brand .brand-sub {
  font-family: var(--body); font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--amber-deep); margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: var(--space-3); list-style: none; }
.nav-links a:not(.btn) {
  color: var(--walnut-soft); font-weight: 500; font-size: 0.98rem; text-decoration: none;
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s;
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--walnut); border-color: var(--amber); text-decoration: none; }
/* CTA in the nav: slightly tighter than page buttons, vertically centred */
.nav-links .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.5rem; font-size: 0.95rem; line-height: 1;
}
.nav-cta { margin-left: var(--space-2); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--walnut); line-height: 1; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--parchment); border-bottom: 1px solid var(--cream-line);
    padding: var(--space-2) var(--space-3);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 440px; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--cream-line); }
  .nav-cta { margin: var(--space-2) 0; }
  .nav-links .btn { width: 100%; }
}

/* ============================================================
   HOME HERO — the playable kit
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: var(--space-6) 0;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(206, 158, 82, 0.2), transparent 62%),
    var(--parchment);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); align-items: center; }
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { margin-bottom: var(--space-3); }
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }

.free-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--walnut); color: var(--on-dark);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.45rem 1rem; border-radius: 100px; margin-bottom: var(--space-3);
}
.free-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); animation: pulse 1.7s ease-in-out infinite; }

/* The kit: four playable pads */
.kit-wrap { text-align: center; }
.kit {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3); max-width: 420px; margin: 0 auto;
}
.pad {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  border: 12px solid var(--walnut);
  background: radial-gradient(circle at 38% 32%, #FCF6E9, #EFE3CC 62%, #E0CDAC);
  box-shadow: inset 0 0 34px rgba(36, 24, 18, 0.16), 0 18px 34px rgba(23, 14, 9, 0.22);
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.35rem;
  transition: transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
.pad:active { transform: scale(0.97); }
.pad:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.pad .pad-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--walnut); }
.pad .key {
  font-size: 0.72rem; font-weight: 600; color: var(--walnut-soft);
  border: 1.5px solid var(--cream-line); border-radius: 5px; padding: 0.05rem 0.5rem;
  background: rgba(255, 252, 244, 0.7); letter-spacing: 0.06em;
}
/* hit ripple */
.pad::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 3px solid var(--brass); opacity: 0; pointer-events: none;
}
.pad.hit { animation: padhit 0.22s ease; }
.pad.hit::after { animation: ripple 0.45s ease-out; }
@keyframes padhit { 0% { transform: scale(1); } 35% { transform: scale(0.94); } 100% { transform: scale(1); } }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.95); } 100% { opacity: 0; transform: scale(1.22); } }

.kit-caption { margin-top: var(--space-3); font-size: 0.95rem; color: var(--walnut-soft); min-height: 1.6em; }
.kit-caption strong { color: var(--amber-deep); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .kit { max-width: 340px; }
  .pad { border-width: 9px; }
}

/* ============================================================
   TAPE LOOP — marquee strip of what lessons cover
   ============================================================ */
.tape { background: var(--walnut-deep) var(--grain); overflow: hidden; padding: 1.1rem 0; border-block: 1px solid rgba(206, 158, 82, 0.25); }
.tape-track { display: flex; width: max-content; animation: tape 26s linear infinite; }
.tape span {
  font-family: var(--display); font-style: italic; font-size: 1.15rem;
  color: var(--brass); white-space: nowrap; padding: 0 1.4rem;
  display: inline-flex; align-items: center; gap: 2.8rem;
}
.tape span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* ============================================================
   EDITORIAL ROWS (replaces card grids)
   ============================================================ */
.rows { border-top: 1px solid var(--cream-line); }
.row {
  display: grid; grid-template-columns: 110px 1fr 1.3fr; gap: var(--space-4);
  align-items: start; padding: var(--space-4) 0;
  border-bottom: 1px solid var(--cream-line);
}
.row .beats { margin-top: 0.9rem; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.row p { color: var(--walnut-soft); }
.row:hover .beats span.on { animation: pulse 0.9s ease-in-out; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: var(--space-1); padding: var(--space-3) 0; }
}

/* ============================================================
   PETER PREVIEW (dark editorial band)
   ============================================================ */
.peter-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-5); align-items: center; }
.portrait-ph {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(206,158,82,0.08), rgba(206,158,82,0.08) 12px, transparent 12px, transparent 24px),
    linear-gradient(160deg, #2E1F15, #1C110A);
  border: 1px solid rgba(206, 158, 82, 0.3);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--on-dark-soft); font-size: 0.9rem; padding: var(--space-3);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-3); }
.chip {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--brass); border: 1px solid rgba(206, 158, 82, 0.45);
  border-radius: 100px; padding: 0.35rem 0.9rem;
}
@media (max-width: 860px) { .peter-band { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ============================================================
   PHOTOS
   ============================================================ */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Framed portrait — used in dark bands and the about rail */
.photo--frame {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(206, 158, 82, 0.35);
  box-shadow: 0 26px 54px rgba(23, 14, 9, 0.4);
}
.photo--light { border-color: var(--cream-line); box-shadow: 0 18px 40px rgba(36, 24, 18, 0.16); }

/* Wide hero-ish photo */
.photo--wide { aspect-ratio: 3 / 2; }

/* Subtle warm grade so photos sit inside the palette instead of fighting it */
.photo--warm img { filter: saturate(0.94) contrast(1.02); }

/* ---- Studio scene: annotated hero photo + offset stack ---- */
.studio {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--space-4);
  align-items: start;
}
.scene { position: relative; }
.scene .photo { aspect-ratio: 3 / 2; }

/* numbered hotspots pinned over the photo */
.spot {
  position: absolute; width: 34px; height: 34px; padding: 0;
  border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255, 248, 237, 0.9);
  background: rgba(180, 105, 42, 0.92); color: #FFF8ED;
  font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(23, 14, 9, 0.45);
  transition: transform 0.18s ease, background 0.18s ease;
  z-index: 2;
}
.spot::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--brass); opacity: 0.75;
  animation: spotpulse 2.6s ease-out infinite;
}
.spot:nth-of-type(2)::before { animation-delay: 0.85s; }
.spot:nth-of-type(3)::before { animation-delay: 1.7s; }
@keyframes spotpulse {
  0%   { transform: scale(0.85); opacity: 0.75; }
  70%  { transform: scale(1.5);  opacity: 0; }
  100% { transform: scale(1.5);  opacity: 0; }
}
.spot:hover, .spot:focus-visible, .spot[aria-expanded="true"] {
  background: var(--walnut); transform: scale(1.12); outline: none;
}
.spot:focus-visible { box-shadow: 0 0 0 3px var(--brass); }

/* the note that appears for the active hotspot */
.scene-note {
  margin-top: var(--space-3); min-height: 5.2em;
  border-left: 3px solid var(--amber); padding-left: var(--space-3);
}
.scene-note .note-k {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--amber-deep); display: block; margin-bottom: 0.25rem;
}
.scene-note h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.scene-note p { color: var(--walnut-soft); font-size: 0.98rem; max-width: 52ch; }
.scene-hint { font-size: 0.84rem; color: var(--walnut-soft); margin-top: var(--space-2); }

/* offset stack of the two room shots */
.stack { display: grid; gap: var(--space-3); }
.stack figure { margin: 0; }
.stack figure .photo { aspect-ratio: 4 / 5; }
.stack figure:nth-child(2) { margin-left: var(--space-4); }
.stack figcaption {
  font-size: 0.84rem; color: var(--walnut-soft); margin-top: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.stack figcaption::before {
  content: ""; width: 16px; height: 2px; background: var(--amber); flex: none;
}

@media (max-width: 940px) {
  .studio { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr 1fr; align-items: start; }
  .stack figure:nth-child(2) { margin-left: 0; }
}
@media (max-width: 560px) {
  .stack { grid-template-columns: 1fr; }
  .spot { width: 30px; height: 30px; font-size: 0.9rem; }
}

/* Caption under photos */
.photo-cap {
  margin-top: var(--space-2); font-size: 0.86rem; color: var(--walnut-soft);
}
.section--dark .photo-cap { color: var(--on-dark-soft); }

/* ============================================================
   BIG PULL QUOTE
   Currently UNUSED — the home-page testimonial was removed at the
   client's request. Kept deliberately so testimonials can be added
   back later without rebuilding the styles. To use, drop this into
   a page:
     <div class="bigquote reveal">
       <blockquote>Their words here.</blockquote>
       <cite>Name</cite>
     </div>
   ============================================================ */
.bigquote { position: relative; max-width: 52ch; margin: 0 auto; text-align: center; padding-top: var(--space-4); }
.bigquote::before {
  content: "\201C"; position: absolute; top: -0.35em; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: 7rem; line-height: 1; color: var(--brass); opacity: 0.55;
}
.bigquote blockquote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; color: var(--walnut);
}
.bigquote cite { display: block; margin-top: var(--space-2); font-style: normal; font-weight: 600; color: var(--amber-deep); font-size: 0.95rem; }

/* ---- Reassurance statement (quiet centred moment before the CTA) ---- */
.statement { max-width: 44ch; margin: 0 auto; text-align: center; }
.statement .beats { justify-content: center; margin-bottom: var(--space-3); }
.statement p {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.32; color: var(--walnut);
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip { background: var(--walnut-deep) var(--grain); color: var(--on-dark); text-align: center; }
.cta-strip h2 { color: var(--on-dark); }
.cta-strip p { color: var(--on-dark-soft); max-width: 52ch; margin: var(--space-2) auto var(--space-3); }
.cta-strip .beats { justify-content: center; margin-bottom: var(--space-3); }
.cta-strip .beats span { background: rgba(242, 232, 216, 0.2); }
.cta-strip .beats span.on { background: var(--brass); }

/* ============================================================
   ABOUT — magazine feature
   ============================================================ */
.article-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); align-items: start; }
.article-rail { position: sticky; top: 110px; display: grid; gap: var(--space-3); }
.facts { border-top: 2px solid var(--walnut); }
.facts dt {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--amber-deep); padding-top: var(--space-2);
}
.facts dd { padding-bottom: var(--space-2); border-bottom: 1px solid var(--cream-line); font-weight: 500; }
.article { font-size: 1.12rem; color: var(--walnut-soft); }
.article > p { margin-bottom: var(--space-3); max-width: 62ch; }
.article > p:first-of-type::first-letter {
  font-family: var(--display); font-size: 4.6em; line-height: 0.78;
  float: left; padding: 0.08em 0.12em 0 0; color: var(--amber); font-weight: 600;
}
.article .inline-quote {
  font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3; color: var(--walnut);
  border-left: 3px solid var(--amber); padding: 0.3rem 0 0.3rem var(--space-3);
  margin: var(--space-4) 0;
}
@media (max-width: 860px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-rail { position: static; }
}

/* ============================================================
   LESSONS — the measure (4-beat session flow)
   ============================================================ */
.measure { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); position: relative; }
.measure::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%;
  height: 2px; background: var(--cream-line);
}
.beat-step { position: relative; padding-top: 56px; }
.beat-step .count {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--parchment); border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--amber-deep);
}
.beat-step h3 { margin-bottom: 0.4rem; }
.beat-step p { color: var(--walnut-soft); font-size: 0.98rem; }
@media (max-width: 860px) {
  .measure { grid-template-columns: 1fr; gap: var(--space-3); }
  .measure::before { top: 8%; bottom: 4%; left: 26px; right: auto; width: 2px; height: auto; }
  .beat-step { padding-top: 0; padding-left: 76px; min-height: 56px; }
}

/* ============================================================
   GROOVE LAB — the step sequencer
   ============================================================ */
.lab {
  background: var(--walnut-deep) var(--grain);
  border-radius: 12px; padding: var(--space-4);
  color: var(--on-dark); box-shadow: 0 30px 60px rgba(23, 14, 9, 0.35);
}
.lab-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-3); }
.lab-title { font-family: var(--display); font-size: 1.5rem; color: var(--on-dark); }
.lab-transport { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.lab-play {
  background: var(--amber); color: #FFF8ED; border: none; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; padding: 0.6rem 1.4rem; border-radius: 100px;
  transition: background 0.2s;
}
.lab-play:hover { background: var(--amber-deep); }
.lab-play:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.lab-tempo { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--on-dark-soft); }
.lab-tempo input[type="range"] { accent-color: var(--amber); width: 130px; }
.lab-row { display: grid; grid-template-columns: 92px repeat(8, 1fr); gap: 8px; align-items: center; margin-bottom: 10px; }
.lab-row-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.cell {
  aspect-ratio: 1; max-height: 52px; border-radius: 8px; border: 1px solid rgba(206, 158, 82, 0.3);
  background: rgba(242, 232, 216, 0.06); cursor: pointer; transition: background 0.12s, transform 0.12s;
}
.cell:hover { background: rgba(206, 158, 82, 0.22); }
.cell:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.cell[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); box-shadow: 0 4px 14px rgba(180, 105, 42, 0.5); }
.cell.now { transform: scale(1.12); border-color: var(--on-dark); }
.lab-note { margin-top: var(--space-3); font-size: 0.9rem; color: var(--on-dark-soft); }
@media (max-width: 680px) {
  .lab { padding: var(--space-3); }
  .lab-row { grid-template-columns: 64px repeat(8, 1fr); gap: 5px; }
  .lab-row-name { font-size: 0.66rem; }
}

/* ============================================================
   PRICING ROWS
   ============================================================ */
.lessons-list { display: grid; gap: var(--space-3); }
.lesson {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3);
  align-items: center; background: var(--parchment);
  border: 1px solid var(--cream-line); border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lesson:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(36, 24, 18, 0.12); }
.lesson--feature { border: 2px solid var(--amber); background: #FCF5E7; }
.lesson-tag { font-family: var(--display); font-size: 1.6rem; color: var(--amber); font-weight: 600; min-width: 2.5ch; }
.lesson-body h3 { margin-bottom: 0.2rem; }
.lesson-body p { color: var(--walnut-soft); font-size: 0.97rem; }
.lesson-price { font-family: var(--display); font-size: 1.5rem; color: var(--walnut); white-space: nowrap; text-align: right; }
.lesson-price small { display: block; font-family: var(--body); font-size: 0.75rem; color: var(--walnut-soft); font-weight: 400; }
@media (max-width: 640px) {
  .lesson { grid-template-columns: auto 1fr; }
  .lesson-price { grid-column: 2; text-align: left; margin-top: var(--space-1); }
}

/* ============================================================
   FAQ — working accordion (native <details>)
   ============================================================ */
.faq { border-top: 1px solid var(--cream-line); }
.faq details { border-bottom: 1px solid var(--cream-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding: var(--space-3) 0;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--walnut);
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber-deep); }
.faq summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.faq .faq-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--amber); color: var(--amber-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--body); font-size: 1.3rem; font-weight: 500; line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--amber); color: #FFF8ED; }
.faq .faq-body { padding: 0 0 var(--space-3); color: var(--walnut-soft); max-width: 65ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step { position: relative; padding-left: 64px; }
.step .count {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--brass); color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
}
.step h3 { font-size: 1.15rem; color: var(--on-dark); margin-bottom: 0.3rem; }
.step p { font-size: 0.95rem; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: var(--space-3); } }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--walnut); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem;
  padding: 0.85rem 1rem; border: 1px solid var(--cream-line); border-radius: var(--radius);
  background: #FFFDF8; color: var(--walnut); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(180, 105, 42, 0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--walnut-soft); margin-top: var(--space-2); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-status { padding: var(--space-2); border-radius: var(--radius); margin-top: var(--space-2); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #E4EAD9; color: #3B5323; border: 1px solid #C3D0A8; }
.form-status.error { background: #F0DCCF; color: #8A3B1D; border: 1px solid #E0BBA0; }

.contact-detail { display: grid; gap: var(--space-3); align-content: start; }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.contact-item .beats { margin-top: 0.45rem; }
.contact-item .ci-label { font-weight: 600; color: var(--amber-deep); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-item a { color: var(--walnut); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--walnut-deep) var(--grain); color: var(--on-dark-soft); padding: var(--space-5) 0 var(--space-3); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.site-footer h4 { font-family: var(--display); color: var(--on-dark); font-size: 1.1rem; margin-bottom: var(--space-2); font-weight: 600; }
.site-footer .brand { color: var(--on-dark); margin-bottom: var(--space-2); }
.site-footer .brand-sub { color: var(--brass); }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--brass); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(242, 232, 216, 0.14); padding-top: var(--space-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  font-size: 0.85rem; color: rgba(242, 232, 216, 0.5);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---- Page hero (interior pages) ---- */
.page-hero {
  padding: var(--space-6) 0 var(--space-5); text-align: center;
  background: radial-gradient(900px 400px at 50% -20%, rgba(206, 158, 82, 0.18), transparent 62%), var(--parchment);
}
.page-hero .lead { margin: var(--space-2) auto 0; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   CONTACT / BOOKING HUB
   ============================================================ */
.badge {
  display: inline-block; vertical-align: middle;
  font-family: var(--body); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--amber); color: #FFF8ED;
  border-radius: 100px; padding: 0.22rem 0.7rem; margin-left: 0.5rem;
}

/* light variant of the numbered steps */
.steps--light .step .count { border-color: var(--amber); color: var(--amber-deep); }
.steps--light .step h3 { color: var(--walnut); }
.steps--light .step p { color: var(--walnut-soft); }

/* ---- Big call/email actions in the hero ---- */
.reach {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: center; margin-top: var(--space-3);
}
.reach .btn { display: inline-flex; align-items: center; gap: 0.6rem; }
.btn--call { font-size: 1.15rem; padding: 1rem 2.2rem; }
.btn--call .num { font-family: var(--display); letter-spacing: 0.01em; }

/* ---- Three ways to book ---- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.way {
  background: var(--parchment); border: 1px solid var(--cream-line);
  border-radius: var(--radius); padding: var(--space-4) var(--space-3);
  text-align: center; text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column; align-items: center;
}
.way:hover {
  text-decoration: none; transform: translateY(-4px);
  border-color: var(--amber); box-shadow: 0 16px 34px rgba(36, 24, 18, 0.12);
}
.way--primary { border: 2px solid var(--amber); background: #FCF5E7; }
.way .way-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--amber); color: var(--amber-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: var(--space-2);
}
.way--primary .way-icon { background: var(--amber); color: #FFF8ED; border-color: var(--amber); }
.way h3 { margin-bottom: 0.3rem; }
.way .way-detail {
  font-family: var(--display); font-size: 1.25rem; color: var(--walnut);
  margin: 0.2rem 0 0.4rem; word-break: break-word;
}
.way p { color: var(--walnut-soft); font-size: 0.94rem; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

