/* =========================================================
   CHICLE DEMOS — shared stylesheet
   Brand tokens reused exactly from chicle-site/assets/site.css.
   Fraunces (display) + Space Grotesk (body) via Google Fonts.
   ========================================================= */

:root {
  /* Palette — exact match to chicle.ca brand */
  --ink:    #0E0E10;
  --cream:  #F7F4EF;
  --pink:   #FF3D7F;
  --lime:   #C6FF3D;
  --mauve:  #8C6B7A;
  --pink-ink: #d81f63;

  --ink-soft: #161618;
  --ink-line: rgba(247, 244, 239, 0.10);
  --cream-line: rgba(14, 14, 16, 0.10);

  --on-ink:   #F7F4EF;
  --on-cream: #0E0E10;
  --muted-on-ink:   var(--mauve);
  --muted-on-cream: #5d5560;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape / motion */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease-stick: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--on-ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: fixed; top: -120px; left: 16px; z-index: 200;
  background: var(--lime); color: var(--ink); padding: 10px 16px;
  border-radius: 999px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; border: 0;
  transition: transform .35s var(--ease-stick), background-color .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn-cta { background: var(--pink); color: #fff; box-shadow: 0 8px 30px rgba(255, 61, 127, 0.30); }
.btn-cta:hover { background: var(--pink-ink); box-shadow: 0 12px 40px rgba(255, 61, 127, 0.45); }
.btn-ghost { background: transparent; color: var(--on-ink); border: 1.5px solid var(--ink-line); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 30px rgba(198, 255, 61, 0.22); }
.btn-lime:hover { background: #b6ef2d; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  padding: 14px 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--ink-line);
  padding: 9px 0;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 18px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.gummark { flex: none; transition: transform .5s var(--ease-stick); }
.nav-logo:hover .gummark { transform: scale(1.12) rotate(-6deg); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.wordmark small { color: var(--mauve); font-weight: 500; font-size: 0.7em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-weight: 500; font-size: 0.98rem; color: var(--muted-on-ink);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--pink); transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--on-ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 22px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--on-ink); transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 6px;
  padding: 0 var(--pad); max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .35s;
  background: rgba(14,14,16,0.96); backdrop-filter: blur(14px);
}
.nav-mobile.open { max-height: 520px; padding: 14px var(--pad) 22px; border-bottom: 1px solid var(--ink-line); }
.nav-mobile a { padding: 12px 4px; font-weight: 500; color: var(--muted-on-ink); }
.nav-mobile a.btn-cta { color: #fff; margin-top: 8px; justify-content: center; }

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 10vw, 130px) var(--pad); }
.section--tight { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.kicker {
  font-family: var(--body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; color: var(--pink); margin-bottom: 16px;
}
.kicker-lime { color: var(--lime); }
.section-head h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.lead { color: var(--muted-on-ink); font-size: 1.12rem; margin-top: 18px; max-width: 560px; }
.lead-light { color: rgba(247,244,239,0.78); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px var(--pad) 80px;
  background: radial-gradient(120% 80% at 50% -10%, #1b1b1f 0%, var(--ink) 55%);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 82% 8%, rgba(255,61,127,0.20), transparent 70%),
    radial-gradient(38% 38% at 12% 92%, rgba(198,255,61,0.10), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 70px); align-items: center;
}
.eyebrow {
  display: inline-block; font-weight: 500; color: var(--mauve);
  letter-spacing: 0.04em; font-size: 0.98rem; margin-bottom: 22px;
  padding: 8px 18px; border: 1px solid var(--ink-line); border-radius: 999px;
}
.hero-title { font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.94; }
.hero-title em { font-style: italic; color: var(--pink); position: relative; }
.hero-title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.08em; height: 0.16em;
  background: var(--lime); border-radius: 999px; transform: scaleX(0); transform-origin: left;
  animation: underline-pop 1s var(--ease-stick) .6s forwards;
}
@keyframes underline-pop { to { transform: scaleX(1); } }
.hero-sub { margin: 28px 0 0; max-width: 540px; color: var(--mauve); font-size: clamp(1.05rem, 2.2vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-media .badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(14,14,16,0.6); backdrop-filter: blur(8px);
  color: var(--lime); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ink-line);
}

/* Centered hero variant (root showcase / strategy) */
.hero--center { text-align: center; }
.hero--center .hero-inner { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; }
.hero--center .hero-actions { justify-content: center; }
.hero--center .hero-sub { margin-left: auto; margin-right: auto; }

/* ---------- Stat strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.stat { border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 28px 24px; background: var(--ink-soft); transition: transform .45s var(--ease-stick), border-color .3s; }
.stat:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(198,255,61,0.45); }
.stat-num { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--lime); letter-spacing: -0.03em; line-height: 1; }
.stat-label { display: block; margin-top: 10px; color: var(--mauve); font-size: 0.95rem; }

/* ---------- Cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--ink-soft); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .45s var(--ease-stick), border-color .3s, background-color .3s, box-shadow .3s;
  will-change: transform;
}
.card-wide { grid-column: span 2; }
.card:hover { border-color: rgba(255,61,127,0.45); box-shadow: 0 20px 50px rgba(0,0,0,0.4); background: #1c1c20; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--pink); background: rgba(255,61,127,0.12); margin-bottom: 4px; transition: transform .5s var(--ease-stick); }
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.12) rotate(-5deg); background: rgba(255,61,127,0.20); }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--mauve); font-size: 1rem; }
.card-tag { margin-top: auto; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--lime); font-weight: 500; padding-top: 8px; }

/* ---------- Menu (café) ---------- */
.menu-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.menu-filter button {
  background: transparent; border: 1.5px solid var(--ink-line); color: var(--muted-on-ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-stick);
}
.menu-filter button:hover { border-color: var(--mauve); color: var(--on-ink); }
.menu-filter button[aria-pressed="true"] { background: var(--pink); color: #fff; border-color: var(--pink); }
.menu-list { margin-top: 28px; border-top: 1px solid var(--ink-line); }
.menu-list li { display: flex; align-items: baseline; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--ink-line); transition: opacity .3s; }
.menu-list li.hide { display: none; }
.menu-list .name { font-family: var(--display); font-size: 1.5rem; color: var(--on-ink); }
.menu-list .dots { flex: 1; border-bottom: 1px dotted var(--ink-line); transform: translateY(-4px); }
.menu-list .price { font-family: var(--display); font-size: 1.3rem; color: var(--pink); }
.menu-list .desc { width: 100%; color: var(--mauve); font-size: 0.94rem; margin-top: -6px; }
.menu-list .tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(198,255,61,0.4); padding: 3px 9px; border-radius: 999px; }

/* ---------- Class grid (gym) ---------- */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.shot { position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--ink-line); }
.shot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .8s var(--ease-out); }
.shot:hover img { transform: scale(1.05); }
.shot span { position: absolute; left: 0; bottom: 0; background: var(--pink); color: #fff; font-weight: 600; padding: 8px 14px; font-size: 0.82rem; letter-spacing: 0.04em; border-top-right-radius: 14px; }

/* ---------- Pricing (gym) ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tier { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 32px 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease-stick), border-color .3s; }
.tier:hover { transform: translateY(-6px); border-color: rgba(255,61,127,0.45); }
.tier.feat { background: linear-gradient(160deg, var(--pink), #c1255c); border-color: transparent; }
.tier .p { font-family: var(--display); font-weight: 900; font-size: 2.4rem; color: var(--on-ink); }
.tier .p small { font-size: 0.9rem; font-weight: 400; color: var(--mauve); }
.tier.feat .p, .tier.feat h3 { color: #fff; }
.tier.feat .p small { color: rgba(255,255,255,0.8); }
.tier h3 { font-size: 1.2rem; }
.tier ul { list-style: none; padding: 0; margin: 14px 0 0; color: var(--mauve); font-size: 0.95rem; }
.tier ul li { padding: 6px 0; }
.tier.feat ul { color: rgba(255,255,255,0.9); }

/* ---------- Listing (realty) ---------- */
.listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.prop { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); overflow: hidden; transition: transform .4s var(--ease-stick), border-color .3s; }
.prop:hover { transform: translateY(-6px); border-color: rgba(255,61,127,0.45); }
.prop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prop .body { padding: 20px 22px 24px; }
.prop h3 { font-size: 1.3rem; }
.prop .muted { color: var(--mauve); }
.prop .price { color: var(--lime); font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-top: 6px; }

