﻿:root {
  /* ---- color: grounds & surfaces ---- */
  --ground: #14112E;            /* page base under the night hero */
  --surface: #2B2352;           /* solid indigo card */
  --surface-g1: #37306E;        /* card gradient, top */
  --surface-g2: #272159;        /* card gradient, middle */
  --surface-g3: #1B1544;        /* card gradient, bottom */
  --wash: rgba(255, 255, 255, 0.25);       /* light card wash on paper */
  --scrim-rgb: 12, 8, 34;       /* dark-navy scrim base; use rgba(var(--scrim-rgb), a) */

  /* ---- color: ink ---- */
  --ink-dark: #2A2344;          /* headings / text on paper */
  --ink-dark-soft: #5C5570;     /* muted text on paper */
  --ink-light: #F4F0FA;         /* headings / text on dark */
  --ink-light-soft: rgba(244, 240, 250, 0.8);  /* muted text on dark */
  --lav-soft: #C9C2E4;          /* lavender secondary text on dark */
  --white: #FFFFFF;             /* button labels */

  /* ---- color: accent ---- */
  --accent: #8E4F9E;            /* the button/icon purple */
  --accent-hover: #784187;
  --accent-pink: #B0639B;       /* hero eyebrow ONLY (deliberate exception) */

  /* ---- color: lines ---- */
  --line-dark: rgba(38, 32, 64, 0.18);          /* hairlines on paper */
  --line-light: rgba(244, 240, 250, 0.25);      /* hairlines on dark */
  --line-light-strong: rgba(244, 240, 250, 0.35); /* pill borders on dark */

  /* ---- color: golds (inline SVG art; purple/gold balance still open) ---- */
  --gold-line: #D4AF6E;         /* story chart-wheel strokes */
  --gold-icon: #E7DFC9;         /* chapter icon cream */
  --gold-node: #E8C98A;         /* wheel nodes + story stars */

  /* ---- color: story night radial ---- */
  --night-deep: #0E0A2A;
  --night-heavy: rgba(20, 14, 54, 0.9);
  --night-mid: rgba(34, 25, 76, 0.55);
  --night-faint: rgba(56, 42, 110, 0.22);

  /* ---- type ---- */
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
  --font-script: 'Caveat', cursive;
  --t-hero: 96px;      /* hero headline */
  --t-display: 58px;   /* section titles */
  --t-display-s: 44px; /* small display: story title, quote mark, mobile headline */
  --t-sign: 40px;      /* Caveat signature */
  --t-title: 26px;     /* card titles, prices */
  --t-price: 24px;     /* shelf price, deliberate step below t-title */
  --t-title-s: 22px;   /* wordmark tier */
  --t-lead: 17px;      /* subheads, leads */
  --t-body: 15px;      /* body copy */
  --t-small: 13px;     /* labels, kickers, descriptions */
  --t-micro: 12px;     /* tags, fine print */
  --w-medium: 500;
  --w-semibold: 600;
  --lh-none: 1;
  --lh-tight: 1.15;    /* display headings */
  --lh-heading: 1.25;  /* multi-line titles */
  --lh-snug: 1.4;
  --lh-normal: 1.6;    /* body */
  --lh-loose: 1.75;    /* long-form small text */
  --ls-none: 0;
  --ls-wide: 0.1em;
  --ls-wider: 0.15em;  /* buttons, kickers */
  --ls-label: 0.22em;  /* eyebrows, wordmark */
  --ls-cap: 0.28em;    /* widest ceremonial spacing */

  /* ---- space ---- */
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;        /* section vertical rhythm */
  --s-card-chapter: 20px; /* optical exception: chapter-card horizontal padding, keeps 4-col titles on one line */
  --gutter: 56px;      /* desktop section gutter (mobile gutter = --s-24) */

  /* ---- containers ---- */
  --container: 1320px;       /* standard content width */
  --container-hero: 1460px;  /* hero exception, deliberate */
  --container-exp: 1460px;   /* experience section exception - chapter titles must not wrap */

  /* ---- shape & motion ---- */
  --r-btn: 8px;
  --r-card: 20px;
  --r-pill: 999px;
  --transition: 150ms ease;
}
/* ============================================================
   Cazimi Nai — v35: v32 hero + 'The Experience' chapter cards.
   Full-bleed night (heroimage8), centred ceremonial composition.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-mono);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  color: var(--ink-light);
  background: var(--ground);
}

/* full-bleed art */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 125vh;
  z-index: -1;
  background: url("/Images/LandPage/heroimage15.png") center / cover no-repeat;
  background-image: image-set(url("/Images/LandPage/optimized/heroimage15.avif") type("image/avif"), url("/Images/LandPage/optimized/heroimage15.webp") type("image/webp"), url("/Images/LandPage/heroimage15.png") type("image/png"));
}

