/* ============================================================
   GAIME START LEARNING — Shared Stylesheet
   Brand: Design Brief v2
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,WONK@0,9..144,100..900,0;0,9..144,100..900,1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS VARIABLES — Brand Colour System
   ============================================================ */
:root {
  /* Backgrounds — cool greys / whites */
  --warm-cream:   #eef1ef;  /* rare light accent band (now cool) */
  --cool-greige:  #e3e7e5;
  --warm-grey:    #e9ecea;
  --cool-grey:    #eceeed;
  --stone:        #e6e9e7;
  --off-white:    #f5f7f6;
  --pure-white:   #ffffff;

  /* Brand */
  --deep-green:   #2E543D;
  --warm-ink:     #18211c;  /* cool near-black, slight green */

  /* Gold — scarce accent only */
  --jewelry-gold: #c9a544;  /* prestige: hero underline (used sparingly) */
  --honey-gold:   #b89234;  /* workhorse: small labels, rules */
  --bright-coin:  #e8c84a;  /* attention: CTA on dark sections only */

  /* Dark section tones — deep greens (replaces browns) */
  --espresso:       #1d3327;  /* pricing section bg — darkest green */
  --dark-walnut:    #284b37;  /* book CTA bg — mid-deep green */
  --warm-chestnut:  #3f6b50;  /* accent label text on light */

  /* Shadows — cool-tinted, never pure black */
  --shadow-sm: 0 2px 8px rgba(24, 33, 28, 0.05);
  --shadow-md: 0 4px 16px rgba(24, 33, 28, 0.08);
  --shadow-lg: 0 8px 32px rgba(24, 33, 28, 0.12);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--warm-ink);
  background-color: var(--off-white);
  overflow-x: hidden;
}

/* Subtle grain texture — all sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 9999;
}

a { text-decoration: none; transition: color 0.3s ease; }
a:focus-visible, button:focus-visible, .track-tab:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--jewelry-gold, #c9a24b); outline-offset: 3px; border-radius: 2px; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

/* Display — Fraunces with WONK 1 for headlines */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-weight: 800;
  color: var(--warm-ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-weight: 800;
  /* Pinned so hero strokes stay consistent across pages. Fraunces thins its
     hairlines as opsz rises, and browsers raise opsz with font-size by default,
     so the larger .b-hero headings were rendering lighter than the homepage. */
  font-variation-settings: 'opsz' 64, 'WONK' 1;
  font-size: clamp(44px, 5.8vw, 82px);
  letter-spacing: -0.025em;
  line-height: 1.01;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Fraunces WONK 0 for numbers/prices */
.num-font {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 0;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Label style — Plus Jakarta Sans, Honey Gold */
.label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-gold);
  margin-bottom: 0.75rem;
}

/* Label on dark sections */
.label-dark {
  color: var(--jewelry-gold);
}

/* Section label on cream — Warm Chestnut */
.label-cream {
  color: var(--warm-chestnut);
}

/* Jewelry Gold underline — prestige accent */
.gold-underline {
  text-decoration-line: underline;
  text-decoration-color: var(--jewelry-gold);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

/* Honey Gold thin rule */
.gold-rule {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--honey-gold);
  margin-bottom: 1.5rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  padding: 6rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(245, 247, 246, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(28, 26, 22, 0.06);
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 76px; width: auto; display: block; }
.logo-hero { display: none; }
.dark-hero #nav:not(.scrolled) .logo-default { display: none; }
.dark-hero #nav:not(.scrolled) .logo-hero { display: block; }
.logo-mark { display: flex; align-items: center; gap: calc(var(--logo-h) * 0.29); }
.logo-mark .logo-icon { height: calc(var(--logo-h) * 0.854); width: auto; display: block; }
.logo-mark .logo-word-crop { display: inline-block; height: var(--logo-h); width: calc(var(--logo-h) * 1.6); overflow: hidden; position: relative; }
.logo-mark .logo-word-crop img { max-width: none; height: var(--logo-h); width: auto; display: block; position: absolute; left: calc(var(--logo-h) * -1.031); top: 0; }
.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-ink);
  transition: color 0.3s ease;
}

