/* ============================================================
   KINDLING — shared design system
   "Paper & Sunshine" — warm, hand-crafted, dual-audience
   Every page on the site links to this file.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Nunito:wght@400;500;600;700;800&family=Caveat:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ---------- Paper & Ink ---------- */
  --paper:        #FBF5E6;   /* cream background — the site's surface */
  --paper-deep:   #F3E9CE;   /* darker cream for contrast blocks */
  --paper-warm:   #FFFBF0;   /* lightest, for cards */
  --ink:          #1B2A4E;   /* deep navy — primary text */
  --ink-soft:     #4A5878;   /* secondary text */
  --ink-faint:    #8A94A8;   /* tertiary text, captions */

  /* ---------- Trait colors ---------- */
  --passion:      #E85A4F;   /* tomato — fire, intensity, drive */
  --passion-deep: #C94438;
  --passion-soft: #FCE0DC;
  --empathy:      #5FA8D3;   /* sky — breath, openness, listening */
  --empathy-deep: #3D87B3;
  --empathy-soft: #DCEEF9;
  --taste:        #F2B134;   /* sun — illumination, judgment, warmth */
  --taste-deep:   #D69512;
  --taste-soft:   #FCEDC9;

  /* ---------- Supporting colors ---------- */
  --leaf:         #6B9E5E;   /* fresh, used for "live" / "try it" */
  --leaf-deep:    #527D47;
  --leaf-soft:    #DDEBD6;
  --berry:        #A85BA8;   /* rare accent, sparingly */

  /* ---------- Fonts ---------- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand:    'Caveat', 'Bradley Hand', cursive;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ---------- Scale ---------- */
  --size-display: clamp(2.75rem, 7vw, 5.75rem);
  --size-h1:      clamp(2rem, 4.5vw, 3.25rem);
  --size-h2:      clamp(1.625rem, 3.2vw, 2.25rem);
  --size-h3:      clamp(1.25rem, 2vw, 1.5rem);
  --size-body:    1.0625rem;
  --size-lead:    1.1875rem;
  --size-small:   0.9375rem;
  --size-caption: 0.8125rem;

  /* ---------- Spacing ---------- */
  --radius-sm:    10px;
  --radius:       18px;
  --radius-lg:    28px;
  --radius-pill:  999px;

  /* ---------- Shadows ---------- */
  --stamp-ink:    3px 3px 0 var(--ink);
  --stamp-ink-lg: 5px 5px 0 var(--ink);
  --shadow-soft:  0 4px 18px rgba(27, 42, 78, 0.08);
  --shadow-lift:  0 14px 38px rgba(27, 42, 78, 0.14);

  /* ---------- Layout ---------- */
  --container:    min(1180px, 92vw);
  --container-narrow: min(720px, 92vw);
}

/* ============================================================
   Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* paper grain — a subtle SVG noise */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11, 0 0 0 0 0.17, 0 0 0 0 0.30, 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--taste); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--passion-deep); }

::selection { background: var(--taste); color: var(--ink); }

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-size: var(--size-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }

.display {
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "SOFT" 100;
  color: var(--passion);
}

.lead {
  font-size: var(--size-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.hand {
  font-family: var(--font-hand);
  font-size: 1.5em;
  line-height: 1;
  color: var(--passion);
}
code, .mono { font-family: var(--font-mono); font-size: 0.9em; }

/* ============================================================
   Layout helpers
   ============================================================ */

.container        { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
section { padding: clamp(3rem, 8vw, 6rem) 0; }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--ink);
}
.nav-inner {
  width: var(--container);
  margin-inline: auto;
  padding: 1.25rem 0;
  display: flex; align-items: center; gap: 2rem;
}

/* Brand — text only, no SVG icon */
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
  position: relative;
}
.brand::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--taste);
  border: 1.5px solid var(--ink);
  transform: translateY(-0.15em);
}
.brand:hover::after { background: var(--passion); }

