/* ==========================================================================
   GYOUJI — shared design system
   One stylesheet, every page. Persona theming via body[data-persona=...].
   Sections follow the 7-beat arc: .ld-nav .ld-hero .ld-canvas-intro .ld-turn
   .ld-proof .ld-whisper .ld-final .ld-footer
   Signature hero moments: .sig-tabs (dreamers) .sig-leads (suppliers)
   .sig-candle (venues) .sig-list (organizers)
   ========================================================================== */

/* ── 1. Reset & base ─────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

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

/* ── 2. Design tokens ────────────────────────────────────────────────── */

:root {
  --ivory:#fdf9f0; --ink:#1a1210; --ink-soft:#4a3f38; --muted:#786960;
  --wine:#8a1724; --wine-dark:#6b1019; --wine-deep:#2a070d; --wine-tint:#fbeaec; --wine-xtint:#fdf5f6;
  --gold:#c6b67e; --gold-dark:#a8965c; --gold-tint:#f5eedb; --gold-xtint:#faf6eb;
  --sage:#4a7c59; --sage-tint:#eaf3ee;
  --paper:#f7f5f1; --border:#e0d8cc; --border-soft:#ece6dc; --surface:#ffffff;
  --font-body:'DM Sans',system-ui,sans-serif;
  --font-display:'Fraunces',Georgia,serif;
  --ease:cubic-bezier(0.4,0,0.2,1);

  /* fadc7 plus-pattern (from fadc7/public/assets/css/index.css) — footer band ONLY */
  --pattern-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 11.3v5.4M11.3 14h5.4' stroke='%23afa591' stroke-opacity='0.45' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

  /* auth-screen card shadow — reused by the router hero cards on the crimson bg */
  --shadow-card: 0 0 0 1px rgba(255,255,255,0.07), 0 8px 32px rgba(0,0,0,0.35), 0 36px 88px rgba(0,0,0,0.55);
}

/* ── 3. Persona theming ──────────────────────────────────────────────── */
/* Every page sets --accent / --accent-tint / --page-bg here. Primary CTA
   colour stays --wine everywhere (brand constant) EXCEPT the venues dark
   hero/turn, which is handled locally by .sig-candle / .ld-turn--dark. */

/* --accent-text: darker, WCAG-AA-readable variant of the accent, used for
   accent-coloured TEXT (eyebrows). --accent stays for decorative elements
   (rules, mirror numbers, dashes, borders) which are contrast-exempt. */
