@charset "utf-8";
/* =========================================================================
   Key Style Music & Arts Academy — keystylemusic.in
   Plain CSS. No framework, no build step.

   Contents
     1  Fonts
     2  Tokens
     3  Reset & base
     4  Typography
     5  Layout primitives
     6  Staff motif
     7  Buttons & links
     8  Header & nav
     9  Floating WhatsApp
    10  Hero
    11  Trust strip
    12  Course cards & carousel
    13  Dark sections
    14  Instructor
    15  Testimonials
    16  Timetable
    17  Courses page: key-bed sub-nav, FAQ
    18  Gallery & lightbox
    19  Forms
    20  Footer
    21  404
    22  Reduced motion
   ========================================================================= */

/* 1 ── Fonts ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

/* 2 ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --ink:       #0B1533;
  --royal:     #1C2E7C;
  --violet:    #4A3B7C;
  --lime:      #C3DE33;
  --lime-deep: #9CB420;
  --paper:     #FBFBFC;
  --slate:     #5A6478;
  --hairline:  #E2E5EC;

  --on-dark:      rgba(255,255,255,.72);
  --hairline-dark: rgba(255,255,255,.14);
  --line-dark:     rgba(255,255,255,.16);
  
  --shadow-lime: 0 8px 24px -6px rgba(195, 222, 51, 0.5);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Pill Nav Tokens */
  --nav-bg:       rgba(255, 255, 255, 0.85);
  --nav-border:   rgba(0, 0, 0, 0.08);
  --text:         #000000;
  --accent:       #555555;
  --overlay-bg:   #111111;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 132px);

  --r-btn: 0px;
  --r-card: 0px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3 ── Reset & base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;              /* belt-and-braces against horizontal scroll */
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; border-radius: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Lime on white fails contrast as text, but as a focus *ring* against the
   page it is a graphic, not copy. On light surfaces we darken it so the
   ring stays visible on --paper. */
@supports (color: color-mix(in srgb, red, blue)) {
  :where(a, button, input, select, textarea, summary):focus-visible {
    outline-color: var(--lime-deep);
  }
  .dark :where(a, button, input, select, textarea, summary):focus-visible,
  .btn-primary:focus-visible {
    outline-color: var(--lime);
  }
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 8px; }

.sr-only {
  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;
}

/* 4 ── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -0.01em; font-weight: 400; font-family: var(--font-display); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.01em; font-weight: 400; font-family: var(--font-display); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; font-weight: 400; font-family: var(--font-display); }
h4 { font-size: 1.4rem; line-height: 1.2; font-weight: 400; font-family: var(--font-display); }
p  { margin: 0 0 1.2em; max-width: 66ch; font-weight: 400; color: var(--slate); font-size: 1.1rem; line-height: 1.7; }
small, .small { font-size: .875rem; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow, .caps {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.dark .eyebrow, .dark .caps { color: var(--lime); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--slate); line-height: 1.6; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lime-deep); }

.dark { color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong { color: #fff; }
.dark .eyebrow, .dark .caps { color: rgba(255,255,255,.6); }
.dark a { color: #fff; }
.dark a:hover { text-decoration-color: var(--lime); }

/* 5 ── Layout primitives ──────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(24px, 3.5vw, 44px); }
.measure { max-width: 66ch; }
.center { text-align: center; margin-inline: auto; }

.section-head { max-width: 46ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }

/* Scroll reveal — fade + 16px rise. JS adds .in. */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* 6 ── Staff motif ────────────────────────────────────────────────────── */
.staff { display: grid; gap: 7px; }
.staff span { display: block; height: 1px; background: var(--hairline); transform-origin: left; transform: scaleX(0); }
.staff.in span { transform: scaleX(1); transition: transform .7s var(--ease); }
.staff.in span:nth-child(2) { transition-delay: .06s; }
.staff.in span:nth-child(3) { transition-delay: .12s; }
.staff.in span:nth-child(4) { transition-delay: .18s; }
.staff.in span:nth-child(5) { transition-delay: .24s; }
.dark .staff span { background: var(--hairline-dark); }

.staff-divider { padding-block: clamp(28px, 4vw, 44px); }

