/* ==========================================================
   TRILL GROOVE MUSIC ACADEMY — Premium Music School Site
   Color tokens, typography, layout — SISB-inspired
   ========================================================== */

:root {
  /* Brand */
  --navy: #0D1B2A;
  --navy-2: #132335;
  --navy-soft: #1B2C42;
  --orange: #FF5A3C;
  --orange-2: #ff7159;
  --yellow: #FFC300;
  --yellow-soft: #FFD84D;
  --cream: #FFF8EC;
  --paper: #FAF6F0;
  --line-green: #06C755;

  /* Neutral */
  --ink: #0D1B2A;
  --ink-soft: #34465B;
  --ink-mute: #6B7A8E;
  --rule: #E6E1D6;
  --white: #ffffff;

  /* Type — Sukhumvit-style stack: ใช้ Sukhumvit Set บน Mac, IBM Plex Sans Thai Looped บนอื่น */
  --display: 'Sukhumvit Set', 'IBM Plex Sans Thai Looped', 'IBM Plex Sans Thai', -apple-system, system-ui, sans-serif;
  --serif: 'Sukhumvit Set', 'IBM Plex Sans Thai Looped', 'IBM Plex Sans Thai', -apple-system, system-ui, sans-serif;
  --body: 'Sukhumvit Set', 'IBM Plex Sans Thai Looped', 'IBM Plex Sans Thai', -apple-system, system-ui, sans-serif;

  /* Layout */
  --maxw: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 10px;

  /* Easing */
  --easeOut: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

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

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--easeOut); }
a:hover { color: var(--orange); }
button { cursor: pointer; font-family: inherit; }

::selection { background: var(--yellow); color: var(--navy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* ============== HELPERS ============== */
.kicker {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
}
.kicker.light { color: var(--yellow); }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 22px 0;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section-title.light { color: var(--white); }
.section-title .accent { color: var(--orange); font-weight: 800; }
.section-title .accent-yellow { color: var(--yellow); font-weight: 800; }

.section-lede {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0;
}
.section-lede.light { color: rgba(255,255,255,0.78); }

.section-head { margin-bottom: 60px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

.accent { color: var(--orange); }
.accent-yellow { color: var(--yellow); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 0;
  transition: transform .25s var(--easeOut), box-shadow .25s var(--easeOut), background .25s var(--easeOut), color .25s var(--easeOut);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(255,90,60,.6);
}
.btn-primary:hover { background: var(--orange-2); color: var(--white); box-shadow: 0 15px 40px -10px rgba(255,90,60,.7); }

.btn-line {
  background: var(--line-green);
  color: var(--white);
}
.btn-line:hover { background: #0bdb63; color: var(--white); }
.btn-line-mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--display); font-size: 0.78rem;
}
.btn-line-mark.big { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 8px; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-mega {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  padding: 24px 50px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 20px 60px -14px rgba(255,195,0,.6);
}
.btn-mega:hover { background: var(--yellow-soft); transform: translateY(-3px) scale(1.02); }
.btn-mega .lucide-arrow-right { font-size: 1.3em; }

/* ============== LOADER ============== */
#loader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .8s var(--easeOut), visibility .8s var(--easeOut);
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 130px;
  filter: brightness(1.1);
  animation: pulse 1.6s ease-in-out infinite;
  margin-bottom: 24px;
}
.loader-bar {
  width: 200px; height: 3px; margin: 0 auto;
  background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  animation: loadbar 1.3s ease-out forwards;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
@keyframes loadbar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============== NAVBAR ============== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s var(--easeOut);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -20px rgba(13,27,42,.25);
}

.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.nav-logo img {
  height: 56px;
  transition: height .25s var(--easeOut);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}
.navbar.scrolled .nav-logo img { height: 44px; filter: none; }

.nav-links {
  display: flex; gap: 32px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s var(--easeOut);
}
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--navy); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--line-green);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px -8px rgba(6,199,85,.6);
  transition: transform .2s var(--easeOut);
}
.nav-cta:hover { transform: translateY(-1px); color: var(--white); }
.nav-cta-icon {
  width: 22px; height: 22px; border-radius: 5px;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.7rem;
}