body[data-persona="dreamers"]   { --page-bg:#fdf9f0; --accent:var(--wine);      --accent-text:var(--wine); --accent-tint:#fdf5f6; }
body[data-persona="suppliers"]  { --page-bg:#faf6eb; --accent:var(--gold-dark); --accent-text:#705f2d;     --accent-tint:#f5eedb; }
body[data-persona="venues"]     { --page-bg:#fdf9f0; --accent:var(--gold);      --accent-text:#705f2d;     --accent-tint:#6b1019; }
body[data-persona="organizers"] { --page-bg:#f7f5f1; --accent:var(--sage);      --accent-text:#3f6b4e;     --accent-tint:#eaf3ee; }
body[data-persona="router"]     { --page-bg:#6e151e; --accent:var(--gold);      --accent-text:var(--gold); --accent-tint:#fdf5f6; }
body[data-persona="features"]   { --page-bg:#6e151e; --accent:var(--gold);      --accent-text:var(--gold); --accent-tint:#fdf5f6; }

body {
  font-family: var(--font-body);
  background-color: var(--page-bg, var(--ivory));
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── 4. Global boutique details ──────────────────────────────────────── */

::selection { background: var(--wine); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

/* ── 5. Typography ───────────────────────────────────────────────────── */

.ld-hero-text h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(2.35rem, 5.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ld-hero-text h1 em {
  font-style: italic;
  font-weight: 300;
}

.ld-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--ink);
}
/* venues dark hero/turn puts this on ivory */
.sig-candle .ld-display,
.ld-turn--dark .ld-display { color: var(--ivory); }

.ld-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
}

/* lede / body-large — reused for hero lede, mirror beats, turn body, whisper answer */
.ld-lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34em;
}
.ld-turn .ld-lede { max-width: none; }

/* micro / captions / names — for copy already given in ALL CAPS in the deck */
.ld-micro {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
/* small sentence-case muted links (hero micro-link, final micro-link) — deck
   gives these in sentence case verbatim, so no uppercase transform here */
.ld-hero-micro, .ld-final-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}
.ld-hero-micro a, .ld-final-link a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}
.ld-hero-micro a:hover, .ld-final-link a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ── 6. Layout rhythm ────────────────────────────────────────────────── */

.ld-hero, .ld-turn, .ld-proof, .ld-whisper, .ld-final {
  padding: clamp(72px, 12vw, 150px) 24px;
}
.ld-inner { max-width: 1060px; margin: 0 auto; }
.ld-text  { max-width: 640px;  margin: 0 auto; }

.ld-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  border: 0;
  margin: 0 0 20px;
}
.ld-turn--dark .ld-rule { background: var(--gold); }

.ld-hairline {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* ── 7. Buttons ──────────────────────────────────────────────────────── */

.ld-cta {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: none;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.ld-cta:hover, .ld-cta:focus-visible {
  background: var(--wine-dark);
  box-shadow: 0 4px 14px rgba(138,23,36,.22);
  transform: translateY(-1px);
}

/* venues dark hero + turn: gold button, ink text */
.sig-candle .ld-cta,
.ld-turn--dark .ld-cta {
  background: var(--gold);
  color: var(--ink);
}
.sig-candle .ld-cta:hover, .sig-candle .ld-cta:focus-visible,
.ld-turn--dark .ld-cta:hover, .ld-turn--dark .ld-cta:focus-visible {
  background: var(--gold-dark);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(198,182,126,.35);
}

/* small outlined pill, used in nav — always wine (brand constant) */
.ld-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--wine);
  color: var(--wine);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.ld-nav-cta:hover, .ld-nav-cta:focus-visible {
  background: var(--wine);
  color: var(--ivory);
}

/* ── 8. Wordmark ─────────────────────────────────────────────────────── */

.ld-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.ld-mark-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* ── 9. Nav ──────────────────────────────────────────────────────────── */

.ld-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(253,249,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(175,165,145,0.3);
}
.ld-nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ld-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ld-nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.ld-nav-link:hover { color: var(--accent); }

/* standard sitewide auth cluster — Login (plain) / Sign up (pill) / Corporate (plain) */
.ld-nav-login { font-family: var(--font-body); font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; }
.ld-nav-login:hover { color: var(--accent); }

@media (max-width: 640px) {
  .ld-nav-links { gap: 12px; }
  .ld-nav-link, .ld-nav-login { font-size: 0.8rem; }
  .ld-nav-cta { padding: 7px 14px; font-size: 0.76rem; }
}
@media (max-width: 480px) {
  .ld-nav-link--corporate { display: none; }
}

/* ── 10. Scroll-reveal (content visible without JS; opt-in via html.js) ── */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  html.js [data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 11. Hero (shared skeleton) ──────────────────────────────────────── */

.ld-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: clamp(56px, 10vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.ld-hero-grid {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 960px) {
  .ld-hero-grid { grid-template-columns: 55fr 45fr; gap: 48px; }
}
.ld-hero-text > * + * { margin-top: 18px; }
.ld-hero-text .ld-cta { margin-top: 8px; }

.ld-hero-visual {
  position: relative;
  max-height: 34vh;
  overflow: hidden;
}
@media (min-width: 960px) {
  .ld-hero-visual { max-height: none; min-height: 420px; }
}
/* headline + CTA must win the first viewport on short mobile screens
   (tested at 375x667) — drop the visual rather than push copy down */
@media (max-height: 680px) and (max-width: 480px) {
  .ld-hero-visual { display: none; }
}
/* the organizers to-do card's punchline is the payoff — never clip it */
.ld-hero-visual:has(.sig-list) { max-height: none; overflow: visible; }

/* tighten the first fold on phones: long approved ledes must not push the
   CTA below 667px viewports */
@media (max-width: 480px) {
  .ld-hero { padding-top: 28px; }
  .ld-hero-text > * + * { margin-top: 14px; }
  .ld-hero-text .ld-lede { font-size: 0.98rem; line-height: 1.6; }
}

.ld-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .ld-scroll-hint { animation: ld-float 2.4s ease-in-out infinite; }
}
@keyframes ld-float {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* venues: whole hero is the dark candlelit room, no visual column split
   needed — .sig-candle overrides .ld-hero-grid back to a single column */
.sig-candle.ld-hero {
  background: linear-gradient(160deg, var(--wine-deep), var(--wine-dark));
  color: var(--ivory);
  overflow: hidden;
}
.sig-candle .ld-eyebrow { color: var(--gold); }
.sig-candle .ld-hero-text h1,
.sig-candle .ld-hero-text .ld-lede { color: var(--ivory); }
.sig-candle .ld-hero-text .ld-lede { opacity: .9; }

/* ── 12. Canvas-intro card banner ─────────────────────────────────────────
   Same crimson-field + bezier-curve + white-card treatment as the router
   and features pages (sections 18/19, .cm-card-mock) — introduces the
   canvas card visual language early, on all four persona pages. */

.ld-canvas-intro {
  position: relative;
  background: #6e151e;
  overflow: hidden;
  padding: clamp(72px, 12vw, 150px) 24px;
}
.ld-canvas-intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.ld-canvas-intro-inner { position: relative; z-index: 1; }
.ld-canvas-intro .ld-eyebrow { color: var(--gold); }
.ld-canvas-intro-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .ld-canvas-intro-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.ld-canvas-intro .cm-card-mock-body { padding-bottom: 20px; }

/* ── 13. Turn ────────────────────────────────────────────────────────── */

.ld-turn { background: var(--accent-tint); }
.ld-turn-inner { max-width: 640px; margin: 0 auto; }
.ld-turn .ld-display { margin-bottom: 20px; }
.ld-turn .ld-lede + .ld-lede { margin-top: 16px; }
.ld-turn .ld-cta { margin-top: 32px; display: inline-block; }

/* venues: dark gradient band, ivory text, gold rule/eyebrow/cta */
.ld-turn--dark {
  background: linear-gradient(160deg, var(--wine-deep), var(--wine-dark));
  color: var(--ivory);
}
.ld-turn--dark .ld-eyebrow { color: var(--gold); }
.ld-turn--dark .ld-lede { color: var(--ivory); opacity: .88; }

/* ── 14. Proof ───────────────────────────────────────────────────────── */

.ld-proof-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.ld-proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
}
.ld-proof-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
}
.ld-proof-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
  margin-bottom: 10px;
}
.ld-proof-name {
  margin-top: 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ld-proof-name::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}

/* ── 15. Whisper ─────────────────────────────────────────────────────── */

.ld-whisper-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.ld-whisper-q {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--muted);
}
.ld-whisper-inner .ld-lede { color: var(--ink); margin: 0 auto; }

/* ── 16. Final ───────────────────────────────────────────────────────── */

.ld-final { text-align: center; }
.ld-final-inner { max-width: 640px; margin: 0 auto; }
.ld-final .ld-display { margin-bottom: 28px; }
.ld-final-link { margin-top: 20px; }

/* ── 17. Footer ──────────────────────────────────────────────────────── */

.ld-footer {
  background-color: var(--wine-dark);
  background-image: var(--pattern-plus);
  background-size: 28px 28px;
  padding: 56px 24px 40px;
}
.ld-footer-inner { max-width: 1060px; margin: 0 auto; }
.ld-footer-line1 { margin-bottom: 24px; color: rgba(253,249,240,0.65); }
.ld-footer-line1 a { color: rgba(253,249,240,0.72); text-decoration: underline; text-underline-offset: 3px; }
.ld-footer-line1 a:hover { color: var(--gold); }
.ld-footer-mark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-decoration: none;
}
.ld-footer-line2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(253,249,240,0.62);
}
.ld-footer-line2 a { text-decoration: none; color: rgba(253,249,240,0.85); }
.ld-footer-line2 a:hover { color: var(--gold); }
.ld-footer-sep { color: rgba(253,249,240,0.3); }
.ld-footer-legal { display: inline-flex; align-items: center; gap: 14px; }