/* Hide any legacy inline brand-mark SVGs — site-wide, one place */
.brand-mark { display: none !important; }

.nav-links {
  display: flex;
  gap: 2.25rem;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--taste);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-links a[aria-current="page"] { color: var(--ink); }

@media (max-width: 760px) {
  .nav-inner { padding: 1rem 0; gap: 1rem; }
  .brand { font-size: 1.4rem; }
  .nav-links { gap: 1.25rem; font-size: 0.92rem; }
  .nav-links .nav-hide-sm { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--stamp-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-primary   { background: var(--taste); }
.btn-passion   { background: var(--passion); color: var(--paper-warm); }
.btn-empathy   { background: var(--empathy); color: var(--ink); }
.btn-taste     { background: var(--taste); color: var(--ink); }
.btn-ghost     { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-deep); box-shadow: var(--stamp-ink); }

/* "Try it" live button — green with a pulse dot */
.btn-try {
  background: var(--leaf);
  color: var(--paper-warm);
  border-color: var(--ink);
}
.btn-try::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--paper-warm);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============================================================
   Cards — scrapbook feel, slight rotation
   ============================================================ */

.card {
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--stamp-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translate(-3px, -3px) rotate(-0.3deg);
  box-shadow: 6px 6px 0 var(--ink);
}
.card h3 { margin-top: 0; }

.card-tilt-l { transform: rotate(-1deg); }
.card-tilt-r { transform: rotate(1deg); }
.card-tilt-l:hover { transform: rotate(-1.5deg) translate(-3px, -3px); }
.card-tilt-r:hover { transform: rotate(1.5deg) translate(-3px, -3px); }

/* ============================================================
   Trait badges & tier pills
   ============================================================ */

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
}
.badge-passion { background: var(--passion-soft); color: var(--passion-deep); }
.badge-empathy { background: var(--empathy-soft); color: var(--empathy-deep); }
.badge-taste   { background: var(--taste-soft);   color: var(--taste-deep);   }

.tier {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 6px;
  background: var(--paper-deep);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.tier-sprouts::before  { content: "🌱"; }
.tier-makers::before   { content: "🔨"; }
.tier-builders::before { content: "⚙️"; }

/* ============================================================
   "For the grown-up" block — the dual-audience signature
   ============================================================ */

.grownup {
  margin-top: 2.5rem;
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  position: relative;
}
.grownup::before {
  content: "FOR THE GROWN-UP IN THE ROOM";
  position: absolute;
  top: -10px; left: 1rem;
  background: var(--paper);
  padding: 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}
.grownup h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 0.75rem 0 0.25rem;
}
.grownup h4:first-of-type { margin-top: 0; }
.grownup p { margin: 0; font-size: 0.95rem; }

/* ============================================================
   Hand-drawn decorative SVGs — the site signature
   ============================================================ */

.scribble-underline {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.scribble-underline::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -10px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q30 2, 55 7 T110 6 T165 8 T198 5' stroke='%23F2B134' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.scribble-underline.u-passion::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q30 2, 55 7 T110 6 T165 8 T198 5' stroke='%23E85A4F' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.scribble-underline.u-empathy::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q30 2, 55 7 T110 6 T165 8 T198 5' stroke='%235FA8D3' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.divider-squiggle {
  display: block;
  width: 180px;
  margin: 3rem auto;
  opacity: 0.8;
}

/* ============================================================
   Animations (gentle, on page load)
   ============================================================ */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.25s; }
.rise-4 { animation-delay: 0.35s; }
.rise-5 { animation-delay: 0.45s; }
.rise-6 { animation-delay: 0.55s; }