/* "START" in logo */
.nav-logo span { color: var(--deep-green); }

/* "AI" in GAIME — always gold */
.nav-logo .logo-ai { color: var(--jewelry-gold); }

/* Dark-hero pages: flip nav text white before scroll */
.dark-hero #nav:not(.scrolled) .nav-logo         { color: rgba(245, 247, 246, 0.85); }
.dark-hero #nav:not(.scrolled) .nav-logo span    { color: rgba(245, 247, 246, 0.55); }
.dark-hero #nav:not(.scrolled) .nav-logo .logo-ai{ color: var(--bright-coin); }
.dark-hero #nav:not(.scrolled) .nav-links a      { color: rgba(245, 247, 246, 0.7); }
.dark-hero #nav:not(.scrolled) .nav-links a:hover{ color: var(--off-white); }
.dark-hero #nav:not(.scrolled) .nav-cta          { border-color: rgba(245,247,246,0.3) !important; }
.dark-hero #nav:not(.scrolled) .hamburger span   { background: var(--off-white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(28, 26, 22, 0.55);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--warm-ink);
}

.nav-cta {
  background: var(--deep-green) !important;
  color: var(--off-white) !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: #254832 !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--warm-ink);
  border-radius: 2px;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-cream);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 34px);
  color: var(--warm-ink);
  letter-spacing: -0.01em;
}

.mobile-nav a:hover { color: var(--deep-green); }

.mobile-nav .mobile-book {
  background: var(--deep-green);
  color: var(--off-white) !important;
  padding: 14px 36px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-variation-settings: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 40px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--warm-ink);
  line-height: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Primary — Deep Green, for light sections */
.btn-primary {
  display: inline-block;
  background: var(--deep-green);
  color: var(--off-white);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: #254832;
  transform: translateY(-2px);
  color: var(--off-white);
}

/* Coin — Bright Coin Gold, for dark/espresso sections only */
.btn-coin {
  display: inline-block;
  background: var(--bright-coin);
  color: var(--warm-ink);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-coin:hover {
  background: #d4b840;
  transform: translateY(-2px);
  color: var(--warm-ink);
}

/* Outline — for secondary actions on light sections */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--deep-green);
  padding: 12px 26px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--deep-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--deep-green);
  color: var(--off-white);
  transform: translateY(-2px);
}

/* Outline light — for secondary actions on dark sections */
.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: rgba(250, 248, 244, 0.8);
  padding: 12px 26px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid rgba(250, 248, 244, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  border-color: rgba(250, 248, 244, 0.7);
  color: var(--off-white);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--pure-white);
  border: 1px solid rgba(28, 26, 22, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Honey Gold top rule on cards */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--honey-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

/* Icon wrapper */
.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-green { background: rgba(46, 84, 61, 0.1); color: var(--deep-green); }
.icon-gold  { background: rgba(232, 168, 32, 0.12); color: var(--warm-chestnut); }
.icon-stone { background: rgba(28, 26, 22, 0.07); color: var(--warm-ink); }

/* Step circle */
.step-circle {
  width: 48px;
  height: 48px;
  background: var(--deep-green);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 0;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
}

/* ============================================================
   LISTS
   ============================================================ */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(28, 26, 22, 0.75);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E543D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Check list on dark bg */
.check-list-light li { color: rgba(250, 248, 244, 0.8); }
.check-list-light li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8c84a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.cross-list { list-style: none; padding: 0; }
.cross-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(28, 26, 22, 0.6);
}
.cross-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b05030' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item {
  background: var(--pure-white);
  border: 1px solid rgba(28, 26, 22, 0.07);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.25s ease;
}

.accordion-header:hover {
  background: rgba(46, 84, 61, 0.02);
}

.accordion-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-variation-settings: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--warm-ink);
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

.accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-content {
  max-height: 600px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(28, 26, 22, 0.68);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--off-white);
  padding: 4rem 0 3rem;
  border-top: 1px solid rgba(28, 26, 22, 0.08);
}