/* ── 18. Router page ─────────────────────────────────────────────────── */
/* Crimson field + snaking bezier curves + white cards — mirrors the auth
   screen's .auth-card treatment (designGuide/auth.html) */

/* background bezier-curve art, fixed behind all router content */
.bg-art {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rt-main {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 10vw, 96px) 24px clamp(72px, 12vw, 120px);
}
.rt-inner { max-width: 1180px; margin: 0 auto; }

/* two-column split: marketing copy + CTA on the left, persona carousel
   on the right. Stacks on mobile. */
.rt-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .rt-split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
}
/* grid items default to min-width:auto, so a wide child (the carousel track)
   can push the column past the viewport. Let them shrink. */
.rt-split > * { min-width: 0; }

.rt-copy { text-align: left; }
.rt-umbrella {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  max-width: 14em;
  color: var(--ivory);
}
.rt-tagline {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--gold);
}
.rt-copy-body {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ivory);
  opacity: 0.85;
  max-width: 34em;
}
.rt-copy-cta { margin-top: 32px; }
/* .ld-cta is wine-on-ivory by default — too close to the crimson field to
   read; swap to gold-on-ink here, same fix as .sig-candle / .ld-turn--dark */
body[data-persona="router"] .ld-cta { background: var(--gold); color: var(--ink); }
body[data-persona="router"] .ld-cta:hover,
body[data-persona="router"] .ld-cta:focus-visible {
  background: var(--gold-dark);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(198,182,126,.35);
}