/* Bridge ornament, dark sections only */
.bridge-rule { position: relative; display: grid; place-items: center; padding-block: clamp(28px, 4vw, 44px); }
/* Punch a gap in the staff rather than covering it — the section runs a
   gradient, so a solid swatch behind the bridge would show as a patch. */
.bridge-rule .staff {
  width: 100%;
  -webkit-mask: linear-gradient(90deg, #000 calc(50% - 36px), transparent calc(50% - 36px), transparent calc(50% + 36px), #000 calc(50% + 36px));
  mask: linear-gradient(90deg, #000 calc(50% - 36px), transparent calc(50% - 36px), transparent calc(50% + 36px), #000 calc(50% + 36px));
}
.bridge-rule svg { position: absolute; width: 64px; height: 46px; color: var(--lime); stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.5s ease-out; }
.bridge-rule:hover svg { stroke-dashoffset: 0; }

/* 7 ── Buttons & links ────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 14px 28px;
  border-radius: var(--r-btn);
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--lime); z-index: -1;
  transform: translateY(100%); transition: transform .4s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn-primary:hover { color: var(--ink); }
.btn-primary:hover::before { transform: translateY(0); }

.btn-ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.dark .btn-ghost { border-color: #fff; color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* Detail 4 — plucked string under a primary CTA. One damped oscillation
   per hover, three cycles, amplitude decaying to rest. Never loops. */
.pluck {
  position: absolute; left: 18px; right: 18px; bottom: 7px;
  width: auto; height: 8px; overflow: visible; pointer-events: none;
}
.pluck path { fill: none; stroke: currentColor; stroke-width: 1; opacity: .32; vector-effect: non-scaling-stroke; }
.btn:hover .pluck path,
.btn:focus-visible .pluck path { animation: pluck .48s linear 1; }
@keyframes pluck {
  0%   { d: path("M0 4 Q 50 4 100 4"); }
  10%  { d: path("M0 4 Q 50 -2 100 4"); }
  27%  { d: path("M0 4 Q 50 8.4 100 4"); }
  44%  { d: path("M0 4 Q 50 1.4 100 4"); }
  61%  { d: path("M0 4 Q 50 5.6 100 4"); }
  78%  { d: path("M0 4 Q 50 3.4 100 4"); }
  100% { d: path("M0 4 Q 50 4 100 4"); }
}

.link-arrow { display: inline-block; min-height: 44px; line-height: 42px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.link-arrow:hover { border-color: var(--lime-deep); }
.dark .link-arrow { color: #fff; border-color: var(--hairline-dark); }
.dark .link-arrow:hover { border-color: var(--lime); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* 8 ── Pill Nav & Overlay ─────────────────────────────────────────────── */

.pill-wrapper {
  position: fixed; top: 1.5rem; left: 0; right: 0; z-index: 100;
  padding: 0 1.5rem; display: flex; justify-content: center; pointer-events: none;
}

.pill-bar {
  pointer-events: auto; height: 60px; width: 100%; max-width: 1600px;
  border-radius: 100px; background: var(--nav-bg); 
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--nav-border);
  padding: 0 0.6rem 0 1.5rem; position: relative; overflow: hidden;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex; align-items: center;
}
/* Entrance Animation */
@keyframes pillEntrance {
  0% { transform: translateY(-100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.pill-bar {
  animation: pillEntrance 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both;
}
@media (prefers-reduced-motion: reduce) {
  .pill-bar { animation: none; }
}

.pill-content {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 100%;
  transition: opacity 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.pill-logo {
  display: flex; align-items: center; text-decoration: none; color: var(--ink);
  height: 36px;
  flex: 1;
}

.pill-links {
  display: none;
}
@media (min-width: 860px) {
  .pill-links {
    display: flex; gap: 2.5rem; font-size: 0.95rem; font-weight: 500;
    white-space: nowrap; color: var(--text);
  }
}
.pill-links a {
  position: relative; text-decoration: none; color: inherit;
}
.pill-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--text); transform: scaleX(0);
  transform-origin: left; transition: transform 0.35s var(--ease);
}
.pill-links a:hover::after, .pill-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pill-actions {
  display: flex; align-items: center; gap: 10px;
  flex: 1; justify-content: flex-end;
}

/* Ambient Music Toggle */
.music-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--text); position: relative;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.music-btn:hover {
  color: var(--royal); transform: scale(1.05);
}

.icon-play {
  position: absolute; opacity: 1; transform: scale(1); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.icon-eq {
  position: absolute; display: flex; align-items: flex-end; gap: 3px; height: 16px; opacity: 0; transform: scale(0.8); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.icon-eq span {
  display: block; width: 3px; background-color: currentColor; border-radius: 2px;
}
.icon-eq span:nth-child(1) { height: 100%; animation: eq 1.2s infinite ease-in-out alternate; }
.icon-eq span:nth-child(2) { height: 60%; animation: eq 0.8s infinite ease-in-out alternate 0.3s; }
.icon-eq span:nth-child(3) { height: 80%; animation: eq 1s infinite ease-in-out alternate 0.1s; }

.music-btn.playing .icon-play { opacity: 0; transform: scale(0.8); }
.music-btn.playing .icon-eq { opacity: 1; transform: scale(1); }
.music-btn.playing { color: var(--lime-deep); }

@keyframes eq {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.pill-cta {
  display: none;
}
@media (min-width: 860px) {
  .pill-cta {
    display: inline-flex; padding: 0.75rem 1.5rem; border-radius: 100px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    background: var(--ink); color: #fff;
    transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
  }
  .pill-cta:hover {
    transform: translateY(-2px); background: var(--lime); color: var(--ink);
  }
}

.pill-hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--text); z-index: 95;
}
@media (min-width: 860px) {
  .pill-hamburger { display: none; }
}
.pill-hamburger span {
  display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.pill-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.pill-hamburger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.pill-hamburger[aria-expanded="true"] { color: #fff; } /* contrast against overlay */

.pill-disk {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0); width: 24px; height: 24px;
  border-radius: 50%; border: 2px solid var(--text); background: transparent;
  opacity: 0; display: grid; place-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s var(--ease);
  pointer-events: none;
}
.pill-disk::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text);
}

/* Collapsed State (Mobile) */
@media (max-width: 859px) {
  .pill-wrapper.is-collapsed .pill-bar {
    width: 60px; padding: 0;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s, padding 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
  }
  .pill-wrapper.is-collapsed .pill-content {
    opacity: 0; pointer-events: none;
  }
  .pill-wrapper.is-collapsed .pill-disk {
    transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s, opacity 0.4s var(--ease) 0.3s;
  }
}

/* Collapsed State (Desktop) - Logo Slide Out */
@media (min-width: 860px) {
  .pill-logo {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s var(--ease);
  }
  .pill-wrapper.is-collapsed .pill-logo {
    transform: translateX(-40px);
    opacity: 0;
    pointer-events: none;
  }
}

/* Overlay */
.pill-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--overlay-bg);
  display: grid; place-items: center; text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.pill-overlay[aria-hidden="false"] {
  opacity: 1; visibility: visible;
}
.pill-overlay nav {
  display: flex; flex-direction: column; gap: 2rem;
}
.pill-overlay a {
  font-size: 3rem; font-weight: 500; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.5); text-decoration: none; font-family: var(--font-display);
  transform: translateY(30px) scale(0.95); opacity: 0;
  transition: color 0.3s var(--ease), transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.pill-overlay a:hover, .pill-overlay a[aria-current="page"] {
  color: #ffffff;
}
.pill-overlay[aria-hidden="false"] a {
  transform: none; opacity: 1;
}
/* Staggered Links */
.pill-overlay a:nth-child(1) { transition-delay: 0s, 0.08s, 0.08s; }
.pill-overlay a:nth-child(2) { transition-delay: 0s, 0.13s, 0.13s; }
.pill-overlay a:nth-child(3) { transition-delay: 0s, 0.18s, 0.18s; }
.pill-overlay a:nth-child(4) { transition-delay: 0s, 0.23s, 0.23s; }
.pill-overlay a:nth-child(5) { transition-delay: 0s, 0.28s, 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .pill-bar, .pill-content, .pill-disk, .pill-overlay, .pill-overlay a {
    transition-duration: 0s !important; transition-delay: 0s !important;
  }
}

/* 9 ── Floating WhatsApp ──────────────────────────────────────────────── */
.wa-float {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(11,21,51,.18);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s, background-color .18s var(--ease);
}
.wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--lime); color: var(--ink); }
.wa-float svg { width: 30px; height: 30px; }

/* 10 ── Bento Hero ─────────────────────────────────────────── */
.bento-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--section) + 40px) var(--section);
  background: var(--ink); /* Very dark blue background */
}

