/* ==========================================================================
   AUDIKUNG About Page — Brand Aesthetic & Editorial Reading System (v8)
   Follows AUDIKUNG home-v5 brand language & ak-paper reading standards (§0.5).
   Warm paper in Light mode · Northstar starry sky in Dark mode.
   No pitch-black void · No identical AI slop cards · Authentic mascot กุ้งกิ
   ========================================================================== */

@font-face {
  font-family: Anuphan;
  src: url('/assets/fonts/anuphan-400-700.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-brand: 'Plus Jakarta Sans', 'Outfit', Anuphan, -apple-system, sans-serif;
  --font-heading: 'Mitr', 'Plus Jakarta Sans', Anuphan, sans-serif;
  --font-body: Anuphan, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-num: 'Outfit', 'Sora', 'Space Grotesk', sans-serif;
  --font-code: 'Space Grotesk', monospace;
  --paper: #f0f4f9;
  --ink: #142032;
  --ink-secondary: #3b4960;
  --blue: #2546ec;
  --coral: #e8593d;
  --lime: #8fb824;
  --gold: #9d7319;
  --gold-light: #e2c98f;
  --muted: #4e5e77;
  --line: #cad7e6;
  --card-bg: #ffffff;
  --card-border: #b8c9df;
  --ak-paper: #fffcf5;
  --ak-paper-border: #d4c29e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] body.about-page {
  --paper: #060911;
  --ink: #f8fafc;
  --ink-secondary: #cbd5e1;
  --blue: #e2c98f;
  --coral: #ff8a73;
  --lime: #d5ef71;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --ak-paper: rgba(255, 255, 255, 0.04);
  --ak-paper-border: rgba(226, 201, 143, 0.2);
}

/* Base Document */
.about-document {
  scroll-behavior: auto;
}
body.about-page {
  margin: 0;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
}
.about-page main > [id] {
  scroll-margin-top: 130px;
}
.about-page main {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
}
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-top: 0;
}
.about-page a {
  color: inherit;
  text-decoration: none;
}
.about-page button {
  font-family: inherit;
  cursor: pointer;
}

/* Editorial Brand Footer */
body.about-page footer.about-footer {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 64px 32px 52px !important;
  background: var(--paper) !important;
  border-top: 1px solid var(--line) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  align-items: stretch !important;
  font-family: var(--font-body);
  position: relative;
  box-sizing: border-box;
}

html[data-theme="dark"] body.about-page footer.about-footer {
  background: rgba(8, 12, 22, 0.95) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.about-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink) !important;
  margin: 0 !important;
}

.footer-face {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(20, 32, 50, 0.1);
}

.footer-name {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: block;
  line-height: 1.2;
}

.footer-sub {
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: var(--muted);
  display: block;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.6;
}

.footer-mascot-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 32, 50, 0.04);
  border: 1px solid rgba(20, 32, 50, 0.07);
  border-radius: 9999px;
  font-size: 13.5px;
  color: var(--muted);
  width: fit-content;
  margin-top: 4px;
}

html[data-theme="dark"] .footer-mascot-note {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

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

.footer-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--ink-secondary) !important;
  text-decoration: none;
  transition: color 0.18s, transform 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  min-height: auto !important;
}

.footer-links a:hover {
  color: var(--ink) !important;
  transform: translateX(3px);
}

.footer-home-pill {
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  background: rgba(226, 201, 143, 0.22) !important;
  border: 1px solid rgba(226, 201, 143, 0.45) !important;
  color: #9d7319 !important;
  font-weight: 600 !important;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(226, 201, 143, 0.15);
}

html[data-theme="dark"] .footer-home-pill {
  background: rgba(226, 201, 143, 0.16) !important;
  border-color: rgba(226, 201, 143, 0.35) !important;
  color: #f4e1b2 !important;
  box-shadow: 0 0 14px rgba(226, 201, 143, 0.2);
}

.footer-home-pill:hover {
  background: rgba(226, 201, 143, 0.35) !important;
  transform: translateY(-1px) !important;
}

.footer-line-link {
  color: #06c755 !important;
  font-weight: 600 !important;
}

.about-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-back-to-top {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--muted) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: transparent;
  transition: all 0.2s ease;
  margin: 0 !important;
  min-height: auto !important;
}

.footer-back-to-top:hover {
  color: var(--ink) !important;
  border-color: var(--ink);
  background: rgba(20, 32, 50, 0.04);
}

html[data-theme="dark"] .footer-back-to-top:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  body.about-page footer.about-footer {
    padding: 44px 20px 40px !important;
  }
  .about-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Ambient Northstar Sky for Dark Mode */
body.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(ellipse at 75% 20%, #173355aa 0%, transparent 55%),
              radial-gradient(ellipse at 20% 60%, #2a224eaa 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, #0d1e3baa 0%, transparent 60%);
}
html[data-theme="dark"] body.about-page::before {
  opacity: 1;
}

/* ==========================================================================
   HEADER — iOS Frosted Dynamic Island Navigation Bar
   ========================================================================== */
.about-page .header {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: min(1200px, calc(100% - 32px));
  margin: 12px auto 20px;
  padding: 8px 16px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(20, 32, 50, 0.08);
  box-shadow: 0 10px 30px rgba(20, 32, 50, 0.06), 0 1px 2px rgba(255, 255, 255, 0.6) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="dark"] .about-page .header {
  background: rgba(10, 14, 24, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(255, 255, 255, 0.08) inset;
}

.about-page .logo {
  font-family: 'Space Grotesk', Mitr, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 9999px;
  color: var(--ink);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.about-page .logo:hover {
  opacity: 0.85;
}
.about-page .brand-face {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-light);
}
.about-page .logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

/* Island Nav Bar — Liquid iPhone Capsule System */
.about-page .header nav.nav-island {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  background: rgba(20, 32, 50, 0.04) !important;
  padding: 4px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(20, 32, 50, 0.08) !important;
  box-shadow: 0 2px 8px rgba(20, 32, 50, 0.03) inset !important;
  overflow: visible !important;
}
html[data-theme="dark"] .about-page .header nav.nav-island {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) inset !important;
}

/* Nav Item Links — Perfectly anchored text, zero vertical jitter */
.about-page .header nav a,
.about-page .nav-item {
  position: relative !important;
  z-index: 1 !important;
  font-family: var(--font-heading) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 8px 14px !important;
  min-height: 38px !important;
  border-radius: 9999px !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  translate: none !important;
  transform: none !important;
  transition: color 180ms ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  line-height: 1 !important;
}
.about-page .header nav a:hover,
.about-page .header nav a:focus-visible,
.about-page .nav-item:hover,
.about-page .nav-item:focus-visible {
  translate: none !important;
  transform: none !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Dynamic Liquid Indicator — Frosted Pill Capsule that glides behind links */
.about-page .header nav.nav-island .nav-indicator {
  position: absolute !important;
  z-index: 0 !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 9999px !important;
  pointer-events: none !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
              width 240ms cubic-bezier(0.16, 1, 0.3, 1),
              height 240ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 140ms ease,
              background 220ms ease,
              border-color 220ms ease,
              box-shadow 220ms ease !important;
  will-change: transform, width, height !important;
}

/* 01. Default / About: Warm Champagne Gold */
.about-page nav.nav-island .nav-indicator,
.about-page nav[data-indicator*="about"] .nav-indicator {
  background: rgba(226, 201, 143, 0.28) !important;
  border: 1px solid rgba(194, 154, 70, 0.45) !important;
  box-shadow: 0 2px 10px rgba(226, 201, 143, 0.22) !important;
}
html[data-theme="dark"] .about-page nav.nav-island .nav-indicator,
html[data-theme="dark"] .about-page nav[data-indicator*="about"] .nav-indicator {
  background: rgba(226, 201, 143, 0.16) !important;
  border: 1px solid rgba(226, 201, 143, 0.4) !important;
  box-shadow: 0 0 16px rgba(226, 201, 143, 0.25) !important;
}
.about-page nav[data-indicator*="about"] .nav-item-about,
.about-page nav:not([data-indicator]) .nav-item-about.is-active,
.about-page .nav-item-about:hover,
.about-page .nav-item-about.is-active {
  color: #9d7319 !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="about"] .nav-item-about,
html[data-theme="dark"] .about-page nav:not([data-indicator]) .nav-item-about.is-active,
html[data-theme="dark"] .about-page .nav-item-about:hover,
html[data-theme="dark"] .about-page .nav-item-about.is-active {
  color: #f4e1b2 !important;
}

/* 02. Finance: Mint / Emerald Glow */
.about-page nav[data-indicator*="finance"] .nav-indicator {
  background: rgba(52, 211, 153, 0.24) !important;
  border: 1px solid rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 2px 12px rgba(52, 211, 153, 0.25) !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="finance"] .nav-indicator {
  background: rgba(52, 211, 153, 0.18) !important;
  border: 1px solid rgba(52, 211, 153, 0.42) !important;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.28) !important;
}
.about-page nav[data-indicator*="finance"] .nav-item-finance,
.about-page .nav-item-finance:hover {
  color: #0d8a57 !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="finance"] .nav-item-finance,
html[data-theme="dark"] .about-page .nav-item-finance:hover {
  color: #6ee7b7 !important;
}

/* 03. AI / Knowledge: Electric Sky Cyan Glow */
.about-page nav[data-indicator*="knowledge"] .nav-indicator,
.about-page nav[data-indicator*="ai"] .nav-indicator {
  background: rgba(56, 189, 248, 0.24) !important;
  border: 1px solid rgba(14, 165, 233, 0.5) !important;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.25) !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="knowledge"] .nav-indicator,
html[data-theme="dark"] .about-page nav[data-indicator*="ai"] .nav-indicator {
  background: rgba(56, 189, 248, 0.18) !important;
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.28) !important;
}
.about-page nav[data-indicator*="knowledge"] .nav-item-ai,
.about-page .nav-item-ai:hover {
  color: #0284c7 !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="knowledge"] .nav-item-ai,
html[data-theme="dark"] .about-page .nav-item-ai:hover {
  color: #7dd3fc !important;
}

/* 04. Focus: Fresh Sage / Lime Glow */
.about-page nav[data-indicator*="focus"] .nav-indicator {
  background: rgba(163, 230, 53, 0.24) !important;
  border: 1px solid rgba(132, 204, 22, 0.5) !important;
  box-shadow: 0 2px 12px rgba(163, 230, 53, 0.25) !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="focus"] .nav-indicator {
  background: rgba(163, 230, 53, 0.18) !important;
  border: 1px solid rgba(163, 230, 53, 0.42) !important;
  box-shadow: 0 0 16px rgba(163, 230, 53, 0.28) !important;
}
.about-page nav[data-indicator*="focus"] .nav-item-focus,
.about-page .nav-item-focus:hover {
  color: #65a30d !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="focus"] .nav-item-focus,
html[data-theme="dark"] .about-page .nav-item-focus:hover {
  color: #bef264 !important;
}

/* 05. Interests: Lavender / Royal Purple Glow */
.about-page nav[data-indicator*="interests"] .nav-indicator {
  background: rgba(192, 132, 252, 0.24) !important;
  border: 1px solid rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 2px 12px rgba(192, 132, 252, 0.25) !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="interests"] .nav-indicator {
  background: rgba(192, 132, 252, 0.18) !important;
  border: 1px solid rgba(192, 132, 252, 0.42) !important;
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.28) !important;
}
.about-page nav[data-indicator*="interests"] .nav-item-interests,
.about-page .nav-item-interests:hover {
  color: #9333ea !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="interests"] .nav-item-interests,
html[data-theme="dark"] .about-page .nav-item-interests:hover {
  color: #d8b4fe !important;
}

/* 06. Contact: Coral Shrimp Glow */
.about-page nav[data-indicator*="lin.ee"] .nav-indicator {
  background: rgba(244, 119, 97, 0.24) !important;
  border: 1px solid rgba(232, 89, 61, 0.5) !important;
  box-shadow: 0 2px 12px rgba(244, 119, 97, 0.25) !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="lin.ee"] .nav-indicator {
  background: rgba(255, 138, 115, 0.2) !important;
  border: 1px solid rgba(255, 138, 115, 0.45) !important;
  box-shadow: 0 0 16px rgba(255, 138, 115, 0.3) !important;
}
.about-page nav[data-indicator*="lin.ee"] .nav-item-contact,
.about-page .nav-item-contact:hover {
  color: #dc2626 !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] .about-page nav[data-indicator*="lin.ee"] .nav-item-contact,
html[data-theme="dark"] .about-page .nav-item-contact:hover {
  color: #fca5a5 !important;
}

/* View Controls in Header */
.about-page .view-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.about-page .pause-icon {
  display: inline-block;
  vertical-align: middle;
}

/* Shared UI Components */
.eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  background: #fff1ee;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #ffd5cc;
}
html[data-theme="dark"] .eyebrow {
  background: #2a1b18;
  border-color: #59352e;
  color: #ff9d8b;
}

.solid-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--blue);
  color: #ffffff !important;
  font-family: Mitr, sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 70, 236, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.solid-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 70, 236, 0.38);
}
html[data-theme="dark"] .solid-link {
  background: var(--gold-light);
  color: #142032 !important;
  box-shadow: 0 4px 14px rgba(226, 201, 143, 0.24);
}
html[data-theme="dark"] .solid-link:hover {
  box-shadow: 0 8px 20px rgba(226, 201, 143, 0.36);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  font-family: Mitr, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 0 8px;
  border-bottom: 2px solid var(--ink);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.text-link:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateX(2px);
}

/* ==========================================================================
   1. HERO / INTRO SECTION — Living AUDIKUNG Stage
   ========================================================================== */
.about-page .intro {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 48px 0 60px;
  position: relative;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}
.about-page h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.22;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
}
.about-page h1 > span {
  display: block;
  font-size: 0.68em;
  font-weight: 400;
  color: var(--blue);
  margin-top: 8px;
  line-height: 1.35;
}
.intro-desc {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 24px;
  color: var(--ink-secondary);
  max-width: 58ch;
}

/* Identity Pills */
.identity-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.pill {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}
.pill:hover {
  transform: translateY(-2px);
}
.pill-edu {
  background: #dceee2;
  color: #145d40;
  border: 1px solid #a3cfb5;
}
.pill-shrimp {
  background: #ffe1d6;
  color: #a43820;
  border: 1px solid #f6b5a3;
}
.pill-tech {
  background: #dde9fc;
  color: #1c458a;
  border: 1px solid #a9c6f5;
}
html[data-theme="dark"] .pill-edu {
  background: #153225;
  color: #8ce1b5;
  border-color: #275d45;
}
html[data-theme="dark"] .pill-shrimp {
  background: #381a14;
  color: #ffaa96;
  border-color: #6a3429;
}
html[data-theme="dark"] .pill-tech {
  background: #14284b;
  color: #a8ccfc;
  border-color: #254884;
}

.intro-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.intro-note {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 0;
}
.intro-note strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── Living Hero Stage (No dark box!) ── */
.portrait-panel {
  position: relative;
  isolation: isolate;
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent; /* No black void! */
  border-radius: 24px;
}

/* Orbital Stage Disc */
.portrait-disc {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  background: radial-gradient(circle at 40% 35%, #ff8c75 0%, #2546ec 80%);
  box-shadow: 0 20px 60px rgba(37, 70, 236, 0.24);
  z-index: 0;
  transition: transform 0.6s var(--ease), background 0.4s;
  animation: disc-float 7s ease-in-out infinite alternate;
}
html[data-theme="dark"] .portrait-disc {
  background: radial-gradient(circle at 40% 35%, #423068 0%, #152745 75%);
  border: 1.5px solid rgba(226, 201, 143, 0.35);
  box-shadow: 0 20px 60px rgba(226, 201, 143, 0.12);
}
.disc-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
  animation: disc-pulse 9s ease-in-out infinite;
}

/* Orbit Ring */
.portrait-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 530px;
  height: 530px;
  border: 1.5px solid rgba(115, 129, 151, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -46%) rotate(-22deg) scaleY(0.42);
  z-index: 0;
  pointer-events: none;
}
.portrait-orbit .orbit-dot {
  position: absolute;
  left: 45%;
  top: -8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--paper);
  box-shadow: 0 0 10px rgba(37, 70, 236, 0.5);
  animation: dot-orbit 18s linear infinite;
}

/* Audi Cutout Portrait */
.about-portrait {
  position: relative;
  z-index: 2;
  width: 440px;
  max-width: 95%;
  height: 480px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 24px rgba(20, 32, 50, 0.2));
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.portrait-panel:hover .about-portrait {
  transform: translateY(-6px);
}