.rt-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── persona carousel — one card in view, swipe or use the arrows/dots ── */
.rt-carousel { margin-top: 20px; min-width: 0; max-width: 100%; }
.rt-carousel-track {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rt-carousel-track::-webkit-scrollbar { display: none; }
.rt-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}
.rt-carousel-btn {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.rt-carousel-btn:hover, .rt-carousel-btn:focus-visible {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
}
.rt-carousel-dots { display: flex; align-items: center; gap: 8px; }
.rt-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
}
.rt-carousel-dot.is-active { background: var(--gold); }

.rt-card {
  position: relative;
  display: block;
  /* width, not flex-basis: a percentage basis inside a horizontal scroll
     container resolves against the scrolled content in iOS Safari, so each
     card grows off the ever-widening track and blows the page out sideways. */
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: clamp(22px, 6vw, 34px);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
/* gold-to-crimson accent bar along the top edge — the "outline on one side" */
.rt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--wine) 100%);
}
.rt-card:hover, .rt-card:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 12px 36px rgba(0,0,0,0.4), 0 40px 96px rgba(0,0,0,0.6); }
.rt-card--dreamers:hover, .rt-card--dreamers:focus-visible { border-color: var(--wine); }
.rt-card--suppliers:hover, .rt-card--suppliers:focus-visible { border-color: var(--gold-dark); }
.rt-card--venues:hover, .rt-card--venues:focus-visible { border-color: var(--gold); }
.rt-card--organizers:hover, .rt-card--organizers:focus-visible { border-color: var(--sage); }
.rt-card-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rt-card-hook {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 4.4vw, 1.3rem);
  line-height: 1.4;
  overflow-wrap: break-word;
}
.rt-card-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background 0.18s var(--ease);
}
.rt-card:hover .rt-card-pill, .rt-card:focus-visible .rt-card-pill { background: var(--wine-dark); }

/* ── 18b. Router page — "The big ones" occasion cards + detail list ──────
   Section A (.rt-occasions) is an opaque ivory band breaking the crimson
   field to host light-variant task cards (mirrors .cm-card-mock, section
   19, but tuned for a light surface). Section B (.rt-details) stays
   transparent so the crimson field + fixed bezier art keep showing through. */

.rt-occasions {
  position: relative;
  z-index: 1;
  background: var(--ivory);
  padding: clamp(72px, 12vw, 150px) 24px;
}
.rt-occasions-inner { max-width: 1060px; margin: 0 auto; }

.rt-occ-head { max-width: 640px; }
.rt-occ-rule { width: 48px; height: 2px; background: var(--wine); }
.rt-occ-eyebrow {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine); /* NOT --accent — that's gold here and fails contrast on ivory */
}
.rt-occ-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--ink);
}
.rt-occ-head h2 em { font-style: italic; }

.rt-occ-grid {
  margin-top: 40px;
  display: grid;
  /* min() wrap keeps a single column with zero overflow at 320px */
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}

/* light-variant .cm-card-mock — the base .cm-card-mock (section 19) is
   tuned for the dark crimson field (white-ring border, heavy black
   shadows); compound selector so this wins regardless of source order. */
.cm-card-mock.cm-card-mock--light {
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(26,18,16,0.04), 0 12px 32px rgba(26,18,16,0.08);
}
.cm-card-mock.cm-card-mock--light:hover {
  box-shadow: 0 2px 4px rgba(26,18,16,0.05), 0 16px 40px rgba(26,18,16,0.12);
}

.cm-card-mock--wedding   .cm-card-mock-dot { background: var(--wine); }
.cm-card-mock--corporate .cm-card-mock-dot { background: var(--sage); }
.cm-card-mock--birthday  .cm-card-mock-dot { background: var(--gold-dark); }

.rt-occ-close {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Section B — feature list, stays on the crimson field */

.rt-details {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 12vw, 150px) 24px;
}
.rt-details-inner { max-width: 1060px; margin: 0 auto; }

.rt-det-head { max-width: 640px; }
.rt-det-rule { width: 48px; height: 2px; background: var(--gold); }
.rt-det-eyebrow {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.rt-det-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--ivory);
}

