/* Hide all GP chrome */
#masthead, .site-header, .site-footer, .site-info,
.nav-primary, #site-navigation, #mobile-menu-control-wrapper,
.admin-bar { display: none !important; }

/* ============================================================
   MOUNTAIN TOP — HORIZONTAL SCROLL
   Color story: deep void → royal purple → lantern gold
============================================================ */

:root {
  --void:       #060410;
  --midnight:   #0f0d1e;
  --indigo:     #1a1535;
  --royal:      #2a1f5c;
  --violet:     #3d2b7a;
  --dusk:       #1b3a6b;
  --twilight:   #2d1b69;
  --gold:       #c8860a;
  --gold-light: #f5c842;
  --ember:      #8b3a0f;
  --rice:       #f5edd8;
  --ink:        #1a1210;

  --font-display: 'Ma Shan Zheng', Georgia, serif;
  --font-heading: 'Cinzel', serif;
  --font-label:   'Cinzel Decorative', serif;
  --font-body:    'Crimson Pro', Georgia, serif;
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden !important;
  background: var(--void);
}

/* ============================================================
   CURTAIN
============================================================ */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
}

.curtain-left,
.curtain-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 51%;
  background: linear-gradient(to bottom, var(--indigo), var(--void));
  z-index: 2;
}
.curtain-left  { left: 0;  transform-origin: left center; }
.curtain-right { right: 0; transform-origin: right center; }

/* Fabric texture */
.curtain-left::after,
.curtain-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent, transparent 38px,
    rgba(0,0,0,0.1) 38px, rgba(0,0,0,0.1) 40px
  );
}

/* Gold edge trim */
/* curtain edge trim removed */

.curtain-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--rice);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.curtain-emblem {
  width: clamp(80px, 12vw, 140px);
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 30px rgba(200,134,10,0.5));
  animation: emblemPulse 3s ease-in-out infinite;
}
@keyframes emblemPulse {
  0%,100% { filter: drop-shadow(0 0 20px rgba(200,134,10,0.4)); }
  50%      { filter: drop-shadow(0 0 45px rgba(200,134,10,0.8)); }
}

.curtain-title {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
  animation: titleReveal 1.2s ease-out 0.3s both;
}
.curtain-title em {
  font-style: normal;
  color: var(--gold);
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.curtain-tagline {
  font-family: var(--font-label);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.6);
  animation: titleReveal 1.2s ease-out 0.6s both;
}

.curtain-enter {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rice);
  background: transparent;
  border: 1px solid rgba(200,134,10,0.6);
  padding: 0.85em 2.5em;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: titleReveal 1.2s ease-out 1s both;
}
.curtain-enter:hover {
  background: rgba(200,134,10,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ============================================================
   THEATER WRAPPER
============================================================ */
.theater {
  position: fixed;
  inset: 0;
  overflow: hidden;
}






/* Stacking order:
   z-index 0  = theater background (void color)
   z-index 2  = hill layers (fixed, behind stage)
   z-index 5  = stage (transformed, creates stacking context)
   z-index 0  = panel-bg (inside stage, covers panel area)
   z-index 20 = panel-content (text/images)
   z-index 200 = nav dots
   z-index 500 = scroll hint
   z-index 1000 = curtain
*/
.panel-content { position: relative; z-index: 10; }
.panel-bg      { position: absolute; inset: 0; z-index: 0; }
.panel         { overflow: hidden; }

/* All panels fully opaque — hills only live inside panel-mountain */
.panel-tenet .panel-bg,
.panel-discipline-single .panel-bg,
.panel-instructor .panel-bg,
.panel-cta .panel-bg,
.panel-contact .panel-bg { opacity: 1; }

/* Mountain panel — transparent bg, hills show through */
.panel-mountain .panel-bg { opacity: 0; }

/* ============================================================
   STAGE — horizontal strip of panels
============================================================ */
.stage {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: calc(10 * 100vw);
  transform: translateX(0);
  will-change: transform;
}

/* ============================================================
   PANELS — base
============================================================ */
.panel {
  position: relative;
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}



.panel-content {
  position: relative;
  z-index: 10;
  color: var(--rice);
  padding: clamp(2rem, 6vw, 6rem);
  max-width: 900px;
  width: 100%;
}

.panel-content-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   PANEL BACKGROUNDS
============================================================ */
.panel-bg-mountain {
  background:
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(255,140,40,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(200,80,20,0.4) 0%, transparent 50%),
    linear-gradient(to bottom, #2a1a4a 0%, #3d2060 40%, #5a2858 70%, #7a3040 100%);
}

/* Hill silhouette at bottom of mountain panel */
.hills-silhouette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background:
    radial-gradient(ellipse 120% 100% at 20% 120%, var(--indigo) 30%, transparent 70%),
    radial-gradient(ellipse 100% 90% at 60% 130%, var(--royal) 20%, transparent 65%),
    radial-gradient(ellipse 80% 80% at 90% 120%, var(--midnight) 30%, transparent 60%);
  z-index: 1;
}

.panel-bg-tenet1 {
  background:
    radial-gradient(ellipse 100% 55% at 50% 100%, rgba(255,160,40,0.6) 0%, transparent 55%),
    linear-gradient(to bottom, #301848 0%, #482060 40%, #662858 70%, #882e3a 100%);
}
.panel-bg-tenet2 {
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255,175,30,0.65) 0%, transparent 55%),
    linear-gradient(to bottom, #381848 0%, #582255 40%, #7a2850 70%, #9a3030 100%);
}
.panel-bg-tenet3 {
  background:
    radial-gradient(ellipse 110% 65% at 50% 100%, rgba(255,190,20,0.7) 0%, transparent 55%),
    linear-gradient(to bottom, #401848 0%, #682050 35%, #8e2845 65%, #b03025 100%);
}

.panel-bg-disciplines {
  background:
    linear-gradient(to right, var(--midnight) 0%, var(--indigo) 50%, var(--midnight) 100%);
}

.panel-bg-instructor {
  background:
    radial-gradient(ellipse 50% 60% at 15% 60%, rgba(100,45,10,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 40%, rgba(60,25,8,0.3) 0%, transparent 50%),
    linear-gradient(to bottom, #080508 0%, #100808 30%, #180c06 60%, #1e1008 100%);
}

.panel-bg-cta {
  position: absolute;
  inset: 0;
}
.cta-bg-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.5) brightness(0.4);
}
.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,31,92,0.7), rgba(6,4,16,0.6));
}


