/* ==========================================================================
   Yosra Ben Chikh — École de musique & club de chant
   Design system · animations · RTL
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #f7f1e6;
  --paper-2: #efe4d1;
  --paper-3: #e6d7c0;
  --paper-soft: #fbf7ee;
  --ink: #15110a;
  --ink-2: #1e1810;
  --ink-3: #2b2317;
  --cream: #f7f1e6;
  --gold: #c9a15f;
  --gold-light: #e7cc97;
  --gold-deep: #8c6528;
  --wine: #4b1f28;
  --clay: #b2603f;
  --muted: #6f6555;
  --muted-light: rgba(247, 241, 230, 0.64);
  --line: rgba(21, 17, 10, 0.14);
  --line-soft: rgba(21, 17, 10, 0.08);
  --line-light: rgba(247, 241, 230, 0.16);
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 30px 70px -32px rgba(21, 17, 10, 0.4);
  --shadow-soft: 0 18px 40px -24px rgba(21, 17, 10, 0.28);
  --radius: 18px;
  --header-h: 88px;
}

html[lang^='ar'] {
  --font-display: 'Amiri', 'Cormorant Garamond', serif;
  --font-ui: 'Tajawal', 'Manrope', sans-serif;
}

/* ---------- 2. Reset ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.has-intro {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

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

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Layout helpers ------------------------------------------- */
.container {
  width: min(100% - clamp(40px, 8vw, 128px), 1280px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 148px);
}

.section--school {
  padding-top: clamp(70px, 8vw, 120px);
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

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

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 95;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transition: width 0.1s linear;
}

/* ---------- 4. Typography ----------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.kicker__num {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}

.kicker__rule {
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 95, 0.18);
  animation: pulseDot 3s var(--ease-soft) infinite;
}

.sec-head {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 72px);
}

.sec-head__meta {
  padding-top: 8px;
}

.sec-head__main {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.7vw, 4.15rem);
  line-height: 0.99;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 17ch;
}

.sec-lead {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
}

.section--choir .sec-title,
.section--play .sec-title {
  color: var(--cream);
}

.section--choir .sec-lead,
.section--play .sec-lead {
  color: var(--muted-light);
}

.section--choir .kicker,
.section--play .kicker {
  color: var(--gold);
}

.section--choir .kicker__num,
.section--play .kicker__num {
  color: var(--gold-light);
}

.section-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(30px, 4vw, 48px);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.section-note .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
}

.section-note--center {
  justify-content: center;
  text-align: center;
}

/* ---------- 5. Buttons & links ------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.92em 1.55em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 30px -20px rgba(21, 17, 10, 0.7);
}

.btn--ink:hover {
  background: var(--ink-3);
  box-shadow: 0 20px 36px -20px rgba(21, 17, 10, 0.65);
}

.btn--gold {
  background: linear-gradient(135deg, #dcb87d, #c9a15f);
  color: #1b140a;
  box-shadow: 0 16px 34px -22px rgba(140, 101, 40, 0.9);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #e8c894, #d3ab69);
  box-shadow: 0 22px 40px -22px rgba(140, 101, 40, 0.85);
}

.btn--line {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--ink);
  background: rgba(21, 17, 10, 0.04);
}

.btn--ghost {
  border-color: var(--line-light);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--ghost-light {
  border-color: rgba(247, 241, 230, 0.34);
  color: var(--cream);
}

.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--sm {
  padding: 0.7em 1.15em;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
}

.btn--sm .icon {
  width: 15px;
  height: 15px;
}

.btn--lg {
  padding: 1.08em 1.9em;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--gold-deep);
}

.text-link:hover .icon {
  transform: translate(3px, -3px);
}

.text-link--light {
  color: var(--gold-light);
}

.text-link--light:hover {
  color: #fff;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.icon-btn .icon {
  width: 16px;
  height: 16px;
}

.icon-btn--gold {
  background: var(--ink);
  color: var(--cream);
}

.icon-btn--gold:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.06);
}

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.round-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tag--light {
  border-color: rgba(247, 241, 230, 0.3);
  color: var(--gold-light);
}

/* ---------- 6. Header --------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 90;
  padding-block: 18px;
  transition:
    padding 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck,
.page-contact .site-header {
  padding-block: 10px;
  background: rgba(247, 241, 230, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -30px rgba(21, 17, 10, 0.5);
}

body.nav-open .site-header {
  background: var(--paper);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  z-index: 2;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 17, 10, 0.35);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.brand__mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 161, 95, 0.45);
  border-radius: inherit;
  transition: opacity 0.35s var(--ease);
}

.brand:hover .brand__mark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #443b2d;
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link[aria-current='page'] {
  color: var(--ink);
}

.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav__foot {
  display: none;
}

.header__side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.lang-switch .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}

.lang-switch:hover {
  color: var(--ink);
}

.lang-switch:hover .icon {
  transform: translate(2px, -2px);
}

.burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.burger .icon {
  width: 20px;
  height: 20px;
}

.burger__close {
  display: none;
}

.nav-open .burger {
  background: var(--ink);
  color: var(--cream);
}

.nav-open .burger__open {
  display: none;
}

.nav-open .burger__close {
  display: block;
}

/* ---------- 7. Intro veil ----------------------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0e0b07;
  color: var(--cream);
  overflow: hidden;
  transition:
    transform 1s var(--ease),
    opacity 0.7s ease;
}

.intro.is-leaving {
  transform: translateY(-102%);
}

.intro.is-gone {
  display: none;
}

.intro__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(201, 161, 95, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 90%, rgba(75, 31, 40, 0.5), transparent 70%);
  pointer-events: none;
}

.intro__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  text-align: center;
  padding-bottom: 90px;
}

.intro__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  border: 1px solid rgba(201, 161, 95, 0.55);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  color: var(--gold-light);
}

.intro__mark::before,
.intro__mark::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 95, 0.2);
}

.intro__mark::before {
  inset: -10px;
  animation: introPulse 4s var(--ease-soft) infinite;
}

.intro__mark::after {
  inset: -22px;
  border-color: rgba(201, 161, 95, 0.08);
}

.intro__kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.intro__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.intro__text {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: rgba(247, 241, 230, 0.72);
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.intro__hint {
  margin-top: 24px;
  font-size: 0.66rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 230, 0.45);
}

.intro__hint span {
  display: block;
}

.intro__keys {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  width: min(720px, 92vw);
  height: 64px;
  z-index: 1;
  opacity: 0.55;
  mask-image: linear-gradient(to top, #000 20%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent);
}

.intro__keys i {
  flex: 1;
  background: linear-gradient(to top, rgba(247, 241, 230, 0.2), rgba(247, 241, 230, 0.02));
  border: 1px solid rgba(247, 241, 230, 0.12);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  transform-origin: top center;
  animation: introKey 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.13s);
}

.intro__foot {
  position: absolute;
  bottom: 88px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.32);
}

/* ---------- 8. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(130px, 16vh, 190px);
  padding-bottom: 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 82% 16%, rgba(201, 161, 95, 0.17), transparent 70%),
    radial-gradient(ellipse 45% 55% at 4% 90%, rgba(178, 96, 63, 0.08), transparent 70%),
    var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -12%;
  inset-inline-end: -10%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 95, 0.2), transparent 62%);
  filter: blur(18px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__staff {
  position: absolute;
  width: min(620px, 52vw);
  height: 61px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(21, 17, 10, 0.075) 0 1px,
    transparent 1px 15px
  );
  opacity: 0.7;
}

.hero__staff--1 {
  top: 19%;
  inset-inline-end: -16%;
  transform: rotate(-8deg);
}

.hero__staff--2 {
  bottom: 12%;
  inset-inline-start: -22%;
  transform: rotate(6deg);
  opacity: 0.45;
}

.hero__staff--3 {
  top: 6%;
  inset-inline-start: 26%;
  width: 300px;
  opacity: 0.32;
  transform: rotate(-3deg);
}

.hero__note {
  position: absolute;
  font-family: var(--font-display);
  color: var(--gold-deep);
  opacity: 0.45;
  animation: floatNote 9s ease-in-out infinite alternate;
}

.hero__note--1 {
  top: 24%;
  inset-inline-start: 6%;
  font-size: 2.4rem;
  animation-delay: -2s;
}

.hero__note--2 {
  top: 58%;
  inset-inline-end: 44%;
  font-size: 1.8rem;
  opacity: 0.28;
  animation-delay: -5s;
}

.hero__note--3 {
  bottom: 20%;
  inset-inline-start: 30%;
  font-size: 1.3rem;
  opacity: 0.22;
  animation-delay: -7s;
}

.hero__grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.028em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero__line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

body.is-ready .hero__line-inner,
.no-js .hero__line-inner {
  transform: translateY(0);
}

.hero__line--accent .hero__line-inner {
  font-style: italic;
  color: var(--gold-deep);
  padding-inline-start: 0.08em;
}

.hero__lead {
  max-width: 47ch;
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(0.93rem, 1.1vw, 1.02rem);
  line-height: 1.78;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__ages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #564c3d;
}

.hero__ages::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold-deep);
  opacity: 0.6;
}

.hero__note {
  margin-top: 24px;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  margin-top: 10px;
}

.hero__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.85;
  border-radius: 250px 250px 18px 18px;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow);
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.06);
  animation: heroImage 1.8s var(--ease) forwards;
}

.hero__figure::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(247, 241, 230, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.hero__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 70px 30px 26px;
  background: linear-gradient(to top, rgba(15, 11, 6, 0.78), transparent);
  color: rgba(247, 241, 230, 0.88);
  font-size: 0.63rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-align: center;
}

.hero__card {
  position: absolute;
  bottom: 9%;
  inset-inline-start: clamp(-40px, -3vw, -18px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 286px;
  padding: 13px 15px;
  background: rgba(251, 247, 238, 0.96);
  border: 1px solid rgba(21, 17, 10, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 50px -26px rgba(21, 17, 10, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: floatCard 7s ease-in-out infinite alternate;
}

.hero__card-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.hero__card-label {
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__card .icon-btn {
  width: 38px;
  height: 38px;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 26px;
  width: 20px;
  flex: none;
}

.eq i {
  flex: 1;
  height: 30%;
  background: var(--gold-deep);
  border-radius: 2px;
  opacity: 0.75;
  animation: eqBar 1.1s ease-in-out infinite alternate;
}

.eq i:nth-child(2) {
  animation-delay: -0.5s;
}
.eq i:nth-child(3) {
  animation-delay: -0.2s;
}
.eq i:nth-child(4) {
  animation-delay: -0.8s;
}

.is-silent .eq i {
  animation-play-state: paused;
  height: 28%;
}

.seal {
  position: absolute;
  top: -18px;
  inset-inline-end: -24px;
  z-index: 4;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(21, 17, 10, 0.1);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -20px rgba(21, 17, 10, 0.5);
}

.seal > svg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: spin 26s linear infinite;
}

.seal text {
  fill: var(--gold-deep);
  font-family: var(--font-ui);
  font-size: 8.4px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-weight: 600;
}

.seal__core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
}

.seal__core .icon {
  width: 22px;
  height: 22px;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(30px, 5vh, 54px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.scroll-cue:hover {
  color: var(--ink);
}

.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue__line::after {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  width: 1px;
  height: 44px;
  background: var(--gold-deep);
  animation: scrollLine 2.4s var(--ease-soft) infinite;
}

.hero__meta {
  display: flex;
  gap: 14px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- 9. Marquee -------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-block: 17px;
  background: var(--ink);
  color: var(--cream);
  border-block: 1px solid rgba(201, 161, 95, 0.25);
}

.marquee__track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: marquee 38s linear infinite;
}

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

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  padding-inline: clamp(10px, 1.6vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 230, 0.86);
  white-space: nowrap;
}

.marquee__item i {
  font-style: normal;
  font-size: 0.55em;
  color: var(--gold);
  opacity: 0.75;
}

/* ---------- 10. School -------------------------------------------------- */
.section--school {
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(201, 161, 95, 0.1), transparent 70%),
    var(--paper);
}

