:root {
  --ink: #141210;
  --ink-soft: #3f3a34;
  --muted: #7a7369;
  --paper: #f7f6f3;
  --paper-2: #efeee9;
  --surface: #fffefb;
  --line: #e6e2da;
  --gold: #b8954c;
  --gold-deep: #8f6f2e;
  --gold-soft: #d9c49a;
  --dark: #0e0d0c;
  --dark-2: #1a1815;
  --white: #fffefb;
  --danger: #9b2c2c;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow: 0 24px 64px rgba(14, 13, 12, 0.09);
  --shadow-soft: 0 10px 36px rgba(14, 13, 12, 0.06);
  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Vazirmatn", Tahoma, sans-serif;
  --space-section: clamp(3.75rem, 8vw, 6.25rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% -8%, rgba(184, 149, 76, 0.1), transparent 52%),
    radial-gradient(ellipse 55% 40% at -5% 95%, rgba(184, 149, 76, 0.06), transparent 48%),
    linear-gradient(180deg, #faf9f6 0%, var(--paper) 40%, #f2f0eb 100%);
  line-height: 1.85;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

button,
.btn,
select,
summary,
.nav-toggle {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.4rem, 3.4vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 740px);
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 0.95rem;
  text-transform: none;
}

.eyebrow.gold {
  color: var(--gold-soft);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 34rem;
  font-weight: 400;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.prose.light,
.section-dark .prose {
  color: rgba(255, 254, 251, 0.82);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(166, 124, 61, 0.35);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.8rem 1.55rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white) !important;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(184, 149, 76, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
  box-shadow: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
  z-index: 80;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
  padding: 0.65rem 0 0;
  background: transparent;
}

.site-header.is-scrolled {
  padding-top: 0.45rem;
}

.page-home .hero {
  min-height: min(100svh, 900px);
  align-items: center;
}

/* Inner pages without page-hero still clear the fixed navbar */
body:not(.page-home) main:not(:has(.page-hero)) {
  padding-top: var(--header-h);
}

.header-inner {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.85rem 0.45rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 251, 0.7);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
  border-color: rgba(230, 226, 218, 0.95);
  background: rgba(255, 254, 251, 0.94);
  box-shadow: 0 12px 40px rgba(14, 13, 12, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  min-width: 0;
  z-index: 2;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(166, 124, 61, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
  margin-inline-start: auto;
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-icon:hover {
  color: var(--ink);
  background: rgba(18, 16, 14, 0.04);
  border-color: var(--line);
}

.header-cta {
  border-radius: 999px;
  padding-inline: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-panel {
  display: flex;
  align-items: center;
}

.nav-sheet-head,
.nav-sheet-foot,
.nav-i {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(18, 16, 14, 0.04);
}

.nav-links a.is-active {
  color: var(--ink);
  background: rgba(166, 124, 61, 0.12);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, width 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Desktop: links between brand and actions */
@media (min-width: 1101px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .site-nav {
    justify-content: center;
  }

  .header-actions .header-cta {
    display: inline-flex;
  }

  .header-actions .nav-icon {
    display: grid;
  }
}

/* —— Mobile: full-screen elegant sheet —— */
@media (max-width: 1100px) {
  .site-header {
    padding: 0.55rem 0 0;
  }

  .header-inner {
    border-radius: 18px;
  }

  .header-actions {
    position: relative;
    z-index: 520;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: block;
    width: 100%;
    height: 100%;
    height: 100dvh;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(ellipse 80% 50% at 100% 0%, rgba(184, 149, 76, 0.18), transparent 55%),
      radial-gradient(ellipse 60% 40% at 0% 100%, rgba(184, 149, 76, 0.08), transparent 50%),
      linear-gradient(165deg, #161410 0%, var(--dark) 45%, #12100e 100%);
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }

  .site-nav.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }

  .nav-panel {
    width: min(100% - 2rem, 420px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    padding:
      calc(var(--header-h) + 0.75rem)
      0.25rem
      max(1.5rem, env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-sheet-head {
    display: block;
    margin-bottom: 1.75rem;
    padding-inline: 0.35rem;
  }

  .nav-sheet-kicker {
    margin: 0 0 0.35rem;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .nav-sheet-title {
    margin: 0;
    color: #fffefb;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    flex: 1;
  }

  .nav-i {
    display: inline-block;
    min-width: 1.75rem;
    color: rgba(217, 196, 154, 0.55);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s var(--ease);
  }

  .nav-t {
    display: block;
  }

  .nav-links a {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: rgba(255, 254, 251, 0.88);
    padding: 0.72rem 0.5rem;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateY(12px);
    transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  }

  .site-nav.is-open .nav-links a {
    animation: nav-item-in 0.5s var(--ease) forwards;
  }

  .site-nav.is-open .nav-links a:nth-child(1) { animation-delay: 0.04s; }
  .site-nav.is-open .nav-links a:nth-child(2) { animation-delay: 0.08s; }
  .site-nav.is-open .nav-links a:nth-child(3) { animation-delay: 0.12s; }
  .site-nav.is-open .nav-links a:nth-child(4) { animation-delay: 0.16s; }
  .site-nav.is-open .nav-links a:nth-child(5) { animation-delay: 0.2s; }
  .site-nav.is-open .nav-links a:nth-child(6) { animation-delay: 0.24s; }
  .site-nav.is-open .nav-links a:nth-child(7) { animation-delay: 0.28s; }
  .site-nav.is-open .nav-links a:nth-child(8) { animation-delay: 0.32s; }

  @keyframes nav-item-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: #fff;
    background: transparent;
  }

  .nav-links a:hover .nav-i,
  .nav-links a.is-active .nav-i {
    color: var(--gold);
  }

  .nav-links a.is-active {
    color: #fff;
    background: transparent;
    font-weight: 700;
    box-shadow: none;
    border-bottom-color: rgba(184, 149, 76, 0.35);
  }

  .nav-links a.is-active .nav-t {
    background: linear-gradient(90deg, rgba(184, 149, 76, 0.2), transparent 70%);
    box-decoration-break: clone;
  }

  .nav-sheet-foot {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    padding-inline: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(10px);
  }

  .site-nav.is-open .nav-sheet-foot {
    animation: nav-item-in 0.5s var(--ease) 0.38s forwards;
  }

  .nav-sheet-cta {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    background: var(--gold);
    border-color: var(--gold);
    color: #141210 !important;
    font-weight: 700;
  }

  .nav-sheet-cta:hover {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
  }

  .nav-sheet-meta {
    display: grid;
    gap: 0.2rem;
    text-align: center;
    color: rgba(255, 254, 251, 0.45);
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .nav-sheet-meta a {
    color: rgba(255, 254, 251, 0.72);
    font-weight: 600;
    font-size: 0.92rem;
  }

  .nav-sheet-meta a:hover {
    color: var(--gold-soft);
  }

  .brand-text strong {
    font-size: 0.84rem;
    max-width: 42vw;
  }

  /* Toggle stays readable on dark sheet */
  body.nav-open .nav-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  body.nav-open .nav-toggle span:not(.sr-only) {
    background: #fff;
  }

  body.nav-open .header-inner {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  body.nav-open .brand,
  body.nav-open .brand-text small,
  body.nav-open .nav-icon {
    color: rgba(255, 254, 251, 0.9);
  }

  body.nav-open .brand-mark {
    color: var(--gold-soft);
    background: rgba(255, 255, 255, 0.08);
  }

  body.nav-open .mobile-cta,
  body.nav-open .wa-float,
  body.nav-open .nav-icon {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .site-header {
    z-index: 510;
  }
}

@media (max-width: 480px) {
  .brand-text small {
    display: none;
  }

  .header-inner {
    padding-inline: 0.65rem;
    min-height: 58px;
  }

  .nav-panel {
    width: min(100% - 1.5rem, 420px);
    padding-top: calc(var(--header-h) + 0.35rem);
  }

  .nav-links a {
    font-size: 1.28rem;
    padding-block: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav.is-open .nav-links a,
  .site-nav.is-open .nav-sheet-foot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero {
  position: relative;
  min-height: min(94vh, 900px);
  min-height: min(94svh, 900px);
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}

.hero-fallback {
  background:
    radial-gradient(circle at 72% 18%, rgba(184, 149, 76, 0.32), transparent 42%),
    linear-gradient(155deg, #1c1916 0%, #0e0d0c 55%, #161310 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.05) brightness(0.86);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 7s var(--ease);
  z-index: 0;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.45) 0%, rgba(14, 13, 12, 0.55) 42%, rgba(14, 13, 12, 0.82) 100%),
    linear-gradient(90deg, rgba(14, 13, 12, 0.58) 0%, transparent 58%),
    radial-gradient(circle at 88% 12%, rgba(184, 149, 76, 0.18), transparent 40%);
}

.hero-dots {
  position: absolute;
  inset-inline-end: clamp(0.85rem, 2vw, 1.35rem);
  bottom: clamp(1.25rem, 3vw, 1.75rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), height 0.25s var(--ease);
}

.hero-dots button.is-active {
  background: var(--gold-soft);
  height: 22px;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  margin-top: calc(var(--header-h) * -0.15);
  padding:
    calc(var(--header-h) + clamp(0.5rem, 2vw, 1.25rem))
    0
    clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: min(100%, 36rem);
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-soft);
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  letter-spacing: 0.18em;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.hero-copy .eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}

.hero-copy h1 {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  font-size: clamp(2rem, 6.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: 36ch;
}

.hero .lead {
  color: rgba(255, 254, 251, 0.78);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  line-height: 1.75;
  max-width: 28rem;
  margin: 0;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.35rem, 3vw, 2.1rem);
}

.hero .btn {
  min-height: 52px;
  padding-inline: 1.45rem;
  font-size: 0.95rem;
  animation: hero-rise 0.9s var(--ease) both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero .btn:nth-child(2) {
  animation-delay: 0.08s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .btn-ghost {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--ink) !important;
  border-color: var(--white);
}

.page-hero {
  padding: calc(var(--header-h) + clamp(1.75rem, 4vw, 2.75rem)) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(184, 149, 76, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 254, 251, 0.8), transparent);
}

.page-hero h1 {
  margin: 0 0 0.45rem;
  max-width: 22ch;
}

.page-hero .lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  max-width: 36rem;
}

.section {
  padding: var(--space-section) 0;
}

.section-muted {
  background: rgba(255, 254, 251, 0.7);
  border-block: 1px solid var(--line);
}

.section-dark {
  background:
    radial-gradient(circle at 12% 0%, rgba(184, 149, 76, 0.16), transparent 36%),
    linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2.1rem;
}

.instrument-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.instrument-item {
  background: var(--surface);
  padding: 1.6rem 1.35rem 1.4rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: background 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  color: inherit;
  position: relative;
  overflow: hidden;
}

.instrument-thumb {
  display: block;
  margin: -1.6rem -1.35rem 0.35rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark);
}

.instrument-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.instrument-item:hover .instrument-thumb img {
  transform: scale(1.04);
  filter: grayscale(0.05);
}

.instrument-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(184, 149, 76, 0.35);
  color: inherit;
  z-index: 1;
}

.instrument-index {
  font-size: 0.75rem;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.instrument-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.instrument-meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.teacher-grid-lg {
  grid-template-columns: repeat(2, 1fr);
}

.teacher-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
  color: inherit;
}

.teacher-card:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.teacher-photo {
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.teacher-card:hover .teacher-photo img {
  transform: scale(1.05);
  filter: grayscale(0.05);
}

.teacher-photo.large {
  width: min(100%, 320px);
  aspect-ratio: 4/5;
}

.photo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(166, 124, 61, 0.25), transparent 50%),
    linear-gradient(145deg, #1a1612, #2e2820);
  color: var(--gold-soft);
  font-size: 1.8rem;
  font-weight: 700;
}

.teacher-info h2,
.teacher-info h3 {
  margin-bottom: 0.2rem;
  font-size: 1.12rem;
}

.teacher-info p,
.meta {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.teacher-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.25rem;
  align-items: end;
}

.reason-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.reason-list li {
  display: grid;
  gap: 0.3rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reason-list strong {
  font-size: 1.18rem;
  color: var(--gold-soft);
}

.reason-list span {
  color: rgba(255, 254, 251, 0.7);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.gallery-thumb,
.gallery-item {
  overflow: hidden;
  background: var(--dark);
  margin: 0;
  border-radius: var(--radius-sm);
}

.gallery-thumb img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: grayscale(0.25);
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.gallery-thumb:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item figcaption {
  padding: 0.75rem 0.15rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.course-card {
  display: block;
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  color: inherit;
}

.course-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.course-card h2 {
  font-size: 1.32rem;
}

.course-card p {
  color: var(--ink-soft);
}

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

/* —— Courses page (modern visual catalog) —— */
.courses-hero-inner {
  max-width: 42rem;
}

.courses-hero h1 {
  max-width: 18ch;
}

.courses-section {
  padding-top: clamp(1.1rem, 2.5vw, 1.75rem);
}

.courses-hero h1 {
  max-width: 22ch;
}

.courses-intro-section {
  padding-top: 0;
  padding-bottom: 0;
}

.courses-intro {
  max-width: 46rem;
}

.courses-catalog-head {
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.courses-catalog-head h2 {
  margin: 0.3rem 0 0.85rem;
}

.courses-catalog-lead {
  margin: 0;
  max-width: 46rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.courses-guide-section {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.courses-guide .section-head {
  margin-bottom: 1.5rem;
}

.courses-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.courses-faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.courses-faq-item h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.courses-faq-item .about-prose {
  max-width: 46rem;
}

.courses-cta-section {
  padding-top: 0;
}

.courses-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.15rem;
}

.courses-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.course-tile {
  display: grid;
  gap: 0.95rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.course-tile:hover {
  color: inherit;
}

.course-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #171411;
}

.course-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.03);
  transition: transform 0.55s var(--ease), filter 0.45s var(--ease);
}

.course-tile:hover .course-tile-media img {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1.05);
}

.course-tile-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gold-soft);
  font-size: 1.2rem;
  font-weight: 700;
  background:
    radial-gradient(circle at 28% 25%, rgba(184, 149, 76, 0.28), transparent 50%),
    linear-gradient(150deg, #1a1612, #2c2620);
}

.course-tile-index {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 0.85rem;
  color: rgba(255, 250, 242, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.course-tile-body {
  display: grid;
  gap: 0.4rem;
  padding-inline-end: 0.35rem;
}

.course-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.course-tile-meta span:first-child {
  color: var(--gold-deep, var(--gold));
  font-weight: 650;
}

.course-tile h2,
.course-tile h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.3vw, 1.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.course-tile:hover h2,
.course-tile:hover h3 {
  color: var(--gold);
}

.course-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.75;
}

.course-tile-teachers {
  color: var(--muted) !important;
  font-size: 0.84rem !important;
}

.course-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.22s var(--ease);
}

.course-tile:hover .course-tile-cta {
  color: var(--gold);
  transform: translateX(-3px);
}

.courses-empty {
  margin: 2.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}

.courses-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.courses-cta h2 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.courses-cta p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* related course rows (detail / other pages) */
.courses-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.course-row {
  display: grid;
  grid-template-columns: 2.75rem 7.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease);
}

.course-row:hover {
  color: inherit;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.course-row-index {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.course-row-photo {
  width: 7.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
  border-radius: 2px;
}

.course-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.course-row:hover .course-row-photo img {
  transform: scale(1.04);
  filter: grayscale(0.02);
}

.course-row-photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gold);
  font-weight: 700;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 149, 76, 0.22), transparent 55%),
    linear-gradient(145deg, #1a1612, #2e2820);
}

.course-row-body {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.course-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.course-row-meta span:first-child {
  color: var(--gold-deep, var(--gold));
  font-weight: 600;
}

.course-row h2,
.course-row h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.course-row:hover h2,
.course-row:hover h3 {
  color: var(--gold);
}

.course-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.8;
  max-width: 42rem;
}

.course-row-teachers {
  color: var(--muted) !important;
  font-size: 0.86rem !important;
}

.course-row-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.22s var(--ease);
}

.course-row:hover .course-row-action {
  color: var(--gold);
  transform: translateX(-4px);
}

@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .course-tile-media {
    aspect-ratio: 16 / 11;
  }

  .course-row {
    grid-template-columns: 5.75rem 1fr;
    gap: 0.85rem;
    padding: 1.15rem 0;
  }

  .course-row-index,
  .course-row-action {
    display: none;
  }

  .course-row-photo {
    width: 5.75rem;
  }

  .course-row p:not(.course-row-teachers) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
  }

  .courses-cta {
    flex-direction: column;
    align-items: start;
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.84rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

a.chip:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-bar label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.filter-bar select,
.field-input,
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  min-width: 180px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus,
.filter-bar select:focus,
.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 76, 0.18);
}

.form-stack {
  display: grid;
  gap: 1rem;
}

.form-panel {
  padding: 1.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-stack label {
  display: grid;
  gap: 0.4rem;
}

.form-stack label span {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  font-style: normal;
}

.form-errors {
  padding: 0.75rem 1rem;
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.2rem 1.15rem;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
}

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

.faq-answer {
  padding: 0 0 1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

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

@media (max-width: 960px) {
  .contact-layout,
  .contact-layout-solo {
    grid-template-columns: 1fr;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.cta-box,
.section-cta .cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 0% 50%, rgba(184, 149, 76, 0.1), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(2.75rem, 6vw, 4rem) 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.96), var(--dark) 40%),
    var(--dark);
  color: rgba(255, 254, 251, 0.68);
  border-top: 1px solid rgba(255, 254, 251, 0.06);
}

.footer-inner {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
}

.footer-brand {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--gold-soft);
}

.footer-tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 254, 251, 0.58);
}

.footer-social {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.35rem 0;
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-social:hover {
  color: var(--white);
  border-bottom-color: rgba(217, 198, 163, 0.45);
}

.footer-label {
  margin: 0 0 1rem;
  color: rgba(255, 254, 251, 0.42);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-nav .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0.55rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 254, 251, 0.78);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 254, 251, 0.62);
  max-width: 22rem;
}

.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-top: 1.15rem;
}

.footer-legal-inline a {
  color: rgba(255, 254, 251, 0.45);
  font-size: 0.82rem;
}

.footer-legal-inline a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .copyright {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.8;
  color: rgba(255, 254, 251, 0.48);
}

.footer-bottom .company-link {
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-bottom .company-link:hover {
  color: var(--white);
  border-bottom-color: rgba(217, 198, 163, 0.5);
}

.m-0 {
  margin: 0;
}

.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr 1.2fr;
  background: rgba(11, 10, 9, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.mobile-cta a {
  text-align: center;
  padding: 0.92rem 0.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.mobile-cta a.primary {
  background: var(--gold);
  color: var(--white);
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
}

.flash-wrap {
  width: min(100% - 2rem, var(--container));
  margin: 1rem auto 0;
}

body:not(.page-home) main > .flash-wrap:first-child {
  margin-top: calc(var(--header-h) + 0.5rem);
}

.flash {
  background: #eaf6ec;
  border: 1px solid #b7dfbf;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
}

.flash-error {
  background: #fdecec;
  border-color: #f5c2c2;
  color: #9b2c2c;
}

.flash-success {
  background: #eaf6ec;
  border-color: #b7dfbf;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1024px) {
  .instrument-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .gallery-grid,
  .course-grid,
  .contact-layout,
  .teacher-detail,
  .teacher-grid-lg {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section-head,
  .cta-box {
    flex-direction: column;
    align-items: start;
  }

  .mobile-cta {
    display: grid;
  }

  body {
    padding-bottom: 66px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--container));
    margin-top: -1.5rem;
    padding:
      calc(var(--header-h) + 0.25rem)
      0
      calc(3.25rem + env(safe-area-inset-bottom, 0px));
    align-items: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
    max-width: 28ch;
  }

  .hero .lead {
    font-size: 1.02rem;
    max-width: 32ch;
  }

  .hero-dots {
    flex-direction: row;
    inset-inline: 0;
    inset-inline-end: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    gap: 0.4rem;
  }

  .hero-dots button.is-active {
    width: 22px;
    height: 8px;
  }

  .hero-scroll {
    display: none;
  }

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-grid,
  .teacher-grid-lg {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .teacher-card,
  .teacher-grid-lg .teacher-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .teacher-photo {
    aspect-ratio: 16 / 11;
    border-radius: 0;
  }

  .teacher-info {
    min-width: 0;
    padding: 1.05rem 1.1rem 1.2rem;
  }

  .teacher-info h2,
  .teacher-info h3 {
    font-size: 1.18rem;
  }

  .teacher-info .meta {
    color: var(--gold-deep);
    font-weight: 600;
    margin-bottom: 0.35rem;
  }

  .teacher-info p:not(.meta) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .instrument-grid,
  .gallery-strip,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .teacher-photo {
    aspect-ratio: 5 / 4;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .hero-copy .eyebrow {
    letter-spacing: 0.14em;
  }

  .hero-copy .eyebrow::before {
    width: 1.25rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img,
  .hero-media video,
  .hero .btn {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Continuations: breadcrumbs, about, detail, map, lightbox —— */

.breadcrumbs {
  margin-bottom: 1.25rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--line);
}

.breadcrumbs a:hover {
  color: var(--gold-deep);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

.about-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.stat-stack {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-item {
  background: var(--surface);
  padding: 1.35rem 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.stat-item strong {
  font-size: 1.45rem;
  color: var(--gold-deep);
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.founder-photo {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
}

.founder-photo figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 254, 251, 0.72);
  font-size: 0.9rem;
}

.timeline {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.3rem;
}

.timeline strong {
  font-size: 1.1rem;
}

.timeline span {
  color: var(--ink-soft);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.info-panel {
  margin: 1.75rem 0 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
}

.info-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.info-panel > div:last-child {
  border-bottom: 0;
}

.info-panel strong {
  color: var(--muted);
  font-weight: 600;
}

.side-teachers {
  display: grid;
  gap: 0.75rem;
}

.side-teacher {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  transition: border-color 0.2s var(--ease);
}

.side-teacher:hover {
  border-color: var(--gold-soft);
  color: inherit;
}

.side-teacher strong {
  display: block;
  font-size: 0.95rem;
}

.side-teacher span {
  color: var(--muted);
  font-size: 0.82rem;
}

.teacher-photo.mini {
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
}

.map-frame {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.02);
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 7, 6, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(100%, 980px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: var(--radius);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.to-top {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 5.5rem;
  z-index: 55;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.95);
  color: var(--ink);
  border-radius: var(--radius);
  display: none;
  place-items: center;
  box-shadow: var(--shadow-soft);
  font-size: 1.1rem;
}

.to-top.is-visible {
  display: grid;
}

@media (min-width: 769px) {
  .to-top {
    bottom: 1.5rem;
  }
}

@media (max-width: 960px) {
  .about-split,
  .founder-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Blog + Search */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.post-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quote-card {
  margin: 0;
  padding: 1.65rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-inline-start: 3px solid var(--gold);
}

.event-card {
  display: block;
  padding: 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.event-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.post-card a {
  display: block;
  color: inherit;
  height: 100%;
}

.post-card a:hover {
  color: inherit;
}

.post-cover {
  overflow: hidden;
  background: var(--dark);
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.post-card:hover .post-cover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.post-body {
  padding: 1.25rem 1.2rem 1.4rem;
}

.post-body time,
.post-body .meta,
.page-hero .meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.post-body h2,
.post-body h3 {
  font-size: 1.15rem;
  margin: 0.45rem 0 0.55rem;
}

.post-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.post-hero-cover {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-hero-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.search-form input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 124, 61, 0.16);
}

.search-block {
  margin-top: 2rem;
}

.search-block h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.search-list li + li {
  border-top: 1px solid var(--line);
}

.search-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  color: inherit;
}

.search-list a:hover {
  background: rgba(166, 124, 61, 0.06);
  color: inherit;
}

.search-list span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .post-grid,
  .search-form {
    grid-template-columns: 1fr;
  }
}

/* Testimonials + Events + Enroll steps + WhatsApp */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.quote-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.quote-card footer {
  display: grid;
  gap: 0.15rem;
}

.quote-card strong {
  font-size: 0.95rem;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.events-empty-section {
  padding-block: clamp(4rem, 12vh, 8rem);
}

.events-empty {
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
  padding: 0 1rem;
}

.events-empty-kicker {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.events-empty-message {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.9;
}

.event-card time {
  display: block;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.event-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.enroll-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.enroll-steps li {
  background: var(--surface);
  padding: 1.25rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.enroll-steps strong {
  font-size: 1rem;
}

.enroll-steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

.wa-float {
  position: fixed;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  z-index: 58;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f8b4d;
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 139, 77, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  background: #187a42;
  color: #fff;
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 5.2rem;
  }

  .quote-grid,
  .event-grid,
  .enroll-steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .to-top {
    inset-inline-end: 5rem;
  }
}

.flash-error,
.flash-error {
  background: #fdecec;
  border-color: #f5c2c2;
  color: #9b2c2c;
}

.flash-success {
  background: #eaf6ec;
  border-color: #b7dfbf;
}

.flash-info {
  background: #eef3f8;
  border-color: #c5d5e6;
}

.instrument-picks {
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom .copyright {
    font-size: 0.8rem;
  }
}

.chip-btn {
  cursor: pointer;
  font-family: inherit;
  background: var(--surface);
}

.chip-btn.is-selected,
.chip-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.access-list {
  margin: 1rem 0 0;
  padding: 0 1.1rem 0 0;
  color: var(--ink-soft);
  display: grid;
  gap: 0.55rem;
}

/* —— Modern polish (UI UX Pro Max) —— */
.heritage-band {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.heritage-band .prose {
  margin-inline: auto;
}

.heritage-band .text-link {
  margin-top: 0.35rem;
}

.hero-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 1.35rem;
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transform: translateX(50%);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

html[dir="rtl"] .hero-scroll {
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.map-frame,
.stat-stack,
.enroll-steps,
.search-list,
.info-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.side-teacher {
  border-radius: var(--radius-sm);
}

.mobile-cta {
  border-radius: 16px 16px 0 0;
  margin-inline: 0.5rem;
  inset-inline: 0.5rem;
  width: auto;
  overflow: hidden;
}

.wa-float {
  border-radius: 16px;
}

.nav-links a {
  border-radius: 10px;
}

@media (max-width: 1100px) {
  .nav-links a {
    border-radius: 0;
  }
}

.page-home .site-header:not(.is-scrolled) .header-inner {
  background: rgba(14, 13, 12, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.2);
}

.page-home .site-header:not(.is-scrolled) .brand,
.page-home .site-header:not(.is-scrolled) .brand-text small,
.page-home .site-header:not(.is-scrolled) .nav-icon,
.page-home .site-header:not(.is-scrolled) .nav-toggle {
  color: rgba(255, 254, 251, 0.92);
}

@media (min-width: 1101px) {
  .page-home .site-header:not(.is-scrolled) .nav-links a {
    color: rgba(255, 254, 251, 0.92);
  }

  .page-home .site-header:not(.is-scrolled) .nav-links a:hover,
  .page-home .site-header:not(.is-scrolled) .nav-links a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
}

.page-home .site-header:not(.is-scrolled) .brand-text small {
  color: rgba(255, 254, 251, 0.55);
}

.page-home .site-header:not(.is-scrolled) .brand-mark {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle span:not(.sr-only) {
  background: #fff;
}

.page-home .site-header:not(.is-scrolled) .header-cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.page-home .site-header:not(.is-scrolled) .header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider img {
    transition: opacity 0.01ms;
    transform: none !important;
  }

  .hero-scroll span {
    animation: none;
  }
}


/* —— Course detail page —— */
.cd-hero-inner {
  max-width: 40rem;
}

.cd-cover {
  aspect-ratio: 4 / 3;
}

.cd-cover img {
  object-position: center;
}

.cd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cd-meta span {
  position: relative;
}

.cd-meta span:not(:last-child)::after {
  content: "·";
  position: absolute;
  inset-inline-start: calc(100% + 0.4rem);
  color: var(--line-strong, var(--line));
}

.cd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.5rem;
}

.cd-about {
  max-width: 46rem;
}

.cd-about h2 {
  margin: 0.3rem 0 1.15rem;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
}

.cd-rich {
  max-width: 46rem;
}

.cd-rich > *:first-child {
  margin-top: 0;
}

.cd-rich h2 {
  margin: 2.25rem 0 0.9rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.cd-rich h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  font-weight: 700;
}

.cd-rich p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.cd-rich ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.cd-rich li {
  position: relative;
  padding-inline-start: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.cd-rich li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.cd-facts {
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.cd-facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.cd-facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.cd-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.cd-teachers {
  display: grid;
  border-top: 1px solid var(--line);
}

.cd-teacher {
  display: grid;
  grid-template-columns: 4.25rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease);
}

.cd-teacher:hover {
  color: inherit;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.cd-teacher-photo {
  width: 4.25rem;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark);
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 700;
}

.cd-teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: filter 0.35s var(--ease), transform 0.45s var(--ease);
}

.cd-teacher:hover .cd-teacher-photo img {
  filter: grayscale(0.05);
  transform: scale(1.03);
}

.cd-teacher-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.cd-teacher-body strong {
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.cd-teacher:hover .cd-teacher-body strong {
  color: var(--gold);
}

.cd-teacher-body span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cd-teacher-action {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.22s var(--ease);
}

.cd-teacher:hover .cd-teacher-action {
  color: var(--gold);
  transform: translateX(-4px);
}

.cd-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.cd-cta h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.cd-cta p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.cd-related-section {
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .cd-facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .cd-teacher {
    grid-template-columns: 3.75rem 1fr;
  }

  .cd-teacher-action {
    display: none;
  }

  .cd-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cd-actions .text-link {
    text-align: center;
  }

  .cd-cta {
    flex-direction: column;
    align-items: start;
  }
}

/* Consult / enroll (phone-first, no forms) */
.enroll-hero-inner {
  max-width: 38rem;
}

.enroll-hero h1 {
  max-width: 14ch;
}

.enroll-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.enroll-stage-section {
  padding-top: 0.5rem;
}

.enroll-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.enroll-board {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(184, 149, 76, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(184, 149, 76, 0.12), transparent 50%),
    linear-gradient(155deg, #151310 0%, #1f1b16 48%, #12100e 100%);
  border: 1px solid rgba(217, 196, 154, 0.18);
}

.enroll-board-glow {
  position: absolute;
  inset-inline-end: -18%;
  top: -30%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 76, 0.22), transparent 68%);
  pointer-events: none;
  animation: enroll-glow 8s ease-in-out infinite alternate;
}

@keyframes enroll-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.75; }
  to { transform: translate(-8%, 10%) scale(1.08); opacity: 1; }
}

.enroll-board > *:not(.enroll-board-glow) {
  position: relative;
  z-index: 1;
}

.enroll-board-kicker {
  margin: 0 0 0.65rem;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.enroll-board h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.enroll-board-lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 250, 242, 0.72);
  line-height: 1.8;
  max-width: 34rem;
}

.enroll-preselect {
  margin: 0 0 1.25rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(217, 196, 154, 0.28);
  background: rgba(184, 149, 76, 0.12);
  color: rgba(255, 250, 242, 0.88);
  font-size: 0.92rem;
}

.enroll-preselect strong {
  color: var(--gold-soft);
}

.enroll-numbers {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.enroll-number {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label hint"
    "num num";
  gap: 0.2rem 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: rgba(255, 250, 242, 0.035);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.28s var(--ease);
  cursor: pointer;
}

.enroll-number:hover {
  color: inherit;
  border-color: rgba(217, 196, 154, 0.45);
  background: rgba(184, 149, 76, 0.14);
  transform: translateY(-2px);
}

.enroll-number-label {
  grid-area: label;
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.8rem;
}

.enroll-number-hint {
  grid-area: hint;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  align-self: start;
}

.enroll-number strong {
  grid-area: num;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.enroll-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.enroll-btn-light {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #141210 !important;
}

.enroll-btn-light:hover {
  background: var(--gold-soft) !important;
  border-color: var(--gold-soft) !important;
}

.enroll-btn-ghost {
  color: rgba(255, 250, 242, 0.92) !important;
  border-color: rgba(255, 250, 242, 0.28) !important;
  background: transparent !important;
}

.enroll-btn-ghost:hover {
  border-color: var(--gold-soft) !important;
  color: var(--gold-soft) !important;
}

.enroll-hours {
  margin: 1.35rem 0 0;
  color: rgba(255, 250, 242, 0.5);
  font-size: 0.88rem;
}

.enroll-side {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: 0.25rem;
}

.enroll-path h2,
.enroll-instruments h2 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

.enroll-path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.enroll-path-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}

.enroll-path-list li:hover {
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.enroll-path-i {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.enroll-path-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.02rem;
}

.enroll-path-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.enroll-instruments-lead {
  margin: -0.35rem 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.75;
}

.enroll-instrument-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.enroll-instrument {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.65);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    border-color 0.22s var(--ease),
    color 0.22s var(--ease),
    background 0.22s var(--ease),
    transform 0.22s var(--ease);
  cursor: pointer;
}

.enroll-instrument:hover {
  border-color: rgba(184, 149, 76, 0.55);
  color: var(--gold-deep);
  transform: translateY(-1px);
}

.enroll-instrument.is-active {
  border-color: var(--gold);
  background: rgba(184, 149, 76, 0.1);
  color: var(--gold-deep);
}

.enroll-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.enroll-more p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* shared consult partial (contact / thanks) */
.consult-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.consult-steps li {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.1rem;
  border-inline-start: 1px solid var(--line);
}

.consult-steps li:first-child {
  border-inline-start: none;
}

.consult-step-i {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.consult-steps strong {
  font-size: 1.05rem;
}

.consult-steps span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.consult-instrument-note {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.consult-call {
  max-width: 40rem;
}

.consult-call h2 {
  margin: 0.3rem 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.consult-lead {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.consult-numbers {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.consult-number {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

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

.consult-number:hover {
  color: var(--gold);
}

.consult-number-label {
  color: var(--muted);
  font-size: 0.84rem;
}

.consult-number strong {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.consult-hours {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.consult-instruments {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.consult-instruments-label {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.consult-instruments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-layout-solo {
  align-items: start;
}

.contact-consult-panel {
  padding-top: 0.25rem;
}

@media (max-width: 960px) {
  .enroll-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .consult-steps {
    grid-template-columns: 1fr;
  }

  .consult-steps li {
    border-inline-start: none;
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }

  .consult-steps li:first-child {
    border-top: none;
  }

  .consult-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .enroll-hero-actions,
  .enroll-board-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .enroll-instrument-grid {
    grid-template-columns: 1fr 1fr;
  }

  .enroll-number strong {
    font-size: 1.35rem;
  }
}

/* legacy course-detail hooks (kept for safety) */
.course-detail-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.course-detail-intro {
  max-width: 40rem;
}

.course-detail-tags {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.75fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.course-facts {
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.course-facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.course-teachers {
  display: grid;
  gap: 0.35rem;
}

.course-related-section {
  border-top: 1px solid var(--line);
}

/* —— About page (long-form editorial) —— */
.about-story-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(12rem, 0.7fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-story-copy {
  max-width: 42rem;
}

.about-prose {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 2;
}

.about-prose p {
  margin: 0 0 1.25rem;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-meta-item {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.about-meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.about-meta-item strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.about-bio-section {
  border-top: 1px solid var(--line);
}

.about-founders-section {
  border-top: 1px solid var(--line);
}

.about-founders-head {
  margin-bottom: 1.75rem;
}

.about-founders-head h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.about-founders-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-founder-card {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease);
}

.about-founder-card:hover {
  color: inherit;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.about-founder-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark);
  border-radius: 2px;
}

.about-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: filter 0.35s var(--ease), transform 0.45s var(--ease);
}

.about-founder-card:hover .about-founder-photo img {
  filter: grayscale(0.05);
  transform: scale(1.03);
}

.about-founder-copy {
  min-width: 0;
}

.about-founder-copy h3 {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  transition: color 0.2s ease;
}

.about-founder-card:hover .about-founder-copy h3 {
  color: var(--gold);
}

.about-founder-copy p {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.about-founder-card:not(:has(.about-founder-photo)) {
  grid-template-columns: 1fr;
}

.founder-prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.95;
}

.founder-related-section {
  border-top: 1px solid var(--line);
}

.founder-related-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  max-width: 40rem;
  transition: color 0.2s ease;
}

.founder-related-card:hover {
  color: var(--gold);
}

.founder-related-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.founder-related-card strong {
  font-size: 1.2rem;
}

.founder-related-card span {
  color: var(--ink-soft);
  line-height: 1.8;
}

.founder-related-card em {
  font-style: normal;
  color: var(--gold-deep, var(--gold));
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .about-founder-card {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.95rem;
    padding: 1.2rem 0;
  }

  .about-founder-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
  }
}

.about-bio-houshang {
  background:
    linear-gradient(180deg, #12100e 0%, #1a1714 100%);
  color: rgba(255, 254, 251, 0.84);
  border-top: none;
}

.about-bio-houshang .eyebrow {
  color: var(--gold-soft);
}

.about-bio-houshang h2 {
  color: var(--white);
}

.about-bio {
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.about-bio-solo {
  grid-template-columns: 1fr;
  max-width: 46rem;
}

.about-bio-photo {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.about-bio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(0.28) contrast(1.04);
}

.about-bio-photo figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 254, 251, 0.55);
  font-size: 0.86rem;
}

.about-bio-copy {
  max-width: 40rem;
}

.about-bio-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 2;
  color: inherit;
}

.about-bio-houshang .about-bio-lead {
  color: rgba(255, 254, 251, 0.88);
}

.about-bio-parvin .about-bio-lead {
  color: var(--ink-soft);
}

.about-bio-fold {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.85rem;
}

.about-bio-parvin .about-bio-fold {
  border-top-color: var(--line);
}

.about-bio-fold > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  user-select: none;
}

.about-bio-parvin .about-bio-fold > summary {
  color: var(--gold-deep);
}

.about-bio-fold > summary::-webkit-details-marker {
  display: none;
}

.about-bio-fold > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  margin-top: -0.2rem;
}

.about-bio-fold[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.about-bio-fold .about-prose {
  margin-top: 1.1rem;
}

.about-bio-houshang .about-prose {
  color: rgba(255, 254, 251, 0.72);
}

.about-principles-section {
  border-top: 1px solid var(--line);
}

.about-principles-head {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.about-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-principles li {
  background: var(--surface);
  padding: clamp(1.35rem, 3vw, 1.75rem);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.about-principle-index {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-principles strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.about-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .about-story,
  .about-bio {
    grid-template-columns: 1fr;
  }

  .about-bio-photo {
    position: static;
    max-width: 22rem;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.contact-hero-inner {
  max-width: 46rem;
}

.contact-intro {
  margin-top: 1.25rem;
}

.contact-panel h2,
.contact-form-panel h2,
.contact-access h2,
.contact-channels-section h2 {
  margin: 0.35rem 0 1.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.contact-blocks {
  display: grid;
  gap: 1.35rem;
}

.contact-block h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
}

.contact-block p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.contact-block a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-block a:hover {
  color: var(--gold);
  border-bottom-color: rgba(184, 149, 76, 0.45);
}

.contact-note {
  margin-top: 0.55rem !important;
  font-size: 0.92rem;
  color: var(--muted) !important;
}

.contact-form-lead,
.contact-channels-lead,
.contact-channels-foot {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 40rem;
}

.contact-form-panel .form-stack {
  margin-top: 0.25rem;
}

.contact-access-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.contact-access-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.contact-access-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.contact-channels {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.contact-channels > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-channels dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-channels dd {
  margin: 0;
  color: var(--ink-soft);
}

.contact-channels a {
  color: inherit;
  text-decoration: none;
}

.contact-channels a:hover {
  color: var(--gold);
}

.contact-channels-foot {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .contact-channels > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Blog editorial list */
.blog-hero-inner {
  max-width: 40rem;
}

.blog-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 36rem;
}

.blog-search input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
}

.blog-search input[type="search"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 124, 61, 0.16);
}

.blog-search-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-count {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-cluster-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.blog-cluster-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.blog-cluster-chip:hover {
  border-color: rgba(184, 149, 76, 0.5);
  color: var(--gold-deep);
  background: rgba(184, 149, 76, 0.08);
}

.blog-course-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.blog-course-cta h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

.blog-course-cta p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 40rem;
}

.blog-course-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.cd-cluster-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 640px) {
  .blog-search {
    grid-template-columns: 1fr;
  }
}

.blog-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.blog-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.22s var(--ease), padding 0.22s var(--ease);
  cursor: pointer;
}

.blog-row:hover {
  color: inherit;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.blog-row-index {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 0.35rem;
}

.blog-row-body time {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.blog-row-body h2,
.blog-row-body h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.blog-row:hover .blog-row-body h2,
.blog-row:hover .blog-row-body h3 {
  color: var(--gold);
}

.blog-row-body p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.8;
}

.blog-row-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.22s var(--ease);
}

.blog-row:hover .blog-row-action {
  color: var(--gold);
  transform: translateX(-4px);
}

.blog-empty {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
}

.blog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-list-home .blog-row-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 720px) {
  .blog-row {
    grid-template-columns: 2.25rem 1fr;
    gap: 0.85rem;
    padding: 1.15rem 0;
  }

  .blog-row-action {
    display: none;
  }

  .blog-row-body p {
    font-size: 0.9rem;
  }
}

/* Teachers page */
.teachers-hero-inner {
  max-width: 40rem;
}

.teachers-count {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.teachers-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.teacher-row {
  display: grid;
  grid-template-columns: 2.75rem 5.5rem 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease);
}

.teacher-row:hover {
  color: inherit;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 76, 0.05), transparent);
}

.teacher-row-index {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.teacher-row-photo {
  width: 5.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark);
  border-radius: 2px;
}

.teacher-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.teacher-row:hover .teacher-row-photo img {
  transform: scale(1.04);
  filter: grayscale(0.05);
}

.teacher-row-photo .photo-fallback {
  font-size: 1.35rem;
}

.teacher-row-meta {
  margin: 0 0 0.3rem;
  color: var(--gold-deep, var(--gold));
  font-size: 0.86rem;
  font-weight: 600;
}

.teacher-row-body h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.teacher-row:hover .teacher-row-body h2 {
  color: var(--gold);
}

.teacher-row-body p:not(.teacher-row-meta) {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.75;
}

.teacher-row-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.22s var(--ease);
}

.teacher-row:hover .teacher-row-action {
  color: var(--gold);
  transform: translateX(-4px);
}

.teachers-empty {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
}

.teachers-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.teachers-cta h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.teachers-cta p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.teacher-profile {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
  margin-top: 0.5rem;
}

.teacher-profile-photo {
  margin: 0;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.teacher-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
}

.teacher-profile-copy .lead {
  max-width: 36rem;
}

.teacher-profile-copy .btn {
  margin-top: 0.5rem;
}

.teacher-bio-section h2 {
  margin: 0.35rem 0 1.25rem;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
}

.teacher-courses {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.teacher-course-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.teacher-course-row:hover {
  color: var(--gold);
}

.teacher-course-row span,
.teacher-course-row em {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
}

.teacher-course-row strong {
  font-size: 1.02rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .teacher-profile {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .teacher-profile-photo {
    max-width: 16rem;
  }
}

@media (max-width: 720px) {
  .teacher-row {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.95rem;
    padding: 1.1rem 0;
  }

  .teacher-row-index,
  .teacher-row-action {
    display: none;
  }

  .teacher-row-photo {
    width: 4.5rem;
  }

  .teacher-row-body p:not(.teacher-row-meta) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
  }

  .teachers-cta {
    flex-direction: column;
    align-items: start;
  }

  .teacher-course-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Teacher detail */
.td-hero {
  padding-bottom: 0.35rem;
  border-bottom: none;
  background: transparent;
}

.td-hero .breadcrumbs {
  margin-bottom: 0;
}

.td-profile-section {
  padding-top: 0.75rem;
}

.td-profile {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 3.75rem);
  align-items: end;
}

.td-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.td-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.18);
  transition: filter 0.45s var(--ease), transform 0.7s var(--ease);
}

.td-photo:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.td-photo figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.95rem;
  background: linear-gradient(transparent, rgba(18, 14, 10, 0.72));
  color: #f5efe6;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.td-photo .photo-fallback {
  min-height: 100%;
  font-size: 3rem;
}

.td-intro {
  padding-bottom: 0.35rem;
  max-width: 36rem;
}

.td-intro h1 {
  margin: 0.2rem 0 0.65rem;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.3;
  max-width: 18ch;
}

.td-instruments {
  margin: 0 0 1rem;
  color: var(--gold-deep, var(--gold));
  font-size: 0.98rem;
  font-weight: 600;
}

.td-lead {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

.td-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.td-bio {
  max-width: 42rem;
}

.td-bio h2 {
  margin: 0.3rem 0 1.15rem;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
}

.td-bio-lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.95;
}

.td-bio-fold {
  margin-top: 0.35rem;
}

.td-courses-list {
  margin-top: 0.25rem;
}

.td-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.td-cta h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.td-cta p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .td-profile {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .td-photo {
    max-width: 20rem;
  }
}

@media (max-width: 640px) {
  .td-photo {
    max-width: none;
    width: 100%;
    aspect-ratio: 5 / 6;
  }

  .td-intro h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .td-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .td-actions .text-link {
    text-align: center;
  }

  .td-cta {
    flex-direction: column;
    align-items: start;
  }
}