.nav-burger {
  display: none;
  background: transparent; border: 0;
  width: 38px; height: 38px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .25s;
}
.navbar.scrolled .nav-burger span { background: var(--navy); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  padding: 20px var(--pad-x);
  flex-direction: column; gap: 14px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
  font-family: var(--display);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--navy);
  font-weight: 500;
}
.nav-mobile .mobile-line {
  background: var(--line-green); color: var(--white);
  text-align: center; border-radius: 999px;
  padding: 14px; border: 0; margin-top: 10px;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,42,0.45) 0%, rgba(13,27,42,0.78) 60%, rgba(13,27,42,0.95) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(255,90,60,0.25) 0%, transparent 60%);
  z-index: -1;
}

.hero-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--pad-x) 100px;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(255,195,0,.5);
  padding: 8px 16px;
  border-radius: 999px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--easeOut), transform .9s var(--easeOut);
  will-change: transform, opacity;
}
.hero-title .line.in { opacity: 1; transform: translateY(0); }

.hero-title em {
  font-style: normal;
  font-weight: 800;
  color: var(--yellow);
}
.hero-title .accent { color: var(--orange); font-weight: 800; }

.hero-sub {
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 620px;
  margin: 0 0 40px;
  line-height: 1.6;
  letter-spacing: 0.005em;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 60px;
}

.hero-meta {
  display: flex; gap: 56px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 28px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--yellow);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-meta span {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.hero-scroll span {
  width: 3px; height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(14px); opacity: 0; }
  61%      { transform: translateY(-2px); opacity: 0; }
  100%     { opacity: 1; }
}

/* ============== TRUST ============== */
.trust {
  background: var(--paper);
  padding: 130px 0;
  position: relative;
}
.trust::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 60px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--white);
  padding: 38px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut), border-color .35s var(--easeOut);
  position: relative;
  overflow: hidden;
}
.trust-card::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--easeOut);
}
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(13,27,42,.25);
  border-color: transparent;
}
.trust-card:hover::after { transform: scaleX(1); }
.trust-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 18px;
  line-height: 1;
}
.trust-card h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--navy);
}
.trust-card p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; margin: 0; }

/* ============== DEVELOPMENT ============== */
.develop {
  background: var(--navy);
  padding: 140px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.develop::before {
  content: '';
  position: absolute;
  top: 10%; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,195,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.develop::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -200px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,90,60,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.develop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.develop-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.develop-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 26px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: border-color .3s var(--easeOut), background .3s var(--easeOut);
}
.develop-list li:hover { border-color: rgba(255,195,0,.5); background: rgba(255,195,0,.05); }
.dev-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--yellow);
  font-weight: 800;
  line-height: 1;
}
.develop-list h4 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}
.develop-list p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
}

/* ============== COURSES ============== */
.courses {
  background: var(--cream);
  padding: 140px 0;
  position: relative;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.course-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut);
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 35px 60px -30px rgba(13,27,42,.18); }
.course-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-color: transparent;
}
.course-card.featured h3,
.course-card.featured .course-title { color: var(--white); }

.ribbon {
  position: absolute;
  top: 24px; right: -8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 6px 0 0 6px;
  box-shadow: 0 6px 18px -6px rgba(255,90,60,.6);
}
.ribbon::after {
  content: '';
  position: absolute;
  right: 0; bottom: -8px;
  border: 4px solid transparent;
  border-top-color: #c43f27;
  border-left-color: #c43f27;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255,90,60,.3);
  border-radius: 999px;
  align-self: flex-start;
}
.course-card.featured .course-tag {
  color: var(--yellow);
  border-color: rgba(255,195,0,.5);
}