/* Floating Retro Ticket Badge (Calibrated to bottom edge: 100% clear of face, neck & chest) */
.portrait-ticket {
  position: absolute;
  bottom: -32px;
  left: -52px;
  top: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 15px;
  background: #fff8f0;
  color: #142032;
  border: 1.5px solid #d4c29e;
  border-radius: 6px 6px 18px 6px;
  box-shadow: 4px 4px 0 rgba(20, 32, 50, 0.7);
  transform: rotate(-3deg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.portrait-ticket:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 6px 6px 0 rgba(20, 32, 50, 0.85);
}
.portrait-ticket .mini-caption {
  font-family: Mitr, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #b45309;
}
.portrait-ticket strong {
  font-family: Mitr, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #142032;
  white-space: nowrap;
}
html[data-theme="dark"] .portrait-ticket {
  background: #fffaf2;
  color: #142032;
  border-color: #e2c98f;
  box-shadow: 4px 4px 0 #e2c98f;
}

/* Mascot Scene in Hero (Positioned at outer corner, never overlapping chin/chest) */
.portrait-mascot-scene {
  position: absolute;
  right: -24px;
  bottom: 0px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: auto;
}
.intro-mascot {
  width: 105px;
  height: 118px;
  object-fit: contain;
  transform: rotate(4deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.16));
  animation: about-greet 4.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.portrait-mascot-scene:hover .intro-mascot {
  transform: rotate(-2deg) scale(1.08);
}
.mascot-speech {
  font-family: Mitr, sans-serif;
  background: #ffffff;
  color: #142032;
  border: 1.5px solid #142032;
  border-radius: 12px 12px 4px 12px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 3px 3px 0 #142032;
  white-space: nowrap;
  animation: float-speech 3.5s ease-in-out infinite;
}
html[data-theme="dark"] .mascot-speech {
  background: #fff8e7;
  color: #142032;
  border-color: #e2c98f;
  box-shadow: 3px 3px 0 #e2c98f;
}

/* Northstar night sky in hero */
.stage-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}
html[data-theme="dark"] .stage-sky {
  opacity: 1;
}
.stage-sky .northstar {
  position: absolute;
  right: 12%;
  top: 8%;
  font-size: 32px;
  color: var(--gold-light);
  animation: star-pulse 5s ease-in-out infinite;
}
.stage-sky i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e2c98f;
  box-shadow: 0 0 6px #e2c98f;
}
.stage-sky i:nth-child(2) { left: 15%; top: 22%; }
.stage-sky i:nth-child(3) { left: 80%; top: 38%; }
.stage-sky i:nth-child(4) { left: 25%; top: 72%; }
.stage-sky i:nth-child(5) { left: 88%; top: 68%; }

/* ==========================================================================
   2. EDUCATION RIBBON — Prestige Kasetsart University Emerald & Gold Theme
   ========================================================================== */
/* ── EDUCATION CREDENTIALS STRIP (Integrated Tandem Pedigree) ── */
.edu-credentials-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  max-width: 1200px;
  margin: -12px auto 72px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.edu-credentials-strip .education {
  margin: 0;
  height: 100%;
}

.education {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  margin: 0 0 72px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7, 30, 20, 0.82) 0%, rgba(13, 26, 38, 0.85) 55%, rgba(9, 16, 28, 0.9) 100%);
  border: 1px solid rgba(226, 201, 143, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1),
              inset 0 0 28px rgba(0, 102, 66, 0.14),
              0 0 24px rgba(0, 168, 107, 0.06);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}

.education:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 201, 143, 0.55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 
              inset 0 1px 0 rgba(255, 255, 255, 0.18),
              inset 0 0 36px rgba(0, 102, 66, 0.22),
              0 0 32px rgba(226, 201, 143, 0.18);
}

.education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 201, 143, 0.8) 30%, rgba(77, 210, 160, 0.8) 70%, transparent 100%);
  pointer-events: none;
}

.edu-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.edu-logo-frame {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(226, 201, 143, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 14px rgba(226, 201, 143, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.education:hover .edu-logo-frame {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(226, 201, 143, 0.35);
}

.edu-ku-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.edu-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.edu-badge {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e2c98f;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.edu-badge-sub {
  color: #7dd3a8;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.9;
}

.edu-badge-sep {
  opacity: 0.5;
  color: #e2c98f;
}

.edu-content strong,
.edu-title {
  font-family: var(--font-heading);
  font-size: 19.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.edu-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.edu-degree {
  font-size: 14.5px;
  color: #cbd5e1;
}

.edu-dot {
  color: rgba(226, 201, 143, 0.5);
  font-size: 12px;
}

.edu-honor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd875;
  background: rgba(226, 201, 143, 0.12);
  border: 1px solid rgba(226, 201, 143, 0.32);
  padding: 2px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.edu-tag {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #5eead4;
  background: linear-gradient(135deg, rgba(0, 102, 66, 0.3) 0%, rgba(13, 40, 32, 0.45) 100%);
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 10px 22px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.education:hover .edu-tag {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 16px rgba(94, 234, 212, 0.2);
}

/* Light Theme Styling for .education */
html[data-theme="light"] .education {
  background: #ffffff;
  border: 1px solid rgba(0, 102, 66, 0.2);
  border-left: 4px solid #006642;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .education:hover {
  border-color: rgba(0, 102, 66, 0.4);
  box-shadow: 0 8px 24px rgba(0, 80, 50, 0.08);
}

html[data-theme="light"] .edu-badge {
  color: #006642;
}

html[data-theme="light"] .edu-badge-sub {
  color: #2b7456;
}

html[data-theme="light"] .edu-content strong,
html[data-theme="light"] .edu-title {
  color: #0f241c;
}

html[data-theme="light"] .edu-degree {
  color: #334155;
}

html[data-theme="light"] .edu-honor {
  color: #855d00;
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.42);
}

html[data-theme="light"] .edu-tag {
  color: #006642;
  background: rgba(0, 102, 66, 0.08);
  border-color: rgba(0, 102, 66, 0.25);
  box-shadow: 0 2px 8px rgba(0, 102, 66, 0.06);
}

/* ==========================================================================
   3. STORY HIGHLIGHTS — Interactive Memory Book
   ========================================================================== */
.story-highlights {
  max-width: 980px;
  margin: 0 auto;
  padding: 68px 0 88px;
  border-top: 1px solid var(--line);
}
.highlights-header {
  text-align: center;
  margin-bottom: 40px;
}
.highlights-tag {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #145d40;
  background: #dceee2;
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}
html[data-theme="dark"] .highlights-tag {
  background: #153225;
  color: #8ce1b5;
}
#highlights-title {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 12px;
}
.highlights-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* Memory Book Container — Authentic Archival Sketchbook / Memoir Album */
.memory-book-container {
  position: relative;
  background: #fcf9f2 !important; /* Physical warm cream paper */
  color: #142032 !important;
  border: 1.5px solid #e2d5be !important;
  border-left: 6px solid #b8923a !important; /* Hand-stitched bookbinding spine */
  border-radius: 22px;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.12), 0 20px 50px rgba(0, 0, 0, 0.14) !important;
  padding: 32px 36px 28px;
  margin: 0 auto;
  overflow: hidden;
}
html[data-theme="dark"] .memory-book-container {
  background: #faf6ec !important; /* Physical cream journal spread on celestial void */
  color: #142032 !important;
  border: 1.5px solid #e8dbbe !important;
  border-left: 6px solid #c9983e !important;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.7), 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 36px rgba(226, 201, 143, 0.14) !important;
}

/* Book Tab Bar — Index Bookmark Tabs */
.book-nav-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #eadecb !important;
  padding-bottom: 16px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.book-tab,
html[data-theme="dark"] .book-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: #f0e8d8 !important;
  border: 1px solid #dfd3be !important;
  color: #4b5563 !important;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.book-tab:hover,
html[data-theme="dark"] .book-tab:hover {
  color: #142032 !important;
  background: #e6dcbe !important;
  border-color: #cbbaa0 !important;
}
.book-tab.is-active,
html[data-theme="dark"] .book-tab.is-active {
  background: #142032 !important;
  color: #fdfaf3 !important;
  border-color: #142032 !important;
  box-shadow: 0 4px 14px rgba(20, 32, 50, 0.28) !important;
  font-weight: 600 !important;
}
.tab-idx {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 12.5px;
  color: #b45309;
}
.book-tab.is-active .tab-idx,
html[data-theme="dark"] .book-tab.is-active .tab-idx {
  color: #e2c98f;
}

/* Book Pages */
.memory-book {
  position: relative;
  min-height: 380px;
}
.book-page {
  display: none;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.book-page.is-active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Polaroid Photo Frame — Authentic physical photo paper in both themes */
.polaroid-frame {
  background: #ffffff !important;
  padding: 12px 12px 18px;
  border: 1px solid #d4c29e !important;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20, 32, 50, 0.18), 0 2px 6px rgba(20, 32, 50, 0.08) !important;
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
html[data-theme="dark"] .polaroid-frame {
  background: #ffffff !important;
  border-color: #d4c29e !important;
  box-shadow: 0 14px 32px rgba(20, 32, 50, 0.25), 0 2px 6px rgba(20, 32, 50, 0.12) !important;
}
.polaroid-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 44px rgba(20, 32, 50, 0.25) !important;
}
.polaroid-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center !important;
  border-radius: 8px;
}
.polaroid-handwriting {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #475569 !important;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
  font-family: var(--font-body);
}

/* Textual Side of Book — Crisp Dark Ink */
.page-textual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chapter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chapter-num {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: #145d40 !important;
  background: #dceee2 !important;
  padding: 4px 12px;
  border-radius: 999px;
}
html[data-theme="dark"] .chapter-num {
  background: #dceee2 !important;
  color: #145d40 !important;
}
.chapter-period,
html[data-theme="dark"] .chapter-period {
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: #64748b !important;
  font-weight: 500;
}
.page-textual h3,
html[data-theme="dark"] .page-textual h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #142032 !important;
}
.page-prose,
html[data-theme="dark"] .page-prose {
  font-size: 16px;
  line-height: 1.85;
  color: #334155 !important;
  margin: 0;
}
.page-prose strong,
html[data-theme="dark"] .page-prose strong {
  color: #0f172a !important;
  font-weight: 600;
}
.page-quote,
html[data-theme="dark"] .page-quote {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.75;
  color: #1e293b !important;
  background: #f4ece0 !important;
  border-left: 3.5px solid #b38622 !important;
  padding: 12px 18px;
  border-radius: 0 12px 12px 0;
  margin-top: 6px;
}

/* Book Controls */
.book-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid #eadecb !important;
}
.book-nav-btn,
html[data-theme="dark"] .book-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #142032 !important;
  background: #ffffff !important;
  border: 1.5px solid #dcd1be !important;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(20, 32, 50, 0.05);
}
.book-nav-btn:hover:not(:disabled),
html[data-theme="dark"] .book-nav-btn:hover:not(:disabled) {
  background: #142032 !important;
  color: #ffffff !important;
  border-color: #142032 !important;
}
.book-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.book-page-dots {
  display: flex;
  gap: 8px;
}
.page-dot,
html[data-theme="dark"] .page-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dcd1be !important;
  transition: all 0.25s ease;
}
.page-dot.is-active,
html[data-theme="dark"] .page-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #142032 !important;
}

.story-more-box {
  text-align: center;
  margin-top: 40px;
}
.story-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Mitr, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  padding: 11px 22px;
  background: rgba(37, 70, 236, 0.08);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.story-more:hover {
  background: rgba(37, 70, 236, 0.15);
  transform: translateY(-2px);
}
html[data-theme="dark"] .story-more {
  background: rgba(226, 201, 143, 0.12);
}

/* ==========================================================================
   4. VISION & MANIFESTO — Authored Editorial Reading Surface
   ========================================================================== */
.vision {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
  max-width: 980px;
  margin: 0 auto;
}
.vision-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.vision-header {
  text-align: center;
}
.vision-eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  background: #fbf1dc;
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}
html[data-theme="dark"] .vision-eyebrow {
  background: #2e2617;
  color: #e2c98f;
}
#vision-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.35;
  margin: 0 auto 10px;
}
.vision-header-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto;
  max-width: 560px;
}

