/* =============================================================
   Grokkist landing — V2 "Realms" direction
   Aubergine-all-the-way, roman-numeral movements, realm showcase.
   Layers on top of colors_and_type.css + landing.css.
   ============================================================= */

:root {
  /* Aubergine tonal ladder — graduates the journey instead of jumping */
  --aub-ink:   #0F0820;   /* deepest night, hero + footer */
  --aub-deep:  #1B0F2A;   /* section grounding */
  --aub:       #2B1B40;   /* canonical aubergine */
  --aub-lift:  #3D2A55;   /* raised surfaces, cards */
  --aub-glow:  #5A3D7A;   /* highlights, hover */

  --paper-86:  rgba(248, 242, 230, 0.86);
  --paper-70:  rgba(248, 242, 230, 0.70);
  --paper-52:  rgba(248, 242, 230, 0.52);
  --paper-32:  rgba(248, 242, 230, 0.32);
  --paper-14:  rgba(248, 242, 230, 0.14);
  --paper-08:  rgba(248, 242, 230, 0.08);

  --rule-warm:  rgba(248, 242, 230, 0.12);
}

/* =============================================================
   Page scaffold
   ============================================================= */
.gk-r {
  position: relative;
  width: 1280px;
  background: var(--aub);
  color: var(--ground-cream);
  overflow: hidden;
}

.gk-r .gk-h { padding: 24px 64px; }
.gk-r .gk-h-nav a,
.gk-r .gk-h-actions .signin { color: var(--paper-86); }
.gk-r .gk-h-actions .gk-btn-primary {
  background: var(--ground-cream); color: var(--aub);
}
.gk-r .gk-h-actions .gk-btn-primary:hover { background: #FFF6E1; }
.gk-r .gk-h-logo img {
  /* Use the white logo — assigned via content swap */
  height: 32px;
}

/* =============================================================
   Recurring rainbow hairline (full-width, spans the page)
   ============================================================= */
.gk-r-rule {
  height: 2px; width: 100%;
  background: linear-gradient(
    90deg,
    #E42128 0%, #E6458F 16%, #F39702 32%, #F8B000 48%,
    #62B88D 65%, #3568AC 82%, #4A2E5E 100%
  );
  display: block;
  position: relative;
  z-index: 5;
}

/* =============================================================
   Roman numeral motif
   ============================================================= */
.gk-r-roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--paper-52);
  font-feature-settings: "smcp";
}
.gk-r-roman-big {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 96px;
  line-height: 0.9;
  color: var(--paper-32);
  letter-spacing: -0.01em;
  user-select: none;
}

.gk-r-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-52);
}
.gk-r-eyebrow .num {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--paper-70);
  font-size: 13px;
}
.gk-r-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* =============================================================
   HERO — typewriter on deep aubergine with starfield
   ============================================================= */
