/* Whelmish Shop — Decompression (original art direction, not template ecommerce) */

:root {
  --bg-void: #070B12;
  --bg-deep: #0B1020;
  --bg-indigo: #151C2B;
  --bg-card: #151C2B;
  --accent-lavender: #B8A9D9;
  --accent-lavender-glow: #8E6CFF;
  --accent-cream: #F4EBDD;
  --accent-sage: #9caa9a;
  --accent-peach: #F3C6A8;
  --accent-gold: #c9b896;
  --text-primary: #F4EBDD;
  --text-secondary: #A9ADBA;
  --text-muted: #8a8796;
  --text-whisper: #5c5968;
  --font-ui: "DM Sans", "Onest", system-ui, sans-serif;
  --font-voice: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-breathe: cubic-bezier(0.45, 0, 0.55, 1);
  --nav-h: 4.5rem;
  --os-lavender: #B8A9D9;
  --os-lavender-glow: #8E6CFF;
  --os-sage: #9caa9a;
  --os-gold: #c9b896;
  --os-indigo: #7a8ab8;
  --os-peach: #e8c4b8;
  --os-rose: #c4a99a;
  --os-dusk: #a89fc9;
  --os-teal: #8faaa4;
  --os-ember: #c9a882;
  --os-moss: #7a9a88;
  --os-slate: #8a94b8;

  /* Type scale — body & UI (headers use clamp separately) */
  --text-2xs: 0.75rem;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-sm-plus: 0.9375rem;
  --text-md: 1rem;
  --text-base: 1.0625rem;
  --text-lead: 1.125rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Default: visible (works without JS). Animate only after shop.js runs. */
.reveal {
  opacity: 1;
  transform: none;
}

body.is-ready:not(.reduce-motion) .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}

body.is-ready:not(.reduce-motion) .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reduce-motion .reveal {
  opacity: 1;
  transform: none;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: -999px;
  top: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--accent-cream);
  color: var(--bg-deep);
  border-radius: 8px;
  font-weight: 500;
}

.skip-link:focus { left: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Atmospheric stack ─── */
.atmo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.atmo__grain {
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.atmo__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 28s var(--ease-breathe) infinite alternate;
}

.atmo__orb--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -12%;
  left: -8%;
  background: rgba(184, 169, 201, 0.14);
}

.atmo__orb--2 {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  top: 40%;
  right: -10%;
  background: rgba(156, 170, 154, 0.1);
  animation-delay: -8s;
  animation-duration: 34s;
}

.atmo__orb--3 {
  width: min(35vw, 300px);
  height: min(35vw, 300px);
  bottom: 5%;
  left: 30%;
  background: rgba(232, 196, 184, 0.08);
  animation-delay: -14s;
}

@keyframes drift {
  to { transform: translate(4%, 6%) scale(1.06); }
}

body.reduce-motion .atmo__orb { animation: none; }

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-sage));
  z-index: 200;
  transform-origin: left;
}

/* ─── Chapter rail (book-like wayfinding) ─── */
.chapter-rail {
  display: none;
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
}

.chapter-rail a {
  font-size: var(--text-2xs);
  letter-spacing: 0.12em;
  color: var(--text-whisper);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.3s;
}

.chapter-rail a:hover,
.chapter-rail a.is-active {
  color: var(--accent-lavender);
}

@media (min-width: 1280px) {
  .chapter-rail { display: flex; }
  .site-wrap { padding-left: 3rem; }
}