.rt-details-list {
  margin-top: 40px;
  list-style: none;
}
.rt-details-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(253,249,240,0.18);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  /* ivory at .85 via rgba (not the `opacity` property) so <strong> below
     can reach genuine full-opacity ivory independent of the parent */
  color: rgba(253,249,240,0.85);
}
.rt-details-list strong {
  font-weight: 600;
  color: var(--ivory);
}
@media (min-width: 720px) {
  .rt-details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }
}

.rt-det-more {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.rt-det-more:hover { color: var(--ivory); }

/* ── 18c. Router page — pricing ────────────────────────────────────────
   Third ivory band, immediately after .rt-details, closing out the router
   page before the footer. Wine accents on the head (not --accent/gold) —
   same reasoning as the .rt-occ-eyebrow comment above: gold fails contrast
   on ivory. 4-card grid; Corporate gets a quiet gold-dark border since it's
   the bespoke tier — no "popular" badges anywhere on this site. */

.rt-pricing {
  position: relative;
  z-index: 1;
  background: var(--ivory);
  padding: clamp(72px, 12vw, 150px) 24px;
  /* #pricing anchor target — clear the 60px sticky nav */
  scroll-margin-top: 60px;
}
.rt-pricing-inner { max-width: 1060px; margin: 0 auto; }

.rt-price-head { max-width: 640px; }
.rt-price-rule { width: 48px; height: 2px; background: var(--wine); }
.rt-price-eyebrow {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine); /* NOT --accent — that's gold here and fails contrast on ivory */
}
.rt-price-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--ink);
}
.rt-price-head h2 em { font-style: italic; }

.rt-price-grid {
  margin-top: 40px;
  display: grid;
  /* min() wrap keeps a single column with zero overflow at 320px */
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
}

.rt-price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(26,18,16,0.04), 0 12px 32px rgba(26,18,16,0.08);
}
/* the bespoke tier: quiet gold distinction, kept quiet — no badges */
.rt-price-card--corporate { border-color: var(--gold-dark); }

.rt-price-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ink);
}
.rt-price-figure {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--ink);
}
.rt-price-period {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}
.rt-price-jpy {
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.rt-price-for {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* margin-bottom guarantees breathing room above the CTA even when
   margin-top:auto resolves to 0 (single-column / shortest card) */
.rt-price-features { margin-top: 20px; margin-bottom: 24px; }
.rt-price-features li {
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.rt-price-features li:first-child { border-top: 0; }

.rt-price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  /* pins the button to the card's bottom edge regardless of how much
     content sits above it, in the flex column */
  margin-top: auto;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  transition: background 0.18s var(--ease);
}
.rt-price-cta:hover, .rt-price-cta:focus-visible { background: var(--wine-dark); }

/* single sign-up CTA for the three self-serve tiers — every plan starts
   free, so the cards carry no buttons; corporate keeps its own inside.
   Sits beside the token explainer, wrapping under it on narrow screens */
.rt-price-below {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 40px;
}
.rt-price-start {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
/* the card CTA left-aligns itself; centre it in this column context */
.rt-price-start .rt-price-cta { align-self: center; }
.rt-price-start-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
}

/* plain-words explainer for the token allowances named on the cards */
.rt-price-token {
  flex: 1 1 420px;
  max-width: 720px;
  padding: 24px 28px;
  background: var(--gold-xtint);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}
.rt-price-token-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
}
.rt-price-token-body {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rt-price-footnote {
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── 19. Features page — the canvas board ────────────────────────────── */
/* Deep-red field + bezier connectors, same as the router page (section 18).
   Each persona explanation is rendered as a mock task card — the exact
   anatomy of .cm-card-core in canvas-modules.css (tag row, serif quote
   title, Inter summary, meta/id row) — so the page reads as the product,
   not a description of it. */

.ft-hero { position: relative; z-index: 1; padding: clamp(96px, 14vw, 140px) 24px 48px; }
.ft-hero .ld-inner { max-width: 640px; }
.ft-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.15;
  margin: 16px 0;
  color: var(--ivory);
}
.ft-hero .ld-lede { color: var(--ivory); opacity: .82; }

.ft-canvas { position: relative; padding: 0 24px clamp(80px, 12vw, 140px); }
.ft-canvas-inner { max-width: 1060px; margin: 0 auto; }

.ft-board {
  position: relative;
}

.ft-board-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.ft-board-lines--mobile { display: none; }

/* hub — desktop only, sits in the centre of the 2x2 grid gap */
.ft-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--wine-deep);
  border: 1.5px solid rgba(198,182,126,0.55);
  box-shadow: 0 0 0 6px rgba(110,21,30,0.55), 0 8px 24px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-hub-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ft-hub { display: none; }

.ft-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 720px) {
  .ft-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 32px 40px; }
  .ft-hub { display: flex; }
}

