/* ==========================================================================
   Centre musical Métropolitain (CMM) — home page
   Palette taken from the brand itself: the indigo of the CMM logo,
   the saffron walls of the studios, the green of the drum kits.
   ========================================================================== */

:root {
  --ink: #12122a;
  --ink-2: #1a1a38;
  --ink-3: #25254a;
  --indigo: #3b3b64;
  --indigo-soft: #6f6fa3;
  --saffron: #f6a91b;
  --saffron-deep: #c97c00;
  --saffron-soft: #ffd27a;
  --green: #45b36b;
  --cream: #f7f0e4;
  --paper: #fffaf1;
  --text: #1c1c33;
  --muted: #5b5b74;
  --line: rgba(18, 18, 42, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

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

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--saffron); color: var(--ink);
  padding: 0.7rem 1.1rem; border-radius: 10px; font-weight: 500;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------ Buttons ---------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn-saffron { background: var(--saffron); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(246, 169, 27, 0.75); }
.btn-saffron:hover { background: #ffb935; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.38); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.95rem; }

/* ------------------------------ Header ----------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background-color 0.35s, padding 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-stuck {
  padding: 0.65rem 0;
  background: rgba(18, 18, 42, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { width: 190px; height: auto; }

.nav ul { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  position: relative; color: rgba(255, 255, 255, 0.86); text-decoration: none;
  font-size: 0.97rem; letter-spacing: 0.02em; padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--saffron); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang {
  display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
}
.lang a, .lang span { padding: 0.32rem 0.7rem; border-radius: 999px; text-decoration: none; color: rgba(255, 255, 255, 0.78); transition: color 0.2s, background-color 0.2s; }
.lang [aria-current] { background: #fff; color: var(--ink); }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu-toggle span { width: 18px; height: 1.5px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 1.75rem 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  display: block; padding: 0.55rem 0; color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu .m-actions { display: grid; gap: 0.7rem; margin-top: 2rem; }

/* ------------------------------- Hero ------------------------------------ */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(8rem, 17vh, 10.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(52% 50% at 80% 36%, rgba(246, 169, 27, 0.3), transparent 70%),
    radial-gradient(46% 42% at 4% 96%, rgba(111, 111, 163, 0.42), transparent 70%);
}
.hero::after, .section--ink::after, .contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.09; mix-blend-mode: overlay;
}

.staff { position: absolute; left: 0; right: 0; top: 30%; z-index: -2; width: 100%; height: auto; opacity: 0.9; }
.staff path { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 1; }
.staff circle { fill: var(--saffron); opacity: 0.75; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.kicker {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--saffron-soft);
}
.kicker::before { content: ""; flex: none; width: 42px; height: 1px; background: currentColor; }
.display {
  display: block; margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.85rem, 7vw, 5.9rem); line-height: 0.98; letter-spacing: -0.035em;
  font-optical-sizing: auto;
}
.display em { font-style: italic; font-weight: 300; color: var(--saffron); }

.hero-lead { margin-top: 1.7rem; max-width: 54ch; font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: rgba(255, 255, 255, 0.8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.9rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.hero-checks li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-checks .icon { color: var(--saffron); width: 1.05em; height: 1.05em; stroke-width: 2.2; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 460px); margin-right: 1rem; }
.hero-visual::before {
  content: ""; position: absolute; inset: -16px; z-index: -1;
  border: 1.5px solid rgba(246, 169, 27, 0.55); border-radius: 999px 999px 42px 42px;
}
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: 0 46px 90px -34px rgba(0, 0, 0, 0.85); background: var(--ink-3); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; left: -62px; bottom: 11%; width: 148px; height: 148px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--saffron); color: var(--ink);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.7);
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.badge svg.ring text { font-family: var(--font-ui); font-size: 9.4px; font-weight: 500; letter-spacing: 0.02em; fill: var(--ink); text-transform: uppercase; }
.badge .note { width: 38px; height: 38px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-chip {
  position: absolute; right: -22px; top: 15%;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.05rem; border-radius: 16px;
  background: rgba(255, 250, 241, 0.96); color: var(--ink);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.65);
  font-size: 0.9rem; line-height: 1.3;
}
.hero-chip b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq i { width: 4px; border-radius: 2px; background: var(--green); animation: eq 1.1s ease-in-out infinite; transform-origin: bottom; height: 100%; }
.eq i:nth-child(2) { animation-delay: -0.35s; background: var(--saffron-deep); }
.eq i:nth-child(3) { animation-delay: -0.7s; background: var(--indigo); }
.eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line-light);
}
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; }
.stat b sup { font-size: 0.5em; color: var(--saffron); margin-left: 0.1em; }
.stat span { display: block; margin-top: 0.5rem; color: rgba(255, 255, 255, 0.66); font-size: 0.93rem; line-height: 1.45; max-width: 24ch; }

