/* ============================================================
   MUNIMENT SYSTEMS — brand stylesheet
   Palette: parchment & iron-ink, oxblood wax, brass fittings,
   library green. Type: Fraunces (display), Archivo (text),
   Spline Sans Mono (specifications & filings).
   Fonts are served from our own shelf — no third-party requests.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("../assets/fonts/spline-sans-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --paper:      #f6f1e6;
  --paper-2:    #efe8d7;
  --paper-3:    #e7dcc4;
  --ink:        #26231e;
  --ink-2:      #4a443b;
  --ink-3:      #6e675c;
  --wax:        #7d2b35;
  --wax-deep:   #5a1e26;
  --brass:      #8a6b39;
  --brass-2:    #b08d4f;
  --green:      #33523f;
  --amber:      #e8a13d;
  --line:       rgba(38, 35, 30, .16);
  --line-soft:  rgba(38, 35, 30, .09);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:  "Spline Sans Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --w-container: 1120px;
  --radius: 12px;
  --shadow-card: 0 1px 0 rgba(38,35,30,.05), 0 16px 40px -28px rgba(38,35,30,.45);
  --pad-section: clamp(72px, 10vw, 128px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--wax); color: var(--paper); }

.container { max-width: var(--w-container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.container-narrow { max-width: 860px; }

/* ---------- letterhead strip ---------- */
.letterhead {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line-soft);
}
.letterhead span { white-space: nowrap; }
.lh-dot { color: var(--wax); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 4vw, 40px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px -22px rgba(38,35,30,.5); }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
}
.brand-mark { width: 30px; height: 30px; color: var(--wax); }
.brand-word {
  font-family: var(--serif);
  font-size: 21px; font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--wax); border-bottom-color: var(--wax); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--wax); color: var(--paper);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.22), 0 12px 26px -16px rgba(125,43,53,.8);
}
.btn-primary:hover { background: var(--wax-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--wax); color: var(--wax); }
.btn-lg { padding: 16px 28px; font-size: 13.5px; }
.btn-block { display: block; width: 100%; }
.btn-nav { padding: 10px 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- type utilities ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.display {
  font-size: clamp(2.5rem, 5.2vw, 3.85rem);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 30px;
}
.mono-note {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.mono-note.center { text-align: center; }
.article-no {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--wax);
  margin-bottom: 12px;
}
.article-no::after {
  content: "";
  display: block; width: 44px; height: 1.5px;
  background: var(--brass); margin-top: 12px;
}
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 520;
  font-variation-settings: "opsz" 90;
}
.section-sub { color: var(--ink-3); margin-top: 12px; max-width: 58ch; }
.prose {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.66;
  max-width: 66ch;
  color: var(--ink);
  margin-bottom: 44px;
}
.prose em { font-style: italic; }
.prose-center { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); margin: 28px auto 0; }
.small-print {
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
  max-width: 78ch;
}

/* ---------- sections ---------- */
.section { padding: var(--pad-section) 0; }
.section-tight { padding: calc(var(--pad-section) * .65) 0; }

/* riveted strap divider */
.strap-rule {
  height: 12px;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  position: relative;
}
.strap-rule::before {
  content: "";
  position: absolute; left: clamp(20px,4vw,40px); right: clamp(20px,4vw,40px); top: 5px;
  border-top: 2px solid var(--line);
}
.strap-rule::after {
  content: "";
  position: absolute; left: clamp(20px,4vw,40px); right: clamp(20px,4vw,40px); top: 2px;
  height: 8px;
  background-image: radial-gradient(circle, var(--brass) 1.6px, transparent 1.9px);
  background-size: 96px 8px;
  background-position: 12px 0;
  background-repeat: repeat-x;
  opacity: .75;
}

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 84px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.cta-center { justify-content: center; }

.fig-panel {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 30px);
  box-shadow: var(--shadow-card);
}
.fig-panel-wide { padding: clamp(14px, 2vw, 26px); }
.fig-caption {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .06em;
  color: var(--ink-3);
  margin-top: 14px;
  line-height: 1.6;
}
.fig-block { margin: 0 0 52px; }

.stamp {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  transform: rotate(7deg);
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--wax);
  border: 2.5px double var(--wax);
  padding: 7px 12px 7px 15px;
  border-radius: 4px;
  opacity: .85;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 .12'/%3E%3CfeComposite operator='over' in2='SourceGraphic'/%3E%3C/filter%3E%3Crect width='160' height='60' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: cover;
}

