/* ============================================================
   SOKA GAKKAI THAILAND — About Us Page
   Brand CI: #2280eb (Blue) · #ffe266 (Yellow) · #ec3e29 (Red)
             #ffffff (White) · #ededed (Light Gray) · #3a3d3c (Dark)
   Fonts: Source Sans 3 (EN, substitute for Open Sauce) · Kanit (TH)
   Design: Minimal · Modern · Photo-forward · Inspired by godly/minimal.gallery
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --blue:       #2280eb;
  --blue-dark:  #1a6fd4;
  --blue-soft:  rgba(34, 128, 235, 0.08);
  --yellow:     #ffe266;
  --red:        #ec3e29;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --light-gray: #ededed;
  --mid-gray:   #999;
  --dark:       #3a3d3c;
  --text:       #1c1c1e;
  --text-muted: #6e6e73;

  /* Typography */
  --font-en: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-th: 'Kanit', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-y:   120px;
  --container:   1160px;
  --gutter:      32px;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.14);
  --shadow-xl:   0 48px 96px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:         0.4s;
  --dur-slow:    0.7s;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul, ol { list-style: none; }

button {
  font-family: var(--font-th);
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: var(--white);
}


/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Stagger fade delay helpers */
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.30s !important; }
.delay-3 { transition-delay: 0.45s !important; }


/* ============================================================
   4. TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--yellow); }
.eyebrow-red   { color: var(--red); }

.section-title {
  font-family: var(--font-th);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-title-light { color: var(--white); }

.body-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 20px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-th);
  font-size: 15px;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

/* Primary — Blue fill */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(34, 128, 235, 0.38);
}

/* Hero button */
.btn-hero {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-weight: 600;
}
.btn-hero:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.btn-arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn-hero:hover .btn-arrow { transform: translateY(3px); }

/* Outline light (on dark bg) */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Pillar button */
.btn-pillar {
  background: transparent;
  color: var(--yellow);
  border-color: rgba(255, 226, 102, 0.45);
  font-size: 14px;
  padding: 11px 22px;
  margin-top: 28px;
}
.btn-pillar:hover {
  background: rgba(255, 226, 102, 0.12);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/* Full-width submit */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  margin-top: 8px;
}


/* ============================================================
   6. SCROLL FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   7. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  padding-block: 22px;
  transition: padding var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.navbar.scrolled {
  padding-block: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity var(--dur) var(--ease);
}

/* White logo: visible on transparent navbar (hero) */
.nav-logo-white { opacity: 1; }
.nav-logo-blue  { display: none; }

/* Blue logo: swap in when navbar scrolled */
.navbar.scrolled .nav-logo-white { display: none; }
.navbar.scrolled .nav-logo-blue  { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-th);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.nav-links a:hover { background: rgba(255,255,255,0.14); }

.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover { background: var(--light-gray); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  box-shadow: 0 4px 16px rgba(34,128,235,0.35) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--dur) var(--ease),
              opacity var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.navbar.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 800;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--dur) var(--ease);
}
.mobile-nav-link:hover { color: var(--blue); }

.mobile-nav-cta {
  color: var(--blue) !important;
  font-size: 20px !important;
  margin-top: 16px;
  border: none !important;
}


/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-bg {
  width: 100%;
  height: 115%; /* extra for parallax */
  object-fit: cover;
  object-position: center 30%;
  transform-origin: top center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(34,128,235,0.92) 0%,
    rgba(34,128,235,0.55) 40%,
    rgba(58,61,60,0.30)   100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 96px;
}

/* Hero text animations */
.hero-eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.3s var(--ease) forwards;
}

.hero-title {
  font-family: var(--font-th);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.45s var(--ease) forwards;
}

.hero-title span { color: var(--yellow); }

.hero-subtitle {
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.58s var(--ease) forwards;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.68s var(--ease) forwards;
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.82s var(--ease) forwards;
}

/* Scroll line indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollDrop 1.8s 1.2s var(--ease) infinite;
}

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

@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 200%; }
}


/* ============================================================
   9. MISSION
   ============================================================ */