.school__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.school__media {
  position: relative;
  padding-bottom: 60px;
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.media:hover img {
  transform: scale(1.035);
}

.media--main {
  width: 84%;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 16px 16px;
  box-shadow: var(--shadow);
}

.media--main img {
  filter: saturate(0.9);
}

.media--small {
  position: absolute;
  bottom: 18px;
  inset-inline-end: 0;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 9px solid var(--paper);
  box-shadow: var(--shadow-soft);
}

.school__stamp {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 26px;
  max-width: 320px;
}

.school__stamp-line {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.school__stamp strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.school__p {
  max-width: 52ch;
  margin-bottom: 1.15em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
}

.school__p:first-child {
  font-size: 1.03rem;
  color: #3c3428;
}

.pullquote {
  margin: 38px 0 40px;
  padding-inline-start: clamp(20px, 2.4vw, 30px);
  border-inline-start: 1px solid rgba(140, 101, 40, 0.55);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-style: italic;
  line-height: 1.32;
  color: var(--ink);
  text-wrap: pretty;
}

.pullquote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
}

.pullquote strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pullquote span {
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
}

.value {
  display: flex;
  gap: 13px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.value__index {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 95, 0.16);
}

.value h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.value p {
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  margin-top: clamp(50px, 7vw, 80px);
  padding-block: 22px;
  border-block: 1px solid var(--line);
}

.feature-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #4b4234;
}

.feature-strip .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-deep);
}

/* ---------- 11. Courses ------------------------------------------------- */
.section--courses {
  background:
    linear-gradient(180deg, var(--paper-2), var(--paper) 90%);
  border-top: 1px solid rgba(21, 17, 10, 0.05);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(251, 247, 238, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background-color 0.5s var(--ease);
}

.course-card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.6s var(--ease);
  z-index: 3;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 101, 40, 0.45);
  background: rgba(251, 247, 238, 0.95);
  box-shadow: var(--shadow-soft);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(24px, 2.6vw, 34px);
}

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-card__num {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  color: rgba(21, 17, 10, 0.32);
}

.course-card__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.3vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
  max-width: 18ch;
}

.course-card__text {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

.course-card__points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.course-card__points li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #4a4133;
}

.course-card__points .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--gold-deep);
}

.course-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.course-card__foot > span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-card:nth-child(1) {
  grid-column: span 5;
}

.course-card:nth-child(2) {
  grid-column: span 7;
}

.course-card:nth-child(3),
.course-card:nth-child(4) {
  grid-column: span 6;
}

/* Featured card */
.course-card--feature {
  background: var(--ink);
  border-color: rgba(201, 161, 95, 0.28);
  color: var(--cream);
}

.course-card--feature:hover {
  background: var(--ink-2);
  border-color: rgba(201, 161, 95, 0.6);
}

.course-card--feature .course-card__media {
  position: relative;
  height: clamp(170px, 19vw, 230px);
  overflow: hidden;
}