/* ============================================================
   GALLERY PANEL
============================================================ */
.panel-bg-gallery {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(140,60,15,0.45) 0%, transparent 55%),
    linear-gradient(to bottom, #0e0808 0%, #180e08 40%, #201008 70%, #160c05 100%);
}

.gallery-inner {
  text-align: center;
  width: 100%;
  max-width: 1000px;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.gallery-inner .panel-eyebrow {
  margin-bottom: 0.6rem;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--rice);
  margin-bottom: 2rem;
}
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
  margin-bottom: 2rem;
  max-height: 62vh;
}
/* First image — tall portrait spanning both rows on left */
.gallery-mosaic-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: unset;
}
.gallery-mosaic-item {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-mosaic-item:hover img { transform: scale(1.05); }

.gallery-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 0.85em 2.5em;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.gallery-link:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,134,10,0.4);
}

/* Mobile gallery */
@media (max-width: 768px) {
  /* Override the generic panel-content flex so gallery controls its own layout */
  .panel-gallery .panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 1rem 1rem;
    height: 100%;
    overflow: hidden;
  }

  .gallery-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  /* Label + title take fixed space, mosaic gets the rest */
  .gallery-inner .panel-eyebrow {
    flex-shrink: 0;
    margin-bottom: 0.3rem;
  }
  .gallery-title {
    flex-shrink: 0;
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 0.8rem;
  }

  .gallery-mosaic {
    flex: 1;               /* fill all remaining vertical space */
    min-height: 0;         /* allow flex child to shrink below content size */
    width: 100%;
    max-height: none;      /* remove the vh cap that was crushing it */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    margin-bottom: 0.8rem;
  }

  /* On mobile all 3 images in a 2x2 grid — first spans full top row */
  .gallery-mosaic-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    aspect-ratio: unset;
    height: 100%;
  }
  .gallery-mosaic-item {
    aspect-ratio: unset;   /* let the grid rows control height */
    height: 100%;
  }
  .gallery-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-link {
    flex-shrink: 0;
    font-size: 0.65rem;
    padding: 0.7em 1.8em;
    margin-top: 0;
  }
}

.panel-bg-contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,134,10,0.06) 0%, transparent 70%),
    linear-gradient(to bottom, var(--void) 0%, var(--midnight) 100%);
}

/* ============================================================
   STARS (mountain panel)
============================================================ */
.stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY — SHARED
============================================================ */
.panel-eyebrow {
  font-family: var(--font-label);
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ============================================================
   PANEL 1 — MOUNTAIN
============================================================ */
.panel-mountain .panel-content {
  padding-left: clamp(3rem, 10vw, 12rem);
  max-width: 680px;
}

.panel-mountain .panel-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.panel-mountain .panel-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: rgba(245,237,216,0.7);
}

/* ============================================================
   TENET PANELS
============================================================ */
.tenet-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 60px rgba(200,134,10,0.4);
}

.tenet-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.tenet-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.9;
  color: rgba(245,237,216,0.7);
  max-width: 38ch;
}

