/* Self-hosted fonts (SIL Open Font Licence). No requests to Google. */
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/cinzel-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/cinzel-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/cinzel-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/archivo-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/archivo-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/archivo-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/eb-garamond-latin-400-italic.woff2) format('woff2')}

/* The Stoic Architect - shared design system
   One stylesheet for every page. Edit tokens here, not per page. */

:root {
  --basalt: #12100E;      /* page */
  --hearth: #1C1915;      /* raised surface */
  --hearth-2: #24201B;    /* raised surface, hover */
  --gilt: #C8A04D;        /* primary accent */
  --gilt-hi: #E0BE6E;
  --bronze: #8B6B3E;      /* secondary accent, structure lines */
  --parchment: #EFE6D4;   /* text */
  --ash: #A69B8A;         /* muted text, 6.9:1 on basalt */
  --rule: rgba(200,160,77,.22);
  --rule-soft: rgba(239,230,212,.08);

  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --voice: 'EB Garamond', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--basalt);
  color: var(--parchment);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 3px; }
::selection { background: var(--gilt); color: var(--basalt); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gilt); color: var(--basalt); padding: 10px 16px; z-index: 300; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
section { position: relative; }
.band { padding: var(--space) 0; }
.band--tight { padding: calc(var(--space) * .6) 0; }
.band--lift { background: var(--hearth); }

/* ── Type ─────────────────────────────────────────── */
h1, h2, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.12;
  color: var(--parchment);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h3 { font: 600 1.2rem/1.35 var(--sans); color: var(--parchment); }
p { max-width: 66ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--parchment); opacity: .9; line-height: 1.65; }
.muted { color: var(--ash); }
.kicker { font: 500 .95rem/1.4 var(--sans); color: var(--gilt); margin-bottom: 18px; display: block; }
.voice { font-family: var(--voice); font-style: italic; font-weight: 400; }
.stack > * + * { margin-top: 1.1em; }
.stack-lg > * + * { margin-top: 2rem; }
strong { font-weight: 600; color: var(--parchment); }