.course-card--feature .course-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 2%, rgba(21, 17, 10, 0.15) 70%);
}

.course-card--feature .course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 1.2s var(--ease);
}

.course-card--feature:hover .course-card__media img {
  transform: scale(1.04);
}

.course-card--feature .course-card__inner {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.course-card--feature .course-card__num {
  color: rgba(247, 241, 230, 0.4);
}

.course-card--feature .course-card__text {
  color: var(--muted-light);
}

.course-card--feature .course-card__points {
  border-top-color: var(--line-light);
}

.course-card--feature .course-card__points li {
  color: rgba(247, 241, 230, 0.76);
}

.course-card--feature .course-card__points .icon {
  color: var(--gold);
}

.course-card--feature .course-card__foot {
  border-top: 1px solid var(--line-light);
  margin-top: 24px;
}

.course-card--feature .course-card__foot > span {
  color: rgba(247, 241, 230, 0.5);
}

.advice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 22px clamp(20px, 3vw, 32px);
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
}

.advice__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.advice__text strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
}

.advice__text span {
  font-size: 0.8rem;
  color: var(--muted-light);
}

/* ---------- 12. Choir --------------------------------------------------- */
.section--choir {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(201, 161, 95, 0.14), transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(75, 31, 40, 0.7), transparent 70%),
    var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.section--choir::before {
  content: 'VOIX';
  position: absolute;
  inset-inline-end: -2%;
  top: 8%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 241, 230, 0.055);
  pointer-events: none;
  letter-spacing: 0.06em;
}

.choir__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.choir__media {
  position: relative;
  padding-bottom: 30px;
}

.media--voice {
  width: 79%;
  aspect-ratio: 3 / 4;
  border-radius: 220px 220px 16px 16px;
  border: 1px solid rgba(201, 161, 95, 0.26);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.media--voice img {
  filter: saturate(0.7) contrast(1.05);
}

.media--mic {
  position: absolute;
  bottom: 0;
  inset-inline-end: 2%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.media--mic img {
  filter: saturate(0.55) brightness(0.85);
}

.choir__badge {
  position: absolute;
  top: 12%;
  inset-inline-start: -2%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 124px;
  height: 124px;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dcb87d, #c9a15f);
  color: #1b140a;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.7);
}

.choir__badge span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.choir__badge em {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.2;
  opacity: 0.75;
}

.choir__body > p {
  max-width: 54ch;
  margin-bottom: 1.1em;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted-light);
}

.choir__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 26px;
}

.choir__points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 13px;
  border-top: 1px solid var(--line-light);
  font-size: 0.84rem;
  color: rgba(247, 241, 230, 0.82);
}

.choir__point-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--gold);
  flex: none;
}

.choir__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.choir__note {
  max-width: 25ch;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--gold-light);
  opacity: 0.85;
}

/* ---------- 13. Method -------------------------------------------------- */
.section--method {
  background:
    radial-gradient(ellipse 50% 50% at 100% 20%, rgba(201, 161, 95, 0.14), transparent 70%),
    var(--paper-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 38px);
  border-top: 1px dashed rgba(140, 101, 40, 0.42);
}

.step {
  position: relative;
  padding-top: 46px;
}

.step::before {
  content: '';
  position: absolute;
  top: -5px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--gold-deep);
  transition:
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.step:hover::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 161, 95, 0.18);
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.3vw, 3.1rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 101, 40, 0.65);
  transition:
    color 0.5s var(--ease),
    -webkit-text-stroke-color 0.5s var(--ease);
}

.step:hover .step__num {
  color: var(--gold-deep);
  -webkit-text-stroke-color: var(--gold-deep);
}

.step__body h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.step__body p {
  margin-top: 10px;
  max-width: 32ch;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 14. Piano stage -------------------------------------------- */
.section--play {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 161, 95, 0.13), transparent 70%),
    linear-gradient(180deg, #0f0b06, var(--ink) 40%, #0b0804);
  color: var(--cream);
  overflow: hidden;
}

.play__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}

.play__head-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.play__head .sec-title {
  max-width: 14ch;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 161, 95, 0.35);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.badge-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 95, 0.14);
  animation: pulseDot 2.6s var(--ease-soft) infinite;
}

.piano-stage {
  position: relative;
  margin-top: clamp(34px, 5vw, 56px);
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(201, 161, 95, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, #100c07, #171108);
  box-shadow:
    0 60px 120px -60px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(247, 241, 230, 0.06);
}

.piano-stage__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.now-playing {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.now-playing__label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.now-playing__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing__composer {
  min-height: 1.2em;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.piano-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.piano-stage__viz {
  width: 100%;
  height: 58px;
  margin-block: 8px 12px;
  opacity: 0.75;
}

.piano-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 161, 95, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}

.piano-wrap::-webkit-scrollbar {
  height: 4px;
}

.piano-wrap::-webkit-scrollbar-thumb {
  background: rgba(201, 161, 95, 0.45);
  border-radius: 4px;
}

.piano {
  position: relative;
  min-width: 760px;
  height: clamp(190px, 22vw, 250px);
  border-radius: 10px;
  background: linear-gradient(180deg, #070503, #100c07);
  padding: 10px 8px 14px;
  box-shadow:
    inset 0 10px 20px rgba(0, 0, 0, 0.7),
    0 24px 40px -20px rgba(0, 0, 0, 0.9);
}

.piano::before {
  content: '';
  position: absolute;
  inset: 4px 4px auto;
  height: 6px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, transparent, rgba(201, 161, 95, 0.35), transparent);
}

.piano__keys {
  position: relative;
  display: flex;
  gap: 2px;
  height: 100%;
}

.key {
  position: relative;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition:
    background 0.1s ease,
    transform 0.06s ease,
    box-shadow 0.25s ease;
}

.key--white {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #fffdf7 0%, #f7efdf 72%, #e9dbc4 100%);
  box-shadow:
    inset 0 -9px 0 rgba(21, 17, 10, 0.06),
    inset 1px 0 0 rgba(255, 255, 255, 0.6),
    0 5px 8px rgba(0, 0, 0, 0.4);
}

.key--white:hover {
  background: linear-gradient(180deg, #fffdf7 0%, #f3e4c9 72%, #e3cfa9 100%);
}

.key--white.is-pressed {
  background: linear-gradient(180deg, #f4dcae 0%, #d8b479 60%, #c9a15f 100%);
  transform: translateY(2px) scaleY(0.995);
  box-shadow:
    inset 0 -4px 0 rgba(21, 17, 10, 0.16),
    0 0 30px rgba(201, 161, 95, 0.45);
}

.key--black {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 4.2%;
  height: 62%;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, #3a3024 0%, #16110a 45%, #070503 100%);
  box-shadow:
    inset 0 -4px 0 rgba(247, 241, 230, 0.07),
    inset 1px 0 0 rgba(247, 241, 230, 0.1),
    0 8px 12px rgba(0, 0, 0, 0.6);
}

.key--black:hover {
  background: linear-gradient(180deg, #4a3d2d 0%, #241c12 55%, #0c0906 100%);
}

.key--black.is-pressed {
  background: linear-gradient(180deg, #d8b479 0%, #b98f4f 70%, #a87c3d 100%);
  transform: translateY(2px);
  box-shadow: 0 0 24px rgba(201, 161, 95, 0.55);
}

.key__hint {
  position: absolute;
  bottom: 20px;
  inset-inline: 0;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(140, 101, 40, 0.8);
  pointer-events: none;
}

.key__note {
  position: absolute;
  bottom: 7px;
  inset-inline: 0;
  text-align: center;
  font-size: 0.46rem;
  letter-spacing: 0.02em;
  color: rgba(21, 17, 10, 0.32);
  pointer-events: none;
}

.key--black .key__hint {
  bottom: 12px;
  color: rgba(247, 241, 230, 0.62);
}

.key--black .key__note {
  bottom: 4px;
  color: rgba(247, 241, 230, 0.25);
}

.key.is-pressed .key__hint {
  color: rgba(21, 17, 10, 0.7);
}

.key.is-pressed .key__note {
  color: rgba(21, 17, 10, 0.45);
}

.key:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -4px;
}

.piano-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.piano-bar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.75);
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.toggle-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 241, 230, 0.35);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.toggle-pill[aria-pressed='true'] {
  border-color: rgba(201, 161, 95, 0.6);
  background: rgba(201, 161, 95, 0.13);
  color: var(--gold-light);
}

.toggle-pill[aria-pressed='true'] .toggle-pill__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 95, 0.16);
}

.octave {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  overflow: hidden;
}

.octave__btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(247, 241, 230, 0.8);
  font-size: 1rem;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.octave__btn:hover {
  background: rgba(201, 161, 95, 0.16);
  color: var(--gold-light);
}

.octave__label {
  min-width: 68px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 230, 0.55);
  font-variant-numeric: tabular-nums;
}