/* ------------------------------ Marquee ---------------------------------- */

.marquee { background: var(--saffron); color: var(--ink); overflow: hidden; padding: 1rem 0; }
.marquee-track {
  display: flex; width: max-content; animation: marquee 40s linear infinite;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; }
.marquee-track span::after { content: "✦"; margin: 0 1.6rem; font-style: normal; font-size: 0.55em; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------ Sections --------------------------------- */

.section { position: relative; isolation: isolate; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { max-width: 800px; margin-bottom: clamp(2.2rem, 4.5vw, 3.8rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--ink .eyebrow, .contact .eyebrow { color: var(--saffron-soft); }

h2 {
  margin-top: 1rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.15rem, 4.7vw, 3.75rem); line-height: 1.04; letter-spacing: -0.03em;
}
h2 em { font-style: italic; font-weight: 300; color: var(--saffron-deep); }
.section--ink h2 em, .contact h2 em { color: var(--saffron); }

.lead { margin-top: 1.2rem; max-width: 62ch; font-size: 1.14rem; color: var(--muted); }
.section--ink .lead { color: rgba(255, 255, 255, 0.74); }

/* ------------------------------- Lessons --------------------------------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 280px; gap: 1.1rem; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; border-radius: var(--radius); color: #fff; background: var(--ink-2);
}
.tile picture { position: absolute; inset: 0; z-index: -2; }
.tile picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 18, 42, 0.12) 0%, rgba(18, 18, 42, 0.18) 34%, rgba(18, 18, 42, 0.78) 72%, rgba(18, 18, 42, 0.96) 100%);
}
.tile:hover picture img { transform: scale(1.06); }
.tile-num { position: absolute; top: 1.25rem; left: 1.5rem; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.08; letter-spacing: -0.02em; }
.tile p { margin-top: 0.55rem; max-width: 46ch; font-size: 0.99rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.chips li { padding: 0.22rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.34); font-size: 0.8rem; letter-spacing: 0.04em; }

.t-piano { grid-column: span 7; grid-row: span 2; }
.t-guitar, .t-drums { grid-column: span 5; }
.t-voice, .t-trumpet, .t-theory { grid-column: span 4; }
.t-piano h3 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }

.t-theory { background: var(--saffron); color: var(--ink); }
.t-theory::before { display: none; }
.t-theory .tile-num { color: var(--ink); text-shadow: none; }
.t-theory p { color: rgba(18, 18, 42, 0.82); }
.t-theory .score { position: absolute; right: -6%; top: 9%; width: 78%; z-index: -1; opacity: 0.9; }
.t-theory .score path { fill: none; stroke: rgba(18, 18, 42, 0.32); stroke-width: 1.2; }
.t-theory .score ellipse, .t-theory .score rect { fill: var(--ink); }

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
.format { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.15rem 1.25rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); font-size: 0.97rem; line-height: 1.45; }
.format .icon { color: var(--saffron-deep); width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; }
.format b { display: block; font-weight: 500; }
.format span { color: var(--muted); font-size: 0.93rem; }

/* ------------------------------ Approach --------------------------------- */

.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.quote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; margin-top: 1rem;
}
.quote mark { background: none; color: var(--saffron); }
.quote-by { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.9rem; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.quote-by::before { content: ""; width: 34px; height: 1px; background: var(--saffron); }

.pillars { display: grid; gap: 0; counter-reset: p; }
.pillar { position: relative; padding: 1.5rem 0 1.5rem 4.2rem; border-top: 1px solid var(--line-light); counter-increment: p; }
.pillar:last-child { border-bottom: 1px solid var(--line-light); }
.pillar::before { content: "0" counter(p); position: absolute; left: 0; top: 1.45rem; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.5rem; color: var(--saffron); }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.2; }
.pillar p { margin-top: 0.45rem; color: rgba(255, 255, 255, 0.72); font-size: 1rem; }

.programs-head { margin-top: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; }
.programs-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facts li { padding: 0.36rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-light); font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); }

.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.program { padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-light); transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s; }
.program:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.075); border-color: rgba(246, 169, 27, 0.5); }
.program .letter { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--saffron); color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.program h4 { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.015em; }
.program p { margin-top: 0.45rem; color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; line-height: 1.55; }