/* ─── Nav ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: difference;
}

.site-nav__inner {
  width: min(calc(100% - 2.5rem), 1320px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__mark {
  font-size: var(--text-sm-plus);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--accent-cream);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__primary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__link {
  font-size: var(--text-sm-plus);
  letter-spacing: 0.04em;
  color: var(--accent-cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s;
  white-space: nowrap;
}

.site-nav__link:hover {
  opacity: 1;
}

.site-nav__systems {
  position: relative;
}

.site-nav__systems-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cream);
  background: transparent;
  border: 1px solid rgba(244, 235, 221, 0.35);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.site-nav__systems-btn:hover,
.site-nav__systems-btn[aria-expanded="true"] {
  border-color: rgba(244, 235, 221, 0.65);
  background: rgba(244, 235, 221, 0.06);
}

.site-nav__systems-chevron {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s;
}

.site-nav__systems-btn[aria-expanded="true"] .site-nav__systems-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.site-nav__systems-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 200;
  width: min(18rem, calc(100vw - 2rem));
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 1rem 0;
  background: rgba(11, 16, 32, 0.97);
  border: 1px solid rgba(244, 235, 221, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  mix-blend-mode: normal;
}

.site-nav__systems-intro {
  margin: 0 1.15rem 0.75rem;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav__systems-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__systems-list--soon {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(244, 235, 221, 0.08);
}

.site-nav__systems-soon-label {
  margin: 0.75rem 1.15rem 0.35rem;
  font-size: var(--text-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-whisper);
}

.site-nav__systems-link {
  display: block;
  padding: 0.5rem 1.15rem;
  font-size: var(--text-md);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav__systems-link:hover {
  background: rgba(244, 235, 221, 0.06);
  color: var(--accent-cream);
}

.site-nav__systems-link.is-active {
  color: var(--accent-cream);
  background: rgba(184, 169, 217, 0.12);
}

.site-nav__systems-link--soon {
  opacity: 0.45;
  cursor: default;
}

.site-nav__systems-all {
  display: block;
  margin: 0.75rem 1.15rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(244, 235, 221, 0.08);
  font-size: var(--text-sm);
  color: var(--accent-lavender);
  text-decoration: none;
}

.site-nav__systems-all:hover {
  color: var(--accent-cream);
}

@media (min-width: 768px) {
  .site-nav__systems-panel {
    width: 15.5rem;
  }
}

.site-wrap {
  position: relative;
  z-index: 1;
}

/* ─── Hero: recognition before sell ─── */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
  position: relative;
}

.hero__grid {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 2rem;
  }
}

.hero__thought {
  font-family: var(--font-voice);
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--accent-cream);
  max-width: 11ch;
}

.hero__thought em {
  font-style: italic;
  color: var(--accent-lavender);
  display: block;
  font-size: 0.72em;
  margin-top: 0.15em;
}

.hero__release {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  max-width: 36ch;
}

.hero__release-label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero__release-line {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hero__release-line strong {
  font-weight: 500;
  color: var(--accent-cream);
}

.hero__aside {
  position: relative;
  min-height: 280px;
}

@media (min-width: 900px) {
  .hero__aside { min-height: 420px; }
}

/* Floating artifact stack — product felt, not clipart */
.artifact-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  aspect-ratio: 3 / 4;
}

.artifact {
  position: absolute;
  border-radius: 6px;
  border: 1px solid rgba(245, 240, 232, 0.12);
  background: linear-gradient(145deg, var(--bg-indigo) 0%, var(--bg-deep) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.artifact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 18, 0.7) 100%);
}

.artifact__phase {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.artifact__whisper {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 1;
  font-family: var(--font-voice);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
}

.artifact--a {
  width: 72%;
  height: 78%;
  top: 0;
  right: 0;
  transform: rotate(4deg);
  animation: float-a 9s var(--ease-breathe) infinite alternate;
}

.artifact--b {
  width: 68%;
  height: 74%;
  bottom: 8%;
  left: 0;
  transform: rotate(-7deg);
  animation: float-b 11s var(--ease-breathe) infinite alternate;
}

.artifact--c {
  width: 42%;
  height: 38%;
  top: 38%;
  left: 28%;
  transform: rotate(2deg);
  background: rgba(184, 169, 201, 0.12);
  backdrop-filter: blur(8px);
  animation: float-c 13s var(--ease-breathe) infinite alternate;
}

@keyframes float-a {
  to { transform: rotate(6deg) translateY(-8px); }
}
@keyframes float-b {
  to { transform: rotate(-5deg) translateY(6px); }
}
@keyframes float-c {
  to { transform: rotate(0deg) translate(-4px, -6px); }
}

body.reduce-motion .artifact { animation: none; }

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.35s;
}