.course-title {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.course-desc {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 24px;
}
.course-card.featured .course-desc { color: rgba(255,255,255,.78); }

.course-meta {
  display: flex; gap: 22px;
  font-size: 0.92rem;
  font-family: var(--display);
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--rule);
}
.course-card.featured .course-meta { border-bottom-color: rgba(255,255,255,.18); }
.course-meta div { display: flex; align-items: center; gap: 8px; }
.course-meta i { color: var(--orange); }

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.price-item {
  position: relative;
  padding: 22px 20px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 6px;
}
.course-card.featured .price-item { border-color: rgba(255,255,255,.12); }
.price-item.highlight {
  border-color: var(--orange);
  background: rgba(255,90,60,.06);
}
.price-item.highlight.gold {
  border-color: var(--yellow);
  background: rgba(255,195,0,.1);
}
.price-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink-mute);
}
.course-card.featured .price-label { color: rgba(255,255,255,.6); }
.price-value {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.course-card.featured .price-value { color: var(--white); }
.price-value em {
  font-style: normal;
  font-size: 0.7em;
  color: var(--ink-mute);
  font-family: var(--display);
  margin-left: 4px;
}
.course-card.featured .price-value em { color: rgba(255,255,255,.7); }
.badge {
  position: absolute;
  top: -10px; right: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge.gold { background: var(--yellow); color: var(--navy); }

.promo-line {
  background: rgba(255,195,0,.12);
  color: var(--yellow);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin: 0 0 24px;
  border: 1px dashed rgba(255,195,0,.4);
}
.promo-line strong { color: var(--yellow-soft); }
.promo-line .accent { color: var(--yellow); font-weight: 700; }

.course-note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

/* ============== LIFE ============== */
.life {
  background: var(--paper);
  padding: 140px 0 100px;
}
.life-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.head-right {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
  padding-bottom: 8px;
}

/* MASONRY-STYLE LIFE GRID — each item keeps its natural aspect ratio */
.life-grid--masonry {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  column-count: 3;
  column-gap: 16px;
}
.life-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 16px 0;
  background: var(--navy);
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  box-shadow: 0 12px 30px -20px rgba(13,27,42,.18);
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut);
}
.life-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(13,27,42,.3);
}
.life-item img,
.life-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s var(--easeOut);
}
.life-item:hover img { transform: scale(1.04); }
.life-item.ratio-916 { aspect-ratio: 9 / 16; }
.life-item.ratio-43  { aspect-ratio: 4 / 3; }
.life-item.ratio-32  { aspect-ratio: 3 / 2; }
.life-item.ratio-169 { aspect-ratio: 16 / 9; }
.life-item figcaption {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(13,27,42,.72);
  padding: 9px 13px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

/* ============== REVIEWS ============== */
.reviews {
  background: var(--white);
  padding: 140px 0;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 25px 50px -25px rgba(13,27,42,.18); }
.review-card .lucide-quote {
  font-size: 2rem;
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.review-card p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 26px;
}
.review-by { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}
.review-by strong { display: block; font-size: 0.95rem; color: var(--navy); font-family: var(--display); }
.review-by span { font-size: 0.82rem; color: var(--ink-mute); }

.review-video {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--navy);
  padding: 50px;
  border-radius: 28px;
  color: var(--white);
}
.review-video video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-caption .kicker { color: var(--yellow); }
.video-caption h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}
.video-caption p { color: rgba(255,255,255,.78); margin: 0; }

/* ============== SUBJECTS ============== */
.subjects {
  background: var(--navy);
  padding: 140px 0 130px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.subjects .section-head { padding: 0 var(--pad-x); margin: 0 auto 60px; max-width: var(--maxw); }

.subject-track {
  position: relative;
  padding: 10px 0 30px;
}
.subject-row {
  display: flex;
  gap: 22px;
  padding: 10px var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.subject-row::-webkit-scrollbar { display: none; }

.subject-card {
  flex: 0 0 320px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 38px 30px;
  scroll-snap-align: start;
  transition: transform .35s var(--easeOut), background .35s var(--easeOut), border-color .35s var(--easeOut);
}
.subject-card:hover {
  background: rgba(255,195,0,0.08);
  border-color: var(--yellow);
  transform: translateY(-6px);
}
.subject-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
  transition: border-color .35s var(--easeOut), transform .35s var(--easeOut);
}
.subject-icon svg { width: 30px; height: 30px; }
.subject-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Subtle desaturation for clean, minimal look — pops on hover */
  filter: saturate(0.85) brightness(0.92);
  transition: filter .4s var(--easeOut), transform .6s var(--easeOut);
}
.subject-card:hover .subject-icon {
  border-color: var(--yellow);
  transform: scale(1.04);
}
.subject-card:hover .subject-icon--photo img {
  filter: saturate(1) brightness(1);
  transform: scale(1.08);
}
.subject-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--white);
}
.subject-card p {
  color: rgba(255,255,255,0.72);
  margin: 0 0 22px;
  font-size: 0.97rem;
  line-height: 1.55;
}
.subject-meta {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  width: 100%;
  font-weight: 600;
}

