/* ============================================================================
   Exchanging Lore -- Signature design system (November 2026 refresh)

   ONE editorial system, TWO editions:
     Ivory edition    (light)  Minimal Modern Luxury. Warm ivory paper, soft
                               stone "mounts" for the work, charcoal type,
                               bronze hairlines.
     Espresso edition (dark)   Dark Editorial Luxury. Deep espresso, luminous
                               ivory type, champagne hairlines, quiet glow.

   Loaded on every page AFTER each page's inline <style> block and after
   assets/css/motion-system.css, so it is the single source of truth for the
   palette. The per-page inline :root blocks are left in place as a harmless
   first-paint fallback; every token they define is redefined here.

   APPEARANCE MODEL
     Auto (default): no [data-theme] attribute on <html>. The
       prefers-color-scheme media query below picks the edition and follows
       live OS changes (e.g. an iPhone switching at sunset) with no JS.
     Manual: <html data-theme="light|dark">, set before first paint by the
       inline bootstrap in each page's <head> from localStorage('el-theme'),
       and by assets/js/lore-theme.js when a visitor uses the control.
     <html data-theme-pref="auto|light|dark"> mirrors the stored preference
       so the controls render their state without waiting for JS.

   Specificity notes
     :root[data-theme="dark"] and :root:not([data-theme="light"]) are (0,2,0),
     so they beat both the inline :root blocks and the inline
     @media (prefers-color-scheme: dark) :root blocks on every page.
     Tailwind's CDN runtime injects utilities at a non-deterministic point, so
     any rule here that must beat a utility class uses at least (0,1,1).
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Ivory edition */
  --background: #f5f1ea; --background-rgb: 245 241 234;
  --background-alt: #ece5da; --background-alt-rgb: 236 229 218;
  --surface: #fbf9f5; --surface-rgb: 251 249 245;
  --foreground: #1c1814; --foreground-rgb: 28 24 20;
  --muted: #5e564c; --muted-rgb: 94 86 76;
  --accent: #9a7245; --accent-rgb: 154 114 69;
  --accent-text: #7a5730; --accent-text-rgb: 122 87 48;
  --on-accent: #1c1814;
  /* Solid accent fills that carry text (hover states, active nodes).
     #5e4429 + ivory = 7.99:1; the lighter bronze above is for lines only. */
  --accent-fill: #5e4429; --on-accent-fill: #f5f1ea;
  --border: rgb(122 98 70 / 0.24);
  --border-strong: rgb(122 98 70 / 0.42);
  --hairline: rgb(28 24 20 / 0.10);
  --warn-bg: #f1e6d3;
  --ink: #171311; --ink-rgb: 23 19 17;
  --paper: #f5f1ea; --paper-rgb: 245 241 234;
  --plate: #e6ded1; --plate-rgb: 230 222 209;
  --plate-glow: rgb(255 255 255 / 0.55);
  --glow: rgb(154 114 69 / 0.10);
  --shadow-rgb: 52 38 24;
  --radius: 2px;
  --radius-card: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* Espresso edition: Auto mode on a dark device ... */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #151210; --background-rgb: 21 18 16;
    --background-alt: #1c1815; --background-alt-rgb: 28 24 21;
    --surface: #231e1a; --surface-rgb: 35 30 26;
    --foreground: #f2ece2; --foreground-rgb: 242 236 226;
    --muted: #ada294; --muted-rgb: 173 162 148;
    --accent: #c6a473; --accent-rgb: 198 164 115;
    --accent-text: #d4b78a; --accent-text-rgb: 212 183 138;
    --on-accent: #151210;
    --accent-fill: #c6a473; --on-accent-fill: #151210;
    --border: rgb(214 190 150 / 0.16);
    --border-strong: rgb(214 190 150 / 0.32);
    --hairline: rgb(242 236 226 / 0.09);
    --warn-bg: #2a2116;
    --ink: #0e0c0b; --ink-rgb: 14 12 11;
    --paper: #f2ece2; --paper-rgb: 242 236 226;
    --plate: #201b17; --plate-rgb: 32 27 23;
    --plate-glow: rgb(198 164 115 / 0.16);
    --glow: rgb(198 164 115 / 0.14);
    --shadow-rgb: 0 0 0;
    color-scheme: dark;
  }
}
/* ... and an explicit Dark choice on any device. Keep in sync with above. */
:root[data-theme="dark"] {
  --background: #151210; --background-rgb: 21 18 16;
  --background-alt: #1c1815; --background-alt-rgb: 28 24 21;
  --surface: #231e1a; --surface-rgb: 35 30 26;
  --foreground: #f2ece2; --foreground-rgb: 242 236 226;
  --muted: #ada294; --muted-rgb: 173 162 148;
  --accent: #c6a473; --accent-rgb: 198 164 115;
  --accent-text: #d4b78a; --accent-text-rgb: 212 183 138;
  --on-accent: #151210;
  --accent-fill: #c6a473; --on-accent-fill: #151210;
  --border: rgb(214 190 150 / 0.16);
  --border-strong: rgb(214 190 150 / 0.32);
  --hairline: rgb(242 236 226 / 0.09);
  --warn-bg: #2a2116;
  --ink: #0e0c0b; --ink-rgb: 14 12 11;
  --paper: #f2ece2; --paper-rgb: 242 236 226;
  --plate: #201b17; --plate-rgb: 32 27 23;
  --plate-glow: rgb(198 164 115 / 0.16);
  --glow: rgb(198 164 115 / 0.14);
  --shadow-rgb: 0 0 0;
  color-scheme: dark;
}