.mission {
  padding-block: var(--section-y);
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Stats row */
.mission-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.stat-suffix {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  margin-left: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* ── Effect 3: Liquid Ring ── */
.stat-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  margin-bottom: 4px;
}

.stat-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.stat-ring-track {
  fill: none;
  stroke: rgba(0, 91, 187, 0.1);
  stroke-width: 3;
}

.stat-ring-fill {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  /* circumference = 2π × 32 ≈ 201 */
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-ring-fill.ring-go {
  stroke-dashoffset: 0;
}

/* Mission image side */
.mission-image-wrap {
  position: relative;
}

.mission-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.mission-quote-card {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin-top: 20px;
  background: var(--blue);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.7;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}

.mission-quote-card blockquote {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--white);
  font-style: normal;
  margin-bottom: 10px;
}

.mission-quote-card cite {
  font-family: var(--font-en);
  font-size: 12px;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}


/* ============================================================
   10. THREE PILLARS
   ============================================================ */
.pillars {
  padding-block-start: var(--section-y);
  background: var(--off-white);
  overflow: hidden;
}

.pillars-header {
  text-align: center;
  padding-bottom: 56px;
}

.pillars-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.85;
}

/* ── Card Row ── */
/* ── Pillar Cards Row ── */
/* ── Vertical Pillars Accordion ── */
.pillars-v {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.pv-item {
  position: relative;
  outline: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pv-item:last-child { border-bottom: none; }

/* Accent line — animates width on hover/active */
.pv-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 4;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.pv-item:hover::before  { width: 35%; }
.pv-item.active::before { width: 100%; }

.pv-item--blue::before   { background: var(--blue); }
.pv-item--yellow::before { background: var(--yellow); }
.pv-item--red::before    { background: var(--red); }

/* ── Clickable header banner ── */
.pv-header {
  position: relative;
  height: 150px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}

/* Full-bleed image */
.pv-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.38) saturate(0.45);
  transition: transform 0.75s cubic-bezier(0.4,0,0.2,1),
              filter 0.55s cubic-bezier(0.4,0,0.2,1);
}

.pv-item:hover .pv-img img {
  transform: scale(1.04);
  filter: brightness(0.55) saturate(0.65);
}

.pv-item.active .pv-img img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(0.82);
}

/* Gradient: left-to-right for readability */
.pv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 55%,
    rgba(0,0,0,0.12) 100%
  );
}

/* Footer text row */
.pv-foot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 36px;
  z-index: 2;
}

.pv-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: color 0.35s var(--ease);
}

.pv-item.active .pv-num { color: rgba(255,255,255,0.7); }

.pv-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pv-th {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  transition: transform 0.4s var(--ease);
}

.pv-item:hover .pv-th { transform: translateX(4px); }
.pv-item.active .pv-th { transform: translateX(6px); }

.pv-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease) 0.04s,
              transform 0.4s var(--ease) 0.04s,
              color 0.35s var(--ease);
}

.pv-item:hover .pv-en,
.pv-item.active .pv-en {
  opacity: 1;
  transform: translateX(6px);
}

.pv-item--blue.active .pv-en   { color: rgba(100,180,255,0.9); }
.pv-item--yellow.active .pv-en { color: rgba(255,226,102,0.9); }
.pv-item--red.active .pv-en    { color: rgba(255,160,140,0.9); }

/* Chevron */
.pv-chevron {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
              color 0.35s var(--ease);
}

.pv-item.active .pv-chevron {
  transform: rotate(180deg);
  color: rgba(255,255,255,0.9);
}

/* Watermark number */
.pv-item[data-pillar="0"] .pv-header::after { content: "01"; }
.pv-item[data-pillar="1"] .pv-header::after { content: "02"; }
.pv-item[data-pillar="2"] .pv-header::after { content: "03"; }

.pv-header::after {
  position: absolute;
  right: 24px;
  bottom: -24px;
  font-family: var(--font-en);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  transition: color 0.5s var(--ease);
}

.pv-item:hover .pv-header::after  { color: rgba(255,255,255,0.06); }
.pv-item.active .pv-header::after { color: rgba(255,255,255,0.08); }

/* ── Expand body: CSS grid accordion ── */
.pv-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
}

.pv-item.active .pv-body {
  grid-template-rows: 1fr;
}

.pv-body-inner {
  overflow: hidden;
  min-height: 0;
}