/* ---------------- nav ---------------- */

.nav {
  position: absolute;
  z-index: 1; /* above .hero's transform stacking context — without this the hero swallows nav clicks */
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-12) var(--gutter);
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
}

/* dark ink on the paper bar */
.nav .nav-glyph, .nav .nav-wordmark { color: var(--ink-dark); }
.nav .nav-links a { color: var(--ink-dark-soft); }
.nav .nav-links a:hover, .nav .nav-links a.is-active { color: var(--ink-dark); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  text-decoration: none;
}

.nav-glyph { width: 34px; height: 34px; color: var(--ink-light); }

.nav-wordmark {
  font-family: var(--font-display);
  font-size: var(--t-title-s);
  font-weight: var(--w-medium);
  letter-spacing: var(--ls-cap);
  color: var(--ink-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s-32);
}

.nav-links {
  display: flex;
  gap: var(--s-32);
  list-style: none;
}

.nav-links a {
  font-size: var(--t-small);
  font-weight: var(--w-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lav-soft);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--ink-light); }

.nav-links a.is-active {
  color: var(--ink-light);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
}

.nav-begin {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-light);
  background: rgba(var(--scrim-rgb), 0.55);
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  padding: var(--s-12) var(--s-24);
  transition: background var(--transition);
}

.nav-begin:hover { background: rgba(var(--scrim-rgb), 0.8); }

/* ---------------- hero ---------------- */

.hero {
  max-width: var(--container-hero);
  margin: 0 auto;
  min-height: 125vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-96) var(--s-24) 220px;
  transform: translateY(-17vh);
}

.ornament {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.eyebrow {
  margin-top: var(--s-24);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-cap);
  color: var(--accent-pink);
}

.headline {
  margin-top: var(--s-16);
  font-family: var(--font-display);
  font-size: var(--t-hero);
  font-weight: var(--w-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-none);
  color: var(--ink-light);
}

.subhead {
  margin-top: var(--s-24);
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
  color: var(--lav-soft);
  max-width: 62ch;
}

/* ---------------- CTA row ---------------- */

.cta-row {
  margin-top: var(--s-48);
  display: flex;
  align-items: center;
  gap: var(--s-24);
  flex-wrap: wrap;
  justify-content: center;
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: var(--s-16);
  border: 1px solid var(--line-light-strong);
  background: linear-gradient(170deg, var(--surface-g1) 0%, var(--surface-g2) 48%, var(--surface-g3) 100%);
  border-radius: var(--r-pill);
  padding: var(--s-8) var(--s-32) var(--s-8) var(--s-8);
  font-family: var(--font-mono);
  font-size: var(--t-lead);
  color: var(--ink-light);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-preview:hover { filter: brightness(1.15); }

.btn-preview .play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-preview .play-circle svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  color: var(--ink-light);
}

.btn-journey {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: var(--r-pill);
  padding: var(--s-16) var(--s-32);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: filter var(--transition);
}

.btn-journey:hover { background: var(--accent-hover); }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .nav { padding: var(--s-24); flex-wrap: wrap; gap: var(--s-16); justify-content: center; }
  .nav-links { gap: var(--s-16); }
  .headline { font-size: var(--t-display-s); }
  .subhead { font-size: var(--t-body); }
  .cta-row { flex-direction: column; }
}