/* ---------- recitals ---------- */
.recitals-wrap { padding: 8px 0 24px; }
.card-sealed {
  background: var(--paper-2);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.recitals {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 48px) clamp(24px, 5vw, 64px);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}
.recitals p { margin-bottom: .65em; }
.recitals em { font-variant: small-caps; font-style: normal; letter-spacing: .06em; font-weight: 600; }
.recitals .therefore { margin-top: 1.2em; margin-bottom: 0; }
.recitals-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px !important;
}

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 22px; margin-bottom: 34px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 20px;
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.32rem; margin-bottom: 12px; font-variation-settings: "opsz" 40; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 8px; }
.card-kicker {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 10px;
}
.posture h3 { color: var(--green); }

/* ---------- worklist / chits ---------- */
.worklist { margin-top: 56px; }
.worklist-title {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 520;
  margin-bottom: 22px;
}
.chit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 18px; }
.chit-col-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--wax); margin-bottom: 12px;
}
.chit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px; line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 10px;
  font-style: italic;
  font-family: var(--serif);
}

/* ---------- tiers ---------- */
.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 30px;
  align-items: start;
}
.tier {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.tier-featured { border: 1.5px solid var(--brass); position: relative; }
.tier-featured::before {
  content: "MOST COMMISSIONED";
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brass); color: var(--paper);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  padding: 4px 12px; border-radius: 99px;
  white-space: nowrap;
}
.tier-icon { width: 92px; height: 84px; color: var(--ink-2); margin-bottom: 14px; }
.tier-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 6px;
}
.tier-name {
  font-size: 2rem; font-variation-settings: "opsz" 60;
  margin-bottom: 12px;
}
.tier-blurb { font-size: 15px; color: var(--ink-2); min-height: 4.4em; }
.tier-price { font-family: var(--serif); font-size: 1.22rem; margin: 6px 0 18px; }
.tier-price span { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 22px;
}
.spec-table caption {
  text-align: left;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-weight: 400;
}
.spec-table th { color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; padding-right: 12px; white-space: nowrap; }
.spec-table td { color: var(--ink); }
.tier .btn { margin-top: auto; }

.addon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 10px 0 26px; }
.addon {
  border: 1px dashed var(--brass);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: transparent;
}
.addon h4 { font-size: 1.12rem; margin-bottom: 8px; }
.addon h4 span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin-left: 8px;
}
.addon p { font-size: 14px; color: var(--ink-2); margin: 0; }
.addon strong { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink); }

/* ---------- process (dark) ---------- */
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .article-no { color: var(--brass-2); }
.section-dark .article-no::after { background: var(--brass-2); }
.section-dark .section-sub { color: rgba(246,241,230,.65); }
.process-list {
  list-style: none;
  margin: 24px 0 0; padding: 0;
  max-width: 820px;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid rgba(246,241,230,.14);
}
.process-step:first-child { border-top: none; }
.step-icon { width: 52px; height: 52px; color: var(--brass-2); margin-top: 4px; }
.process-step h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--paper); }
.step-no { color: var(--brass-2); font-variant-numeric: normal; margin-right: 6px; }
.process-step p { color: rgba(246,241,230,.78); font-size: 15.5px; max-width: 62ch; margin: 0; }
.process-step a { color: var(--paper); text-decoration-color: var(--brass-2); text-underline-offset: 3px; }

/* ---------- standing care ---------- */
.care-panel { max-width: 860px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); }
.care-main h3 {
  font-size: 1.6rem; margin-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
}
.care-price {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wax);
}
.ledger-list { list-style: none; margin: 0 0 18px; padding: 0; }
.ledger-list li {
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px; color: var(--ink-2);
  position: relative;
}
.ledger-list li::before {
  content: "§";
  position: absolute; left: 2px; top: 12px;
  color: var(--brass);
  font-family: var(--serif);
}
.ledger-list strong { color: var(--ink); }