.tenet-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin-top: 2rem;
}

/* ============================================================
   DISCIPLINES PANEL
============================================================ */
.disciplines-content {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  width: 100%;
  height: 80vh;
}

.discipline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  gap: 1rem;
}

.discipline-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border: 1px solid rgba(200,134,10,0.2);
  margin-bottom: 0.5rem;
}
.discipline-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.discipline:hover .discipline-photo img {
  transform: scale(1.04);
}

.discipline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--rice);
}

.discipline p {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.8;
  color: rgba(245,237,216,0.7);
}

.discipline ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.discipline ul li {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: rgba(245,237,216,0.55);
  padding-left: 1.2rem;
  position: relative;
}
.discipline ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.discipline-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200,134,10,0.3), transparent);
  flex-shrink: 0;
  align-self: stretch;
  margin: 3rem 0;
}

/* ============================================================
   INSTRUCTOR PANEL
============================================================ */
.instructor-content {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 1200px;
}

.instructor-photo {
  flex-shrink: 0;
  width: clamp(200px, 28vw, 360px);
  height: clamp(260px, 36vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(200,134,10,0.25);
  position: relative;
}
.instructor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139,58,15,0.3) 0%, transparent 50%);
}
.instructor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.instructor-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.instructor-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  color: var(--rice);
  margin-bottom: 0.25rem;
}

.instructor-text p {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.85;
  color: rgba(245,237,216,0.7);
}

.instructor-text blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ============================================================
   CTA PANEL
============================================================ */
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.cta-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: rgba(245,237,216,0.75);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 1em 2.5em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,134,10,0.4);
}

/* ============================================================
   CONTACT PANEL
============================================================ */
.contact-emblem {
  width: 80px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.panel-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.contact-sub {
  font-family: var(--font-label);
  font-size: clamp(0.6rem, 0.9vw, 0.75rem);
  letter-spacing: 0.2em;
  color: rgba(245,237,216,0.5);
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 420px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(200,134,10,0.15);
  padding-bottom: 1rem;
}

.contact-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item a {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--rice);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold-light); }

/* ============================================================
   NAV DOTS
============================================================ */
.panel-nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 500;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(200,134,10,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.nav-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.nav-dot:hover {
  border-color: var(--gold-light);
}

/* ============================================================
   SCROLL HINT
============================================================ */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,134,10,0.6);
  z-index: 500;
  transition: opacity 0.5s ease;
}
.scroll-hint-arrow {
  animation: hintSlide 1.5s ease-in-out infinite;
}
@keyframes hintSlide {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; }

/* ============================================================
   PARALLAX DEPTH — panels slightly offset on X as stage moves
============================================================ */
.panel-bg { will-change: transform; }


/* ============================================================
   SINGLE DISCIPLINE PANELS (5 & 6)
============================================================ */
.panel-discipline-single .panel-content {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
  max-width: 1200px;
  padding: clamp(2rem, 5vw, 5rem);
}

.discipline-photo-full {
  flex-shrink: 0;
  width: clamp(280px, 40vw, 560px);
  height: clamp(360px, 55vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(200,134,10,0.2);
}
.discipline-photo-full img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.panel-discipline-single:hover .discipline-photo-full img {
  transform: scale(1.03);
}

.discipline-single-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--rice);
}
.discipline-single-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
}
.discipline-single-text p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  color: rgba(245,237,216,0.75);
  max-width: 38ch;
}
.discipline-single-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.discipline-single-text ul li {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(245,237,216,0.55);
  padding-left: 1.4rem;
  position: relative;
}
.discipline-single-text ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* PANEL 5: KUNG FU — dusk, sky deepening blue-indigo */
.panel-bg-kungfu {
  background:
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(180,80,20,0.2) 0%, transparent 55%),
    linear-gradient(to bottom,
      #0e0c20 0%,
      #180f30 40%,
      #220e2e 70%,
      #2a0e22 100%
    );
}
/* PANEL 6: TAI CHI — last light, soft indigo-violet */
.panel-bg-taichi {
  background:
    radial-gradient(ellipse 60% 35% at 40% 100%, rgba(140,60,20,0.15) 0%, transparent 55%),
    linear-gradient(to bottom,
      #0c0a1e 0%,
      #160e2e 40%,
      #1e1038 70%,
      #180c28 100%
    );
}

/* Mobile overrides for single discipline panels */
@media (max-width: 768px) {
  .panel-discipline-single .panel-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 1.8rem 5rem;
    align-items: flex-start;
    overflow-y: auto;
    max-height: 100dvh;
  }
  .discipline-photo-full {
    width: 100%;
    height: 240px;
    flex-shrink: 0;
  }
  .discipline-single-text h2  { font-size: clamp(2rem, 8vw, 3rem); }
  .discipline-single-text p   { font-size: 1rem; max-width: 100%; }
}