@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
.sway { animation: sway 4s ease-in-out infinite; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.site-footer .brand { font-size: 1.25rem; }

/* ============================================================
   MODULE PAGE TEMPLATE
   Used by every course module across every academy.
   Each module sets --ac-accent / --ac-accent-deep / --ac-accent-soft
   / --ac-second / --ac-second-soft at :root to recolor.
   ============================================================ */

.mod-hero {
  background: var(--ac-accent-soft, var(--paper-deep));
  border-bottom: 2.5px solid var(--ink);
  padding: 4rem 0 3.5rem;
  position: relative;
}
.mod-crumb {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.mod-crumb a { color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px dotted var(--ink-faint); }
.mod-crumb .sep { margin: 0 0.5rem; color: var(--ink-faint); }

.mod-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.mod-meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.mod-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 20ch;
}
.mod-hero .concept {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: var(--ac-accent-deep, var(--ink));
  margin: 0 0 1.5rem;
  line-height: 1.2;
  max-width: 30ch;
}
.mod-hero .concept em { font-style: italic; color: var(--ink); }
.mod-hero .lead {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 52ch;
  margin: 0;
}

.mod-nav {
  background: var(--paper-warm);
  border-bottom: 2.5px solid var(--ink);
  padding: 1.25rem 0;
  position: sticky;
  top: 67px;
  z-index: 40;
}
.mod-nav .container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 700;
}
.mod-nav a {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.mod-nav a:hover { border-bottom-color: var(--ac-accent, var(--taste)); }
.mod-nav a .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.mod-nav .dot.course { background: var(--empathy); }
.mod-nav .dot.play   { background: var(--leaf); }
.mod-nav .dot.build  { background: var(--passion); }

.mod-section {
  padding: 5rem 0;
  border-bottom: 1.5px dashed var(--ink-faint);
  scroll-margin-top: 140px;
}
.mod-section:last-of-type { border-bottom: none; }
.mod-section .section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.mod-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--paper-warm);
  margin-bottom: 1.25rem;
}
.mod-section .section-label .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
}
.mod-section .section-header h2 {
  font-size: clamp(1.85rem, 3.75vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.mod-section .section-header h2 em { font-style: italic; color: var(--ac-accent, var(--taste-deep)); }
.mod-section .section-header p {
  font-size: var(--size-lead);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto;
}

/* COURSE section */
#course { background: var(--paper); }
.course-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.7;
}
.course-body p { margin: 0 0 1.25rem; }
.course-story {
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--stamp-ink);
  transform: rotate(-0.3deg);
}
.course-story .tag {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--ac-accent-deep, var(--ink));
  margin-bottom: 0.5rem;
}
.course-story h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
.course-story p { margin: 0 0 0.75rem; font-size: 1rem; }
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } }
.course-grid .example {
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--stamp-ink);
}
.course-grid .example h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.course-grid .example .emoji { font-size: 2rem; line-height: 1; margin-bottom: 0.5rem; }
.course-grid .example p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Side-by-side comparison (used by module 02 and similar taste training) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--stamp-ink);
  position: relative;
}
.compare .col.good   { border-width: 2.5px; background: var(--paper-warm); }
.compare .col .label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  margin-bottom: 0.75rem;
}
.compare .col.good  .label { background: var(--leaf); color: var(--paper-warm); }
.compare .col.meh   .label { background: var(--paper-deep); color: var(--ink-soft); }
.compare .col h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}
.compare .col p {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}
.compare .col p em { color: var(--ink-soft); font-style: italic; font-size: 0.88rem; }

