/* SpiraFlora — olive on bone, one motif: the coil of steam */
:root {
  --bg: #ecebe7;
  --surface: #e1dfd9;
  --ink: #38450f;
  --muted: #5d683a;
  --accent: #38450f;
  --accent-ink: #ecebe7;
  --field: #38450f;
  --field-ink: #ecebe7;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.6rem, 1rem + 6.4vw, 6.25rem);
  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 12vw, 13rem);
  --radius: 999px;
  --max: 1220px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.12; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em { font-style: inherit; color: inherit; font-weight: inherit; }

p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--margin) * 2);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.label, .sec-no, .chapter-no, .g-no, .g-tag, .tile-strip, .header-note { display: none !important; }
.lede { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); line-height: 1.45; }
.serif { font-family: var(--font); font-weight: 500; }
.nums { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: var(--margin); top: -4rem;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1.2rem; z-index: 100; border-radius: var(--radius);
}
.skip:focus { top: 0.6rem; }

/* Buttons — fully round, the coil */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: var(--radius);
  font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn::after { display: none; }
.btn:active { transform: scale(0.97); }
.btn:hover { background: #2c370c; color: var(--accent-ink); }
.btn-line { background: var(--surface); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--accent-ink); }
.btn-light, .btn-gold { background: var(--accent-ink); color: var(--ink); }
.btn-light:hover, .btn-gold:hover { background: var(--surface); color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }
.btn.no-arrow::after { display: none; }

.link {
  display: inline; font-weight: 500;
  text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em;
}
.link::after { content: none; }
.link-light { color: var(--accent-ink); }

