/* ============================================================
   DAY LAW — STYLES (dashboard-aligned, parchment palette)
   Built 2026-05-12 from Bot A tokens + Bot B components +
   Bot C page-rewrite plan. Source of truth for component
   patterns: ~/Documents/Claude/Artifacts/law-all-day-dashboard/index.html
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  font-feature-settings: var(--font-features);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

main, header, footer, section { position: relative; }

/* ------------------------------------------------------------
   Skip-link (WCAG 2.1 AA)
   ------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--brand); color: var(--on-brand);
  padding: 8px 14px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  z-index: 9000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ------------------------------------------------------------
   Top "Attorney Advertising" banner
   ------------------------------------------------------------ */
.ad-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 7px var(--main-pad-x);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.ad-banner strong { color: var(--ink-2); font-weight: 600; }

/* ------------------------------------------------------------
   Top navigation
   ------------------------------------------------------------ */
.top-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0;
  z-index: 100;
}
.top-nav .nav-brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.top-nav .nav-brand svg {
  width: 28px; height: 28px;
  color: var(--brand);
}
.top-nav .nav-brand .wordmark {
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-brand-mark);
  font-weight: 500;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-tight);
  color: var(--ink);
}
.top-nav .nav-brand .wordmark .amp {
  color: var(--brand);
  font-weight: 600;
  margin: 0 .18em;
}
/* Subtle brass rule beneath wordmark — mirrors dashboard .brand-rule */
.brand-rule {
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 4px;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background 140ms ease, border-color 140ms ease;
}
.nav-cta:hover { background: var(--brand-2); border-color: var(--brand-2); }

.nav-hamburger {
  display: none;
  background: none; border: 0; padding: 6px;
  color: var(--ink); cursor: pointer;
}
.nav-hamburger svg { width: 24px; height: 24px; }

.nav-sheet {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  padding: 100px clamp(20px, 5vw, 56px) 40px;
  overflow-y: auto;
}
.nav-sheet a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif); font-style: italic;
  font-size: 26px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.nav-sheet .nav-cta {
  display: inline-flex; text-align: center; margin-top: 24px;
}
body.nav-open .nav-sheet { display: block; }
body.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

/* ------------------------------------------------------------
   Page-head — dashboard-style heading block (.eyebrow + .page-title + .page-sub)
   ------------------------------------------------------------ */
.page-head {
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px) 28px;
  border-bottom: 1px solid var(--hairline);
  max-width: 1200px; margin: 0 auto;
}
.page-head.hero-head { padding-top: clamp(60px, 8vw, 96px); padding-bottom: 40px; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: var(--ls-snug);
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 22ch;
}
.page-title em {
  font-style: italic;
  color: var(--brand);
}

.page-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-2);
  line-height: 1.4;
  margin: 0;
  max-width: 56ch;
}

.page-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
section { padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 56px); }
section.tight { padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 56px); }
section.ink-bg { background: var(--bg-subtle); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--ink);
  margin: 14px 0 12px;
}
.section-head h2 em { font-style: italic; color: var(--brand); }
.section-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
  max-width: 60ch;
}

/* ------------------------------------------------------------
   Buttons — keep Day Law class names, parchment palette inside
   ------------------------------------------------------------ */
.btn, .btn-primary, .btn-ghost, .btn-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-subtle); border-color: var(--ink-2); }
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: var(--on-brand); }
.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}
.btn-quiet:hover { background: var(--bg-subtle); color: var(--ink); }
.btn.sm { padding: 6px 10px; font-size: 11px; letter-spacing: 0.1em; }

/* ------------------------------------------------------------
   Pills — consolidates old .placeholder-tag / .flag-note
   ------------------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.good   { background: var(--good-bg);   color: var(--good); }
.pill.warn   { background: var(--warn-bg);   color: var(--warn); }
.pill.urgent { background: var(--urgent-bg); color: var(--urgent); }
.pill.info   { background: var(--info-bg);   color: var(--info); }
.pill.draft  { background: var(--draft-bg);  color: var(--draft); }
.pill.muted  { background: var(--bg-subtle); color: var(--muted); border-color: var(--hairline); }
.pill.brass  { background: transparent; color: var(--gold); border-color: var(--gold); }
.pill.brass::before { display: none; }
.pill.solid  { background: var(--brand); color: var(--on-brand); }
.pill.solid::before { background: var(--gold); }

/* Back-compat aliases — old class names map onto the new pill system */
.placeholder-tag { /* alias for .pill.warn */
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  background: var(--warn-bg); color: var(--warn);
}
.flag-note { /* alias for .pill.draft */
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--draft-bg); color: var(--draft);
}

/* ------------------------------------------------------------
   Notice banner — yellow gradient (for "educational only" callouts)
   ------------------------------------------------------------ */
.notice {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #fbf6e9, #f7eed5);
  border: 1px solid #ddc783;
  border-radius: var(--radius);
  margin: 0 0 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #5b4719;
  flex-wrap: wrap;
}
.notice b { color: #2c2200; font-weight: 600; }
.notice .notice-ic { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold); }
.notice .btn.sm { margin-left: auto; flex: 0 0 auto; }

/* ------------------------------------------------------------
   KPI row (dashboard pattern — used on home for stat callouts)
   ------------------------------------------------------------ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 24px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: 160ms ease;
}
.kpi:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.kpi-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.kpi-value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 8px;
  color: var(--ink);
}
.kpi-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

@media (max-width: 1024px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .kpi-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Cat-grid / cat-card — used for practice areas + resources
   (kept the class name, parchment palette inside)
   ------------------------------------------------------------ */