.pv-body-inner > .container {
  padding-block: 52px;
}

/* ── Expand Wrap ── */
.pillar-expand-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.52s var(--ease);
  background: var(--white);
}

.pillar-expand-wrap.open {
  grid-template-rows: 1fr;
}

.pillar-expand-inner {
  overflow: hidden;
  min-height: 0;
}

.pillar-expand-panel {
  display: none;
  padding-block: 56px;
}

.pillar-expand-panel.active {
  display: block;
}

/* ── Culture Panel ── */
.culture-intro {
  font-family: var(--font-th);
  font-size: 16px;
  line-height: 2;
  color: rgba(0,0,0,0.6);
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.cult-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Effect 1: 3D Card Flip ── */
.cult-card {
  position: relative;
  border-radius: var(--radius-lg);
  cursor: pointer;
  outline: none;
  min-height: 340px;
  height: 420px;
  perspective: 1000px;
}

.cult-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: var(--radius-lg);
}

.cult-card:hover .cult-card-inner,
.cult-card:focus .cult-card-inner {
  transform: rotateY(180deg);
}

.cult-card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* Safari fallback: fade front out at the flip midpoint */
.cult-card:hover .cult-card-face--front,
.cult-card:focus .cult-card-face--front {
  opacity: 0;
  transition: opacity 0s 0.32s;
}

/* Restore front face opacity when not hovered */
.cult-card-face--front {
  transition: opacity 0s 0s;
}

/* Front face — translateZ(1px) forces Safari into 3D compositing layer */
.cult-card-face--front {
  display: flex;
  flex-direction: column;
  transform: rotateY(0deg) translateZ(1px);
}

/* Back face */
.cult-card-face--back {
  transform: rotateY(180deg) translateZ(1px);
  background: #fff;
  padding: 22px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Image layer */
.cult-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cult-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cult-card:hover .cult-card-img img { transform: scale(1.06); }

.cult-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

/* Front label */
.cult-card-front {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 20px 20px 18px;
}

.cult-card-num {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow);
  display: block;
  margin-bottom: 6px;
}

.cult-card-title {
  font-family: var(--font-th);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.4;
}

.cult-card-hint {
  font-family: var(--font-th);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.cult-card-face--back h4 {
  font-family: var(--font-th);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  line-height: 1.4;
}

.cult-card-sub {
  font-family: var(--font-th);
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 14px;
}

.cult-card-expand ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.cult-card-expand ul li {
  font-family: var(--font-th);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(0,0,0,0.7);
  margin-bottom: 4px;
}

.cult-card-note {
  font-family: var(--font-th);
  font-size: 13px;
  color: rgba(0,0,0,0.55);
  background: rgba(0,91,187,0.07);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0;
}

/* Museum link buttons inside card 3 */
.cult-museum-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.cult-museum-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  background: rgba(0, 91, 187, 0.05);
  border: 1px solid rgba(0, 91, 187, 0.12);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.cult-museum-btn:hover {
  background: rgba(0, 91, 187, 0.12);
  border-color: rgba(0, 91, 187, 0.28);
  transform: translateX(3px);
}

.cult-museum-btn-img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cult-museum-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cult-museum-btn-name {
  font-family: var(--font-th);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.cult-museum-btn-sub {
  font-family: var(--font-en);
  font-size: 10px;
  color: rgba(0,0,0,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cult-museum-btn-arrow {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.cult-museum-btn:hover .cult-museum-btn-arrow {
  transform: translateX(3px);
}

/* Lotus photo grid inside card 1 */
.cult-lotus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0 10px;
}
.cult-lotus-grid img:first-child,
.cult-lotus-grid img:nth-child(2) {
  grid-column: span 1;
}
.cult-lotus-grid img:last-child {
  grid-column: span 1;
}
.cult-lotus-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
/* span last row: if 5 images → 3 + 2, make last 2 wider */
.cult-lotus-grid img:nth-child(4),
.cult-lotus-grid img:nth-child(5) {
  grid-column: span 1;
  aspect-ratio: 3/2;
}

/* Group photo grid inside card 2 */
.cult-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.cult-group-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.cult-group-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.cult-group-item span {
  font-family: var(--font-th);
  font-size: 10px;
  color: rgba(0,0,0,0.6);
  text-align: center;
  line-height: 1.5;
}

.cult-group-item span em {
  font-style: normal;
  color: rgba(0,0,0,0.4);
  font-size: 9px;
  display: block;
}

/* Text-only item (no photo) */
.cult-group-item--text {
  justify-content: flex-start;
}

.cult-group-item--text .cult-group-icon {
  font-size: 22px;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,91,187,0.06);
  border-radius: 8px;
  flex-shrink: 0;
}

/* Category groupings inside expanded card */
.cult-cat { margin-bottom: 14px; }
.cult-cat:last-child { margin-bottom: 0; }

.cult-cat-label {
  font-family: var(--font-th);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0,91,187,0.12);
}

/* ── Education Panel ── */
.edu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.edu-story {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.edu-story strong { color: var(--dark); font-weight: 600; }

.btn-text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 28px;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.btn-text-link:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.edu-activities {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.edu-activity-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.edu-activity-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.edu-activity-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.edu-activity-item p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.btn-sm-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-th);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  border: 1.5px solid rgba(34,128,235,0.35);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-sm-outline:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
}

/* ── Schools Side ── */
.edu-schools-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.edu-schools-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.school-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.school-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              background 0.3s var(--ease);
}

.school-card:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: var(--shadow-sm);
}