/* ============ section 2: The Experience (papertex) ============ */

.experience {
  position: relative;
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  padding: var(--s-96) var(--gutter) var(--s-96);
}

.exp-inner {
  max-width: var(--container-exp);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--s-64);
  align-items: center;
}

.exp-eyebrow {
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
  color: var(--accent);
}

.exp-title {
  margin-top: var(--s-24);
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: var(--w-medium);
  line-height: var(--lh-tight);
  color: var(--ink-dark);
}

.exp-body {
  margin-top: var(--s-24);
  font-size: var(--t-body);
  line-height: var(--lh-loose);
  color: var(--ink-dark-soft);
  max-width: 30ch;
}

.exp-cta {
  margin-top: var(--s-32);
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  border: none;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  border-radius: var(--r-btn);
  padding: var(--s-16) var(--s-24);
  cursor: pointer;
  transition: background var(--transition);
}

.exp-cta:hover { background: var(--accent-hover); }

.exp-cta svg { width: 14px; height: 14px; }

/* ---- chapter cards ---- */

.chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-24);
}

.chapter {
  border-radius: var(--r-card);
  background: linear-gradient(170deg, var(--surface-g1) 0%, var(--surface-g2) 48%, var(--surface-g3) 100%);
  padding: var(--s-48) var(--s-card-chapter) var(--s-32);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.chapter svg {
  width: 138px;
  height: 138px;
  flex-shrink: 0;
}

.chapter-num {
  margin-top: var(--s-32);
  font-size: var(--t-small);
  letter-spacing: var(--ls-wide);
  color: var(--ink-light-soft);
}

.chapter-title {
  margin-top: var(--s-8);
  font-size: var(--t-lead);
  font-weight: var(--w-semibold);
  line-height: var(--lh-snug);
  color: var(--ink-light);
}

.chapter-sub {
  margin-top: var(--s-8);
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

/* ---- carousel controls (visual only) ---- */

.carousel {
  margin-top: var(--s-48);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-24);
}

.car-arrow {
  border: none;
  background: none;
  color: var(--ink-dark);
  cursor: pointer;
  padding: 4px;
}

.car-arrow svg { width: 26px; height: 26px; display: block; }

.car-dots {
  display: flex;
  align-items: center;
  gap: var(--s-12);
}

.car-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
}

.car-dots span.is-active { opacity: 1; }

@media (max-width: 1200px) {
  .exp-inner { grid-template-columns: 1fr; gap: var(--s-48); }
  .chapters { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .experience { padding: var(--s-64) var(--s-24) var(--gutter); }
  .exp-title { font-size: var(--t-display-s); }
  .chapters { grid-template-columns: 1fr; }
}
/* ============ section 3: feature cards (papertex) ============ */

.features-band {
  position: relative;
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  padding: var(--s-24) var(--gutter) var(--s-96);
}

.features {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-24);
}

.feature {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  padding: var(--s-32) var(--s-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-icon svg { width: 36px; height: 36px; }

.feature-title {
  margin-top: var(--s-24);
  font-size: var(--t-lead);
  font-weight: var(--w-semibold);
  color: var(--ink-dark);
}

.feature-desc {
  margin-top: var(--s-12);
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--ink-dark-soft);
  max-width: 20ch;
}

@media (max-width: 1200px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .features-band { padding: var(--s-24) var(--s-24) var(--s-64); }
  .features { grid-template-columns: 1fr; }
}
/* ============ heroimage14 (day) overrides: dark ink on cream ============ */

.ornament { color: var(--accent); }
.headline { color: var(--ink-dark); }
.subhead { color: var(--ink-dark-soft); }
/* ============ section 3: testimonials (papertex) ============ */

.quotes-band {
  position: relative;
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  padding: var(--s-24) var(--gutter) var(--s-32);
}

.quotes {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}

.quote-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  background: var(--wash);
  padding: var(--s-32) var(--s-32) var(--s-32);
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: var(--t-display-s);
  line-height: var(--lh-none);
  color: var(--accent);
}

