/* ─────────────────────────────────────────────────────────────
   CHU HUYỀN — Violinist & Tutor
   Dark luxury · cinematic editorial
   ───────────────────────────────────────────────────────────── */

:root {
  --bg-0: #0e0e0e;
  --bg-1: #121212;
  --bg-2: #1a1a1a;
  --bg-3: #232323;
  --line: rgba(216, 195, 165, 0.14);
  --line-strong: rgba(216, 195, 165, 0.28);
  --gold: #d8c3a5;
  --gold-soft: #b9a88c;
  --brown: #8a5a3b;
  --text: #f5f5f5;
  --text-dim: #b8b8b8;
  --text-faint: #6e6e6e;

  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --body: "Inter", "Manrope", -apple-system, system-ui, sans-serif;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg-1);
  color: var(--text);
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Subtle film grain on whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: radial-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ─── Typography ─────────────────────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.display em {
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.numeral {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.06em;
}

/* ─── Layout helpers ─────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 80px;
}

.section-head .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--text-faint);
  font-size: 25px;
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.section-head .num span {
  color: var(--gold);
  margin-right: 14px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 65px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 45ch;
}

.section-head h2 em {
  font-style: italic;
  color: var(--gold);
}

@media (max-width: 720px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--text);
  background: linear-gradient(135deg, rgba(216, 195, 165, 0.06), rgba(216, 195, 165, 0));
  position: relative;
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}

.btn .arr {
  display: inline-block;
  transition: transform .5s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: -1;
}

.btn:hover {
  color: #121212;
  border-color: var(--gold);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:hover .arr {
  transform: translateX(6px);
}

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

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

.btn.ghost:hover::before {
  transform: translateY(101%);
}

.btn.gold {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

.btn.gold::before {
  background: #fff;
}

.btn.gold:hover {
  color: #121212;
}

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s var(--ease);
}

.nav.scrolled {
  padding: 14px var(--gutter);
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.nav .brand .mono {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.nav .menu {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav .menu a {
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}

.nav .menu a:hover {
  color: var(--gold);
}

.nav .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease);
}

.nav .menu a:hover::after {
  width: 100%;
}

.nav .cta {
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all .4s var(--ease);
}

.nav .cta:hover {
  background: var(--gold);
  color: #121212;
}

.nav .burger {
  display: none;
}

@media (max-width: 900px) {

  .nav .menu,
  .nav .cta {
    display: none;
  }

  .nav .burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    z-index: 100;
  }

  .nav .burger span {
    width: 18px;
    height: 1px;
    background: var(--text);
    position: relative;
    transition: background .3s;
  }

  .nav .burger span::before,
  .nav .burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: var(--text);
    transition: transform .3s, top .3s;
  }

  .nav .burger span::before {
    top: -6px;
  }

  .nav .burger span::after {
    top: 6px;
  }

  /* Burger active transformation (X) */
  .nav.open .burger span {
    background: transparent;
  }

  .nav.open .burger span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav.open .burger span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Mobile menu open overlay state */
  .nav.open .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    z-index: 90;
    gap: 28px;
    font-size: 20px;
    letter-spacing: 0.16em;
    animation: mobileMenuFadeIn 0.4s var(--ease) forwards;
  }

  .nav.open .menu a {
    opacity: 0;
    transform: translateY(12px);
    animation: mobileMenuItemReveal 0.4s var(--ease) forwards;
  }

  /* Stagger item entrance animations */
  .nav.open .menu a:nth-child(1) {
    animation-delay: 0.08s;
  }

  .nav.open .menu a:nth-child(2) {
    animation-delay: 0.14s;
  }

  .nav.open .menu a:nth-child(3) {
    animation-delay: 0.20s;
  }

  .nav.open .menu a:nth-child(4) {
    animation-delay: 0.26s;
  }

  .nav.open .menu a:nth-child(5) {
    animation-delay: 0.32s;
  }

  .nav.open .menu a:nth-child(6) {
    animation-delay: 0.38s;
  }
}