.gk-r-hero {
  position: relative;
  min-height: 760px;
  padding: 96px 64px 140px;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 1200px 600px at 50% 30%, rgba(248, 176, 0, 0.06), transparent 65%),
    radial-gradient(ellipse 900px 500px at 50% 80%, rgba(74, 46, 94, 0.4), transparent 70%),
    var(--aub-ink);
  overflow: hidden;
  isolation: isolate;
}
.gk-r-hero-starfield {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
.gk-r-hero-starfield .star {
  position: absolute; border-radius: 999px;
  background: var(--ground-cream);
  box-shadow: 0 0 8px rgba(248, 242, 230, 0.7);
  animation: gk-r-twinkle var(--twinkle-dur, 6s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
  will-change: opacity, transform;
}
.gk-r-hero-starfield .star.warm {
  background: #F8B000;
  box-shadow: 0 0 10px rgba(248, 176, 0, 0.65);
}
.gk-r-hero-starfield .star.cool {
  background: #9BB8E0;
  box-shadow: 0 0 10px rgba(155, 184, 224, 0.55);
}
@keyframes gk-r-twinkle {
  0%, 100% { opacity: var(--twinkle-min, 0.15); transform: scale(0.7); }
  50%      { opacity: var(--twinkle-max, 1); transform: scale(1.25); }
}

/* Slow ambient drift behind the title — a single soft glow that breathes */
.gk-r-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 900px; height: 380px;
  background: radial-gradient(ellipse, rgba(248, 176, 0, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: gk-r-breathe 12s var(--ease-drift) infinite;
}
@keyframes gk-r-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Rainbow rule — a quiet shimmer (lit-passing-through effect) */
.gk-r-rule {
  background-size: 200% 100%;
  animation: gk-r-shimmer 18s linear infinite;
}
@keyframes gk-r-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Reduced motion: stop everything moving */
@media (prefers-reduced-motion: reduce) {
  .gk-r-hero-starfield .star,
  .gk-r-hero::before,
  .gk-r-rule {
    animation: none !important;
  }
}

/* Off-motion: same as reduced-motion */
.gk-motion--off .gk-r-hero-starfield .star,
.gk-motion--off .gk-r-hero::before,
.gk-motion--off .gk-r-rule { animation: none !important; }

/* Lively motion: a touch quicker */
.gk-motion--lively .gk-r-hero-starfield .star { animation-duration: 4s; }
.gk-motion--lively .gk-r-hero::before { animation-duration: 8s; }
.gk-motion--lively .gk-r-rule { animation-duration: 12s; }
.gk-r-hero-inner { position: relative; z-index: 1; }

.gk-r-hero-eyebrow {
  align-self: center;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 64px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-70);
}
.gk-r-hero-eyebrow .gem {
  width: 8px; height: 8px;
  background: linear-gradient(135deg, #F39702, #E6458F);
  transform: rotate(45deg);
  display: inline-block;
}

.gk-r-typing {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ground-cream);
  /* Reserve fixed height for up to 2 lines so the eyebrow above never
     shifts as labels of different lengths cycle through. */
  min-height: 2.4em;
  display: block;
  margin: 0 auto;
  max-width: 1140px;
}
.gk-r-typing em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(180deg, transparent 70%, rgba(248, 176, 0, 0.42) 70%);
  padding: 0 3px;
}
.gk-r-typing strong {
  font-weight: 700;
  background: linear-gradient(180deg, transparent 65%, rgba(230, 69, 143, 0.50) 65%);
  padding: 0 4px;
}

.gk-r-hero-sub {
  margin: 64px auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--paper-70);
  max-width: 680px;
  text-wrap: balance;
}
.gk-r-hero-cta {
  margin-top: 48px;
  display: inline-flex;
  gap: 16px;
  justify-content: center;
}
.gk-r-hero-cta .gk-btn-primary {
  background: var(--ground-cream); color: var(--aub);
}
.gk-r-hero-cta .gk-btn-primary:hover { background: #FFF6E1; }
.gk-r-hero-cta .gk-btn-ghost {
  color: var(--ground-cream);
  border: 1px solid rgba(248, 242, 230, 0.4);
}
.gk-r-hero-cta .gk-btn-ghost:hover {
  background: rgba(248, 242, 230, 0.08);
  border-color: var(--ground-cream);
}

/* Hero scroll-hint — gentle, type-only */
.gk-r-hero-hint {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--paper-52);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.gk-r-hero-hint::before,
.gk-r-hero-hint::after {
  content: "";
  width: 24px; height: 1px; background: var(--paper-32);
}

/* Hero variant hide rules — same protocol as v1 */
.gk-r-hero--centerpiece .gk-r-hero-sub,
.gk-r-hero--centerpiece .gk-r-hero-cta { display: none; }
.gk-r-hero--stanzas .gk-r-hero-cta { display: none; }
.gk-r-hero--cta .gk-r-hero-sub { display: none; }

/* =============================================================
   Generic V2 section
   ============================================================= */
.gk-r-section {
  position: relative;
  padding: 128px 64px;
}
.gk-r-section--deep { background: var(--aub-deep); }
.gk-r-section--mid  { background: var(--aub); }
.gk-r-section--lift { background: var(--aub-lift); }
.gk-r-section--ink  { background: var(--aub-ink); }

.gk-r-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.gk-r-inner-narrow { max-width: 940px; }

.gk-r-waymark {
  display: flex; flex-direction: column; gap: 8px;
  position: sticky; top: 24px;
}
.gk-r-waymark .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.95;
  color: var(--paper-52);
  letter-spacing: 0.02em;
}
.gk-r-waymark .label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-70);
  margin-top: 4px;
}
.gk-r-waymark .pip {
  width: 56px; height: 2px; border-radius: 999px;
  background: var(--signal-rainbow);
  margin-top: 12px;
  opacity: 0.65;
}