.btn:active { transform: scale(0.98); }

.btn--solid {
  background: var(--accent-cream);
  color: var(--bg-deep);
}

.btn--solid:hover {
  background: #fff;
}

.btn--line {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(245, 240, 232, 0.2);
}

.btn--line:hover {
  color: var(--accent-cream);
  border-color: rgba(245, 240, 232, 0.35);
}

.btn--small {
  padding: 0.65rem 1.2rem;
  font-size: var(--text-sm-plus);
}

.btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ─── Pressure spectrum (OS routing — not a card grid) ─── */
.spectrum {
  padding: clamp(5rem, 14vh, 9rem) 1.25rem;
  position: relative;
}

.spectrum__head {
  width: min(100%, 1320px);
  margin: 0 auto 4rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .spectrum__head {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 4rem;
  }
}

.spectrum__index {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 300;
  line-height: 0.85;
  color: rgba(184, 169, 201, 0.15);
  letter-spacing: -0.04em;
}

.spectrum__title {
  font-family: var(--font-voice);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--accent-cream);
  max-width: 20ch;
  line-height: 1.15;
}

.spectrum__lead {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 48ch;
  margin-top: 1rem;
  line-height: 1.75;
}

.spectrum__axis {
  width: min(100%, 1320px);
  margin: 0 auto 2rem;
  position: relative;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--os-indigo) 0%,
    var(--os-lavender) 25%,
    var(--os-sage) 50%,
    var(--os-gold) 75%,
    var(--os-peach) 100%
  );
  opacity: 0.35;
  border-radius: 2px;
}

.spectrum__axis-labels {
  display: flex;
  justify-content: space-between;
  width: min(100%, 1320px);
  margin: 0 auto 3rem;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-whisper);
}

.spectrum__lanes {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lane {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  padding: 2rem 0;
  position: relative;
  transition: padding-left 0.5s var(--ease-out), background 0.5s;
}

@media (min-width: 768px) {
  .lane {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2.25rem 1rem;
  }
}

.lane:hover {
  padding-left: 1.5rem;
  background: rgba(45, 53, 72, 0.35);
}

.lane__temp {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lane-color, var(--accent-lavender));
}

.lane__name {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--accent-cream);
  letter-spacing: -0.02em;
}

.lane__voice {
  font-family: var(--font-voice);
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.lane__state {
  font-size: var(--text-sm-plus);
  color: var(--text-muted);
  white-space: nowrap;
}

.lane--lavender { --lane-color: var(--os-lavender); }
.lane--sage { --lane-color: var(--os-sage); }
.lane--gold { --lane-color: var(--os-gold); }
.lane--indigo { --lane-color: var(--os-indigo); }
.lane--peach { --lane-color: var(--os-peach); }
.lane--rose { --lane-color: var(--os-rose); }
.lane--dusk { --lane-color: var(--os-dusk); }
.lane--teal { --lane-color: var(--os-teal); }
.lane--ember { --lane-color: var(--os-ember); }
.lane--moss { --lane-color: var(--os-moss); }
.lane--slate { --lane-color: var(--os-slate); }

.lane--live .lane__state { color: var(--accent-sage); }

.lane--priority .lane__state { color: var(--accent-lavender); }

/* ─── Stage (featured — museum, not promo box) ─── */
.stage {
  padding: clamp(4rem, 12vh, 8rem) 1.25rem;
  position: relative;
}

.stage__spot {
  width: min(100%, 1320px);
  margin: 0 auto;
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 169, 201, 0.12), transparent 70%);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 2px;
}