/* Always-dark chapters: the closing CTA, the Lore & Form band, the footer,
   and featured payment cards. Re-scoping the tokens here means every
   token-driven child (Tailwind text-charcoal, .btn-primary, timeline nodes,
   inputs) renders correctly on the dark band in BOTH editions, instead of
   relying on one-off "light" button variants. */
.bg-ink, .el-band,
.pkg-card.is-featured, .care-card.is-featured {
  --background: #171311; --background-rgb: 23 19 17;
  --background-alt: #1e1916; --background-alt-rgb: 30 25 22;
  --surface: #221c18; --surface-rgb: 34 28 24;
  --foreground: #f2ece2; --foreground-rgb: 242 236 226;
  --muted: #a89e90; --muted-rgb: 168 158 144;
  --accent: #c6a473; --accent-rgb: 198 164 115;
  --accent-text: #d4b78a; --accent-text-rgb: 212 183 138;
  --on-accent: #151210;
  --accent-fill: #c6a473; --on-accent-fill: #151210;
  --border: rgb(214 190 150 / 0.18);
  --border-strong: rgb(214 190 150 / 0.34);
  --hairline: rgb(242 236 226 / 0.10);
  --plate: #221c18; --plate-rgb: 34 28 24;
  color-scheme: dark;
}
/* In the Espresso edition the bands go one step deeper than the page. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bg-ink,
  :root:not([data-theme="light"]) .el-band { --background: #0e0c0b; --background-rgb: 14 12 11; }
}
:root[data-theme="dark"] .bg-ink,
:root[data-theme="dark"] .el-band { --background: #0e0c0b; --background-rgb: 14 12 11; }

/* ----------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
html { background: var(--background); }
body {
  background: var(--background);
  color: var(--foreground);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgb(var(--accent-rgb) / 0.28); color: var(--foreground); }

html h1.font-display, html h2.font-display, html .font-display.font-medium {
  font-weight: 400;
  letter-spacing: -0.018em;
}
html h1, html h2 { text-wrap: balance; }
html main p { text-wrap: pretty; }
.font-display em, h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-text); }

/* Editorial radii: crisp, never bubbly. */
html .rounded-lg { border-radius: var(--radius-card); }
html .rounded { border-radius: var(--radius-card); }

/* Focus: one consistent, high-contrast ring in both editions. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Native controls follow the edition (scrollbars, date pickers, autofill). */
input, select, textarea { color-scheme: inherit; }

/* Softer, lower shadows: hairlines carry the structure, not drop shadows. */
html .shadow-soft {
  box-shadow: 0 1px 0 rgb(var(--shadow-rgb) / 0.03), 0 22px 44px -34px rgb(var(--shadow-rgb) / 0.32);
}
html .shadow-soft-lg {
  box-shadow: 0 1px 0 rgb(var(--shadow-rgb) / 0.04), 0 34px 70px -40px rgb(var(--shadow-rgb) / 0.42);
}

/* ----------------------------------------------------------------------------
   3. Chapter vocabulary: eyebrows, numbers, rules, thread
   ------------------------------------------------------------------------- */
.eyebrow {
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--accent-text);
}
.eyebrow::before { width: 28px; background: var(--accent); }
.eyebrow .chapter-num {
  order: -1;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--foreground);
}
.rule-gold { background: var(--accent); }

/* A single hairline that can sit between chapters. */
.el-rule { display: block; height: 1px; background: var(--hairline); border: 0; }

