/* ==========================================================================
   HOZANA Dance Studio — style.css
   Concept: "Stage light" — a lit stage in a dark hall.
   All shared styles live here. Media queries live in responsive.css.

   CONTENTS
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout primitives & section rhythm
   05. Buttons & chips
   06. Header / nav / mobile drawer
   07. Hero
   08. Stats band
   09. Timeline — "One Day at HOZANA"
   10. Cards (class, pricing, event, instructor)
   11. Image frames & generated placeholders
  12. Google review link
   13. Gallery grid & lightbox
   14. FAQ accordion
   15. Forms
   16. Footer, floating WhatsApp, 404
   17. Motion & reduced-motion
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Colour — pulled from marigold garlands, sindoor, brass */
  --ink:        #150E2B;   /* deep aubergine-indigo, page background */
  --ink-soft:   #221838;   /* raised surfaces, cards */
  --marigold:   #F2A007;   /* primary accent — CTAs, active states */
  --sindoor:    #D62246;   /* secondary accent — used sparingly, energy */
  --brass:      #C9A227;   /* hairlines, small rules, numerals */
  --bone:       #F6F1E7;   /* primary text on dark, light-section background */
  --muted:      #A79BC0;   /* secondary text */

  /* Derived surfaces */
  --ink-warm:   #2A1C3D;   /* warmer card tint — kids / junior classes */
  --line:       rgba(201, 162, 39, 0.28);   /* brass hairline */
  --line-soft:  rgba(246, 241, 231, 0.10);
  --ink-on-light: #150E2B;
  --muted-on-light: #5B5170;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Instrument Sans', 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Noto Sans Devanagari', ui-monospace, 'Cascadia Mono', monospace;

  --fs-hero:    clamp(2.75rem, 7vw, 6rem);
  --fs-h2:      clamp(2rem, 4vw, 3.25rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-label:   0.75rem;

  /* Space */
  --gutter:     1.25rem;
  --maxw:       1200px;
  --maxw-text:  62ch;
  --section-y:  clamp(3.5rem, 8vw, 7rem);

  /* Shape & depth */
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 18px 40px -24px rgba(0, 0, 0, 0.85);

  /* Motion */
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:        340ms;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;   /* clears the sticky header on anchor jumps */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Focus — marigold, always visible, never removed */
:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--marigold);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Screen-reader only */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--marigold); color: var(--ink); }

/* Scrollbar (WebKit) — keeps the dark hall intact */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: #3A2C55;
  border: 3px solid var(--ink);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brass); }


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: var(--maxw-text);
}

/* Eyebrow / utility label — IBM Plex Mono, uppercase, wide tracking */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Marigold text is only ever used large or on dark. On bone we use ink text
   with a marigold rule beneath — small marigold on bone fails contrast. */
.accent { color: var(--marigold); }
.underline-accent {
  background-image: linear-gradient(var(--marigold), var(--marigold));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 2px;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); }