/* ---------- Calculator (realty) ---------- */
.calc { margin-top: 24px; max-width: 520px; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 28px; }
.calc label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; color: rgba(247,244,239,0.82); margin: 14px 0 7px; }
.calc input { width: 100%; font: inherit; color: var(--on-ink); background: rgba(247,244,239,0.04); border: 1.5px solid rgba(247,244,239,0.16); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .25s, box-shadow .25s; }
.calc input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,61,127,0.15); }
.calc .out { margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--lime); }
.calc .out small { display: block; font-family: var(--body); font-size: 0.85rem; color: var(--mauve); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- District map (realty) ---------- */
.dist-map { margin-top: 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: stretch; }
.dist-pins { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; padding: 26px; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); }
.pin { background: transparent; border: 1.5px solid var(--ink-line); color: var(--on-ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-stick); }
.pin:hover { transform: scale(1.05); }
.pin.active { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.dist-panel { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.dist-panel h3 { font-size: 1.6rem; color: var(--pink); margin-bottom: 8px; }

/* ---------- Box builder (bakery) ---------- */
.box-builder { margin-top: 26px; display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }
.box-items { display: grid; gap: 14px; }
.box-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 14px 18px; }
.box-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.box-row .info h4 { font-size: 1.1rem; font-family: var(--body); font-weight: 600; }
.box-row .info span { color: var(--mauve); font-size: 0.9rem; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--ink-line); border-radius: 999px; overflow: hidden; }
.stepper button { background: transparent; color: var(--on-ink); border: 0; width: 36px; height: 36px; font-size: 1.2rem; line-height: 1; transition: background-color .2s, color .2s; }
.stepper button:hover { background: var(--pink); color: #fff; }
.stepper .qty { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.box-summary { position: sticky; top: 90px; background: linear-gradient(160deg, var(--pink), #c1255c); color: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 70px rgba(255,61,127,0.25); }
.box-summary h3 { font-size: 1.5rem; }
.box-summary .lines { margin: 16px 0; display: grid; gap: 8px; }
.box-summary .line { display: flex; justify-content: space-between; font-size: 0.95rem; opacity: 0.92; }
.box-summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 14px; margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 1.8rem; }
.box-summary .note { font-size: 0.82rem; opacity: 0.85; margin-top: 10px; }

/* ---------- Before/After slider (construction) ---------- */
.ba-slider { position: relative; margin-top: 26px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line); user-select: none; touch-action: none; aspect-ratio: 16/10; max-width: 860px; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--lime); transform: translateX(-50%); cursor: ew-resize; z-index: 4; }
.ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.ba-label { position: absolute; top: 16px; z-index: 3; background: rgba(14,14,16,0.66); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.ba-label.l { left: 16px; } .ba-label.r { right: 16px; }

/* ---------- Build stages (construction) ---------- */
.build-wrap { position: relative; height: 64vh; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line); background: #000; margin-top: 26px; }
.build-stage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; opacity: 0; }
.build-stage:first-child { opacity: 1; }
.build-caption { position: absolute; left: 22px; bottom: 46px; color: #fff; z-index: 3; font-weight: 600; letter-spacing: 0.04em; font-size: 1.1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.build-progress { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 3px; background: rgba(255,255,255,0.25); z-index: 3; border-radius: 999px; }
.build-progress::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: var(--p, 0%); background: var(--lime); border-radius: 999px; transition: width .2s; }

/* ---------- Split (bakery / realty story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--ink-line); }
.split h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--ink-line); cursor: zoom-in; transition: transform .4s var(--ease-stick), border-color .3s; }
.gallery img:hover { transform: scale(1.04); border-color: rgba(255,61,127,0.45); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8,8,10,0.94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; background: var(--lime); color: var(--ink); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; font-weight: 700; }

/* ---------- Quiz (gym) ---------- */
.quiz { margin-top: 30px; max-width: 620px; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 34px; }
.quiz .step { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mauve); }
.quiz h3 { font-size: 1.7rem; margin: 8px 0 20px; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opts button { text-align: left; background: transparent; border: 1.5px solid var(--ink-line); color: var(--on-ink); padding: 16px 20px; border-radius: var(--r-md); font-weight: 600; transition: background-color .25s, border-color .25s, transform .3s var(--ease-stick); }
.quiz-opts button:hover { border-color: var(--pink); transform: translateX(4px); }
.quiz-result { background: linear-gradient(160deg, var(--pink), #c1255c); color: #fff; border-radius: var(--r-md); padding: 24px; font-size: 1.15rem; font-weight: 600; }
.quiz-result strong { display: block; font-family: var(--display); font-size: 1.6rem; margin-bottom: 6px; }
.quiz-restart { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; margin-top: 16px; }
.quiz-restart:hover { background: rgba(255,255,255,0.12); }

/* ---------- Accordion (strategy FAQ) ---------- */
.accordion { max-width: 820px; margin: 30px auto 0; display: grid; gap: 14px; }
.acc-item { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); overflow: hidden; }
.acc-head { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc-head::-webkit-details-marker { display: none; }
.acc-head::after { content: ""; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: linear-gradient(var(--pink),var(--pink)) center/2px 10px no-repeat, linear-gradient(var(--pink),var(--pink)) center/10px 2px no-repeat; transition: transform .35s var(--ease-stick), background-color .3s; }
.acc-item[open] .acc-head::after { transform: rotate(135deg); background: linear-gradient(var(--lime),var(--lime)) center/2px 10px no-repeat, linear-gradient(var(--lime),var(--lime)) center/10px 2px no-repeat; }
.acc-body { padding: 0 22px 22px; color: var(--muted-on-ink); }

/* ---------- Strategy: posts / newsletter ---------- */
.strat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.post { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-md); overflow: hidden; }
.post-media { position: relative; }
.post-media img, .post-media video { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.post-badge { position: absolute; top: 12px; left: 12px; background: var(--pink); color: #fff; font-size: 0.72rem; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.post-day { position: absolute; top: 12px; right: 12px; background: rgba(14,14,16,0.66); color: #fff; font-size: 0.72rem; padding: 5px 11px; border-radius: 999px; }
.post-body { padding: 18px 20px 22px; }
.post-body .ch { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); font-weight: 600; }
.post-body p { margin-top: 6px; }
.post-goal { color: var(--mauve); font-size: 0.85rem; margin-top: 8px; }
.nl { max-width: 720px; margin: 24px auto 0; border: 1px solid var(--ink-line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-soft); }
.nl-hero { padding: 34px 32px; background: linear-gradient(135deg, var(--pink), #c1255c); color: #fff; }
.nl-hero .nl-kicker { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.nl-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 8px; }
.nl-body { padding: 30px 32px; }
.nl-body p { color: var(--muted-on-ink); }
.nl-block { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
.nl-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.nl-cta { display: inline-block; margin-top: 18px; background: var(--lime); color: var(--ink); font-weight: 700; padding: 13px 24px; border-radius: 999px; }
.nl-ghost-cta { display: inline-block; margin: 18px 0 0 12px; color: var(--pink); font-weight: 600; }
.nl-foot { padding: 18px 32px 26px; color: var(--mauve); font-size: 0.85rem; border-top: 1px solid var(--ink-line); }

/* ---------- Showcase (root) ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.demo-card { position: relative; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease-stick), border-color .3s, box-shadow .3s; }
.demo-card:hover { transform: translateY(-8px); border-color: rgba(255,61,127,0.5); box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.demo-card .thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.demo-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.demo-card:hover .thumb img { transform: scale(1.06); }
.demo-card .thumb .chip { position: absolute; top: 14px; left: 14px; background: rgba(14,14,16,0.62); color: var(--lime); font-size: 0.72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink-line); }
.demo-card .body { padding: 24px 26px 28px; }
.demo-card .body h3 { font-size: 1.7rem; }
.demo-card .body .tagline { color: var(--mauve); margin: 8px 0 20px; font-size: 0.98rem; }
.demo-card .body .view { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font-weight: 700; }
.demo-card .body .view::after { content: "→"; transition: transform .3s var(--ease-stick); }
.demo-card:hover .body .view::after { transform: translateX(5px); }
.showcase-note { color: var(--mauve); margin-top: 40px; text-align: center; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--ink-line); background: var(--ink); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--pad) 48px; display: grid; gap: 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo .wordmark { font-size: 1.3rem; }
.footer-cta { display: inline-flex; }
.footer-tag { color: rgba(247,244,239,0.78); font-size: 1.05rem; }
.footer-tag a { color: var(--lime); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted-on-ink); font-weight: 500; }
.footer-links a:hover { color: var(--on-ink); }
.footer-copy { color: var(--mauve); font-size: 0.9rem; border-top: 1px solid var(--ink-line); padding-top: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16/10; }
  .bento, .class-grid, .listing, .pricing, .strat-cards, .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .split, .dist-map, .box-builder { grid-template-columns: 1fr; }
  .box-summary { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bento, .class-grid, .listing, .pricing, .strat-cards, .showcase-grid, .posts { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title em::after { transform: scaleX(1); }
}