.gk-r-body { display: flex; flex-direction: column; gap: 28px; }
.gk-r-body h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ground-cream);
  margin: 0;
  text-wrap: balance;
}
.gk-r-body h2.smaller {
  font-size: 44px; line-height: 1.06;
}
.gk-r-body p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.6;
  color: var(--paper-86);
  margin: 0;
  text-wrap: pretty;
}
.gk-r-body p em {
  font-style: italic;
  font-family: var(--font-serif);
  color: rgba(248, 176, 0, 0.92);
}
.gk-r-body p strong {
  font-weight: 500;
  color: var(--ground-cream);
}
.gk-r-body p.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--paper-70);
}
.gk-r-body .small {
  font-size: 17px;
  color: var(--paper-70);
}

/* Quote block on aubergine */
.gk-r-quote {
  margin: 16px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule-warm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gk-r-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.35;
  color: var(--ground-cream);
  margin: 0;
  text-wrap: balance;
}
.gk-r-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-52);
}

/* =============================================================
   Waystation block — paired with map preview
   ============================================================= */
.gk-r-waystation-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.gk-r-waystation-art {
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  position: relative;
}
.gk-r-waystation-art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(15, 8, 32, 0.45) 100%);
  pointer-events: none;
}
.gk-r-waystation-art .tagline {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px;
  background: rgba(15, 8, 32, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(248, 242, 230, 0.12);
}
.gk-r-waystation-art .tagline .eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 176, 0, 0.85);
}
.gk-r-waystation-art .tagline .name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ground-cream);
  letter-spacing: -0.005em;
}

/* =============================================================
   REALMS CAROUSEL — the showpiece
   ============================================================= */
.gk-r-realms {
  position: relative;
  padding: 144px 0 128px;
  background: var(--aub);
  overflow: hidden;
}
.gk-r-realms::before {
  /* faint atmospheric glow */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 50% 0%, rgba(248, 176, 0, 0.04), transparent 60%);
  pointer-events: none;
}
.gk-r-realms-head {
  max-width: 1100px; margin: 0 auto 56px;
  padding: 0 64px;
  display: grid; grid-template-columns: 200px 1fr 280px;
  gap: 64px; align-items: end;
}
.gk-r-realms-head .col h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ground-cream);
  margin: 14px 0 0;
  text-wrap: balance;
  max-width: 460px;
}
.gk-r-realms-head .col-right {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--paper-70);
  padding-bottom: 4px;
}

/* Featured stage */
.gk-r-realm-stage {
  position: relative;
  margin: 0 64px;
  height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--aub-lift);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  isolation: isolate;
}
.gk-r-realm-stage-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s var(--ease-emerge);
}
.gk-r-realm-stage-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gk-r-realm-stage-bg.gradient {
  background:
    radial-gradient(ellipse at 30% 30%, var(--realm-accent, #F8B000) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, var(--realm-accent-2, #2B1B40) 0%, transparent 65%),
    var(--aub-lift);
}
.gk-r-realm-stage-bg.gradient .glyph {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  color: var(--ground-cream);
  opacity: 0.85;
}
.gk-r-realm-stage-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(15, 8, 32, 0.0) 0%, rgba(15, 8, 32, 0.35) 50%, rgba(15, 8, 32, 0.85) 100%);
  pointer-events: none;
}
.gk-r-realm-stage-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 56px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  z-index: 2;
}
.gk-r-realm-stage-text {
  max-width: 640px;
  display: flex; flex-direction: column; gap: 16px;
}
.gk-r-realm-stage-text .eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--realm-accent, #F8B000);
  display: inline-flex; align-items: center; gap: 12px;
}
.gk-r-realm-stage-text .eyebrow .glyph {
  width: 16px; height: 16px;
  display: inline-block;
}
.gk-r-realm-stage-text .eyebrow .glyph svg { width: 100%; height: 100%; }
.gk-r-realm-stage-text h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ground-cream);
  margin: 0;
}
.gk-r-realm-stage-text .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--paper-86);
  margin: 0;
}
.gk-r-realm-stage-text p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper-86);
  margin: 0;
  max-width: 560px;
}
.gk-r-realm-stage-meta {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-end; flex-shrink: 0;
  padding-bottom: 4px;
}
.gk-r-realm-stage-meta .big-glyph {
  width: 56px; height: 56px;
  color: var(--realm-accent, #F8B000);
  opacity: 0.85;
}
.gk-r-realm-stage-meta .big-glyph svg { width: 100%; height: 100%; }
.gk-r-realm-stage-meta .count {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-52);
}
.gk-r-realm-stage-cta {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 13px 22px;
  background: var(--realm-accent, #F8B000);
  color: var(--aub-ink);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base);
}
.gk-r-realm-stage-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }

/* Chips row */
.gk-r-realm-chips {
  margin: 32px 64px 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.gk-r-realm-chip {
  text-align: left;
  background: var(--aub-deep);
  border: 1px solid var(--paper-08);
  color: var(--ground-cream);
  padding: 16px 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-emerge),
              background var(--dur-base), border-color var(--dur-base);
}
.gk-r-realm-chip::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 0;
  height: 2px;
  background: var(--chip-accent, #F8B000);
  border-radius: 0 0 999px 999px;
  opacity: 0.6;
  transition: opacity var(--dur-base), height var(--dur-base);
}
.gk-r-realm-chip:hover { transform: translateY(-2px); background: var(--aub-lift); }
.gk-r-realm-chip.active {
  background: var(--aub-lift);
  border-color: var(--chip-accent, #F8B000);
}
.gk-r-realm-chip.active::before { opacity: 1; height: 3px; }
.gk-r-realm-chip .chip-glyph {
  width: 22px; height: 22px;
  color: var(--chip-accent, #F8B000);
  margin-bottom: 4px;
  display: block;
}
.gk-r-realm-chip .chip-glyph svg { width: 100%; height: 100%; }
.gk-r-realm-chip .name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ground-cream);
}
.gk-r-realm-chip .tag {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  color: var(--paper-52);
}
.gk-r-realm-chip.active .tag { color: var(--paper-86); }

/* Realms footer line — link out to the full map */
.gk-r-realms-foot {
  margin: 48px 64px 0;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--rule-warm);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--paper-70);
}
.gk-r-realms-foot a {
  color: var(--ground-cream);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--paper-32);
  padding-bottom: 2px;
  transition: border-color var(--dur-base);
}
.gk-r-realms-foot a:hover { border-color: var(--ground-cream); }

/* =============================================================
   Speakeasy section — cafe-script language
   ============================================================= */
.gk-r-speakeasy {
  position: relative;
  padding: 144px 64px;
  background: var(--aub-lift);
}
.gk-r-speakeasy-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr; gap: 64px;
}
.gk-r-speakeasy h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ground-cream);
  margin: 0 0 32px;
  text-wrap: balance;
}
.gk-r-speakeasy .pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.3;
  color: var(--ground-cream);
  margin: 24px 0 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule-warm);
  text-wrap: balance;
}
.gk-r-speakeasy p {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 1.6;
  color: var(--paper-86);
  margin: 0 0 22px;
}
.gk-r-speakeasy p em {
  font-style: italic; font-family: var(--font-serif);
  color: rgba(248, 176, 0, 0.92);
}

