/* ==========================================================================
   Kismet concept — immersive marketing homepage (dark-first, tokens.css-driven)
   Layered ON TOP of mockups/tokens.css (copied as assets/tokens.css).
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-var.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --font-display: 'Outfit', var(--font);
  --wrap: 1180px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
html.js { scroll-behavior: auto; } /* Lenis owns it */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ------- shared vocabulary ------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal-soft] { transform: none; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 1.4rem; }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section__head h2, .hero__title, .dl h2, .guests h2, .fair h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-weight: 800;
}
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0.45rem 0 0.6rem; }
.section__sub { font-size: 1.02rem; line-height: 1.55; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ember); margin: 0 0 0.4rem;
}
.ember { color: var(--ember); }
.link { color: var(--ember); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ember-glow); }

/* ------- custom cursor + rail ------- */
.cur-ring, .cur-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; mix-blend-mode: screen; }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--ember); border-radius: 50%; transition: width .18s, height .18s, margin .18s, opacity .3s; }
.cur-ring.cur-grow { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ember); border-radius: 50%; box-shadow: 0 0 12px 2px var(--ember-glow); }
@media (hover:hover) and (pointer:fine) { body.has-cur, body.has-cur * { cursor: none !important; } }
.rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); width: 3px; height: 38vh; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 3px; z-index: 60; }
#railfill { display: block; width: 100%; height: 0%; background: linear-gradient(var(--ember), var(--indigo)); border-radius: 3px; }
@media (max-width: 760px) { .rail { display: none; } }

/* ------- nav ------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; gap: 1.4rem; padding: 0 clamp(1rem, 3vw, 2.2rem);
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.nav-solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hairline); }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.nav__orb { border-radius: 9px; }
.nav__word { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.nav__word .dot { color: var(--ember); }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.92rem; transition: color .18s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__cta { width: auto; padding: 0.6rem 1.1rem; font-size: 0.92rem; border-radius: 12px; text-decoration: none; display: inline-block; }
.theme-flip { background: none; border: 1px solid var(--hairline); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ------- hero ------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: var(--nav-h);
  background:
    radial-gradient(1100px 620px at 78% 38%, var(--ember-tint-2), transparent 60%),
    radial-gradient(900px 700px at 12% 88%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 65%),
    var(--bg);
}
.hero__smoke { position: absolute; inset: auto; width: 120%; max-width: none; opacity: 0.5; pointer-events: none; }
.hero__smoke--a { top: -6%; left: -10%; }
.hero__smoke--b { bottom: -8%; right: -12%; opacity: 0.38; }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2rem;
  padding: 2rem 1.4rem 4rem;
}
.hero__title { font-size: clamp(3rem, 8vw, 5.6rem); margin: 0.2rem 0 1.1rem; }
.wordmask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .wordmask > span { display: inline-block; transform: translateY(112%); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 34rem; margin: 0 0 1.6rem; }
.hero__sub strong, .hero__sub em { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__alt { font-size: 0.9rem; margin: 1rem 0 0; }
.hero__stage { position: relative; display: grid; place-items: center; }
.hero__ball { width: min(46vw, 520px); height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)); position: relative; z-index: 1; }
.hero__halo {
  position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--ember-glow) 0%, transparent 62%);
  animation: halo 5.2s ease-in-out infinite;
}
@keyframes halo { 0%,100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.12); opacity: 1; } }
.hero__cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; z-index: 3; }
.hero__cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; background: var(--ember); border-radius: 2px; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stage { order: -1; margin-top: 1rem; }
  .hero__ball { width: min(62vw, 340px); }
}

/* store badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 0.62rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--ink) 70%, transparent);
  transition: transform .15s ease;
}
.badge small { display: block; font-size: 0.64rem; font-weight: 600; opacity: 0.75; letter-spacing: 0.02em; }
.badge b { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.05; }
.badge__ico { width: 22px; height: 22px; border-radius: 6px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.badge__ico--play { -webkit-mask: none; mask: none; background: none; font-size: 1.05rem; display: grid; place-items: center; color: inherit; }

/* ------- stats band ------- */
.stats { border-block: 1px solid var(--hairline); background: color-mix(in srgb, var(--card) 60%, transparent); }
.stats__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.2rem 1.4rem; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ember); letter-spacing: -0.03em; }
.stat > span:last-child { color: var(--muted); font-weight: 650; font-size: 0.88rem; }
.stat b .count { font: inherit; color: inherit; }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; } }