/* Diamond grid background pattern */
.bento-hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%), 
    linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%), 
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%), 
    linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%);
  background-position:  40px 0, 40px 0, 0 0, 0 0;
  background-size: 80px 80px;
  background-repeat: repeat;
  z-index: 0;
}

.bento-slide {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  background: var(--paper); /* White card */
  border-radius: 32px;
  padding: clamp(16px, 3vw, 32px);
  margin-inline: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  padding-inline: 0;
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
}

.bento-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-main {
  background: var(--royal); /* Blue */
  color: #fff;
  padding: clamp(32px, 5vw, 64px);
  justify-content: center;
  text-align: left;
}
@media (min-width: 900px) {
  .bento-main { grid-column: 1 / 3; grid-row: 1 / 2; }
}

.bento-main .eyebrow { color: rgba(255,255,255,0.7); }
.bento-main h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 0.4em; }
.bento-main .lede { color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 50ch; margin-bottom: 2rem; }
.bento-btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.bento-btn-ghost:hover { background: #fff; color: var(--royal); }

.bento-tall-img {
  aspect-ratio: 4/5;
}
@media (min-width: 900px) {
  .bento-tall-img { grid-column: 3 / 5; grid-row: 1 / 3; aspect-ratio: auto; }
}

.bento-small-img {
  aspect-ratio: 1/1;
}
@media (min-width: 900px) {
  .bento-small-img { grid-column: span 1; grid-row: 2 / 3; }
}

.bento-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-card:hover img { transform: scale(1.05); }

.bento-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 100px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--ink);
  transform: translateY(10px); opacity: 0;
  animation: badgeUp 0.6s var(--ease) 0.5s forwards;
}
@keyframes badgeUp {
  to { transform: none; opacity: 1; }
}
.bento-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.bento-badge-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); }
.bento-badge-stars { font-size: 0.9rem; color: #FBBC05; }
.bento-badge-stars strong { color: var(--ink); margin-right: 4px; }

.hero-royal { background: var(--royal); }
.hero-violet { background: var(--violet); }

.hero-text-card .eyebrow { color: rgba(255,255,255,0.7); }
.hero-text-card h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 0.4em; }
.card-title-serif { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; margin-bottom: 0.4em; }
.hero-text-card .lede { color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 50ch; margin-bottom: 2rem; }

