/* ==========================================================================
   TVMountingNow  —  Design System
   Concept:  An editorial handbook for wall-mounting a television.
   Visual:   Warm cream paper · terracotta ink-accent · Fraunces + IBM Plex.
   Note:     Informational only — nothing is sold.
   ========================================================================== */

/* -----  1. TOKENS  ------------------------------------------------------- */
:root {
    /* Surfaces — warm printed-paper cream */
    --paper:    #f7f2ea;
    --paper-2:  #efe7d9;   /* alternating sections / insets */
    --paper-3:  #e6dccb;   /* deeper wash / hovers */
    --card:     #fdfaf4;   /* raised blocks, slightly brighter than paper */

    /* Ink — warm near-black */
    --ink:       #241f1b;
    --ink-soft:  #5c5148;
    --ink-faint: #8a7d70;

    /* Rules */
    --rule:   #ddd0bd;
    --rule-2: #cbbca4;

    /* Accent — terracotta / clay */
    --clay:      #c4623d;   /* headings emphasis, fills, figure strokes */
    --clay-ink:  #a84a28;   /* links & text-sized accent — AA on cream */
    --clay-deep: #8a3c20;   /* hover / pressed */
    --clay-wash: #f0e0d3;   /* soft accent background */
    --clay-glow: rgba(196,98,61,0.16);

    /* Type */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* Type scale */
    --t-display: clamp(2.9rem, 5.2vw + 1rem, 5.2rem);
    --t-h1:      clamp(2.3rem, 3.8vw + 0.6rem, 3.7rem);
    --t-h2:      clamp(1.9rem, 2.6vw + 0.6rem, 2.9rem);
    --t-h3:      clamp(1.25rem, 1vw + 0.85rem, 1.6rem);
    --t-body:    1.075rem;
    --t-small:   0.9375rem;
    --t-micro:   0.78rem;

    /* Spacing */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

    --radius:    8px;
    --radius-sm: 5px;
    --max-w:     1160px;
    --gutter:    24px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 220ms;
}

/* -----  2. RESET + BASE  ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--t-body);
    line-height: 1.68;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--clay); color: #fff6ee; }
:focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 3px; border-radius: 2px; }

/* -----  3. TYPOGRAPHY  --------------------------------------------------- */
.display {
    font-family: var(--font-display);
    font-size: var(--t-display);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
}
h1, .h1 { font-family: var(--font-display); font-size: var(--t-h1); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
h2, .h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
h3, .h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; }
em, .italic { font-style: italic; }
.display em, h1 em, h2 em, .cta h2 em, .page-head h1 em { font-style: italic; color: var(--clay); }

.lede { font-size: 1.24rem; line-height: 1.6; color: var(--ink-soft); }
.small { font-size: var(--t-small); }
.muted { color: var(--ink-faint); }
.accent { color: var(--clay-ink); }

/* Kicker — editorial serif-italic label with a short clay rule (not all-caps) */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--clay-ink);
}
.kicker::before {
    content: "";
    width: 26px; height: 1.5px;
    background: var(--clay);
}

/* Masthead — the magazine dateline rule */
.masthead {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-4) 0;
    border-top: 1.5px solid var(--ink);
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
    flex-wrap: wrap;
}
.masthead strong { color: var(--ink); font-weight: 600; }
.masthead__dot { color: var(--clay); }

/* Live dot */
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); display: inline-block; position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--clay); opacity: 0.5; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.3); opacity: 0; } }

/* Measurement chip — mono, GENUINE data only (VESA mm, cm, kg) */
.spec-chip {
    display: inline-flex; align-items: center;
    font-family: var(--font-mono);
    font-size: 0.82rem; font-weight: 500;
    color: var(--clay-deep);
    background: var(--clay-wash);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
}

/* Drop cap — one editorial flourish on a lead paragraph */
.dropcap::first-letter {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 3.6em;
    float: left;
    line-height: 0.82;
    padding: 6px 12px 0 0;
    color: var(--clay);
}

/* -----  4. LAYOUT  ------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--s-9); padding-bottom: var(--s-9); position: relative; }
@media (max-width: 768px) { .section { padding-top: var(--s-8); padding-bottom: var(--s-8); } }
.section--tight { padding-top: var(--s-7); padding-bottom: var(--s-7); }
.section--paper2 { background: var(--paper-2); }
.narrow { max-width: 940px; margin-left: auto; margin-right: auto; }

/* Section head — editorial: big serif title left, note right, thin rule above */
.sec-head {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s-7);
    align-items: end;
    margin-bottom: var(--s-8);
    padding-top: var(--s-5);
    border-top: 1.5px solid var(--ink);
}
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; margin-bottom: var(--s-7); } }
.sec-head__title { max-width: 20ch; margin-top: var(--s-3); }
.sec-head__note { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.62; }