/* ------- how it works ------- */
.how__row { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.how__line { position: absolute; z-index: 0; top: 2.05rem; left: 4%; right: 4%; height: 2px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
#howFill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--ember), var(--indigo)); }
.step { position: relative; z-index: 10; background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 1.3rem 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.step__n { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ember); color: var(--on-ember); font-weight: 800; margin-bottom: 0.8rem; }
.step h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.step p strong, .step p em { color: var(--ink); }
@media (max-width: 900px) { .how__row { grid-template-columns: 1fr 1fr; } .how__line { display: none; } }
@media (max-width: 560px) { .how__row { grid-template-columns: 1fr; } }

/* ------- THE RITUAL (scrubbed showpiece) ------- */
.ritual { height: 420vh; position: relative; background:
  radial-gradient(1000px 600px at 50% 30%, color-mix(in srgb, var(--indigo) 10%, transparent), transparent 60%),
  linear-gradient(color-mix(in srgb, #16110d 92%, var(--bg)), #16110d); }
.ritual__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.ritual__hint { position: absolute; top: calc(var(--nav-h) + 1rem); left: 50%; transform: translateX(-50%); color: #8a7a66; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.ritual__stage { position: relative; width: min(92vw, 900px); height: min(80svh, 720px); display: grid; place-items: center; }
.ritual__ballwrap { position: relative; width: min(52vw, 420px); aspect-ratio: 1; display: grid; place-items: center; }
.ritual__ball { position: absolute; inset: 0; width: 100%; height: auto; }
.ritual__ball--lit { opacity: 0; }
.ritual__halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, var(--ember-glow) 0%, transparent 60%); opacity: 0; }
.chip.pick {
  position: absolute; z-index: 3; background: #fffaf3; color: #241c17; font-weight: 700; font-size: 0.9rem;
  border-radius: 999px; padding: 0.55rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.35); white-space: nowrap;
}
#p1 { top: 8%; left: 6%; } #p2 { top: 14%; right: 8%; } #p3 { top: 42%; left: 0%; }
#p4 { bottom: 18%; right: 4%; } #p5 { bottom: 8%; left: 14%; }
.ritual__phase {
  position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%);
  color: #e8ddcf; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: -0.01em; opacity: 0; white-space: nowrap;
}
.ritual__phase strong { color: var(--ember); }
.answer {
  position: absolute; z-index: 4; display: grid; justify-items: center; gap: 0.35rem; text-align: center;
  background: #fffaf3; color: #241c17; border-radius: 22px; padding: 1.5rem 2.2rem 1.4rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06), 0 0 60px var(--ember-glow);
  opacity: 0; transform: translateY(40px) scale(0.9);
}
.answer__eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #b3430f; }
.answer__pick { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: -0.02em; }
.answer__law { font-size: 0.85rem; font-weight: 650; color: #8a7a66; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i {
  position: absolute; top: 46%; left: 50%; width: 9px; height: 14px; border-radius: 2px; opacity: 0;
}
.confetti i:nth-child(3n) { background: var(--ember); } .confetti i:nth-child(3n+1) { background: var(--indigo); } .confetti i:nth-child(3n+2) { background: #e8a98c; }

/* ------- activity types ------- */
.types__rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tcard {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
/* Fixed image band: sidesteps the aspect-ratio/grid intrinsic-sizing circularity
   that clipped card text, and gives the rail one clean visual rhythm. */
.tcard img { width: 100%; height: 185px; object-fit: cover; display: block; transition: transform .35s ease; }
.tcard img.x { display: none; }
.tcard:has(img.x)::before { content: ""; display: block; height: 185px; background:
  radial-gradient(140px 100px at 70% 30%, var(--ember-tint-2), transparent),
  linear-gradient(160deg, color-mix(in srgb, var(--indigo) 22%, var(--card)), var(--card)); }
.tcard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.tcard__head { display: flex; align-items: center; gap: 0.5rem; }
.tcard__ico { font-size: 1.25rem; line-height: 1; }
.tcard h3 { font-family: var(--font-display); margin: 0; font-size: 1.08rem; letter-spacing: -0.01em; }
.tcard p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.tcard__go { margin-top: auto; padding-top: 0.55rem; font-size: 0.8rem; font-weight: 800; color: var(--ember-text); opacity: 0; transform: translateX(-6px); transition: opacity .22s ease, transform .22s ease; }
.tcard:hover, .tcard:focus-visible { transform: translateY(-4px); border-color: var(--ember); box-shadow: 0 16px 40px rgba(0,0,0,0.3); text-decoration: none; }
.tcard:hover img { transform: scale(1.045); }
.tcard:hover .tcard__go, .tcard:focus-visible .tcard__go { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .tcard, .tcard img, .tcard__go { transition: none; } .tcard:hover img { transform: none; } .tcard__go { opacity: 1; transform: none; } }
@media (max-width: 1050px) { .types__rail { grid-template-columns: repeat(2, 1fr); } .tcard:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .types__rail { grid-template-columns: 1fr; } .tcard:last-child { grid-column: auto; } }

/* ------- feature rows + phone frames ------- */
.feat { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(1.6rem, 4vw, 4rem); padding: clamp(2rem, 4vw, 3.4rem) 0; }
.feat--flip .feat__copy { order: 2; } .feat--flip .feat__shot { order: 1; }
.feat h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 0.7rem; }
.feat p { color: var(--muted); line-height: 1.65; margin: 0 0 1rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.ticks li { font-weight: 650; font-size: 0.95rem; padding-left: 1.6rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ember); font-weight: 800; }
.feat__shot { display: grid; place-items: center; }
.phone {
  width: min(64vw, 300px); aspect-ratio: 300/620; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2c241d, #16110d); box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.07);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; background: #16110d; border-radius: 999px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--surface-2); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone--browser { aspect-ratio: 320/560; border-radius: 26px; }
.phone--browser::before { display: none; }
.phone--browser .phone__screen { border-radius: 16px; }
.shot-slot { display: grid; place-items: center; text-align: center; color: var(--muted); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, var(--surface-2) 0 14px, color-mix(in srgb, var(--surface-2) 80%, var(--ember-tint)) 14px 28px); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat--flip .feat__copy { order: 1; } .feat--flip .feat__shot { order: 2; } }

/* ------- guests ------- */
.guests__card {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--indigo) 16%, var(--card)), var(--card));
  border: 1px solid var(--hairline); border-radius: 26px; padding: clamp(1.6rem, 4vw, 3.2rem);
}
.guests h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0.4rem 0 0.8rem; }
.guests__copy > p { color: var(--muted); line-height: 1.65; }
.guests__steps { list-style: none; counter-reset: g; padding: 0; margin: 1.2rem 0 0.8rem; display: grid; gap: 0.85rem; }
.guests__steps li { counter-increment: g; position: relative; padding-left: 2.6rem; }
.guests__steps li::before { content: counter(g); position: absolute; left: 0; top: 0.1rem; width: 1.85rem; height: 1.85rem; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: var(--on-indigo); font-weight: 800; font-size: 0.9rem; }
.guests__steps b { display: block; font-family: var(--font-display); letter-spacing: -0.01em; }
.guests__steps span { color: var(--muted); font-size: 0.92rem; }
.guests__fine { font-size: 0.85rem; }
@media (max-width: 860px) { .guests__card { grid-template-columns: 1fr; } }