.bento-btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.bento-btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-img-card {
  background: var(--ink);
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hero-img-card:hover img { transform: scale(1.05); }

.card-caption {
  position: absolute;
  bottom: 16px;
  right: 24px;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
}

/* Nav Button on Cards */
.card-nav-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.card-nav-btn:hover { transform: scale(1.1); }

/* 11 ── Trust Strip Marquee ───────────────────────────────────────────── */
.trust-marquee-wrapper {
  overflow: hidden;
  background: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  position: relative;
}
.trust-marquee-wrapper::before,
.trust-marquee-wrapper::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 2; pointer-events: none;
}
.trust-marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.trust-marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--paper), transparent); }

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  animation: marquee 30s linear infinite;
  padding-left: clamp(48px, 8vw, 120px);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); } /* Shift by exactly 1/3 since there are 3 groups */
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track { animation-play-state: paused; }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}

.trust-item .num {
  font-family: var(--font-display); 
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  line-height: 1; 
  color: var(--ink);
  display: block; 
  margin-bottom: 0.35rem;
}
.trust-item .num-text { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.trust-item .caps { 
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}
.trust-item .num-text { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.trust-item .caps { 
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

/* 12 ── Courses Grid ─────────────────────────────────────────────────── */
.courses-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}
@media (min-width: 900px) {
  .courses-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }
}

.course-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  min-height: 320px;
}

@media (min-width: 900px) {
  .course-large { grid-column: span 2; grid-row: span 2; }
  .course-tall { grid-column: span 1; grid-row: span 2; }
  .course-wide { grid-column: span 2; grid-row: span 1; }
  .course-small { grid-column: span 1; grid-row: span 1; }
}