/* ----------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
#site-header {
  background-color: rgb(var(--background-rgb) / 0.9);
  border-bottom-color: var(--hairline);
}
#site-header > .max-w-7xl { padding-top: 0.85rem; padding-bottom: 0.85rem; }
@media (min-width: 640px) { #site-header > .max-w-7xl { padding-top: 0.95rem; padding-bottom: 0.95rem; } }
@media (min-width: 1024px) { #site-header > .max-w-7xl { padding-top: 1.05rem; padding-bottom: 1.05rem; } }
#site-header[data-scrolled="true"] {
  background-color: rgb(var(--background-rgb) / 0.82);
  box-shadow: 0 1px 0 var(--hairline), 0 18px 36px -30px rgb(var(--shadow-rgb) / 0.35);
}
#site-header[data-scrolled="true"] > .max-w-7xl { padding-top: 0.7rem; padding-bottom: 0.7rem; }

html .logo-header { width: clamp(176px, 8vw + 132px, 262px); height: auto; }

#site-header nav[aria-label="Primary"] { gap: 1.55rem; }
@media (min-width: 1280px) { #site-header nav[aria-label="Primary"] { gap: 2.15rem; } }
#site-header .nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgb(var(--foreground-rgb) / 0.74);
  transition: color 220ms ease;
}
#site-header .nav-link:hover, #site-header .nav-link.is-current { color: var(--foreground); }
#site-header .nav-link::after { bottom: -6px; }

#site-header .btn { min-height: 44px; padding: 0 1.3rem; white-space: nowrap; }
#site-header .nav-link { white-space: nowrap; }
/* 1024-1279px: the full nav, the appearance and search buttons, and the
   primary CTA all share one row, so everything tightens slightly. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  html .logo-header { width: 182px; }
  #site-header nav[aria-label="Primary"] { gap: 1.15rem; }
  #site-header .nav-link { font-size: 0.76rem; letter-spacing: 0.01em; }
  #site-header .btn { padding: 0 1rem; letter-spacing: 0.14em; }
  #site-header > .max-w-7xl > .flex.items-center { gap: 0.5rem; }
}
html .nav-search-btn, .theme-menu-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  color: var(--foreground);
}
html .nav-search-btn:hover, html .nav-search-btn[aria-expanded="true"] {
  border-color: var(--border-strong);
  color: var(--foreground);
  background: rgb(var(--foreground-rgb) / 0.04);
}
#menu-toggle { border-color: var(--hairline); }
html .nav-search-panel { border-radius: var(--radius-card); border-color: var(--hairline); }

/* ----------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
  border-radius: var(--radius);
  min-height: 50px;
  padding: 0 1.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.btn::before { background: linear-gradient(115deg, transparent 25%, rgb(255 255 255 / 0.10) 50%, transparent 75%); }
.btn-primary { background: var(--foreground); color: var(--background); }
.btn-primary:hover {
  background: var(--accent-fill);
  color: var(--on-accent-fill);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -18px rgb(var(--shadow-rgb) / 0.55);
}
.btn-outline { border-color: var(--border-strong); }
.btn-outline:hover {
  border-color: var(--foreground);
  background: rgb(var(--foreground-rgb) / 0.035);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-outline:hover, .btn-outline:active { box-shadow: none; }
.btn-ghost:hover { background: rgb(var(--foreground-rgb) / 0.04); }
/* The "light" variants sit on always-dark bands; their hover fill is the
   band's champagne (fixed), never the light edition's bronze. */
.btn-solid-light:hover, .btn-on-inverse { background: #c6a473; color: #151210; }
.btn-outline-light:hover { color: #d4b78a; border-color: #c6a473; }
.btn .btn-arrow { font-family: 'Inter', sans-serif; letter-spacing: 0; }

/* Accent fills that carry text: route through the accessible fill tokens. */
html .lc-btn:hover { background: var(--accent-fill); color: var(--on-accent-fill); }
html .lc-btn:hover .lc-btn-dot { background: var(--on-accent-fill); }
html .lc-send:hover { background: var(--accent-fill); color: var(--on-accent-fill); }
.timeline-step[aria-selected="true"] .timeline-node { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent-fill); }
html .pkg-badge { background: var(--accent-fill); color: var(--on-accent-fill); border-radius: var(--radius); }

/* payments.html: its own dark-only featured-card treatment, mirrored for
   manual overrides (the page's inline rule only knows the OS setting). */
:root[data-theme="dark"] .pkg-card.is-featured,
:root[data-theme="dark"] .care-card.is-featured {
  background: #221f1a; border-color: var(--accent); box-shadow: 0 24px 50px -30px rgb(0 0 0 / 0.9);
}
:root[data-theme="light"] .pkg-card.is-featured,
:root[data-theme="light"] .care-card.is-featured {
  background: var(--ink); border-color: rgb(var(--accent-rgb) / 0.55); box-shadow: none;
}

/* ----------------------------------------------------------------------------
   6. Cards, surfaces, forms (sitewide, token-level refinements)
   ------------------------------------------------------------------------- */
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.lf-card { border-color: var(--hairline); }
.lf-card:hover, .lf-card.is-open { border-color: var(--border-strong); }
.payment-icon { border-color: var(--border-strong); }
.trust-icon { background: rgb(var(--accent-rgb) / 0.08); }
html .tag-pill { border-radius: var(--radius); background: transparent; border-color: var(--hairline); letter-spacing: 0.06em; }
html .segmented-control { border-radius: var(--radius); }
html .segmented-btn { border-radius: var(--radius); }
html .site-search { border-radius: var(--radius); border-color: var(--border); }
html .option-pill { border-radius: var(--radius); }

/* pricing.html package cards: clearer hierarchy, numbered tiers. */
html main .grid:has(> .price-card) { counter-reset: el-tier; }
html .price-card {
  position: relative;
  counter-increment: el-tier;
  border-radius: var(--radius-card);
  border-color: var(--hairline);
  padding: 2rem 1.75rem 1.85rem;
}
html .price-card::before {
  content: counter(el-tier, decimal-leading-zero);
  display: block;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hairline);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-text);
}
html .price-card.price-card--featured {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: inset 0 2px 0 var(--accent), 0 30px 60px -44px rgb(var(--shadow-rgb) / 0.5);
}
html .price-card-name { font-size: 1.3rem; }
html .price-card-total { font-size: 2.6rem; letter-spacing: -0.02em; }
html .price-card-pill { border-radius: var(--radius); border-color: var(--border); }
html .compare-table thead th { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }

/* ----------------------------------------------------------------------------
   7. Theme-aware images (logos with light/dark files)
   A <picture> with a prefers-color-scheme <source> can only follow the OS,
   never a visitor's manual choice, so themed logos ship as two lazy <img>s
   and CSS shows one. Lazy + display:none means only the visible one loads.
   ------------------------------------------------------------------------- */
html .theme-img-dark { display: none !important; }
html .theme-img-light { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-img-light { display: none !important; }
  :root:not([data-theme="light"]) .theme-img-dark { display: block !important; }
}
:root[data-theme="dark"] .theme-img-light { display: none !important; }
:root[data-theme="dark"] .theme-img-dark { display: block !important; }

/* ----------------------------------------------------------------------------
   8. Appearance control (Auto / Light / Dark)
   Hidden entirely until the head bootstrap has run (no JS = Auto only, which
   is exactly the default experience, so nothing is lost).
   ------------------------------------------------------------------------- */
/* During a View Transition theme switch the browser crossfades the whole
   page; per-element color transitions would otherwise fade a second time. */
html.el-theme-switching *, html.el-theme-switching *::before, html.el-theme-switching *::after { transition: none !important; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: ease; }

html:not([data-theme-pref]) .theme-menu,
html:not([data-theme-pref]) .theme-picker { display: none !important; }

.theme-menu { position: relative; display: none; }
@media (min-width: 1024px) { .theme-menu { display: block; } }
.theme-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.theme-menu-btn:hover, .theme-menu-btn[aria-expanded="true"] {
  border-color: var(--border-strong);
  background: rgb(var(--foreground-rgb) / 0.04);
}
.theme-glyph { width: 17px; height: 17px; display: none; }
html[data-theme-pref="auto"] .theme-glyph-auto,
html[data-theme-pref="light"] .theme-glyph-light,
html[data-theme-pref="dark"] .theme-glyph-dark { display: block; }

.theme-menu-panel {
  position: absolute; top: calc(100% + 0.75rem); right: 0; z-index: 60;
  width: 236px; padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 50px -28px rgb(var(--shadow-rgb) / 0.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms ease, transform 220ms var(--ease), visibility 0s linear 220ms;
}
.theme-menu-panel.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 200ms ease, transform 220ms var(--ease), visibility 0s;
}