.school-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  margin-top: 2px;
  flex-shrink: 0;
}

.school-card-img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.school-card-wide .school-card-img {
  width: 96px;
  height: 64px;
}

.school-card strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.35;
}

.school-card p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.school-card-wide {
  grid-column: 1 / -1;
}

/* ── Culture / Peace Panels ── */
.pillar-panel-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pillar-panel-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pillar-panel-list-wrap {
  padding-top: 4px;
}

.pillar-panel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-panel-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark);
}

.pillar-panel-list li::before {
  content: '—';
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================================
   11. SGI SECTION
   ============================================================ */
.sgi-section {
  padding-block: var(--section-y);
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

/* Decorative background shape */
.sgi-bg-decor {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.sgi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sgi-content .section-title { color: var(--white); }

.sgi-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
}

.sgi-visual {
  position: relative;
}

.sgi-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.82) saturate(0.7);
}

.sgi-counter-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

.sgi-counter-badge:first-of-type {
  top: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
}

.sgi-badge-2 {
  bottom: 24px;
  left: -20px;
  width: 100px;
  height: 100px;
}

.sgi-badge-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.sgi-badge-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
}



/* ============================================================
   11b. SGI HISTORY TIMELINE
   ============================================================ */
.sgi-history {
  padding-block: var(--section-y);
  background: var(--white);
  border-top: 1px solid var(--light-gray);
}

.sgi-history-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.sgi-history-lead {
  font-family: var(--font-th);
  font-size: 17px;
  line-height: 2;
  color: rgba(0,0,0,0.6);
  margin-top: 20px;
}

/* Presidents row */
.sgi-presidents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.sgi-president-card {
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.sgi-president-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.sgi-president-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.sgi-president-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sgi-president-name {
  font-family: var(--font-th);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.sgi-president-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.02em;
}

.sgi-president-year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 2px;
}

.sgi-president-desc {
  font-family: var(--font-th);
  font-size: 14px;
  line-height: 1.85;
  color: rgba(0,0,0,0.6);
  margin: 0;
}

/* Horizontal Interactive Timeline */
.sgi-htl { margin-top: 16px; }

/* Year nav bar */
.sgi-htl-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 0 8px;
}

.sgi-htl-line {
  position: absolute;
  top: 18px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--light-gray);
  z-index: 0;
}

/* ── Effect 2: Pillar card tilt — driven by JS, no CSS needed ──
   will-change on pillar-card for smooth GPU compositing */
.pillar-card {
  will-change: transform;
  transform-origin: center center;
}

/* ── Effect 4: Embossed Timeline Buttons ── */
.sgi-htl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, #f5f7fa, #e8ecf2);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px 14px 10px;
  position: relative;
  z-index: 1;
  box-shadow:
    3px 3px 7px rgba(0,0,0,0.12),
    -1px -1px 4px rgba(255,255,255,0.85);
  transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.sgi-htl-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    5px 5px 12px rgba(0,0,0,0.15),
    -2px -2px 6px rgba(255,255,255,0.9);
}