@keyframes mobileMenuFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -20%;
  width: 80vw;
  height: 110vh;
  background: radial-gradient(ellipse at center, rgba(216, 195, 165, 0.18), rgba(138, 90, 59, 0.06) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-copy .eyebrow {
  margin-bottom: 36px;
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(54px, 5.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-copy h1 .small {
  font-size: 0.58em;
  font-style: italic;
  color: var(--text-dim);
  display: block;
  letter-spacing: 0;
  margin-top: 10px;
}

.hero-copy .lead {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  margin-left: auto;
  width: min(520px, 100%);
  display: grid;
  place-items: center;
}

.hero-portrait .frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-portrait .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(0.92) contrast(1.05) saturate(0.95);
  transition: transform 1.6s var(--ease);
}

.hero-portrait .glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 55% 40%, rgba(216, 195, 165, 0.28), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.hero-portrait .gold-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.6;
}

.hero-portrait .gold-line.v1 {
  top: 8%;
  bottom: 8%;
  left: -22px;
}

.hero-portrait .gold-line.v2 {
  top: 28%;
  bottom: -8%;
  right: -22px;
}

.hero-portrait .tag {
  position: absolute;
  bottom: 0;
  left: -24px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-portrait .badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
}

.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero-marquee .track {
  display: inline-flex;
  gap: 60px;
  padding-left: 60px;
  animation: marquee 40s linear infinite;
}

.hero-marquee .track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.hero-marquee .track span::after {
  content: "✦";
  color: var(--gold);
}

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

.hero-scroll-cue {
  position: absolute;
  bottom: 80px;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 3;
}

.hero-scroll-cue .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -48px;
  left: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  to {
    top: 100%;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 140px;
    min-height: auto;
  }

  .hero-portrait {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-marquee {
    position: static;
  }
}

/* ─── About ──────────────────────────────────────────────────── */
.about {
  background: var(--bg-1);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: brightness(0.95) contrast(1.05);
  transition: transform 2s var(--ease);
}

.about-portrait:hover img {
  transform: scale(1.04);
}

.about-portrait .corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid var(--gold);
}

.about-portrait .corner.tl {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.about-portrait .corner.br {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.about-portrait .quote-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--gold);
  padding: 22px 26px;
  max-width: 78%;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.about-portrait .quote-tag::before {
  content: "“";
  font-family: var(--display);
  font-size: 60px;
  color: var(--gold);
  line-height: 0.6;
  margin-right: 6px;
  vertical-align: -10px;
}

.about-portrait .quote-tag cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.about-copy h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 100%;
}

.about-copy h3 em {
  color: var(--gold);
  font-style: italic;
}

.about-copy p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 56ch;
}

.about-copy p .accent {
  color: var(--gold);
  font-style: italic;
  font-family: var(--display);
  font-size: 1.08em;
}

.about-sign {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.about-sign .sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.stat:last-child {
  border-right: 0;
}

.stat .n {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat .n sup {
  font-size: 0.4em;
  color: var(--gold-soft);
}

.stat .label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ─── Services ───────────────────────────────────────────────── */
.services {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(138, 90, 59, 0.12), transparent 50%),
    var(--bg-0);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)), var(--bg-1);
  padding: 52px 48px 44px;
  position: relative;
  overflow: hidden;
  transition: background .6s var(--ease);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 195, 165, 0.16), transparent 50%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.service:hover::after {
  opacity: 1;
}

.service:hover .arrow {
  transform: translate(6px, -6px);
  color: var(--gold);
}

.service:hover .glassmorph {
  background: rgba(216, 195, 165, 0.06);
  border-color: var(--line-strong);
}

.service .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.service .icon {
  margin-top: 18px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.service h3 {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 100%;
}

.service p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 36ch;
}

.service-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.service .glassmorph {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all .4s var(--ease);
}

.service .glassmorph .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.service .arrow {
  font-family: var(--display);
  font-size: 24px;
  color: var(--text-dim);
  transition: all .5s var(--ease);
}

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

  .service {
    padding: 40px 28px;
    min-height: auto;
  }
}

/* ─── Academy ────────────────────────────────────────────────── */
.academy {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

.academy::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(216, 195, 165, 0.06), transparent 60%);
  pointer-events: none;
}

.academy-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.academy-copy h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 100%;
}

.academy-copy h3 em {
  font-style: italic;
  color: var(--gold);
}

.academy-copy p {
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 18px;
  max-width: 52ch;
}

.curriculum {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.curriculum li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
  transition: padding .4s var(--ease), color .4s var(--ease);
}