.cat-grid { display: grid; gap: 16px; }
.cat-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.cat-card .cat-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cat-card .cat-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.cat-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.cat-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 60ch;
}
.cat-card .cat-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.cat-card .cat-link:hover { color: var(--brand-2); }

@media (max-width: 720px) {
  .cat-card { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .cat-card .cat-num { font-size: 36px; }
}

/* ------------------------------------------------------------
   Prose blocks
   ------------------------------------------------------------ */
.prose { max-width: 62ch; margin: 0 auto; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.prose p { margin: 0 0 1em; }
.prose h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; color: var(--ink);
  margin: 1.8em 0 0.5em; letter-spacing: -0.005em;
}
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-2); }
.prose em { font-style: italic; color: var(--ink); }

/* ------------------------------------------------------------
   "Powered by Law All-Day" two-column block
   ------------------------------------------------------------ */
.powered-by {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.powered-by .col-left h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08;
  color: var(--ink); margin: 14px 0 24px;
  letter-spacing: -0.012em;
}
.powered-by .col-left h2 em { font-style: italic; color: var(--brand); }
.powered-by .col-right { color: var(--ink-2); }
.tech-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.tech-bullets li {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.tech-bullets li:first-child { border-top: 0; padding-top: 0; }
.tech-bullets .num {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.1em;
}
.tech-bullets strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .powered-by { grid-template-columns: 1fr; gap: 28px; }
}

/* ------------------------------------------------------------
   Attorney bio cards
   ------------------------------------------------------------ */
.bio-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 720px; margin: 0 auto;
}
.bio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.bio-card .portrait {
  background: var(--bg-subtle);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 64px; font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--hairline);
}
.bio-card .bio-body { padding: 24px 24px; }
.bio-card .role {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.bio-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.bio-card dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.bio-card dt { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; font-weight: 600; }
.bio-card dd { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------
   CTA section
   ------------------------------------------------------------ */
.cta-section {
  background: var(--bg-subtle);
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-section .inner { max-width: 720px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08;
  color: var(--ink); margin: 14px 0 16px;
  letter-spacing: -0.012em;
}
.cta-section h2 em { font-style: italic; color: var(--brand); }
.cta-section .lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2);
  margin: 0 auto 24px; line-height: 1.4;
  max-width: 52ch;
}
.cta-fine-print {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Case Query — three-step progressive form
   ------------------------------------------------------------ */
.case-query { max-width: 720px; margin: 0 auto; }

.progress {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 32px;
}
.progress .step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border-strong);
}
.progress .step-dot[data-state="done"] { background: var(--muted); border-color: var(--muted); }
.progress .step-dot[data-state="active"] {
  background: var(--brand); border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(107,29,44,0.14);
}

.query-step { display: none; }
.query-step[data-active="true"] { display: block; }

.matter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.matter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink-2);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  box-shadow: var(--shadow-sm);
}
.matter-card .eyebrow {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
  font-weight: 600;
}
.matter-card h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: 19px; color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.matter-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.matter-card:hover, .matter-card[data-selected="true"] {
  border-color: var(--brand);
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.field-row { display: grid; gap: 16px; margin-bottom: 20px; }
.field-row.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row.two-col { grid-template-columns: 1fr; } }

label.field-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px; display: block;
  font-weight: 600;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
select, textarea {
  width: 100%; box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 12px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,29,44,0.10);
}
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }

.checkbox-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2);
  margin-top: 6px;
}
.checkbox-row input { width: auto; }

.step-summary {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  font-weight: 600;
}
.step-summary:hover { color: var(--brand); }
.step-summary .check { color: var(--brand); margin-left: 8px; }

.query-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }

.success-block {
  text-align: center;
  padding: 60px 24px;
  max-width: 560px; margin: 0 auto;
}
.success-block .sentinel-sm {
  width: 60px; height: 60px;
  color: var(--brand);
  margin: 0 auto 24px;
  display: block;
}
.success-block h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); margin: 0 0 14px;
  letter-spacing: -0.012em;
}
.success-block .lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 44ch;
  line-height: 1.4;
}
.success-block .ref-block {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); line-height: 2;
  max-width: 360px; margin: 0 auto;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px clamp(20px, 5vw, 56px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 1200px; margin: 0 auto 36px;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--ink-2); text-decoration: none;
  font-size: 14px;
  transition: color 140ms ease;
}
.footer-col a:hover { color: var(--brand); }

.footer-disclaimer {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12px; line-height: 1.65;
  color: var(--muted);
}
.footer-disclaimer p { margin: 0 0 10px; }
.footer-disclaimer strong { color: var(--ink-2); font-weight: 600; }

.footer-bottom {
  max-width: 1200px; margin: 20px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-weight: 600;
}
.footer-bottom .mark-sm { width: 28px; height: 28px; color: var(--muted-2); opacity: 0.7; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ------------------------------------------------------------
   Hero medallion (parchment-mode: brass at 0.10 with multiply)
   ------------------------------------------------------------ */
.hero-medallion {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.10;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.hero-medallion-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero-medallion-wrap > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.eyebrow-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hairline-divider { height: 1px; background: var(--hairline); border: 0; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Back-compat — these class names exist in the HTML pages
   from the obsidian version and we keep them functional in
   the parchment system without refactoring every page.
   ============================================================ */

.hero {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 56px) clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative;
  background: var(--bg);
}
.hero > .eyebrow { margin-bottom: 14px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: var(--ls-snug);
  color: var(--ink);
  margin: 0 auto 22px;
  max-width: 22ch;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto 32px;
  line-height: 1.4;
}
.hero .hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

.hero .hero-medallion {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.10;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero .hero-medallion { z-index: 0; }