.theme-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.theme-picker-legend {
  padding: 0; margin-bottom: 0.65rem;
  font-family: 'Inter', sans-serif; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.theme-opt { position: relative; display: flex; cursor: pointer; }
.theme-opt-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.theme-opt-label { display: flex; align-items: center; gap: 0.6rem; width: 100%; font-family: 'Inter', sans-serif; }

/* Stacked list (header popover) */
.theme-picker--stack .theme-opt-label {
  min-height: 44px; padding: 0.5rem 0.65rem; border-radius: var(--radius);
  font-size: 0.86rem; color: var(--foreground);
  transition: background-color 160ms ease;
}
.theme-picker--stack .theme-opt-label small { margin-left: auto; font-size: 0.72rem; color: var(--muted); }
.theme-picker--stack .theme-opt:hover .theme-opt-label { background: rgb(var(--foreground-rgb) / 0.05); }
.theme-picker--stack .theme-opt-label::before {
  content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent;
}
html[data-theme-pref="auto"] .theme-picker--stack .theme-opt[data-theme-value="auto"] .theme-opt-label::before,
html[data-theme-pref="light"] .theme-picker--stack .theme-opt[data-theme-value="light"] .theme-opt-label::before,
html[data-theme-pref="dark"] .theme-picker--stack .theme-opt[data-theme-value="dark"] .theme-opt-label::before {
  background: var(--accent); border-color: var(--accent);
}

/* Inline segmented (mobile drawer, footer) */
.theme-picker--inline .theme-picker-options {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.theme-picker--inline .theme-opt-label {
  justify-content: center; min-height: 40px; min-width: 64px; padding: 0 0.85rem;
  border-radius: var(--radius);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}
.theme-picker--inline .theme-opt:hover .theme-opt-label { color: var(--foreground); }
html[data-theme-pref="auto"] .theme-picker--inline .theme-opt[data-theme-value="auto"] .theme-opt-label,
html[data-theme-pref="light"] .theme-picker--inline .theme-opt[data-theme-value="light"] .theme-opt-label,
html[data-theme-pref="dark"] .theme-picker--inline .theme-opt[data-theme-value="dark"] .theme-opt-label {
  background: var(--foreground); color: var(--background);
}
.theme-opt-input:focus-visible + .theme-opt-label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The floating "Ask Lore" launcher (z-index 999999) used to sit on top of
   the open mobile drawer, covering its bottom rows (Start A Project, the
   appearance control) and hijacking taps there. Step it aside while the
   drawer is open; it returns the moment the drawer closes. */
html.is-menu-open .lc-btn,
html.is-menu-open .lc-nudge { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

/* The header row floats above the full-screen drawer; give it a solid ground
   while the drawer is open so scrolled links never slide visibly under the
   logo and close button. */
html.is-menu-open #site-header > .max-w-7xl {
  background: var(--background);
  box-shadow: 0 1px 0 var(--hairline);
}

/* Mobile drawer placement */
.mobile-menu-theme { padding: 4px 24px 20px; }
.mobile-menu-theme .theme-picker-options { display: flex; width: 100%; }
.mobile-menu-theme .theme-opt { flex: 1 1 0; }
.mobile-menu-panel { background: var(--background); }

/* ----------------------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------------------- */
footer.bg-ink { border-top: 1px solid var(--hairline); }
/* The floating "Ask Lore" button (fixed, bottom-right) must never sit on top
   of the footer's last row, including the appearance control. */
html footer.bg-ink { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
footer.bg-ink a { transition: color 200ms ease; }
footer.bg-ink h3 { letter-spacing: 0.22em; }
/* Pre-existing footer labels at 40% ivory measured ~3.3:1; lift to AA. */
html footer.bg-ink .text-paper\/40, html .footer-legal { color: rgb(var(--paper-rgb) / 0.6); }
html .footer-legal { align-items: center; text-align: center; gap: 1.5rem; }
@media (min-width: 640px) {
  html .footer-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 2.5rem; text-align: left; }
  html .footer-legal > :nth-child(2) { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
.footer-legal .theme-picker--inline .theme-picker-options { border-color: rgb(var(--paper-rgb) / 0.16); }
.footer-legal .theme-picker-legend { color: rgb(var(--paper-rgb) / 0.6); }
.site-credit { display: block; margin-top: 0.35rem; color: rgb(var(--paper-rgb) / 0.6); }
.site-credit a {
  color: rgb(var(--paper-rgb) / 0.7);
  text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / 0.6);
  text-underline-offset: 3px;
}
.site-credit a:hover { color: var(--paper); }
/* Header-less confirmation pages: a quiet credit under the copyright. */
.site-credit--plain { color: var(--muted); }
.site-credit--plain a { color: var(--muted); }
.site-credit--plain a:hover { color: var(--foreground); }

/* ----------------------------------------------------------------------------
   10. Homepage (index.html, body.page-home)
   ------------------------------------------------------------------------- */

/* ---- Hero ---------------------------------------------------------------- */
.page-home #hero.el-hero {
  padding-top: clamp(2.25rem, 5vw, 3.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: var(--background);
}
.el-hero-meta {
  display: flex; align-items: center; gap: 0.85rem;
  font-family: 'Inter', sans-serif; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.el-hero-meta-rule { flex: 0 0 36px; height: 1px; background: var(--accent); }
@media (max-width: 639.98px) { .el-hero-meta > span:first-child { display: none; } }
@media (max-width: 399.98px) {
  .el-hero-meta { font-size: 0.6rem; letter-spacing: 0.18em; gap: 0.65rem; }
  .el-hero-meta-rule { flex-basis: 22px; }
}
.el-hero-meta-aside { display: none; margin-left: auto; gap: 1.1rem; }
.el-hero-meta-aside span + span::before {
  content: ''; display: inline-block; width: 3px; height: 3px; margin-right: 1.1rem;
  border-radius: 999px; background: var(--accent); vertical-align: middle;
}
@media (min-width: 1024px) { .el-hero-meta-aside { display: inline-flex; } }

.el-hero-grid { display: grid; gap: 3.25rem; margin-top: clamp(1.75rem, 4.5vw, 3.25rem); }
@media (min-width: 1024px) {
  .el-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
}

.page-home .el-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.7rem, 11vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
@media (min-width: 1024px) { .page-home .el-hero-title { font-size: clamp(4rem, 5.6vw, 5.6rem); } }
.el-hero-title em { font-style: italic; color: var(--accent-text); padding-right: 0.04em; }

.el-hero-lore {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.6rem;
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: clamp(1.08rem, 2.4vw, 1.4rem); line-height: 1.4;
  color: var(--foreground);
}
.el-hero-lore::before { content: ''; flex: 0 0 28px; height: 1px; background: var(--accent); }
.el-hero-body {
  margin-top: 1.1rem; max-width: 33rem;
  font-size: 1rem; line-height: 1.75; color: var(--muted);
}
@media (min-width: 640px) { .el-hero-body { font-size: 1.05rem; } }
.el-hero-actions { margin-top: 2.1rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 480px) { .el-hero-actions { flex-direction: row; flex-wrap: wrap; } }
.el-hero-proof {
  margin-top: 1.6rem; list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.35rem;
  font-size: 0.76rem; letter-spacing: 0.02em; color: var(--muted);
}
.el-hero-proof li { display: inline-flex; align-items: center; gap: 0.55rem; }
.el-hero-proof li::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background: var(--accent); }

/* The work, mounted. */
.el-hero-work { position: relative; margin: 0; }
.el-hero-stage {
  position: relative; z-index: 1;
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem) clamp(2.75rem, 7vw, 4.25rem);
  background:
    radial-gradient(120% 90% at 78% 8%, var(--plate-glow), transparent 58%),
    var(--plate);
  border: 1px solid var(--hairline);
}
.el-hero-desktop {
  position: relative; overflow: hidden;
  border: 1px solid rgb(var(--foreground-rgb) / 0.12);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: 0 2px 2px rgb(var(--shadow-rgb) / 0.05), 0 40px 80px -46px rgb(var(--shadow-rgb) / 0.6);
}
.el-hero-chrome {
  display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px;
  background: var(--background-alt); border-bottom: 1px solid var(--hairline);
}
.el-hero-chrome span { width: 6px; height: 6px; border-radius: 999px; background: rgb(var(--foreground-rgb) / 0.16); }
.el-hero-desktop img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1440 / 1000; object-fit: cover; object-position: top center;
  background: var(--background-alt);
}
.el-hero-phone {
  position: absolute; z-index: 2;
  right: clamp(-0.75rem, -1.5vw, -0.25rem); bottom: clamp(-1.75rem, -3vw, -1rem);
  width: 27%; min-width: 92px; max-width: 168px;
  padding: 5px; border-radius: 20px;
  background: #0f0d0b; /* device bezel: a physical object, fixed in both editions */
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08), 0 30px 50px -22px rgb(var(--shadow-rgb) / 0.7);
}
.el-hero-phone img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 390 / 844; object-fit: cover; object-position: top center;
  border-radius: 15px;
}
.el-hero-thread {
  position: absolute; z-index: 0; pointer-events: none;
  top: -9%; right: -6%; width: 64%; height: auto; overflow: visible;
}
.el-hero-thread .thread-arc { stroke: var(--accent); stroke-width: 1.2; fill: none; opacity: 0.85; }
.el-hero-thread .thread-arc--soft { stroke: var(--muted); opacity: 0.4; }
.el-hero-thread .thread-dot { fill: var(--accent); }
@media (max-width: 1023.98px) { .el-hero-thread { top: -6%; right: -4%; width: 58%; } }