.sgi-htl-btn.active {
  background: linear-gradient(145deg, #d4e6fa, #c0d8f5);
  box-shadow:
    inset 2px 2px 5px rgba(0, 60, 140, 0.2),
    inset -1px -1px 3px rgba(255,255,255,0.6);
  transform: translateY(1px);
}

.sgi-htl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d0d8e8;
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.15);
  display: block;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  margin-top: 4px;
}

.sgi-htl-btn--key .sgi-htl-dot {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: rgba(0,91,187,0.25);
}

.sgi-htl-btn.active .sgi-htl-dot {
  background: var(--blue);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 6px rgba(0,91,187,0.5);
  transform: scale(1.15);
}

.sgi-htl-btn:hover:not(.active) .sgi-htl-dot {
  background: rgba(0,91,187,0.4);
  transform: scale(1.1);
}

.sgi-htl-yr {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.35);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  white-space: nowrap;
}

.sgi-htl-btn.active .sgi-htl-yr,
.sgi-htl-btn:hover .sgi-htl-yr { color: var(--blue); }

/* Content panel */
.sgi-htl-panels {
  position: relative;
  margin-top: 40px;
  min-height: 140px;
}

.sgi-htl-panel {
  display: none;
  background: var(--off-white, #f8f8f6);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border-left: 4px solid var(--blue);
  animation: htlFadeIn 0.35s ease;
}

.sgi-htl-panel.active { display: block; }

@keyframes htlFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sgi-htl-panel-year {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

.sgi-htl-panel-title {
  font-family: var(--font-th);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.4;
}

.sgi-htl-panel p {
  font-family: var(--font-th);
  font-size: 15px;
  line-height: 2;
  color: rgba(0,0,0,0.65);
  margin: 0;
}

/* Arrows + counter */
.sgi-htl-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.sgi-htl-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--light-gray);
  background: var(--white);
  font-size: 18px;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sgi-htl-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.sgi-htl-counter {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.4);
  min-width: 48px;
  text-align: center;
}

/* ============================================================
   12. PROJECTS
   ============================================================ */
.projects-header {
  padding-block: 80px 0;
  background: var(--white);
}

.projects-header .eyebrow { color: var(--red); }

.project-section {
  padding-block: 100px;
  background: var(--white);
}

.project-alt {
  background: var(--off-white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.project-grid-flip {
  direction: rtl;
}

.project-grid-flip > * {
  direction: ltr;
}

/* Media side */
.project-media {
  position: relative;
}

.project-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s var(--ease);
}

.project-img:hover { transform: scale(1.015); }

.project-year-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.project-year-yellow {
  background: var(--yellow);
  color: var(--dark);
}

.project-reach-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1;
}

.project-reach-tag span {
  display: block;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
}

.project-reach-tag small {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Content side */
.project-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.project-subtitle-blue { color: var(--blue); }

.project-overview {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.project-overview strong { color: var(--dark); font-weight: 600; }

/* Expand toggle */
.expand-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  font-family: var(--font-th);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  padding: 0;
  cursor: pointer;
  transition: gap var(--dur) var(--ease);
}

.expand-btn:hover { gap: 14px; }

.expand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--dur) var(--ease-spring);
  flex-shrink: 0;
}

.expand-btn[aria-expanded="true"] .expand-icon { transform: rotate(45deg); }

.expand-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.48s var(--ease);
}

.expand-content.open {
  grid-template-rows: 1fr;
}

/* Single wrapper child — required for grid collapse to work */
.expand-inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 2px; /* prevent clipping of last element border */
}

.expand-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  padding-top: 18px;
  padding-bottom: 10px;
}

/* Detail cards */
.detail-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 4px;
}

.detail-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
}

.project-alt .detail-card {
  background: var(--white);
}

.detail-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.detail-card-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.detail-card-body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.project-cta {
  margin-top: 28px;
}


/* ============================================================
   13. POWER OF ONE — Interactive Gallery
   ============================================================ */
.pow-section {
  background: var(--yellow);
  color: var(--dark);
  padding-block: var(--section-y);
}

.pow-section .eyebrow { color: var(--red); }