/* -----  5. BUTTONS + LINKS  --------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
                color var(--dur) var(--ease), border-color var(--dur) var(--ease);
    white-space: nowrap;
}
.btn--primary { background: var(--clay-deep); color: #fbf3ec; }
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--outline:hover { border-color: var(--clay); color: var(--clay-deep); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* Text link — editorial underline that lifts on hover */
.textlink {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.12rem;
    color: var(--clay-ink);
    border-bottom: 1.5px solid var(--clay-wash);
    padding-bottom: 1px;
    transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.textlink:hover { border-bottom-color: var(--clay); color: var(--clay-deep); }
.textlink svg { width: 15px; height: 15px; }
.link-row { display: flex; gap: var(--s-6); flex-wrap: wrap; align-items: center; }
.ilink { color: var(--clay-ink); border-bottom: 1.5px solid var(--clay-wash); transition: border-color var(--dur) var(--ease); }
.ilink:hover { border-bottom-color: var(--clay); }

/* -----  6. HEADER + NAV  ------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247,242,234,0.78);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--rule);
    background: rgba(247,242,234,0.92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: var(--s-5); }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.brand__name .tv { color: var(--clay-ink); font-style: italic; }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav a { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); padding: 6px 0; position: relative; transition: color var(--dur) var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--clay); }

.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; }
.menu-btn span::after  { top: 6px; }
@media (max-width: 900px) { .nav, .header-cta .btn { display: none; } .header-cta .menu-btn { display: flex; } }

.mobile-menu { position: fixed; inset: 0; background: var(--paper); z-index: 100; padding: var(--s-6) var(--gutter); display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-8); }
.mobile-menu__close { width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; border-bottom: 1px solid var(--rule); padding: var(--s-5) 0; letter-spacing: -0.02em; }
.mobile-menu nav a.is-active { color: var(--clay-ink); font-style: italic; }
.mobile-menu__foot { margin-top: auto; padding-top: var(--s-7); }

/* -----  7. HERO (editorial masthead)  ----------------------------------- */
.hero { padding: var(--s-7) 0 var(--s-8); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-8); align-items: start; margin-top: var(--s-7); }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); } }
.hero h1 { font-size: var(--t-display); margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero__lede { color: var(--ink-soft); font-size: 1.3rem; line-height: 1.55; max-width: 40ch; margin-bottom: var(--s-6); }
.hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* Contents card in hero right column — magazine "in this issue" */
.contents {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: var(--s-6);
}
.contents__h { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); margin-bottom: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.contents a { display: flex; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); transition: color var(--dur) var(--ease); }
.contents a:last-child { border-bottom: none; }
.contents a:hover { color: var(--clay-deep); }
.contents__n { font-family: var(--font-mono); font-size: 0.82rem; color: var(--clay-ink); flex-shrink: 0; }
.contents__t { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }

/* Figure (engraving-style diagram) */
.figure { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s-7); position: relative; }
.figure svg { width: 100%; height: auto; overflow: visible; }
.figure__cap { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--ink-soft); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.figure__cap b { font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; color: var(--clay-ink); margin-right: 8px; }

/* Draw-in for the figure strokes (one motion moment) */
.js .draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw 1.4s var(--ease) forwards; }
.js .draw--2 { animation-delay: 0.35s; }
.js .draw--3 { animation-delay: 0.7s; }
.js .fade-in { opacity: 0; animation: fadeIn 0.6s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* -----  8. PILLAR BAR  -------------------------------------------------- */
.pillbar { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); align-items: center; padding: var(--s-6) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pillbar__item { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.pillbar__item svg { width: 20px; height: 20px; color: var(--clay-ink); flex-shrink: 0; }
.pillbar__item strong { color: var(--ink); font-weight: 600; font-family: var(--font-display); }

/* -----  9. CHAPTERS (editorial numbered index)  ------------------------- */
.chapters { border-top: 1px solid var(--rule); }
.chapter {
    display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6);
    align-items: baseline;
    padding: var(--s-6) var(--s-2);
    border-bottom: 1px solid var(--rule);
    transition: background var(--dur) var(--ease);
}
.chapter:hover { background: var(--paper-2); }
.chapter__no { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--clay); line-height: 0.9; font-style: italic; }
.chapter__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.chapter__body { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; max-width: 62ch; }
.chapter__go { color: var(--clay-ink); flex-shrink: 0; align-self: center; transition: transform var(--dur) var(--ease); }
.chapter:hover .chapter__go { transform: translateX(4px); }
.chapter__go svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .chapter { grid-template-columns: auto 1fr; gap: var(--s-4) var(--s-5); } .chapter__go { display: none; } }