/* Notice — required health disclaimer, not a chrome bar */
.notice-bar, .topline {
  background: var(--surface); color: var(--ink);
  font-size: var(--step-small); padding: 0.7rem var(--margin);
  text-align: left;
}
.notice-bar p, .topline p { margin: 0; max-width: none; }
.topline .container { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.topline-meta { display: none; }
.topline a, .notice-bar a { font-weight: 500; }

/* Header — plain bar */
.site-header { background: var(--bg); }
.header-bar {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 4.5rem; padding-top: 0.4rem; padding-bottom: 0.4rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand svg { width: 32px; height: 32px; flex: none; }
.brand-name {
  font-size: 1.35rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.brand-name b { font-weight: 600; font-style: inherit; color: inherit; }
.header-tools { display: flex; align-items: center; gap: 0.6rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.6rem; padding: 0 0.9rem 0 1.1rem;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: transform var(--t-press) var(--ease-out);
}
.cart-link:hover { color: var(--accent-ink); }
.cart-link:active { transform: scale(0.97); }
.cart-link [data-cart-count] {
  display: inline-grid; place-items: center;
  min-width: 1.5rem; height: 1.5rem; padding: 0 0.3rem;
  border-radius: var(--radius); background: var(--accent-ink); color: var(--ink);
  font-size: 0.75rem; font-weight: 600;
}

.main-nav { display: flex; }
.nav-inner { display: flex; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0;
}
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28em; text-decoration-thickness: 0.08em; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; width: 2.6rem; height: 2.6rem; border-radius: var(--radius);
  cursor: pointer; position: relative; background: var(--surface);
}
.burger span {
  position: absolute; left: 0.7rem; right: 0.7rem; height: 2px; background: var(--ink);
  transition: transform var(--t-ui) var(--ease-out), opacity var(--t-hover) ease;
}
.burger span:nth-child(1) { top: 0.85rem; }
.burger span:nth-child(2) { top: 1.25rem; }
.burger span:nth-child(3) { top: 1.65rem; }

@media (max-width: 1000px) {
  .burger { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); max-height: 0; overflow: hidden; visibility: hidden;
    display: block;
  }
  .nav-inner { flex-direction: column; gap: 0; padding: 0.5rem var(--margin) 1.4rem; }
  .main-nav a { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; padding: 0.55rem 0; }
  .nav-toggle:checked ~ .header-bar .main-nav,
  .header-bar:has(.nav-toggle:checked) .main-nav,
  .nav-toggle:checked ~ .main-nav {
    max-height: 90vh; overflow-y: auto; visibility: visible;
  }
  .site-header { position: relative; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(1),
  .header-bar:has(.nav-toggle:checked) .burger span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(2),
  .header-bar:has(.nav-toggle:checked) .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(3),
  .header-bar:has(.nav-toggle:checked) .burger span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .brand-name { font-size: 1.15rem; }
  .cart-link .cart-word { display: none; }
  .cart-link { padding: 0 0.55rem; }
}

/* Place nav in the bar on desktop */
@media (min-width: 1001px) {
  .header-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
  .brand { margin-right: 0; }
  .main-nav { justify-content: center; }
  .nav-inner { justify-content: center; }
}

/* ========== Home hero: type + photograph ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  padding: 0;
}
.hero-bg { display: none; }
.hero-motif { display: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 6vh, 4.5rem) 0 clamp(2.5rem, 6vh, 4rem);
}
.hero-copy { max-width: none; position: relative; z-index: 1; }
.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 92px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: 9ch;
  margin-bottom: 1.2rem;
}
.hero .lede {
  font-size: 19px; line-height: 1.45; font-weight: 400;
  max-width: 36ch; color: var(--ink);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.hero-note { display: none; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--surface);
}
.fact { padding: 0; }
.fact + .fact::before { display: none; }
.fact strong {
  display: block; font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.3rem;
}
.fact span { font-size: 0.95rem; color: var(--ink); }

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem 0 0;
  }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 11.5vw; max-width: 10ch; }
  .hero .lede { font-size: 16px; }
  .hero-photo img { aspect-ratio: 5 / 4; }
  .facts > .container { grid-template-columns: 1fr 1fr !important; }
}

/* Sections */
.section { padding: calc(var(--section) / 2) 0; }
.section.tint { background: var(--surface); }
.section.dark, .dark {
  background: var(--field); color: var(--field-ink);
}
.dark::before { display: none; }
.sec-head { max-width: 28ch; margin: 0 0 clamp(2rem, 5vw, 3.5rem); text-align: left; }
.sec-head .sec-body h2 { margin-bottom: 0.6rem; }
.sec-head p { color: var(--ink); max-width: 42ch; margin: 0; }
.dark .sec-head p { color: var(--field-ink); }
.actions { margin-top: 1.6rem; }

/* Catalog as a photo shelf */
.index-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.index-row {
  display: grid; grid-template-columns: 1fr;
  gap: 0; align-items: stretch;
  padding: 0; background: var(--surface);
  position: relative;
}
.index-thumb {
  width: 100%; aspect-ratio: 1; overflow: hidden;
  background: var(--bg); display: block;
}
.index-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.index-main { padding: 0.9rem 1rem 1.05rem; }
.index-line { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.index-line h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.03em; }
.index-line h3 a { text-decoration: none; }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.dots { display: none; }
.index-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.index-meta { margin: 0.25rem 0 0; font-size: 0.95rem; }
.index-format { margin: 0.15rem 0 0; font-size: var(--step-small); color: var(--muted); }
.index-add {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 1.2rem; display: grid; place-items: center;
  transition: transform var(--t-press) var(--ease-out);
}
.index-add:active { transform: scale(0.97); }
.index-add.is-added { background: var(--ink); }
@media (max-width: 900px) { .index-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .index-list { grid-template-columns: 1fr; }
}

/* Word-tile gallery (home) */
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin: 8px;
}
.tile {
  aspect-ratio: auto;
  display: grid; grid-template-rows: auto auto auto;
  place-items: stretch;
  text-decoration: none; position: relative; overflow: hidden;
  background: var(--surface); color: var(--ink);
  text-align: left;
}
.tile img {
  position: static; inset: auto;
  width: 100%; height: auto; max-width: none; max-height: none;
  aspect-ratio: 1; object-fit: cover; display: block;
}
.tile strong {
  position: relative; z-index: 1;
  font-size: 1.05rem;
  font-weight: 600; letter-spacing: -0.03em; text-align: left;
  line-height: 1.15; padding: 0.75rem 0.9rem 0.1rem; max-width: none;
}
.tile.has-photo strong { display: block; }
.tile span {
  position: static; left: auto; right: auto; bottom: auto;
  text-align: left; font-size: 14px; font-weight: 500;
  padding: 0 0.9rem 0.95rem;
}
@media (max-width: 700px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; margin: 6px; }
  .tile span { font-size: 13px; }
}