.course-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card:hover img {
  transform: scale(1.08);
}

/* Glassmorphism Panel (Reverted to sleek gradient) */
.course-glass-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, rgba(11, 21, 51, 0.95) 0%, rgba(11, 21, 51, 0.6) 60%, transparent 100%);
  padding: 80px 24px 32px;
  margin-top: auto;
  transition: transform 0.4s var(--ease);
}

.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.course-header h3 {
  margin: 0;
  font-size: 1.8rem;
  color: #fff;
}

.course-header svg {
  color: var(--lime);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease);
}

.course-card:hover .course-header svg {
  opacity: 1;
  transform: translateX(0);
}

.course-glass-panel p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0;}
.tags li {
  list-style: none; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 100px;
}
.course-card:hover .tags li {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

/* 13 ── Dark sections ─────────────────────────────────────────────────── */
.dark { background: var(--ink); }
.reasons-bento {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .reasons-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .reasons-bento { grid-template-columns: repeat(4, 1fr); }
}

.reason-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.reason-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.reason-icon {
  width: 48px;
  height: 48px;
  background: rgba(195, 222, 51, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  margin-bottom: 24px;
}

.reason-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #fff;
}
.reason-card p {
  font-size: 0.96rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* 14 ── Instructor (Editorial) ────────────────────────────────────────────────────── */
.editorial-section {
  background: var(--paper);
  padding: 6rem 0;
  overflow: hidden;
}

.editorial-split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .editorial-split {
    grid-template-columns: 1fr 1.1fr;
  }
}

.editorial-media {
  position: relative;
}

.editorial-media::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--royal);
  border-radius: 24px;
  z-index: 0;
}

.editorial-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(11, 21, 51, 0.15);
  transition: transform 0.6s var(--ease);
}
.editorial-media img:hover {
  transform: translateY(-8px);
}

.editorial-content {
  padding-right: clamp(0px, 4vw, 40px);
}

.editorial-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 2rem;
}

.editorial-quote {
  position: relative;
  margin: 3rem 0;
  padding: 0 0 0 24px;
  border-left: 4px solid var(--lime);
}

.quote-mark {
  position: absolute;
  top: -40px;
  left: 10px;
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--slate);
  opacity: 0.1;
  user-select: none;
}

.editorial-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* 14b ── Generic Split (used by contact) ────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: .85fr 1.15fr; } }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); filter: grayscale(100%); transition: filter .6s var(--ease); }
.split-media img:hover { filter: grayscale(0%); }
.split.reverse .split-media { order: 2; }