.volume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 241, 230, 0.55);
}

.volume .icon {
  width: 16px;
  height: 16px;
}

.volume input[type='range'] {
  width: 88px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(247, 241, 230, 0.2);
  border-radius: 3px;
  outline: none;
}

.volume input[type='range']::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a140c;
  box-shadow: 0 0 0 1px rgba(201, 161, 95, 0.6);
  cursor: pointer;
}

.volume input[type='range']::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a140c;
  cursor: pointer;
}

.piano-bar__hint {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(247, 241, 230, 0.45);
}

.piano-pieces {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.piano-pieces__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.piano-pieces__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.piano-pieces__hint {
  font-size: 0.64rem;
  color: rgba(247, 241, 230, 0.4);
}

.melody-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.melody-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 13px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  text-align: start;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.melody-chip:hover {
  border-color: rgba(201, 161, 95, 0.65);
  background: rgba(201, 161, 95, 0.08);
  transform: translateY(-2px);
}

.melody-chip.is-playing {
  border-color: var(--gold);
  background: rgba(201, 161, 95, 0.14);
}

.melody-chip__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.25;
  color: rgba(247, 241, 230, 0.9);
}

.melody-chip.is-playing .melody-chip__title {
  color: var(--gold-light);
}

.melody-chip__composer {
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.4);
}

.piano-pieces__touch {
  display: none;
  margin-top: 10px;
  font-size: 0.68rem;
  color: rgba(247, 241, 230, 0.45);
}

.piano-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.38);
}

.piano-caption .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex: none;
}

/* ---------- 15. Testimonials ------------------------------------------- */
.section--quotes {
  background:
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(201, 161, 95, 0.1), transparent 70%),
    var(--paper);
}

.quotes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.quotes__intro .sec-title {
  max-width: 13ch;
}

.quotes__intro .sec-lead {
  margin-top: 20px;
}

.quotes__signature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted);
}

.quotes__signature em {
  font-style: normal;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
}

.quotes__mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--gold);
}

.quotes__slider {
  position: relative;
}

.quotes__slider::before {
  content: '“';
  position: absolute;
  top: -72px;
  inset-inline-end: 10px;
  z-index: 0;
  font-family: var(--font-display);
  font-size: 15rem;
  line-height: 1;
  color: rgba(140, 101, 40, 0.1);
  pointer-events: none;
}

.quotes__viewport {
  position: relative;
  z-index: 1;
  display: grid;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(251, 247, 238, 0.85);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.quote {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    visibility 0.6s;
}

.quote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.quote__stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
}

.quote__stars .icon {
  width: 13px;
  height: 13px;
}

.quote__text {
  margin: 20px 0 30px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: rgba(201, 161, 95, 0.16);
  border: 1px solid rgba(140, 101, 40, 0.28);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.quote__author-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.quote__author-meta strong {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.quote__author-meta span {
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.quotes__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
}

.dot span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(21, 17, 10, 0.18);
  border-radius: 2px;
  transition:
    background-color 0.35s var(--ease),
    width 0.35s var(--ease);
}

.dot.is-active span {
  background: var(--gold-deep);
  width: 100%;
}

.dot:hover span {
  background: rgba(140, 101, 40, 0.6);
}

/* ---------- 16. Gallery ------------------------------------------------ */
.section--gallery {
  background: var(--paper-2);
}

.gallery__grid {
  columns: 3;
  column-gap: 18px;
}

.tile {
  position: relative;
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-3);
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86);
  transition:
    transform 1.2s var(--ease),
    filter 0.6s var(--ease);
}

.tile--tall img {
  aspect-ratio: 3 / 4;
}

.tile--wide img {
  aspect-ratio: 16 / 10;
}

.tile:hover img {
  transform: scale(1.045);
  filter: saturate(1);
}

.tile figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 46px 16px 14px;
  background: linear-gradient(to top, rgba(14, 11, 7, 0.78), transparent);
  color: var(--cream);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.tile:hover figcaption,
.tile:focus-within figcaption {
  opacity: 1;
  transform: none;
}

.gallery__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}

.gallery__handle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- 17. FAQ ---------------------------------------------------- */
.section--faq {
  background: var(--paper);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.faq__aside {
  position: sticky;
  top: 120px;
}

.faq__aside .sec-title {
  max-width: 12ch;
}

.faq__aside .sec-lead {
  margin-top: 20px;
  max-width: 34ch;
}

.faq__wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.faq__wa:hover {
  border-color: rgba(140, 101, 40, 0.5);
  background: rgba(201, 161, 95, 0.06);
}

.faq__wa-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(38, 121, 78, 0.1);
  color: #1d6b46;
}

.faq__wa-icon .icon {
  width: 19px;
  height: 19px;
}

.faq__wa > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.faq__wa strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.faq__wa span span {
  font-size: 0.7rem;
  color: var(--muted);
}

.faq__wa > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__q {
  font-family: var(--font-display);
  font-size: clamp(1.13rem, 1.5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}

.faq-item summary:hover .faq-item__q {
  color: var(--gold-deep);
}

.faq-item__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.4s var(--ease);
}

.faq-item__icon .icon {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-item__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: rotate(45deg);
}

.faq-item__a {
  overflow: hidden;
}