.el-hero-caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 0.9rem; border-top: 1px solid var(--hairline);
  font-size: 0.78rem; color: var(--muted);
}
.el-hero-caption-label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text);
}
.el-hero-caption a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.el-hero-caption a:hover { color: var(--accent-text); }

/* Hero entrance: copy uses the existing .fade-up + [data-hero-step] stagger;
   the mounted work reveals like a print being uncovered, and the thread draws. */
/* Ends on a negative inset so the clip never crops the phone, which
   deliberately overhangs the mount's edge. */
@keyframes el-plate-in {
  from { opacity: 0; clip-path: inset(6% 6% 6% 6%); transform: translateY(10px); }
  to { opacity: 1; clip-path: inset(-40% -40% -40% -40%); transform: none; }
}
@keyframes el-phone-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes el-thread-draw { to { stroke-dashoffset: 0; } }
@keyframes el-fade { to { opacity: 1; } }
.el-hero-stage { animation: el-plate-in 1100ms var(--ease) 260ms both; }
.el-hero-phone { animation: el-phone-in 900ms var(--ease) 720ms both; }
.el-hero-thread .thread-arc { stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: el-thread-draw 1800ms var(--ease) 600ms both; }
.el-hero-thread .thread-dot { opacity: 0; animation: el-fade 500ms var(--ease) 1900ms both; }
.el-hero-caption { opacity: 0; animation: el-fade 700ms var(--ease) 1000ms both; }