/* ---------- founder (Declaration) ---------- */
.founder-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.founder-intro .prose { margin-bottom: 24px; }
.founder-portrait { margin: 6px 0 0; }
.portrait-frame {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
}
.portrait-frame img {
  display: block; width: 100%; height: auto;
  border-radius: 8px;
  filter: sepia(.12) saturate(.94) contrast(1.02);
}
.founder-portrait .fig-caption { margin-top: 10px; }
.founder-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 4px 0 44px;
}
.founder-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 12px;
  background: var(--paper-2);
}
.founder-stat .v {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 560;
  color: var(--wax);
  margin: 0;
}
.founder-stat .k {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 5px 0 0;
  line-height: 1.5;
}
.founder-ledger { max-width: 860px; }
.founder-quote {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: center;
}
.founder-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.founder-quote .quote-attr {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass);
  margin-top: 14px;
}

/* ---------- venue ---------- */
.venue-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.venue-grid li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--paper-2);
}
.venue-grid strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 560; margin-bottom: 3px; }
.venue-grid span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 8px;
  font-family: var(--serif);
  font-size: 1.22rem; font-weight: 520;
  counter-increment: faq;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q" counter(faq) ".";
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .08em;
  color: var(--wax);
  min-width: 34px;
}
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--brass);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq { counter-reset: faq; }
.faq details p {
  padding: 0 8px 26px 50px;
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0;
}
.faq summary:hover { color: var(--wax-deep); }

/* ---------- signature page ---------- */
.section-sign { text-align: center; }
.section-sign .section-head { margin-bottom: 28px; }
.section-sign .article-no::after { margin-left: auto; margin-right: auto; }
.section-sign .prose { margin-left: auto; margin-right: auto; }
.sign-line {
  display: flex; align-items: flex-end; gap: 16px;
  max-width: 560px; margin: 14px auto 44px;
}
.sign-x { font-size: 26px; color: var(--wax); line-height: 1; }
.sign-rule { flex: 1; border-bottom: 1.5px solid var(--ink); position: relative; height: 34px; }
.sign-hint {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-3); font-size: 15px;
  white-space: nowrap;
  transform: translateY(6px);
}
.section-sign .mono-note { margin-top: 22px; }

/* ---------- colophon ---------- */
.colophon {
  background: var(--ink);
  color: rgba(246,241,230,.75);
  padding: 56px 0 48px;
}
.colophon-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.colophon-brand {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 600; letter-spacing: .06em;
  color: var(--paper);
  margin-bottom: 6px;
}
.colophon-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); }
.colophon-links { display: grid; gap: 10px; }
.colophon-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(246,241,230,.75);
}
.colophon-links a:hover { color: var(--paper); }
.colophon-note p { font-size: 14px; line-height: 1.7; }
.colophon-note .small-print { color: rgba(246,241,230,.45); }

/* ============================================================
   INTAKE (configure.html)
   ============================================================ */
.intake-hero { padding: clamp(44px, 6vw, 72px) 0 12px; }
.intake-hero .display { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.intake-hero .lead { margin-bottom: 8px; }

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: 34px 0 var(--pad-section);
}

.form-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3.5vw, 44px);
}

.progress-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.progress-label {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--wax);
}
.progress-restart {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  background: none; border: none; cursor: pointer; padding: 4px;
  text-decoration: underline; text-underline-offset: 3px;
}
.progress-restart:hover { color: var(--wax); }
.progress-bar {
  height: 3px; background: var(--paper-3);
  border-radius: 99px; overflow: hidden;
  margin-bottom: 34px;
}
.progress-bar i {
  display: block; height: 100%;
  background: var(--brass);
  width: 0%;
  transition: width .35s ease;
}

fieldset.step { border: none; margin: 0; padding: 0; }
fieldset.step[hidden] { display: none; }
.step legend {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 540;
  margin-bottom: 8px;
  padding: 0;
}
.step-hint { color: var(--ink-3); font-size: 14.5px; margin-bottom: 26px; }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
.opt-grid.wide { grid-template-columns: 1fr; }
.opt { display: block; cursor: pointer; }
.opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.opt-body {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 12px;
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  position: relative;
}
.opt-body::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  transition: all .15s ease;
}
.opt:hover .opt-body { border-color: var(--brass); }
.opt input:checked + .opt-body {
  border-color: var(--wax);
  background: color-mix(in srgb, var(--wax) 5%, var(--paper));
  box-shadow: 0 10px 24px -18px rgba(125,43,53,.7);
}
.opt input:checked + .opt-body::after {
  background: var(--wax); border-color: var(--wax);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wax) 18%, transparent);
}
.opt input:focus-visible + .opt-body { outline: 2px solid var(--brass); outline-offset: 2px; }
.opt-title { display: block; font-weight: 600; font-size: 15.5px; padding-right: 22px; }
.opt-sub {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}