.track-controls {
  display: flex; gap: 10px;
  justify-content: flex-end;
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
}
.track-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 1.4rem;
  font-family: var(--display);
  transition: background .2s var(--easeOut), color .2s var(--easeOut);
}
.track-btn:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* ============== LOCATION ============== */
.location {
  background: var(--paper);
  padding: 140px 0;
}
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}
.loc-info { display: flex; flex-direction: column; gap: 26px; }
.loc-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.loc-block i {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 14px;
  font-size: 1.4rem;
  font-style: normal;
}
.loc-block h4 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.loc-block p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.loc-block a { color: var(--orange); font-weight: 600; }

.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.loc-map {
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -30px rgba(13,27,42,.15);
}
.loc-map iframe { width: 100%; height: 100%; border: 0; }

/* ============== FINAL CTA ============== */
.final-cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  z-index: -1;
}
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,90,60,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(255,195,0,.2) 0%, transparent 55%);
}

.final-content { position: relative; max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x); }
.cta-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.cta-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: rgba(255,255,255,0.78);
  margin: 0 0 50px;
  line-height: 1.6;
}
.cta-foot {
  margin-top: 30px;
  color: rgba(255,255,255,.6);
  font-size: 0.95rem;
}
.cta-foot a { color: var(--yellow); font-weight: 600; }