/* ---- Capabilities strip ---------------------------------------------------- */
.page-home .el-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.page-home .el-strip .trust-bar-list { margin-top: 0; padding-top: 0; border-top: 0; gap: 0.8rem 2.5rem; }
.page-home .el-strip .trust-bar-item { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- Section headings (homepage) ------------------------------------------- */
.page-home .el-h2 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400;
  font-size: clamp(2rem, 7.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.022em;
  color: var(--foreground);
}
.page-home .el-lede { margin-top: 1.1rem; font-size: 1rem; line-height: 1.75; color: var(--muted); max-width: 36rem; }
@media (min-width: 640px) { .page-home .el-lede { font-size: 1.08rem; } }
.page-home .el-section { padding-top: clamp(4.5rem, 10vw, 8rem); padding-bottom: clamp(4.5rem, 10vw, 8rem); }

/* ---- Selected Work --------------------------------------------------------- */
.page-home #work { background: var(--background-alt); }
.page-home .work-head { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
  .page-home .work-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
}
.page-home .work-note {
  font-size: 0.86rem; line-height: 1.7; color: var(--muted);
  padding-left: 1rem; border-left: 1px solid var(--accent);
  max-width: 26rem;
}

/* Every card, every size */
.page-home .work-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: none;
}
.page-home .work-card:hover { box-shadow: none; }
.page-home .work-media {
  position: relative;
  padding: 1.25rem 1.25rem 1.5rem;
  background:
    radial-gradient(120% 90% at 80% 0%, var(--plate-glow), transparent 60%),
    var(--plate);
}
.page-home .work-media .segmented-control { margin-top: 1.1rem; }
.page-home .work-body { display: flex; flex-direction: column; flex-grow: 1; }
.page-home .work-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; }
.page-home .work-num {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.05rem;
  color: var(--accent-text);
}
.page-home .work-meta-rule { width: 28px; height: 1px; background: var(--accent); }
.page-home .work-cat {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.page-home .work-title {
  margin-top: 0.85rem;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400;
  font-size: 1.6rem; line-height: 1.12; letter-spacing: -0.015em; color: var(--foreground);
}
/* Client logos keep their own light artwork; a fixed ivory label keeps every
   logo legible in both editions without recoloring client branding. */
.page-home .work-logo {
  display: inline-flex; align-items: center; align-self: flex-start;
  margin-top: 1rem; padding: 0.4rem 0.6rem;
  background: #fbf9f5; border: 1px solid rgb(28 24 20 / 0.08); border-radius: var(--radius);
}
.page-home .work-logo .work-card-logo { max-height: 26px; }
.page-home .work-desc { margin-top: 1rem; font-size: 0.92rem; line-height: 1.75; color: var(--muted); flex-grow: 1; }
.page-home .work-card .card-cta { margin-top: 1.5rem; }
.page-home .work-desktop-frame, .page-home .work-mobile-frame { border-radius: 3px; }
.page-home .work-desktop-frame { border-color: rgb(var(--foreground-rgb) / 0.12); }
.page-home .work-mobile-frame { border-radius: 16px; background: #0f0d0b; }
.page-home .work-mobile-notch { background: #0f0d0b; }
.page-home .work-mobile-screen { border-radius: 11px; }
.page-home .work-card-line { display: none; }

/* Below lg: a swipeable carousel of mounted cards (existing controls). */
@media (max-width: 1023.98px) {
  .page-home .work-card { padding: 0.75rem 0.75rem 1.5rem; }
  .page-home .work-body { padding: 0 0.6rem; }
  .page-home .work-mobile-frame { max-width: 200px; }
}

/* lg+: editorial index. Large mounted previews, alternating sides. */
@media (min-width: 1024px) {
  .page-home #work-carousel { display: block; }
  .page-home .work-card {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.75rem, 5vw, 5rem);
    align-items: center;
    padding: 0; background: transparent; border: 0; overflow: visible;
  }
  .page-home .work-card + .work-card { margin-top: clamp(4.5rem, 8vw, 7rem); }
  .page-home .work-card:hover, .page-home .work-card:active { transform: none; }
  .page-home .work-card:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .page-home .work-card:nth-child(even) .work-media { order: 2; }
  .page-home .work-media { padding: clamp(2.5rem, 4.5vw, 4rem) clamp(3.5rem, 6vw, 5.5rem) clamp(3.25rem, 5.5vw, 4.75rem) clamp(2.5rem, 4.5vw, 4rem); border: 1px solid var(--hairline); }
  .page-home .work-stage { padding-right: 0; padding-bottom: 0; }
  .page-home .work-mobile-frame { width: 24%; min-width: 110px; max-width: 160px; right: -11%; bottom: -12%; border-radius: 18px; }
  .page-home .work-meta { margin-top: 0; }
  .page-home .work-num { font-size: 1.35rem; }
  .page-home .work-title { font-size: clamp(2.1rem, 3.1vw, 2.9rem); margin-top: 1.1rem; }
  .page-home .work-desc { flex-grow: 0; font-size: 1rem; max-width: 30rem; }
  .page-home .work-card .card-tags { max-height: none; opacity: 1; margin-top: 1.25rem; overflow: visible; }
  .page-home .work-card .card-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; }
  .page-home .work-card .card-cta .btn { width: auto; }
  .page-home .work-card:hover .card-cta, .page-home .work-card.is-expanded .card-cta { box-shadow: none; }
}

/* ---- Packages preview ------------------------------------------------------ */
.page-home .el-tiers {
  display: grid; margin-top: 3.25rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .page-home .el-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .page-home .el-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-home .el-tier {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 0 2.1rem;
  border-bottom: 1px solid var(--hairline);
}
.page-home .el-tier:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .page-home .el-tier { padding: 2.25rem 1.75rem 2.25rem; border-bottom: 0; }
  .page-home .el-tier:nth-child(odd) { padding-left: 0; }
  .page-home .el-tier:nth-child(even) { border-left: 1px solid var(--hairline); }
  .page-home .el-tier:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (min-width: 1024px) {
  .page-home .el-tier { padding: 2.5rem 1.75rem 2.4rem; }
  .page-home .el-tier:nth-child(-n+2) { border-bottom: 0; }
  .page-home .el-tier:nth-child(odd) { padding-left: 1.75rem; }
  .page-home .el-tier:first-child { padding-left: 0; }
  .page-home .el-tier + .el-tier { border-left: 1px solid var(--hairline); }
}
.page-home .el-tier--featured {
  background: var(--surface);
  box-shadow: inset 0 2px 0 var(--accent);
}
@media (max-width: 639.98px) { .page-home .el-tier--featured { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (min-width: 640px) { .page-home .el-tier--featured.el-tier { padding-left: 1.75rem; } }
.page-home .el-tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.page-home .el-tier-name {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.page-home .el-tier-name span {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 0.95rem;
  letter-spacing: 0; text-transform: none; color: var(--accent-text);
}
.page-home .el-tier-badge {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text);
}
.page-home .el-tier-price {
  margin-top: 1.1rem;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--foreground);
}
.page-home .el-tier-desc { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.7; color: var(--muted); flex-grow: 1; }
.page-home .el-tier .btn { margin-top: 1.75rem; width: 100%; }
.page-home .el-tier-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--muted); }

/* ---- What's Included ------------------------------------------------------- */
.page-home #services { background: var(--background-alt); }
.page-home .el-included { display: grid; margin-top: 3rem; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .page-home .el-included { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 1024px) { .page-home .el-included { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3.5rem; } }
.page-home .el-included-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 1.1rem; align-items: start;
  padding: 1.6rem 0 1.7rem; border-bottom: 1px solid var(--hairline);
}
.page-home .el-included-item .payment-icon { width: 44px; height: 44px; grid-row: 1 / span 2; }
.page-home .el-included-item h3 { padding-top: 0.55rem; }
.page-home .el-included-item .payment-icon svg { width: 18px; height: 18px; }
.page-home .el-included-item h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; color: var(--foreground); }
.page-home .el-included-item p { margin-top: 0.35rem; font-size: 0.88rem; line-height: 1.65; color: var(--muted); }