/* The entablature: a gilt double rule with a central lozenge, lifted from the book cover */
.entab { display: flex; align-items: center; gap: 14px; color: var(--gilt); margin: 0 0 28px; }
.entab::before, .entab::after { content: ''; height: 1px; background: currentColor; flex: 0 0 56px; opacity: .7; }
.entab i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.entab--center { justify-content: center; }
.entab--wide::before, .entab--wide::after { flex: 1; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border: 1px solid var(--gilt); border-radius: 2px; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.btn--gilt { background: var(--gilt); color: var(--basalt); }
.btn--gilt:hover { background: var(--gilt-hi); border-color: var(--gilt-hi); }
.btn--line { background: transparent; color: var(--parchment); border-color: var(--rule); }
.btn--line:hover { border-color: var(--gilt); color: var(--gilt-hi); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fineprint { font-size: .88rem; color: var(--ash); }
.textlink { color: var(--gilt); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px; font-weight: 500; }
.textlink:hover { text-decoration-color: var(--gilt); }

/* ── Header ───────────────────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid { background: rgba(18,16,14,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--rule-soft); }
.head-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand b { font: 600 1rem/1.1 var(--display); letter-spacing: .06em; display: block; }
.brand small { font: 400 .78rem/1.2 var(--sans); color: var(--ash); display: block; margin-top: 2px; }
.nav { display: flex; gap: 26px; list-style: none; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ash); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--parchment); border-bottom-color: var(--gilt); }
.head-cta { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: none; border-radius: 2px; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--parchment); content: ''; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--basalt);
  padding: 110px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.drawer ol { list-style: none; border-top: 1px solid var(--rule-soft); }
.drawer li a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; font: 600 1.35rem/1.2 var(--display); }
.drawer li a small { font: 400 .85rem var(--sans); color: var(--ash); }
.drawer .btn { margin-top: 28px; width: 100%; }

@media (max-width: 1060px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
}

/* ── The Colonnade (signature element) ────────────── */
.colonnade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 34px); align-items: end; }
.col { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.col-cap { width: 100%; height: 12px; background: linear-gradient(var(--gilt-hi), var(--bronze)); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.col-shaft {
  width: 74%; height: var(--h, 220px);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 2px, transparent 2px 11px),
    linear-gradient(90deg, #6d532f, var(--gilt) 35%, var(--gilt-hi) 50%, var(--gilt) 65%, #6d532f);
  position: relative; transform-origin: bottom;
}
.col-base { width: 100%; height: 10px; background: linear-gradient(var(--bronze), #4a3920); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.col-name { margin-top: 14px; font: 600 clamp(.72rem, 1.3vw, .95rem)/1.2 var(--display); letter-spacing: .08em; color: var(--parchment); text-align: center; }
.col-note { margin-top: 4px; font-size: .82rem; color: var(--ash); text-align: center; }
.col--weak .col-shaft { filter: saturate(.35) brightness(.62); }
.col--weak .col-shaft::after {
  content: ''; position: absolute; inset: 8% 12% 18%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 L17 14 L25 27 L14 43 L23 58 L12 74 L20 88 L16 100' fill='none' stroke='%2312100E' stroke-width='2.2' stroke-linejoin='bevel'/%3E%3Cpath d='M14 43 L5 50 M23 58 L33 64' fill='none' stroke='%2312100E' stroke-width='1.3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.col--weak .col-name { color: var(--gilt-hi); }
.plinth { height: 1px; background: linear-gradient(90deg, transparent, var(--gilt), transparent); margin-top: 0; }

@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes settle { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.colonnade.is-raising .col-shaft { animation: rise 1.1s var(--ease) both; }
.colonnade.is-raising .col-cap { animation: settle .6s var(--ease) both; }
.colonnade.is-raising .col:nth-child(1) * { animation-delay: .1s; }
.colonnade.is-raising .col:nth-child(2) * { animation-delay: .22s; }
.colonnade.is-raising .col:nth-child(3) * { animation-delay: .34s; }
.colonnade.is-raising .col:nth-child(4) * { animation-delay: .46s; }
.colonnade.is-raising .col:nth-child(5) * { animation-delay: .58s; }
.colonnade.is-raising .col-cap { animation-delay: 1.1s !important; }

/* ── Page hero (inner pages) ──────────────────────── */
.page-hero { padding: calc(76px + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--rule-soft); overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(200,160,77,.10), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 24px; max-width: 58ch; }
.page-hero .actions { margin-top: 36px; }
.crumbs { font-size: .9rem; color: var(--ash); margin-bottom: 26px; }
.crumbs a { color: var(--ash); text-decoration: none; }
.crumbs a:hover { color: var(--gilt); }

/* ── Layout helpers ───────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.split--wide-left { grid-template-columns: 1.25fr 1fr; }
.split--top { align-items: start; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-row > div { max-width: 640px; }
.head-row > p, .head-row > a { justify-self: end; max-width: 46ch; }
@media (max-width: 760px) { .head-row { grid-template-columns: 1fr; } .head-row > p, .head-row > a { justify-self: start; } }
@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}

/* Quote: the author's voice */
.quote { font-family: var(--voice); font-style: italic; font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.35; color: var(--parchment); max-width: 30ch; text-wrap: balance; }
.quote--center { margin: 0 auto; text-align: center; }
.cite { display: block; margin-top: 18px; font: 400 .92rem var(--sans); font-style: normal; color: var(--ash); }

/* Ruled list (used instead of card grids) */
.ruled { list-style: none; border-top: 1px solid var(--rule-soft); }
.ruled > li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule-soft); }
.ruled > li > :first-child { font: 600 1.05rem/1.4 var(--display); letter-spacing: .04em; color: var(--gilt); }
.ruled > li p { color: var(--ash); }
@media (max-width: 640px) { .ruled > li { grid-template-columns: 1fr; gap: 6px; } }

/* Checks */
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--parchment); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border: 1px solid var(--gilt); transform: rotate(45deg); }

/* ── Book ─────────────────────────────────────────── */
.cover { position: relative; perspective: 1400px; }
.cover img {
  width: min(100%, 400px); margin: 0 auto; border-radius: 2px 4px 4px 2px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(200,160,77,.18), -6px 0 0 -1px #0c0b09 inset;
  transform: rotateY(-14deg) rotateX(2deg); transform-origin: 60% 50%;
  transition: transform .8s var(--ease);
}
.cover:hover img { transform: rotateY(-4deg); }
.cover::after { content: ''; position: absolute; inset: 8% 4% -6%; background: radial-gradient(50% 45% at 50% 40%, rgba(200,160,77,.22), transparent 70%); z-index: -1; filter: blur(10px); }
.price-row { display: flex; gap: 32px; flex-wrap: wrap; margin: 26px 0 30px; }
.price-row div { font-size: .92rem; color: var(--ash); }
.price-row b { display: block; font: 600 1.6rem/1.2 var(--display); color: var(--parchment); }

/* ── Forms ────────────────────────────────────────── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .9rem; color: var(--ash); margin-bottom: 6px; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: rgba(239,230,212,.04); border: 1px solid rgba(239,230,212,.16); border-radius: 2px;
  color: var(--parchment); font-size: 1rem; outline: none; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select option { background: var(--hearth); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gilt); background: rgba(239,230,212,.06); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #7d7466; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ash); margin: 6px 0 18px; cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gilt); flex-shrink: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 240px; }
.form-msg { font-size: .95rem; margin-top: 12px; min-height: 1.4em; }
.form-msg.ok { color: #b9d39a; }
.form-msg.err { color: #e7a99d; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* Brevo embedded form: keep their markup, drop their chrome */
.sib-form, .sib-form-container, #sib-container { background: transparent !important; padding: 0 !important; border: 0 !important; max-width: 100% !important; text-align: left !important; }
.sib-form-message-panel { display: none; padding: 12px 16px; margin-bottom: 14px; font-size: .95rem; border-radius: 2px; }
.brevo-msg-error { background: rgba(231,169,157,.1); border: 1px solid rgba(231,169,157,.4); color: #e7a99d; }
.brevo-msg-success { background: rgba(185,211,154,.1); border: 1px solid rgba(185,211,154,.4); color: #b9d39a; }
.input--hidden { display: none !important; }

/* ── Surfaces ─────────────────────────────────────── */
.panel { background: var(--hearth); border: 1px solid var(--rule-soft); padding: clamp(28px, 4vw, 48px); }
.panel--gilt { border-color: var(--rule); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--rule); color: var(--gilt); border-radius: 2px; }
.tag--live { color: #b9d39a; border-color: rgba(185,211,154,.35); }
.tag--soon { color: var(--ash); border-color: var(--rule-soft); }

/* ── Footer ───────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--rule-soft); padding: 80px 0 40px; background: #0d0c0a; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font: 600 .95rem var(--sans); color: var(--parchment); margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin: 8px 0; }
.foot-grid a { color: var(--ash); text-decoration: none; font-size: .95rem; }
.foot-grid a:hover { color: var(--gilt); }
.foot-brand p { color: var(--ash); font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.foot-pillars { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.foot-pillars span { flex: 1; text-align: center; padding: 16px 4px; font: 600 .8rem var(--display); letter-spacing: .14em; color: var(--ash); border-left: 1px solid var(--rule-soft); }
.foot-pillars span:first-child { border-left: 0; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: .88rem; color: #7d7466; }
.foot-base a { color: #7d7466; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-pillars span { font-size: .62rem; letter-spacing: .06em; } }

/* ── Motion preferences ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Articles ─────────────────────────────────────── */
.art-hero { padding: calc(76px + clamp(48px, 7vw, 96px)) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--rule-soft); }
.art-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
.art-hero .lede { margin-top: 22px; max-width: 60ch; }
.art-meta { margin-top: 28px; color: var(--ash); font-size: .93rem; display: flex; gap: 22px; flex-wrap: wrap; }
.art-meta b { color: var(--parchment); font-weight: 600; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px); }
.prose { max-width: 68ch; font-size: 1.12rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.25em; }
.prose p { color: #ddd3c1; }
.prose strong { color: var(--parchment); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; color: #ddd3c1; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--gilt); }
.prose a { color: var(--gilt); text-underline-offset: 4px; }
.prose blockquote { border-left: 2px solid var(--gilt); padding: 4px 0 4px 26px; margin: 2em 0; }
.prose blockquote p { font-family: var(--voice); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--parchment); }
.prose .drop-cap::first-letter { float: left; font: 600 4.2em/.82 var(--display); color: var(--gilt); margin: .06em .12em 0 0; }
.prose .article-divider { display: flex; align-items: center; gap: 16px; color: var(--gilt); margin: 2.6em 0; font: 600 .9rem var(--display); letter-spacing: .1em; }
.prose .article-divider::before, .prose .article-divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.prose .callout { background: var(--hearth); border: 1px solid var(--rule); padding: 26px 28px; margin: 2.2em 0; }
.prose .callout-label { font-size: .9rem; color: var(--gilt); font-weight: 600; margin-bottom: 10px; }
.prose .callout p + p { margin-top: .8em; }
.art-side { position: sticky; top: 104px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.art-side .panel { padding: 26px 24px; }
.art-side h3 { font-size: 1.02rem; margin-bottom: 8px; }
.art-side p { font-size: .94rem; color: var(--ash); margin-bottom: 16px; }
.art-side .btn { min-height: 46px; width: 100%; font-size: .94rem; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-soft); margin-top: 56px; max-width: 68ch; }
.author img { width: 96px; height: 96px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; }
.author p { color: var(--ash); font-size: .97rem; }
.author b { display: block; color: var(--parchment); font: 600 1.05rem var(--display); letter-spacing: .04em; margin-bottom: 6px; }
@media (max-width: 960px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; }
}
@media (max-width: 520px) { .author { grid-template-columns: 1fr; } .prose { font-size: 1.06rem; } }
.prose .article-divider:empty { justify-content: center; }
.prose .article-divider:empty::before, .prose .article-divider:empty::after { flex: 0 0 72px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-head--focus .textlink { font-size: .95rem; }

/* ── Legal pages ── */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px); }
.legal-toc { position: sticky; top: 104px; align-self: start; list-style: none; border-left: 1px solid var(--rule); }
.legal-toc a { display: block; padding: 7px 0 7px 18px; color: var(--ash); text-decoration: none; font-size: .93rem; }
.legal-toc a:hover { color: var(--gilt-hi); }
.summary { background: var(--hearth); border-left: 2px solid var(--gilt); padding: 24px 28px; }
.prose h2 { scroll-margin-top: 96px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; color: #ddd3c1; }
.prose th { color: var(--parchment); font-weight: 600; border-bottom-color: var(--rule); }
.table-wrap { overflow-x: auto; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ── F5IVE Score (quiz and results) ── */
.qz-hero { padding: calc(76px + clamp(40px, 6vw, 80px)) 0 clamp(32px, 5vw, 56px); }
.qz-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 50% 0%, rgba(200,160,77,.14), transparent 70%); }
.qz-hero .wrap { position: relative; text-align: center; }
.qz-hero h1 { max-width: 20ch; margin: 0 auto; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.qz-hero .lede { margin: 22px auto 0; }
.qz-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; color: var(--ash); font-size: .95rem; }
.qz-facts b { color: var(--gilt); font-weight: 600; }
.stage { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) var(--space); }
.card { background: var(--hearth); border: 1px solid var(--rule); padding: clamp(28px, 5vw, 52px); }
.card--start { text-align: center; }
.card--start p { margin: 0 auto 28px; font-size: 1.15rem; color: var(--parchment); }

