/* ===================================================
   UNIQUE CUSTOM CSS SECTION (Prefix: .nv-hero-)
   =================================================== */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #000000;
  top: 0 !important;
  /* Prevents Google Translate bar shift */
}

/* ===================================================
   ABOUT PAGE: INTRODUCTION
   =================================================== */
.sgp-about-introduction {
  background: #fcfaf6;
  color: #2b2927;
  padding: 76px 0 78px;
}

.sgp-about-introduction__content {
  max-width: 700px;
}

.sgp-about-eyebrow {
  color: #825719;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.25px;
  line-height: 1.2;
  text-transform: uppercase;
}

.sgp-about-rule {
  display: flex;
  align-items: center;
  gap: 0;
  height: 3px;
  margin: 16px 0 27px;
}

.sgp-about-rule span {
  display: block;
  height: 3px;
  width: 13px;
}

.sgp-about-rule span:nth-child(1) { background: #5ca7cd; }
.sgp-about-rule span:nth-child(2) { background: #f1bd49; }
.sgp-about-rule span:nth-child(3) { background: #d46570; }
.sgp-about-rule span:nth-child(4) { background: #4c9679; }

.sgp-about-copy p {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 1.75;
  margin: 0 0 19px;
}

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

@media (max-width: 767.98px) {
  .sgp-about-introduction {
    padding: 56px 0 60px;
  }

  .sgp-about-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* Full-page About design */
body.sgp-about-page {
  background: #fcfaf6;
  color: #292827;
  font-family: 'Inter', sans-serif;
}

.sgp-about-page__main {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 76px max(32px, calc((100vw - 718px) / 2)) 72px;
}

.sgp-about-page__content {
  max-width: 718px;
}

.sgp-about-page__eyebrow {
  color: #84591c;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.sgp-about-page__rule {
  display: flex;
  height: 3px;
  margin: 16px 0 26px;
}

.sgp-about-page__rule span {
  display: block;
  height: 3px;
  width: 13px;
}

.sgp-about-page__rule span:nth-child(1) { background: #5ba5c9; }
.sgp-about-page__rule span:nth-child(2) { background: #edb948; }
.sgp-about-page__rule span:nth-child(3) { background: #d26973; }
.sgp-about-page__rule span:nth-child(4) { background: #438d72; }

.sgp-about-page__copy p {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02px;
  line-height: 1.75;
  margin: 0 0 18px;
}

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

@media (max-width: 767.98px) {
  .sgp-about-page__main {
    padding: 52px 28px;
  }

  .sgp-about-page__copy p {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* Hide Default Google Translate Branding Banner & Framing */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

#google_translate_element {
  display: none !important;
}

/* Grid Overlay Border Lines */
.nv-hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 10;
}

/* --- ABSOLUTE HEADER --- */
.nv-hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding-top: 25px;
  padding-bottom: 25px;
}

.nv-hero-logo {
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  position: absolute;
  top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.nv-hero-logo img {
  max-width: 140px;
}

.nv-hero-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.nv-hero-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  transition: color 0.3s ease;
}

.nv-hero-nav .nav-link:hover,
.nv-hero-nav .nav-link.active {
  color: #ffffff;
}

/* --- CUSTOM GOOGLE TRANSLATE DROPDOWN --- */
.nv-translate-wrapper {
  position: relative;
}

.nv-lang-dropdown {
  position: relative;
  display: inline-block;
}

.nv-lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nv-lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.nv-lang-btn .nv-chevron {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.nv-lang-dropdown.active .nv-chevron {
  transform: rotate(180deg);
}

.nv-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 100;
}

.nv-lang-dropdown.active .nv-lang-menu {
  display: block;
}

.nv-lang-menu li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nv-lang-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* --- SWIPER BANNER CONTAINER --- */
.nv-hero-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.nv-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #ffffff;
  font-family: 'Marcellus', serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Gradient Overlays */
.nv-hero-slide-1 {
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.35) 100%),
    url('../images/1.png');
}

.nv-hero-slide-2 {
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.35) 100%),
    url('../images/2.png');
}

.nv-hero-slide-3 {
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.35) 100%),
    url('../images/3.png');
}

/* --- HERO BODY CONTENT --- */
.nv-hero-content-container {
  position: relative;
  z-index: 5;
  padding-bottom: 60px;
  padding-top: 140px;
  width: 100%;
}

.nv-hero-subtitle {
  font-family: "Marcellus", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  letter-spacing: 3px;
  margin-bottom: 5px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.nv-hero-title {
  font-family: "Marcellus", serif;
  font-weight: 500;
  font-size: 4.5rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 30px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.nv-hero-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 35px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.6s;
}

/* Action Button */
.nv-hero-btn {
  display: inline-flex;
  align-items: center;
  background-color: #65642e;
  color: #ffffff;
  padding: 6px 6px 6px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s, background-color 0.3s ease;
}

.nv-hero-btn:hover {
  background-color: #787738;
  color: #ffffff;
}

.nv-hero-btn-icon {
  background-color: #ffffff;
  color: #65642e;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  font-size: 0.8rem;
}

/* Slide Counter Indicator */
.nv-hero-counter {
  margin-top: 50px;
  font-family: "Marcellus", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
}

.nv-hero-counter-bold {
  font-weight: 600;
}

.nv-hero-counter-sub {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.7;
}

/* --- SWIPER ACTIVE ANIMATION --- */
.swiper-slide-active .nv-hero-subtitle,
.swiper-slide-active .nv-hero-title,
.swiper-slide-active .nv-hero-description,
.swiper-slide-active .nv-hero-btn {
  opacity: 1;
  transform: translateY(0);
}

/* --- RIGHT BADGES PILL MENU --- */
.nv-hero-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nv-hero-pill {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 170px;
  cursor: pointer;
}

.nv-hero-pill-active {
  background-color: #ffffff;
  color: #111111;
  font-weight: 600;
}

.nv-hero-pill-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nv-hero-pill-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Custom Swiper Navigation Controls */
.nv-hero-swiper-arrows {
  position: absolute;
  bottom: 60px;
  right: 12px;
  z-index: 20;
  display: flex;
  gap: 10px;
}

.nv-hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nv-hero-arrow:hover {
  background: #ffffff;
  color: #000000;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 991.98px) {
  .nv-hero-subtitle {
    font-size: 2.5rem;
  }

  .nv-hero-title {
    font-size: 3.5rem;
  }

  .nv-hero-badges {
    align-items: flex-start;
    margin-top: 30px;
  }

  .nv-hero-swiper-arrows {
    bottom: 20px;
    right: 12px;
  }
}

@media (max-width: 575.98px) {
  .nv-hero-content-container {
    padding-top: 100px;
  }

  .nv-hero-subtitle {
    font-size: 1.8rem;
  }

  .nv-hero-title {
    font-size: 2.4rem;
  }

  .nv-hero-counter {
    margin-top: 30px;
  }

  .nv-hero-pill {
    width: 100%;
    text-align: center;
  }
}

/* ===================================================
   LIGHT THEME ABOUT SECTION (Prefix: .nv-about-section-light)
   =================================================== */

.nv-about-section-light {
  padding: 100px 0;
  background-color: #faf8f5;
  /* Warm aesthetic cream background */
  color: #2b2b2b;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient background glow */
.nv-about-section-light::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(181, 142, 69, 0.1) 0%, rgba(250, 248, 245, 0) 70%);
  pointer-events: none;
}

/* --- TEACHER CARD (LIGHT) --- */
.nv-teacher-card-light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.nv-teacher-card-light:hover {
  transform: translateY(-8px);
  border-color: rgba(181, 142, 69, 0.3);
  box-shadow: 0 20px 45px rgba(181, 142, 69, 0.12);
}

.nv-teacher-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4 / 5;
  background-color: #f0ede8;
}

.nv-teacher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(95%);
  transition: transform 0.5s ease;
}