/* ==========================================================================
   04. LAYOUT PRIMITIVES & SECTION RHYTHM
   Rhythm: two dark sections to one light section, so light reads as spotlight.
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

/* Light section — the spotlight */
.section--light {
  background: var(--bone);
  color: var(--ink-on-light);
}
.section--light .lead,
.section--light p { color: var(--muted-on-light); }
.section--light .eyebrow { color: #8A6B12; }          /* brass darkened for AA on bone */
.section--light .eyebrow::before { background: #8A6B12; }
.section--light .section-head p { color: var(--muted-on-light); }

/* Slightly raised dark section */
.section--raised { background: #180F2F; }

/* Hairline divider between dark sections */
.section--rule { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 1.25rem; }
.grid--3,
.grid--2 { grid-template-columns: 1fr; }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.flow-end { display: flex; justify-content: flex-end; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}


/* ==========================================================================
   05. BUTTONS & CHIPS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--marigold);
  color: var(--ink);
  font-weight: 500;
}
.btn--primary:hover { background: #FFB528; }

.btn--ghost {
  border-color: var(--line);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--marigold); color: var(--marigold); }

.section--light .btn--ghost { border-color: rgba(21, 14, 43, 0.25); color: var(--ink); }
.section--light .btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.6875rem; }
.btn--block { width: 100%; }

/* Text link with a marigold rule that grows on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--marigold);
  transition: gap var(--dur) var(--ease);
}
.link-arrow:hover { gap: 0.9rem; }
.link-arrow svg { width: 14px; height: 14px; flex: none; }

/* Chips — used for filters and for the instructor style list */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.chip:hover { color: var(--bone); border-color: var(--brass); }
.chip[aria-pressed="true"] {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--ink);
}

/* Static (non-button) chip — instructor styles */
.chip--static {
  cursor: default;
  border-color: var(--marigold);
  color: var(--bone);
}
.chip--static:hover { color: var(--bone); border-color: var(--marigold); }

/* Small status/level badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.badge--live {
  background: var(--sindoor);
  border-color: var(--sindoor);
  color: #fff;
}
.badge--next {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--ink);
}


/* ==========================================================================
   06. HEADER / NAV / MOBILE DRAWER
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 14, 43, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  transition: padding var(--dur) var(--ease);
}
/* Condensed state — toggled by main.js on scroll */
.header.is-condensed { background: rgba(21, 14, 43, 0.96); border-bottom-color: var(--line); }
.header.is-condensed .header__inner { padding-block: 0.6rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.brand__logo {
  display: block;
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
  border-radius: 6px;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand__name span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav { display: none; }          /* shown from 768px up — see responsive.css */
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-small);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--bone); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--bone); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: none; }  /* shown from 1024px up */

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer (under 768px) */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  z-index: 200;
  background: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding: 5.5rem 1.5rem 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 380ms var(--ease), visibility 380ms;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__list { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer__link {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--bone);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.drawer__link:hover { color: var(--marigold); padding-left: 0.9rem; }
.drawer__link[aria-current="page"] { color: var(--marigold); }
.drawer__foot { margin-top: 2rem; }
.drawer__foot .btn { width: 100%; }
.drawer__meta {
  margin-top: 1.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2;
}
.drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10, 6, 20, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 380ms var(--ease), visibility 380ms;
}
.scrim.is-open { opacity: 1; visibility: visible; }

body.is-locked { overflow: hidden; }


/* ==========================================================================
   07. HERO — the real studio, lit like a stage
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  isolation: isolate;
  background-image:
    linear-gradient(180deg, rgba(21, 14, 43, 0.90) 0%, rgba(21, 14, 43, 0.93) 45%, rgba(21, 14, 43, 0.985) 100%),
    url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

/* Ambient marigold light-wash — a slow stage wash over the studio photo */
.hero__wash {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 22% 8%,  rgba(242, 160, 7, 0.30) 0%, rgba(242, 160, 7, 0) 62%),
    radial-gradient(46% 38% at 78% 26%, rgba(214, 34, 70, 0.20) 0%, rgba(214, 34, 70, 0) 66%),
    radial-gradient(70% 55% at 50% 96%, rgba(201, 162, 39, 0.16) 0%, rgba(201, 162, 39, 0) 70%);
  filter: blur(4px);
  animation: wash 18s ease-in-out infinite alternate;
}
@keyframes wash {
  0%   { transform: translate3d(-2%, 0, 0) scale(1);    opacity: 0.9; }
  100% { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1; }
}

/* Fine brass grid, very quiet — suggests a sprung floor */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(201, 162, 39, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 162, 39, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
}

.hero__title {
  margin: 0 0 1.25rem;
  max-width: 16ch;
}
/* Each word rises as its own line — animated by .hero-line in section 17 */
.hero__title .hero-line { display: block; overflow: hidden; }
.hero__title .hero-line > span { display: block; }
.hero__title .hero-line:nth-child(2) > span { color: var(--marigold); }