/* Manifesto Board — 3 Distinct Theme Pillars (No generic AI navy boxes) */
.manifesto-board {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.manifesto-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(20, 32, 50, 0.08);
  border-radius: 20px;
  padding: 30px 32px;
  box-shadow: 0 8px 24px rgba(20, 32, 50, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.manifesto-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(20, 32, 50, 0.08);
}
.manifesto-side-badge {
  font-family: Sora, 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-align: center;
}
.manifesto-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.manifesto-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.manifesto-emoji {
  font-size: 32px;
  line-height: 1;
}
.manifesto-lead-tag {
  font-family: Mitr, sans-serif;
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.manifesto-icon-title h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.manifesto-content p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin: 0;
}
.manifesto-callout {
  margin: 4px 0 0;
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
}

/* 01 · CLARITY — Warm Champagne Gold Theme */
.manifesto-clarity {
  border-color: rgba(226, 201, 143, 0.4);
}
.manifesto-clarity .manifesto-side-badge {
  background: rgba(226, 201, 143, 0.2);
  color: #9d7319;
  border-color: rgba(226, 201, 143, 0.4);
}
.manifesto-clarity .manifesto-lead-tag {
  color: #9d7319;
}
.manifesto-clarity .manifesto-callout {
  background: rgba(226, 201, 143, 0.08);
  border-left: 3.5px solid var(--gold-light);
}
html[data-theme="dark"] .manifesto-clarity {
  background: radial-gradient(circle at 10% 20%, rgba(226, 201, 143, 0.08) 0%, transparent 60%), rgba(255, 255, 255, 0.025);
  border-color: rgba(226, 201, 143, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .manifesto-clarity .manifesto-side-badge {
  background: rgba(226, 201, 143, 0.15);
  color: #f4e1b2;
  border-color: rgba(226, 201, 143, 0.35);
}
html[data-theme="dark"] .manifesto-clarity .manifesto-lead-tag {
  color: #e2c98f;
}
html[data-theme="dark"] .manifesto-clarity .manifesto-callout {
  background: rgba(226, 201, 143, 0.06);
  border-left-color: #e2c98f;
  color: #f8fafc;
}

/* 02 · HONESTY — Warm Coral Shrimp Theme */
.manifesto-honesty {
  border-color: rgba(244, 119, 97, 0.4);
}
.manifesto-honesty .manifesto-side-badge {
  background: rgba(244, 119, 97, 0.2);
  color: #c2410c;
  border-color: rgba(244, 119, 97, 0.4);
}
.manifesto-honesty .manifesto-lead-tag {
  color: #c2410c;
}
.manifesto-honesty .manifesto-callout {
  background: rgba(244, 119, 97, 0.08);
  border-left: 3.5px solid #ff8a73;
}
html[data-theme="dark"] .manifesto-honesty {
  background: radial-gradient(circle at 10% 20%, rgba(244, 119, 97, 0.08) 0%, transparent 60%), rgba(255, 255, 255, 0.025);
  border-color: rgba(244, 119, 97, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .manifesto-honesty .manifesto-side-badge {
  background: rgba(244, 119, 97, 0.15);
  color: #ffaa96;
  border-color: rgba(244, 119, 97, 0.35);
}
html[data-theme="dark"] .manifesto-honesty .manifesto-lead-tag {
  color: #ffaa96;
}
html[data-theme="dark"] .manifesto-honesty .manifesto-callout {
  background: rgba(244, 119, 97, 0.06);
  border-left-color: #ff8a73;
  color: #f8fafc;
}

/* 03 · ACTION — Electric Cyan / AI Theme */
.manifesto-action {
  border-color: rgba(56, 189, 248, 0.4);
}
.manifesto-action .manifesto-side-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #0284c7;
  border-color: rgba(56, 189, 248, 0.4);
}
.manifesto-action .manifesto-lead-tag {
  color: #0284c7;
}
.manifesto-action .manifesto-callout {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3.5px solid #38bdf8;
}
html[data-theme="dark"] .manifesto-action {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%), rgba(255, 255, 255, 0.025);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .manifesto-action .manifesto-side-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.35);
}
html[data-theme="dark"] .manifesto-action .manifesto-lead-tag {
  color: #7dd3fc;
}
html[data-theme="dark"] .manifesto-action .manifesto-callout {
  background: rgba(56, 189, 248, 0.06);
  border-left-color: #38bdf8;
  color: #f8fafc;
}

/* Warm Whisper Card beneath Manifesto */
.vision-whisper-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--ak-paper);
  border: 1.5px solid var(--ak-paper-border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(20, 32, 50, 0.04);
}
html[data-theme="dark"] .vision-whisper-card {
  background: radial-gradient(circle at 0% 50%, rgba(226, 201, 143, 0.07), transparent 70%), rgba(255, 255, 255, 0.03);
  border-color: rgba(226, 201, 143, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.whisper-avatar {
  flex-shrink: 0;
}
.whisper-mascot-img {
  width: 85px;
  height: 95px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}
.whisper-dialogue {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.whisper-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.whisper-badge {
  font-family: Mitr, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #a43820;
  background: #ffe1d6;
  padding: 2px 10px;
  border-radius: 999px;
}
html[data-theme="dark"] .whisper-badge {
  background: #381a14;
  color: #ffaa96;
}
.whisper-subtext {
  font-size: 12.5px;
  color: var(--muted);
}
.whisper-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   5. WORK SECTION — Rich Category Universes (Preserves 4 .work-row)
   ========================================================================== */
.work-section {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.work-row {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  padding: 22px 28px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .work-row {
  background: #ffffff;
  border-color: #e2d9cc;
  box-shadow: 0 4px 16px rgba(20, 32, 50, 0.04);
}
.work-row:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 201, 143, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .work-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(20, 32, 50, 0.08);
}

.work-preview {
  position: relative;
  isolation: isolate;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 18px 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.work-row:hover .work-preview {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.preview-label {
  position: absolute;
  left: 18px;
  top: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #142032;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 10px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
html[data-theme="dark"] .preview-label {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Mascot Sticker in Previews */
.work-preview > img {
  position: absolute;
  right: 14px;
  bottom: 8px;
  height: 135px;
  width: 135px;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
.work-row:hover .work-preview > img {
  transform: translateY(-6px) rotate(-4deg) scale(1.06);
}

/* UI Mini Showcase Card inside Preview */
.preview-showcase-ui {
  position: relative;
  z-index: 1;
  width: calc(100% - 130px);
  padding-right: 12px;
  margin-top: 18px;
}
.ui-mini-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
html[data-theme="light"] .ui-mini-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(20, 32, 50, 0.05);
}

.ui-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.ui-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}
html[data-theme="light"] .ui-tag {
  background: rgba(20, 32, 50, 0.05);
  border-color: rgba(20, 32, 50, 0.08);
  color: #334155;
}

/* 1. Finance */
.finance-work .work-preview {
  background: linear-gradient(135deg, rgba(16, 52, 38, 0.9) 0%, rgba(10, 32, 24, 0.95) 100%);
  border-color: rgba(52, 211, 153, 0.3);
}
html[data-theme="light"] .finance-work .work-preview {
  background: linear-gradient(135deg, #e8f7ee 0%, #d5f0df 100%);
  border-color: #a7dfbc;
}
.finance-ui .ui-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ticker-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #34d399;
}
html[data-theme="light"] .ticker-badge { color: #059669; }
.ticker-trend {
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}
.ui-chart-svg {
  width: 100%;
  height: 48px;
  display: block;
}
.chart-point-pulse {
  animation: chartPulse 2s ease-in-out infinite;
}
@keyframes chartPulse {
  0%, 100% { r: 4px; opacity: 1; }
  50% { r: 6px; opacity: 0.6; }
}

/* 2. AI */
.ai-work .work-preview {
  background: linear-gradient(135deg, rgba(18, 38, 72, 0.9) 0%, rgba(12, 24, 48, 0.95) 100%);
  border-color: rgba(96, 165, 250, 0.3);
}
html[data-theme="light"] .ai-work .work-preview {
  background: linear-gradient(135deg, #eaf2ff 0%, #d8e7fc 100%);
  border-color: #b3d1f8;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .terminal-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.term-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.term-dot.red { background: #f87171; }
.term-dot.yellow { background: #fbbf24; }
.term-dot.green { background: #34d399; }
.term-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #93c5fd;
  margin-left: 4px;
  letter-spacing: 0.04em;
}
html[data-theme="light"] .term-title { color: #1d4ed8; }
.terminal-body {
  font-size: 11.5px;
  line-height: 1.5;
  color: #e2e8f0;
}
html[data-theme="light"] .terminal-body { color: #1e293b; }
.term-prompt { color: #60a5fa; font-weight: 700; margin-right: 4px; }
.term-check { color: #34d399; font-weight: 700; margin-right: 4px; }

/* 3. Atlas */
.atlas-work .work-preview {
  background: linear-gradient(135deg, rgba(16, 44, 40, 0.9) 0%, rgba(10, 30, 26, 0.95) 100%);
  border-color: rgba(45, 212, 191, 0.3);
}
html[data-theme="light"] .atlas-work .work-preview {
  background: linear-gradient(135deg, #e6f7f3 0%, #d0f0e8 100%);
  border-color: #a4ded0;
}
.atlas-radar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.atlas-globe {
  width: 44px;
  height: 44px;
  border: 1.5px solid #2dd4bf;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  opacity: 0.85;
  flex-shrink: 0;
}
.atlas-globe i {
  position: absolute;
  border: 1px solid #2dd4bf;
  border-radius: 50%;
  inset: 0 25%;
}
.atlas-globe i:nth-child(2) { inset: 30% -5%; }
.atlas-globe i:nth-child(3) { inset: 15% -5%; }
.atlas-coords {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.coord-label {
  font-size: 10px;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.05em;
}
html[data-theme="light"] .coord-label { color: #0d9488; }
.coord-val {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
}
html[data-theme="light"] .coord-val { color: #134e4a; }

/* 4. Video */
.video-work .work-preview {
  background: linear-gradient(135deg, rgba(46, 24, 60, 0.9) 0%, rgba(28, 14, 38, 0.95) 100%);
  border-color: rgba(192, 132, 252, 0.3);
}
html[data-theme="light"] .video-work .work-preview {
  background: linear-gradient(135deg, #f5eef7 0%, #ecdcf0 100%);
  border-color: #dac2e2;
}
.video-player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.video-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #a855f7;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 15px;
  padding-left: 3px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.45);
}
.video-progress-zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.wave-bar {
  width: 3px;
  background: #c084fc;
  border-radius: 2px;
  animation: soundWave 1.4s ease-in-out infinite alternate;
}
.wave-bar.w-1 { height: 8px; animation-delay: 0.1s; }
.wave-bar.w-2 { height: 16px; animation-delay: 0.3s; }
.wave-bar.w-3 { height: 10px; animation-delay: 0.15s; }
.wave-bar.w-4 { height: 18px; animation-delay: 0.4s; }
.wave-bar.w-5 { height: 12px; animation-delay: 0.25s; }
.wave-bar.w-6 { height: 15px; animation-delay: 0.35s; }
.wave-bar.w-7 { height: 7px; animation-delay: 0.05s; }
@keyframes soundWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.1); }
}
.time-stamp {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}
html[data-theme="light"] .time-stamp { color: #64748b; }

/* Work Copy */
.work-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-type {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[data-theme="light"] .work-type { color: #64748b; }
.work-copy h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}
html[data-theme="light"] .work-copy h3 { color: #0f172a; }
.work-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
}
html[data-theme="light"] .work-copy p { color: #475569; }
.work-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #e2c98f;
  transition: transform 0.2s ease, color 0.2s ease;
}
html[data-theme="light"] .work-open { color: #2563eb; }
.work-row:hover .work-open {
  transform: translateX(4px);
  color: #ffffff;
}
html[data-theme="light"] .work-row:hover .work-open { color: #1d4ed8; }

@media (max-width: 900px) {
  .work-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .work-preview {
    height: 180px;
  }
}

/* ==========================================================================
   6. APPROACH — 3-Step Process Pipeline
   ========================================================================== */
.approach {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}
.approach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.approach-eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  color: var(--coral);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.approach-header h2 {
  font-size: 34px;
  margin: 0 0 8px;
}
.approach-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.approach-mascot-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 10px 18px;
  border-radius: 999px;
}
.approach-mascot {
  width: 60px;
  height: 68px;
  object-fit: contain;
}
.mascot-tag {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.approach-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.approach-step {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(20, 32, 50, 0.04);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
html[data-theme="dark"] .approach-step {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.approach-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.step-num {
  font-family: Sora, 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(37, 70, 236, 0.25);
  position: absolute;
  top: 18px;
  right: 20px;
}
html[data-theme="dark"] .step-num {
  color: rgba(226, 201, 143, 0.25);
}
.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: rgba(226, 201, 143, 0.12);
  border: 1px solid rgba(226, 201, 143, 0.3);
}
.approach-step:nth-child(1) .step-icon-wrap {
  background: rgba(226, 201, 143, 0.15);
  border-color: rgba(226, 201, 143, 0.4);
}
.approach-step:nth-child(3) .step-icon-wrap {
  background: rgba(244, 119, 97, 0.15);
  border-color: rgba(244, 119, 97, 0.4);
}
.approach-step:nth-child(5) .step-icon-wrap {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}
.step-title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}
.step-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin: 0;
}
.approach-connector {
  font-size: 22px;
  color: var(--gold-light);
  opacity: 0.7;
  text-align: center;
}

/* ==========================================================================
   7. STORY NOTES DISCLOSURE — Full 6-Chapter Autobiography
   ========================================================================== */
/* Story Continuum Line — Connects 3-Page Memory Book to 6-Chapter Archive Dossier */
.story-continuum-bridge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 0;
  height: 38px;
  max-width: 980px;
  position: relative;
  z-index: 1;
  user-select: none;
}
.story-continuum-bridge .continuum-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(226, 201, 143, 0.7) 0%, rgba(226, 201, 143, 0.2) 100%);
  box-shadow: 0 0 8px rgba(226, 201, 143, 0.4);
}

.story-notes {
  margin: 0 auto 48px;
  max-width: 980px;
  border-radius: 20px;
  transition: all 0.3s var(--ease);
}
.story-notes-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 6px 20px rgba(20, 32, 50, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s;
}
html[data-theme="dark"] .story-notes-trigger {
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 201, 143, 0.06), transparent 70%), rgba(255, 255, 255, 0.03);
  border-color: rgba(226, 201, 143, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.story-notes-trigger::-webkit-details-marker {
  display: none;
}
.story-notes-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.summary-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary-badge {
  font-family: Mitr, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #145d40;
  background: #dceee2;
  padding: 3px 12px;
  border-radius: 999px;
  width: fit-content;
}
html[data-theme="dark"] .summary-badge {
  background: #153225;
  color: #8ce1b5;
}
.summary-title {
  font-family: Mitr, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.summary-sub {
  font-size: 14px;
  color: var(--muted);
}
.summary-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 999px;
  font-family: Mitr, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 70, 236, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
html[data-theme="dark"] .summary-toggle-pill {
  background: var(--gold-light);
  color: #142032;
  box-shadow: 0 4px 14px rgba(226, 201, 143, 0.25);
}
.story-notes-trigger:hover .summary-toggle-pill {
  transform: scale(1.04);
}
.details-plus {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-block;
}
.story-notes[open] .story-notes-trigger {
  border-radius: 20px 20px 0 0;
  border-bottom-color: rgba(226, 201, 143, 0.2);
}
.story-notes[open] .summary-toggle-pill {
  background: var(--ink);
  color: var(--paper);
}
html[data-theme="dark"] .story-notes[open] .summary-toggle-pill {
  background: #f8fafc;
  color: #142032;
}
.story-notes[open] .details-plus {
  transform: rotate(45deg);
}

/* Full Autobiography Archive Styling — Memory Dossier & Scrapbook Edition */
.story-notes[open] .about-archive {
  border: 1.5px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 24px 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(20, 32, 50, 0.08);
}
html[data-theme="dark"] .story-notes[open] .about-archive {
  border-color: rgba(226, 201, 143, 0.25);
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.95) 0%, rgba(9, 14, 24, 0.98) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.about-archive {
  padding: 32px 36px 56px;
}
.about-archive section {
  padding: 0;
  margin: 0;
}

/* Summary Trigger — Prestigious Memory Book Cover */
.summary-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.summary-read-time {
  font-size: 12.5px;
  color: #ff9d7d;
  font-weight: 600;
  background: rgba(255, 120, 80, 0.12);
  border: 1px solid rgba(255, 120, 80, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
}
.summary-chapter-previews {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.preview-pill {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}
html[data-theme="light"] .preview-pill {
  color: #475569;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Quick-Jump Table of Contents Bar */
.archive-chapter-nav {
  margin-bottom: 40px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(226, 201, 143, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1.5px solid rgba(226, 201, 143, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
html[data-theme="light"] .archive-chapter-nav {
  background: linear-gradient(135deg, #fefbf3 0%, #f7f3e8 100%);
  border-color: #dcd1be;
  box-shadow: 0 4px 14px rgba(20, 32, 50, 0.05);
}
.archive-nav-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.nav-title-icon { font-size: 18px; }
.nav-title-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
html[data-theme="light"] .nav-title-text { color: #142032; }
.nav-hint {
  font-size: 13px;
  color: #94a3b8;
}
html[data-theme="light"] .nav-hint { color: #64748b; }
.archive-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.22s ease;
}
.ch-pill .ch-num {
  color: #e2c98f;
  font-size: 11.5px;
}
.ch-pill:hover {
  background: #e2c98f;
  color: #0b1220;
  border-color: #e2c98f;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(226, 201, 143, 0.35);
}
.ch-pill:hover .ch-num { color: #0b1220; }
html[data-theme="light"] .ch-pill {
  color: #1e293b;
  background: #ffffff;
  border-color: #cbd5e1;
}
html[data-theme="light"] .ch-pill:hover {
  background: #142032;
  color: #ffffff;
  border-color: #142032;
}

/* Individual Story Chapter Card */
.story-chapters-list {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.about-archive .story-chapter {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px 36px 42px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  scroll-margin-top: 100px;
}
html[data-theme="light"] .about-archive .story-chapter {
  background: #ffffff;
  border-color: #e2d9cc;
  box-shadow: 0 8px 24px rgba(20, 32, 50, 0.05);
}
.about-archive .story-chapter:hover {
  border-color: rgba(226, 201, 143, 0.35);
}
.chapter-header-zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}
html[data-theme="light"] .chapter-header-zone {
  border-bottom-color: #e2d9cc;
}
.about-archive .chapter-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #e2c98f;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}
html[data-theme="light"] .about-archive .chapter-label {
  color: #b45309;
}
.about-archive .chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}
html[data-theme="light"] .about-archive .chapter-title {
  color: #0f172a;
}

/* 2-Column Content Grid: Left Text, Right Visuals */
.chapter-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.chapter-content-grid.full-width {
  grid-template-columns: 1fr;
}
.about-archive .chapter-body {
  font-size: 16px;
  line-height: 1.95;
  color: #cbd5e1;
}
html[data-theme="light"] .about-archive .chapter-body {
  color: #334155;
}
.about-archive .chapter-body p {
  margin: 0 0 16px;
}
.about-archive .chapter-body strong {
  color: #ffffff;
  font-weight: 700;
}
html[data-theme="light"] .about-archive .chapter-body strong {
  color: #0f172a;
}
.about-archive .chapter-body em {
  color: #ffd875;
  font-style: normal;
  font-weight: 600;
}
html[data-theme="light"] .about-archive .chapter-body em {
  color: #b45309;
}

/* Polaroid Scrapbook Visuals */
.chapter-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-archive .story-fig {
  margin: 0;
}
.about-archive .polaroid-card {
  background: #ffffff;
  padding: 8px 8px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.about-archive .polaroid-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(226, 201, 143, 0.25);
}
.polaroid-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 16px;
  background: rgba(226, 201, 143, 0.45);
  border-radius: 2px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.polaroid-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
}
.about-archive .story-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top center !important;
  display: block;
}
.about-archive .story-img-cap {
  font-family: var(--font-heading);
  font-size: 13px;
  color: #0f172a !important;
  margin-top: 8px;
  padding: 0 4px;
  text-align: center;
  font-weight: 600;
  line-height: 1.45;
}
.story-figrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.story-figrow .story-img {
  max-height: 160px;
}
.about-archive .quote-block {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 201, 143, 0.12) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-left: 4px solid #e2c98f;
  color: #f1f5f9;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.75;
}
html[data-theme="light"] .about-archive .quote-block {
  background: #fbf5eb;
  border-left-color: #b45309;
  color: #1e293b;
}

/* Responsive Archive */
@media (max-width: 900px) {
  .chapter-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .archive-nav-pills {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .about-archive {
    padding: 20px 18px 40px;
  }
  .about-archive .story-chapter {
    padding: 24px 18px 28px;
  }
  .story-figrow {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7B. CHANNEL NAME ORIGIN - AUDIKUNG (Story, Timeline & Stickers)
   ========================================================================== */
.name-origin-section {
  max-width: 980px;
  margin: 72px auto 56px;
  padding: 0 20px;
}

.name-origin-card {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.name-origin-card:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

.name-origin-card::before {
  display: none !important;
}

.name-origin-header {
  margin-bottom: 32px;
  text-align: center;
}

.name-origin-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.name-origin-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ffb499;
  background: rgba(255, 120, 80, 0.15);
  border: 1px solid rgba(255, 120, 80, 0.35);
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.origin-sticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: #e2c98f;
  background: rgba(226, 201, 143, 0.12);
  border: 1px solid rgba(226, 201, 143, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
}

#origin-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.origin-title-highlight {
  color: #ff9d7d;
  text-shadow: 0 0 24px rgba(255, 157, 125, 0.45);
}

/* 4-Step Evolution Connected Timeline Road */
.name-evolution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 14px;
  margin: 0 0 42px;
  position: relative;
}

.name-evolution-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(99, 102, 241, 0.35) 0%, 
    rgba(239, 68, 68, 0.35) 30%, 
    rgba(255, 120, 80, 0.45) 65%, 
    rgba(234, 179, 8, 0.75) 100%);
  z-index: 0;
  pointer-events: none;
}

.evolution-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.evolution-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.evolution-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(14, 21, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
  height: 100%;
  box-sizing: border-box;
}

.evolution-step:hover .evolution-chip {
  transform: translateY(-3px);
  border-color: rgba(226, 201, 143, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.evolution-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.evolution-icon .flag-jp {
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.evolution-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.evolution-texts strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evolution-texts small {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Step 3 (Shrimp friend plot) */
.step-plot .evolution-badge {
  color: #ff9d7d;
  background: rgba(255, 120, 80, 0.12);
  border-color: rgba(255, 120, 80, 0.3);
}
.step-plot .evolution-chip {
  background: rgba(255, 120, 80, 0.1);
  border-color: rgba(255, 157, 125, 0.3);
}

/* Step 4 (Final Channel Brand) — Hero Culmination */
.step-now.is-final .evolution-badge {
  color: #fde047;
  background: rgba(234, 179, 8, 0.18);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}
.step-now.is-final .evolution-chip {
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(234, 179, 8, 0.2) 0%, rgba(245, 158, 11, 0.14) 100%);
  border: 1.5px solid #facc15;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(234, 179, 8, 0.25);
}
.step-now.is-final:hover .evolution-chip {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 28px rgba(234, 179, 8, 0.35);
}
.step-now.is-final .evolution-texts strong {
  color: #ffd875;
}
.step-now.is-final .evolution-texts small {
  color: #fef08a;
}

/* Main Prose & Stickers Two-Column Layout */
.name-origin-main {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: center;
}

.name-origin-prose {
  text-align: left;
  font-size: 16.5px;
  line-height: 1.85;
  color: #cbd5e1;
}

.name-origin-prose .origin-para {
  margin: 0 0 16px;
}

.name-origin-prose strong {
  color: #ffffff;
  font-weight: 700;
}

.name-origin-prose em {
  color: #ffd875;
  font-style: normal;
  font-weight: 600;
}

.quote-block {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 120, 80, 0.12) 0%, rgba(226, 201, 143, 0.08) 100%);
  border: 1px solid rgba(255, 157, 125, 0.3);
  border-left: 4px solid #ff9d7d;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.quote-icon-bar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  padding-top: 2px;
  flex-shrink: 0;
  user-select: none;
}

.quote-eq {
  color: #ffd875;
  font-weight: 700;
  font-size: 13px;
}

.quote-block p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #f1f5f9;
  font-weight: 500;
}

/* Stickers Cluster */
.name-origin-stickers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.mascot-sticker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sticker-bubble {
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  margin-bottom: -10px;
  z-index: 2;
  position: relative;
  transform: rotate(-2deg);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
}

.sticker-diecut-wrap {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at center, rgba(255, 120, 80, 0.22) 0%, rgba(226, 201, 143, 0.12) 60%, transparent 80%);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.mascot-sticker-img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 120, 80, 0.3));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: mascotHover 4s ease-in-out infinite;
}

@keyframes mascotHover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.stickers-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stamp-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px #ffffff;
  transition: transform 0.2s ease;
  user-select: none;
}

.stamp-game {
  transform: rotate(-3deg);
  background: #fff;
  color: #1e1b4b;
}

.stamp-easy {
  transform: rotate(2deg);
  background: #fff;
  color: #78350f;
}

.stamp-sticker:hover {
  transform: scale(1.08) rotate(0deg);
}

/* Light Theme Styling for Name Origin */
html[data-theme="light"] .name-origin-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] #origin-title {
  color: #142032;
}

html[data-theme="light"] .origin-title-highlight {
  color: #ea580c;
  text-shadow: none;
}

html[data-theme="light"] .evolution-badge {
  color: #64748b;
}

html[data-theme="light"] .evolution-chip {
  background: #ffffff;
  border-color: #e2d9cc;
}

html[data-theme="light"] .evolution-texts strong {
  color: #1e293b;
}

html[data-theme="light"] .evolution-texts small {
  color: #64748b;
}

html[data-theme="light"] .step-plot .evolution-chip {
  background: #fff7ed;
  border-color: #fdba74;
}

html[data-theme="light"] .step-now.is-final .evolution-chip {
  background: #142032;
  border-color: #142032;
  box-shadow: 0 6px 18px rgba(20, 32, 50, 0.25);
}

html[data-theme="light"] .step-now.is-final .evolution-texts strong {
  color: #ffd875;
}

html[data-theme="light"] .step-now.is-final .evolution-texts small {
  color: #94a3b8;
}

html[data-theme="light"] .name-origin-prose {
  color: #334155;
}

html[data-theme="light"] .name-origin-prose strong {
  color: #0f172a;
}

html[data-theme="light"] .name-origin-prose em {
  color: #b45309;
}

html[data-theme="light"] .quote-block {
  background: #fff9f0;
  border-color: #fed7aa;
  border-left-color: #f97316;
}

html[data-theme="light"] .quote-block p {
  color: #1e293b;
}

/* Responsive */
@media (max-width: 900px) {
  .name-evolution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .name-origin-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .name-origin-stickers {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .name-origin-card {
    padding: 32px 20px 28px;
    border-radius: 20px;
  }
  .name-evolution-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .name-origin-main {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7C. GRATITUDE MARQUEE STRIP — Creators Who Showed Up
   ========================================================================== */
.gratitude-section {
  max-width: 1240px;
  margin: 64px auto 80px;
  text-align: center;
  padding: 0 20px;
}
.grat-header {
  margin-bottom: 36px;
}
.grat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ff8e72;
  background: rgba(255, 110, 80, 0.14);
  border: 1px solid rgba(255, 142, 114, 0.35);
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(255, 110, 80, 0.12);
}
html[data-theme="light"] .grat-tag {
  color: #c2410c;
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.3);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06);
}
#grat-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.grat-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.75;
}
.grat-strip {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin: 0 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.grat-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: gratScroll 45s linear infinite;
  will-change: transform;
}
.grat-track.is-paused {
  animation-play-state: paused;
}
@keyframes gratScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.grat-item {
  flex: 0 0 auto;
  width: 290px;
  background: #111a28;
  border: 1.5px solid rgba(226, 201, 143, 0.28);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-align: left;
}
.grat-item:hover {
  transform: translateY(-5px);
  border-color: #e2c98f;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(226, 201, 143, 0.2);
}
.grat-shot {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(30, 48, 72, 0.5) 0%, rgba(8, 14, 24, 0.95) 100%);
  padding: 10px;
  box-sizing: border-box;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.grat-item:hover .grat-shot {
  transform: scale(1.02);
}
.grat-shot-fallback {
  width: 100%;
  height: 230px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 2.2rem;
  background: rgba(8, 14, 24, 0.65);
}
.grat-body {
  padding: 14px 16px 16px;
}
.grat-nm {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}
.grat-hd {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}
.grat-ac {
  font-size: 13px;
  color: #ff9d7d;
  font-weight: 500;
  margin-top: 6px;
}
.grat-del {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 13px;
  border-radius: 6px;
  padding: 4px 6px;
}

/* Gratitude Admin Tools */
.grat-admin-tools {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.grat-admin-tools[hidden] {
  display: none;
}
.grat-add-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.grat-add-toggle:hover {
  color: #e2c98f;
  border-color: #e2c98f;
  transform: scale(1.05);
}
.grat-add-toggle[aria-expanded="true"] {
  transform: rotate(45deg);
  border-color: #e2c98f;
  color: #e2c98f;
}
.grat-composer {
  margin-top: 12px;
  width: 100%;
  max-width: 480px;
  background: #142032;
  border: 1px solid rgba(226, 201, 143, 0.25);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.grat-composer[hidden] {
  display: none;
}
.grat-upload-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(226, 201, 143, 0.3);
  border-radius: 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.grat-upload-visual {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.grat-upload-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grat-upload-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.grat-upload-copy strong {
  color: #fff;
  font-weight: 500;
}
.grat-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grat-composer input[type="text"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.grat-composer input[type="text"]:focus {
  outline: none;
  border-color: #e2c98f;
}
.grat-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.grat-save {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
}
.grat-save:hover {
  transform: translateY(-2px);
}
.grat-msg {
  font-size: 13px;
}

/* Gratitude Lightbox */
#gratLightbox,
.grat-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none !important;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
#gratLightbox.open,
.grat-lightbox.open {
  display: grid !important;
}
#gratLightbox img,
.grat-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(226, 201, 143, 0.25);
  border: 1px solid rgba(226, 201, 143, 0.35);
}

/* ==========================================================================
   8. CONTACT LOUNGE — Distinct Tiered Action Cards
   ========================================================================== */
.contact-section {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
}
.contact-lounge {
  max-width: 980px;
  margin: 0 auto;
}
.contact-header {
  text-align: center;
  margin-bottom: 44px;
}
.contact-eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #a43820;
  background: #ffe8df;
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}
html[data-theme="dark"] .contact-eyebrow {
  background: #381a14;
  color: #ffaa96;
}
#contact-title {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 10px;
}
.contact-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 22px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  box-shadow: 0 4px 16px rgba(20, 32, 50, 0.04);
}
html[data-theme="dark"] .contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.contact-card-mascot {
  position: relative;
  height: 84px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.mascot-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-mascot-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
  filter: drop-shadow(0 8px 14px rgba(20, 32, 50, 0.12));
}
.contact-card:hover .card-mascot-img {
  transform: translateY(-5px) scale(1.08);
  filter: drop-shadow(0 12px 20px rgba(20, 32, 50, 0.2));
}
.mascot-platform-badge {
  position: absolute;
  right: -8px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 14px;
  transition: transform 0.25s ease;
}
.contact-card:hover .mascot-platform-badge {
  transform: scale(1.15) rotate(6deg);
}
.badge-deal {
  background: linear-gradient(135deg, #d97706, #b45309);
}
.badge-line {
  background: #06c755;
}
.badge-discord {
  background: #5865F2;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  margin-bottom: 20px;
}
.contact-card-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.contact-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}
.contact-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0;
}
.contact-card-action {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}
.contact-card:hover .contact-card-action {
  transform: translateX(4px);
}

/* Card 1: Featured Partnership Card — Warm Gold */
.contact-card-featured {
  background: var(--ak-paper);
  border-color: #cbbba1;
  box-shadow: 0 8px 24px rgba(20, 32, 50, 0.06);
}
.contact-card-featured .contact-card-tag {
  color: #92400e;
  font-weight: 600;
}
.contact-card-featured .contact-card-action {
  color: #b45309;
  font-weight: 600;
}
html[data-theme="dark"] .contact-card-featured {
  background: radial-gradient(circle at 10% 20%, rgba(226, 201, 143, 0.1) 0%, transparent 70%), rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 201, 143, 0.35);
}
html[data-theme="dark"] .contact-card-featured .contact-card-tag {
  color: #e2c98f;
}
html[data-theme="dark"] .contact-card-featured .contact-card-action {
  color: #e2c98f;
}
html[data-theme="dark"] .contact-card-featured:hover {
  border-color: #e2c98f;
  box-shadow: 0 16px 40px rgba(226, 201, 143, 0.15);
}

/* Card 2: LINE — Emerald Mint Theme */
.contact-card-line .contact-card-tag {
  color: #0d8a57;
}
.contact-card-line .contact-card-action {
  color: #06c755;
  font-weight: 600;
}
html[data-theme="dark"] .contact-card-line {
  background: radial-gradient(circle at 10% 20%, rgba(6, 199, 85, 0.08) 0%, transparent 70%), rgba(255, 255, 255, 0.03);
  border-color: rgba(6, 199, 85, 0.25);
}
html[data-theme="dark"] .contact-card-line .contact-card-tag {
  color: #6ee7b7;
}
html[data-theme="dark"] .contact-card-line .contact-card-action {
  color: #6ee7b7;
}
html[data-theme="dark"] .contact-card-line:hover {
  border-color: #06c755;
  box-shadow: 0 16px 40px rgba(6, 199, 85, 0.15);
}

/* Card 3: Discord — Simply Dock Community Theme */
.contact-card-discord .contact-card-tag {
  color: #4338ca;
}
.contact-card-discord .contact-card-action {
  color: #5865F2;
  font-weight: 600;
}
html[data-theme="dark"] .contact-card-discord {
  background: radial-gradient(circle at 10% 20%, rgba(88, 101, 242, 0.1) 0%, transparent 70%), rgba(255, 255, 255, 0.03);
  border-color: rgba(88, 101, 242, 0.3);
}
html[data-theme="dark"] .contact-card-discord .contact-card-tag {
  color: #a5b4fc;
}
html[data-theme="dark"] .contact-card-discord .contact-card-action {
  color: #818cf8;
}
html[data-theme="dark"] .contact-card-discord:hover {
  border-color: #5865F2;
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.22);
}

/* Direct Contact Strip */
.contact-direct-strip {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
html[data-theme="dark"] .contact-direct-strip {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(226, 201, 143, 0.2);
}
.direct-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.direct-strip-item strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
}
html[data-theme="dark"] .direct-strip-item strong {
  color: var(--gold-light);
}
.direct-icon {
  font-size: 16px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .contact-direct-strip {
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }
}

/* ==========================================================================
   9. SCROLL REVEALS & ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-greet {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-6px); }
}
@keyframes disc-float {
  0% { transform: translate(-50%, -46%) scale(1); }
  100% { transform: translate(-50%, -48%) scale(1.03); }
}
@keyframes disc-pulse {
  50% { transform: scale(1.08); opacity: 0.35; }
}
@keyframes dot-orbit {
  to { offset-distance: 100%; }
}
@keyframes float-speech {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes star-pulse {
  50% { transform: scale(1.2); opacity: 0.5; }
}

/* Paused State */
.about-page.paused *,
.about-page.paused *::before,
.about-page.paused *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .about-page .intro {
    gap: 36px;
    min-height: 540px;
  }
  .portrait-panel {
    height: 460px;
  }
  .portrait-disc {
    width: 380px;
    height: 380px;
  }
  .portrait-orbit {
    width: 440px;
    height: 440px;
  }
  .about-portrait {
    width: 400px;
    height: 430px;
  }
  .work-row {
    gap: 32px;
  }
  .timeline::before {
    left: 210px;
  }
  .timeline-item {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
  .approach-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .approach-connector {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .about-page main {
    padding: 0 20px;
  }
  .about-page .header {
    padding: 16px 20px;
  }
  .about-page .intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 0 40px;
    min-height: 0;
  }
  .intro-copy {
    order: 2;
  }
  .portrait-panel {
    order: 1;
    height: 420px;
    width: 100%;
  }
  .portrait-disc {
    width: 320px;
    height: 320px;
  }
  .portrait-orbit {
    width: 380px;
    height: 380px;
  }
  .about-portrait {
    width: 340px;
    height: 370px;
  }
  .portrait-ticket {
    left: 8px;
    bottom: -22px;
    top: auto;
    padding: 6px 12px;
    transform: rotate(-1deg);
  }
  .portrait-ticket strong {
    font-size: 13.5px;
  }
  .portrait-mascot-scene {
    right: 0;
    bottom: 4px;
  }
  .intro-mascot {
    width: 96px;
    height: 108px;
  }
  .mascot-speech {
    display: none;
  }
  .edu-credentials-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 auto 56px;
    padding: 0 16px;
  }
  .education {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 18px;
  }
  .education.edu-ku,
  .edu-credentials-strip .education.edu-ku {
    margin-bottom: 0;
  }
  .education.edu-bcc,
  .edu-credentials-strip .education.edu-bcc {
    margin-bottom: 0;
  }
  .edu-main {
    align-items: flex-start;
    gap: 14px;
  }
  .edu-logo-frame {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .edu-bcc-logo {
    height: 36px;
  }
  .edu-content strong,
  .edu-title {
    font-size: 17.5px;
  }
  .edu-tag {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 12.5px;
  }
  .story-highlights {
    padding: 48px 0;
  }
  /* Memory Book Mobile */
  .memory-book-container {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .book-nav-tabs {
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }
  .book-tab {
    padding: 6px 14px;
    font-size: 13px;
  }
  .book-page {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .polaroid-frame {
    max-width: 280px;
    margin: 0 auto;
    transform: none !important;
  }
  .book-controls {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  /* Manifesto Mobile */
  .manifesto-board {
    gap: 16px;
  }
  .manifesto-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }
  .manifesto-num-col {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .manifesto-num {
    font-size: 20px;
  }
  .vision-whisper-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 18px;
  }
  .whisper-dialogue {
    align-items: center;
  }

  /* Contact Lounge Mobile */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-card {
    padding: 22px 20px;
  }

  /* Story Notes Trigger Mobile */
  .story-notes-trigger {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
  }
  .summary-toggle-pill {
    align-self: flex-start;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .work-preview {
    height: 180px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .approach-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-archive {
    padding: 20px 16px;
  }
  .about-archive .story-chapter {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-archive .gratitude-strip {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .about-page h1 {
    font-size: 34px;
  }
  .portrait-panel {
    height: 360px;
  }
  .portrait-disc {
    width: 270px;
    height: 270px;
  }
  .about-portrait {
    width: 280px;
    height: 320px;
  }
  .intro-mascot {
    width: 80px;
    height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Direct LINE link */
.direct-line-link {
  color: #06c755 !important;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}
.direct-line-link:hover {
  text-decoration: underline;
  color: #05b34c !important;
}

/* Clickable Preview Pills on Summary */
.summary-chapter-previews .preview-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.22s ease;
  cursor: pointer;
}
.summary-chapter-previews .preview-pill:hover {
  background: #e2c98f !important;
  color: #0b1220 !important;
  border-color: #e2c98f !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 201, 143, 0.35);
}
html[data-theme="light"] .summary-chapter-previews .preview-pill:hover {
  background: #142032 !important;
  color: #ffffff !important;
  border-color: #142032 !important;
}

/* ==========================================================================
   ── EDUCATION RIBBONS (KU 82 & BCC 168 ม่วง-ทอง แนวนอนคลาสสิก) ──
   ========================================================================== */
.education.edu-ku {
  margin: 0 0 20px;
}

.edu-credentials-strip .education.edu-ku,
.edu-credentials-strip .education.edu-bcc {
  margin: 0;
}

.education.edu-bcc {
  margin: 0 0 72px;
  background: linear-gradient(145deg, rgba(34, 10, 52, 0.85) 0%, rgba(22, 6, 36, 0.9) 55%, rgba(14, 4, 24, 0.95) 100%);
  border: 1px solid rgba(234, 179, 8, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1),
              inset 0 0 32px rgba(168, 85, 247, 0.18),
              0 0 24px rgba(234, 179, 8, 0.1);
}

.education.edu-bcc:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 179, 8, 0.7);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2),
              inset 0 0 42px rgba(168, 85, 247, 0.28),
              0 0 32px rgba(234, 179, 8, 0.2);
}

.education.edu-bcc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(234, 179, 8, 0.85) 30%, rgba(192, 132, 252, 0.85) 70%, transparent 100%);
  pointer-events: none;
}

.education.edu-bcc .bcc-logo-frame {
  background: linear-gradient(135deg, rgba(62, 16, 94, 0.85) 0%, rgba(32, 8, 50, 0.95) 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 16px rgba(234, 179, 8, 0.25);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.education.edu-bcc:hover .bcc-logo-frame {
  transform: scale(1.05);
  border-color: rgba(234, 179, 8, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 22px rgba(234, 179, 8, 0.35);
}

.edu-bcc-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.bcc-badge-line {
  color: #facc15;
}

.bcc-badge-line .edu-badge-sub {
  color: #d8b4fe;
}

.bcc-badge-line .edu-badge-sep {
  color: #facc15;
  opacity: 0.5;
}

.bcc-title {
  color: #ffffff;
}

.education.edu-bcc .edu-degree {
  color: #cbd5e1;
}

.bcc-tag {
  color: #fef08a;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.45) 0%, rgba(59, 7, 100, 0.6) 100%);
  border: 1px solid rgba(234, 179, 8, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 14px rgba(234, 179, 8, 0.15);
}

.education.edu-bcc:hover .bcc-tag {
  border-color: rgba(234, 179, 8, 0.75);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32), 0 0 18px rgba(234, 179, 8, 0.3);
}

/* Light Theme: .education.edu-bcc */
html[data-theme="light"] .education.edu-bcc {
  background: #ffffff;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-left: 4px solid #7e22ce;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .education.edu-bcc:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.1);
}

html[data-theme="light"] .education.edu-bcc::before {
  background: linear-gradient(90deg, transparent 0%, rgba(202, 138, 4, 0.7) 30%, rgba(168, 85, 247, 0.7) 70%, transparent 100%);
}

html[data-theme="light"] .education.edu-bcc .bcc-logo-frame {
  background: linear-gradient(135deg, #fcf8ff 0%, #f4e8fd 100%);
  border-color: rgba(202, 138, 4, 0.5);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.1);
}

html[data-theme="light"] .education.edu-bcc .bcc-badge-line {
  color: #7e22ce;
}

html[data-theme="light"] .education.edu-bcc .bcc-badge-line .edu-badge-sub {
  color: #a16207;
}

html[data-theme="light"] .education.edu-bcc .bcc-title {
  color: #3b0764;
}

html[data-theme="light"] .education.edu-bcc .edu-degree {
  color: #334155;
}

html[data-theme="light"] .education.edu-bcc .bcc-tag {
  color: #713f12;
  background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
  border: 1px solid rgba(202, 138, 4, 0.5);
  box-shadow: 0 4px 12px rgba(202, 138, 4, 0.12);
}

/* ==========================================================================
   ── PHILOSOPHY, QUOTES & BOOKSHELF (คลังความคิด & ปรัชญาชีวิต) ──
   ========================================================================== */
.philosophy-shelf-section {
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 0 24px;
}
.shelf-wrap {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.shelf-wrap::before {
  display: none !important;
}
html[data-theme="dark"] .shelf-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.shelf-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.shelf-eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #b45309;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.shelf-eyebrow .eyebrow-emblem {
  font-size: 15px;
}
html[data-theme="dark"] .shelf-eyebrow {
  color: #f59e0b;
}
.shelf-header h2 {
  font-family: Mitr, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #142032;
  margin: 0 0 8px;
}
html[data-theme="dark"] .shelf-header h2 {
  color: #f1f4f9;
}
.shelf-sub {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 720px;
  margin: 0;
}
html[data-theme="dark"] .shelf-sub {
  color: #94a3b8;
}
.shelf-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fbf6ec;
  color: #142032;
  border: 1px solid #d4c29e;
  border-radius: 12px;
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.shelf-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 32, 50, 0.12);
}
html[data-theme="dark"] .shelf-view-all-btn {
  background: rgba(226, 201, 143, 0.08);
  color: #f1f4f9;
  border: 1px solid rgba(226, 201, 143, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .shelf-view-all-btn:hover {
  border-color: rgba(226, 201, 143, 0.7);
  box-shadow: 0 6px 20px rgba(201, 152, 62, 0.25);
}

/* ── Floating Filter Capsule Bar ── */
.shelf-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  width: fit-content;
}
html[data-theme="light"] .shelf-filter-bar {
  background: #f4ede0;
  border: 1px solid #e2d7c5;
}
.shelf-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  color: #374151;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.shelf-filter-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}
.shelf-filter-btn.is-active {
  background: #142032;
  color: #f1f4f9;
  border-color: #142032;
  box-shadow: 0 4px 12px rgba(20, 32, 50, 0.2);
}
.shelf-filter-btn .filter-count {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
}
.shelf-filter-btn.is-active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
html[data-theme="dark"] .shelf-filter-btn {
  background: transparent;
  color: #cbd5e1;
  border-color: transparent;
}
html[data-theme="dark"] .shelf-filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f4f9;
}
html[data-theme="dark"] .shelf-filter-btn.is-active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.35) 100%);
  color: #fef08a;
  font-weight: 600;
  border-color: rgba(234, 179, 8, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 16px rgba(234, 179, 8, 0.2);
}
html[data-theme="dark"] .shelf-filter-btn.is-active .filter-count {
  background: rgba(0, 0, 0, 0.25);
  color: #fef08a;
}

/* ── Display Stage & Cards Grid ── */
.shelf-display-stage {
  position: relative;
}
.shelf-stand-rack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 24px;
}
.shelf-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #e8e0d5;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.25s;
  box-shadow: 0 4px 16px rgba(20, 32, 50, 0.05);
}
.shelf-item:hover {
  transform: translateY(-6px);
  border-color: #d4c29e;
  box-shadow: 0 14px 32px rgba(20, 32, 50, 0.12);
}
html[data-theme="dark"] .shelf-item {
  background: #101726;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .shelf-item:hover {
  border-color: rgba(226, 201, 143, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(226, 201, 143, 0.15);
}
.shelf-item.is-hidden {
  display: none !important;
}
/* Tab change: rack fades + lifts out, cards swap, then rise back in.
   Height eases between the 4-card and 5-card rows so nothing below jumps. */
.shelf-stand-rack {
  transition: height 0.42s var(--ease);
}
.shelf-stand-rack.is-fading-out,
.shelf-stand-rack.is-fading-in {
  overflow: clip;
  overflow-clip-margin: 18px;
}
.shelf-stand-rack.is-fading-out .shelf-item {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  filter: blur(2px);
  transition: opacity 0.2s ease-in, transform 0.2s ease-in, filter 0.2s ease-in;
}
.shelf-stand-rack.is-fading-in .shelf-item {
  animation: shelfCardIn 0.42s var(--ease) both;
}
.shelf-stand-rack.is-fading-in .shelf-item:nth-child(n) { animation-delay: 0s; }
.shelf-stand-rack.is-fading-in .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) { animation-delay: 0.05s; }
.shelf-stand-rack.is-fading-in .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) { animation-delay: 0.1s; }
.shelf-stand-rack.is-fading-in .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) ~ .shelf-item:not(.is-hidden) { animation-delay: 0.15s; }
@keyframes shelfCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf-stand-rack { transition: none; }
  .shelf-stand-rack.is-fading-in .shelf-item,
  .shelf-stand-rack.is-fading-out .shelf-item { animation: none; transition: none; opacity: 1; transform: none; filter: none; }
}

/* ── 1. Philosophy Cards (Hero Statue Emblem) ── */
.shelf-philosophy-card .phil-visual-wrap {
  position: relative;
  height: 180px;
  background: #0b0f19;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shelf-philosophy-card .phil-visual-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.shelf-philosophy-card:hover .phil-visual-wrap::after {
  opacity: 1;
}
.shelf-philosophy-card .phil-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 0.45s var(--ease);
}
.shelf-item:hover .phil-cover-img {
  transform: scale(1.08);
}
.shelf-philosophy-card .phil-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 26, 0.15) 0%, rgba(10, 15, 26, 0.75) 100%);
  pointer-events: none;
}
.phil-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #0b1220;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.45);
  z-index: 2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shelf-philosophy-card:hover .phil-badge {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.65);
}

/* ── 2. 3D Book Presentation ── */
.book-3d-wrap {
  position: relative;
  height: 220px;
  background: linear-gradient(180deg, #f8f6f0 0%, #efebe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  perspective: 800px;
}
html[data-theme="dark"] .book-3d-wrap {
  background: linear-gradient(180deg, #151d2c 0%, #0d1420 100%);
}
.book-cover-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  border-radius: 4px 8px 8px 4px;
  box-shadow: -5px 6px 16px rgba(0, 0, 0, 0.3);
  transform: rotateY(-8deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.shelf-book-card:hover .book-cover-img {
  transform: rotateY(-20deg) rotateX(4deg) translateY(-8px) scale(1.08);
  box-shadow: -14px 18px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.25);
}
.book-spine {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px 0 0 2px;
}
.book-badge, .plaque-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  transition: transform 0.25s var(--ease);
}
.shelf-book-card:hover .book-badge,
.shelf-quote-plaque:hover .plaque-badge {
  transform: translateY(-2px) scale(1.05);
}
.book-badge.star-4 {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

/* ── 3. Quote Poster Presentation (Poster-Wall Gimmick from personal.html#quotes) ── */
.quote-poster-visual {
  position: relative;
  height: 200px;
  background: #0d0f14;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
}
.quote-poster-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) contrast(1.15) brightness(0.55);
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
/* Exact face & portrait alignment for quote speakers */
.photo-toto { object-position: center 22% !important; }
.photo-karp { object-position: 72% 35% !important; }
.photo-dwayne { object-position: 22% 30% !important; }
.photo-munger { object-position: center 25% !important; }

.shelf-quote-plaque:hover .quote-poster-photo {
  transform: scale(1.08);
  filter: grayscale(0.1) contrast(1.15) brightness(0.72);
}
.quote-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 20, 0.15) 0%, rgba(13, 15, 20, 0.6) 45%, rgba(13, 15, 20, 0.96) 100%);
  pointer-events: none;
}
.quote-poster-mark {
  position: absolute;
  top: 6px;
  left: 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.5rem;
  line-height: 1;
  color: #f59e0b;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  transition: transform 0.4s var(--ease), opacity 0.3s ease, filter 0.3s ease;
}
.shelf-quote-plaque:hover .quote-poster-mark {
  transform: scale(1.18) rotate(-4deg);
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.7));
}
.quote-poster-badge-who {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quote-poster-bar {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: #f59e0b;
  transition: width 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease;
}
.shelf-quote-plaque:hover .quote-poster-bar {
  width: 38px;
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.85);
}
.quote-poster-speaker {
  font-family: Mitr, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease;
}
.shelf-quote-plaque:hover .quote-poster-speaker {
  color: #fbbf24;
}