.price {
  margin-top: 1.1rem; padding: clamp(1.7rem, 3.5vw, 2.6rem); border-radius: var(--radius);
  background: var(--saffron); color: var(--ink);
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center;
}
.price-figure { font-family: var(--font-display); line-height: 1; letter-spacing: -0.04em; }
.price-figure small { display: block; font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.price-figure b { font-weight: 400; font-size: clamp(3rem, 6vw, 4.6rem); }
.price-figure i { font-style: italic; font-weight: 300; font-size: 1.3rem; letter-spacing: -0.01em; margin-left: 0.3rem; }
.price p { max-width: 46ch; font-size: 1.05rem; line-height: 1.55; }

/* ------------------------------ Teachers --------------------------------- */

.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2.2vw, 2rem); }
.teacher .portrait { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--ink-3); }
.teacher .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; filter: saturate(0.92); }
.teacher:hover .portrait img { transform: scale(1.05); filter: saturate(1.05); }
.teacher .role { margin-top: 1.2rem; min-height: 2.3rem; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron-deep); line-height: 1.5; }
.teacher h3 { margin-top: 0.35rem; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
.teacher p { margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; line-height: 1.58; }

/* ------------------------------- Studios --------------------------------- */

.studio-feature { display: grid; grid-template-columns: 1.62fr 1fr; gap: 1.1rem; }
.studio-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--ink-3); }
.studio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-photo figcaption { position: absolute; left: 1.2rem; bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.studio-photo figcaption span { padding: 0.36rem 0.9rem; border-radius: 999px; background: rgba(18, 18, 42, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.86rem; letter-spacing: 0.03em; }

.spec { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.2rem); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.spec-title { display: flex; align-items: center; gap: 0.6rem; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.led { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(69, 179, 107, 0.2); animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { box-shadow: 0 0 0 7px rgba(69, 179, 107, 0); } }
.spec dl { margin: 1rem 0 0; display: grid; }
.spec dl > div { padding: 0.95rem 0; border-top: 1px solid var(--line); }
.spec dt { font-size: 0.86rem; color: var(--muted); }
.spec dd { margin: 0.1rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.025em; }
.spec dd small { font-family: var(--font-ui); font-size: 0.86rem; letter-spacing: 0; color: var(--muted); display: block; margin-top: 0.25rem; line-height: 1.4; }
.spec .btn { margin-top: auto; }

.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
.gear-group { padding: 1.45rem 1.5rem 1.55rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-light); }
.gear-group h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron-soft); }
.gear-group h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.gear-group ul { margin-top: 0.8rem; display: grid; gap: 0.35rem; }
.gear-group li { color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; line-height: 1.5; }

.gallery-wrap { margin-top: clamp(2.4rem, 5vw, 3.5rem); }
.gallery { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(1.25rem, calc((100vw - 1200px) / 2)) 1.2rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.gallery figure { flex: none; width: min(78vw, 470px); scroll-snap-align: center; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--ink-3); }
.gallery figcaption { margin-top: 0.7rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }

.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: clamp(2.4rem, 5vw, 3.5rem); }
.rooms-title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; }
.room { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-light); }
.room-media { position: relative; min-height: 210px; background: var(--ink-3); }
.room-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 1.5rem; }
.room-body .where { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron-soft); }
.room-body h4 { margin-top: 0.4rem; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.2; }
.room-body ul { margin-top: 0.8rem; display: grid; gap: 0.3rem; color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; }
.room-body li { display: flex; gap: 0.55rem; }
.room-body li::before { content: "—"; color: var(--saffron); }

/* ------------------------------ Locations -------------------------------- */

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.place { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(18, 18, 42, 0.5); }
.place-map { position: relative; height: 250px; background: #e6dfd2; }
.place-map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; filter: grayscale(0.55) sepia(0.2) contrast(1.02); }
.map-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  background-image: linear-gradient(rgba(18, 18, 42, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 18, 42, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.map-fallback .icon { color: var(--saffron-deep); width: 1.3rem; height: 1.3rem; }
.place-tag { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: 0.4rem 0.95rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.place-body { padding: clamp(1.4rem, 2.6vw, 2rem); }
.place-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.7vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.1; }
.place-body address { margin-top: 0.7rem; font-style: normal; font-size: 1.05rem; line-height: 1.5; }
.place-body .hints { margin-top: 0.85rem; display: grid; gap: 0.35rem; color: var(--muted); font-size: 0.96rem; }
.place-body .hints li { display: flex; gap: 0.6rem; align-items: flex-start; }
.place-body .hints .icon { color: var(--saffron-deep); margin-top: 0.28rem; }
.place-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.hours-note { margin-top: 1.6rem; display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: rgba(246, 169, 27, 0.16); border: 1px solid rgba(201, 124, 0, 0.3); font-size: 1rem; }
.hours-note .icon { color: var(--saffron-deep); margin-top: 0.25rem; width: 1.3rem; height: 1.3rem; }

/* --------------------------------- FAQ ----------------------------------- */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.25; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1.5px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.85rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.85rem no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--saffron); border-color: var(--saffron); }
.faq .answer { padding: 0 3.8rem 1.5rem 0; color: var(--muted); }