.stage__spot::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(245, 240, 232, 0.04);
  pointer-events: none;
}

.stage__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 2rem;
}

.stage__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--accent-cream);
  max-width: 14ch;
  margin-bottom: 2rem;
}

.stage__title span {
  display: block;
  font-family: var(--font-voice);
  font-style: italic;
  font-size: 0.45em;
  color: var(--accent-lavender);
  margin-top: 0.25em;
  letter-spacing: 0;
}

.stage__body {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.stage__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: 3rem;
  list-style: none;
}

.stage__formats li {
  font-size: var(--text-sm-plus);
  color: var(--text-muted);
}

.stage__formats li::before {
  content: "○ ";
  color: var(--accent-lavender);
}

.stage__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.5rem 2.5rem;
}

.stage__price {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--accent-cream);
}

.stage__note {
  font-size: var(--text-sm);
  color: var(--text-whisper);
  letter-spacing: 0.04em;
}

/* ─── Format strip (film reel rhythm) ─── */
.format-strip {
  padding: 4rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.format-strip__track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.25rem;
  width: max-content;
  animation: strip-scroll 40s linear infinite;
}

body.reduce-motion .format-strip__track {
  animation: none;
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
}

@keyframes strip-scroll {
  to { transform: translateX(-50%); }
}

.format-tile {
  flex: 0 0 auto;
  width: min(280px, 70vw);
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(245, 240, 232, 0.06);
}

.format-tile__glyph {
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  color: rgba(184, 169, 201, 0.2);
  margin-bottom: 1rem;
}

.format-tile h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent-cream);
  margin-bottom: 0.5rem;
}

.format-tile p {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── OS chapters ─── */
.chapter {
  padding: clamp(6rem, 16vh, 10rem) 1.25rem;
  position: relative;
  scroll-margin-top: var(--nav-h);
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background: var(--chapter-wash, transparent);
}

.chapter--lavender { --chapter-wash: radial-gradient(ellipse 70% 50% at 0% 30%, rgba(184, 169, 201, 0.08), transparent); --chapter-accent: var(--os-lavender); }
.chapter--sage { --chapter-wash: radial-gradient(ellipse 60% 40% at 100% 20%, rgba(156, 170, 154, 0.08), transparent); --chapter-accent: var(--os-sage); }
.chapter--gold { --chapter-wash: radial-gradient(ellipse 65% 45% at 50% 0%, rgba(201, 184, 150, 0.1), transparent); --chapter-accent: var(--os-gold); }
.chapter--indigo { --chapter-wash: radial-gradient(ellipse 55% 50% at 0% 80%, rgba(122, 138, 184, 0.1), transparent); --chapter-accent: var(--os-indigo); }
.chapter--peach { --chapter-wash: radial-gradient(ellipse 50% 40% at 100% 60%, rgba(232, 196, 184, 0.09), transparent); --chapter-accent: var(--os-peach); }
.chapter--rose { --chapter-wash: radial-gradient(ellipse 65% 45% at 20% 40%, rgba(196, 169, 154, 0.1), transparent); --chapter-accent: var(--os-rose); }
.chapter--dusk { --chapter-wash: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(168, 159, 201, 0.1), transparent); --chapter-accent: var(--os-dusk); }
.chapter--teal { --chapter-wash: radial-gradient(ellipse 55% 45% at 40% 80%, rgba(143, 170, 164, 0.1), transparent); --chapter-accent: var(--os-teal); }
.chapter--ember { --chapter-wash: radial-gradient(ellipse 60% 45% at 70% 25%, rgba(201, 168, 130, 0.1), transparent); --chapter-accent: var(--os-ember); }
.chapter--moss { --chapter-wash: radial-gradient(ellipse 55% 50% at 15% 60%, rgba(122, 154, 136, 0.1), transparent); --chapter-accent: var(--os-moss); }
.chapter--slate { --chapter-wash: radial-gradient(ellipse 50% 40% at 85% 40%, rgba(138, 148, 184, 0.11), transparent); --chapter-accent: var(--os-slate); }