/* PLAY section */
#play { background: var(--paper-deep); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.play-body { max-width: 820px; margin: 0 auto; }
.play-instructions {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.guess-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 600px) { .guess-grid { grid-template-columns: 1fr; } }
.guess-card {
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--stamp-ink);
  overflow: hidden;
}
.guess-card details { padding: 0; }
.guess-card summary {
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease;
}
.guess-card summary::-webkit-details-marker { display: none; }
.guess-card summary:hover { background: var(--paper-deep); }
.guess-card .prompt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.guess-card .reveal-hint {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.guess-card .reveal-hint::after { content: " ↓"; }
.guess-card[open] .reveal-hint::after { content: " ↑"; }
.guess-answer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1.5px dashed var(--ink-faint);
  background: var(--paper);
}
.guess-answer .verdict {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.guess-answer .verdict.yes { color: var(--leaf-deep); }
.guess-answer .verdict.yes::before { content: "✓ "; font-weight: 800; }
.guess-answer .verdict.no  { color: var(--passion-deep); }
.guess-answer .verdict.no::before { content: "✗ "; font-weight: 800; }
.guess-answer .verdict.maybe { color: var(--taste-deep); }
.guess-answer .verdict.maybe::before { content: "~ "; font-weight: 800; }
.guess-answer p {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}

/* BUILD section */
#build { background: var(--paper); }
.build-body { max-width: 780px; margin: 0 auto; }
.build-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.build-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--stamp-ink);
  counter-increment: step;
}
.build-step::before {
  content: counter(step);
  width: 48px; height: 48px;
  background: var(--ac-accent, var(--taste));
  color: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}
.build-step h4 { font-size: 1.2rem; margin: 0 0 0.4rem; line-height: 1.25; }
.build-step p { margin: 0; font-size: 0.96rem; color: var(--ink); line-height: 1.55; }
.build-step p em { color: var(--ink-soft); }

.try-it-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--stamp-ink-lg);
  position: relative;
  overflow: hidden;
}
.try-it-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.try-it-box > * { position: relative; }
.try-it-box .label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ac-second, var(--taste));
  margin-bottom: 0.75rem;
}
.try-it-box h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--paper);
  margin: 0 0 1rem;
}
.try-it-box h3 em { color: var(--ac-second, var(--taste)); font-style: italic; }
.try-it-box p {
  color: rgba(251, 245, 230, 0.85);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  font-size: 0.95rem;
}

/* GROWN-UP wrap + honesty + next */
#grown-up { background: var(--paper-deep); border-top: 2.5px solid var(--ink); }
.grownup-wrap { max-width: 720px; margin: 0 auto; }
.grownup-wrap h2 {
  text-align: center;
  max-width: 28ch;
  margin: 0 auto 2rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

#honesty { background: var(--paper); border-top: 1.5px dashed var(--ink-faint); padding: 4rem 0; }
.honesty { max-width: 540px; margin: 0 auto; text-align: center; }
.honesty p.question {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  margin: 0 0 1.5rem;
}
.honesty .answers { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.honesty .answer {
  padding: 0.9rem 1.5rem;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--stamp-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.honesty .answer:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.honesty .note { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-faint); }

.mod-next {
  padding: 4rem 0;
  border-top: 2px solid var(--ink);
  background: var(--paper-deep);
}
.mod-next .next-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 640px) { .mod-next .next-wrap { grid-template-columns: 1fr; } }
.mod-next .next-wrap a {
  padding: 1.75rem;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--stamp-ink);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease;
}
.mod-next .next-wrap a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.mod-next .next-wrap .label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.4rem;
}
.mod-next .next-wrap h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
}
.mod-next .next-wrap .next-card { text-align: right; }

/* ================================================================
   V2 INTERACTIVE COMPONENTS
   All v2 styles are scoped under .v2 — add <body class="v2"> to a
   page to activate them. Keeps v1 pages unaffected.
   ================================================================ */

.v2 { font-size: 1.15rem; }
.v2 .container { width: min(780px, 92vw); margin-inline: auto; }
.v2 .wide { width: min(1180px, 92vw); margin-inline: auto; }