/* ── mock task card — mirrors .cm-card-core / .cm-card-header ──────────── */
.cm-card-mock {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.cm-card-mock:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 12px 36px rgba(0,0,0,0.4), 0 40px 96px rgba(0,0,0,0.6);
}

.cm-card-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.cm-card-mock-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cm-card-mock-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.cm-card-mock--dreamers   .cm-card-mock-dot { background: var(--wine); }
.cm-card-mock--suppliers  .cm-card-mock-dot { background: var(--gold-dark); }
.cm-card-mock--venues     .cm-card-mock-dot { background: var(--gold); }
.cm-card-mock--organizers .cm-card-mock-dot { background: var(--sage); }
.cm-card-mock-id {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 5px;
}

.cm-card-mock-body { padding: 16px 18px 6px; flex: 1; }
.cm-card-mock-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--ink);
}
.cm-card-mock-summary {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cm-card-mock-footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 18px 18px;
}
.cm-card-mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.18s var(--ease);
}
.cm-card-mock-btn:hover { background: var(--wine-dark); }

@media (max-width: 719px) {
  .ft-board-lines--desktop { display: none; }
  .ft-board-lines--mobile  { display: block; }
}

/* ==========================================================================
   20. SIGNATURE HERO MOMENTS
   All: transform/opacity only, run once, full static end-state under
   prefers-reduced-motion:reduce. Base CSS (outside the no-preference query)
   IS the end-state, so reduced-motion and pre-JS both render correctly with
   zero extra rules — the media query only adds the "animate FROM" keyframe.
   ========================================================================== */

/* ---- 20.1 Dreamers — .sig-tabs — "47 tabs settle into one plan" ------- */

.sig-tabs {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}
.sig-tab {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  /* end state: neat faint stack behind the clean card */
  transform: translate(-50%, -50%) translate(var(--nx, 0), var(--ny, 0)) rotate(0deg);
  filter: blur(0);
  opacity: .12;
}
.sig-tab::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.sig-tab:nth-child(1) { --sx:-34%; --sy:-32%; --sr:-9deg; --nx:-8px; --ny:-8px; }
.sig-tab:nth-child(2) { --sx: 26%; --sy:-36%; --sr: 6deg;  --nx:-4px; --ny:-4px; }
.sig-tab:nth-child(3) { --sx:-30%; --sy: 4%;  --sr: 4deg;  --nx: 0;   --ny: 0; }
.sig-tab:nth-child(4) { --sx: 32%; --sy: 8%;  --sr:-6deg;  --nx: 4px; --ny: 4px; }
.sig-tab:nth-child(5) { --sx:-18%; --sy: 34%; --sr: 8deg;  --nx: 8px; --ny: 8px; }
.sig-tab:nth-child(6) { --sx: 20%; --sy: 36%; --sr:-4deg;  --nx: 12px;--ny: 12px; }

.sig-tabs-clean {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 26px 30px;
  width: min(280px, 80%);
  text-align: left;
}
.sig-tabs-clean-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine);
  margin-bottom: 10px;
}
.sig-tabs-clean-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
}
.sig-tabs-clean-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sig-tabs-clean-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .sig-tab {
    animation: sig-tab-settle 2.6s var(--ease) both;
  }
  .sig-tab:nth-child(1) { animation-delay: .0s; }
  .sig-tab:nth-child(2) { animation-delay: .12s; }
  .sig-tab:nth-child(3) { animation-delay: .24s; }
  .sig-tab:nth-child(4) { animation-delay: .36s; }
  .sig-tab:nth-child(5) { animation-delay: .48s; }
  .sig-tab:nth-child(6) { animation-delay: .6s; }
  @keyframes sig-tab-settle {
    0% {
      transform: translate(-50%, -50%) translate(var(--sx), var(--sy)) rotate(var(--sr));
      filter: blur(1px);
      opacity: .55;
    }
    100% {
      transform: translate(-50%, -50%) translate(var(--nx), var(--ny)) rotate(0deg);
      filter: blur(0);
      opacity: .12;
    }
  }
  .sig-tabs-clean {
    animation: sig-clean-in .8s var(--ease) both;
    animation-delay: 1.7s;
  }
  @keyframes sig-clean-in {
    from { opacity: 0; transform: translate(-50%, -50%) translateY(10px); }
    to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
  }
}