/* ── 4. Character Trading Cards (Gacha Holo SSR Gimmick from personal.html#characters) ── */
.tcg-card-wrap {
  position: relative;
  height: 220px;
  background: radial-gradient(ellipse at 50% 50%, #221545 0%, #0d0a1e 100%);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  overflow: hidden;
}
.tcg-card {
  position: relative;
  width: 136px;
  height: 194px;
  border-radius: 12px;
  padding: 5px;
  background: linear-gradient(135deg, #fff3c4 0%, #f7c948 25%, #b8860b 50%, #ffe28a 75%, #c9951a 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(247, 201, 72, 0.35);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  transform-style: preserve-3d;
}
.shelf-character-card:hover .tcg-card {
  transform: translateY(-8px) rotateX(6deg) rotateY(-4deg) scale(1.07);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.65), 0 0 32px rgba(247, 201, 72, 0.8);
}
.tcg-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #140f2b;
}
.tcg-art {
  position: absolute;
  inset: 0;
}
.tcg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.shelf-character-card:hover .tcg-img {
  transform: scale(1.08);
}
.tcg-top {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.tcg-rar {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(10, 8, 25, 0.85);
  color: #f7c948;
  border: 1px solid #f7c948;
  text-shadow: 0 0 8px #f7c948;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.shelf-character-card:hover .tcg-rar {
  background: #f7c948;
  color: #0d0a1e;
  box-shadow: 0 0 12px #f7c948;
}
.tcg-stars {
  color: #f7c948;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px #000, 0 0 8px #f7c948;
  transition: letter-spacing 0.3s ease, filter 0.3s ease;
}
.shelf-character-card:hover .tcg-stars {
  letter-spacing: 1.5px;
  filter: drop-shadow(0 0 6px #f7c948);
}
.tcg-plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 6px 6px;
  background: linear-gradient(0deg, rgba(10, 8, 25, 0.95) 0%, rgba(10, 8, 25, 0.75) 55%, transparent 100%);
  text-align: center;
}
.tcg-name {
  display: block;
  font-family: Mitr, sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcg-foil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 8px;
  mix-blend-mode: color-dodge;
  opacity: 0.15;
  background: repeating-linear-gradient(115deg, #ff7ab6 0%, #ffd36b 7%, #7cf5c3 14%, #6fb7ff 21%, #c68bff 28%, #ff7ab6 35%),
              repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 6px);
  background-size: 300% 300%, 100% 100%;
  transition: opacity 0.35s ease;
}
.shelf-character-card:hover .tcg-foil {
  opacity: 0.75;
  animation: tcgFoilSweep 4s ease-in-out infinite alternate;
}
.tcg-glare {
  position: absolute;
  inset: -100%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  opacity: 0;
  transform: translateX(-100%) translateY(-100%) rotate(25deg);
  transition: opacity 0.25s ease;
}
.shelf-character-card:hover .tcg-glare {
  opacity: 1;
  animation: tcgGlareSweep 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes tcgGlareSweep {
  0% { transform: translateX(-60%) translateY(-60%) rotate(25deg); }
  100% { transform: translateX(60%) translateY(60%) rotate(25deg); }
}
@keyframes tcgFoilSweep {
  from { background-position: 0% 0%, 0 0; }
  to { background-position: 100% 100%, 0 0; }
}

/* ── 5. Favorite People Cards (Instagram Story & Creator Theme from personal.html#rolemodels) ── */
.ig-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
  background: #ffffff;
  border-bottom: 1px solid #f1f3f5;
}
html[data-theme="dark"] .ig-card-header {
  background: #141b29;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.ig-story-ring {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(214, 41, 118, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
@keyframes igStorySpin {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.shelf-person-card:hover .ig-story-ring {
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(214, 41, 118, 0.6);
  animation: igStorySpin 3s linear infinite;
}
.ig-story-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #000000;
  border: 2px solid #ffffff;
  box-sizing: border-box;
}
html[data-theme="dark"] .ig-story-avatar {
  border-color: #141b29;
}
.ig-story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Exact head/face alignment for Steve Jobs avatar */
.avatar-steve img {
  object-position: center 52% !important;
}
.ig-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.ig-handle-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ig-username {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="dark"] .ig-username {
  color: #f3f4f6;
}
.ig-verified-badge {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0095f6;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}
.ig-user-role {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="dark"] .ig-user-role {
  color: #94a3b8;
}
.ig-follow-pill {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 149, 246, 0.1);
  color: #0369a1;
  border: 1px solid rgba(0, 149, 246, 0.25);
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
html[data-theme="dark"] .ig-follow-pill {
  background: rgba(0, 149, 246, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}
.shelf-person-card:hover .ig-follow-pill {
  background: #0095f6 !important;
  color: #ffffff !important;
  border-color: #0095f6 !important;
  box-shadow: 0 2px 10px rgba(0, 149, 246, 0.4);
}
.ig-post-visual {
  position: relative;
  height: 180px;
  background: #111827;
  overflow: hidden;
}
.ig-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s var(--ease);
}
/* Exact head/face alignment for Steve Jobs poster */
.img-steve {
  object-position: center 54% !important;
}
.shelf-person-card:hover .ig-post-img {
  transform: scale(1.06);
}
.ig-post-hover-curtain {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 2;
}
.shelf-person-card:hover .ig-post-hover-curtain {
  opacity: 1;
}
.ig-hover-btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: translateY(6px);
  transition: transform 0.3s var(--ease);
}
.shelf-person-card:hover .ig-hover-btn {
  transform: translateY(0);
}
.ig-post-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #ffd66b;
  border: 1px solid rgba(255, 214, 107, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.ig-domain-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: Mitr, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Item Content & Metadata ── */
.shelf-item-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shelf-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.meta-tag {
  font-family: Mitr, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}
.tag-philosophy {
  background: #fef3c7;
  color: #92400e;
}
html[data-theme="dark"] .tag-philosophy {
  background: rgba(234, 179, 8, 0.16);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.3);
}
.tag-wealth {
  background: #ecfdf5;
  color: #065f46;
}
html[data-theme="dark"] .tag-wealth {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.tag-mindset {
  background: #eff6ff;
  color: #1e40af;
}
html[data-theme="dark"] .tag-mindset {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.tag-character {
  background: #f5f3ff;
  color: #6b21a8;
}
html[data-theme="dark"] .tag-character {
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.tag-people {
  background: #fdf2f8;
  color: #9d174d;
}
html[data-theme="dark"] .tag-people {
  background: rgba(236, 72, 153, 0.16);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}
.meta-author {
  font-size: 12px;
  color: #6b7280;
}
html[data-theme="dark"] .meta-author {
  color: #94a3b8;
}
.shelf-item-title {
  font-family: Mitr, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #142032;
  margin: 0 0 10px;
}
html[data-theme="dark"] .shelf-item-title {
  color: #f1f4f9;
}
.shelf-quote-text {
  font-family: Mitr, serif;
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: #1f2937;
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid #eab308;
}
html[data-theme="dark"] .shelf-quote-text {
  color: #fde68a;
}
.shelf-item-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 16px;
  flex: 1;
}
html[data-theme="dark"] .shelf-item-note {
  color: #cbd5e1;
}
.shelf-item-link {
  font-family: Mitr, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shelf-item-link:hover,
.shelf-item:hover .shelf-item-link {
  color: #d97706;
  text-decoration: underline;
  transform: translateX(3px);
}
html[data-theme="dark"] .shelf-item-link {
  color: #fbbf24;
}
html[data-theme="dark"] .shelf-item-link:hover,
html[data-theme="dark"] .shelf-item:hover .shelf-item-link {
  color: #fde047;
}

/* ==========================================================================
   ── 16 ROLE MODELS SHOWCASE (บุคคลต้นแบบ) ──
   ========================================================================== */
.rolemodels-section {
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 0 24px;
}
.rolemodels-wrap {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.rolemodels-wrap::before {
  display: none !important;
}
html[data-theme="dark"] .rolemodels-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.rolemodels-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rolemodels-eyebrow {
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #b45309;
  display: block;
  margin-bottom: 6px;
}
html[data-theme="dark"] .rolemodels-eyebrow {
  color: #f59e0b;
}
.rolemodels-header h2 {
  font-family: Mitr, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #142032;
  margin: 0 0 8px;
}
html[data-theme="dark"] .rolemodels-header h2 {
  color: #f1f4f9;
}
.rolemodels-sub {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 680px;
  margin: 0;
}
html[data-theme="dark"] .rolemodels-sub {
  color: #94a3b8;
}
.rolemodels-view-switcher {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 3px;
  gap: 4px;
}
html[data-theme="dark"] .rolemodels-view-switcher {
  background: #131c2a;
  border-color: #24354d;
}
.rolemodels-switch-btn {
  font-family: Mitr, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.rolemodels-switch-btn.is-active {
  background: #ffffff;
  color: #142032;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
html[data-theme="dark"] .rolemodels-switch-btn.is-active {
  background: #eab308;
  color: #0b1220;
}

/* Domain Filter Bar — Floating Capsule Style */
.rolemodels-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  width: fit-content;
}
html[data-theme="light"] .rolemodels-filter-bar {
  background: #f4ede0;
  border: 1px solid #e2d7c5;
}
.rolemodels-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  color: #374151;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.rolemodels-filter-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}
.rolemodels-filter-btn.is-active {
  background: #142032;
  color: #f1f4f9;
  border-color: #142032;
  box-shadow: 0 4px 12px rgba(20, 32, 50, 0.2);
}
html[data-theme="dark"] .rolemodels-filter-btn {
  background: transparent;
  color: #cbd5e1;
  border-color: transparent;
}
html[data-theme="dark"] .rolemodels-filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f4f9;
}
html[data-theme="dark"] .rolemodels-filter-btn.is-active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.35) 100%);
  color: #fef08a;
  font-weight: 600;
  border-color: rgba(234, 179, 8, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 16px rgba(234, 179, 8, 0.2);
}

/* Track Container & Navigation Buttons */
.rolemodels-track-container {
  position: relative;
  margin-bottom: 32px;
}
.rolemodels-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #142032;
  border: 1.5px solid #d4c29e;
  box-shadow: 0 4px 12px rgba(20, 32, 50, 0.15);
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s var(--ease);
}
.rolemodels-nav-btn:hover:not(:disabled) {
  background: #142032;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.rolemodels-nav-btn.prev-btn {
  left: -20px;
}
.rolemodels-nav-btn.next-btn {
  right: -20px;
}
html[data-theme="dark"] .rolemodels-nav-btn {
  background: #1e293b;
  color: #f1f4f9;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .rolemodels-nav-btn:hover:not(:disabled) {
  background: #eab308;
  color: #0b1220;
}

/* Track (Carousel Mode by default) */
.rolemodels-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 6px 20px;
  scrollbar-width: thin;
}
.rolemodels-track::-webkit-scrollbar {
  height: 6px;
}
.rolemodels-track::-webkit-scrollbar-thumb {
  background: #cfbf9f;
  border-radius: 3px;
}

/* Grid Mode Toggle */
.rolemodels-track-container.is-grid .rolemodels-nav-btn {
  display: none;
}
.rolemodels-track-container.is-grid .rolemodels-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  overflow-x: visible;
  scroll-snap-type: none;
}