.faq-item__a p {
  max-width: 62ch;
  padding-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.faq-item[open] .faq-item__a {
  animation: faqIn 0.4s var(--ease);
}

/* ---------- 18. CTA band ----------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 118px);
  background:
    radial-gradient(ellipse 50% 60% at 78% 20%, rgba(201, 161, 95, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(75, 31, 40, 0.55), transparent 70%),
    var(--ink);
  color: var(--cream);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Cpath d='M0 380 Q300 260 600 330 T1200 300' fill='none' stroke='%23c9a15f' stroke-opacity='.1'/%3E%3Cpath d='M0 340 Q300 220 600 290 T1200 260' fill='none' stroke='%23c9a15f' stroke-opacity='.07'/%3E%3C/svg%3E")
    center / cover no-repeat;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.cta-band__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(201, 161, 95, 0.4);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cta-band__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.cta-band__lead {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted-light);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-band__micro {
  margin-top: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.4);
}

.cta-band__art {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.cta-band__ring {
  position: absolute;
  width: min(300px, 78%);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 161, 95, 0.35);
  border-radius: 50%;
}

.cta-band__ring::before,
.cta-band__ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 95, 0.16);
}

.cta-band__ring::before {
  inset: 18px;
}

.cta-band__ring::after {
  inset: 42px;
  border-style: dashed;
}

.cta-band__glyph {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(7rem, 12vw, 11rem);
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  transform: translateY(-6px);
}

.cta-band__keys {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 74px;
  background:
    repeating-linear-gradient(90deg, rgba(247, 241, 230, 0.09) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(247, 241, 230, 0.05) 0 1px, transparent 1px 18px);
  transform: skewY(-5deg);
  transform-origin: bottom left;
  opacity: 0.8;
}

/* ---------- 19. Footer ------------------------------------------------- */
.site-footer {
  background: #0d0a06;
  color: var(--cream);
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 26px;
  border-top: 1px solid rgba(201, 161, 95, 0.18);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.brand--footer .brand__mark {
  border-color: rgba(247, 241, 230, 0.28);
  color: var(--gold-light);
}

.brand--footer .brand__name {
  color: var(--cream);
}

.brand--footer .brand__sub {
  color: rgba(247, 241, 230, 0.45);
}

.footer__about {
  margin-top: 22px;
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(247, 241, 230, 0.55);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 230, 0.16);
  color: rgba(247, 241, 230, 0.7);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.social .icon {
  width: 17px;
  height: 17px;
}

.social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.social--wa:hover {
  background: #1d6b46;
  border-color: #1d6b46;
  color: #fff;
}

.footer__title {
  margin-bottom: 18px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a,
.footer__col li > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(247, 241, 230, 0.58);
  transition: color 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__col .icon {
  width: 14px;
  height: 14px;
  color: rgba(201, 161, 95, 0.7);
}

.footer__wa {
  color: var(--gold-light) !important;
}

.lang-switch--footer {
  margin-top: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(247, 241, 230, 0.18);
  border-radius: 999px;
  color: rgba(247, 241, 230, 0.7);
}

.lang-switch--footer:hover {
  color: var(--gold-light);
  border-color: rgba(201, 161, 95, 0.5);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(247, 241, 230, 0.1);
  font-size: 0.63rem;
  color: rgba(247, 241, 230, 0.38);
}

.footer__made {
  letter-spacing: 0.02em;
}

.footer__credit {
  color: rgba(247, 241, 230, 0.26);
}

/* ---------- 20. Contact page ------------------------------------------- */
.page-contact .site-header {
  position: fixed;
}

.page-contact main {
  padding-top: 0;
}

.contact-hero {
  position: relative;
  padding-top: clamp(140px, 16vh, 190px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(201, 161, 95, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(178, 96, 63, 0.08), transparent 70%),
    var(--paper);
  overflow: hidden;
}

.contact-hero::after {
  content: 'CONTACT';
  position: absolute;
  inset-inline-end: -1%;
  bottom: 2%;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 17, 10, 0.05);
  pointer-events: none;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(30px, 4vw, 50px);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.contact-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.contact-hero__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.025em;
  max-width: 13ch;
}

.contact-hero__lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.contact-hero__note {
  margin-top: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-hero__card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px;
  border: 1px solid rgba(201, 161, 95, 0.3);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
  overflow: hidden;
}

.contact-hero__card::before {
  content: '';
  position: absolute;
  top: -50%;
  inset-inline-end: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 95, 0.22), transparent 65%);
  pointer-events: none;
}

.contact-hero__card-label {
  position: relative;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-hero__phone {
  position: relative;
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}

.contact-hero__phone:hover {
  color: var(--gold-light);
}

.contact-hero__card p {
  position: relative;
  margin: 10px 0 22px;
  font-size: 0.78rem;
  color: var(--muted-light);
}

.contact-hero__card .btn {
  position: relative;
}

.contact-hero__card-bars {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 38px;
  padding-inline: 20px;
  opacity: 0.4;
  pointer-events: none;
}

.contact-hero__card-bars i {
  flex: 1;
  background: linear-gradient(to top, rgba(201, 161, 95, 0.5), transparent);
  animation: eqBar 1.8s ease-in-out infinite alternate;
  height: 40%;
}

.contact-hero__card-bars i:nth-child(2n) {
  animation-delay: -0.6s;
}
.contact-hero__card-bars i:nth-child(3n) {
  animation-delay: -1.1s;
}
.contact-hero__card-bars i:nth-child(5n) {
  animation-delay: -1.5s;
}

/* Quick cards */
.section--quick {
  padding-block: clamp(30px, 4vw, 50px) clamp(50px, 6vw, 80px);
  background: var(--paper);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 247, 238, 0.6);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 101, 40, 0.45);
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.quick-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: rgba(21, 17, 10, 0.05);
  color: var(--ink);
}

.quick-card__icon .icon {
  width: 19px;
  height: 19px;
}

.quick-card--wa .quick-card__icon {
  background: rgba(29, 107, 70, 0.1);
  color: #1d6b46;
}

.quick-card__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.quick-card__body strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.quick-card__body span {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card__arrow {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}

.quick-card:hover .quick-card__arrow {
  transform: translate(2px, -2px);
  color: var(--ink);
}

/* Contact form */
.section--contact-form {
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(201, 161, 95, 0.12), transparent 70%),
    var(--paper-2);
  padding-top: clamp(60px, 7vw, 96px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.4vw, 42px);
  align-items: start;
}

.form-card {
  padding: clamp(24px, 4vw, 46px);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.form-card__head {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.form-card__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.form-card__head p {
  margin-top: 10px;
  max-width: 52ch;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b4234;
}

.field__label em {
  color: var(--clay);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #fffdf8;
  border: 1px solid rgba(21, 17, 10, 0.16);
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236f6555' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-inline-end: 38px;
}

html[dir='rtl'] .field select {
  background-position: left 15px center;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(21, 17, 10, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 95, 0.16);
  background: #fff;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--gold-deep);
}

.form__error {
  padding: 11px 14px;
  border: 1px solid rgba(178, 96, 63, 0.35);
  border-radius: 9px;
  background: rgba(178, 96, 63, 0.08);
  font-size: 0.78rem;
  color: #8c3f27;
}

.form__submit {
  width: 100%;
  margin-top: 4px;
}

.form__note {
  font-size: 0.66rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.form__success {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(29, 107, 70, 0.3);
  border-radius: 12px;
  background: rgba(29, 107, 70, 0.06);
}

.form__success-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #1d6b46;
  color: #fff;
}

.form__success-icon .icon {
  width: 18px;
  height: 18px;
}

.form__success strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.form__success p {
  margin: 4px 0 8px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(251, 247, 238, 0.65);
}

.aside-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.aside-card p {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

.aside-card--dark {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-color: rgba(201, 161, 95, 0.3);
  overflow: hidden;
}

.aside-card--dark::before {
  content: '';
  position: absolute;
  top: -40%;
  inset-inline-end: -25%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 95, 0.2), transparent 65%);
}

.aside-card--dark h2,
.aside-card--dark p,
.aside-card--dark .btn {
  position: relative;
}

.aside-card--dark p {
  color: var(--muted-light);
  margin-bottom: 16px;
}

.aside-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 95, 0.4);
  color: var(--gold-light);
}

.aside-phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}

.aside-phone:hover {
  color: var(--gold-deep);
}

.mini-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.mini-steps li {
  display: flex;
  gap: 12px;
}