/* Speakeasy video module — founder intro placeholder */
.gk-r-speakeasy-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--aub-deep);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  isolation: isolate;
  margin: 12px 0 18px;
  transition: transform var(--dur-base) var(--ease-emerge),
              box-shadow var(--dur-base);
}
.gk-r-speakeasy-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
}
.gk-r-speakeasy-video::after {
  /* organic protection gradient toward the bottom — keeps caption legible */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 8, 32, 0.65) 100%);
  pointer-events: none;
}
.gk-r-speakeasy-video .play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  background: rgba(248, 242, 230, 0.92);
  color: var(--aub-ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 2;
  transition: transform var(--dur-base) var(--ease-emerge), background var(--dur-base);
}
.gk-r-speakeasy-video .play svg {
  margin-left: 4px;
  width: 30px; height: 30px;
}
.gk-r-speakeasy-video:hover .play {
  background: var(--ground-cream);
  transform: translate(-50%, -50%) scale(1.06);
}
.gk-r-speakeasy-video .caption {
  position: absolute;
  left: 24px; bottom: 22px; right: 24px;
  z-index: 2;
  display: flex; align-items: end; justify-content: space-between;
  gap: 18px;
  color: var(--ground-cream);
}
.gk-r-speakeasy-video .caption .title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ground-cream);
}
.gk-r-speakeasy-video .caption .meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 242, 230, 0.7);
  text-align: right;
  flex-shrink: 0;
}
.gk-r-speakeasy-video .badge {
  position: absolute;
  left: 18px; top: 18px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 8, 32, 0.7);
  border: 1px solid rgba(248, 242, 230, 0.18);
  backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 176, 0, 0.85);
}
.gk-r-encounters {
  position: relative;
  padding: 200px 64px;
  background-color: var(--aub-ink);
  background-image: url("../assets/realms/unfolding-realm.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}
.gk-r-encounters::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(110deg,
      rgba(15, 8, 32, 0.88) 0%,
      rgba(43, 27, 64, 0.65) 40%,
      rgba(43, 27, 64, 0.35) 60%,
      rgba(15, 8, 32, 0.55) 100%);
  z-index: -1;
}
.gk-r-encounters-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr; gap: 64px;
}
.gk-r-encounters h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ground-cream);
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 780px;
}
.gk-r-encounters p {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.55;
  color: var(--paper-86);
  margin: 0 0 22px;
  max-width: 720px;
}
.gk-r-encounters p em {
  font-style: italic; font-family: var(--font-serif);
  color: rgba(248, 176, 0, 0.92);
}
.gk-r-encounters .closer {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 242, 230, 0.2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--paper-86);
  max-width: 640px;
}

/* =============================================================
   Coddiwompling (preserved from B, retuned to aubergine)
   ============================================================= */
.gk-r-coddi {
  padding: 144px 64px;
  background: var(--aub);
}
.gk-r-coddi-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 0.9fr 1fr;
  gap: 56px; align-items: center;
}
.gk-r-coddi-art {
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
}
.gk-r-coddi-art svg { width: 100%; height: 100%; }
.gk-r-coddi-text { display: flex; flex-direction: column; gap: 22px; }
.gk-r-coddi-text h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ground-cream); margin: 0;
  text-wrap: balance;
}
.gk-r-coddi-text .def {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px; line-height: 1.45;
  color: rgba(248, 176, 0, 0.92);
  padding-left: 22px;
  border-left: 2px solid var(--signal-amber);
}
.gk-r-coddi-text p {
  font-family: var(--font-sans);
  font-size: 18px; line-height: 1.65;
  color: var(--paper-86);
  margin: 0;
}

/* =============================================================
   Where to start — four routes (preserved, re-skinned)
   ============================================================= */
.gk-r-start {
  padding: 144px 64px;
  background: var(--aub-deep);
}
.gk-r-start-inner { max-width: 1100px; margin: 0 auto; }
.gk-r-start-head {
  display: grid; grid-template-columns: 200px 1fr; gap: 64px;
  margin-bottom: 56px;
}
.gk-r-start-head h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ground-cream); margin: 0;
  text-wrap: balance;
}
.gk-r-start-head .sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px; line-height: 1.5;
  color: var(--paper-70);
  margin-top: 12px;
  max-width: 680px;
}
.gk-r-start-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gk-r-start-card {
  position: relative;
  background: var(--aub-lift);
  border: 1px solid var(--paper-08);
  border-radius: 18px;
  padding: 28px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--ground-cream);
  min-height: 280px;
  transition: transform var(--dur-base) var(--ease-emerge),
              background var(--dur-base), border-color var(--dur-base);
  overflow: hidden;
}
.gk-r-start-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--card-accent, var(--signal-rainbow));
  opacity: 0.6;
  transition: opacity var(--dur-base), height var(--dur-base);
}
.gk-r-start-card:hover {
  transform: translateY(-3px);
  background: var(--aub-glow);
  border-color: var(--card-accent, var(--signal-magenta));
}
.gk-r-start-card:hover::before { opacity: 1; height: 3px; }
.gk-r-start-card .route {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--card-accent, #F8B000);
}
.gk-r-start-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--paper-52);
  margin-bottom: -8px;
}
.gk-r-start-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ground-cream);
}
.gk-r-start-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-70);
  margin: 0;
  flex: 1;
}
.gk-r-start-card .arr {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ground-cream);
  display: inline-flex;
  align-items: center; gap: 6px;
}