/* progress as a colonnade: one column per pillar, three courses of stone each */
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 2vw, 20px); margin-bottom: 30px; }
.tk { text-align: center; }
.tk-stones { display: flex; flex-direction: column-reverse; gap: 3px; width: 46%; margin: 0 auto; }
.tk-stones i { display: block; height: 14px; background: rgba(239,230,212,.07); transition: background .35s var(--ease); }
.tk-stones i.on { background: linear-gradient(90deg, #6d532f, var(--gilt) 50%, #6d532f); }
.tk-name { margin-top: 8px; font: 600 .72rem var(--display); letter-spacing: .08em; color: var(--ash); }
.tk.now .tk-name { color: var(--gilt-hi); }
.q-meta { display: flex; justify-content: space-between; color: var(--ash); font-size: .9rem; margin-bottom: 14px; }
.q-meta b { color: var(--gilt); font-weight: 600; }
.q-text { font: 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.4 var(--sans); color: var(--parchment); margin-bottom: 28px; max-width: none; }
.answers { display: grid; gap: 10px; }
.answer { text-align: left; min-height: 56px; padding: 14px 18px; background: rgba(239,230,212,.03); border: 1px solid rgba(239,230,212,.12); border-radius: 2px; color: var(--parchment); cursor: pointer; font-size: 1rem; display: flex; gap: 14px; align-items: center; transition: border-color .2s, background .2s; }
.answer:hover { border-color: var(--rule); background: rgba(200,160,77,.06); }
.answer.picked { border-color: var(--gilt); background: rgba(200,160,77,.14); }
.answer kbd { font: 600 .8rem var(--sans); color: var(--ash); border: 1px solid var(--rule-soft); min-width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 2px; flex-shrink: 0; }
.back { margin-top: 20px; background: none; border: 0; color: var(--ash); cursor: pointer; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; }
.back[hidden] { display: none; }

.gate { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.gate .total { font: 700 clamp(4rem, 9vw, 6rem)/1 var(--display); color: var(--gilt-hi); filter: blur(14px); user-select: none; }
.gate .of { color: var(--ash); margin-top: 6px; }
.gate .colonnade { margin-top: 30px; filter: blur(5px); opacity: .85; }
.gate .colonnade .col-name { filter: blur(0); }
.gate h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.gate .sib-form .field { margin-bottom: 12px; }
.score-fields { display: none !important; }

.res-head { text-align: center; margin-bottom: 36px; }
.res-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.res-head p { margin: 12px auto 0; color: var(--ash); }
.res-cols .col-note { color: var(--parchment); font-weight: 600; }
.focus { margin-top: 40px; border-left: 2px solid var(--gilt); background: var(--basalt); padding: 24px 28px; }
.focus span { display: block; color: var(--gilt); font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.reading { margin-top: 28px; list-style: none; border-top: 1px solid var(--rule-soft); }
.reading a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; color: var(--parchment); }
.reading a:hover { color: var(--gilt-hi); }
.next { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.next .btn { width: 100%; }

.proof { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) var(--space); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.proof .quote { font-size: 1.3rem; }
@media (max-width: 760px) {
  .gate, .proof, .next { grid-template-columns: 1fr; }
  .tk-name { font-size: .6rem; letter-spacing: .02em; }
}
.next-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 32px; }
.next-row a { background: var(--hearth); padding: 30px 28px; text-decoration: none; transition: background .25s; }
.next-row a:hover { background: var(--hearth-2); }
.next-row h3 { font: 600 1.15rem/1.25 var(--display); letter-spacing: .04em; margin-bottom: 10px; }
.next-row p { color: var(--ash); font-size: .96rem; }
@media (max-width: 860px) { .next-row { grid-template-columns: 1fr; } }
.legal-grid > * { min-width: 0; }