.quote-text {
  margin-top: var(--s-16);
  font-size: var(--t-body);
  line-height: var(--lh-loose);
  color: var(--ink-dark);
  max-width: 24ch;
}

.quote-text strong { font-weight: var(--w-semibold); }

.quote-name {
  margin-top: var(--s-16);
  font-size: var(--t-small);
  color: var(--ink-dark-soft);
}

.quote-stars {
  margin-top: var(--s-12);
  font-size: var(--t-body);
  letter-spacing: var(--ls-cap);
  color: var(--accent);
}

.quote-people { margin-top: var(--s-12); color: var(--accent); }

.quote-people svg { width: 52px; height: 30px; }

@media (max-width: 1200px) {
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 700px) {
  .quotes-band { padding: var(--s-24) var(--s-24); }
}
/* ============ section 5: Our Story (paper into night) ============ */

.story {
  position: relative;
  overflow: hidden;
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* cream melts into deep indigo toward the right */
.story-night {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 130% at 108% 50%, var(--night-deep) 30%, var(--night-heavy) 48%, var(--night-mid) 62%, var(--night-faint) 74%, transparent 84%);
}

.story-wheel {
  position: absolute;
  right: -110px;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
}

.story-star {
  position: absolute;
  color: var(--gold-node);
  text-shadow: none;
}

.story-star.s1 { right: 8%;  top: 12%; font-size: var(--t-title-s); }
.story-star.s2 { right: 30%; top: 22%; font-size: var(--t-small); opacity: 0.8; }
.story-star.s3 { right: 12%; bottom: 14%; font-size: var(--t-lead); opacity: 0.9; }
.story-star.s4 { right: 40%; bottom: 30%; font-size: var(--t-micro); opacity: 0.65; }

.story-copy {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-96) var(--gutter);
}

.story-eyebrow {
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
  color: var(--accent);
}

.story-title {
  margin-top: var(--s-24);
  font-family: var(--font-display);
  font-size: var(--t-display-s);
  font-weight: var(--w-medium);
  line-height: var(--lh-heading);
  color: var(--ink-dark);
}

.story-body {
  margin-top: var(--s-24);
  font-size: var(--t-body);
  line-height: var(--lh-loose);
  color: var(--ink-dark-soft);
}

.story-body + .story-body { margin-top: var(--s-16); }

.story-sign {
  margin-top: var(--s-32);
  font-family: var(--font-script);
  font-size: var(--t-sign);
  line-height: var(--lh-none);
  color: var(--ink-dark);
}

.story-heart {
  font-family: var(--font-mono);
  font-size: var(--t-title-s);
  color: var(--accent);
  vertical-align: 8px;
}

@media (max-width: 900px) {
  .story-wheel { width: 480px; height: 480px; right: -180px; opacity: 0.85; }
  .story-copy { padding: var(--s-64) var(--s-24); }
}
/* ============ v38: chapter 01 uses identity04 as product cover ============ */

.chapter-cover { padding: 0; }

.chapter-art {
  display: block;
  width: 100%;
  height: 252px;
  object-fit: cover;
  border-radius: var(--r-card) var(--r-card) 0 0;
}