/* =============================================================
   First Sparks — slim invitation bar, woven in near "where to start"
   ============================================================= */
.gk-r-sparks {
  margin: 0;
  margin-top: 56px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(248, 176, 0, 0.10), rgba(230, 69, 143, 0.07));
  border: 1px solid rgba(248, 176, 0, 0.28);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.gk-r-sparks::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #F39702, #E6458F);
}
.gk-r-sparks-left { display: flex; flex-direction: column; gap: 16px; }
.gk-r-sparks-head {
  display: flex; align-items: center; gap: 14px;
}
.gk-r-sparks-glyph {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(248, 176, 0, 0.18);
  border-radius: 999px;
  color: #F8B000;
  flex-shrink: 0;
}
.gk-r-sparks-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 176, 0, 0.92);
}
.gk-r-sparks-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ground-cream);
  letter-spacing: -0.012em;
  margin: 0;
}
.gk-r-sparks-heading em {
  font-style: italic; font-family: var(--font-serif);
  font-weight: 400; color: rgba(248, 176, 0, 0.92);
}
.gk-r-sparks-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-70);
  margin: 0;
}
.gk-r-sparks-form {
  display: flex; gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.gk-r-sparks-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 242, 230, 0.3);
  background: rgba(15, 8, 32, 0.5);
  color: var(--ground-cream);
  font-family: var(--font-sans);
  font-size: 13px;
}
.gk-r-sparks-form input::placeholder { color: var(--paper-52); }
.gk-r-sparks-form input:focus {
  outline: 2px solid var(--signal-amber);
  outline-offset: 2px;
}
.gk-r-sparks-form .gk-btn {
  padding: 12px 20px;
  font-size: 13px;
  background: var(--signal-amber);
  color: var(--aub-ink);
  font-weight: 600;
  flex-shrink: 0;
}
.gk-r-sparks-form .gk-btn:hover {
  background: #FFC53D;
  transform: translateY(-1px);
}