.hero__sub { max-width: 48ch; font-size: clamp(1.0625rem, 1.7vw, 1.3rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__meta b { color: var(--bone); font-weight: 500; }

/* Compact page hero for inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero__wash { animation-duration: 24s; opacity: 0.7; }
.page-hero h1 { max-width: 18ch; }


/* ==========================================================================
   08. STATS BAND
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brass);
}
.stat__label {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ==========================================================================
   09. TIMELINE — "One Day at HOZANA"
   The signature element. One day, Sunday–Friday, 06:00 → 20:00, on a rail.
   ========================================================================== */

.timeline-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.timeline-status b { color: var(--bone); font-weight: 500; }
.timeline-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sindoor);
  flex: none;
  box-shadow: 0 0 0 0 rgba(214, 34, 70, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(214, 34, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 34, 70, 0); }
}

/* The rail */
.timeline {
  position: relative;
  padding-left: 3.25rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--brass);
  opacity: 0.4;
}

.tl-item { position: relative; }
.tl-item + .tl-item { margin-top: 0.75rem; }

/* The node dot — fills in on scroll (.is-visible added by IntersectionObserver) */
.tl-item__dot {
  position: absolute;
  left: -3.25rem;
  top: 1.4rem;
  width: 24px;
  height: 24px;
  margin-left: 0;
  border-radius: 50%;
  border: 2px solid var(--brass);
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 420ms var(--ease), background-color 420ms var(--ease);
}
.tl-item__dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--marigold);
  transform: scale(0);
  transition: transform 420ms var(--ease);
}
.tl-item.is-visible .tl-item__dot::after { transform: scale(1); }
.tl-item.is-visible .tl-item__dot { border-color: var(--marigold); }

/* Class card on the rail */
.tl-card {
  display: block;
  position: relative;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-soft);
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              opacity 380ms var(--ease);
}
.tl-card:hover { transform: translateY(-2px); border-color: var(--marigold); }

/* Kids / junior classes get a warmer surface tint */
.tl-item[data-cat="kids"] .tl-card { background: var(--ink-warm); }

.tl-card__time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.tl-card__title { margin: 0 0 0.35rem; font-size: 1.1875rem; }
.tl-card__focus { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.tl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Filtered-out cards fade rather than disappear — the day keeps its shape */
.tl-item.is-dimmed .tl-card,
.tl-item.is-dimmed .tl-item__dot { opacity: 0.2; }
.tl-item.is-dimmed .tl-card { pointer-events: none; }

/* Quiet gap between classes */
.tl-gap {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  border-left: 2px dashed rgba(201, 162, 39, 0.25);
  margin-left: -0.5rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tl-gap b { color: var(--brass); font-weight: 500; }

/* "Now" marker — a sindoor line across the rail at the visitor's Nepal time */
.tl-now {
  position: relative;
  margin: 0.75rem 0 0;
  padding-left: 0;
}
.tl-now::before {
  content: "";
  position: absolute;
  left: -3.25rem;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(to right, var(--sindoor), rgba(214, 34, 70, 0));
}
.tl-now__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--sindoor);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Appointment-only card sits at the foot of the rail */
.tl-item--appt .tl-card { background: transparent; border-style: dashed; border-color: var(--line); }
.tl-item--appt .tl-item__dot { border-style: dashed; }

.timeline-foot {
  margin-top: 1.5rem;
  padding-left: 3.25rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ==========================================================================
   10. CARDS — class, pricing, event, instructor
   ========================================================================== */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-soft);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: var(--marigold); }
.card--flat:hover { transform: none; border-color: var(--line-soft); }
.card__body { flex: 1 1 auto; }
.card__foot { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }

.section--light .card {
  background: #fff;
  border-color: rgba(21, 14, 43, 0.12);
  color: var(--ink-on-light);
}
.section--light .card:hover { border-color: var(--marigold); }
.section--light .card__foot { border-top-color: rgba(21, 14, 43, 0.12); }

/* Class card (grid on index + classes.html) */
.class-card .img-frame { margin: -1.5rem -1.5rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; }
.class-card__time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.class-card h3 { margin: 0.4rem 0 0.5rem; }
.class-card p { color: var(--muted); font-size: var(--fs-small); }

/* Definition-list detail rows — the mobile-safe replacement for a wide table */
.dl {
  display: grid;
  grid-template-columns: minmax(5.25rem, auto) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  margin: 0;
  font-size: var(--fs-small);
}
.dl dd { min-width: 0; overflow-wrap: anywhere; }
.dl dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}
.dl dd { margin: 0; }
.section--light .dl dt { color: var(--muted-on-light); }

/* Pricing */
.price-card { padding: 1.75rem 1.5rem; }
.price-card__cur {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
}
.price-card__amt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--bone);
  display: block;
  margin-bottom: 0.15rem;
}
.section--light .price-card__amt { color: var(--ink-on-light); }
.section--light .price-card__cur { color: var(--muted-on-light); }
.price-card__per {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card h3 { margin-bottom: 0.9rem; }
.price-card__inc { margin: 1.25rem 0 0; color: var(--muted); font-size: var(--fs-small); }
.section--light .price-card__inc { color: var(--muted-on-light); }

.price-card--featured {
  border-color: var(--marigold);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(242, 160, 7, 0.10), transparent 45%), var(--ink-soft);
}
.price-card__tag {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* "Included with every package" band */
.included {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--ink-soft);
}
.included__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 2rem;
  margin-top: 1.25rem;
}
.included__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-small);
}
.included__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Events strip */
.event-card { padding: 1.5rem; border-left: 2px solid var(--brass); }
.event-card h3 { color: var(--bone); }
.section--light .event-card h3 { color: var(--ink-on-light); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--light .pill { border-color: rgba(21, 14, 43, 0.2); color: var(--muted-on-light); }

/* Instructor profile */
.profile__portrait { position: relative; }
.profile__portrait .img-frame { border-radius: var(--radius); }
.profile__name { margin-bottom: 0.25rem; }
.profile__role {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 1.25rem;
}
.spec-list { display: grid; gap: 0.75rem; }
.spec-list li {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-small);
}
.spec-list li::before {
  content: counter(list-item, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  flex: none;
  padding-top: 0.2rem;
}
.spec-list { counter-reset: none; }
.section--light .spec-list li { border-bottom-color: rgba(21, 14, 43, 0.12); }


/* ==========================================================================
   11. IMAGE FRAMES & GENERATED PLACEHOLDERS
   No photography exists yet. Every <img> sits inside a fixed-ratio frame that
   draws its own placeholder — ink-soft, diagonal brass hairlines, an "H" mark
   at 20%, and a mono caption. Drop the real file at the path and it appears.
   ========================================================================== */

.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--ink-soft);
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(201, 162, 39, 0.14) 0 1px,
      transparent 1px 12px
    );
  border-radius: var(--radius-sm);
}
.img-frame--16x9  { aspect-ratio: 16 / 9; }
.img-frame--4x5   { aspect-ratio: 4 / 5; }
.img-frame--3x4   { aspect-ratio: 3 / 4; }
.img-frame--1x1   { aspect-ratio: 1 / 1; }
.img-frame--9x16  { aspect-ratio: 9 / 16; }