.chapter__distinction {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(21, 28, 43, 0.55);
  border-left: 2px solid var(--chapter-accent);
  font-size: var(--text-lead);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 52ch;
}

.chapter__distinction strong {
  color: var(--accent-cream);
  font-weight: 500;
}

.chapter__architecture {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
}

.chapter__architecture li {
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(244, 235, 221, 0.08);
  border-radius: 100px;
}

.psyche-triad--quad {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .psyche-triad--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .psyche-triad--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.chapter__inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.chapter__top {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .chapter__top {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.chapter__num {
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 200;
  line-height: 0.8;
  color: rgba(245, 240, 232, 0.04);
  letter-spacing: -0.06em;
}

.chapter__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chapter-accent);
  margin-bottom: 1rem;
}

.chapter__name {
  font-family: var(--font-voice);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--accent-cream);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.chapter__name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.chapter__name-link:hover {
  color: var(--accent-lavender);
}

.chapter__tag {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-style: italic;
}

.chapter__quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--chapter-accent);
  font-family: var(--font-voice);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 28ch;
}

.psyche-triad {
  display: grid;
  gap: 1px;
  background: rgba(245, 240, 232, 0.06);
}

@media (min-width: 700px) {
  .psyche-triad { grid-template-columns: repeat(3, 1fr); }
}

.psyche-triad__cell {
  padding: 1.75rem;
  background: rgba(26, 35, 50, 0.6);
  backdrop-filter: blur(4px);
}

.psyche-triad__label {
  font-size: var(--text-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-whisper);
  margin-bottom: 0.75rem;
}

.psyche-triad__text {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Product tiles — asymmetric magazine */
.product-mosaic {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .product-mosaic {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  .product-tile:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .product-tile:nth-child(2) { grid-column: span 5; }
  .product-tile:nth-child(3) { grid-column: span 5; }
  .product-tile:nth-child(4) { grid-column: span 7; }
  .product-mosaic--single .product-tile { grid-column: span 6; }
  .product-mosaic--duo .product-tile { grid-column: span 6; }
}

.product-tile {
  position: relative;
  padding: 2rem;
  background: rgba(45, 53, 72, 0.5);
  border: 1px solid rgba(245, 240, 232, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}

.product-tile:hover {
  border-color: rgba(184, 169, 201, 0.25);
  transform: translateY(-4px);
}

.product-tile--hero {
  background: linear-gradient(135deg, rgba(45, 53, 72, 0.9) 0%, rgba(37, 43, 61, 0.7) 100%);
}

.product-tile__ghost {
  position: absolute;
  right: -0.15em;
  bottom: -0.2em;
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 200;
  line-height: 0.85;
  color: rgba(245, 240, 232, 0.03);
  pointer-events: none;
  letter-spacing: -0.05em;
}

.product-tile__tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: var(--text-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-tile__tags .is-live { color: var(--accent-sage); }
.product-tile__tags .is-muted { color: var(--text-muted); }

.product-tile__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--accent-cream);
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.product-tile__sub {
  font-size: var(--text-md);
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.product-tile__desc {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.product-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  position: relative;
  z-index: 1;
}

.product-tile__price {
  font-size: 1.5rem;
  font-weight: 300;
}

/* ─── Phase timeline (vertical spine) ─── */
.timeline {
  padding: clamp(5rem, 12vh, 8rem) 1.25rem;
}

.timeline__inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.timeline__intro {
  margin-bottom: 4rem;
}

.timeline__intro h2 {
  font-family: var(--font-voice);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent-cream);
  margin-bottom: 1rem;
}

.timeline__intro p {
  color: var(--text-secondary);
  max-width: 40ch;
  line-height: 1.75;
}

.timeline__spine {
  list-style: none;
  position: relative;
  padding-left: 3rem;
}

.timeline__spine::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-lavender), var(--accent-sage), var(--accent-peach));
  opacity: 0.35;
}