.nv-teacher-card-light:hover .nv-teacher-img {
  transform: scale(1.03);
}

.nv-teacher-badge {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #a37a2c;
  border: 1px solid rgba(163, 122, 44, 0.25);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nv-teacher-name {
  font-family: 'Marcellus', serif;
  font-size: 1.45rem;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.nv-teacher-role {
  font-size: 0.82rem;
  color: #777777;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

/* --- ABOUT CONTENT (LIGHT) --- */
.nv-section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.nv-tag-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #b58e45;
}

.nv-tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #b58e45;
  text-transform: uppercase;
}

.nv-about-heading {
  font-family: 'Marcellus', serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 25px;
}

.nv-highlight {
  color: #a37a2c;
  font-style: italic;
}

.nv-about-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 18px;
  font-weight: 400;
}

.nv-about-lead strong {
  color: #000000;
}

.nv-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Highlighted Quote Box (Light) */
.nv-welcome-note {
  background: #f2ebd9;
  border-left: 3px solid #b58e45;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 35px;
  display: flex;
  gap: 16px;
}

.nv-note-icon {
  color: #b58e45;
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 2px;
}

.nv-welcome-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a4031;
  font-style: italic;
}

/* Action Button (Light) */
.nv-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid #111111;
  background: transparent;
  transition: all 0.3s ease;
}