.curriculum li:hover {
  padding-left: 8px;
}

.curriculum li .lvl {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.curriculum li .name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}

.curriculum li .meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(216, 195, 165, 0.04);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all .4s var(--ease);
}

.badge-pill:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(216, 195, 165, 0.08);
}

.badge-pill .check {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.academy-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--bg-2);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .5s var(--ease);
}

.lesson-card:hover {
  border-color: var(--line-strong);
}

.lesson-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.lesson-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
}

.lesson-card .price {
  font-family: var(--display);
  font-style: italic;
  font-size: 25px;
  color: var(--gold);
  padding-right: 2rem;
}

.lesson-card .price .small {
  font-size: 20px;
  color: var(--text-faint);
  margin-left: 4px;
}

.lesson-card .includes {
  list-style: none;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.lesson-card .includes li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 6px 0 6px 22px;
  position: relative;
}

.lesson-card .includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.lesson-card .cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lesson-card .cta-row a {
  color: var(--gold);
}

.lesson-card.feature {
  background: linear-gradient(180deg, rgba(216, 195, 165, 0.08), transparent 70%), var(--bg-2);
  border-color: var(--line-strong);
}

.lesson-card .ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  background: var(--gold);
  color: #121212;
  padding: 4px 36px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(35deg);
  font-weight: 500;
}

@media (max-width: 980px) {
  .academy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── Achievements timeline ─────────────────────────────────── */
.achievements {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(216, 195, 165, 0.06), transparent 50%),
    var(--bg-0);
}

.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  opacity: 0.5;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 32px 0 48px;
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 44px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(216, 195, 165, 0.15), 0 0 22px rgba(216, 195, 165, 0.5);
}

.tl-item .year {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.tl-item .year .sub {
  display: block;
  font-style: normal;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 14px;
}

.tl-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--bg-2);
  border: 1px solid var(--line);
  padding: 28px 32px;
  position: relative;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}

.tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.tl-card h4 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.tl-card .place {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.tl-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

.tl-card .tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-card .tags span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 4px 10px;
  border: 1px solid var(--line);
}

@media (max-width: 760px) {
  .tl-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Gallery ────────────────────────────────────────────────── */
.gallery {
  background: var(--bg-1);
}

.masonry-wrapper {
  width: 100%;
}

.masonry {
  column-count: 4;
  column-gap: 20px;
  width: 100%;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 14, 14, 0.7));
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 1;
}

.tile:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(216, 195, 165, 0.12), 0 8px 16px rgba(0, 0, 0, 0.4);
}

.tile:hover::after {
  opacity: 1;
}

.tile .ph {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.tile .ph img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), filter .6s ease;
}

.tile:hover .ph img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .masonry {
    column-count: 3;
    column-gap: 16px;
  }

  .tile {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .masonry {
    column-count: 2;
    column-gap: 14px;
  }

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

@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

/* ─── Cinematic Lightbox ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox.active .lightbox-content img {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 38px;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s, transform 0.3s;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 10000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(216, 195, 165, 0.08);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 12px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .lightbox-next {
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }
}

/* ─── Student Achievements ───────────────────────────────────── */
.student-achievements {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 195, 165, 0.08), transparent 50%),
    var(--bg-0);
  position: relative;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.student-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}

.student-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(216, 195, 165, 0.08), 0 8px 16px rgba(0, 0, 0, 0.4);
}

.cert-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

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

.student-card:hover .cert-img-wrap img {
  transform: scale(1.06);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}

.student-card:hover .cert-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  background: rgba(14, 14, 14, 0.8);
  transition: transform 0.4s var(--ease);
}

.student-card:hover .zoom-icon {
  transform: scale(1.1);
}

.zoom-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none !important;
  stroke: currentColor !important;
}

.zoom-icon svg path,
.zoom-icon svg circle,
.zoom-icon svg line {
  fill: none !important;
  stroke: currentColor !important;
}

.cert-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.cert-info h4 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cert-info p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

/* Lightbox caption styling */
.lightbox-caption {
  margin-top: 20px;
  text-align: center;
  max-width: 600px;
  color: var(--text);
  padding: 0 16px;
}

.lightbox-caption h3 {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 8px;
}