.footer-logo-img { height: 80px; width: auto; display: block; margin-bottom: 0.5rem; }
.footer-logo {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-ink);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--deep-green); }

/* "AI" in footer logo — match nav: always gold */
.footer-logo .logo-ai { color: var(--jewelry-gold); }

footer p {
  font-size: 13px;
  color: rgba(28, 26, 22, 0.5);
  margin-bottom: 0.25rem;
  line-height: 1.65;
}

footer a {
  color: rgba(28, 26, 22, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover { color: var(--warm-ink); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border: 1px solid rgba(28, 26, 22, 0.1);
  border-radius: 14px;
}

.footer-social-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 26, 22, 0.4);
}

.footer-social img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 1px solid rgba(28, 26, 22, 0.08);
  display: block;
}

.footer-social-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .footer-social { display: none; }
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-card {
  max-width: 900px;
  margin: 120px auto 4rem;
  padding: 4rem;
  background: var(--off-white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 0.5rem;
}

.legal-card h2 {
  font-size: clamp(18px, 2vw, 26px);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(28, 26, 22, 0.1);
}

.legal-card h3 {
  font-size: 16px;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.meta-info {
  font-size: 13px;
  color: rgba(28, 26, 22, 0.45);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.highlight-box {
  background: rgba(232, 168, 32, 0.07);
  border-left: 3px solid var(--honey-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.highlight-box p { margin: 0; font-size: 14px; }

.table-container {
  overflow-x: auto;
  border: 1px solid rgba(28, 26, 22, 0.07);
  border-radius: 12px;
  margin: 1.5rem 0;
}

table { width: 100%; border-collapse: collapse; min-width: 540px; }

th {
  text-align: left;
  padding: 13px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-green);
  background: rgba(46, 84, 61, 0.04);
  border-bottom: 1px solid rgba(28, 26, 22, 0.07);
}

td {
  padding: 13px 16px;
  font-size: 14px;
  color: rgba(28, 26, 22, 0.7);
  border-bottom: 1px solid rgba(28, 26, 22, 0.05);
}

/* ============================================================
   EDITORIAL / ATMOSPHERE SYSTEM
   ============================================================ */

/* Atmospheric light layers — apply to any section via .atmo */
.atmo { position: relative; overflow: visible; }

.atmo > .container,
.atmo > * { position: relative; z-index: 2; }

/* Window light wash from top-right — subtle on light sections */
.atmo::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(220, 235, 228, 0.5) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

/* Cool light from lower-left */
.atmo::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(46, 84, 61, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Plant silhouettes removed — distracting without real botanical art */
.plant { display: none !important; }

/* Clean bordered panel — white card on off-white page (reference look) */
.panel {
  background: var(--pure-white);
  border: 1px solid rgba(28, 26, 22, 0.08);
  border-radius: 16px;
}

/* Dark-section light layers (warmer, subtler) */
.atmo-dark::before {
  background: radial-gradient(circle, rgba(170, 210, 188, 0.10) 0%, transparent 68%);
}
.atmo-dark::after {
  background: radial-gradient(circle, rgba(120, 170, 140, 0.10) 0%, transparent 70%);
}

/* Monstera plant silhouette — decorative corner accent */
.plant {
  position: absolute;
  width: 240px;
  height: 240px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  color: var(--deep-green);
}
.plant svg { width: 100%; height: 100%; fill: currentColor; }
.plant-br { bottom: -30px; right: -20px; transform: rotate(8deg); }
.plant-bl { bottom: -40px; left: -30px; transform: scaleX(-1) rotate(6deg); }

/* Editorial section index number + kicker */
.kicker {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.kicker .idx {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 0;
  font-weight: 800;
  font-size: 13px;
  color: var(--warm-chestnut);
  letter-spacing: 0;
}
.kicker .idx-dark { color: var(--honey-gold); }
.kicker .line {
  flex: 0 0 38px;
  height: 1px;
  background: var(--honey-gold);
  opacity: 0.7;
}

/* Asymmetric editorial hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1.75rem; }

/* Holographic screen panel — the "Sanctuary Desk" visual */
.holo-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(212,175,55,0.05), rgba(122,79,53,0.10)),
    var(--cool-greige);
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* window light inside the stage */
.holo-stage::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(170, 210, 188,0.35) 0%, transparent 70%);
}

.holo-screen {
  position: absolute;
  border-radius: 12px;
  background: rgba(212,175,55,0.09);
  border: 1px solid rgba(212,175,55,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), var(--shadow-sm);
  backdrop-filter: blur(2px);
  padding: 14px 16px;
  animation: floaty 6s ease-in-out infinite;
}

.holo-screen .bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(46,84,61,0.35);
  margin-bottom: 8px;
}
.holo-screen .bar.gold { background: rgba(212,175,55,0.55); }
.holo-screen .bar.w60 { width: 60%; }
.holo-screen .bar.w80 { width: 80%; }
.holo-screen .bar.w40 { width: 40%; }

.holo-1 { top: 12%;  left: 10%;  width: 54%; animation-delay: 0s; }
.holo-2 { top: 40%;  right: 8%;  width: 46%; animation-delay: 1.2s; }
.holo-3 { bottom: 12%; left: 16%; width: 50%; animation-delay: 2.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* Trust strip reused */
.trust-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(28, 26, 22, 0.1);
}
.trust-item .num-font {
  display: block;
  font-size: 26px;
  color: var(--deep-green);
  line-height: 1;
  margin-bottom: 5px;
}
.trust-item span:last-child {
  font-size: 12px;
  color: rgba(28, 26, 22, 0.5);
  letter-spacing: 0.02em;
}

/* Offset / editorial section title block */
.sec-head { max-width: 620px; margin-bottom: 3rem; }
.sec-head.indent { margin-left: 8%; }
.sec-head p { font-size: 17px; color: rgba(28,26,22,0.62); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .holo-stage { max-width: 380px; margin: 0 auto; }
  .sec-head.indent { margin-left: 0; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 1; transform: none; }

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.75s var(--ease-spring);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  nav { padding: 18px 32px; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }

  .nav-links  { display: none; }
  .nav-cta    { display: none !important; }
  .mobile-toggle { display: block; }

  section   { padding: 4rem 0; }
  .section-sm { padding: 3rem 0; }

  .container { padding: 0 1.5rem; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }

  .legal-card {
    padding: 2rem 1.5rem;
    margin: 80px 1rem 2rem;
  }

  .mobile-nav-close { right: 24px; }
}

/* ============================================================
   DIRECTION B · "EDITORIAL" — type-led system layer
   No photography. The type, the numbered index, and generous
   negative space do the work. Tool names become a chip strip.
   ============================================================ */

/* --- Big editorial eyebrow: oversized index + rule --- */
.b-hero .kicker, .b-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}
.b-hero .kicker .idx, .b-eyebrow .idx {
  font-size: 15px;
}
.b-hero .kicker .line, .b-eyebrow .line {
  flex: 0 0 56px;
  align-self: center;
}
.b-hero .kicker .label, .b-eyebrow .label {
  margin: 0 !important;
  letter-spacing: 0.26em;
  font-size: 11px;
  white-space: nowrap;
}

/* --- Type-led hero: single column, oversized headline --- */
.b-hero { max-width: 1000px; }
.b-hero h1 {
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.b-hero .b-lead {
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.6;
  color: rgba(28, 26, 22, 0.62);
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.b-hero.on-dark .b-lead { color: rgba(245, 247, 246, 0.7); }

/* --- Tool chip strip — the editorial "visual" --- */
.b-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 26, 22, 0.12);
}
.b-tools .b-tlabel {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 26, 22, 0.4);
  align-self: center;
  margin-right: 6px;
}
.b-tool {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--deep-green);
  padding: 8px 18px;
  border: 1px solid rgba(46, 84, 61, 0.22);
  border-radius: 100px;
  background: var(--pure-white);
  transition: all 0.25s ease;
}
.b-tool:hover { background: var(--deep-green); color: var(--bright-coin); border-color: var(--deep-green); }
.b-tool.muted { color: rgba(28,26,22,0.45); font-style: italic; border-style: dashed; }