/* ---- 20.2 Suppliers — .sig-leads — "leads arrive while you work" ------ */

.sig-leads {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}
.sig-lead {
  position: absolute;
  left: 0;
  right: 0;
  max-width: 320px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  text-align: left;
  transform: translateY(0);
}
.sig-lead-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}
.sig-lead-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sig-lead-line {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.sig-lead-quote { font-style: italic; }
.sig-lead-meta { color: var(--muted); }

/* stacked settled end-state: top card full opacity, offsets behind it */
.sig-lead:nth-child(1) { top: 0;    z-index: 3; opacity: 1; }
.sig-lead:nth-child(2) { top: 18px; z-index: 2; opacity: .75; }
.sig-lead:nth-child(3) { top: 36px; z-index: 1; opacity: .5; }

@media (prefers-reduced-motion: no-preference) {
  .sig-lead { animation: sig-lead-in .6s var(--ease) both; }
  .sig-lead:nth-child(1) { animation-delay: 0s; }
  .sig-lead:nth-child(2) { animation-delay: .8s; }
  .sig-lead:nth-child(3) { animation-delay: 1.6s; }
  @keyframes sig-lead-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: var(--end-opacity, 1); transform: translateY(0); }
  }
  .sig-lead:nth-child(1) { --end-opacity: 1; }
  .sig-lead:nth-child(2) { --end-opacity: .75; }
  .sig-lead:nth-child(3) { --end-opacity: .5; }

  .sig-lead-dot { animation: sig-dot-pulse .5s var(--ease) both; }
  .sig-lead:nth-child(1) .sig-lead-dot { animation-delay: .1s; }
  .sig-lead:nth-child(2) .sig-lead-dot { animation-delay: .9s; }
  .sig-lead:nth-child(3) .sig-lead-dot { animation-delay: 1.7s; }
  @keyframes sig-dot-pulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.8); }
    100% { transform: scale(1); }
  }
}

/* ---- 20.3 Venues — .sig-candle — "candlelight" ------------------------ */
/* Applied directly to .ld-hero (class="ld-hero sig-candle"). No cards —
   the hero itself is the moment: dark gradient, gold hairline frame,
   two breathing radial glows. */

.sig-candle-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(198,182,126,.35);
  pointer-events: none;
}
.sig-candle-glow {
  position: absolute;
  width: 70vmin;
  height: 70vmin;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198,182,126,.22), transparent);
  pointer-events: none;
}
.sig-candle-glow--a { top: -20%; right: -15%; }
.sig-candle-glow--b { bottom: -20%; left: -15%; }

@media (prefers-reduced-motion: no-preference) {
  .sig-candle-glow {
    animation: sig-candle-breathe 9s var(--ease) infinite alternate;
  }
  .sig-candle-glow--b { animation-delay: 2s; }
  @keyframes sig-candle-breathe {
    from { transform: scale(1);     opacity: 1; }
    to   { transform: scale(1.06);  opacity: .85; }
  }
}

/* ---- 20.4 Organizers — .sig-list — "the list handles itself" --------- */

.sig-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  width: 100%;
}
.sig-list-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sig-list-items { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.sig-list-item {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  opacity: .4; /* end state: struck + dimmed */
}
.sig-list-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  width: 100%; /* end state: fully struck through */
  background: var(--sage);
  transform: translateY(-50%);
}
.sig-list-final {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  opacity: 1;
}
.sig-list-chip {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (prefers-reduced-motion: no-preference) {
  .sig-list-item { animation: sig-list-fade .4s var(--ease) both; }
  .sig-list-item::after { animation: sig-list-strike .4s var(--ease) both; }
  .sig-list-item:nth-child(1)          { animation-delay: .2s; }
  .sig-list-item:nth-child(1)::after   { animation-delay: .2s; }
  .sig-list-item:nth-child(2)          { animation-delay: .55s; }
  .sig-list-item:nth-child(2)::after   { animation-delay: .55s; }
  .sig-list-item:nth-child(3)          { animation-delay: .9s; }
  .sig-list-item:nth-child(3)::after   { animation-delay: .9s; }
  .sig-list-item:nth-child(4)          { animation-delay: 1.25s; }
  .sig-list-item:nth-child(4)::after   { animation-delay: 1.25s; }
  .sig-list-item:nth-child(5)          { animation-delay: 1.6s; }
  .sig-list-item:nth-child(5)::after   { animation-delay: 1.6s; }
  .sig-list-item:nth-child(6)          { animation-delay: 1.95s; }
  .sig-list-item:nth-child(6)::after   { animation-delay: 1.95s; }
  @keyframes sig-list-fade { from { opacity: 1; } to { opacity: .4; } }
  @keyframes sig-list-strike { from { width: 0; } to { width: 100%; } }

  .sig-list-final { animation: sig-list-final-in .6s var(--ease) both; animation-delay: 2.4s; }
  @keyframes sig-list-final-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ── 20. Contact page — Corporate form ────────────────────────────────── */
/* Router persona (crimson field) hero band, same treatment as .rt-details
   (transparent, fixed bg-art bezier lines show through), followed by an
   ivory form band matching .rt-pricing. Prefix .ct-*. */

.ct-hero {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vw, 110px) 24px clamp(48px, 8vw, 72px);
}
.ct-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ct-hero-inner .ld-eyebrow { display: block; }
.ct-hero-h1 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.2;
  color: var(--ivory);
}
.ct-hero-lede {
  margin: 20px auto 0;
  color: var(--ivory);
  opacity: 0.85;
  text-align: center;
}