blockquote.pull {
  margin: 1.6rem 0; padding-left: 22px; border-left: 1px solid var(--lime);
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.35; color: var(--ink);
}
.dark blockquote.pull { color: #fff; }

/* 15 ── Testimonials Marquee (Fretboard Design) ───────────────────────── */

/* Fretboard Background & Strings */
.fretboard-section {
  position: relative;
  background: var(--ink) !important;
  color: #fff;
  overflow: hidden;
}
.fretboard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Very subtle, dark wood gradient instead of harsh repeating stripes */
  background: linear-gradient(90deg, #0b111f 0%, #111a2f 50%, #0b111f 100%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}
.guitar-strings {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  height: 340px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guitar-strings .string {
  width: 100%;
  background: linear-gradient(to bottom, #fff, #999, #555);
  box-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 1px 1px rgba(0,0,0,0.5);
}
.guitar-strings .string-1 { height: 1px; opacity: 0.8; }
.guitar-strings .string-2 { height: 1.5px; opacity: 0.85; }
.guitar-strings .string-3 { height: 2px; opacity: 0.9; }
.guitar-strings .string-4 { height: 3px; background: repeating-linear-gradient(90deg, #ccc, #ccc 2px, #888 3px); }
.guitar-strings .string-5 { height: 4px; background: repeating-linear-gradient(90deg, #ccc, #ccc 2px, #888 3px); }
.guitar-strings .string-6 { height: 5px; background: repeating-linear-gradient(90deg, #aaa, #aaa 2px, #666 4px); }

.testimonial-marquee-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 1rem 0 6rem;
}

.testimonial-marquee-track {
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 4vw, 40px);
  padding-left: clamp(24px, 4vw, 40px);
  animation: marquee 40s linear infinite;
}

.testimonial-marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee-track { animation-play-state: paused; }
}

.review-card {
  flex: 0 0 auto;
  width: clamp(280px, 80vw, 400px);
  /* Dark Glass Inlay Effect */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 12rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--font-serif);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}

.review-card .stars {
  color: #FFD700;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.review-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.review-card figcaption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.review-card figcaption strong {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 15.5 ── Student Performances ─────────────────────────────────────────────── */
.performances-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}
@media (min-width: 768px) {
  .performances-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 21, 51, 0.2);
  transition: background 0.4s var(--ease);
}

.play-btn {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s var(--ease), color 0.4s var(--ease);
}

.play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 6px; /* visually center play icon */
}

.video-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.video-card:hover .video-overlay {
  background: rgba(11, 21, 51, 0.4);
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--royal);
  color: #fff;
}

/* 16 ── Contact Bento ─────────────────────────────────────────────────────── */
.contact-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}
@media (min-width: 900px) {
  .contact-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.clean-timetable {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-timetable li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.05rem;
}

.clean-timetable li:last-child {
  border-bottom: none;
}

.clean-timetable li span {
  color: var(--slate);
  font-weight: 500;
}

.clean-timetable li strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.clean-timetable li.closed strong {
  color: #ff4d4f;
}

.map-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 17 ── Courses page ──────────────────────────────────────────────────── */
/* Detail 3 — the sub-nav is a section of keyboard. Four white keys as the
   items, black keys drawn as hairline verticals between them. Below 900px
   it collapses to plain chips; a miniature keyboard on a 360px screen is
   unusable. */
.keybed {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(251,251,252,.9);
  padding-block: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
@supports (backdrop-filter: blur(12px)) {
  .keybed { background: rgba(251,251,252,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.keybed ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.keybed a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--hairline); border-radius: var(--r-btn);
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.keybed a:hover { border-color: var(--ink); }
.keybed a[aria-current="true"] { background: var(--lime); border-color: var(--lime-deep); }

@media (min-width: 900px) {
  .keybed ul {
    position: relative; gap: 0;
    border: 1px solid var(--hairline); border-radius: 0 0 6px 6px;
    background: #fff; overflow: hidden;
  }
  .keybed li { flex: 1; }
  .keybed a {
    border: 0; border-radius: 0; min-height: 84px;
    align-items: flex-end; padding-bottom: 16px;
    font-weight: 400; font-family: var(--font-display); font-size: 1.2rem;
    transition: background-color .09s ease-out, transform .09s ease-out;
  }
  /* black keys: hairline verticals between the white keys */
  .keybed li + li { border-left: 1px solid var(--hairline); }
  .keybed li + li::before {
    content: ""; position: absolute; top: 0; width: 16px; height: 56px;
    border: 1px solid var(--hairline); border-top: 0; border-radius: 0 0 2px 2px;
    background: var(--paper);
    transform: translateX(-8px); pointer-events: none; z-index: 2;
  }
  .keybed li:nth-child(2)::before { left: 25%; }
  .keybed li:nth-child(3)::before { left: 50%; }
  .keybed li:nth-child(4)::before { left: 75%; }
  .keybed a[aria-current="true"] { background: var(--lime); transform: translateY(2px); }
}

.course-section { scroll-margin-top: 150px; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--hairline); }
.course-section:first-of-type { border-top: 0; }
.course-grid { display: grid; gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (min-width: 880px) { .course-grid { grid-template-columns: 1.1fr .9fr; } }
.spec-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.spec-list li { position: relative; padding-left: 22px; margin-bottom: .55rem; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--lime-deep); }
.meta-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.meta-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.meta-list dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.meta-list dd { margin: 0; text-align: right; color: var(--ink); font-size: .95rem; }

.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1px solid var(--slate); border-bottom: 1px solid var(--slate);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding-bottom: 24px; }
.faq p { margin-bottom: .6em; }

/* 18 ── Gallery & lightbox ────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filters button {
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--hairline); border-radius: var(--r-btn);
  font-size: .9rem; font-weight: 600; color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime-deep); }

.masonry { columns: 1; column-gap: clamp(14px, 2vw, 22px); }
@media (min-width: 600px)  { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry figure { break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 22px); }
.masonry button { display: block; width: 100%; border-radius: 0; }
.masonry img { width: 100%; transition: opacity .2s var(--ease); }
.masonry button:hover img { opacity: .88; }
.masonry figcaption { font-size: .82rem; color: var(--slate); padding-top: 8px; }
.masonry [hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,21,51,.94);
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
  padding: 16px var(--gutter) 28px;
}
.lightbox[hidden] { display: none; }
.lightbox-top { display: flex; justify-content: flex-end; }
.lightbox-top button { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.lightbox-top svg { width: 24px; height: 24px; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--on-dark); font-size: .9rem; }
.lightbox-foot nav { display: flex; gap: 8px; }
.lightbox-foot button { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid var(--hairline-dark); border-radius: 50%; }
.lightbox-foot button:hover { border-color: rgba(255,255,255,.5); }
.lightbox-foot svg { width: 22px; height: 22px; }
.lightbox-foot [data-lb="prev"] svg { transform: scaleX(-1); }

/* 19 ── Forms ─────────────────────────────────────────────────────────── */
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.field label, .fieldset-legend { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-btn);
  background: #fff; color: var(--ink);
  transition: border-color .18s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cbd1dd; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.error { display: block; min-height: 0; font-size: .82rem; color: #B3261E; margin-top: 6px; }
.error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--hairline); border-radius: var(--r-btn);
  font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
  margin-bottom: 0; cursor: pointer;
}
.radio-row input { accent-color: var(--lime-deep); width: 18px; height: 18px; }
.radio-row label:has(input:checked) { border-color: var(--ink); }
.form-note { font-size: .875rem; color: var(--slate); }

/* 20 ── Premium Footer ────────────────────────────────────────────────────────── */
.new-premium-footer {
  background-color: var(--paper); /* The beige tone from screenshot */
  padding-top: clamp(64px, 8vw, 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.footer-top-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: grid;
  gap: clamp(40px, 6vw, 60px);
}
@media (min-width: 900px) {
  .footer-top-section {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (min-width: 600px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
  margin: 0;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s var(--ease);
}
.footer-list a:hover {
  color: var(--royal);
}

.address-col address {
  font-style: normal;
  color: var(--slate);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-item a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-contact-item a:hover { color: var(--royal); }

.footer-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}
.footer-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-massive-text {
  font-family: var(--font-display);
  font-size: 20vw; /* Scales with viewport */
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  margin-top: 4rem;
  padding-bottom: 2rem;
  user-select: none;
}

.footer-bottom-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--slate);
}
.footer-bottom-bar span {
  display: block;
}

/* 20.1 ── About Page Overhaul ────────────────────────────────────────── */

/* Cinematic Hero */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0; z-index: 1;
}
.about-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, rgba(11,21,51,0.4) 100%);
}
.about-hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 var(--gutter);
  max-width: 800px;
}
.about-hero-content h1 { color: #fff; font-size: clamp(3rem, 6vw, 5rem); text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin-bottom: 1rem; }

/* Story Bento */
.story-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 32px);
}
@media (min-width: 900px) {
  .story-bento { grid-template-columns: repeat(2, 1fr); }
}
.story-bento .bento-card {
  padding: clamp(32px, 5vw, 48px);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.story-bento .bento-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.story-bento .bento-icon {
  margin-bottom: 1.5rem;
  color: var(--royal);
}

/* Editorial Mag */
.editorial-mag {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 6rem 0;
}
.editorial-mag-container {
  display: grid; gap: 4rem; align-items: center;
}
@media (min-width: 900px) {
  .editorial-mag-container { grid-template-columns: 1fr 1fr; }
}
.mag-title {
  color: #fff;
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}
.mag-body {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.mag-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.8;
  float: left;
  margin-right: 0.8rem;
  margin-top: 0.2rem;
  color: #e5b98a;
}
.mag-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: #fff;
  border-left: 4px solid var(--royal);
  padding-left: 2rem;
  margin: 3rem 0;
}
.editorial-mag-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.mag-image-backdrop {
  position: absolute;
  inset: 10% 20% -10% 20%;
  background: linear-gradient(135deg, var(--royal), transparent);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}