/* Intro statement with inline thumbs */
.intro-statement {
  padding: clamp(3rem, 8vw, 5.5rem) var(--margin);
  text-align: center;
  background: var(--surface);
}
.intro-statement p {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.35;
  max-width: 28em; margin: 0 auto; text-wrap: pretty;
}
.intro-statement img {
  display: inline-block; width: 2.4em; height: 2.4em;
  object-fit: cover;
  vertical-align: -0.45em; margin: 0 0.2em;
}
@media (max-width: 700px) {
  .intro-statement { padding: 3rem var(--margin); text-align: left; }
}

/* Chapters / ritual bands */
.chapter {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
}
.chapter + .chapter { margin-top: var(--section); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media { margin: 0; }
.chapter-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.chapter-media::after { display: none; }
.chapter-copy p { margin-top: 0.9em; }
.chapter-copy .fine {
  font-size: var(--step-small); background: var(--surface);
  padding: 0.9rem 1.1rem; border-radius: 0; margin-top: 1rem;
}
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter.flip .chapter-media { order: 0; }
}

/* Statement band — the unwound coil */
.statement {
  background: var(--field); color: var(--field-ink);
  padding: var(--section) 0;
}
.statement::before { display: none; }
.statement .container { position: relative; }
.statement p {
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.25;
  max-width: 28ch;
}
.statement p em { font-style: inherit; color: inherit; }
.statement .mark { display: block; width: 48px; height: 48px; margin-bottom: 1.4rem; color: var(--field-ink); }

/* How-it-works: many into one */
.how {
  background: var(--field); color: var(--field-ink);
  padding: var(--section) 0;
}
.how-head { margin-bottom: 2.5rem; }
.how-head h2 { max-width: 14ch; }
.how-head p { margin-top: 0.8rem; max-width: 36ch; }
.coil-diagram {
  width: 100%; height: auto; display: block; margin: 0 0 2rem;
}
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.timeline li { padding: 0; border: 0; border-radius: 0; text-align: left; }
.timeline .step-no {
  display: block; font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 0.35rem; font-style: normal;
}
.timeline h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.timeline p { color: var(--field-ink); max-width: 28ch; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 1.6rem; } }

/* About inset panel */
.about-panel {
  margin: 20px; background: var(--field); color: var(--field-ink);
  min-height: 110svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 56px;
  gap: 2rem;
}
.about-panel h2 { max-width: 12ch; }
.about-panel img {
  width: 100%; max-width: min(42vw, 520px); aspect-ratio: 4 / 3; object-fit: cover;
  margin-top: 2rem; display: block;
}
.about-copy { max-width: 300px; justify-self: end; }
.about-copy h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.about-copy p { font-size: 15px; margin-bottom: 1.6rem; }
@media (max-width: 860px) {
  .about-panel { grid-template-columns: 1fr; min-height: 0; margin: 10px; padding: 32px 20px 0; }
  .about-copy { max-width: none; justify-self: start; }
  .about-panel img { width: min(86vw, 360px); margin: 1.5rem auto 0; }
}

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
}
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature img { max-width: 420px; margin: 0 auto; } }

/* Testimonial offset */
.fine { font-size: var(--step-small); margin-top: 1rem; max-width: 52ch; }
.quotes { display: grid; gap: 2.5rem; padding: 0 0 var(--section); }
.quote {
  display: grid; grid-template-columns: 1fr;
  gap: 0; padding: 0; border: 0;
}
.quote::before { display: none; }
.quote blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.25;
  max-width: 36ch;
}
.quote blockquote p { margin: 0; max-width: none; }
.quote figcaption { margin-top: 2rem; font-size: 16px; }
.quote figcaption span { display: block; color: var(--muted); }
@media (max-width: 760px) {
  .quote { grid-template-columns: 1fr; }
  .quote blockquote { margin-top: 1.5rem; font-size: 24px; }
}