.ct-form-section {
  position: relative;
  z-index: 1;
  background: var(--ivory);
  padding: clamp(56px, 10vw, 110px) 24px clamp(72px, 12vw, 130px);
}
.ct-form-inner { max-width: 760px; margin: 0 auto; }

.ct-form-head { max-width: 640px; margin: 0 auto; text-align: center; }
.ct-form-rule { width: 48px; height: 2px; background: var(--wine); margin: 0 auto; }
.ct-form-eyebrow {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine); /* not --accent — gold fails contrast on ivory, same fix as .rt-occ-eyebrow */
}
.ct-form-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
}
.ct-form-sub {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.ct-form-card {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 1px 2px rgba(26,18,16,0.04), 0 12px 32px rgba(26,18,16,0.08);
}

.ct-form { display: flex; flex-direction: column; gap: 24px; }

.ct-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .ct-row { grid-template-columns: 1fr 1fr; }
}

.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-field-group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }

.ct-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink);
}

.ct-input, .ct-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.ct-input:focus-visible, .ct-textarea:focus-visible { border-color: var(--gold-dark); }
.ct-textarea { resize: vertical; min-height: 96px; font-family: var(--font-body); }

/* chip-style radio / checkbox groups — hidden native input, styled label.
   min() wrap keeps chips from overflowing a 320px viewport. */
.ct-chips, .ct-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ct-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.ct-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.ct-chip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.ct-chip input:checked + span {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ivory);
}
.ct-chip input:focus-visible + span {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}
.ct-chip:hover span { border-color: var(--wine); }

.ct-lang-toggle .ct-chip span { min-width: 64px; justify-content: center; }

/* honeypot — visually off-screen, NOT display:none (some bots skip that) */
.ct-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-form-error {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--wine);
  background: var(--wine-xtint);
  border: 1px solid var(--wine-tint);
  border-radius: 10px;
  padding: 12px 16px;
}

.ct-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.ct-submit:hover:not(:disabled), .ct-submit:focus-visible { background: var(--wine-dark); transform: translateY(-1px); }
.ct-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.ct-success-card { text-align: center; }
.ct-success-card:focus { outline: none; }
.ct-success-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid color-mix(in srgb, var(--wine) 30%, transparent);
  background: color-mix(in srgb, var(--wine) 10%, transparent);
  color: var(--wine);
}
.ct-success-ring svg { width: 38px; height: 38px; }
.ct-success-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.ct-success-card p {
  max-width: 46em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ── 21. Legal pages — Terms / Privacy / GDPR ─────────────────────────
   Shares the .ct-hero crimson intro band; body copy sits in a plain
   ivory prose column. Prefix .lg-*. */

.lg-section {
  position: relative;
  z-index: 1;
  background: var(--ivory);
  padding: clamp(56px, 10vw, 96px) 24px clamp(72px, 12vw, 130px);
}
.lg-inner { max-width: 720px; margin: 0 auto; }
.lg-notice {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--wine);
  background: var(--wine-xtint);
  border: 1px solid var(--wine-tint);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 40px;
}
.lg-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 40px 0 12px;
}
.lg-inner h2:first-of-type { margin-top: 0; }
.lg-inner p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.lg-inner ul { margin: 0 0 14px 0; }
.lg-inner li {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.lg-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wine);
}
.lg-updated {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 32px;
}