.editorial-mag-image img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* The Method Grid */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .method-grid { grid-template-columns: repeat(3, 1fr); }
}
.method-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-card);
  padding: 2.5rem;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.method-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-5px);
}
.method-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
}
.method-card h3 { color: #fff; margin-bottom: 1rem; position: relative; z-index: 2; }
.method-card p { color: rgba(255,255,255,0.7); position: relative; z-index: 2; }

/* Studio Masonry */
.studio-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}
@media (min-width: 768px) {
  .studio-masonry {
    grid-template-columns: repeat(12, 1fr);
  }
  .masonry-item:nth-child(1) { grid-column: span 7; }
  .masonry-item:nth-child(2) { grid-column: span 5; }
  .masonry-item:nth-child(3) { grid-column: span 12; }
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}

/* 20.5 ── Scroll Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-slide-up {
  transform: translateY(100px);
}
.reveal-slide-up.in {
  transform: translateY(0);
}

/* 21 ── 404 ───────────────────────────────────────────────────────────── */
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* 22 ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .staff span { transform: scaleX(1); }
}
.staff-bg {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 4vw;
  pointer-events: none; z-index: 0; opacity: 0.05; overflow: hidden;
}
.staff-bg span {
  display: block; width: 100%; height: 2px; background: var(--text);
  transform-origin: left; transform: scaleX(0);
}
.staff-bg.in span {
  transform: scaleX(1); transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}