.nv-about-btn i {
  transition: transform 0.3s ease;
}

.nv-about-btn:hover {
  background: #b58e45;
  border-color: #b58e45;
  color: #ffffff;
}

.nv-about-btn:hover i {
  transform: translateX(6px);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 991.98px) {
  .nv-about-section-light {
    padding: 70px 0;
  }

  .nv-about-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  .nv-about-heading {
    font-size: 1.8rem;
  }

  .nv-welcome-note {
    padding: 16px;
  }
}

/* ===================================================
   WEBFLOW CONVERGING FLY-IN ANIMATION
   =================================================== */

.nv-features-section {
  padding: 70px 0;
  background-color: #f8f6f1;
  color: #2b2823;
  overflow: hidden;
}

.nv-features-title {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  font-weight: 500;
  color: #1e1c19;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.nv-features-subtext {
  font-size: 1.05rem;
  color: #6b665c;
  font-weight: 400;
  margin-bottom: 50px;
}

/* Card Styling */
.nv-feature-card {
  background-color: #f0ebe1;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 38px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nv-feature-icon {
  color: #3b3730;
  margin-bottom: 24px;
}
.nv-feature-icon img{
  width: 48px;
}

.nv-feature-card-title {
  font-family: 'Marcellus', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1a17;
  margin-bottom: 14px;
}

.nv-feature-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #5c574e;
  margin-bottom: 0;
}

/* --- FLY-IN INITIAL POSITIONS (Off-screen / Scattered) --- */

.nv-fly-element {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Left fly-in */
.nv-fly-element.fly-from-top-left {
  transform: translate3d(-140px, -60px, 0) scale(0.92);
}

/* Top Center fly-in */
.nv-fly-element.fly-from-top {
  transform: translate3d(0, -90px, 0) scale(0.92);
}

/* Top Right fly-in */
.nv-fly-element.fly-from-top-right {
  transform: translate3d(140px, -60px, 0) scale(0.92);
}

/* Bottom Left fly-in */
.nv-fly-element.fly-from-bottom-left {
  transform: translate3d(-140px, 60px, 0) scale(0.92);
}

/* Bottom Center fly-in */
.nv-fly-element.fly-from-bottom {
  transform: translate3d(0, 90px, 0) scale(0.92);
}

/* Bottom Right fly-in */
.nv-fly-element.fly-from-bottom-right {
  transform: translate3d(140px, 60px, 0) scale(0.92);
}

/* --- ACTIVE STATE (Converging into position) --- */
.nv-fly-element.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}