/* ---- MODULE HEAD ---- */
.v2 .mod-head {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1.5px dashed var(--ink-faint);
}
.v2 .mod-head .crumb {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.v2 .mod-head .crumb .sep { margin: 0 0.5rem; color: var(--ink-faint); }
.v2 .mod-head .crumb a { color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px dotted var(--ink-faint); }
.v2 .mod-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0 0 0.35rem;
  line-height: 1.1;
}
.v2 .mod-head h1 em { color: var(--passion); font-style: italic; }
.v2 .mod-head .subtitle {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- PROGRESS BAR (sticky) ---- */
.v2 .progress {
  position: sticky;
  top: 62px;
  z-index: 50;
  background: var(--paper);
  padding: 1rem 0;
  border-bottom: 1.5px solid var(--ink);
}
.v2 .progress-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.v2 .progress-row .title {
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
}
.v2 .progress-track {
  height: 12px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.v2 .progress-fill {
  height: 100%;
  background: var(--taste);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: inset -3px 0 0 var(--taste-deep);
}

/* ---- STEP SYSTEM ---- */
.v2 .steps-wrap { padding: 3rem 0 4rem; }
.v2 .step {
  display: none;
  animation: v2-step-in 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.v2 .step.active { display: block; }
@keyframes v2-step-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.v2 .step .eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper-warm);
  margin-bottom: 1.25rem;
}
.v2 .step h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}
.v2 .step h2 em { color: var(--passion); font-style: italic; }
.v2 .step .lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 55ch;
  margin: 0 0 2rem;
}
.v2 .step .note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 1.5rem;
}

/* ---- STEP NAVIGATION ---- */
.v2 .step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px dashed var(--ink-faint);
  gap: 1rem;
}
.v2 .btn-back,
.v2 .btn-next {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.65rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2.5px solid var(--ink);
  color: var(--ink);
}
.v2 .btn-back { background: transparent; }
.v2 .btn-back:hover:not(:disabled) { background: var(--paper-deep); }
.v2 .btn-back:disabled { opacity: 0.35; cursor: not-allowed; }
.v2 .btn-next {
  background: var(--taste);
  box-shadow: var(--stamp-ink);
}
.v2 .btn-next:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.v2 .btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---- CHOOSER ---- */
.v2 .chooser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}
@media (max-width: 560px) { .v2 .chooser { grid-template-columns: repeat(2, 1fr); } }
.v2 .choice {
  padding: 1.85rem 0.75rem 1.5rem;
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--stamp-ink);
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  user-select: none;
}
.v2 .choice:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.v2 .choice.selected {
  background: var(--taste);
  transform: rotate(-1.5deg);
  box-shadow: 5px 5px 0 var(--ink);
}
.v2 .choice.selected:hover {
  transform: rotate(-1.5deg) translate(-2px, -2px);
}
.v2 .choice .emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.v2 .choice .label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.v2 .your-pick {
  background: var(--taste-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 1.5rem;
  display: none;
}
.v2 .your-pick.visible { display: block; }
.v2 .your-pick b { font-style: normal; color: var(--passion-deep); }

/* ---- COMPARE CARDS ---- */
.v2 .compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 640px) { .v2 .compare { grid-template-columns: 1fr; } }
.v2 .compare-card {
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--stamp-ink);
  position: relative;
}
.v2 .compare-card.meh { transform: rotate(-0.4deg); }
.v2 .compare-card.good {
  transform: rotate(0.3deg);
  background: var(--taste-soft);
}
.v2 .compare-card .verdict {
  position: absolute;
  top: -13px; left: 1.25rem;
  padding: 0.3rem 0.85rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.v2 .compare-card.meh  .verdict { color: var(--ink-soft); }
.v2 .compare-card.good .verdict { background: var(--taste); color: var(--ink); }
.v2 .compare-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.5rem 0 0.75rem;
}
.v2 .compare-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.v2 .compare-card mark {
  background: var(--taste);
  padding: 0 0.2em;
  border-radius: 3px;
  color: var(--ink);
}