.lightbox-caption p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .student-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .student-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cert-info {
    padding: 22px;
  }
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonials {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 195, 165, 0.08), transparent 50%),
    var(--bg-0);
  position: relative;
}

.test-stage {
  position: relative;
  margin-top: 24px;
  min-height: 360px;
}

.test-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  padding: 56px 56px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}

.test-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.test-card .who {
  border-right: 1px solid var(--line);
  padding-right: 40px;
}

.test-card .who .ava {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  overflow: hidden;
}

.test-card .who .ava.has-img {
  padding: 0;
  border: 1px solid var(--gold);
}

.test-card .who .ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-card .who .name {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
}

.test-card .who .role {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.test-card .stars {
  margin-top: 18px;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 14px;
}

.test-card blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  color: var(--text);
  position: relative;
  padding-left: 50px;
}

.test-card blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -28px;
  font-size: 120px;
  color: var(--gold);
  line-height: 1;
  font-family: var(--display);
}

.test-card .occasion {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.test-controls {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.test-dots {
  display: flex;
  gap: 12px;
}

.test-dots button {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
  transition: background .4s, transform .4s;
}

.test-dots button.active {
  background: var(--gold);
  transform: scaleY(2);
}

.test-arrows {
  display: flex;
  gap: 12px;
}

.test-arrows button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 20px;
  transition: all .4s var(--ease);
}

.test-arrows button:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 760px) {
  .test-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 28px;
  }

  .test-card .who {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 24px;
  }

  .test-card blockquote {
    padding-left: 30px;
  }
}

/* ─── Booking CTA ────────────────────────────────────────────── */
.booking {
  position: relative;
  padding: clamp(100px, 18vh, 200px) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.booking .bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(216, 195, 165, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 50%, var(--bg-0));
  z-index: -2;
}

.booking .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(216, 195, 165, 0.04) 2px, rgba(216, 195, 165, 0.04) 3px);
}

.booking h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 110px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 36ch;
  margin: 24px auto 0;
  text-wrap: balance;
}

.booking h2 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.booking .lead {
  margin: 24px auto 40px;
  max-width: 56ch;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.85;
}

/* Form & Tab Styling */
.booking-container {
  max-width: 860px;
  margin: 0 auto;
}

.booking-header {
  text-align: center;
}

.booking-tabs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.booking-tab {
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s var(--ease);
}

.booking-tab:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(216, 195, 165, 0.04);
}

.booking-tab.active {
  color: #121212;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 8px 24px rgba(216, 195, 165, 0.15);
}

.booking-form-wrapper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)), var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 48px);
  text-align: left;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.booking-form {
  display: none;
}

.booking-form.active {
  display: block;
  animation: formFadeIn 0.6s var(--ease) forwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text) !important;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23d8c3a5' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-2);
  color: var(--text);
}

.form-control::placeholder {
  color: var(--text-faint);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(216, 195, 165, 0.12);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #ff4a4a !important;
  background: rgba(255, 74, 74, 0.02) !important;
}

.form-error {
  font-size: 11px;
  color: #ff4a4a;
  margin-top: 6px;
  min-height: 16px;
}

/* Spinner Loading */
.btn-spinner {
  display: inline-block;
  width: 0;
  height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  margin-left: 0;
  opacity: 0;
  transition: all 0.3s var(--ease);
  vertical-align: middle;
}

.submit-btn.submitting .btn-spinner {
  width: 12px;
  margin-left: 8px;
  opacity: 1;
  animation: btnSpinnerRotate 0.8s linear infinite;
}

.submit-btn.submitting .arr {
  display: none;
}

@keyframes btnSpinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* Success Modal specific styling */
.success-modal-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)), var(--bg-1) !important;
  border: 1px solid var(--line-strong) !important;
  padding: 44px !important;
  border-radius: 16px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85) !important;
}

.success-icon-wrap svg {
  animation: successScaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successScaleIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.booking-meta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.booking-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.booking-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq {
  background: var(--bg-1);
}

.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin-bottom: 22px;
}

.faq-aside h3 em {
  font-style: italic;
  color: var(--gold);
}

.faq-aside p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 36ch;
}

.faq-aside .contact-card {
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 20px;
}