.pow-section .section-title { color: var(--dark); }

/* Hero intro */
/* Two-column intro: text left, video right */
.pow-intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding-block: var(--section-y) 56px;
}

.pow-intro-text { display: flex; flex-direction: column; }

.pow-intro-video { display: flex; flex-direction: column; }

.pow-intro .pow-stats-row {
  grid-column: 1 / -1;
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
}

.pow-lead {
  font-family: var(--font-th);
  font-size: 17px;
  line-height: 2;
  color: rgba(0,0,0,0.65);
  margin-bottom: 36px;
}

.pow-stats-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.45);
}

.pow-stat-item {
  flex: 1;
  padding: 36px 24px;
  border-right: 1px solid rgba(0,0,0,0.14);
  text-align: center;
}

.pow-stat-item:last-child { border-right: none; }

.pow-stat-num,
.pow-stat-n {
  font-family: var(--font-en);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  display: block;
}

.pow-stat-label,
.pow-stat-l {
  font-family: var(--font-th);
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  margin-top: 8px;
  display: block;
  white-space: nowrap;
}

.pow-video-label {
  font-family: var(--font-th);
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,0.55);
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}

.pow-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
}

.pow-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

/* Challenge playlist */
.pow-playlist-section {
  padding-block: 56px 48px;
}

.pow-playlist-header {
  text-align: center;
  margin-bottom: 36px;
}

.pow-playlist-title {
  font-family: var(--font-th);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.pow-playlist-sub {
  font-family: var(--font-th);
  font-size: 15px;
  color: rgba(0,0,0,0.55);
}

.pow-playlist-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.pow-playlist-row::-webkit-scrollbar { display: none; }

.pow-playlist-item {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pow-playlist-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.pow-playlist-cap {
  font-family: var(--font-th);
  font-size: 13px;
  color: rgba(0,0,0,0.6);
  margin: 0;
  line-height: 1.5;
}

/* Chapter navigation bar */
.pow-chapters-bar {
  margin-bottom: 0;
  padding: 32px 0;
  background: rgba(0,0,0,0.06);
}

.pow-chapters-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px var(--gutter) 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.pow-chapters-scroll::-webkit-scrollbar { display: none; }

.pow-ch-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-md);
  padding: 12px 20px 12px 12px;
  cursor: pointer;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  text-align: left;
  color: var(--dark);
  font-family: var(--font-th);
  min-width: 180px;
}

.pow-ch-btn:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.22);
  box-shadow: var(--shadow-sm);
}

.pow-ch-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Two-thumbnail strip inside each chapter button */
.pow-ch-thumbs {
  display: flex;
  gap: 3px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.pow-ch-img {
  width: 44px;
  height: 52px;
  object-fit: cover;
  display: block;
}

.pow-ch-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pow-ch-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.pow-ch-date {
  font-size: 11px;
  opacity: 0.55;
  white-space: nowrap;
}

/* Panels */
.pow-panels-wrap {
  margin-top: 0;
}

.pow-panel {
  display: none;
  padding-top: 56px;
}

.pow-panel.active { display: block; }

.pow-panel-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

/* Story column */
.pow-panel-story {}

.pow-panel-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.pow-panel-title {
  font-family: var(--font-th);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.pow-panel-body {
  font-family: var(--font-th);
  font-size: 15px;
  line-height: 2;
  color: rgba(0,0,0,0.62);
  margin-bottom: 24px;
}

.pow-panel-body + .pow-panel-body {
  margin-top: -12px;
}

/* Zone breakdown */
.pow-zones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.pow-zone {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pow-zone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 7px;
  flex-shrink: 0;
}

.pow-zone strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.pow-zone p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,0.5);
  margin: 0;
}

/* Big stat */
.pow-big-stat {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin: 20px 0;
}

.pow-big-n {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.pow-big-l {
  font-family: var(--font-th);
  font-size: 13px;
  color: rgba(0,0,0,0.5);
  margin-top: 4px;
}

/* Tree tags */
.pow-tree-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.pow-tree-tags span {
  font-family: var(--font-th);
  font-size: 12px;
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  color: rgba(0,0,0,0.7);
}

/* CTA */
.pow-cta-wrap {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.pow-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pow-social-label {
  font-family: var(--font-th);
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  margin-right: 4px;
  white-space: nowrap;
}

.pow-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.5);
  transition: color 0.22s var(--ease),
              border-color 0.22s var(--ease),
              background 0.22s var(--ease),
              transform 0.22s var(--ease);
}