/* --- Oversized ghost numeral watermark behind hero (RETIRED in Site X) --- */
.b-ghost-num { display: none !important; }
.b-hero-wrap { position: relative; }
.b-ghost-num--retired {
  position: absolute;
  top: -7%; right: -1%;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-weight: 900;
  font-size: clamp(180px, 30vw, 420px);
  line-height: 0.8;
  color: var(--deep-green);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.b-hero { position: relative; z-index: 1; }

/* soft editorial orb */
.b-orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,32,0.10) 0%, transparent 68%);
  top: -160px; left: -120px;
  pointer-events: none;
  z-index: 0;
}

/* big editorial stat row (Coach page) */
.b-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(28, 26, 22, 0.12);
}
.b-stat .n {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 0;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--deep-green);
  line-height: 1;
  display: block;
}
.b-stat .l {
  font-size: 13px;
  color: rgba(28, 26, 22, 0.5);
  margin-top: 8px;
  display: block;
  max-width: 160px;
}

@media (max-width: 700px) {
  .b-tools { gap: 8px; }
  .b-statline { gap: 1.75rem; }
}

/* ============================================================
   SITE X · MERGED — cool + minimal + airy light
   B's editorial bones · C's luminous lighting · a whisper of
   A (one quote chip) · D as a single dark punch. Cool-dominant,
   gold kept as the one warm note.
   ============================================================ */