/* The "H" mark, centred at 20% opacity */
.img-frame::before {
  content: "H";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 18%, 7rem);
  letter-spacing: -0.05em;
  color: var(--marigold);
  opacity: 0.2;
  pointer-events: none;
}
/* Caption naming what belongs there, e.g. KIDS CLASS — 4:3 */
.img-frame::after {
  content: attr(data-label);
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.section--light .img-frame::after { color: var(--muted); }

/* The real image sits on top and only becomes visible once it loads.
   main.js adds .img-ok on load; onerror adds .img-missing (stays hidden). */
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.img-frame img.img-ok { opacity: 1; }
.img-frame img.img-missing { opacity: 0; }

/* Self-hosted video sits the same way — always visible, no placeholder wiring needed. */
.img-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A vertical clip presented like a phone reel — contained and centred rather
   than stretched full-width, since the source footage is shot portrait. */
.reel-frame {
  max-width: 380px;
  margin-inline: auto;
}
.reel-frame .img-frame {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}
.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.video-card__frame {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background: #09070f;
}
.video-card__frame video {
  object-fit: contain;
}
.video-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.video-card__body .eyebrow { margin-bottom: 0.35rem; }
.video-card__body h3 { margin: 0; font-size: 1.2rem; }

.founder-journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.founder-journey__step {
  min-height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.founder-journey__number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--marigold);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
}
.founder-journey__step h3 { margin-bottom: 0.65rem; }
.founder-journey__step p { margin-bottom: 0; color: var(--muted); }
.founder-journey__note { margin-top: 2rem; color: var(--muted); }


.review-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.review-panel h2 { max-width: 26ch; }
.review-panel .lead { margin-bottom: 0; }


/* ==========================================================================
   13. GALLERY GRID & LIGHTBOX
   ========================================================================== */

.gallery {
  columns: 1;
  column-gap: 1rem;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  transition: opacity 380ms var(--ease), transform var(--dur) var(--ease);
}
.gallery__item.is-hidden { display: none; }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.gallery__btn:hover { transform: translateY(-2px); border-color: var(--marigold); }
.gallery__btn .img-frame { border-radius: 0; }
.gallery__cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}
.gallery__cap b { color: var(--brass); font-weight: 500; }

/* Fashion catalogue: preserve each source photo's natural aspect ratio. */
.fashion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
}
.fashion-card { min-width: 0; }
.fashion-card__photo {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.fashion-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 420ms var(--ease);
}
.fashion-card__photo:hover img,
.fashion-card__photo:focus-visible img { transform: scale(1.025); }
.fashion-card__caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fashion-card__caption span:last-child { color: var(--brass); }

/* Acting stories: grouped photo essays with uncropped original frames. */
.acting-intro { max-width: 54rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.acting-intro > p:last-child { max-width: 52rem; color: var(--muted); font-size: var(--fs-body); }
.acting-note {
  max-width: 54rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--brass);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}
.acting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.65rem, 2vw, 1.25rem);
}
.acting-card { min-width: 0; margin: 0; }
.acting-card a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.acting-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 420ms var(--ease);
}
.acting-card a:hover img,
.acting-card a:focus-visible img { transform: scale(1.025); }
.acting-card figcaption {
  padding: 0.55rem 0.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(10, 6, 20, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 260ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage .img-frame {
  width: min(92vw, 1000px);
  max-height: 100%;
  aspect-ratio: 3 / 2;
}
.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.lightbox__btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lightbox__btn:hover { border-color: var(--marigold); color: var(--marigold); }
.lightbox__btn svg { width: 18px; height: 18px; }


/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  letter-spacing: -0.02em;
  color: inherit;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--marigold); }
.section--light .faq__q:hover { color: var(--ink); }
.faq__icon {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--marigold);
  transition: transform 300ms var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 320ms var(--ease);
}
.faq__a > div { padding-bottom: 1.35rem; color: var(--muted); max-width: var(--maxw-text); }
.section--light .faq__a > div { color: var(--muted-on-light); }


/* ==========================================================================
   15. FORMS
   ========================================================================== */

.form { display: grid; gap: 1.15rem; min-width: 0; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--sindoor); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  color: var(--bone);
  font-size: var(--fs-body);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A79BC0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #6F6390; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--marigold); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--sindoor); }