.pow-social-btn:hover {
  color: var(--dark);
  border-color: rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* Photo grid column */
.pow-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.pow-photo {
  width: 100%;
  grid-column: span 2;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  display: block;
}

.pow-photo:hover {
  transform: scale(1.03);
  opacity: 0.88;
}

/* First two cover photos — each takes half the row, taller */
.pow-photo-cover {
  grid-column: span 3;
  aspect-ratio: 4/3;
}

.pow-photo-wide {
  grid-column: span 4;
  aspect-ratio: 16/9;
}

.pow-photo-tall {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* Lightbox */
.pow-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pow-lightbox[hidden] { display: none; }

.pow-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
}

.pow-lb-close,
.pow-lb-prev,
.pow-lb-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s var(--ease);
  line-height: 1;
}

.pow-lb-close:hover,
.pow-lb-prev:hover,
.pow-lb-next:hover {
  background: rgba(255,255,255,0.22);
}

.pow-lb-close { top: 24px; right: 24px; font-size: 20px; }
.pow-lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.pow-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }

.pow-lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pow-lb-img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: block;
}

.pow-lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   14. JOIN / LEAD FORM
   ============================================================ */
.join-section {
  padding-block: var(--section-y);
  background: var(--light-gray);
}

.join-header {
  text-align: center;
  margin-bottom: 56px;
}

.join-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 12px;
}

.join-form-wrap {
  max-width: 640px;
  margin-inline: auto;
}

.join-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid #e2e2e2;
  border-radius: var(--radius-md);
  font-family: var(--font-th);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(34,128,235,0.1);
}