/* Role Model Card — Linear / Raycast Spotlight Border */
.rolemodel-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7ded0;
  border-radius: 20px;
  padding: 26px 22px 22px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 4px 18px rgba(20, 32, 50, 0.05);
}
.rolemodel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 201, 143, 0.8) 50%, transparent 100%);
  pointer-events: none;
}
.rolemodels-track-container.is-grid .rolemodel-card {
  flex: none;
}
.rolemodel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 32, 50, 0.12);
  border-color: #c8b79b;
}
html[data-theme="dark"] .rolemodel-card {
  background: linear-gradient(155deg, rgba(18, 26, 40, 0.82) 0%, rgba(11, 17, 28, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .rolemodel-card:hover {
  border-color: rgba(226, 201, 143, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(226, 201, 143, 0.12);
}
.rolemodel-card.is-hidden {
  display: none !important;
}

/* Avatar with Glowing Ring */
.rm-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 4px;
}
.rm-avatar-wrap.ring-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #fef08a 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.rm-avatar-wrap.ring-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #6ee7b7 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.rm-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}
html[data-theme="dark"] .rm-avatar-img {
  border-color: #0e1522;
}
.rm-star-badge {
  position: absolute;
  bottom: 0px;
  right: -2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.rm-star-badge.star-4 {
  background: #10b981;
  color: #ffffff;
}

/* Card Body & Typography */
.rm-card-body {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rm-role-pill {
  font-family: Mitr, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.role-ceo {
  background: #fef3c7;
  color: #92400e;
}
html[data-theme="dark"] .role-ceo {
  background: #713f12;
  color: #fde047;
}
.role-biz {
  background: #eff6ff;
  color: #1e40af;
}
html[data-theme="dark"] .role-biz {
  background: #1e3a8a;
  color: #bfdbfe;
}
.role-creator {
  background: #ffedd5;
  color: #9a3412;
}
html[data-theme="dark"] .role-creator {
  background: #431407;
  color: #fed7aa;
}
.role-fin {
  background: #ecfdf5;
  color: #065f46;
}
html[data-theme="dark"] .role-fin {
  background: #064e3b;
  color: #a7f3d0;
}
.role-speaker {
  background: #ffe4e6;
  color: #9f1239;
}
html[data-theme="dark"] .role-speaker {
  background: #4c0519;
  color: #fecdd3;
}
.role-sport {
  background: #e0f2fe;
  color: #0369a1;
}
html[data-theme="dark"] .role-sport {
  background: #0c4a6e;
  color: #bae6fd;
}
.rm-name {
  font-family: Mitr, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #142032;
  margin: 0 0 8px;
}
html[data-theme="dark"] .rm-name {
  color: #f1f4f9;
}
.rm-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 16px;
  flex: 1;
}
html[data-theme="dark"] .rm-desc {
  color: #94a3b8;
}
.rm-card-foot {
  padding-top: 12px;
  border-top: 1px dashed rgba(20, 32, 50, 0.1);
  width: 100%;
  text-align: center;
}
html[data-theme="dark"] .rm-card-foot {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.rm-open-btn {
  font-family: Mitr, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  transition: color 0.2s;
}
.rm-open-btn:hover {
  text-decoration: underline;
}
html[data-theme="dark"] .rm-open-btn {
  color: #fbbf24;
}

/* Footer CTA Card */
.rolemodels-footer-cta {
  margin-top: 24px;
}
.rolemodels-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
  flex-wrap: wrap;
}
html[data-theme="dark"] .rolemodels-cta-card {
  background: linear-gradient(135deg, #1e190f 0%, #17120a 100%);
  border-color: #b45309;
}
.rolemodels-cta-title {
  font-family: Mitr, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}
html[data-theme="dark"] .rolemodels-cta-title {
  color: #fde047;
}
.rolemodels-cta-copy p {
  font-size: 13.5px;
  color: #78350f;
  margin: 0;
}
html[data-theme="dark"] .rolemodels-cta-copy p {
  color: #cbd5e1;
}
.rolemodels-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #142032;
  color: #ffffff;
  border-radius: 12px;
  font-family: Mitr, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rolemodels-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 32, 50, 0.25);
}
html[data-theme="dark"] .rolemodels-cta-link {
  background: #eab308;
  color: #0b1220;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .shelf-wrap, .rolemodels-wrap {
    padding: 24px 20px 32px;
  }
  .shelf-header h2, .rolemodels-header h2 {
    font-size: 24px;
  }
  .rolemodels-nav-btn {
    display: none;
  }
  .rolemodels-cta-card {
    flex-direction: column;
    align-items: stretch;
  }
  .rolemodels-cta-link {
    justify-content: center;
  }
}

/* == Self strengths / weaknesses (owner-written) ==
   One box per section (Design.md 16.1): white card in light, deep-dive glass
   card in dark (Audi 2026-10-16: no cream/white boxes on the dark theme).
   Two halves split by a hairline. Strengths carries
   the single emphasis (gold glow). Identity colours stay small: letter disc
   plus a soft tint, deep ink everywhere. */
.swot-section {
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 0 24px;
}
.swot-section[hidden] { display: none; }
.swot-header { text-align: center; margin-bottom: 30px; }
.swot-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #1e3a8a;
  background: rgba(37, 70, 236, 0.08);
  border: 1px solid rgba(37, 70, 236, 0.25);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
html[data-theme="dark"] .swot-tag { color: #bfdbfe; background: rgba(96, 165, 250, 0.12); border-color: rgba(147, 197, 253, 0.35); }
#swot-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.swot-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #c59738, #e2c98f);
}
.swot-nw { white-space: nowrap; }
.swot-sub { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }

.swot-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid #a9b8cc;
  border-bottom: 4px solid #a9b8cc;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(20, 32, 50, 0.08);
  overflow: hidden;
  color: #142032;
}
.swot-q[hidden] { display: none; }
.swot-q {
  --q-ink: #166534;
  --q-tint: rgba(22, 163, 74, 0.06);
  --q-disc: linear-gradient(145deg, #16a34a, #166534);
  padding: 22px 24px 20px;
  background: var(--q-tint);
  min-width: 0;
}
.swot-q[data-q="w"] { --q-ink: #92400e; --q-tint: rgba(217, 119, 6, 0.06); --q-disc: linear-gradient(145deg, #b45309, #92400e); border-left: 1px solid #d8e0ea; }
.swot-q[data-q="s"] {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(226, 201, 143, 0.38), transparent 60%),
    var(--q-tint);
  box-shadow: inset 0 0 0 1px rgba(197, 151, 56, 0.35);
}
.swot-q-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.swot-letter {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--q-disc);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 3px 8px rgba(20, 32, 50, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.swot-q[data-q="s"] .swot-letter { width: 42px; height: 42px; font-size: 20px; box-shadow: 0 0 0 4px rgba(226, 201, 143, 0.45), 0 4px 12px rgba(21, 128, 61, 0.3); }
.swot-q-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--q-ink);
  line-height: 1.3;
}
.swot-q[data-q="s"] .swot-q-head h3 { font-size: 22px; }
.swot-q-head small { font-family: var(--font-brand); font-size: 13px; font-weight: 600; color: #4e5e77; margin-left: 4px; }
.swot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.swot-item { border-top: 1px solid rgba(20, 32, 50, 0.08); }
.swot-item:first-child { border-top: none; }
.swot-item-row { display: flex; align-items: flex-start; gap: 6px; }
.swot-item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 6px;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: #142032;
  cursor: pointer;
  border-radius: 8px;
}
.swot-item-main.is-static { cursor: default; }
.swot-item-main::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--q-disc);
}
.swot-item-main.has-emoji::before { display: none; }
button.swot-item-main:hover { background: rgba(20, 32, 50, 0.04); }
button.swot-item-main:focus-visible { outline: 2px solid #2546ec; outline-offset: 2px; }
.swot-item-text { flex: 1; font-size: 16px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.swot-chev { flex: none; margin-top: 2px; font-size: 16px; color: #4e5e77; transition: transform 0.25s var(--ease); }
.swot-item.is-open .swot-chev { transform: rotate(180deg); }
.swot-note {
  margin: 0 6px 12px 24px;
  padding: 10px 14px;
  background: #f6f8fb;
  border: 1px solid #dde4ee;
  border-radius: 10px;
  animation: swotNoteIn 0.3s var(--ease);
}
.swot-note[hidden] { display: none; }
.swot-note-label { display: block; font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--q-ink); margin-bottom: 2px; }
.swot-note p { margin: 0; font-size: 15px; line-height: 1.65; color: #3b4960; }
@keyframes swotNoteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.swot-tools { display: flex; gap: 2px; padding-top: 8px; }
.swot-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-size: 15px;
}
.swot-icon:hover, .swot-icon:focus-visible { background: #fff; border-color: #a9b8cc; }
.swot-icon.is-danger:hover, .swot-icon.is-danger:focus-visible { border-color: #fca5a5; background: #fef2f2; }
.swot-add-row { padding-top: 8px; }
.swot-add {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px dashed #a9b8cc;
  border-radius: 10px;
  background: transparent;
  color: #5b6577;
  font-family: var(--font-heading);
  font-size: 14.5px;
  cursor: pointer;
}
.swot-add:hover, .swot-add:focus-visible { color: var(--q-ink); border-color: currentColor; background: rgba(255, 255, 255, 0.6); }
.swot-q.is-empty .swot-list { min-height: 52px; }
.swot-editor { display: grid; gap: 10px; padding: 12px 0; }
.swot-editor label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: #3b4960; }
.swot-editor em { font-style: normal; font-weight: 400; color: #5b6577; }
.swot-editor input,
.swot-editor textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #142032;
  background: #fff;
  border: 1px solid #b8c9df;
  border-radius: 8px;
  padding: 9px 11px;
  line-height: 1.5;
  color-scheme: light;
}
.swot-editor input:focus, .swot-editor textarea:focus { outline: 2px solid #2546ec; outline-offset: 1px; }
.swot-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.swot-save {
  padding: 9px 18px;
  border-radius: 10px;
  border: 0;
  background: #e2c98f;
  color: #142032;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 2px 0 #c59738;
}
.swot-save:hover { background: #ecd7a6; }
.swot-cancel {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid #b8c9df;
  background: #fff;
  color: #3b4960;
  font-family: var(--font-heading);
  font-size: 14.5px;
  cursor: pointer;
}
.swot-owner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}
.swot-owner[hidden] { display: none; }
.swot-owner-msg[data-tone="ok"] { color: #15803d; }
.swot-owner-msg[data-tone="warn"] { color: #b45309; }
.swot-owner-msg[data-tone="err"] { color: #b91c1c; }
html[data-theme="dark"] .swot-owner-msg[data-tone="ok"] { color: #4ade80; }
html[data-theme="dark"] .swot-owner-msg[data-tone="warn"] { color: #fbbf24; }
html[data-theme="dark"] .swot-owner-msg[data-tone="err"] { color: #fca5a5; }
.swot-restore {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 14px;
  cursor: pointer;
}
.swot-restore:disabled { color: var(--muted); cursor: not-allowed; border-style: dashed; }
html[data-theme="dark"] .swot-restore { background: #101726; border-color: rgba(255, 255, 255, 0.16); }

.swot-q.is-solo { grid-column: 1 / -1; border-left: 0; }

/* Dark theme: deep-dive glass card, tonally lighter than the night sky, light ink */
html[data-theme="dark"] .swot-board {
  background:
    radial-gradient(28rem 14rem at 0% 0%, rgba(229, 197, 134, 0.10), transparent 60%),
    linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #e6ebf5;
}
html[data-theme="dark"] .swot-q { --q-ink: #86efac; --q-tint: rgba(74, 222, 128, 0.05); }
html[data-theme="dark"] .swot-q[data-q="w"] { --q-ink: #fcd34d; --q-tint: rgba(251, 191, 36, 0.05); border-left-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .swot-q[data-q="s"] {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(229, 197, 134, 0.16), transparent 60%),
    var(--q-tint);
  box-shadow: inset 0 0 0 1px rgba(229, 197, 134, 0.28);
}
html[data-theme="dark"] .swot-q-head small,
html[data-theme="dark"] .swot-chev { color: #aab4c8; }
html[data-theme="dark"] .swot-item { border-top-color: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .swot-item-main { color: #e6ebf5; }
html[data-theme="dark"] button.swot-item-main:hover { background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] button.swot-item-main:focus-visible,
html[data-theme="dark"] .swot-editor input:focus,
html[data-theme="dark"] .swot-editor textarea:focus { outline-color: #93c5fd; }
html[data-theme="dark"] .swot-note { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .swot-note p { color: #c9d2e3; }
html[data-theme="dark"] .swot-icon:hover,
html[data-theme="dark"] .swot-icon:focus-visible { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
html[data-theme="dark"] .swot-icon.is-danger:hover,
html[data-theme="dark"] .swot-icon.is-danger:focus-visible { background: rgba(248, 113, 113, 0.12); border-color: rgba(252, 165, 165, 0.5); }
html[data-theme="dark"] .swot-add { border-color: rgba(255, 255, 255, 0.25); color: #aab4c8; }
html[data-theme="dark"] .swot-add:hover,
html[data-theme="dark"] .swot-add:focus-visible { color: var(--q-ink); border-color: currentColor; background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .swot-editor label { color: #c9d2e3; }
html[data-theme="dark"] .swot-editor em { color: #aab4c8; }
html[data-theme="dark"] .swot-editor input,
html[data-theme="dark"] .swot-editor textarea { background: #0b1222; color: #f4f6fb; border-color: rgba(255, 255, 255, 0.2); color-scheme: dark; }
html[data-theme="dark"] .swot-save { background: #e5c586; color: #111620; }
html[data-theme="dark"] .swot-cancel { background: rgba(255, 255, 255, 0.06); color: #e6ebf5; border-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 720px) {
  .swot-section { padding: 0 16px; margin-bottom: 72px; }
  .swot-board { grid-template-columns: 1fr; }
  .swot-q { padding: 18px 16px 16px; }
  .swot-q[data-q="w"] { border-left: 0; border-top: 1px solid #d8e0ea; }
  html[data-theme="dark"] .swot-q[data-q="w"] { border-top-color: rgba(255, 255, 255, 0.1); }
}
@media (prefers-reduced-motion: reduce) {
  .swot-note { animation: none; }
  .swot-chev { transition: none; }
}

/* == 2026-10-16 page pass (Design.md 16.1): no cream on dark, text cards upright ==
   Memory book: white card in light, deep-dive glass card in dark, no side spine.
   The polaroid stays white photo paper (it is a photo, not a reading box). */
#memories { scroll-margin-top: 96px; }
html .memory-book-container {
  background: #fff !important;
  color: #142032 !important;
  border: 1px solid #a9b8cc !important;
  border-bottom: 4px solid #a9b8cc !important;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20, 32, 50, 0.08) !important;
}
html .memory-book-container .book-controls { border-color: #dde4ee !important; }
html .memory-book-container .book-nav-btn { border-color: #c6d2e1 !important; }
.polaroid-handwriting { white-space: normal; overflow-wrap: anywhere; }

html[data-theme="dark"] .memory-book-container {
  background:
    radial-gradient(28rem 14rem at 0% 0%, rgba(229, 197, 134, 0.10), transparent 60%),
    linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99)) !important;
  color: #e6ebf5 !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
html[data-theme="dark"] .memory-book-container .book-controls { border-color: rgba(255, 255, 255, 0.1) !important; }
html[data-theme="dark"] .memory-book-container .chapter-num { background: rgba(74, 222, 128, 0.14) !important; color: #86efac !important; }
html[data-theme="dark"] .memory-book-container .chapter-period { color: #aab4c8 !important; }
html[data-theme="dark"] .memory-book-container .page-textual h3 { color: #f4f6fb !important; }
html[data-theme="dark"] .memory-book-container .page-prose { color: #c9d2e3 !important; }
html[data-theme="dark"] .memory-book-container .page-prose strong { color: #fff !important; }
html[data-theme="dark"] .memory-book-container .book-nav-btn { background: rgba(255, 255, 255, 0.06) !important; color: #e6ebf5 !important; border-color: rgba(255, 255, 255, 0.2) !important; }
html[data-theme="dark"] .memory-book-container .book-nav-btn:hover:not(:disabled) { background: #e5c586 !important; color: #111620 !important; border-color: #e5c586 !important; }

/* Hero ticket: upright; glass in dark instead of cream */
/* site-shell.css forces rotate(-3deg) !important; text cards stay upright (sticker guide) */
html .about-page .portrait-ticket.intro-ticket,
html .about-page .portrait-ticket.intro-ticket:hover { transform: none !important; }
html[data-theme="dark"] body .portrait-ticket {
  background: linear-gradient(145deg, rgba(36, 48, 76, 0.97), rgba(14, 21, 38, 0.99));
  color: #e6ebf5;
  border: 1px solid rgba(229, 197, 134, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] body .portrait-ticket .mini-caption { color: #f2dca6; }
html[data-theme="dark"] body .portrait-ticket strong { color: #f4f6fb; }

/* Name-origin text stickers upright (rotation blurs text) */
.sticker-bubble,
.stamp-game,
.stamp-easy,
.stamp-sticker:hover { transform: none; }

/* Contact: one mascot (partnership card); LINE / Discord show their logo as the icon */
.contact-card-mascot.is-logo-only .mascot-platform-badge {
  position: static;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.contact-card-mascot.is-logo-only .mascot-platform-badge svg { width: 34px; height: 34px; }
.contact-card:hover .contact-card-mascot.is-logo-only .mascot-platform-badge { transform: translateY(-3px); }

/* == Sweep fixes 2026-10-16 (render_sweep light+dark, 2517-320) == */
.nw { white-space: nowrap; }
/* Light: text that fell under 4.5:1 */
html[data-theme="light"] .intro .eyebrow,
html[data-theme="light"] .approach-eyebrow,
html[data-theme="light"] .summary-read-time { color: #b42318; }
html[data-theme="light"] .portrait-ticket .mini-caption { color: #8a3a05; }
html[data-theme="light"] .name-origin-tag { color: #9a3412; }
html[data-theme="light"] .origin-sticker-pill { color: #6b4a0e; }
html[data-theme="light"] .evolution-badge,
html[data-theme="light"] .evolution-chip small { color: #475569; }
html[data-theme="light"] .step-now.is-final .evolution-badge { color: #854d0e; }
html[data-theme="light"] .contact-card-line .contact-card-tag { color: #05663a; }
html[data-theme="light"] .contact-card-line .contact-card-action,
html[data-theme="light"] .direct-line-link { color: #047a3a !important; }
/* Light: white boxes need the card edge to stand off the pale page */
html[data-theme="light"] .education,
html[data-theme="light"] .about-archive .story-chapter,
html[data-theme="light"] .quote-block,
html[data-theme="light"] .about-archive .quote-block,
html[data-theme="light"] .evolution-chip { border-color: #a9b8cc !important; }
/* Dark: boxes were 1.05:1 against the sky -> deep-dive glass base, card tint kept on top */
html[data-theme="dark"] .approach-step,
html[data-theme="dark"] .about-archive .story-chapter,
html[data-theme="dark"] .evolution-chip,
html[data-theme="dark"] .contact-card {
  background: linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99));
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .contact-card-featured { background: radial-gradient(circle at 10% 20%, rgba(229, 197, 134, 0.14) 0%, transparent 70%), linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99)); border-color: rgba(229, 197, 134, 0.4); }
html[data-theme="dark"] .contact-card-line { background: radial-gradient(circle at 10% 20%, rgba(6, 199, 85, 0.12) 0%, transparent 70%), linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99)); border-color: rgba(6, 199, 85, 0.4); }
html[data-theme="dark"] .contact-card-discord { background: radial-gradient(circle at 10% 20%, rgba(88, 101, 242, 0.14) 0%, transparent 70%), linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99)); border-color: rgba(88, 101, 242, 0.45); }
/* Thai headings that wrap need >= 1.45 line-height */
.about-archive .chapter-title,
.edu-title,
.summary-title,
.page-textual h3,
.contact-card h3,
#intro-title span { line-height: 1.45 !important; }
.polaroid-handwriting { line-height: 1.55; }
.edu-honor { white-space: nowrap; }
/* short bold phrases in the story stay on one line; inline-block (not nowrap) so a long one still wraps inside the column on phones */
.chapter-body strong,
.chapter-body em,
.origin-para strong,
.origin-para em,
.page-prose strong { display: inline-block; max-width: 100%; }

/* == 2026-10-16 round 2 == */
/* Name origin: champagne, not orange (navy + champagne theme) */
.origin-title-highlight { color: #e5c586; text-shadow: 0 0 24px rgba(229, 197, 134, 0.35); }
html[data-theme="light"] .origin-title-highlight { color: #8a5a0b; text-shadow: none; }
/* Gratitude: frames fill (no thin screenshot floating in an empty box) */
.grat-track { align-items: center; }
.grat-item { width: 340px; align-self: center; }
.grat-shot {
  height: 104px;
  padding: 0;
  object-fit: cover;
  object-position: left center;
  background: #0b1222;
}
.grat-shot.is-photo { height: 220px; object-position: 50% 30%; }
.grat-shot-fallback { height: 104px; }
@media (max-width: 720px) { .grat-item { width: 300px; } }

/* == SWOT open state v2 (Audi 2026-10-16: "ตอนกด toggle ดู design มันยังทำออกมาไม่ดีไหม") ==
   One block per entry: the open row tints as a whole and the note is a
   labelled line inside it (no box inside the box). The toggle is a chip that
   names what it hides; owner icons stay quiet so the chip leads. */
.swot-q { --q-chip: rgba(22, 163, 74, 0.12); --q-chip-line: rgba(22, 163, 74, 0.32); --q-open: rgba(22, 163, 74, 0.07); }
.swot-q[data-q="w"] { --q-chip: rgba(217, 119, 6, 0.12); --q-chip-line: rgba(180, 83, 9, 0.32); --q-open: rgba(217, 119, 6, 0.07); }
html[data-theme="dark"] .swot-q { --q-chip: rgba(74, 222, 128, 0.12); --q-chip-line: rgba(134, 239, 172, 0.35); --q-open: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .swot-q[data-q="w"] { --q-chip: rgba(251, 191, 36, 0.12); --q-chip-line: rgba(252, 211, 77, 0.35); }
.swot-item { border-radius: 12px; transition: background 0.25s var(--ease); }
.swot-item.is-open { background: var(--q-open); border-top-color: transparent; }
.swot-item.is-open + .swot-item { border-top-color: transparent; }
.swot-item-main { align-items: center; }
.swot-chev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--q-ink);
  background: var(--q-chip);
  border: 1px solid var(--q-chip-line);
  transform: none !important;
}
.swot-chev i { font-style: normal; display: inline-block; transition: transform 0.25s var(--ease); }
.swot-item.is-open .swot-chev i { transform: rotate(180deg); }
button.swot-item-main:hover .swot-chev { border-color: var(--q-ink); }
.swot-chev b { font-weight: 600; }
.swot-item.is-open .swot-chev { padding: 0; width: 28px; height: 28px; justify-content: center; font-size: 11px; gap: 0; }
.swot-item.is-open .swot-chev b { display: none; }
.swot-note,
html[data-theme="dark"] .swot-note {
  margin: -4px 10px 0 38px;
  padding: 0 0 14px;
  background: none;
  border: 0;
  border-radius: 0;
}
.swot-note-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--q-ink);
  background: var(--q-chip);
  border: 1px solid var(--q-chip-line);
}
.swot-note p { font-size: 15.5px; line-height: 1.65; }
.swot-icon { width: 32px; height: 32px; font-size: 14px; filter: grayscale(0.6); }
.swot-icon:hover, .swot-icon:focus-visible { filter: none; }
@media (max-width: 720px) { .swot-note { margin-left: 30px; } }
@media (prefers-reduced-motion: reduce) { .swot-chev i, .swot-item { transition: none; } }

/* == Memories v2 · constellation timeline (Audi 2026-10-16: "ออกแบบให้มันดีขึ้นหน่อย ให้เป็นเว็ปที่สวยน่าสนใจกว่าเว็ปทั่วไปที่ AI ทำ") ==
   The three eras are stars on one line (Home North Star language); the line
   fills to the open era. Each era: a big upright photo with a stacked print
   behind it, a faint oversized year, the story, and a pull quote. */
html body .memory-book-container .book-nav-tabs {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  overflow: visible;
  border-bottom: 0 !important;
  padding: 4px 0 6px;
  margin-bottom: 34px;
}
html body .memory-book-container .book-nav-tabs::before,
html body .memory-book-container .book-nav-tabs::after {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(100% / 6);
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
}
html body .memory-book-container .book-nav-tabs::before { right: calc(100% / 6); background: rgba(20, 32, 50, 0.14); }
html body .memory-book-container .book-nav-tabs::after {
  width: calc((100% * 2 / 3) * var(--mem-prog, 0));
  background: linear-gradient(90deg, #c59738, #e2c98f 70%, #fff2b2);
  box-shadow: 0 0 10px rgba(226, 201, 143, 0.55);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="dark"] body .memory-book-container .book-nav-tabs::before { background: rgba(255, 255, 255, 0.16); }
html body .memory-book-container .book-nav-tabs .book-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px 6px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4e5e77 !important;
  white-space: normal;
  text-align: center;
  border-radius: 14px;
}
html body .memory-book-container .book-nav-tabs .book-tab .tab-idx {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 9px;
  border-radius: 50%;
  font: 700 14px/1 "Space Grotesk", sans-serif;
  color: #4e5e77;
  background: #f1f4f8;
  border: 2px solid #c6d2e1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
html body .memory-book-container .book-nav-tabs .book-tab .tab-title { font: 500 14px/1.45 Mitr, sans-serif; }
html body .memory-book-container .book-nav-tabs .book-tab.is-past .tab-idx { border-color: #c59738; color: #6b4a0e; background: #fbf3df; }
html body .memory-book-container .book-nav-tabs .book-tab.is-active { color: #142032 !important; }
html body .memory-book-container .book-nav-tabs .book-tab.is-active .tab-title { font-weight: 600; }
html body .memory-book-container .book-nav-tabs .book-tab.is-active .tab-idx {
  transform: scale(1.18);
  color: #111620;
  border-color: #fff2b2;
  background: radial-gradient(circle at 35% 30%, #fffaf0 0%, #f2dca6 45%, #c59738 100%);
  box-shadow: 0 0 0 6px rgba(226, 201, 143, 0.22), 0 0 26px rgba(226, 201, 143, 0.65);
}
html body .memory-book-container .book-nav-tabs .book-tab:hover .tab-idx { transform: scale(1.1); border-color: #c59738; }
html body .memory-book-container .book-nav-tabs .book-tab.is-active:hover .tab-idx { transform: scale(1.18); }
html body .memory-book-container .book-nav-tabs .book-tab:focus-visible { outline: 2px solid #2546ec; outline-offset: 4px; }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab { color: #aab4c8 !important; }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab .tab-idx { background: #0b1222; border-color: rgba(255, 255, 255, 0.28); color: #c9d2e3; }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab.is-past .tab-idx { border-color: #c59738; color: #f2dca6; background: rgba(229, 197, 134, 0.14); }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab.is-active { color: #f4f6fb !important; }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab.is-active .tab-idx { color: #111620; border-color: #fff2b2; background: radial-gradient(circle at 35% 30%, #fffaf0 0%, #f2dca6 45%, #c59738 100%); }
html[data-theme="dark"] body .memory-book-container .book-nav-tabs .book-tab:focus-visible { outline-color: #93c5fd; }

/* era page */
html body .memory-book-container .book-page { position: relative; grid-template-columns: minmax(0, 360px) 1fr; gap: 52px; align-items: center; }
html body .memory-book-container .book-page::after {
  content: attr(data-year);
  position: absolute;
  right: -6px;
  top: -34px;
  font: 800 clamp(96px, 12vw, 168px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  color: rgba(20, 32, 50, 0.06);
  pointer-events: none;
  z-index: 0;
}
html[data-theme="dark"] body .memory-book-container .book-page::after { color: rgba(229, 197, 134, 0.08); }
html body .memory-book-container .page-visual { position: relative; z-index: 1; padding: 10px 14px 10px 0; }
html body .memory-book-container .page-visual::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f6efe0, #e8dcc2);
  border: 1px solid #d9c9a6;
  transform: rotate(-4.5deg);
  box-shadow: 0 16px 34px rgba(20, 32, 50, 0.14);
}
html[data-theme="dark"] body .memory-book-container .page-visual::before { background: linear-gradient(145deg, rgba(229, 197, 134, 0.22), rgba(229, 197, 134, 0.06)); border-color: rgba(229, 197, 134, 0.35); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
html body .memory-book-container .polaroid-frame,
html body .memory-book-container .polaroid-frame:hover {
  position: relative;
  padding: 0 !important;
  transform: none !important;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1222 !important;
  border: 1px solid rgba(20, 32, 50, 0.18) !important;
  box-shadow: 0 22px 48px rgba(20, 32, 50, 0.22), 0 2px 8px rgba(20, 32, 50, 0.12) !important;
}
html[data-theme="dark"] body .memory-book-container .polaroid-frame { border-color: rgba(255, 255, 255, 0.18) !important; box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55) !important; }
html body .memory-book-container .polaroid-frame img { height: 400px; border-radius: 0; transform-origin: 50% 30%; }
html body .memory-book-container .polaroid-handwriting {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 46px 18px 16px;
  text-align: left;
  font: 500 13.5px/1.55 var(--font-body);
  color: #f4f6fb !important;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, 0.88) 70%);
}
html body .memory-book-container .page-textual { position: relative; z-index: 1; gap: 16px; }
html body .memory-book-container .page-textual h3 { font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.45 !important; }
html body .memory-book-container .page-quote {
  position: relative;
  margin-top: 8px;
  padding: 18px 22px 18px 58px !important;
  font: 400 16px/1.7 Mitr, sans-serif !important;
  font-style: normal !important;
  color: #142032 !important;
  background: linear-gradient(135deg, #fbf3df, #f6f8fb) !important;
  border: 1px solid #e3d3ac !important;
  border-radius: 18px !important;
}
html body .memory-book-container .page-quote::before {
  content: "\201C";
  position: absolute;
  left: 14px;
  top: 2px;
  font: 700 58px/1 Georgia, "Times New Roman", serif;
  color: #c59738;
}
html[data-theme="dark"] body .memory-book-container .page-quote {
  color: #f2e6c8 !important;
  background: linear-gradient(135deg, rgba(229, 197, 134, 0.12), rgba(255, 255, 255, 0.03)) !important;
  border-color: rgba(229, 197, 134, 0.3) !important;
}
html[data-theme="dark"] body .memory-book-container .page-quote::before { color: #e5c586; }
html body .memory-book-container .book-page-dots { display: none !important; }
html body .memory-book-container .book-controls { border-top: 1px solid rgba(20, 32, 50, 0.1) !important; }
html[data-theme="dark"] body .memory-book-container .book-controls { border-top-color: rgba(255, 255, 255, 0.1) !important; }
/* era change: photo rises, text follows; slow drift on the photo while open */
html body .memory-book-container .book-page.is-active .page-visual { animation: memPhotoIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
html body .memory-book-container .book-page.is-active .page-textual { animation: memTextIn 0.6s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both; }
html body .memory-book-container .book-page.is-active .polaroid-frame img { animation: memDrift 9s ease-out both; }
@keyframes memPhotoIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes memTextIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes memDrift { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  html body .memory-book-container .book-page.is-active .page-visual,
  html body .memory-book-container .book-page.is-active .page-textual,
  html body .memory-book-container .book-page.is-active .polaroid-frame img { animation: none; }
  html body .memory-book-container .book-nav-tabs::after { transition: none; }
}
body.paused .memory-book-container .book-page.is-active .page-visual,
body.paused .memory-book-container .book-page.is-active .page-textual,
body.paused .memory-book-container .book-page.is-active .polaroid-frame img,
html[data-motion="paused"] .memory-book-container .book-page.is-active .page-visual,
html[data-motion="paused"] .memory-book-container .book-page.is-active .page-textual,
html[data-motion="paused"] .memory-book-container .book-page.is-active .polaroid-frame img { animation: none !important; }
@media (max-width: 720px) {
  html body .memory-book-container .book-page { grid-template-columns: 1fr; gap: 28px; }
  html body .memory-book-container .book-page::after { display: none; }
  html body .memory-book-container .polaroid-frame img { height: 300px; }
  html body .memory-book-container .page-visual { padding: 6px 10px 6px 0; }
  html body .memory-book-container .book-nav-tabs .book-tab .tab-title { font-size: 12.5px; }
  html body .memory-book-container .page-quote { padding: 16px 16px 16px 48px !important; font-size: 15px !important; }
  html body .memory-book-container .page-quote::before { font-size: 48px; left: 10px; }
}

/* Full archive: six chapter tiles you can open straight into */
.story-notes-trigger { flex-wrap: wrap; align-items: flex-start; }
.summary-left { flex: 1 1 520px; min-width: 0; }
.summary-chapter-previews { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.summary-chapter-previews .preview-pill {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px !important;
  border-radius: 16px !important;
  background: #f6f8fb !important;
  border: 1px solid #d8e0ea !important;
  color: #142032 !important;
  font-family: Mitr, sans-serif;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}
.summary-chapter-previews .preview-pill:hover,
.summary-chapter-previews .preview-pill:focus-visible { transform: translateY(-3px); border-color: #c59738 !important; box-shadow: 0 10px 22px rgba(20, 32, 50, 0.1); }
.pp-emo { font-size: 24px; line-height: 1.2; }
.pp-num { font: 700 12px/1.3 "Space Grotesk", sans-serif; color: #8a5a0b; letter-spacing: 0.04em; }
.pp-t { font-size: 14px; font-weight: 500; line-height: 1.45; }
html[data-theme="dark"] .summary-chapter-previews .preview-pill { background: rgba(255, 255, 255, 0.04) !important; border-color: rgba(255, 255, 255, 0.14) !important; color: #e6ebf5 !important; }
html[data-theme="dark"] .summary-chapter-previews .preview-pill:hover,
html[data-theme="dark"] .summary-chapter-previews .preview-pill:focus-visible { border-color: rgba(229, 197, 134, 0.6) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] .pp-num { color: #f2dca6; }
html[data-theme="dark"] .story-notes-trigger { background: radial-gradient(28rem 14rem at 0% 0%, rgba(229, 197, 134, 0.10), transparent 60%), linear-gradient(145deg, rgba(28, 39, 64, 0.96), rgba(10, 15, 30, 0.99)) !important; border-color: rgba(255, 255, 255, 0.14) !important; }
html .summary-toggle-pill,
html[data-theme="dark"] .summary-toggle-pill { background: #e5c586; color: #111620; box-shadow: 0 6px 16px rgba(197, 151, 56, 0.3); }
@media (max-width: 900px) { .summary-chapter-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 360px) { .summary-chapter-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Approach companion: sticker + speech bubble instead of a pill */
.approach-mascot-wrap,
html[data-theme="dark"] .approach-mascot-wrap {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.approach-mascot { width: 104px; height: 118px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)); animation: mascotHover 4s ease-in-out infinite; }
.mascot-tag {
  position: relative;
  padding: 7px 14px;
  border-radius: 14px;
  background: #fff;
  color: #142032 !important;
  font: 600 13.5px/1.4 Mitr, sans-serif !important;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(20, 32, 50, 0.16);
  border: 1px solid #d8e0ea;
}
.mascot-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  border-right: 1px solid #d8e0ea;
  border-bottom: 1px solid #d8e0ea;
  transform: rotate(45deg);
}
body.paused .approach-mascot, html[data-motion="paused"] .approach-mascot { animation: none; }
@media (prefers-reduced-motion: reduce) { .approach-mascot { animation: none; } }

/* era labels: year line + name line (numbers never split) */
html body .memory-book-container .book-nav-tabs .book-tab { gap: 6px; }
html body .memory-book-container .book-nav-tabs .book-tab .tab-idx { margin-bottom: 4px; }
.tab-year { font: 700 13px/1.3 "Space Grotesk", sans-serif; letter-spacing: 0.02em; white-space: nowrap; }
.book-tab.is-active .tab-year { color: #8a5a0b; }
html[data-theme="dark"] .book-tab.is-active .tab-year { color: #f2dca6; }
@media (max-width: 380px) { .tab-year { font-size: 11.5px; letter-spacing: 0; } }
.summary-chapter-previews .preview-pill { border-color: #a9b8cc !important; background: #fff !important; }
html[data-theme="dark"] .summary-chapter-previews .preview-pill { background: rgba(255, 255, 255, 0.07) !important; border-color: rgba(255, 255, 255, 0.24) !important; }
@media (max-width: 720px) { .story-notes-trigger { gap: 14px; row-gap: 14px; } .summary-left { flex-basis: 100%; } }

/* archive v2.1 (fresh cold read): tiles are story cards with the chapter photo + Audi's own chapter title; button sits in the flow */
.story-notes-trigger { flex-direction: column; align-items: stretch; }
.summary-left { flex: none; width: 100%; }
.summary-toggle-pill { align-self: flex-start; }
.summary-chapter-previews .preview-pill { padding: 0 0 12px !important; overflow: hidden; gap: 4px; }
.pp-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #0b1222; margin-bottom: 6px; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.pp-img.is-mascot { background: radial-gradient(circle at 50% 40%, #f6d77a, #c59738); }
.pp-img.is-mascot img { object-fit: contain; padding: 8px; }
.preview-pill:hover .pp-img img, .preview-pill:focus-visible .pp-img img { transform: scale(1.06); }
.pp-img .pp-emo { position: absolute; left: 8px; bottom: 6px; font-size: 20px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); }
.pp-num, .pp-t { padding: 0 12px; }
.pp-num { font-family: Mitr, sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 0; }
.pp-t { font-size: 13.5px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .pp-img img { transition: none; } }
html[data-theme="dark"] body .memory-book-container .book-page::after { color: rgba(229, 197, 134, 0.05); }
html[data-theme="light"] body .memory-book-container .polaroid-frame { background: #fff !important; border-color: #c6d2e1 !important; }
@media (max-width: 720px) { .summary-chapter-previews { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.pp-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; line-height: 1.5; }
.pp-n { font: 700 12.5px/1.5 "Space Grotesk", sans-serif; white-space: nowrap; }
.pp-l { line-height: 1.5; }

/* == Shoya side reel v3 (Audi 2026-10-16: "สลับเร็วไป ไม่มีความสมดุลเลย" + 13 frames in his order) ==
   Two frames at once, one per side, identical square size and height, so the
   page stays balanced; seven calm steps spread over the whole page. */
.shoya-reel { display: none; }
.reel-credit { display: none; }
@media (min-width: 1560px) {
  .shoya-reel {
    --reel-size: min(calc((100vw - 1240px) / 2 - 130px), 54vh, 500px);
    display: block; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  }
  .reel-frame {
    position: absolute;
    top: 52%;
    width: var(--reel-size);
    height: var(--reel-size);
    margin: 0;
    opacity: 0;
    transform: translateY(calc(-50% + 22px)) scale(0.97);
    transition: opacity 1.4s ease, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* soft, dreamy edge instead of a hard frame (Audi 2026-10-16: "ฟุ้งๆ จางๆ") */
    -webkit-mask-image: radial-gradient(closest-side, #000 56%, rgba(0, 0, 0, 0.75) 74%, rgba(0, 0, 0, 0.3) 89%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 56%, rgba(0, 0, 0, 0.75) 74%, rgba(0, 0, 0, 0.3) 89%, transparent 100%);
  }
  .reel-frame.is-left { left: calc((100vw - 1240px) / 4 - var(--reel-size) / 2 + 6px); }
  .reel-frame.is-right { right: calc((100vw - 1240px) / 4 - var(--reel-size) / 2 + 6px); }
  .reel-frame.is-on { opacity: 0.8; transform: translateY(-50%) scale(1); }
  html[data-theme="light"] .reel-frame.is-on { opacity: 0.85; }
  .reel-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .reel-credit { display: block; max-width: 1200px; margin: 0 auto 28px; padding: 0 24px; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) { .reel-frame { transition: none; } }
body.paused .reel-frame, html[data-motion="paused"] .reel-frame { transition: none; }

/* "สิ่งที่ชอบ" door in the shelf header: same name + emoji as the nav item, gold so it reads as the way in */
html body .shelf-view-all-btn { gap: 8px; padding: 11px 20px; border-radius: 999px; background: #e5c586; color: #111620; border: 0; font-size: 14.5px; box-shadow: 0 6px 16px rgba(197, 151, 56, 0.3); transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body .shelf-view-all-btn:hover, html body .shelf-view-all-btn:focus-visible { transform: translateY(-2px); background: #ecd29a; color: #111620; box-shadow: 0 10px 22px rgba(197, 151, 56, 0.4); }
html[data-theme="dark"] body .shelf-view-all-btn { background: #e5c586; color: #111620; border: 0; }

/* the shelf's door belongs to the shelf heading, not to the end of "ทำไมถึงชื่อ AUDIKUNG" (Audi 2026-10-17) */
#philosophy-shelf { padding-top: 72px; }
html body .shelf-header { align-items: flex-end; }
@media (max-width: 720px) { #philosophy-shelf { padding-top: 48px; } }

/* 12d: emoji sit bare, no box behind them on any page (Audi 2026-10-18: "จำไว้ใช้กับทุกหน้าด้วย ไม่มีกล่องหลัง emoji") */
.step-icon-wrap{background:none!important;border-color:transparent!important;box-shadow:none!important;outline:0;font-size:30px!important;line-height:1}