/* ------- fairness ------- */
.fair { text-align: left; }
.fair__inner { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.fair__mark { width: 100%; color: var(--muted); }
.fair h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0.4rem 0 0.8rem; }
.fair__body { color: var(--muted); line-height: 1.7; max-width: 56rem; margin: 0; }
#markGlow { filter: drop-shadow(0 0 10px var(--ember-glow)); }
@media (max-width: 760px) { .fair__inner { grid-template-columns: 1fr; } .fair__mark { max-width: 150px; } }

/* ------- blog teaser ------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.bcard:hover, .bcard:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); text-decoration: none; border-color: var(--ember); }
.bcard img { width: 100%; height: 200px; object-fit: cover; display: block; }
.bcard img.x { display: none; }
.bcard:has(img.x)::before { content: ""; display: block; height: 200px; background: linear-gradient(150deg, color-mix(in srgb, var(--ember) 24%, var(--card)), var(--card)); }
.bcard > div { padding: 1.1rem 1.15rem 1.3rem; }
.bcard__cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo-text); }
.bcard h3 { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; margin: 0.4rem 0 0.4rem; }
.bcard p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 860px) { .blog__grid { grid-template-columns: 1fr; } }

/* ------- download band ------- */
.dl { position: relative; overflow: hidden; text-align: center; padding: clamp(5rem, 12vw, 9rem) 1.4rem; }
.dl__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.dl__scrim { position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 60%, transparent, #16110de6 75%), linear-gradient(#16110dcc, #16110de8); }
.dl__inner { position: relative; z-index: 2; color: #f4ead9; }
.dl h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 0 0 0.7rem; }
.dl__sub { color: #cdbfa9; margin: 0 0 1.6rem; }
.dl .hero__ctas { justify-content: center; }
.dl .badge { background: #fffaf3; color: #241c17; }

/* ------- footer ------- */
.foot { border-top: 1px solid var(--hairline); background: var(--card); }
.foot__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3.2rem 1.4rem 2rem; }
.foot__brand img { height: 58px; width: auto; }
.foot__brand p { max-width: 26rem; font-size: 0.9rem; line-height: 1.55; }
.foot nav { display: grid; gap: 0.5rem; align-content: start; }
.foot h4 { margin: 0 0 0.3rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.foot nav a:hover { color: var(--ember); }
.foot__line { max-width: var(--wrap); margin: 0 auto; padding: 1.1rem 1.4rem 2rem; font-size: 0.82rem; border-top: 1px solid var(--hairline); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ------- reduced motion: everything visible, nothing moves ------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .wordmask > span { opacity: 1 !important; transform: none !important; }
  .hero__halo, .hero__cue span { animation: none; }
  .ritual { height: auto; }
  .ritual__sticky { position: static; height: auto; padding: 4rem 0; }
  .ritual__ball--lit { opacity: 1; } .ritual__ball--dormant { opacity: 0; }
  .ritual__phase, .answer { position: static; transform: none; opacity: 1; margin: 0.6rem auto; }
  .chip.pick { position: static; display: inline-block; margin: 0.3rem; }
  .dl__video { display: none; }
}

/* ==========================================================================
   Theme additions: page shells, prose, blog grids, crumbs, pager, 404, search
   ========================================================================== */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ember); color: var(--on-ember); padding: 0.6rem 1rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

.nav__menu { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.92rem; transition: color .18s; }
.nav__menu a:hover, .nav__menu .current-menu-item a { color: var(--ink); }

.page-shell { padding-top: var(--nav-h); }
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline);
  background: radial-gradient(900px 420px at 80% 0%, var(--ember-tint), transparent 60%), var(--bg); }