.form-group input.error { border-color: var(--red); }
.form-group input.error:focus { box-shadow: 0 0 0 4px rgba(236,62,41,0.1); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* Success */
/* ── Effect 5: Receipt Print Animation ── */
@keyframes printReveal {
  0%   { clip-path: inset(0 0 100% 0); transform: translateY(-6px); }
  100% { clip-path: inset(0 0 0% 0);   transform: translateY(0); }
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.form-success {
  /* Receipt paper look */
  background: #fffef8;
  padding: 56px 48px 48px;
  text-align: center;
  position: relative;
  /* Serrated top edge via mask */
  -webkit-mask-image:
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 6px,
      #000 6px, #000 14px
    ) top / 20px 8px no-repeat,
    linear-gradient(#000 0%, #000 100%) 0 8px / 100% calc(100% - 8px) no-repeat;
  mask-image:
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 6px,
      #000 6px, #000 14px
    ) top / 20px 8px no-repeat,
    linear-gradient(#000 0%, #000 100%) 0 8px / 100% calc(100% - 8px) no-repeat;
  border: 1px solid #e8e2d0;
  border-top: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

.form-success.printing {
  animation: printReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Faint horizontal lines like receipt paper */
.form-success::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 23px,
    rgba(0,0,0,0.025) 23px,
    rgba(0,0,0,0.025) 24px
  );
  pointer-events: none;
  border-radius: inherit;
}

.success-check {
  width: 72px;
  height: 72px;
  background: var(--blue);
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  animation: popIn 0.5s 0.55s var(--ease-spring) both;
}

.form-success h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.success-note a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding-block-start: 80px;
  padding-block-end: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.88;
}

.footer-brand-name {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-brand-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-btn {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.social-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

.footer-col h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer-website {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--blue) !important;
  transition: color var(--dur) var(--ease) !important;
}
.footer-website:hover { color: var(--yellow) !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--dur) var(--ease);
}
.footer-bottom a:hover { color: var(--white); }


/* ============================================================
   15. RESPONSIVE
   ============================================================ */

/* --- Tablet: 1024px --- */
@media (max-width: 1024px) {
  :root {
    --section-y: 90px;
    --gutter: 24px;
  }

  .mission-grid,
  .sgi-grid,
  .project-grid {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Tablet: culture cards 2-column */
  .cult-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Tablet: last card full-width */
  .cult-cards > .cult-card:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
    justify-self: center;
  }

  /* Tablet: slightly smaller video in pow-intro */
  .pow-intro {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  /* Tablet: timeline scroll */
  .sgi-htl-nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sgi-htl-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .sgi-htl-line { display: none; }

}

/* --- Mobile: 768px --- */
@media (max-width: 768px) {

  /* Nav */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Hero */
  .hero-title { font-size: 2.6rem; }
  .hero-desc  { display: none; }
  .hero-scroll { display: none; }
  .hero-content { padding-bottom: 72px; }

  /* Mission */
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-quote-card {
    position: static;
    margin-top: 20px;
  }

  .mission-stats {
    gap: 20px;
  }

  /* Pillars — vertical accordion mobile */
  .pv-header { height: 120px; }
  .pv-foot { padding: 0 20px; gap: 12px; }
  .pv-th { font-size: 20px; }
  .pv-header::after { font-size: 100px; }

  .edu-layout,
  .pillar-panel-simple {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .school-grid {
    grid-template-columns: 1fr;
  }

  .pillar-expand-panel { padding-block: 36px; }

  /* SGI */
  .sgi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sgi-img { aspect-ratio: 16/9; }

  /* Projects */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-grid-flip {
    direction: ltr;
  }

  .project-media {
    order: -1;
  }

  /* Power of One */
  .pow-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px 40px;
  }

  .pow-panel-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pow-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pow-photo        { grid-column: span 1; }
  .pow-photo-cover  { grid-column: span 1; aspect-ratio: 3/2; }
  .pow-photo-wide   { grid-column: span 2; }

  .pow-lb-prev  { left: 12px; }
  .pow-lb-next  { right: 12px; }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .join-form {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Culture cards: taller so back-face content is fully scrollable */
  .cult-card {
    height: 480px;
  }

  /* Lotus photo grid: 2 columns */
  .cult-lotus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cult-lotus-grid img:nth-child(4),
  .cult-lotus-grid img:nth-child(5) {
    aspect-ratio: 4/3;
  }

  /* Activity group grid: 2 columns */
  .cult-group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Museum buttons: slightly larger tap targets */
  .cult-museum-btn {
    padding: 10px 12px 10px 10px;
    gap: 12px;
  }

  .cult-museum-btn-img {
    width: 56px;
    height: 44px;
  }

  /* Stat rings: smaller on mobile */
  .stat-ring-wrap {
    width: 100px;
    height: 100px;
  }

  /* Timeline buttons: more compact */
  .sgi-htl-btn {
    padding: 6px 10px 8px;
    font-size: 13px;
  }

  /* Form success receipt */
  .form-success {
    padding: 48px 24px 36px;
  }
}

/* --- Small mobile: 480px --- */
@media (max-width: 480px) {
  :root {
    --section-y: 72px;
    --gutter: 18px;
  }

  .hero-title { font-size: 2.1rem; }

  .section-title { font-size: 1.9rem; }

  .mission-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .pillar-card-th { font-size: 14px; }

  .project-title { font-size: 1.9rem; }

  .pow-stats-row { flex-wrap: wrap; }
  .pow-stat-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.14); }
  .pow-stat-item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.14); }
  .pow-stat-item:last-child, .pow-stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .sgi-counter-badge:first-of-type {
    width: 88px;
    height: 88px;
    top: -12px;
    right: -12px;
  }

  .sgi-badge-2 {
    width: 80px;
    height: 80px;
    bottom: 16px;
    left: -12px;
  }

  /* Culture cards: single column on very small screens */
  .cult-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Reset the tablet last-card centering */
  .cult-cards > .cult-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .cult-card {
    height: 440px;
  }

  /* Stat rings: smallest size */
  .stat-ring-wrap {
    width: 85px;
    height: 85px;
  }

  /* Hide museum button subtitle on very small screens */
  .cult-museum-btn-sub {
    display: none;
  }

  /* Museum button name: slightly smaller */
  .cult-museum-btn-name {
    font-size: 13px;
  }

  /* Form success: compact padding */
  .form-success {
    padding: 40px 20px 28px;
  }

  /* Cult group grid: stay 2 columns but smaller gap */
  .cult-group-grid {
    gap: 6px;
  }
}