.timeline__step {
  position: relative;
  padding: 0 0 3.5rem 2rem;
}

.timeline__step::before {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--accent-lavender);
}

.timeline__feeling {
  font-family: var(--font-voice);
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-style: italic;
  color: var(--accent-cream);
  margin-bottom: 0.35rem;
}

.timeline__system {
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Boundaries (stark typographic poster) ─── */
.boundaries {
  padding: clamp(6rem, 18vh, 12rem) 1.25rem;
  text-align: center;
}

.boundaries__inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.boundaries__word {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(245, 240, 232, 0.08);
  margin-bottom: 2rem;
}

.boundaries__list {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.boundaries__list li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  max-width: 36ch;
}

/* ─── FAQ ─── */
.faq-zone {
  padding: clamp(4rem, 10vh, 7rem) 1.25rem 8rem;
}

.faq-zone__inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.faq-zone h2 {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.faq-row {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.faq-row summary {
  padding: 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent-cream);
  cursor: pointer;
  list-style: none;
}

.faq-row summary::-webkit-details-marker { display: none; }

.faq-row[open] summary {
  color: var(--accent-lavender);
}

.faq-row__a {
  padding: 0 0 1.5rem;
  font-size: var(--text-lead);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── Free mini web apps (homepage) ─── */
.mini-apps {
  padding: 5rem 1.25rem 4rem;
  position: relative;
}

.mini-apps__inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.mini-apps__head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .mini-apps__head {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.mini-apps__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .mini-apps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .mini-apps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-app-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--mini-accent, var(--os-lavender));
  border-radius: 2px;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mini-app-card:hover {
  background: color-mix(in srgb, var(--mini-accent) 10%, rgba(255, 255, 255, 0.04));
  transform: translateY(-2px);
}

.mini-app-card__os {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mini-accent, var(--os-lavender));
  margin: 0;
}

.mini-app-card__name {
  font-family: var(--font-voice);
  font-size: 1.35rem;
  color: var(--accent-cream);
  margin: 0;
}

.mini-app-card__tag {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 0.5rem;
  flex: 1;
}

.mini-app-card__cta {
  font-size: var(--text-sm-plus);
  color: var(--accent-sage);
  margin: 0;
}

.mini-app-card__shop {
  font-size: var(--text-xs);
  color: var(--text-whisper);
  margin: 0.5rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-app-card__shop a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mini-apps__note {
  margin-top: 2rem;
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 58ch;
}

.choose-card__mini {
  margin: 0.75rem 0 0;
  font-size: var(--text-sm);
}

.choose-card__mini a {
  color: var(--accent-sage);
  text-decoration: none;
}

.choose-card__mini a:hover {
  text-decoration: underline;
}

.choose-card__pills {
  margin: 0.75rem 0 0;
}

.choose-pill {
  display: inline-block;
  margin: 0 0.4rem 0.35rem 0;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.choose-pill--soon {
  border-color: rgba(245, 240, 232, 0.14);
  color: var(--text-muted);
}

/* ─── Footer ─── */
.site-footer {
  padding: 4rem 1.25rem 5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  text-align: center;
}

.site-footer__mark {
  font-family: var(--font-voice);
  font-size: 1.5rem;
  color: var(--accent-cream);
  margin-bottom: 0.5rem;
}

.site-footer__line {
  font-size: var(--text-sm-plus);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.site-footer__legal {
  font-size: var(--text-xs);
  color: var(--text-whisper);
  max-width: 40ch;
  margin: 0 auto;
  line-height: 1.7;
}

.site-footer__legal a {
  color: var(--text-muted);
}