.page-hero__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.4rem clamp(2rem, 5vw, 3.4rem); position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0.5rem 0 0.6rem; max-width: 20ch; }
.page-hero__sub { max-width: 46rem; font-size: 1.02rem; line-height: 1.6; margin: 0; }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero--img .page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(color-mix(in srgb, var(--bg) 55%, transparent), var(--bg)); }
.page-hero__search { max-width: 30rem; margin-top: 1.2rem; }

.crumbs { font-size: 0.8rem; margin-bottom: 0.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 0.45rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ember); }
.crumbs [aria-current] { color: var(--ink); font-weight: 650; }

.cat-rail { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.cat-rail .k-chip { text-decoration: none; }

.blog__grid--archive { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .blog__grid--archive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog__grid--archive { grid-template-columns: 1fr; } }
.bcard__meta { display: block; margin-top: 0.55rem; font-size: 0.78rem; }

.section--narrow { max-width: 760px; }
.prose { font-size: 1.04rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.02em; margin-top: 2.2em; }
.prose h3 { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; margin-top: 1.8em; }
.prose a { color: var(--ember-text); font-weight: 650; }
.prose a:hover { text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 16px; }
.prose blockquote { border-left: 3px solid var(--ember); padding: 0.4rem 0 0.4rem 1.1rem; color: var(--muted); font-style: italic; margin-left: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.4em; }
.prose code { background: var(--surface-2); border-radius: 6px; padding: 0.12em 0.4em; font-size: 0.92em; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.4em 0; }
.prose .wp-block-button__link { background: var(--ember); color: var(--on-ember); border-radius: 12px; padding: 0.7rem 1.2rem; text-decoration: none; font-weight: 700; display: inline-block; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 1px solid var(--hairline); padding: 0.6rem 0.8rem; text-align: left; }

.post__meta { margin: 0.4rem 0 0; font-size: 0.88rem; }
.post__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.post__tags .k-chip { text-decoration: none; }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline); font-weight: 650; }
.post__nav a { color: var(--ink); text-decoration: none; } .post__nav a:hover { color: var(--ember); }
.post__nav-next { text-align: right; }
.related__title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 1.2rem; }

.pager { margin-top: 2.6rem; }
.pager .nav-links { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.pager .page-numbers { display: grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem; border-radius: 12px; border: 1px solid var(--hairline); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; }
.pager .page-numbers.current { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.pager .page-numbers:hover:not(.current) { border-color: var(--ember); color: var(--ember); }

.searchform { display: flex; gap: 0.5rem; }
.searchform .k-input { flex: 1; }
.searchform__btn { width: auto; padding-inline: 1.2rem; }

.notfound { text-align: center; max-width: 620px; }
.notfound__ball { width: min(46vw, 240px); height: auto; opacity: 0.85; margin-bottom: 1rem; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.notfound .page-hero__search { margin: 1.4rem auto; max-width: 26rem; }
.notfound__home { display: inline-block; width: auto; text-decoration: none; margin-top: 0.4rem; }

.foot__cta { display: grid; gap: 0.6rem; align-content: start; justify-items: start; }
.foot__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot__menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.foot__menu a:hover { color: var(--ember); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.foot__h { display: block; margin: 0 0 0.3rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.foot__word { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; line-height: 1; }
.foot__word .dot { color: var(--ember); }
.foot__tag { margin: 0.3rem 0 0.7rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo-text); }