/* --- 1. Cool the neutral ramp; drop warm cream to a whisper --- */
:root {
  --off-white:   #f2f5f5;
  --cool-greige: #e6ebea;
  --warm-grey:   #edf1f0;
  --cool-grey:   #eef1f1;
  --stone:       #e8edec;
  --warm-cream:  #eef0ec;   /* near-neutral, faintest warmth */
  --pure-white:  #ffffff;
}

/* --- 2. C's lighting: a soft luminous wash behind the hero --- */
.hero-section { position: relative; overflow: visible; }
.hero-section > .container { position: relative; z-index: 1; }
.atmo-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58% 64% at 78% 22%, rgba(150, 196, 170, 0.34), transparent 70%),
    radial-gradient(46% 56% at 12% 96%, rgba(201, 165, 68, 0.05), transparent 72%);
}

/* --- 3. Merged hero grid: editorial copy + luminous panel --- */
.x-hero { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 4rem; align-items: center; }

/* Eyebrow sitewide: drop the running numbers — just a gold dot + label */
.kicker { display: inline-flex !important; align-items: center; gap: 0; margin-bottom: 1.6rem; }
.kicker .idx, .kicker .line { display: none !important; }
.kicker .label {
  margin: 0 !important; position: relative; padding-left: 17px;
  letter-spacing: 0.2em; font-size: 11px; white-space: nowrap;
}
.kicker .label::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--honey-gold);
}
.atmo-dark .kicker .label::before { background: var(--bright-coin); }

.x-copy h1 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.99;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.x-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.66;
  color: rgba(24, 33, 28, 0.6);
  max-width: 460px;
  margin-bottom: 2.2rem;
}
.x-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* tool chips, minimal */
.x-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(24,33,28,0.1); }
.x-tools .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(24,33,28,0.38); align-self: center; margin-right: 4px; }
.x-chiptool { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--deep-green); padding: 6px 13px; border: 1px solid rgba(46,84,61,0.2); border-radius: 7px; background: rgba(255,255,255,0.6); }
.x-chiptool.muted { color: rgba(24,33,28,0.4); border-style: dashed; }