.v2 .insight {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  position: relative;
}
.v2 .insight::before {
  content: attr(data-label);
  position: absolute;
  top: -11px; left: 1.25rem;
  background: var(--taste);
  color: var(--ink);
  padding: 0.25rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.v2 .insight p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(251, 245, 230, 0.95);
}
.v2 .insight p em { color: var(--taste); font-style: italic; }

/* ---- LIVE INPUT + FEEDBACK ---- */
.v2 .try-wrap { margin: 1rem 0 2rem; }
.v2 .try-input {
  width: 100%;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--stamp-ink);
  color: var(--ink);
  resize: vertical;
  min-height: 110px;
  margin-bottom: 1rem;
}
.v2 .try-input:focus {
  outline: none;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}
.v2 .try-input::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}
.v2 .feedback {
  padding: 1.1rem 1.35rem;
  border: 2px dashed var(--ink-faint);
  border-left: 4px solid var(--ink-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-faint);
  min-height: 60px;
  transition: all 0.3s ease;
  line-height: 1.5;
}
.v2 .feedback.good {
  background: var(--taste-soft);
  border-style: solid;
  border-color: var(--ink);
  border-left-color: var(--taste);
  color: var(--ink);
}
.v2 .feedback.great {
  background: var(--taste-soft);
  border-style: solid;
  border-color: var(--ink);
  border-left-color: var(--passion);
  color: var(--ink);
}
.v2 .feedback.warn {
  background: var(--passion-soft);
  border-style: solid;
  border-color: var(--ink);
  border-left-color: var(--passion);
  color: var(--ink);
}
.v2 .feedback .stat {
  display: inline-block;
  background: var(--ink);
  color: var(--taste);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: normal;
  margin-right: 0.5rem;
  letter-spacing: 0.05em;
}