/* ---- Lore & Form method (dark band in both editions) ---------------------- */
.page-home #process.el-band { background: var(--background); color: var(--foreground); position: relative; overflow: hidden; }
.page-home .el-method-head { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .page-home .el-method-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: end; } }
.page-home #process .timeline-label { color: var(--muted); }
.page-home #process .timeline-step[aria-selected="true"] .timeline-label,
.page-home #process .timeline-step:hover .timeline-label { color: var(--foreground); }
.page-home #process .timeline-panel { font-family: 'Playfair Display', Georgia, serif; }
.page-home #process #process-panel-desc {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.55; color: var(--foreground); font-style: italic;
}
.page-home .el-method-actions { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.page-home .el-text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--foreground);
  border-bottom: 1px solid var(--accent); padding-bottom: 0.3rem;
  transition: color 200ms ease, gap 240ms var(--ease);
}
.page-home .el-text-link:hover { color: var(--accent-text); gap: 0.75rem; }
.page-home .el-band-thread {
  position: absolute; pointer-events: none; right: -12rem; top: -10rem; width: 34rem; height: auto; opacity: 0.55;
}
.page-home .el-band-thread circle, .page-home .el-band-thread path { fill: none; stroke: var(--accent); stroke-width: 1; }

/* ---- Founder --------------------------------------------------------------- */
.page-home .founder-portrait-wrap::before { border-radius: var(--radius); border-color: var(--border-strong); inset: 18px -18px -18px 18px; }
.page-home .founder-portrait-frame { border-radius: var(--radius); border-color: var(--hairline); box-shadow: 0 40px 80px -50px rgb(var(--shadow-rgb) / 0.55); }
.page-home .founder-value-icon { background: transparent; border-color: var(--border-strong); }
.page-home .el-founder-quote {
  margin-top: 1rem; font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 1.15rem; line-height: 1.5; color: var(--foreground);
}
.page-home .el-founder-caption {
  margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}

/* ---- Audit / FAQ / Contact ------------------------------------------------- */
.page-home #free-audit { background: var(--background-alt); }
.page-home #faq { background: var(--background); border-color: var(--hairline); }
.page-home #contact { background: var(--background-alt); border-color: var(--hairline); }
.page-home #faq .lf-card { background: transparent; border-width: 0 0 1px; border-radius: 0; padding-left: 0; padding-right: 0; }
.page-home #faq #faq-list { border-top: 1px solid var(--hairline); margin-top: 2.5rem; }
.page-home #faq #faq-list.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.page-home #contact .card { background: var(--surface); box-shadow: none; border-color: var(--hairline); }

/* ---- Closing chapter -------------------------------------------------------- */
.page-home #closing { position: relative; overflow: hidden; background: var(--background); color: var(--foreground); }
.page-home .el-closing-title {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400;
  font-size: clamp(2.3rem, 8.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em;
}
.page-home .el-closing-thread {
  position: absolute; pointer-events: none; left: 50%; top: 50%;
  width: min(760px, 140vw); height: auto; transform: translate(-50%, -50%); opacity: 0.35;
}
.page-home .el-closing-thread circle, .page-home .el-closing-thread path { fill: none; stroke: var(--accent); stroke-width: 0.8; }
.page-home .el-closing-thread .thread-dot { fill: var(--accent); stroke: none; }

/* ---- Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .el-hero-stage, .el-hero-phone, .el-hero-caption, .el-hero-thread .thread-dot {
    animation: none !important; opacity: 1 !important; clip-path: none !important; transform: none !important;
  }
  .el-hero-thread .thread-arc { animation: none !important; stroke-dashoffset: 0 !important; }
  .theme-menu-panel, .theme-opt-label, .theme-picker--stack .theme-opt-label { transition: none !important; }
  .page-home .el-text-link { transition: none; }
}

/* Print: the editorial system in ink on paper, controls hidden. */
@media print {
  .theme-menu, .theme-picker, #sticky-cta, .lc-btn { display: none !important; }
}