/* Right column — the seven sparks list */
.gk-r-sparks-list {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding: 0;
  list-style: none;
}
.gk-r-sparks-list-head {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-52);
  margin-bottom: 10px;
}
.gk-r-sparks-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(248, 242, 230, 0.08);
  text-decoration: none;
  color: var(--ground-cream);
  transition: background var(--dur-base), color var(--dur-base);
}
.gk-r-sparks-item:last-child { border-bottom: none; }
.gk-r-sparks-item:hover {
  color: var(--signal-amber);
  background: rgba(248, 176, 0, 0.04);
}
.gk-r-sparks-item .roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(248, 176, 0, 0.75);
  letter-spacing: 0.02em;
}
.gk-r-sparks-item .title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.gk-r-sparks-item .arr {
  font-size: 12px;
  opacity: 0.5;
  transition: opacity var(--dur-base), transform var(--dur-base);
}
.gk-r-sparks-item:hover .arr {
  opacity: 1;
  transform: translateX(2px);
}
.gk-r-newsletter {
  position: relative;
  padding: 144px 64px;
  background: var(--aub);
  overflow: hidden;
}
.gk-r-newsletter::before {
  /* Aurora glow — sits ABOVE the form, ends well before the form's top edge.
     Anchored to the top of the section (not center) so its bottom can't drift
     down over the embed iframe. */
  content: "";
  position: absolute; left: 50%;
  top: 144px; /* aligns with the section's top padding */
  transform: translateX(-50%);
  width: 640px; height: 220px;
  background:
    radial-gradient(ellipse 50% 70% at center, rgba(248, 176, 0, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 50% at 30% 50%, rgba(230, 69, 143, 0.10), transparent 65%),
    radial-gradient(ellipse 30% 50% at 70% 50%, rgba(53, 104, 172, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.gk-r-newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 780px; margin: 0 auto;
  text-align: center;
}
.gk-r-newsletter .gk-r-roman {
  display: block; margin-bottom: 18px;
}
.gk-r-newsletter h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ground-cream);
  margin: 0 0 22px;
  text-wrap: balance;
}
.gk-r-newsletter p.sub {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.55;
  color: var(--paper-86);
  margin: 0 0 40px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.gk-r-newsletter-form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto;
}
.gk-r-newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--paper-32);
  background: rgba(15, 8, 32, 0.4);
  color: var(--ground-cream);
  font-family: var(--font-sans);
  font-size: 15px;
}
.gk-r-newsletter-form input::placeholder { color: var(--paper-52); }
.gk-r-newsletter-form input:focus {
  outline: 2px solid var(--signal-amber);
  outline-offset: 2px;
}
.gk-r-newsletter-form .gk-btn-primary {
  background: var(--ground-cream); color: var(--aub-ink);
}
.gk-r-newsletter-form .gk-btn-primary:hover { background: #FFF6E1; }
.gk-r-newsletter-foot {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-52);
}
.gk-r-newsletter-foot::before,
.gk-r-newsletter-foot::after {
  content: "";
  width: 32px; height: 1px;
  background: var(--paper-32);
}

/* =============================================================
   CIRCLE FORM EMBEDS — wrappers around the embed div
   Circle's form-embeds.js renders an iframe inside the data div.
   We give it a width cap, vertical breathing room, and let Circle's
   internal styling do the visual work (set its colors in Circle's form
   properties to match: bg=transparent or aubergine, text=cream, button=amber).
   ============================================================= */
.gk-r-circle-form {
  display: block;
  width: 100%;
  min-height: 60px;
}
/* Newsletter section: form sits centered, with a moderate width cap */
.gk-r-newsletter .gk-r-circle-form {
  max-width: 520px;
  margin: 0 auto;
}
/* First Sparks ribbon: form lives in the left column, full width */
.gk-r-sparks-left .gk-r-circle-form {
  margin-top: 6px;
}
/* While Circle's script loads the form's iframe, show a quiet placeholder
   so the layout doesn't pop in jarringly. */
.gk-r-circle-form:empty::before {
  content: "Loading subscribe form…";
  display: block;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--paper-52);
  text-align: center;
}
.gk-r-sparks-left .gk-r-circle-form:empty::before { text-align: left; }
/* Once Circle's iframe is in, give it a sensible default style + height
   (Circle's embed sizes the iframe itself, but capping prevents huge gaps
   while measurement happens). */
.gk-r-circle-form iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 220px;
  background: transparent;
  border-radius: 14px;
}
.gk-r-footer {
  background: var(--aub-ink);
  color: var(--ground-cream);
  padding: 112px 64px 36px;
}
.gk-r-footer-top {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2.4fr; gap: 80px;
}
.gk-r-footer-brand img { height: 38px; display: block; }
.gk-r-footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px; line-height: 1.55;
  color: var(--paper-70);
  margin: 22px 0 0;
  max-width: 320px;
}
.gk-r-footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.gk-r-footer-cols h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-52);
  margin: 0 0 16px;
}
.gk-r-footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gk-r-footer-cols a {
  color: var(--paper-86);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color var(--dur-base);
}
.gk-r-footer-cols a:hover { color: var(--signal-amber); }
.gk-r-footer-bottom {
  max-width: 1180px; margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule-warm);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--paper-52);
}
.gk-r-footer-bottom .right {
  display: inline-flex; align-items: center; gap: 10px;
}
.gk-r-footer-bottom .right .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: linear-gradient(135deg, #F39702, #E6458F);
}