.staff-bg.in span:nth-child(2) { transition-delay: 0.15s; }
.staff-bg.in span:nth-child(3) { transition-delay: 0.3s; }
.staff-bg.in span:nth-child(4) { transition-delay: 0.45s; }
.staff-bg.in span:nth-child(5) { transition-delay: 0.6s; }

/* -- Floating Musical Notes ------------------------------------------- */
.floating-note {
  position: absolute; bottom: -50px; color: var(--text);
  pointer-events: none; animation: floatUp linear infinite; z-index: 0;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(-20deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-800px) rotate(20deg); opacity: 0; }
}

/* -- Equalizer Hover ------------------------------------------------------ */
.eq-bars {
  display: flex; gap: 4px; align-items: flex-end; height: 24px;
  position: absolute; bottom: 24px; right: 24px;
  opacity: 0; transition: opacity 0.3s ease;
}
.video-card:hover .eq-bars, .course-card:hover .eq-bars { opacity: 1; }
.eq-bars span {
  width: 5px; height: 100%; background: #fff; border-radius: 3px;
  transform-origin: bottom;
  animation: eqBounce 0.5s infinite alternate ease-in-out;
  animation-play-state: paused;
}
.video-card:hover .eq-bars span, .course-card:hover .eq-bars span { animation-play-state: running; }
.eq-bars span:nth-child(1) { animation-duration: 0.4s; }
.eq-bars span:nth-child(2) { animation-duration: 0.6s; animation-delay: 0.1s; }
.eq-bars span:nth-child(3) { animation-duration: 0.5s; animation-delay: 0.2s; }
.eq-bars span:nth-child(4) { animation-duration: 0.7s; animation-delay: 0.3s; }

@keyframes eqBounce {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

/* -- Concert Lighting Animated Gradient --------------------------------- */
.section.dark {
  background: linear-gradient(-45deg, #050a15, #0a1128, #1c0522, #050a15);
  background-size: 400% 400%;
  animation: concertLighting 20s ease infinite;
  color: #fff;
  position: relative;
}
@keyframes concertLighting {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -- Metronome Entrance --------------------------------------------------- */
.metronome-loader {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99999;
  background: #050a15; display: grid; place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.metronome-loader.loaded {
  opacity: 0; visibility: hidden;
}
.metronome-icon { width: 40px; height: 50px; position: relative; }
.metronome-body {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100%;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
}
.metronome-pendulum {
  position: absolute; bottom: 5px; left: 50%; width: 2px; height: 45px;
  background: #fff; transform-origin: bottom center;
  animation: tickTock 0.8s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}
.metronome-weight {
  position: absolute; top: 10px; left: 50%; width: 8px; height: 8px;
  background: #FFD700; border-radius: 50%; transform: translateX(-50%);
}
@keyframes tickTock {
  0% { transform: translateX(-50%) rotate(-35deg); }
  100% { transform: translateX(-50%) rotate(35deg); }
}