.voice {
  display: grid; grid-template-columns: 3fr 5fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
  padding: var(--section) var(--margin);
}
.voice-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
}
.voice blockquote {
  margin: 7.5rem 0 0;
  font-size: clamp(1.25rem, 2vw, 2.1rem);
  font-weight: 400; line-height: 1.25; max-width: 32ch;
}
.voice figcaption { margin-top: 2rem; font-size: 16px; }
.voice figcaption span { display: block; }
.voice-small {
  width: 42%; aspect-ratio: 1; object-fit: cover; display: block;
  margin: 2.5rem 0 0;
}
@media (max-width: 760px) {
  .voice { grid-template-columns: 1fr; }
  .voice-photo { width: 72%; }
  .voice blockquote { margin-top: 2rem; }
  .voice-small { width: 44%; margin: 3rem 0 0 auto; }
}

/* Safety field */
.notice {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  background: var(--field); color: var(--field-ink);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--margin);
  margin: 0 calc(var(--margin) * -1);
}
.notice::after { display: none; }
.notice p { color: var(--field-ink); }
.notice .btn-line { background: var(--field-ink); color: var(--ink); }
@media (max-width: 860px) { .notice { grid-template-columns: 1fr; } }

.fineprint { font-size: var(--step-small); color: var(--muted); margin-top: 1.8rem; max-width: 72ch; }
.callout { background: var(--surface); padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.callout::before { display: none; }
.callout p:last-child { margin: 0; }

/* FAQ — stacked cards with circular tabs */
.faq-wrap {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.faq-wrap .aside { align-self: start; }
.faq-list { display: grid; gap: 0.5rem; }
.faq {
  background: var(--surface); padding: 0 1.4rem;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; font-weight: 500; font-size: 1.15rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: var(--accent);
}
.faq[open] summary::after { background: var(--ink); }
.faq .faq-a { padding: 0 0 1.3rem; max-width: 50ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

.faq-block { background: var(--surface); padding: calc(var(--section) / 2) 0; }
.faq-cards { max-width: 52rem; margin: 0 auto; }
.faq-card {
  background: var(--surface); color: var(--ink);
  margin-top: -12px; padding: 1.4rem 1.6rem 1.2rem;
  position: relative;
}
.faq-card:nth-child(even) { background: var(--accent); color: var(--accent-ink); }
.faq-card summary {
  list-style: none; cursor: pointer; font-size: 1.2rem; font-weight: 500; line-height: 1.25;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-tab {
  display: inline-grid; place-items: center;
  width: 7.5rem; height: 2.4rem; margin: -2.2rem 0 0.8rem;
  border-radius: var(--radius); background: inherit; font-size: 16px; font-weight: 500;
}
.faq-card:nth-child(1) .faq-tab { margin-left: 0; }
.faq-card:nth-child(2) .faq-tab { margin-left: 4rem; }
.faq-card:nth-child(3) .faq-tab { margin-left: 8rem; }
.faq-card:nth-child(4) .faq-tab { margin-left: 12rem; }
.faq-card .faq-a { margin-top: 0.8rem; max-width: 50ch; }
@media (max-width: 700px) {
  .faq-card:nth-child(n) .faq-tab { margin-left: 0; width: 7.5rem; }
}

/* Coupon contact */
.coupon {
  background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 2rem; padding: 3rem 2.5rem;
  margin: 7.5rem var(--margin);
  position: relative;
}
.coupon::before, .coupon::after {
  content: ""; position: absolute; width: 28px; height: 28px;
  background: var(--bg); border-radius: 50%;
  left: 46%; transform: translateX(-50%);
}
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.coupon h2, .coupon p { color: var(--accent-ink); }
.coupon h2 { font-size: clamp(28px, 3vw, 44px); max-width: 10ch; }
.coupon p { font-size: 16px; margin-top: 1rem; }
.coupon .form { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
.coupon .field { position: relative; display: grid; gap: 0.35rem; }
.coupon .field > span {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
  font-size: 0.95rem; font-weight: 500; color: var(--accent-ink);
}
.coupon .field input,
.coupon .field select,
.coupon .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  background: var(--bg); color: var(--ink); border: 0; border-radius: 0;
  -webkit-text-fill-color: var(--ink);
}
.coupon textarea { min-height: 88px; }
.coupon .field input::placeholder,
.coupon .field textarea::placeholder {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  opacity: 1;
}
.coupon .btn { min-height: 56px; background: var(--bg); color: var(--ink); border-radius: 0; }
@media (max-width: 800px) {
  .coupon { grid-template-columns: 1fr; margin: 4rem var(--margin); }
  .coupon::before, .coupon::after { left: auto; top: 38%; }
  .coupon::before { left: -14px; top: 38%; }
  .coupon::after { right: -14px; left: auto; top: 38%; }
}

/* Page head */
.page-head {
  position: relative; background: var(--bg); color: var(--ink);
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute;
  right: -8vw; top: 20%;
  width: min(38vw, 280px); height: min(38vw, 280px);
  border-radius: 50%; background: var(--accent);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.crumbs { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.45rem; }
.page-head-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.4rem, 5vw, 4rem); align-items: end;
}
.page-head h1 { font-size: var(--step-head); max-width: 18ch; }
.page-head .lede { margin: 0; color: var(--ink); }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.page-nav a {
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  padding: 0.55rem 1.1rem; border-radius: var(--radius); background: var(--surface);
}
@media (max-width: 860px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head::after { display: none; }
}

.section > .container > .crumbs { color: var(--muted); }
.section > .container > .crumbs a { color: var(--ink); }

/* Documents */
.doc {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.toc { position: sticky; top: 1.5rem; background: var(--surface); padding: 1.3rem; }
.toc p { font-size: 1rem; font-weight: 600; margin-bottom: 0.7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.4rem 0; text-decoration: none; }
.toc a::before { content: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 2.4rem 0 0.9rem; scroll-margin-top: 5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose ul li::marker { content: "●  "; font-size: 0.55em; }
.prose a { text-decoration: underline; text-underline-offset: 0.18em; }

.data-list { margin: 0 0 1.5rem; }
.data-list div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem; padding: 0.85rem 0;
}
.data-list dt { font-weight: 500; }
.data-list dd { margin: 0; }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; gap: 0.2rem; } }

.story {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.story figure { margin: 0; position: sticky; top: 1.5rem; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.story figcaption { font-size: 1rem; margin-top: 1rem; text-align: center; }
.story .prose p:first-child { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 2.4rem; }
.milestones div { padding: 1.4rem 1rem; background: var(--surface); text-align: center; }
.milestones strong { display: block; font-size: 1.2rem; font-weight: 600; margin: 0 0 0.4rem; }
.milestones div::before {
  content: ""; display: block; width: 14px; height: 14px; margin: 0 auto 0.7rem;
  background: var(--accent); border-radius: 50%;
}
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story figure { position: static; max-width: 360px; margin: 0 auto; }
  .milestones { grid-template-columns: 1fr; }
}

.banner-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); display: block; }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.gloss { padding: 1.3rem; background: var(--surface); display: block; }
.gloss h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.gloss p { margin: 0; font-size: 0.95rem; }
@media (max-width: 960px) { .glossary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .glossary { grid-template-columns: 1fr; } .banner-img { aspect-ratio: 4 / 3; } }

.principles { list-style: none !important; margin: 0 0 1.4rem; padding: 0 !important; }
.principles li {
  display: grid; grid-template-columns: 0.8rem minmax(0, 1fr);
  gap: 0.8rem; padding: 0.85rem 0 !important; margin: 0;
}
.principles li::before {
  content: ""; width: 0.7rem; height: 0.7rem; margin-top: 0.4rem;
  background: var(--accent); border-radius: 50%;
}
.principles li span { display: none; }
.principles li::marker { content: none; }

/* Product */
.product {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.product-media {
  margin: 0; position: sticky; top: 1.5rem;
  background: var(--surface); overflow: hidden;
}
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 0.4rem; }
.product-info .tagline { font-size: var(--step-lead); margin-bottom: 1.4rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; margin-bottom: 1.4rem;
}
.price-row .price { font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-row .vat { font-size: var(--step-small); color: var(--muted); text-align: right; max-width: 22ch; }
.buy { display: grid; gap: 0.6rem; margin-bottom: 1.6rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.perks li { display: flex; gap: 0.7rem; font-size: 0.95rem; line-height: 1.45; }
.perks li::before {
  content: ""; flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.4rem;
  background: var(--accent); border-radius: 50%;
}
.perks svg { display: none; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; max-width: 420px; } }
@media (max-width: 460px) { .perks { grid-template-columns: 1fr; } }

.dossier { display: grid; gap: 2rem; }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2rem; }
.dossier-row > h2 { font-size: 1.5rem; margin: 0; }
.dossier-row .prose > :last-child { margin-bottom: 0; }
.dossier-row ol { padding-left: 1.2rem; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 0.7rem 0; vertical-align: top; }
.spec th { width: 36%; font-weight: 500; padding-right: 1rem; }
@media (max-width: 760px) { .dossier-row { grid-template-columns: 1fr; gap: 0.7rem; } }

/* Cart */
.cart-line {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.2rem; align-items: center; padding: 1.1rem 0;
}
.cart-line img { width: 5.5rem; height: 5.5rem; object-fit: cover; background: var(--surface); }
.cart-line h2 { font-size: 1.35rem; margin: 0 0 0.2rem; }
.cart-line .unit { font-size: var(--step-small); color: var(--muted); margin: 0 0 0.5rem; }
.cart-line .controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: var(--radius); }
.qty button { width: 2.2rem; height: 2.2rem; }
.qty span { min-width: 1.8rem; text-align: center; font-weight: 600; }
.remove { font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.line-total { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.summary { background: var(--surface); padding: 1.6rem; position: sticky; top: 1.5rem; }
.summary h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.55rem 0; }
.sum-total strong { font-size: 1.6rem; font-weight: 600; }
.summary .btn { margin-top: 1.1rem; }
.summary .small { margin-top: 0.9rem; color: var(--muted); }
.empty { padding: 3rem 1.5rem; text-align: center; background: var(--surface); }
.empty p { font-size: 1.6rem; font-weight: 600; margin-bottom: 1.2rem; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .cart-line img { width: 4.2rem; height: 4.2rem; }
  .line-total { grid-column: 2; }
}

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field > span { font-size: 0.95rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); color: var(--ink);
  border: 0; border-radius: 0; padding: 0.85rem 1rem;
  -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 2.2rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--accent); flex: none; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 4rem); align-items: start;
}
.contact-panel { background: var(--field); color: var(--field-ink); padding: 2.2rem; }
.contact-panel::after { display: none; }
.contact-panel h2 { font-size: 2rem; }
.contact-panel .data-list div { grid-template-columns: 1fr; gap: 0.2rem; }
.contact-panel a { color: var(--field-ink); }
.contact-panel .link { margin-top: 1.2rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(56, 69, 15, 0.55);
}
.modal[hidden] { display: none; }
.modal-box { background: var(--bg); max-width: 540px; width: 100%; padding: 2.4rem; text-align: center; }
.modal-box h2 { font-size: 2rem; }
.thanks-box h2 { margin: 1rem 0 0.6rem; }
.thanks-box p { margin: 0 auto; max-width: 34ch; }
.thanks-icon {
  display: inline-grid; place-items: center;
  width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--accent);
}
.thanks-icon::after {
  content: ""; width: 22px; height: 12px; margin-top: -4px;
  border-left: 3px solid var(--accent-ink); border-bottom: 3px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.5rem; }