/* ============== FOOTER ============== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot-brand img { height: 64px; margin-bottom: 16px; filter: brightness(1.1); }
.foot-brand p {
  color: rgba(255,255,255,.6);
  max-width: 320px;
  font-size: 0.95rem;
}
.footer h5 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 18px;
}
.footer a { display: block; padding: 4px 0; color: rgba(255,255,255,.7); font-size: 0.95rem; }
.footer a:hover { color: var(--yellow); }
.foot-base {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
}

/* ============== FLOATING LINE BUTTON ============== */
.float-line {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--line-green);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 18px 40px -10px rgba(6,199,85,.55);
  transition: transform .25s var(--easeOut), box-shadow .25s var(--easeOut);
}
.float-line:hover {
  transform: translateY(-3px) scale(1.03);
  color: var(--white);
  box-shadow: 0 24px 50px -10px rgba(6,199,85,.7);
}
.float-mark {
  width: 28px; height: 28px;
  background: var(--white); color: var(--line-green);
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.float-pulse {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid var(--line-green);
  animation: floatPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes floatPulse {
  0%   { transform: scale(1);    opacity: .6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============== REVEAL ANIMATIONS ============== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--easeOut), transform .9s var(--easeOut);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal].in:nth-child(2) { transition-delay: .08s; }
[data-reveal].in:nth-child(3) { transition-delay: .16s; }
[data-reveal].in:nth-child(4) { transition-delay: .24s; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .develop-grid { grid-template-columns: 1fr; gap: 40px; }
  .course-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-video { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .life-head { grid-template-columns: 1fr; gap: 24px; }
  .life-grid--masonry { column-count: 2; column-gap: 12px; }
  .life-item { margin-bottom: 12px; }
  .loc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .navbar { padding: 14px 0; }
  .nav-cta { display: none; }
  .nav-logo img { height: 44px; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 130px 24px 80px; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .hero-meta { gap: 24px; padding-top: 22px; }
  .hero-meta strong { font-size: 1.7rem; }
  .hero-cta .btn { flex: 1; padding: 14px 18px; font-size: 0.95rem; }

  .trust, .develop, .courses, .life, .events, .performances, .subjects, .location, .final-cta {
    padding: 90px 0;
  }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
  .section-head { margin-bottom: 40px; }

  .trust-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .course-card { padding: 32px 26px; }
  .course-meta { flex-wrap: wrap; }

  .life-grid--masonry { column-count: 2; column-gap: 10px; }
  .life-item { margin-bottom: 10px; }

  .review-card { padding: 28px 24px; }

  .subject-card { flex-basis: 280px; }
  .perf-card { flex: 0 0 280px; padding: 10px; }

  .loc-block i { width: 48px; height: 48px; font-size: 1.2rem; }

  .float-line { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.92rem; }
  .float-line .float-label { display: inline; }

  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-base { flex-direction: column; gap: 8px; align-items: flex-start; }

  .btn-mega { padding: 18px 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ============== PERFORMANCES (FB Reels 9:16) ============== */
.performances {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 140px 0 130px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.performances::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,90,60,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.performances::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,195,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.performances .section-head {
  margin: 0 auto 60px;
  max-width: var(--maxw);
  position: relative;
  z-index: 1;
}

.perf-track { position: relative; padding: 10px 0 30px; z-index: 1; }
.perf-row {
  display: flex;
  gap: 22px;
  padding: 10px var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.perf-row::-webkit-scrollbar { display: none; }

.perf-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px;
  transition: transform .35s var(--easeOut), border-color .35s var(--easeOut), background .35s var(--easeOut);
}
.perf-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  background: rgba(255,195,0,0.04);
}
.perf-media {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 14px;
  position: relative;
}
.perf-media iframe,
.perf-media video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.perf-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px 2px;
  text-align: center;
}
.perf-label {
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.perf-label em {
  font-weight: 800;
  color: var(--yellow);
  margin-left: 2px;
}


/* ============== EVENTS (Upcoming Events Section) ============== */
.events {
  background: var(--white);
  padding: 140px 0 130px;
  position: relative;
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

.event-card {
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(13,27,42,.22);
}

.event-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--easeOut);
}
.event-card:hover .event-media img { transform: scale(1.06); }

.event-tag-pill {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(255,90,60,.55);
}
.event-tag-pill.featured {
  position: static;
  background: rgba(255,195,0,.18);
  color: var(--yellow);
  border: 1px solid rgba(255,195,0,.4);
  align-self: flex-start;
  box-shadow: none;
  margin-bottom: 16px;
}

.event-body { padding: 30px 32px 34px; }
.event-body h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.event-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.event-body strong { color: var(--orange); font-weight: 700; }

/* ========== Featured event — Summer Concert (DELUXE / glassmorphism) ========== */

/* Color tokens scoped to deluxe variant — slightly different navy/orange/gold */
.event-featured--deluxe {
  --dx-navy:    #0A1F44;
  --dx-deep:    #06132B;
  --dx-mid:     #1F2F5A;
  --dx-orange:  #F26B1F;
  --dx-gold:    #F6C95C;
  --dx-glass:   rgba(255,255,255,0.06);
  --dx-glass-2: rgba(10,31,68,0.55);
  --dx-border:  rgba(246,201,92,0.20);
}

.event-featured--deluxe {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  background:
    radial-gradient(900px 600px at 100% 20%, rgba(242,107,31,0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 80%, rgba(246,201,92,0.10), transparent 60%),
    linear-gradient(160deg, var(--dx-deep) 0%, var(--dx-navy) 50%, var(--dx-deep) 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 50px 100px -40px rgba(0,0,0,.65),
    0 0 60px rgba(242,107,31,0.08),
    inset 0 1px 0 rgba(255,255,255,.06);
  border: 1px solid rgba(246,201,92,0.12);
  position: relative;
}

/* Subtle gradient glow border overlay */
.event-featured--deluxe::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(246,201,92,.45), rgba(242,107,31,.35), rgba(246,201,92,.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* LEFT: poster panel */
.event-featured--deluxe .event-featured-poster {
  position: relative;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 28px;
  background: radial-gradient(circle at 50% 30%, rgba(31,47,90,0.55) 0%, transparent 70%);
  overflow: visible;
}
.event-featured--deluxe .poster-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 60px rgba(242,107,31,.25),
    0 0 100px rgba(246,201,92,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
  animation: posterFloat 7s ease-in-out infinite;
}
@keyframes posterFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.event-featured--deluxe .poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating music notes around poster */
.event-featured--deluxe .float-note {
  position: absolute;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #F6C95C, #F26B1F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(246,201,92,.5));
  animation: noteFloat 6s ease-in-out infinite;
  z-index: 2;
}
.event-featured--deluxe .note-1 { top: 16px; left: 24px; animation-delay: 0s; }
.event-featured--deluxe .note-2 { top: 24px; right: 24px; animation-delay: 1.5s; font-size: 2.8rem; }
.event-featured--deluxe .note-3 { bottom: 30px; right: 36px; animation-delay: 3s; font-size: 2rem; }
@keyframes noteFloat {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50%      { transform: translateY(-14px); opacity: 1; }
}

/* RIGHT: content panel */
.event-featured--deluxe .event-featured-body {
  padding: 52px 52px 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.event-featured--deluxe .event-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--dx-glass);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dx-orange);
  box-shadow: 0 0 10px rgba(242,107,31,.8);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(0.85); }
}

.event-featured--deluxe .event-featured-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.event-featured--deluxe .event-featured-title .line-1 {
  display: block;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  font-size: 0.85em;
}
.event-featured--deluxe .event-featured-title .line-2 {
  display: block;
  font-weight: 800;
  margin-top: 4px;
}

.gradient-text {
  background: linear-gradient(135deg, #F6C95C 0%, #F26B1F 50%, #F6C95C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.event-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(242,107,31,.9);
  text-transform: uppercase;
  margin: 0;
}

/* Countdown */
.event-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.cd-cell {
  background: var(--dx-glass-2);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--dx-border);
  border-radius: 14px;
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cd-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.cd-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cd-label {
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  text-transform: uppercase;
}

/* Event meta — deluxe */
.event-meta--deluxe {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-meta--deluxe li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--dx-glass);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 14px;
}
.event-meta--deluxe .event-meta-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(246,201,92,0.18), rgba(242,107,31,0.18));
  border: 1px solid rgba(246,201,92,0.25);
}
.event-meta--deluxe li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-meta--deluxe .event-meta-label {
  font-size: 0.66rem;
  font-family: var(--display);
  letter-spacing: 0.28em;
  color: rgba(246,201,92,0.78);
  text-transform: uppercase;
  font-weight: 600;
}
.event-meta--deluxe strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.3;
}

.event-desc-deluxe {
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 4px 0 0;
}

/* CTAs */
.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.btn-deluxe {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform .25s var(--easeOut), box-shadow .25s var(--easeOut);
  color: #fff;
  text-decoration: none;
}
.btn-deluxe:active { transform: scale(0.97); }
.btn-deluxe:hover { transform: translateY(-2px); }
.btn-deluxe--gold {
  background: linear-gradient(135deg, #F26B1F 0%, #F6C95C 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(242,107,31,.4), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-deluxe--line {
  background: linear-gradient(135deg, #06C755 0%, #0bdb63 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(6,199,85,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-deluxe .line-mark {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
}

/* Contact mini cards */
.event-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.contact-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--dx-glass);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: border-color .3s var(--easeOut), background .3s var(--easeOut);
}
.contact-mini:hover {
  border-color: var(--dx-gold);
  background: rgba(246,201,92,0.06);
}
.contact-mini-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #F26B1F 0%, #F6C95C 100%);
  box-shadow: 0 8px 18px rgba(242,107,31,.35);
  color: #fff;
}
.contact-mini > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-mini-label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: rgba(246,201,92,0.78);
  text-transform: uppercase;
  font-weight: 600;
}
.contact-mini strong { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: #fff; }
.contact-mini small { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 400; }

/* Inspirational quote */
.event-quote {
  margin: 16px 0 0;
  padding: 0;
  text-align: center;
}
.event-quote p {
  margin: 8px 0;
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.005em;
  max-width: 420px;
  margin-inline: auto;
}
.quote-divider {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,201,92,0.55), transparent);
  margin: 0 auto;
}