/* -----  10. PANELS (editorial rule-blocks — no icon chips)  ------------- */
.panel-grid { display: grid; gap: 0; }
.panel-grid--2 { grid-template-columns: repeat(2, 1fr); }
.panel-grid--3 { grid-template-columns: repeat(3, 1fr); }
.panel-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .panel-grid--3, .panel-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .panel-grid--2, .panel-grid--3, .panel-grid--4 { grid-template-columns: 1fr; } }

/* Editorial block: hairline grid, clay top-marker, serif title */
.panel {
    padding: var(--s-6);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    display: flex; flex-direction: column;
    background: transparent;
    transition: background var(--dur) var(--ease);
}
.panel:hover { background: var(--paper-2); }
.panel__fig { color: var(--clay-ink); margin-bottom: var(--s-4); }
.panel__fig svg { width: 30px; height: 30px; }
.panel__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.panel__body { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; flex: 1; }
.panel__foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-faint); }
.panel__foot strong { color: var(--clay-ink); font-weight: 500; }
/* wrap the grid so outer right/bottom rules close the table */
.panel-wrap { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* -----  11. SPEC SHEET (definition rows)  ------------------------------- */
.specsheet { border-top: 1.5px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 210px 1fr; gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--rule); }
.spec-term { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.2rem; letter-spacing: -0.01em; }
.spec-def { color: var(--ink-soft); line-height: 1.64; }
.spec-def strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; gap: var(--s-2); } }

/* -----  12. STEPS (numbered ordered process)  --------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: var(--s-4); border-top: 1.5px solid var(--clay); }
.step__n { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--clay-ink); margin-bottom: var(--s-4); display: block; }
.step__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.step__body { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

/* -----  13. COMPARISON TABLE  ------------------------------------------- */
.ctable-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.ctable th, .ctable td { text-align: left; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.ctable thead th { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); background: var(--paper-2); border-bottom: 1.5px solid var(--rule-2); white-space: nowrap; }
.ctable tbody th { font-weight: 600; color: var(--ink); width: 1%; white-space: nowrap; border-right: 1px solid var(--rule); font-family: var(--font-display); font-size: 1.05rem; }
.ctable td { color: var(--ink-soft); }
.ctable tbody tr:hover { background: var(--paper-2); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: none; }
.ctable .best { color: var(--clay-deep); font-weight: 600; }

/* -----  14. CALLOUT & PULL-QUOTE  --------------------------------------- */
.callout {
    display: flex; gap: var(--s-4); align-items: flex-start;
    background: var(--clay-wash);
    border-left: 3px solid var(--clay);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--s-5) var(--s-6);
    color: var(--ink-soft); line-height: 1.66;
}
.callout svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--clay-deep); margin-top: 3px; }
.callout strong { color: var(--ink); }
.callout--plain { background: var(--paper-2); border-left-color: var(--clay); }

/* Pull-quote — large editorial statement */
.pullquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw + 0.7rem, 2.25rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 24ch;
    padding-left: var(--s-6);
    border-left: 3px solid var(--clay);
}
.pullquote em { font-style: italic; color: var(--clay); }
.pullquote__by { display: block; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 400; color: var(--ink-faint); margin-top: var(--s-5); letter-spacing: 0.02em; }

/* -----  15. FAQ  -------------------------------------------------------- */
.faq { border-top: 1.5px solid var(--ink); }
.q { border-bottom: 1px solid var(--rule); }
.q summary { list-style: none; cursor: pointer; padding: var(--s-5) var(--s-2); display: flex; align-items: baseline; gap: var(--s-4); transition: color var(--dur) var(--ease); }
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--clay-deep); }
.q__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.35; flex: 1; letter-spacing: -0.005em; }
.q__toggle { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--clay-ink); transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.q[open] .q__toggle { transform: rotate(45deg); }
.q__body { padding: 0 var(--s-2) var(--s-5); color: var(--ink-soft); line-height: 1.66; max-width: 74ch; }