.faq-aside .contact-card .lbl {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.faq-aside .contact-card .val {
  font-family: var(--body);
  font-size: 16px;
  color: var(--gold);
}

.faq-list .qa {
  border-top: 1px solid var(--line);
}

.faq-list .qa:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list .qa summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  gap: 20px;
  align-items: center;
  transition: color .4s;
}

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

.faq-list .qa summary .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.faq-list .qa summary .q {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text);
  transition: color .4s;
}

.faq-list .qa summary .plus {
  width: 22px;
  height: 22px;
  position: relative;
  justify-self: end;
  transition: transform .5s var(--ease);
}

.faq-list .qa summary .plus::before,
.faq-list .qa summary .plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.faq-list .qa summary .plus::after {
  transform: rotate(90deg);
  transition: transform .5s var(--ease);
}

.faq-list .qa[open] summary .plus::after {
  transform: rotate(0);
}

.faq-list .qa[open] summary .q {
  color: var(--gold);
}

.faq-list .qa .ans {
  padding: 0 0 32px 80px;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 64ch;
  font-size: 15px;
  animation: ansIn .6s var(--ease);
}

@keyframes ansIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

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

  .faq-aside {
    position: static;
  }

  .faq-list .qa summary {
    grid-template-columns: 40px 1fr 24px;
  }

  .faq-list .qa .ans {
    padding-left: 60px;
  }
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-0);
  padding: 100px var(--gutter) 36px;
  position: relative;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer .mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.footer .tag {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 36ch;
}

.footer h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .3s;
}

.footer ul li a:hover {
  color: var(--gold);
}

.footer .ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.footer .ig-grid .ig {
  aspect-ratio: 1;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: opacity .4s;
}

.footer .ig-grid .ig:hover {
  opacity: 0.7;
}

.footer .ig-grid .ig img,
.footer .ig-grid .ig image-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer .socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer .socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: all .4s var(--ease);
}

.footer .socials a:hover {
  color: #121212;
  background: var(--gold);
  border-color: var(--gold);
}

.footer .socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .made {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-size: 13px;
}

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

  .footer .mark {
    font-size: 44px;
  }
}

/* ─── Sticky mobile CTA ──────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  background: var(--gold);
  color: #121212;
  padding: 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform .6s var(--ease);
}

.sticky-cta.show {
  transform: translateY(0);
}

@media (max-width: 720px) {
  .sticky-cta {
    display: flex;
  }
}

/* ─── Reveal animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

.reveal.d5 {
  transition-delay: .40s;
}

/* hero entry */
.hero .reveal {
  transition-duration: 1.6s;
}

/* ─── Tweaks panel ──────────────────────────────────────────── */
#tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-height: 80vh;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--body);
  z-index: 200;
  display: none;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(216, 195, 165, 0.08);
}

#tweaks-panel.open {
  display: flex;
  animation: twIn .35s var(--ease);
}

@keyframes twIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

#tweaks-panel .tw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

#tweaks-panel .tw-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}

#tweaks-panel .tw-x {
  width: 28px;
  height: 28px;
  line-height: 1;
  font-size: 20px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  transition: all .3s;
}

#tweaks-panel .tw-x:hover {
  color: var(--gold);
  border-color: var(--gold);
}

#tweaks-panel .tw-body {
  overflow-y: auto;
  padding: 8px 20px 20px;
}

#tweaks-panel .tw-section {
  margin: 18px 0 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

#tweaks-panel .tw-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

#tweaks-panel .tw-row>span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

#tweaks-panel input[type="text"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 9px 12px;
  font: inherit;
  color: var(--text);
  font-size: 13px;
}

#tweaks-panel input[type="text"]:focus {
  outline: 0;
  border-color: var(--gold);
}

#tweaks-panel .tw-swatches {
  display: flex;
  gap: 8px;
}

#tweaks-panel .tw-sw {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s;
}

#tweaks-panel .tw-sw:hover {
  transform: scale(1.08);
}

#tweaks-panel .tw-sw.active {
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 195, 165, 0.18);
}

#tweaks-panel .tw-radio {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#tweaks-panel .tw-opt {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all .3s;
}

#tweaks-panel .tw-opt:hover {
  color: var(--gold);
}

#tweaks-panel .tw-opt.active {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

@media (max-width: 760px) {
  #tweaks-panel {
    right: 10px;
    bottom: 80px;
    width: calc(100vw - 20px);
    max-height: 70vh;
  }
}