/* ---- CODE BLOCK ---- */
.v2 .code-block {
  background: #0F1729;
  color: #E8ECF5;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 2rem;
  position: relative;
  box-shadow: var(--stamp-ink-lg);
  margin: 1.5rem 0 2rem;
  border: 2.5px solid var(--ink);
}
.v2 .code-block .filename {
  position: absolute;
  top: -13px; left: 1.5rem;
  background: var(--taste);
  color: var(--ink);
  padding: 0.3rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  font-weight: 700;
}
.v2 .copy-btn {
  position: absolute;
  top: 1.15rem; right: 1.15rem;
  background: var(--taste);
  color: var(--ink);
  border: 1.5px solid var(--taste);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.v2 .copy-btn:hover { transform: translateY(-1px); }
.v2 .copy-btn.copied {
  background: var(--leaf);
  color: var(--paper);
  border-color: var(--leaf);
}
.v2 .code-block pre {
  margin: 1rem 0 0;
  font-family: var(--font-mono, 'JetBrains Mono', 'Menlo', monospace);
  font-size: 0.92rem;
  line-height: 1.75;
  color: #E8ECF5;
  padding-right: 4rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
}
.v2 .code-block .kw   { color: #F2B134; font-weight: 500; }
.v2 .code-block .str  { color: #A3D977; }
.v2 .code-block .com  { color: #7B8BAA; font-style: italic; }
.v2 .code-block .num  { color: #FF9F7A; }
.v2 .code-block .var  { color: #8CC8E8; }
.v2 .code-block .fn   { color: #C3A6FF; }
.v2 .code-block .tag  { color: #FF9F7A; }
.v2 .code-block .attr { color: #F2B134; }

.v2 .code-explain {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 1rem 0 0;
}

/* ---- CELEBRATE + RECAP ---- */
.v2 .celebrate {
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  background: var(--taste-soft);
  border: 2.5px dashed var(--ink);
  border-radius: var(--radius-lg);
  margin: 1rem 0 2rem;
  transform: rotate(-0.3deg);
}
.v2 .celebrate .star {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  animation: v2-pop 0.6s cubic-bezier(0.2, 1.5, 0.5, 1) both;
}
@keyframes v2-pop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.v2 .celebrate h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.v2 .celebrate h3 em { color: var(--passion); font-style: italic; }
.v2 .celebrate p {
  font-size: 1.1rem;
  max-width: 40ch;
  margin: 0 auto;
  color: var(--ink);
}
.v2 .recap {
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.v2 .recap h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.v2 .recap ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.v2 .recap ul li { margin-bottom: 0.35rem; }
.v2 .recap ul li::marker { color: var(--taste-deep); }

/* ---- SCENARIO CARDS (for Agent Lab) ---- */
.v2 .scenario {
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--stamp-ink-lg);
  padding: 2rem 2rem 1.75rem;
  margin: 1.5rem 0;
  position: relative;
}
.v2 .scenario .situation {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px dashed var(--ink-faint);
}
.v2 .scenario .options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.v2 .scenario-choice {
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  transition: all 0.18s ease;
  color: var(--ink);
}
.v2 .scenario-choice:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.v2 .scenario-choice.chosen { background: var(--taste); }
.v2 .scenario-choice.chosen.correct { background: var(--leaf); color: var(--paper); }
.v2 .scenario-choice.chosen.incorrect { background: var(--passion); color: var(--paper); }
.v2 .scenario .verdict-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-deep);
  border-radius: var(--radius);
  border-left: 4px solid var(--taste);
  display: none;
}
.v2 .scenario .verdict-box.visible { display: block; animation: v2-step-in 0.4s both; }
.v2 .scenario .verdict-box p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.55;
}

/* ---- V2 · SIGNS LIST (multi-select checklist with live count) ---- */
.v2 .signs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.v2 .sign {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.v2 .sign:hover {
  background: var(--paper-deep);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.v2 .sign .check-box {
  width: 24px; height: 24px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: transparent;
  margin-top: 2px;
  transition: all 0.15s ease;
}
.v2 .sign.checked {
  background: var(--taste-soft);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}
.v2 .sign.checked .check-box {
  background: var(--taste);
  color: var(--ink);
}
.v2 .sign.checked .check-box::before { content: "✓"; }
.v2 .sign .sign-text {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  flex-grow: 1;
}
.v2 .sign .sign-text em { font-style: italic; color: var(--ink-soft); }

.v2 .signs-verdict {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
  min-height: 80px;
  transition: all 0.3s ease;
}
.v2 .signs-verdict.lit {
  background: var(--taste-soft);
  border-style: solid;
  color: var(--ink);
}
.v2 .signs-verdict .count {
  display: inline-block;
  background: var(--ink);
  color: var(--taste);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  letter-spacing: 0.05em;
}

/* ---- V2 · JUDGE PAIR (head-to-head taste game) ---- */
.v2 .judge {
  background: var(--paper-warm);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--stamp-ink-lg);
  padding: 2rem 2rem 1.75rem;
  margin: 1.5rem 0;
}
.v2 .judge .prompt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.v2 .judge .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) { .v2 .judge .pair { grid-template-columns: 1fr; } }
.v2 .judge-option {
  padding: 1.5rem 1.35rem;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
}
.v2 .judge-option:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.v2 .judge-option.picked {
  background: var(--taste);
  transform: rotate(-0.8deg);
  box-shadow: 5px 5px 0 var(--ink);
}
.v2 .judge-option.picked:hover {
  transform: rotate(-0.8deg) translate(-2px, -2px);
}
.v2 .judge-option .letter {
  position: absolute;
  top: 0.75rem; right: 0.9rem;
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ink);
}
.v2 .judge-option.picked .letter { background: var(--ink); color: var(--taste); }
.v2 .judge .reason {
  margin-top: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: var(--paper-deep);
  border-left: 4px solid var(--taste);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  display: none;
}
.v2 .judge .reason.visible { display: block; animation: v2-step-in 0.4s both; }
.v2 .judge .reason strong {
  font-style: normal;
  font-weight: 700;
  color: var(--passion);
}