:root {
  --bg-dark: #1d3d5c;
  /* Deep earthy olive background */
  --card-bg: #F5F2EB;
  /* Warm off-white card background */
  --pill-bg: #E6E1D5;
  /* Muted pill badge background */
  --text-dark: #22201B;
  --text-muted: #66635B;
  --btn-dark: #333128;
  --btn-hover: #1A1915;
}

.events-centered-section {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.events-centered-section h1,
.events-centered-section h2,
.events-centered-section h3,
.events-centered-section .font-serif {
  font-family: 'Marcellus', serif;
}

/* Top Navigation Header */
.section-title {
  font-size: 3rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.5;
}

/* Controls & Buttons Header Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Slider Navigation Arrows */
.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover:not(:disabled) {
  background: #FFFFFF;
  color: var(--text-dark);
  border-color: #FFFFFF;
}

.slider-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.btn-see-all {
  background: #FFFFFF;
  color: var(--text-dark);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-see-all .arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--btn-dark);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-see-all:hover {
  background: #EFEBE0;
  color: var(--text-dark);
}

.btn-see-all:hover .arrow-circle {
  transform: translateX(3px);
}

/* Slider Viewport */
.centered-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  cursor: grab;
  position: relative;
}

.centered-slider-viewport:active {
  cursor: grabbing;
}

.centered-slider-track {
  display: flex;
  gap: 1.75rem;
  will-change: transform;
  width: max-content;
}

/* Split Event Card Item */
.split-card-wrapper {
  width: 720px;
  flex-shrink: 0;
  transition: opacity 0.4s ease;
}

@media (max-width: 992px) {
  .split-card-wrapper {
    width: 85vw;
    height: 600px;
  }
}

.split-event-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  height: 380px;
  color: var(--text-dark);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .split-event-card {
    flex-direction: column;
    height: auto;
  }

  .card-media-pane {
    height: 220px;
  }
}