.chapter-cover .chapter-body {
  padding: 0 var(--s-card-chapter) var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* ============ section 7: product shelf, layout B (papertex) ============ */

.shelf-band {
  position: relative;
  background: url("/Images/LandPage/papertex.png") center / cover;
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  padding: var(--s-24) var(--gutter) var(--s-96);
}

.shelf {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}

.shelf-card {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.shelf-art { position: relative; }

.shelf-art img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.shelf-body {
  padding: var(--s-24) var(--s-24) var(--s-24);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shelf-title {
  font-family: var(--font-display);
  font-size: var(--t-title);
  font-weight: var(--w-medium);
  color: var(--ink-light);
}

.shelf-kicker {
  margin-top: var(--s-8);
  font-size: var(--t-small);
  color: var(--lav-soft);
}

.shelf-foot {
  margin-top: auto;
  padding-top: var(--s-16);
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shelf-foot { margin-top: var(--s-24); }

.shelf-price {
  font-family: var(--font-display);
  font-size: var(--t-price);
  color: var(--ink-light);
}

.shelf-enter {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
  cursor: pointer;
}

.shelf-arrow { letter-spacing: var(--ls-none); margin-left: var(--s-8); }

@media (max-width: 1200px) {
  .shelf { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .shelf { grid-template-columns: 1fr; }
  .shelf-band { padding: var(--s-24) var(--s-24) var(--s-64); }
}
/* ============ section 8: minimal shelf overrides ============ */

.shelf-band--min .shelf-body { padding: var(--s-24) var(--s-24) var(--s-24); }

.shelf-band--min .shelf-foot { margin-top: var(--s-16); padding-top: var(--s-16); }

/* picture-element wrappers (AVIF/WebP sources) */

.chapter-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chapter-art img { border-radius: var(--r-card) var(--r-card) 0 0; }
/* ============ footer: legal surface + site map (skeleton step 1) ============ */

.site-footer {
  background: var(--ground);
  color: var(--ink-light-soft);
  padding: var(--s-64) var(--gutter) var(--s-32);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-48);
}

.footer-wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-title-s);
  font-weight: var(--w-medium);
  letter-spacing: var(--ls-cap);
  color: var(--ink-light);
}

.footer-tagline {
  display: block;
  margin-top: var(--s-8);
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
  color: var(--lav-soft);
}

.footer-note {
  margin-top: var(--s-16);
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  max-width: 34ch;
}

.footer-col { display: flex; flex-direction: column; gap: var(--s-12); }

.footer-head {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--lav-soft);
}

.footer-col a {
  font-size: var(--t-small);
  color: var(--ink-light-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--ink-light); }

.footer-legal {
  max-width: var(--container);
  margin: var(--s-48) auto 0;
  padding-top: var(--s-24);
  border-top: 1px solid var(--line-light);
  font-size: var(--t-micro);
  color: var(--ink-light-soft);
}

@media (max-width: 900px) {
  .site-footer { padding: var(--s-48) var(--s-24) var(--s-24); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}
/* ============ subpage shell (privacy / terms / contact / faq stubs) ============ */

.subpage { background: url("/Images/LandPage/papertex.png") center / cover; }
.subpage {
  background-image: image-set(url("/Images/LandPage/optimized/papertex.avif") type("image/avif"), url("/Images/LandPage/optimized/papertex.webp") type("image/webp"), url("/Images/LandPage/papertex.png") type("image/png"));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* the landing nav is absolute over the hero; subpages need it in flow, dark on paper */
.subnav { position: static; }
.subnav .nav-glyph, .subnav .nav-wordmark { color: var(--ink-dark); }
.subnav .nav-links a { color: var(--ink-dark-soft); }
.subnav .nav-links a:hover { color: var(--ink-dark); }

.page-shell {
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-64) var(--gutter) var(--s-96);
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: var(--w-medium);
  line-height: var(--lh-tight);
  color: var(--ink-dark);
}

.page-updated {
  margin-top: var(--s-12);
  font-size: var(--t-small);
  color: var(--ink-dark-soft);
}

.page-body {
  margin-top: var(--s-32);
  max-width: 62ch;
  font-size: var(--t-body);
  line-height: var(--lh-loose);
  color: var(--ink-dark-soft);
}

.page-body p + p { margin-top: var(--s-16); }

.stub-note {
  color: var(--ink-dark);
  font-weight: var(--w-medium);
}

.page-link { color: var(--accent); }

@media (max-width: 700px) {
  .page-shell { padding: var(--s-48) var(--s-24) var(--s-64); }
  .page-title { font-size: var(--t-display-s); }
}
/* ============ product page (skeleton step 4) ============ */

.product-shell { padding-top: var(--s-48); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: var(--s-64);
  align-items: start;
}

.product-kicker {
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
  color: var(--accent);
}

.product-info .page-title { margin-top: var(--s-12); }

.product-subtitle {
  margin-top: var(--s-8);
  font-size: var(--t-lead);
  color: var(--ink-dark-soft);
}

.product-meta {
  margin-top: var(--s-16);
  font-size: var(--t-body);
  color: var(--ink-dark);
}

.product-meta-price {
  font-family: var(--font-display);
  font-size: var(--t-price);
}

.product-soon-tag {
  display: inline-block;
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--accent);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: var(--s-8) var(--s-16);
}

.product-art { margin-top: var(--s-24); max-width: 560px; }

.product-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-card);
}