/* -----  16. CTA BAND  --------------------------------------------------- */
.cta {
    position: relative;
    background: var(--ink);
    color: #f0e7dd;
    border-radius: var(--radius);
    padding: var(--s-9) var(--s-8);
    overflow: hidden;
}
@media (max-width: 700px) { .cta { padding: var(--s-7) var(--s-5); } }
.cta::before { content: ""; position: absolute; top: -50%; right: -12%; width: 55%; height: 200%; background: radial-gradient(circle, var(--clay-glow), transparent 62%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: #fdfaf4; max-width: 20ch; }
.cta h2 em { font-style: italic; color: var(--clay); }
.cta p { color: rgba(240,231,221,0.78); max-width: 52ch; margin-top: var(--s-4); font-size: 1.12rem; line-height: 1.6; }
.cta .kicker { color: #e6976f; }
.cta .kicker::before { background: #e6976f; }
.cta .textlink { color: #fdfaf4; border-bottom-color: rgba(230,151,111,0.5); }
.cta .textlink:hover { color: #e6976f; border-bottom-color: #e6976f; }
.cta .btn--outline { background: transparent; color: #fdfaf4; border-color: rgba(253,250,244,0.28); }
.cta .btn--outline:hover { border-color: var(--clay); color: #e6976f; }

/* -----  17. FORMS  ------------------------------------------------------ */
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--ink-faint); font-weight: 400; font-family: var(--font-body); font-size: 0.85rem; margin-left: 6px; }
.field input, .field textarea {
    background: var(--card);
    border: 1.5px solid var(--rule-2);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    font-size: 1rem; color: var(--ink); width: 100%;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-wash); }
.field textarea { resize: vertical; min-height: 150px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-8); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* -----  18. PAGE HEAD  -------------------------------------------------- */
.page-head { position: relative; padding: var(--s-6) 0 var(--s-7); border-bottom: 1px solid var(--rule); }
.page-head__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-7); flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-4); border-top: 1.5px solid var(--ink); }
.page-head__crumb { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-faint); }
.page-head__crumb a { color: var(--ink-soft); }
.page-head__crumb a:hover { color: var(--clay-ink); }
.page-head__grid { display: grid; grid-template-columns: 1fr auto; gap: var(--s-7); align-items: end; }
@media (max-width: 768px) { .page-head__grid { grid-template-columns: 1fr; } }
.page-head h1 { font-size: clamp(2.5rem, 5.2vw + 0.5rem, 4rem); line-height: 1.02; margin-bottom: var(--s-4); max-width: 18ch; }
.page-head h1 em { font-style: italic; color: var(--clay); }
.page-head__lede { max-width: 56ch; color: var(--ink-soft); font-size: 1.18rem; line-height: 1.6; }

/* -----  19. PROSE (legal + long copy)  ---------------------------------- */
.prose { max-width: 70ch; color: var(--ink-soft); line-height: 1.8; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-top: var(--s-7); margin-bottom: var(--s-4); color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-top: var(--s-5); margin-bottom: var(--s-3); color: var(--ink); }
.prose p { margin-bottom: var(--s-4); }
.prose ul { margin: 0 0 var(--s-4) 0; }
.prose ul li { padding: 6px 0 6px 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--clay); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--clay-ink); border-bottom: 1.5px solid var(--clay-wash); transition: border-color var(--dur) var(--ease); }
.prose a:hover { border-bottom-color: var(--clay); }

.legal-grid { display: grid; grid-template-columns: 1fr 250px; gap: var(--s-8); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }
.toc { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s-5); position: sticky; top: 92px; align-self: start; }
.toc h4 { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; font-weight: 500; color: var(--clay-ink); margin-bottom: var(--s-4); }
.toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.toc ol li { counter-increment: toc; font-size: 0.9rem; }
.toc ol li::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--font-mono); font-size: 0.75rem; color: var(--clay-ink); }
.toc a { color: var(--ink-soft); transition: color var(--dur) var(--ease); }
.toc a:hover { color: var(--clay-ink); }

/* -----  20. FOOTER  ----------------------------------------------------- */
.site-footer { background: var(--paper-2); border-top: 1.5px solid var(--ink); padding-top: var(--s-8); padding-bottom: var(--s-6); }
.footer-call { padding-bottom: var(--s-8); margin-bottom: var(--s-8); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: center; }
@media (max-width: 800px) { .footer-call { grid-template-columns: 1fr; align-items: start; } }
.footer-call h2 { max-width: 16ch; }
.footer-call h2 em { font-style: italic; color: var(--clay); }
.footer-call p { color: var(--ink-soft); max-width: 46ch; margin-top: var(--s-4); line-height: 1.6; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col p { color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; font-weight: 500; color: var(--ink-faint); margin-bottom: var(--s-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--ink-soft); font-size: 0.95rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--clay-ink); }
.footer-chips { display: flex; gap: var(--s-3); margin-top: var(--s-5); flex-wrap: wrap; }
.footer-chip { display: inline-flex; align-items: center; padding: 5px 12px; font-family: var(--font-mono); font-size: 0.76rem; border-radius: 4px; background: var(--clay-wash); color: var(--clay-deep); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-faint); flex-wrap: wrap; }
.footer-bottom__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* -----  21. UTILITY  ---------------------------------------------------- */
.text-center { text-align: center; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-5 { margin-bottom: var(--s-5); }

@media (prefers-reduced-motion: reduce) {
    .live-dot::after { animation: none; opacity: 0; }
    .js .draw, .js .draw--2, .js .draw--3, .js .fade-in { animation: none; stroke-dashoffset: 0; opacity: 1; }
    html { scroll-behavior: auto; }
    .btn:hover, .chapter:hover .chapter__go { transform: none; }
}