/* Left Pane - Image */
.card-media-pane {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.card-media-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-event-card:hover .card-media-pane img {
  transform: scale(1.05);
}

/* Right Pane - Details Content */
.card-content-pane {
  flex: 1.15;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.date-pill {
  background-color: var(--pill-bg);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.event-card-title {
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.event-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Action Pill Button */
.btn-details {
  background-color: var(--btn-dark);
  color: #FFFFFF;
  border-radius: 50px;
  padding: 8px 18px 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.btn-details .btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.btn-details:hover {
  background-color: var(--btn-hover);
  color: #FFFFFF;
}

.team-section-shape {
  z-index: 1;
  max-width: 250px;
  position: absolute;
  /* inset: auto auto 0% 0%; */
}

:root {
  --paper: #eae4d6;
  --ink: #2b2820;
  --ink-soft: #6b6558;
  --muted: #96907e;
  --brass: #8c744c;
  --ember: #a85c3f;
  --wood: #4d4132;
  --line: rgba(43, 40, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 32px 60px;
}

/* -------- header -------- */
.header {
  display: flex;
  gap: 28px;
  margin-bottom: 64px;
}

.spine {
  flex: 0 0 auto;
  width: 16px;
  display: flex;
  justify-content: center;
}

.spine-line {
  width: 1px;
  height: 100%;
  background: var(--line);
  position: relative;
}

.spine-line::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  animation: ember 6s ease-in-out infinite;
}

@keyframes ember {

  0%,
  100% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }
}

.eyebrow {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--brass);
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 4px;
}

.header-main {
  flex: 1;
}

h1 {
  font-family: 'Marcellus', serif;
  font-weight: 340;
  font-style: normal;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: .005em;
}

h1 .zh {
  font-family: 'Marcellus', serif;
  font-weight: 500;
  display: block;
  font-size: 0.42em;
  color: var(--wood);
  margin-top: 14px;
  letter-spacing: .08em;
}

.lede {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 48ch;
  font-weight: 400;
}

.lede em {
  font-style: italic;
  color: var(--ink);
}

/* -------- ambient incense -------- */
.incense {
  position: relative;
  height: 0;
}

.incense svg {
  position: absolute;
  right: 0;
  top: -190px;
  width: 120px;
  height: 200px;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 700px) {
  .incense {
    display: none;
  }
}

/* -------- section rule -------- */
.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

/* -------- details -------- */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width:700px) {
  .details {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 20px;
}

.addr-en {
  font-family: 'Marcellus', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.addr-native {
  font-family: 'Marcellus', serif;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}

.addr-zh {
  font-family: 'Marcellus', serif;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

dl.info {
  margin: 0;
}

dl.info div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
}

dl.info div:first-child {
  border-top: none;
  padding-top: 0;
}

dl.info dt {
  flex: 0 0 96px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 500;
  padding-top: 2px;
}

dl.info dd {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

dl.info dd b {
  color: var(--ink);
  font-weight: 500;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.status.open .dot {
  background: var(--ember);
}

.status.open {
  color: var(--ink);
}

/* -------- map -------- */
.map-section {
  margin-top: 8px;
}

.map-frame {
  border: 1px solid var(--line);
}

.map-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

.map-caption a {
  color: var(--wood);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.map-caption a:hover {
  border-color: var(--wood);
}

/* -------- support -------- */
.support {
  text-align: center;
  margin-top: 12px;
}

.support p {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  font-family: 'Marcellus', serif;
  font-size: 20px;
  font-weight: 400;
}

.support a {
  display: inline-block;
  margin-top: 20px;
  color: var(--wood);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.support a:hover {
  border-color: var(--wood);
}


.footer-gradient {
  z-index: 3;
      background-image: linear-gradient(180deg, #f8f6f0 1%, #202b1d15 18%, #1d3d5c 99%);
  pointer-events: none;
  position: absolute;
  inset: 0%;
}
.about-gradient {
  z-index: 3;
      background-image: linear-gradient(180deg, #000000a8 1%, #00000029 40%, #ffffff 99%);
  pointer-events: none;
  position: absolute;
  inset: 0%;
}
.ymw-hero-section.inner{
  min-height: 75vh;
}
.cta-section-gradient {
  z-index: 3;
  background-image: linear-gradient(180deg, #f8f6f0, #00000000);
  pointer-events: none;
  height: 20vh;
  position: absolute;
  inset: 0% 0% auto;
}

.ymw-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  padding: 70px 0;
}

/* Background Video Styling */
.ymw-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Equivalent to background-size: cover */
  object-position: center 35%; /* Same alignment as your original CSS */
  z-index: 0;
}

/* Soft Earthy Gradient Overlay Layer */
.ymw-hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    /* Soft light glow at top */
    linear-gradient(180deg, rgba(245, 243, 238, 0.45) 0%, rgba(45, 45, 36, 0) 35%),
    /* Deep warm olive gradient from bottom & sides */
    radial-gradient(circle at 50% 65%, rgba(55, 52, 40, 0.4) 0%, rgba(35, 33, 25, 0.82) 100%);
  z-index: 1; /* Places gradient above video but below text */
}

/* Content Container */
.ymw-content-box {
  position: relative;
  z-index: 4; /* Ensures text renders above video & overlay */
  max-width: 780px;
  text-align: center;
  color: #FFFFFF;
  margin: 0 auto;
}
.ymw-hero-section.inner .ymw-content-box {
  margin-top: 400px;
}
.ymw-hero-section.inner .ymw-heading {
  color: #000;
  /* margin-bottom: 0; */
}

.ymw-hero-section.inner .ymw-subtext {
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 0;
  max-width: 100%;
  font-size: 1rem;
}

/* Serif Display Heading */
.ymw-heading {
  font-family: 'Marcellus', serif;
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Subtitle Text */
.ymw-subtext {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 2.25rem auto;
  letter-spacing: 0.01em;
}

/* Pill Action Button */
.ymw-btn {
  background-color: #FFFFFF;
  color: #22201B;
  border-radius: 50px;
  padding: 8px 10px 8px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ymw-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333128;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ymw-btn:hover {
  background-color: #F7F5F0;
  color: #1A1915;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.ymw-btn:hover .ymw-btn-icon {
  transform: translateX(3px);
  background-color: #1A1915;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .ymw-hero-section {
    min-height: 75vh;
  }
  .ymw-heading {
    font-size: 2.75rem;
  }
  .ymw-subtext {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .ymw-heading {
    font-size: 2.25rem;
  }
  .ymw-subtext {
    font-size: 0.825rem;
  }
}

    .sgp-footer-section {
      background-color: #1d3d5c; /* Dark earthy olive background matching design */
      color: #FFFFFF;
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      padding: 5rem 0 2.5rem 0;
      position: relative;
    }

    .sgp-footer-section h1,
    .sgp-footer-section h2,
    .sgp-footer-section .font-serif {
      font-family: 'Marcellus', serif;
    }

    /* Top Section Header */
    .sgp-top-title {
      font-size: 3.5rem;
      font-weight: 400;
      line-height: 1.15;
      color: #FFFFFF;
      margin-bottom: 0;
      letter-spacing: -0.01em;
    }

    .sgp-top-btn {
      background-color: rgba(255, 255, 255, 0.12);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 50px;
      padding: 8px 20px;
      font-size: 0.85rem;
      font-weight: 500;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      margin-left: 12px;
      vertical-align: middle;
      transition: all 0.3s ease;
    }

    .sgp-top-btn:hover {
      background-color: #FFFFFF;
      color: #384033;
    }

    /* Top Right Social Block */
    .sgp-social-label {
      font-size: 1.25rem;
      font-weight: 400;
      margin-bottom: 1rem;
      text-align: right;
    }

    .sgp-social-icons {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
    }

    .sgp-social-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #FFFFFF;
      color: #384033;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .sgp-social-circle:hover {
      transform: translateY(-3px);
      background-color: #E6E2D8;
      color: #384033;
    }

    /* Horizontal Divider Line */
    .sgp-divider {
      border: 0;
      height: 1px;
      background-color: rgba(255, 255, 255, 0.2);
      margin: 3.5rem 0;
    }

    /* Bottom Section Headers */
    .sgp-col-title {
      font-size: 0.9rem;
      font-weight: 600;
      color: #FFFFFF;
      margin-bottom: 1.5rem;
      letter-spacing: 0.02em;
    }

    /* Address & Details Text */
    .sgp-info-text {
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    .sgp-multilingual {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.875rem;
      margin-top: 0.75rem;
      line-height: 1.5;
    }

    /* Menu Pill Badges Layout */
    .sgp-menu-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 10px;
    }

    .sgp-pill-item {
      background-color: rgba(255, 255, 255, 0.1);
      color: #FFFFFF;
      border-radius: 50px;
      padding: 6px 18px;
      font-size: 0.85rem;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .sgp-pill-item:hover {
      background-color: rgba(255, 255, 255, 0.25);
      color: #FFFFFF;
    }

    /* Email Highlight Block */
    .sgp-email-display {
      font-size: 1.5rem;
      color: #FFFFFF;
      text-decoration: none;
      display: block;
      margin-bottom: 1rem;
      word-break: break-all;
    }

    .sgp-email-display:hover {
      color: rgba(255, 255, 255, 0.8);
    }

    /* Subtext under Email */
    .sgp-sub-note {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.5;
    }

    /* Copyright Bar */
    .sgp-copyright-bar {
      margin-top: 4rem;
      padding-top: 1.5rem;
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.6);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .sgp-copyright-bar a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      font-weight: 500;
    }

    /* Responsive Breaks */
    @media (max-width: 992px) {
      .sgp-top-title {
        font-size: 2.75rem;
      }
      .sgp-social-label {
        text-align: left;
        margin-top: 1.5rem;
      }
      .sgp-social-icons {
        justify-content: flex-start;
      }
    }

    @media (max-width: 576px) {
      .sgp-top-title {
        font-size: 2.1rem;
      }
      .sgp-top-btn {
        margin-left: 0;
        margin-top: 10px;
      }
      .sgp-email-display {
        font-size: 1.5rem;
      }
    }

    /* Mobile Toggle Button */
.nv-mobile-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #fff; /* Change color to match your theme */
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* Mobile Slide-over Drawer */
.nv-mobile-menu {
  position: fixed;
  top: 0;
  right: -300px; /* Hidden off-screen by default */
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1050;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

/* Active Drawer State */
.nv-mobile-menu.show {
  right: 0;
}

/* Backdrop Overlay */
.nv-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.nv-mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Drawer Header & Body */
.nv-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem;
  border-bottom: 1px solid #eee;
}

.nv-mobile-header img {
  max-height: 40px;
}

.nv-mobile-close {
  background: transparent;
  border: none;
  font-size: 2rem; /* Make it large and clickable */
  line-height: 1;
  position: absolute;
  right:0;
  color: #333;
  cursor: pointer;
  padding: 0 0.5rem;
}

.nv-mobile-close:hover {
  color: #ff0000; /* Optional hover color */
}

.nv-mobile-body {
  padding: 1.25rem;
  overflow-y: auto;
}

.nv-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nv-mobile-nav li {
  margin-bottom: 0.75rem;
}

.nv-mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nv-mobile-nav a.active,
.nv-mobile-nav a:hover {
  color: #b89c39; /* Your active brand color */
}



.story-section {
  background-color: #fff;
  color: #1C1917;
  padding:70px 0;
}

.story-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Header Layout */
.story-header {
  /* display: grid; */
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
}

.story-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1C1917;
  padding-top: 0.5rem;
}

.story-header p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #1C1917;
}

/* Main Content Grid */
.story-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-media {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-details {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.story-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #57534E;
}

/* Metrics Row */
.story-metrics {
  display: flex;
  gap: 4rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: 'Playfair Display', 'Cinzel', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;
  color: #1C1917;
  margin-bottom: 0.5rem;
}

.metric-caption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1C1917;
}

/* Responsive Behavior */
@media (max-width: 968px) {
  .story-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .story-headline {
    font-size: 1.75rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-media {
    height: 300px;
  }
}

/* Color System */
:root {
  --bg-page: #FAF8F5;          /* Warm Light Beige */
  --bg-card: #FFFFFF;          /* Pure White Cards */
  --border-card: #EAE5DC;      /* Soft Light Border */
  --text-primary: #1C1917;      /* Dark Black/Charcoal for High Contrast */
  --text-muted: #4A4744;        /* Dark Readable Gray */
  --accent-gold: #C67D0A;      /* Warm Gold Accent */
  --radius: 12px;
}

.tradition-section {
  background-color: var(--bg-page);
  padding: 5rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
}

.tradition-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left Column Styling */
.sub-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0.5rem 0 0.75rem 0;
}

.accent-line {
  width: 45px;
  height: 2px;
  background-color: var(--accent-gold);
  margin-bottom: 2rem;
}

.paragraph {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.paragraph.lead {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Right Column: Crest Header & Cards */
.crest-header {
  text-align: center;
  margin-bottom: 1rem;
}

.crest-img {
  max-width:200px;
  height: auto;
}

.crest-title {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* 2x2 Grid of Individual Light Cards */
.crest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.symbol-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.symbol-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.symbol-icon {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.card-header h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.symbol-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .tradition-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .crest-grid {
    grid-template-columns: 1fr;
  }
}

/* Base Canvas */
.teachers-editorial-section {
  background-color: #fff;
  padding: 6rem 2rem;
  color: #1C1917;
  overflow: hidden;
}

.teachers-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

/* Header with Oversized Typography */
.section-header {
  position: relative;
  margin-bottom: 4.5rem;
}

.watermark-text {
  position: absolute;
  top: -2.5rem;
  left: -0.5rem;
  font-size: 7rem;
  font-weight: 700;
  color: rgba(198, 125, 10, 0.05); /* Ultra subtle background watermark */
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.header-content {
  position: relative;
  z-index: 1;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #C67D0A;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 400;
  color: #1C1917;
  letter-spacing: -0.01em;
}

/* Two-Column Grid with Open Breathing Room */
.teachers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.teacher-profile {
  display: flex;
  flex-direction: column;
}

/* Portrait Image Wrapper */
.portrait-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Balanced editorial ratio for tall headshots */
  border-radius: 16px;
  overflow: visible; /* Allows floating badge to overlap cleanly */
  margin-bottom: 2.25rem;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  background-color: #F3EFE6;
  border: 1px dashed #C67D0A;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.portrait-fallback span {
  font-size: 0.85rem;
  color: #78716C;
  font-style: italic;
}

/* Floating Overlay Badge */
.floating-badge {
  position: absolute;
  bottom: -12px;
  left: 1.5rem;
  background-color: #1C1917;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Bio Text Container */
.bio-content {
  padding-top: 0.5rem;
}

.teacher-name {
  font-size: 2rem;
  font-weight: 500;
  color: #1C1917;
  margin-bottom: 1rem;
}

.teacher-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A4744;
  margin-bottom: 1.5rem;
}

.note-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-top: 1px solid #EAE5DC;
  padding-top: 1rem;
}

.accent-dot {
  color: #C67D0A;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.status-note {
  font-size: 0.825rem;
  font-style: italic;
  color: #8C857B;
  line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .watermark-text {
    font-size: 4.5rem;
  }
}

.sangha-focus {
  background-color: #FAF8F5;
  padding: 6rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1C1917;
  display: flex;
  justify-content: center;
}

.focus-container {
  max-width: 1140px;
  width: 100%;
}

.focus-header {
  /* max-width: 760px; */
  text-align: center;
  margin: 0 auto 3rem;
}

.focus-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #C67D0A;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.focus-title {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.focus-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #524E4A;
}

.focus-gallery {
  display: flex;
  gap: 1.5rem;
  height: 420px;
}

.focus-card {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.focus-card:hover {
  flex: 1.8; /* Expand active card */
}

.focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.focus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  color: #FFFFFF;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.focus-overlay h3 {
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.focus-overlay p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .focus-gallery {
    flex-direction: column;
    height: auto;
  }
  .focus-card {
    height: 280px;
  }
}

/* .sangha-masonry {
  background-color: #FAF8F5;
  padding: 6rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1C1917;
  display: flex;
  justify-content: center;
}

.masonry-container {
  max-width: 1180px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.masonry-content {
  padding: 0 0.5rem;
}

.masonry-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #C67D0A;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.masonry-title {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.masonry-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: #524E4A;
  margin-bottom: 1rem;
}

.masonry-content .highlight-text {
  font-weight: 600;
  color: #1C1917;
}

.col-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.masonry-card {
  margin: 0;
}

.img-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: #EFEBE4;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.col-left .img-frame {
  height: 480px;
}

.col-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-landscape {
  aspect-ratio: 16 / 10;
}

.aspect-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masonry-card figcaption {
  font-size: 0.825rem;
  color: #78716C;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .masonry-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .col-left .img-frame { height: 320px; }
} */
 