@media (max-width: 1100px) {
  .event-grid { grid-template-columns: 1fr; gap: 22px; margin-bottom: 50px; }
  .event-featured, .event-featured--deluxe { grid-template-columns: 1fr; }
  .event-featured--deluxe .event-featured-poster { padding: 40px 24px 20px; }
  .event-featured--deluxe .poster-frame { max-width: 340px; }
  .event-featured-body { padding: 40px 36px; }
  .event-featured--deluxe .event-featured-body { padding: 36px 32px 44px; }
}

@media (max-width: 720px) {
  .events { padding: 90px 0; }
  .event-body { padding: 24px 24px 28px; }
  .event-featured-body { padding: 32px 24px; }
  .event-meta li { padding: 12px 14px; gap: 12px; }
  .event-meta-icon { font-size: 1.4rem; }
  .event-featured--deluxe .event-featured-poster { padding: 30px 20px 10px; }
  .event-featured--deluxe .poster-frame { max-width: 300px; }
  .event-featured--deluxe .event-featured-body { padding: 28px 22px 36px; gap: 18px; }
  .event-featured--deluxe .event-countdown { gap: 8px; }
  .cd-cell { padding: 14px 4px 10px; border-radius: 12px; }
  .cd-num { font-size: 1.5rem; }
  .cd-label { font-size: 0.56rem; letter-spacing: 0.22em; }
  .event-contact-row { grid-template-columns: 1fr; }
  .event-featured--deluxe .float-note { font-size: 1.8rem; }
  .event-featured--deluxe .note-2 { font-size: 2rem; }
}