/* --- Hero illustration frame (replaces the synthetic panel) --- */
.x-art {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  margin-left: auto;
  box-shadow:
    0 30px 70px -32px rgba(46, 84, 61, 0.45),
    0 12px 30px -18px rgba(24, 33, 28, 0.18);
  border: 1px solid rgba(46, 84, 61, 0.12);
}
.x-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* --- Feathered illustration that bleeds into the page as you scroll --- */
.x-bleed {
  position: relative;
  -webkit-mask-image: radial-gradient(115% 120% at 60% 45%, #000 52%, transparent 80%);
  mask-image: radial-gradient(115% 120% at 60% 45%, #000 52%, transparent 80%);
}
.x-bleed img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* dark-block split: quote + bleeding night illustration */
.x-truth-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: center; }
.x-truth-grid .x-bleed { aspect-ratio: 4 / 5; max-height: 420px; margin-right: auto; }
@media (max-width: 860px) { .x-truth-grid { grid-template-columns: 1fr; } .x-truth-grid .x-bleed { display: none; } }

/* --- Dark-green block: the recurring D punch --- */
.x-dark { background: var(--espresso) !important; }
.x-dark h1, .x-dark h2, .x-dark h3, .x-dark .truth-quote { color: var(--off-white) !important; }
.x-dark .truth-quote .hl { color: var(--bright-coin) !important; }
.x-dark p { color: rgba(245, 247, 246, 0.66) !important; }

/* --- 4. The luminous panel (C), kept minimal --- */
.x-figure { position: relative; }
.x-panel {
  position: relative;
  background: var(--pure-white);
  border: 1px solid rgba(46, 84, 61, 0.1);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 26px 60px -28px rgba(46, 84, 61, 0.42),
    0 10px 28px -16px rgba(24, 33, 28, 0.14);
  overflow: hidden;
}
.x-pbar { display: flex; align-items: center; gap: 7px; padding: 15px 20px; border-bottom: 1px solid rgba(24,33,28,0.05); }
.x-pbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(24,33,28,0.13); }
.x-pbar i:nth-child(1){ background:#cdb7b0; } .x-pbar i:nth-child(2){ background:#d8c9a0; } .x-pbar i:nth-child(3){ background:#a9c6b3; }
.x-pbar .lbl { margin-left: 8px; font-family:'JetBrains Mono',monospace; font-size: 11px; color: rgba(24,33,28,0.35); }
.x-pbody { padding: 30px 26px 34px; }
.x-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.x-tag { font-family:'JetBrains Mono',monospace; font-size: 12.5px; padding: 8px 13px; border-radius: 8px; white-space: nowrap; }
.x-tag.in  { background: var(--cool-greige); color: var(--warm-ink); }
.x-tag.ai  { background: rgba(46,84,61,0.1); color: var(--deep-green); border: 1px solid rgba(46,84,61,0.16); }
.x-tag.out { background: rgba(201,165,68,0.14); color: #8a6d1e; }
.x-arrow { color: rgba(24,33,28,0.28); }
.x-skel { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.x-skel i { height: 8px; border-radius: 5px; background: rgba(24,33,28,0.06); display: block; }
.x-skel i.g { background: rgba(46,84,61,0.14); }
.x-skel i.gold { background: rgba(201,165,68,0.2); }
.x-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.x-divider::before, .x-divider::after { content:''; flex:1; height:1px; background: rgba(24,33,28,0.06); }
.x-divider span { font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color: rgba(24,33,28,0.32); }

/* one quiet A-style quote chip */
.x-chip {
  position: absolute;
  left: -22px; bottom: -22px;
  background: var(--pure-white);
  border: 1px solid rgba(46,84,61,0.12);
  border-radius: 14px;
  padding: 15px 17px;
  max-width: 230px;
  box-shadow: 0 18px 40px -20px rgba(24,33,28,0.3);
}
.x-chip .qm { font-family:'Fraunces',serif; font-weight:800; font-size: 30px; color: var(--jewelry-gold); line-height: 0.4; }
.x-chip p { font-family:'JetBrains Mono',monospace; font-size: 11px; color: rgba(24,33,28,0.52); line-height: 1.55; margin: 9px 0 0; }

@media (max-width: 900px) {
  .x-hero { grid-template-columns: 1fr; gap: 3rem; }
  .x-figure { max-width: 480px; }
  .x-chip { left: 0; }
}

/* ============================================================
   FLOATING "PEEK" CUTOUTS — Woorim · Mee · Monstera
   Soft framed crops pinned in the margins that drift in from
   the gutters and parallax gently as you scroll.
   ============================================================ */
section { position: relative; }

/* ---- shared positioning shell (characters + foliage) ---- */
.peek,
.flora {
  position: absolute;
  --py: 0px;          /* parallax offset, set by peek.js */
  --rot: 0deg;        /* resting tilt */
  --flip: 1;          /* set to -1 to mirror */
  --enter: 30px;      /* entrance slide distance */
  pointer-events: none;
  transform: translateY(var(--py));
  will-change: transform;
}
.peek  { z-index: 3; }
.flora { z-index: 1; }
.flora.front { z-index: 3; }

/* Characters sit IN FRONT of content so they overlap card edges. */
.atmo > .peek { z-index: 3; }
/* Foliage drifts BEHIND content, bleeding from the section edges. */
.atmo > .flora { z-index: 1; }
.atmo > .flora.front { z-index: 3; }

.peek-inner,
.flora-inner {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(var(--enter)) scale(0.94) rotate(var(--rot)) scaleX(var(--flip));
}
.peek-inner img,
.flora-inner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Characters: springy settle + soft grounding shadow */
.peek-inner {
  transition: opacity 0.8s ease, transform 1.05s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.peek-inner img {
  filter: drop-shadow(0 18px 22px rgba(24, 33, 28, 0.22));
}
.peek.in .peek-inner {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--rot)) scaleX(var(--flip));
}

/* Foliage: gentle fade + drift, no bounce */
.flora-inner {
  --enter: 16px;
  transition: opacity 1.1s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.flora-inner img {
  filter: drop-shadow(0 14px 18px rgba(24, 33, 28, 0.14));
}
.flora.in .flora-inner {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--rot)) scaleX(var(--flip));
}
/* foliage reads softer on dark bands */
.atmo-dark .flora-inner img { opacity: 0.92; }

/* tilt helpers */
.tilt-l { --rot: -7deg; }
.tilt-r { --rot: 7deg; }
.flip   { --flip: -1; }
/* a cutout that lounges directly on a section divider line */
.peek-online { top: 0; transform: translateY(calc(var(--py) - 86%)); }
.peek-online .peek-inner { transform-origin: bottom center; }
.peek-online .peek-inner img { filter: drop-shadow(0 7px 5px rgba(24, 33, 28, 0.18)); }

@media (prefers-reduced-motion: reduce) {
  .peek-inner, .flora-inner {
    transition: opacity 0.4s ease;
    transform: rotate(var(--rot)) scaleX(var(--flip));
  }
  .peek.in .peek-inner, .flora.in .flora-inner {
    transform: rotate(var(--rot)) scaleX(var(--flip));
  }
}

/* Scale the whole decorative layer down before it crowds content. */
@media (max-width: 1180px) {
  .peek-inner, .flora-inner { zoom: 0.82; }
}
/* Tablets & phones: hide the big foreground Mee figures; keep edge
   foliage behind the text, and let Woorim keep lounging on the divider
   line (an empty strip, so he never covers copy). */
@media (max-width: 880px) {
  .peek-inner, .flora-inner { zoom: 0.55; }
  .peek:not(.peek-online),
  .flora.front { display: none !important; }
  .atmo > .flora { z-index: 0; opacity: 0.85; }
  .container { position: relative; z-index: 2; }
  .peek-online {
    z-index: 4;
    /* Pull him fully above the section's top edge so he sits in the
       divider gap only, never dipping down over the heading/label below. */
    transform: translateY(calc(var(--py) - 100%)) !important;
  }
  .peek-online .peek-inner { zoom: 0.42; }

  /* These specific spots sit above short/tight sections where even the
     lifted position still brushes the text below — safest to hide them
     on narrow screens rather than tune per-page offsets. */
  .peek-tight { display: none !important; }
}