.mini-steps__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold-deep);
  padding-top: 1px;
}

.mini-steps strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.mini-steps p {
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.6;
}

.aside-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}

.aside-lines li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--muted);
}

.aside-lines .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: none;
  color: var(--gold-deep);
}

.aside-note {
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.68rem !important;
  line-height: 1.6;
}

/* Contact FAQ */
.section--contact-faq {
  background: var(--paper);
}

.contact-faq__head {
  max-width: 40ch;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.contact-faq__head .sec-title {
  max-width: 18ch;
}

.contact-faq__list {
  max-width: 900px;
}

/* ---------- 21. Floating dock & WhatsApp -------------------------------- */
.sound-dock {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 7px;
  background: rgba(21, 17, 10, 0.94);
  border: 1px solid rgba(201, 161, 95, 0.32);
  border-radius: 999px;
  color: var(--cream);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s var(--ease);
}

.sound-dock.is-visible {
  transform: none;
  opacity: 1;
}

.sound-dock__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}

.sound-dock__toggle .icon {
  width: 17px;
  height: 17px;
}

.sound-dock__toggle .sound-dock__icon-on {
  display: none;
}

.sound-dock__toggle .sound-dock__icon-off {
  display: block;
}

.sound-dock__toggle[aria-pressed='false'] {
  background: var(--gold);
  color: var(--ink);
}

.sound-dock__toggle[aria-pressed='false'] .sound-dock__icon-on {
  display: block;
}

.sound-dock__toggle[aria-pressed='false'] .sound-dock__icon-off {
  display: none;
}

.sound-dock__bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
}

.sound-dock__bars i {
  width: 2px;
  height: 8px;
  background: var(--ink);
  border-radius: 2px;
  animation: eqBar 0.9s ease-in-out infinite alternate;
}

.sound-dock__bars i:nth-child(2) {
  animation-delay: -0.4s;
}
.sound-dock__bars i:nth-child(3) {
  animation-delay: -0.2s;
}
.sound-dock__bars i:nth-child(4) {
  animation-delay: -0.6s;
}

.sound-dock.is-playing .sound-dock__toggle .icon {
  opacity: 0;
}

.sound-dock.is-playing .sound-dock__bars {
  opacity: 1;
}

.sound-dock__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: 168px;
  line-height: 1.25;
}