/* ============================================================
   MOBILE — every panel is one locked screen, zero vertical scroll
============================================================ */
@media (max-width: 768px) {

  .panel {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    align-items: stretch;
  }

  .panel-bg {
    position: absolute;
    inset: 0;
    transform: none !important;
  }

  /* Default content box — fills screen, no overflow */
  .panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.8rem 4rem;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .panel-content-center {
    align-items: flex-start;
    text-align: left;
  }

  /* ---- MOUNTAIN ---- */
  .panel-mountain .panel-content { justify-content: center; }
  .panel-mountain .panel-title   { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; }
  .panel-mountain .panel-body    { font-size: 0.95rem; margin-top: 0.75rem; }
  .panel-eyebrow                 { margin-bottom: 0.5rem; font-size: 0.6rem; }
  .hills-silhouette              { height: 25%; }

  /* ---- TENETS ---- */
  .panel-tenet .panel-content { justify-content: center; gap: 0; }
  .tenet-num   { font-size: clamp(2.5rem, 10vw, 4rem); line-height: 1; margin-bottom: 0.2rem; }
  .tenet-title { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; margin-bottom: 0.8rem; }
  .tenet-body  { font-size: 0.95rem; line-height: 1.6; max-width: 100%; }
  .tenet-divider { margin-top: 1.2rem; }

  /* ---- DISCIPLINE SINGLE ---- */
  .panel-discipline-single .panel-content {
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    overflow: hidden;
  }

  .discipline-photo-full {
    width: 100%;
    height: 45vh;
    flex-shrink: 0;
  }

  .discipline-single-text {
    flex: 1;
    padding: 1.2rem 1.8rem 3.5rem;
    gap: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .discipline-single-text h2   { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .discipline-single-text p    { font-size: 0.88rem; line-height: 1.55; max-width: 100%; }
  .discipline-single-text ul   { gap: 0.3rem; margin-top: 0.25rem; }
  .discipline-single-text ul li { font-size: 0.82rem; }

  /* ---- INSTRUCTOR ---- */
  .instructor-content {
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: stretch;
    height: 100%;
    max-width: 100%;
  }

  .instructor-photo {
    width: 100%;
    height: 42vh;
    flex-shrink: 0;
  }

  .instructor-text {
    flex: 1;
    padding: 1.2rem 1.8rem 3.5rem;
    gap: 0.4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .instructor-name            { font-size: clamp(1.5rem, 6vw, 2rem); }
  .instructor-text p          { font-size: 0.82rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .instructor-text p:first-of-type { -webkit-line-clamp: 4; }
  .instructor-text p:last-of-type  { display: none; } /* hide second para on mobile */
  .instructor-text blockquote { font-size: 0.88rem; line-height: 1.5; padding-left: 0.8rem; }
  .panel-eyebrow              { margin-bottom: 0.2rem; }

  /* ---- CTA ---- */
  .panel-cta .panel-content { justify-content: center; }
  .cta-headline { font-size: clamp(2.2rem, 9vw, 3.5rem); line-height: 1.05; margin-bottom: 0.5rem; }
  .cta-body     { font-size: 0.9rem; margin-bottom: 1rem; }
  .cta-btn      { font-size: 0.72rem; padding: 0.85em 2em; }

  /* ---- CONTACT ---- */
  .panel-contact .panel-content { justify-content: center; gap: 0; }
  .contact-emblem  { width: 55px; margin-bottom: 0.8rem; }
  .panel-contact h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); margin-bottom: 0.2rem; }
  .contact-sub     { font-size: 0.58rem; margin-bottom: 1.2rem; }
  .contact-methods { gap: 0.7rem; margin-bottom: 1.2rem; }
  .contact-item    { padding-bottom: 0.6rem; gap: 0.15rem; }
  .contact-item a  { font-size: 0.9rem; }
  .contact-label   { font-size: 0.58rem; }

  /* ---- DOTS ---- */
  .panel-nav { bottom: 0.75rem; gap: 0.4rem; }
  .nav-dot   { width: 6px; height: 6px; }
  .scroll-hint {
    display: flex;
    bottom: 3rem;
    right: 50%;
    transform: translateX(50%);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }
  .scroll-hint-arrow {
    font-size: 1.2rem;
    animation: hintSlide 1.5s ease-in-out infinite;
  }
  .scroll-hint.hidden { opacity: 0; pointer-events: none; }

  /* ---- CURTAIN ---- */
  .curtain-title  { font-size: clamp(1.8rem, 7vw, 3rem); }
  .curtain-enter  { font-size: 0.72rem; padding: 0.8em 2em; }
}