/* ------------------------------- Contact --------------------------------- */

.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-2); color: #fff; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.contact::before {
  content: ""; position: absolute; z-index: -2; width: 780px; height: 780px; border-radius: 50%;
  left: -260px; bottom: -420px; background: radial-gradient(circle, rgba(246, 169, 27, 0.5), rgba(246, 169, 27, 0) 68%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact .lead { color: rgba(255, 255, 255, 0.76); }
.phones { margin-top: 2.2rem; display: grid; gap: 0; }
.phone-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line-light); text-decoration: none; }
.phone-line:last-of-type { border-bottom: 1px solid var(--line-light); }
.phone-line small { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron-soft); }
.phone-line b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1; transition: color 0.25s; white-space: nowrap; }
.phone-line:hover b { color: var(--saffron); }
.mail-line b { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }

.form { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.form h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; letter-spacing: -0.02em; }
.form > p { margin-top: 0.35rem; color: var(--muted); font-size: 0.96rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.3rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron-deep); box-shadow: 0 0 0 4px rgba(246, 169, 27, 0.22); }
.form .btn { width: 100%; margin-top: 1.2rem; }
.form .fine { margin-top: 0.8rem; font-size: 0.86rem; color: var(--muted); text-align: center; }

/* -------------------------------- Footer --------------------------------- */

.site-footer { background: #0c0c1e; color: rgba(255, 255, 255, 0.74); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand img { width: 220px; }
.site-footer .about { margin-top: 1.2rem; max-width: 34ch; }
.site-footer h3 { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron-soft); margin-bottom: 0.9rem; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer address a { color: #fff; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.socials a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.socials .icon { width: 1.1rem; height: 1.1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }

/* ------------------------- Mobile call bar ------------------------------- */

.callbar { display: none; }

/* ---------------------------- Scroll reveal ------------------------------ */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------ Responsive ------------------------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .teachers { grid-template-columns: repeat(2, 1fr); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(78vw, 400px); margin: 1.5rem 0 0; }
  .badge { left: -34px; width: 124px; height: 124px; }
  .badge .note { width: 30px; height: 30px; }
  .hero-chip { right: -14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .t-piano { grid-column: span 2; grid-row: span 1; }
  .t-guitar, .t-drums, .t-voice, .t-trumpet { grid-column: span 1; }
  .t-theory { grid-column: span 2; }
  .approach-grid, .studio-feature, .places, .faq-grid, .contact-grid, .rooms { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .gear { grid-template-columns: repeat(2, 1fr); }
  .studio-photo { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .container { width: min(1200px, 100% - 2rem); }
  .brand img { width: 150px; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 6.6rem; }
  .hero-cta .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { min-height: 300px; }
  .t-piano, .t-guitar, .t-drums, .t-voice, .t-trumpet, .t-theory { grid-column: span 1; }
  .t-theory { min-height: 240px; }
  .formats, .programs, .gear, .fields { grid-template-columns: 1fr; }
  .teachers { grid-template-columns: 1fr 1fr; gap: 1.4rem 0.9rem; }
  .teacher h3 { font-size: 1.3rem; }
  .teacher p { font-size: 0.93rem; }
  .room { grid-template-columns: 1fr; }
  .room-media { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq .answer { padding-right: 0; }
  .phone-line { flex-direction: column; gap: 0.3rem; }

  .callbar {
    position: fixed; inset: auto 0 0 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: rgba(255, 255, 255, 0.14); border-top: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .callbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; padding: 0.65rem 0.5rem; background: rgba(18, 18, 42, 0.94); color: #fff; text-decoration: none; font-weight: 500; font-size: 0.98rem; line-height: 1.2; }
  .callbar a small { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-soft); }
  .callbar a:first-child { background: var(--saffron); color: var(--ink); }
  .callbar a:first-child small { color: rgba(18, 18, 42, 0.75); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .callbar, .mobile-menu, .marquee, .badge { display: none !important; }
  body { background: #fff; padding: 0; }
}