/* image-slot defaults */
image-slot {
  --is-bg: var(--bg-3);
  --is-border: var(--line);
  --is-color: var(--text-faint);
  --is-radius: 0;
}

mark,
.mark {
  background-color: transparent;
}

/* Premium Dark Datepicker Styles */
.datepicker {
  background: rgba(18, 18, 18, 0.95) !important;
  backdrop-filter: blur(15px);
  border: 1px solid var(--gold) !important;
  color: var(--text) !important;
  font-family: var(--body);
  border-radius: 8px !important;
  padding: 10px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
  z-index: 9999 !important;
}

.datepicker table tr td, .datepicker table tr th {
  color: var(--text) !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-family: var(--body);
}

.datepicker table tr td.day:hover,
.datepicker table tr td.day.focused {
  background: rgba(216, 195, 165, 0.15) !important;
  color: var(--gold) !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
  background-image: none !important;
  background-color: var(--gold) !important;
  color: #121212 !important;
  font-weight: bold;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
  background-image: none !important;
  background-color: rgba(216, 195, 165, 0.12) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
}

.datepicker table tr td.old,
.datepicker table tr td.new {
  color: var(--text-dim) !important;
  opacity: 0.3;
}

.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
  background: rgba(216, 195, 165, 0.15) !important;
  color: var(--gold) !important;
}

.datepicker-dropdown:after {
  border-bottom: 6px solid var(--gold) !important;
}

.datepicker-dropdown.datepicker-orient-bottom:after {
  border-top: 6px solid var(--gold) !important;
}

/* Premium Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dim);
  transition: all 0.3s var(--ease);
}

.back-to-top:hover {
  border-color: var(--gold);
  background: var(--bg-3);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(216, 195, 165, 0.2);
}

.back-to-top:hover svg {
  stroke: var(--gold);
  transform: translateY(-2px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .back-to-top {
    bottom: 85px; /* Tránh đè lên thanh mobile sticky cta */
    right: 20px;
    width: 42px;
    height: 42px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }

  /* Tối ưu hóa khoảng trống (section padding) và khoảng cách rỗng thừa trên mobile */
  .section {
    padding: 56px 0 !important;
  }
  
  .booking {
    padding: 64px 0 !important;
  }

  /* Khắc phục lỗi hiển thị bullet point bị lệch và text bị wrap xấu xí */
  .booking-meta {
    margin-top: 36px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 16px !important;
  }
  
  .booking-meta span {
    display: inline-flex !important;
    align-items: flex-start !important; /* Căn lề bullet lên dòng đầu tiên */
    text-align: left !important;
    gap: 10px !important;
    max-width: 290px;
    letter-spacing: 0.16em !important;
    line-height: 1.5 !important;
  }
  
  .booking-meta span::before {
    margin-top: 5px !important; /* Căn giữa hoàn hảo bullet với dòng đầu */
    flex-shrink: 0 !important;
  }

  /* Điều chỉnh cỡ chữ Tiêu đề (Headings) vừa vặn, không bị quá to trên mobile */
  .display, 
  .section-head h2,
  .booking h2,
  .hero-intro h1 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.15 !important;
  }

  .faq-aside h3 {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .section-head {
    margin-bottom: 32px !important;
  }

  .faq-grid {
    gap: 36px !important;
  }

  /* Tối ưu hóa Footer trên thiết bị di động (tránh vỡ grid, dọn khoảng trống thừa & chống đè lấp) */
  .footer {
    padding: 48px var(--gutter) 96px !important; /* Tăng padding-bottom lên 96px để đẩy copyright lên trên nút di động */
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;                 /* Thu nhỏ gap từ 40px xuống 28px */
    margin-bottom: 28px !important;       /* Giảm margin-bottom từ 80px xuống 28px */
  }

  .footer .mark {
    font-size: 26px !important;
    letter-spacing: -0.01em !important;
  }

  .footer .tag {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-top: 8px !important;
  }

  .footer h5 {
    margin-bottom: 12px !important;       /* Thu nhỏ khoảng cách dưới tiêu đề */
  }

  .footer ul li {
    padding: 5px 0 !important;            /* Thu hẹp khoảng cách các link */
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding-top: 20px !important;         /* Giảm padding-top dòng bản quyền */
  }
}