.cookie-bar {
  position: fixed; left: var(--margin); right: var(--margin); bottom: var(--margin);
  z-index: 110; max-width: 980px; margin: 0 auto;
  background: var(--field); color: var(--field-ink);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 1.1rem 1.2rem; }
.cookie-bar p { margin: 0; font-size: 0.95rem; max-width: none; }
.cookie-bar strong { display: block; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.15rem; }
.cookie-actions { display: flex; gap: 0.5rem; flex: none; }
.cookie-actions .btn { min-height: 2.7rem; }
.cookie-actions .btn-line { background: transparent; color: var(--field-ink); box-shadow: inset 0 0 0 2px var(--field-ink); }
.cookie-actions .btn-line:hover { background: var(--field-ink); color: var(--ink); }
.cookie-actions .btn-light { background: var(--bg); color: var(--ink); }
@media (max-width: 760px) {
  .cookie-bar .container { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* Footer — large circular mark */
.site-footer { background: var(--field); color: var(--field-ink); font-size: 0.95rem; padding-top: clamp(3rem, 7vw, 5rem); }
.site-footer a { color: var(--field-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer .brand { color: var(--field-ink) !important; }
.footer-mark {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 4px;
  height: 34svh; margin: 0 0 3.5rem; user-select: none;
}
.footer-mark span {
  display: grid; place-items: center;
  flex: 1; height: 80%;
  background: var(--bg); color: var(--ink);
  border-radius: 50%;
  font-size: clamp(1.2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.05em;
}
.footer-mark span:nth-child(2) { height: 68%; }
.footer-mark span:nth-child(3) { height: 92%; }
.footer-mark span:nth-child(5) { height: 74%; }
.footer-mark span:nth-child(7) { height: 100%; }
.footer-mark span:nth-child(9) { height: 62%; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 2rem; padding-bottom: 2.5rem;
}
.footer-top h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 0.8rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 0.45rem; }
.footer-intro p { max-width: 40ch; }
.footer-intro .serif { font-size: 1.4rem; font-weight: 500; line-height: 1.25; margin: 1rem 0; }
.footer-contact { display: grid; gap: 0.25rem; margin-top: 1.2rem; }
.footer-legal {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: 1.8rem 0; font-size: var(--step-small); line-height: 1.55;
}
.footer-legal p { margin: 0; }
.footer-legal h2 { font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 0.5rem; }
.wordmark { display: none; }
.footer-base {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 0 1.6rem; font-size: var(--step-small);
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-intro { grid-column: 1 / -1; }
  .footer-mark { height: 22svh; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .footer-mark { flex-wrap: wrap; height: auto; }
  .footer-mark span { flex: 0 0 calc(20% - 4px); height: 16vw !important; }
}

/* Live ritual picker */
.ritual {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
  padding: var(--section) 0;
}
.ritual-switch { display: flex; flex-direction: column; gap: 0.5rem; }
.ritual-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ritual-switch label {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.3rem; border-radius: var(--radius);
  background: var(--surface); cursor: pointer; font-weight: 500;
}
.ritual:has(#moment-manana:checked) label[for="moment-manana"],
.ritual:has(#moment-noche:checked) label[for="moment-noche"] {
  background: var(--accent); color: var(--accent-ink);
}
.ritual-panel { display: none; }
.ritual:has(#moment-manana:checked) .ritual-manana,
.ritual:has(#moment-noche:checked) .ritual-noche { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.ritual-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 800px) {
  .ritual { grid-template-columns: 1fr; }
  .ritual-switch { flex-direction: row; }
  .ritual:has(#moment-manana:checked) .ritual-manana,
  .ritual:has(#moment-noche:checked) .ritual-noche { grid-template-columns: 1fr; }
}

.reveal { opacity: 1; transform: none; }

.field-error { display: block; margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field-error-wide { grid-column: 1 / -1; }
.form .actions .field-error { flex-basis: 100%; }
.field-error-fix { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .shutter { animation: shutter 1.1s var(--ease-out) both; }
}
@keyframes shutter {
  from { clip-path: circle(0% at 0% 50%); transform: scale(1.12); }
  to { clip-path: circle(80% at 50% 50%); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .shutter { animation: none; }
}