.field__error {
  min-height: 1.2em;
  font-size: var(--fs-small);
  color: #FF7A94;
}
.field__hint { font-size: var(--fs-small); color: var(--muted); }

.form__status {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  font-size: var(--fs-small);
  color: var(--muted);
}
.form__status:empty { display: none; }
.form__status.is-ok { border-color: var(--marigold); color: var(--bone); }
.form__status.is-bad { border-color: var(--sindoor); color: #FF7A94; }


/* ==========================================================================
   16. FOOTER, FLOATING WHATSAPP, 404
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line);
  background: #120B24;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.footer h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.footer__logo {
  display: block;
  width: 84px;
  height: auto;
  margin-top: 1.25rem;
  border-radius: 10px;
  opacity: 0.92;
}
.footer__links li + li { margin-top: 0.55rem; }
.footer__links a {
  color: var(--muted);
  font-size: var(--fs-small);
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--marigold); }
.footer__note { color: var(--muted); font-size: var(--fs-small); max-width: 34ch; }

.socials { display: flex; gap: 0.6rem; }
.social {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.social:hover { color: var(--marigold); border-color: var(--marigold); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Floating WhatsApp — every page, bottom right */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #FFB528; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wa-float span { display: none; }   /* label appears from 768px up */

/* Studio location and directions */
.location-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
}
.location-card { display: flex; min-width: 0; }
.location-card .card__body { width: 100%; }
.location-card__address { margin-top: 1rem; font-weight: 600; }
.location-card__landmark { margin-top: 0.5rem; color: var(--muted); }
.section--light .location-card__landmark,
.section--light .location-status { color: var(--muted-on-light); }
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.location-actions .btn { min-height: 44px; }
.location-status {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.location-map-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
}
.map-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--ink-soft);
  background-image:
    linear-gradient(to right, rgba(201, 162, 39, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 162, 39, 0.10) 1px, transparent 1px);
  background-size: 46px 46px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__open {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(21, 14, 43, 0.92);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
}
.map-frame__open:hover { color: var(--marigold); }
.map-frame__note {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Final CTA */
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 3rem);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(242, 160, 7, 0.16), transparent 60%),
    var(--ink-soft);
}
  .home-contact-cta { max-width: 860px; margin-inline: auto; text-align: center; }
  .home-contact-cta .hero__actions { justify-content: center; }

/* 404 */
.err {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}
.err__code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(4rem, 16vw, 9rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--brass);
}


/* ==========================================================================
   17. MOTION & REDUCED-MOTION
   ========================================================================== */

/* Hero load sequence — lines rise and fade in, staggered 60ms.
   .hero-ready is set by main.js once fonts/DOM are settled. */
.hero-line > span,
.hero__sub,
.hero__actions,
.hero__meta {
  opacity: 0;
  transform: translateY(28px);
}
.hero-ready .hero-line > span,
.hero-ready .hero__sub,
.hero-ready .hero__actions,
.hero-ready .hero__meta {
  animation: rise 760ms var(--ease) forwards;
}
.hero-ready .hero-line:nth-child(1) > span { animation-delay: 60ms; }
.hero-ready .hero-line:nth-child(2) > span { animation-delay: 120ms; }
.hero-ready .hero-line:nth-child(3) > span { animation-delay: 180ms; }
.hero-ready .hero__sub     { animation-delay: 260ms; }
.hero-ready .hero__actions { animation-delay: 330ms; }
.hero-ready .hero__meta    { animation-delay: 400ms; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal — IntersectionObserver adds .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-line > span,
  .hero__sub,
  .hero__actions,
  .hero__meta,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero__wash { animation: none; }
  .timeline-status .dot { animation: none; }
  .tl-item__dot::after { transform: scale(1); }
  .btn:hover, .card:hover, .tl-card:hover, .gallery__btn:hover,
  .social:hover, .wa-float:hover { transform: none; }
  .img-frame img { transition: none; }
}