.subquestion {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 540;
  margin: 30px 0 14px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field label .req { color: var(--wax); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--wax);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wax) 14%, transparent);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .error-msg {
  display: none;
  font-size: 12.5px; color: var(--wax);
  margin-top: 5px;
}
.field.invalid input { border-color: var(--wax); }
.field.invalid .error-msg { display: block; }

.other-inline { margin-top: 12px; display: none; }
.other-inline.show { display: block; }

.step-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.step-nav .spacer { flex: 1; }
.step-error {
  font-size: 13px; color: var(--wax);
  margin: 14px 0 0; display: none;
}
.step-error.show { display: block; }

/* docket rail */
.docket {
  position: sticky; top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 18px;
}
.docket-title {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
.docket dl { margin: 0; }
.docket dt {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 14px;
}
.docket dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.docket dd.empty { color: var(--ink-3); font-weight: 400; font-style: italic; }
.docket-rec {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px dashed var(--brass);
}
.docket-rec .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--wax);
}
.docket-rec .value {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 560;
  margin-top: 2px;
}

/* recommendation panel */
.rec-panel { display: none; }
.rec-panel.show { display: block; }
.rec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
}
.rec-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--wax); margin-bottom: 10px;
}
.rec-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 540;
  line-height: 1.05;
}
.rec-for { color: var(--ink-3); font-size: 14.5px; margin-top: 8px; }

.wax-seal { width: 118px; height: 118px; flex-shrink: 0; }
@keyframes seal-press {
  0%   { transform: scale(2.1) rotate(-16deg); opacity: 0; }
  55%  { transform: scale(.94) rotate(-7deg); opacity: 1; }
  75%  { transform: scale(1.04) rotate(-8deg); }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.wax-seal.pressed { animation: seal-press .55s cubic-bezier(.2,.9,.3,1.2) both; }

.because-list { list-style: none; margin: 0 0 24px; padding: 0; }
.because-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-2);
}
.because-list li::before {
  content: "¶";
  position: absolute; left: 2px; top: 9px;
  color: var(--brass); font-family: var(--serif);
}
.rec-figures {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 26px;
}
.rec-figure {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; background: var(--paper);
}
.rec-figure .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
.rec-figure .v { font-family: var(--serif); font-size: 1.18rem; font-weight: 560; margin-top: 3px; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.rec-note { font-size: 13px; color: var(--ink-3); }
.copy-flash { color: var(--green); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; display: none; }
.copy-flash.show { display: inline; }

/* ---------- reveal animation ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { max-width: 620px; }
  .card-grid.three, .tier-grid, .addon-row, .chit-grid { grid-template-columns: 1fr 1fr; }
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); }
  .founder-intro { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 380px; }
  .tier-grid { row-gap: 34px; }
  .intake-layout { grid-template-columns: 1fr; }
  .docket { position: static; order: -1; }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .card-grid.three, .card-grid.two, .tier-grid, .addon-row, .chit-grid, .venue-grid { grid-template-columns: 1fr; }
  .founder-stats { grid-template-columns: 1fr 1fr; }
  .process-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-icon { width: 38px; height: 38px; }
  .colophon-grid { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rec-head { grid-template-columns: 1fr; }
  .wax-seal { width: 96px; height: 96px; }
  .letterhead { letter-spacing: .14em; font-size: 9.5px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .wax-seal.pressed { animation: none; transform: rotate(-8deg); }
  .btn, .opt-body, .progress-bar i { transition: none; }
}

/* ---------- print: this page is a document ---------- */
@media print {
  body::before { display: none; }
  .nav, .btn, .stamp, .colophon-links, .step-nav, .progress-row, .progress-bar { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .hero { padding: 24pt 0; }
  .card, .tier, .fig-panel, .card-sealed, .form-panel, .docket, .founder-stat, .portrait-frame {
    box-shadow: none; border: 1pt solid #000; background: #fff;
  }
  .founder-quote p { color: #000; }
  .section-dark, .colophon { background: #fff; color: #000; }
  .process-step p, .section-dark .section-sub { color: #222; }
  .rec-panel { display: block !important; }
  a { text-decoration: none; color: #000; }
}