.sample {
  margin-top: var(--s-32);
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: var(--s-24);
}

.sample-label {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
}

.sample audio { width: 100%; margin-top: var(--s-16); display: block; }

.sample-missing {
  margin-top: var(--s-16);
  font-size: var(--t-small);
  color: var(--ink-light-soft);
}

.product-back { margin-top: var(--s-32); font-size: var(--t-small); }

.intake {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: var(--s-32);
  color: var(--ink-light);
}

.intake-kicker {
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-label);
  color: var(--lav-soft);
}

.intake-pending {
  margin-top: var(--s-16);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; gap: var(--s-32); }
}
/* ============ intake form (skeleton step 5) ============ */

.intake-form { margin-top: var(--s-24); display: flex; flex-direction: column; gap: var(--s-16); }

.intake-form .field { display: flex; flex-direction: column; gap: var(--s-8); }

.intake-form label {
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  color: var(--ink-light);
}

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form input[type="date"],
.intake-form input[type="time"] {
  font-family: var(--font-mono);
  font-size: var(--t-body);
  color: var(--ink-light);
  background: rgba(var(--scrim-rgb), 0.4);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-btn);
  padding: var(--s-12) var(--s-16);
  transition: border-color var(--transition);
}

.intake-form input:focus { outline: none; border-color: var(--accent); }

.intake-form input.is-invalid { border-color: var(--accent-pink); }

.field-hint {
  font-size: var(--t-micro);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

.field-error {
  font-size: var(--t-micro);
  line-height: var(--lh-normal);
  color: var(--accent-pink);
}

.consent { display: flex; flex-direction: column; gap: var(--s-12); margin-top: var(--s-8); }

.check {
  display: flex;
  gap: var(--s-12);
  align-items: flex-start;
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

.check input { margin-top: 3px; /* optical: aligns box with first text line */ accent-color: var(--accent); }

.intake-link { color: var(--lav-soft); }

.intake-submit {
  margin-top: var(--s-8);
  border: none;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--t-lead);
  font-weight: var(--w-semibold);
  border-radius: var(--r-btn);
  padding: var(--s-16) var(--s-24);
  cursor: pointer;
  transition: background var(--transition);
}

.intake-submit:hover:not(:disabled) { background: var(--accent-hover); }

.intake-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.intake-reassure {
  font-size: var(--t-small);
  text-align: center;
  color: var(--ink-light-soft);
}

.intake-notice {
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--gold-node);
  border: 1px solid var(--line-light);
  border-radius: var(--r-btn);
  padding: var(--s-12) var(--s-16);
}
/* ============ journeys catalogue (skeleton step 6) ============ */

.page-lede {
  margin-top: var(--s-16);
  font-size: var(--t-lead);
  line-height: var(--lh-normal);
  color: var(--ink-dark-soft);
  max-width: 48ch;
}

.catalogue {
  margin-top: var(--s-48);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-light);
  transition: filter var(--transition);
}

.cat-card:hover { filter: brightness(1.08); }

.cat-card--soon .cat-art { filter: saturate(0.6) brightness(0.85); }

.cat-art img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--s-24);
}

.cat-kicker {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
}

.cat-title {
  margin-top: var(--s-8);
  font-family: var(--font-display);
  font-size: var(--t-title);
  font-weight: var(--w-medium);
  line-height: var(--lh-heading);
}

.cat-sub {
  margin-top: var(--s-8);
  font-size: var(--t-small);
  color: var(--ink-light-soft);
}