.sound-dock__label {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.sound-dock__title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sound-dock__next {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  color: rgba(247, 241, 230, 0.65);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.sound-dock__next .icon {
  width: 14px;
  height: 14px;
}

.sound-dock__next:hover {
  background: rgba(247, 241, 230, 0.1);
  color: var(--gold-light);
}

.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 86;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 8px;
  border-radius: 999px;
  background: #145c3a;
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(20, 92, 58, 0.8);
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.wa-float .icon {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
}

.wa-float__text {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: #1a7047;
  box-shadow: 0 22px 40px -16px rgba(20, 92, 58, 0.9);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(201, 161, 95, 0.35);
  pointer-events: none;
}

/* ---------- 22. Reveal animations -------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal-up.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 23. Animations --------------------------------------------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroImage {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes floatNote {
  from {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  to {
    transform: translate3d(-14px, -26px, 0) rotate(7deg);
  }
}

@keyframes floatCard {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(201, 161, 95, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(201, 161, 95, 0.04);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollLine {
  0% {
    top: -44px;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    top: 44px;
    opacity: 0;
  }
}

@keyframes eqBar {
  from {
    height: 16%;
  }
  to {
    height: 92%;
  }
}

@keyframes introPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.2;
  }
}

@keyframes introKey {
  0%,
  70%,
  100% {
    transform: scaleY(1);
    background-color: rgba(247, 241, 230, 0.06);
  }
  8% {
    transform: scaleY(0.82);
    background-color: rgba(201, 161, 95, 0.4);
  }
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Projector-style page entry (contact) */
.page-contact main > section:first-child .contact-hero__copy > * {
  animation: fadeUp 0.9s var(--ease) both;
}

.page-contact .contact-hero__copy > *:nth-child(2) {
  animation-delay: 0.08s;
}
.page-contact .contact-hero__copy > *:nth-child(3) {
  animation-delay: 0.16s;
}
.page-contact .contact-hero__copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

/* ---------- 24. Arabic / RTL ------------------------------------------- */
html[lang^='ar'] body {
  line-height: 1.8;
}

html[lang^='ar'] .brand__sub,
html[lang^='ar'] .kicker,
html[lang^='ar'] .btn,
html[lang^='ar'] .nav__link,
html[lang^='ar'] .eyebrow,
html[lang^='ar'] .tag,
html[lang^='ar'] .field__label,
html[lang^='ar'] .footer__title,
html[lang^='ar'] .hero__note,
html[lang^='ar'] .contact-hero__note,
html[lang^='ar'] .scroll-cue,
html[lang^='ar'] .badge-live,
html[lang^='ar'] .piano-pieces__label,
html[lang^='ar'] .now-playing__label,
html[lang^='ar'] .melody-chip__composer,
html[lang^='ar'] .quote__author-meta span,
html[lang^='ar'] .feature-strip li,
html[lang^='ar'] .value h3,
html[lang^='ar'] .choir__badge span,
html[lang^='ar'] .cta-band__micro,
html[lang^='ar'] .form .field__label,
html[lang^='ar'] .sound-dock__label {
  letter-spacing: 0;
}

html[lang^='ar'] .nav__link,
html[lang^='ar'] .btn,
html[lang^='ar'] .kicker,
html[lang^='ar'] .eyebrow,
html[lang^='ar'] .tag,
html[lang^='ar'] .feature-strip li {
  text-transform: none;
  font-size: 0.82rem;
}

html[lang^='ar'] .brand__name {
  font-size: 1.3rem;
}

html[lang^='ar'] .brand__sub {
  font-size: 0.62rem;
}

html[lang^='ar'] .hero__title {
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(3.1rem, 6.4vw, 6.1rem);
}

html[lang^='ar'] .hero__line--accent .hero__line-inner {
  padding-inline-start: 0;
}

html[lang^='ar'] .sec-title {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(2.5rem, 4.7vw, 4rem);
}

html[lang^='ar'] .intro__title {
  line-height: 1.25;
  font-weight: 700;
}

html[lang^='ar'] .intro__text {
  font-size: 1.2rem;
}

html[lang^='ar'] .hero__lead,
html[lang^='ar'] .sec-lead,
html[lang^='ar'] .school__p,
html[lang^='ar'] .course-card__text,
html[lang^='ar'] .choir__body > p {
  line-height: 1.95;
  font-size: 1rem;
}

html[lang^='ar'] .course-card__title,
html[lang^='ar'] .step__body h3,
html[lang^='ar'] .faq-item__q,
html[lang^='ar'] .aside-card h2,
html[lang^='ar'] .form-card__title,
html[lang^='ar'] .quote__text {
  line-height: 1.5;
  font-weight: 700;
}

html[lang^='ar'] .course-card__title {
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
}

html[lang^='ar'] .quote__text {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

html[lang^='ar'] .pullquote p {
  line-height: 1.7;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

html[lang^='ar'] .step__body p,
html[lang^='ar'] .value p,
html[lang^='ar'] .course-card__points li,
html[lang^='ar'] .faq-item__a p {
  line-height: 1.9;
}

html[lang^='ar'] .hero__card-title {
  font-size: 0.98rem;
}

html[lang^='ar'] .melody-chip__title {
  font-size: 0.92rem;
}

html[lang^='ar'] .seal text {
  font-size: 7.4px;
  letter-spacing: 1.2px;
}

html[lang^='ar'] .values,
html[lang^='ar'] .feature-strip {
  gap: 20px;
}

html[dir='rtl'] .marquee__track {
  direction: ltr;
}

html[dir='rtl'] .text-link .icon,
html[dir='rtl'] .lang-switch .icon,
html[dir='rtl'] .quick-card__arrow,
html[dir='rtl'] .faq__wa > .icon {
  transform: scaleX(-1);
}

html[dir='rtl'] .text-link:hover .icon {
  transform: scaleX(-1) translate(3px, -3px);
}

html[dir='rtl'] .quick-card:hover .quick-card__arrow {
  transform: scaleX(-1) translate(2px, -2px);
}

html[dir='rtl'] .scroll-cue__line::after {
  left: auto;
  right: 0;
}

html[dir='rtl'] .quotes__slider::before {
  inset-inline-end: auto;
  inset-inline-start: 10px;
}

html[dir='rtl'] .cta-band__keys {
  transform-origin: bottom right;
}

html[dir='rtl'] .hero__glow {
  inset-inline-end: auto;
  inset-inline-start: -10%;
}

html[dir='rtl'] .section--choir::before {
  inset-inline-end: auto;
  inset-inline-start: -2%;
}

/* ---------- 25. Responsive --------------------------------------------- */
@media (max-width: 1180px) {
  .nav {
    gap: 16px;
  }

  .nav__list {
    gap: 14px;
  }

  .nav__link {
    font-size: 0.64rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  }

  .hero__card {
    width: 250px;
  }

  .sec-head {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .burger {
    display: grid;
  }

  .header__cta,
  .lang-switch--desk {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 100px clamp(24px, 7vw, 60px) 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.4s var(--ease),
      transform 0.4s var(--ease),
      visibility 0.4s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    display: block;
    width: 100%;
    padding-block: 18px;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
  }

  html[lang^='ar'] .nav__link {
    font-family: var(--font-display);
    font-size: 1.7rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
  }

  .nav__foot .lang-switch {
    display: inline-flex;
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  .header__inner {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 460px);
    margin-top: 0;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__title {
    font-size: clamp(3rem, 7.5vw, 5.2rem);
  }

  .hero__bottom {
    margin-top: 40px;
  }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sec-head__meta {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .sec-head__main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sec-head__main .sec-title {
    max-width: 20ch;
  }

  .sec-lead {
    max-width: 58ch;
  }

  .school__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .school__media {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .course-card:nth-child(1),
  .course-card:nth-child(2),
  .course-card:nth-child(3),
  .course-card:nth-child(4) {
    grid-column: span 12;
  }

  .course-card--feature .course-card__media {
    height: 220px;
  }

  .choir__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .choir__media {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .choir__body > p {
    max-width: 62ch;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    border-top: 0;
  }

  .step {
    padding-top: 0;
    padding-inline-start: 16px;
    border-inline-start: 1px solid rgba(140, 101, 40, 0.35);
  }

  .step::before {
    top: 0;
    inset-inline-start: -5px;
  }

  .play__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .play__head .sec-title {
    max-width: 18ch;
  }

  .quotes__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quotes__intro .sec-title {
    max-width: 20ch;
  }

  .quotes__signature {
    max-width: 420px;
  }

  .gallery__grid {
    columns: 2;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq__aside {
    position: static;
  }

  .faq__aside .sec-title {
    max-width: 22ch;
  }

  .faq__wa {
    margin-top: 22px;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-band__art {
    min-height: 200px;
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }

  .cta-band__glyph {
    font-size: 7rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer__brand {
    grid-column: span 2;
  }

  .footer__about {
    max-width: 50ch;
  }

  .contact-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-hero__card {
    max-width: 430px;
    transform: none;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .aside-card--dark {
    grid-column: span 2;
  }

  .contact-hero__title {
    max-width: 16ch;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 36px, 1280px);
  }

  .section {
    padding-block: 66px;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 30px;
  }

  .hero__title {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  html[lang^='ar'] .hero__title {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
  }

  .hero__lead {
    font-size: 0.92rem;
  }

  .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding-inline: 1em;
    font-size: 0.68rem;
  }

  .hero__visual {
    width: min(100%, 380px);
  }

  .hero__card {
    inset-inline-start: auto;
    inset-inline-end: 10px;
    bottom: 6%;
    width: 236px;
    padding: 10px 12px;
  }

  .hero__card-title {
    font-size: 0.9rem;
  }

  .seal {
    width: 88px;
    height: 88px;
    top: -10px;
    inset-inline-end: -6px;
  }

  .seal__core {
    width: 44px;
    height: 44px;
  }

  .seal text {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .hero__note--1 {
    inset-inline-start: 2%;
    font-size: 1.8rem;
  }

  .hero__bottom {
    align-items: center;
  }

  .scroll-cue {
    font-size: 0.54rem;
  }

  .scroll-cue__line {
    height: 32px;
  }

  .sec-title {
    font-size: clamp(2.1rem, 8.6vw, 3rem);
  }

  html[lang^='ar'] .sec-title {
    font-size: clamp(2.2rem, 8.6vw, 3rem);
  }

  .sec-head {
    margin-bottom: 34px;
  }

  .school__media {
    padding-bottom: 40px;
  }

  .media--main {
    width: 88%;
  }

  .media--small {
    width: 42%;
    bottom: 10px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 46px;
  }

  .feature-strip li {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .course-card__inner {
    padding: 24px;
  }

  .course-card--feature .course-card__inner {
    margin-top: -30px;
  }

  .advice {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .choir__points {
    grid-template-columns: 1fr;
  }

  .choir__badge {
    width: 102px;
    height: 102px;
    top: 6%;
    inset-inline-start: -3%;
  }

  .choir__badge span {
    font-size: 0.5rem;
  }

  .choir__badge em {
    font-size: 0.68rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step__body p {
    max-width: 46ch;
  }

  .piano-stage {
    border-radius: 16px;
    padding: 14px 12px;
  }

  .piano {
    min-width: 660px;
    height: 190px;
  }

  .piano-stage__top {
    align-items: flex-start;
  }

  .piano-stage__actions {
    width: 100%;
  }

  .piano-stage__actions .btn {
    flex: 1;
  }

  .now-playing__title {
    font-size: 1.25rem;
    white-space: normal;
  }

  .piano-bar {
    align-items: flex-start;
  }

  .piano-bar__hint {
    font-size: 0.62rem;
  }

  .piano-bar__left {
    gap: 8px 10px;
  }

  .piano-pieces__hint {
    display: none;
  }

  .piano-pieces__touch {
    display: block;
  }

  .piano-caption {
    font-size: 0.62rem;
  }

  .quotes__viewport {
    padding: 24px;
  }

  .quote__text {
    font-size: 1.35rem;
    margin: 16px 0 24px;
  }

  .quotes__nav {
    margin-top: 16px;
  }

  .round-btn {
    width: 42px;
    height: 42px;
  }

  .gallery__grid {
    columns: 1;
  }

  .tile figcaption {
    opacity: 1;
    transform: none;
  }

  .gallery__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .faq-item summary {
    padding-block: 18px;
    gap: 14px;
  }

  .faq-item__q {
    font-size: 1.06rem;
  }

  .cta-band__title {
    font-size: clamp(2.3rem, 9.6vw, 3.2rem);
  }

  .cta-band__actions .btn {
    flex: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer__brand {
    grid-column: span 2;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .wa-float {
    width: 52px;
    padding: 0;
    justify-content: center;
    bottom: 18px;
    inset-inline-end: 18px;
  }

  .wa-float .icon {
    width: 34px;
    height: 34px;
    background: transparent;
    padding: 7px;
  }

  .wa-float__text {
    display: none;
  }

  .sound-dock {
    bottom: 18px;
    inset-inline-start: 18px;
    max-width: calc(100vw - 92px);
    padding: 5px;
    gap: 6px;
  }

  .sound-dock__toggle {
    width: 34px;
    height: 34px;
  }

  .sound-dock__meta {
    max-width: 104px;
  }

  .sound-dock__label {
    display: none;
  }

  .sound-dock__title {
    font-size: 0.76rem;
  }

  .sound-dock__next {
    width: 26px;
    height: 26px;
  }

  .page-contact .wa-float {
    bottom: 18px;
  }

  .contact-hero {
    padding-top: 118px;
    padding-bottom: 44px;
  }

  .contact-hero__title {
    font-size: clamp(2.7rem, 11vw, 3.8rem);
  }

  .contact-hero__card {
    padding: 24px;
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .aside-card--dark {
    grid-column: span 1;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }

  .contact-faq__head {
    margin-bottom: 24px;
  }
}

@media (max-width: 420px) {
  .intro__actions {
    flex-direction: column;
    width: 100%;
  }

  .intro__actions .btn {
    width: 100%;
  }

  .intro__title {
    font-size: 2.45rem;
  }

  .intro__foot {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__card {
    width: 216px;
  }

  .eq {
    width: 16px;
  }

  .sound-dock__meta {
    display: none;
  }

  .sound-dock {
    padding: 5px 6px;
  }

  .piano {
    min-width: 600px;
    height: 172px;
  }

  .key__hint {
    bottom: 18px;
    font-size: 0.52rem;
  }

  .key__note {
    font-size: 0.42rem;
  }

  .quote__text {
    font-size: 1.22rem;
  }

  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: span 1;
  }
}

/* ---------- 26. Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .hero__line-inner {
    transform: none !important;
  }

  .hero__figure img {
    transform: none;
  }

  [data-reveal],
  .reveal-up {
    opacity: 1;
    transform: none;
  }

  .tile figcaption {
    opacity: 1;
    transform: none;
  }
}

/* Mute state of the floating sound dock */
.sound-dock.is-muted .sound-dock__bars {
  display: none;
}

.sound-dock.is-muted .sound-dock__toggle .icon {
  opacity: 1;
}

.sound-dock.is-muted .sound-dock__toggle {
  background: rgba(247, 241, 230, 0.16);
  color: var(--cream);
}

/* Parallax images (transform combinée avec le survol) */
[data-parallax] img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.03);
}

[data-parallax]:hover img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.055);
}

/* ==================== Polish pass ==================== */

/* Header actions above the mobile overlay so the close button stays clickable */
.header__side {
  position: relative;
  z-index: 3;
}

body.nav-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--paper);
}

/* Compact WhatsApp button (icon only) */
.wa-float {
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.wa-float .icon {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
}

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

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
}


/* Feature course card: horizontal composition, no dead space */
.course-card--feature {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.course-card--feature .course-card__media {
  height: 100%;
  min-height: 100%;
}

.course-card--feature .course-card__media::after {
  background:
    linear-gradient(to top, rgba(21, 17, 10, 0.75), transparent 60%),
    linear-gradient(to right, transparent 55%, rgba(21, 17, 10, 0.35));
}

.course-card--feature .course-card__inner {
  margin-top: 0;
  padding: clamp(22px, 2.4vw, 32px);
}

/* Quote watermark inside the card */
.quotes__slider::before {
  top: 12px;
  inset-inline-end: 28px;
  font-size: 10rem;
  color: rgba(140, 101, 40, 0.11);
  z-index: 0;
}

/* RTL phone alignment keeps the number right-aligned in the dark card */
html[dir='rtl'] .contact-hero__phone {
  text-align: right;
}

/* Localised giant watermarks */
html[lang^='ar'] .section--choir::before {
  content: 'صوت';
  letter-spacing: 0;
  font-size: clamp(9rem, 19vw, 17rem);
}

html[lang^='ar'] .contact-hero::after {
  content: 'اتصال';
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .course-card--feature {
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 720px) {
  .hero__note {
    display: none;
  }

  .hero__staff--3 {
    display: none;
  }

  .course-card--feature {
    grid-template-columns: 1fr;
  }

  .course-card--feature .course-card__media {
    height: 190px;
    min-height: 0;
  }

  .course-card--feature .course-card__inner {
    margin-top: -34px;
    padding: 24px;
  }

  .course-card--feature .course-card__media::after {
    background: linear-gradient(to top, var(--ink) 2%, rgba(21, 17, 10, 0.15) 70%);
  }

  .piano-stage__viz {
    display: none;
  }

  .quotes__slider::before {
    font-size: 7rem;
    top: 4px;
    inset-inline-end: 16px;
  }

  .wa-float {
    width: 52px;
    height: 52px;
  }

  .wa-float .icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 420px) {
  .course-card--feature .course-card__media {
    height: 165px;
  }
}

/* Centered ambient player: keeps hero copy and bottom widgets clear */
.sound-dock {
  inset-inline-start: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, 20px);
}

.sound-dock.is-visible {
  transform: translate(-50%, 0);
}


@media (max-width: 720px) {
  .sound-dock {
    bottom: 16px;
    left: 50%;
    inset-inline-start: auto;
    max-width: calc(100vw - 140px);
  }

  .sound-dock__meta {
    max-width: 116px;
  }

  .gallery__grid {
    columns: 2;
    column-gap: 10px;
  }

  .tile {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .tile figcaption {
    display: none;
  }

  .quotes__slider::before {
    display: none;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    inset-inline-end: 16px;
  }

  .wa-float .icon {
    width: 30px;
    height: 30px;
  }
}

html[dir='rtl'] .sound-dock {
  left: 50%;
  right: auto;
}

/* Footer legibility */
.footer__about {
  color: rgba(247, 241, 230, 0.62);
}

.footer__col a,
.footer__col li > span {
  color: rgba(247, 241, 230, 0.66);
}

.brand--footer .brand__sub {
  color: rgba(247, 241, 230, 0.58);
}

.footer__bottom {
  color: rgba(247, 241, 230, 0.6);
  font-size: 0.7rem;
}

.footer__credit {
  color: rgba(247, 241, 230, 0.55);
}

/* Kicker contrast on the darker cream background */
.kicker,
.kicker__num {
  color: #6f4e1e;
}

/* Small-screen wrapping for very long pill labels and card footers */
.gallery__foot .btn {
  white-space: normal;
  text-align: center;
}

.course-card__foot {
  flex-wrap: wrap;
}

@media (max-width: 420px) {
  .gallery__foot .btn {
    width: 100%;
    font-size: 0.66rem;
    padding-inline: 1em;
  }

  .course-card__foot {
    gap: 8px;
  }

  .course-card__foot > span {
    font-size: 0.56rem;
  }
}

/* Minimum-height fallback for older browsers */
.hero {
  min-height: 100vh;
  min-height: 100svh;
}
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }
}

/* No-JS / no-IntersectionObserver fallbacks for revealed content */
.no-js [data-reveal],
.no-js .reveal-up {
  opacity: 1;
  transform: none;
}

html[lang^='ar'] .hero__ages {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
  line-height: 1.8;
}

html[lang^='ar'] .hero__ages::before {
  width: 16px;
}