.cat-blurb {
  margin-top: var(--s-12);
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

.cat-foot {
  margin-top: auto;
  padding-top: var(--s-16);
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  gap: var(--s-16);
}

.cat-foot { margin-top: var(--s-24); }

.cat-blurb { flex: 1; }

.cat-price {
  font-family: var(--font-display);
  font-size: var(--t-price);
}

.cat-time { font-size: var(--t-small); color: var(--ink-light-soft); }

.cat-begin {
  margin-left: auto;
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
}

.cat-soon {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
}

@media (max-width: 1200px) {
  .catalogue { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .catalogue { grid-template-columns: 1fr; }
}
/* ============ landing card wiring additions (skeleton step 7) ============
   Two content states the static grid never had; styled from existing tokens. */

.shelf-time { font-size: var(--t-small); color: var(--ink-light-soft); }

a.shelf-enter { text-decoration: none; }

.shelf-soon {
  font-size: var(--t-micro);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--lav-soft);
}
/* ============ coming-soon overlay on static layouts A + B ============
   Same .shelf-soon state as step 7; .art-soon only places it over cover art.
   Scrim backing for legibility on cover art. */

.cat-art { position: relative; /* anchor for the coming-soon overlay */ }

.shelf-art .shelf-soon.art-soon,
.cat-art .shelf-soon.art-soon {
  position: absolute;
  top: var(--s-16);
  right: var(--s-16);
  z-index: 2;
  background: rgba(var(--scrim-rgb), 0.55);
  border-radius: var(--r-pill);
  padding: var(--s-8) var(--s-16);
}
/* step 8: btn-journey and exp-cta became anchors — suppress link underline */
a.btn-journey, a.exp-cta { text-decoration: none; }
/* ============ FAQ page ============ */

.faq-list { max-width: 62ch; }

.faq-item {
  border-bottom: 1px solid var(--line-dark);
  padding: var(--s-16) 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: var(--t-lead);
  font-weight: var(--w-medium);
  color: var(--ink-dark);
  list-style-position: outside;
}

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

.faq-item p { margin-top: var(--s-12); }

.faq-list > p { margin-top: var(--s-24); }
/* ============ Nominatim place autocomplete (Part F1) ============ */

.place-wrap { position: relative; }

.place-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  list-style: none;
  margin: var(--s-8) 0 0;
  padding: var(--s-8);
  background: var(--surface-g3);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-btn);
  max-height: 240px;
  overflow-y: auto;
}

.place-option {
  padding: var(--s-12) var(--s-16);
  font-size: var(--t-small);
  color: var(--ink-light);
  border-radius: var(--r-btn);
  cursor: pointer;
}

.place-option:hover { background: var(--surface-g1); }
/* Bot honeypot: offscreen, not display:none (bots skip hidden inputs).
   -9999px is the standard offscreen technique, not a spacing value. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
}
/* ============ contact widget (Part F6) ============ */

.contact-card { max-width: 640px; margin-top: var(--s-32); }

.topic-grid {
  margin-top: var(--s-24);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  text-align: left;
  background: var(--surface-g3);
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  padding: var(--s-24);
  cursor: pointer;
  transition: background var(--transition);
}

.topic-card:hover { background: var(--surface-g1); }

.topic-title {
  font-size: var(--t-body);
  font-weight: var(--w-semibold);
  color: var(--ink-light);
}

.topic-sub {
  font-size: var(--t-small);
  line-height: var(--lh-normal);
  color: var(--ink-light-soft);
}

.contact-promise {
  margin-top: var(--s-16);
  font-size: var(--t-small);
  color: var(--ink-light-soft);
}

.contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
}

.contact-change {
  border: none;
  background: none;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--lav-soft);
  cursor: pointer;
  text-decoration: underline;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}

.intake-form textarea {
  font-family: var(--font-mono);
  font-size: var(--t-body);
  color: var(--ink-light);
  background: rgba(var(--scrim-rgb), 0.4);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-btn);
  padding: var(--s-12) var(--s-16);
  resize: vertical;
  transition: border-color var(--transition);
}

.intake-form textarea:focus { outline: none; border-color: var(--accent); }

@media (max-width: 700px) {
  .topic-grid, .field-row { grid-template-columns: 1fr; }
}