/* Core Sample Analytics — site styles
   Palette and type follow the Brand Guide (Ice core gilt, Oct 2026).
   Gold is the accent, not wallpaper: one highlighted element per section. */

:root {
  --deep: #0F2A33;        /* Deep core: text, headings, dark bands */
  --deep-2: #163642;      /* raised panel on dark bands */
  --steel: #2E6E80;       /* Steel blue: comparison series, secondary */
  --gilt: #C49A48;        /* Gilt gold: highlights, buttons on dark. Never small text on light */
  --gilt-text: #82621F;   /* Dark gilt: gold text on light backgrounds */
  --slate: #3A5560;       /* Slate blue: supporting copy */
  --ice: #E7F0F3;         /* panel tint */
  --frost: #C9DCE2;       /* hairlines on light; secondary text on dark */
  --glacier: #9FC3CF;
  --page: #F9FBFB;        /* page background */
  --white: #FFFFFF;
  --on-dark-muted: #B9D3DC;
  --line-dark: rgba(255, 255, 255, 0.16);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --section-pad: clamp(56px, 8vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--deep);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--deep); text-decoration-color: var(--gilt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gilt-text); }
/* Focus: deep core on light backgrounds (gold fails contrast there), gold on dark bands. */
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .band-dark :focus-visible, .page-hero :focus-visible, .chart-card:not(.light) :focus-visible, .skip-link:focus-visible { outline-color: var(--gilt); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3, .h3 { font-size: clamp(20px, 2.2vw, 24px); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--frost); margin: 2.5em 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gilt); color: var(--deep); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gilt-text);
  margin: 0 0 14px;
}
.band-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gilt); }
.lede { font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--slate); max-width: 680px; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 32px; flex: none; }
.logo-top { fill: var(--white); }
.logo-words { display: inline-flex; flex-direction: column; gap: 5px; }
.logo-name { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1; color: var(--white); white-space: nowrap; }
.logo-sub { display: flex; justify-content: space-between; font-family: var(--serif); font-weight: 600; font-size: 7.6px; line-height: 1; color: var(--frost); }
.logo-link { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.on-light .logo-top { fill: var(--deep); }
.on-light .logo-name { color: var(--deep); }
.on-light .logo-sub { color: var(--steel); }

/* ---------- Header ---------- */
.site-header { background: var(--deep); color: var(--white); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; padding: 10px 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gilt); }
.site-nav .nav-cta a { color: var(--white); border: 1px solid var(--gilt); border-radius: 3px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; box-shadow: none; }
.site-nav .nav-cta a:hover, .site-nav .nav-cta a[aria-current="page"] { background: var(--gilt); color: var(--deep); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: var(--white); border: 1px solid var(--line-dark); border-radius: 3px;
    padding: 10px 14px; min-height: 44px; font: 500 15px var(--sans); cursor: pointer;
  }
  .nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .nav-toggle-bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 24px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line-dark); }
  .site-nav li.nav-cta { border: 0; padding-top: 16px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 17px; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--gilt); }
  .site-nav .nav-cta a { justify-content: center; width: 100%; }
  .no-js .site-nav { display: block; position: static; padding: 0 0 16px; }
  .no-js .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 22px; border-radius: 3px;
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gilt); color: var(--deep); }
.btn-gold:hover { background: #D3AC5E; color: var(--deep); }
.btn-dark { background: var(--deep); color: var(--white); }
.btn-dark:hover { background: var(--steel); color: var(--white); }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: var(--white); }
.btn-link-dark { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding: 13px 2px; min-height: 48px; display: inline-flex; align-items: center; }
.btn-link-dark:hover { color: var(--gilt); border-color: var(--gilt); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gilt); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* ---------- Dark bands / heroes ---------- */
.band-dark { background: var(--deep); color: var(--white); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark a:not(.btn) { color: var(--white); }
.lede-dark { color: var(--on-dark-muted); font-size: clamp(17px, 1.9vw, 19px); line-height: 1.55; max-width: 580px; }

.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-facts { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; color: var(--white); margin: 0; padding-top: 14px; border-top: 1px solid var(--line-dark); max-width: 580px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.page-hero { background: var(--deep); color: var(--white); padding: clamp(44px, 7vw, 80px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero .lede-dark { max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--on-dark-muted); margin: 0 0 18px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-ice { background: var(--ice); }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* ---------- Chart card (cost per signed job) ---------- */
.chart-card { background: var(--deep-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px 26px; color: var(--white); margin: 0; }
.chart-card.light { background: var(--ice); border-color: transparent; color: var(--deep); }
.chart-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--on-dark-muted); margin: 0 0 18px; text-transform: uppercase; }
.chart-card.light .chart-label { color: var(--slate); }
.chart-title { font-weight: 600; font-size: 15px; margin: 0; }
.chart-sub { font-size: 13px; color: var(--slate); margin: 2px 0 16px; }
.bar-row { margin-bottom: 16px; }
.bar-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.bar-meta .mono { font-weight: 500; }
.bar { height: 20px; border-radius: 2px; background: var(--steel); }
.bar.gold { background: var(--gilt); }
.chart-foot { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-dark); padding-top: 14px; margin-top: 4px; }
.chart-card.light .chart-foot { border-top-color: var(--frost); }
.big-number { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; color: var(--gilt); }
.chart-card.light .big-number { color: var(--gilt-text); }
.chart-foot p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--on-dark-muted); }
.chart-card.light .chart-foot p { color: var(--slate); }
.chart-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--on-dark-muted); }
.chart-note a { color: var(--white); }
.chart-card.light .chart-note { color: var(--slate); }
.chart-card.light .chart-note a { color: var(--deep); }

/* ---------- Cards and grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.rule-card { border-top: 2px solid var(--deep); padding-top: 16px; }
.rule-card h3 { margin-bottom: 8px; }
.rule-card p { color: var(--slate); margin: 0; font-size: 16px; }
.rule-card .big { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; line-height: 1.1; margin: 0 0 10px; color: var(--deep); }

.card { background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.panel { background: var(--ice); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.panel > :last-child { margin-bottom: 0; }

.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 0 0 6px; }
.label.gold { color: var(--gilt-text); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--deep); border-radius: 2px; padding: 1px 6px; vertical-align: middle; }

/* Checklist with custom marks */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 14px; height: 7px; border-left: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(-45deg); }
.x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.x-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.x-list li::before, .x-list li::after { content: ""; position: absolute; left: 3px; top: 0.75em; width: 14px; height: 2px; background: var(--slate); }
.x-list li::before { transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }
.band-dark .check-list li::before { border-color: var(--glacier); }

/* Strata list: the logo's bars as list markers */
.strata-list { list-style: none; padding: 0; margin: 0; }
.strata-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--frost); }
.strata-list li:last-child { border-bottom: 1px solid var(--frost); }
.strata-list .bar-mark { height: 8px; border-radius: 1px; margin-top: 12px; }
.strata-list h3 { margin-bottom: 6px; }
.strata-list p { margin: 0; color: var(--slate); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--frost); }
.steps > li:last-child { border-bottom: 1px solid var(--frost); }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--gilt-text); padding-top: 6px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--slate); margin-bottom: 0.6em; }
.steps p:last-child { margin-bottom: 0; }
.step-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }

/* ---------- Snapshot strip (case study facts) ---------- */
.snapshot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--frost); border-bottom: 1px solid var(--frost); }
.snapshot > div { padding: 16px 16px 16px 0; }
.snapshot > div + div { border-left: 1px solid var(--frost); padding-left: 16px; }
.snapshot .value { font-weight: 500; font-size: 15px; line-height: 1.4; }
@media (max-width: 760px) {
  .snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .snapshot > div:nth-child(n+3) { border-top: 1px solid var(--frost); }
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--deep); }
.price-card h2, .price-card h3 { font-size: 24px; margin-bottom: 6px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 48px; line-height: 1; margin: 18px 0 6px; }
.price-note { font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.price-card .check-list { font-size: 16px; flex-grow: 1; }
.price-card .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--frost); vertical-align: top; }
th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); background: var(--ice); }
tr:last-child td { border-bottom: 0; }
td .mono { white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--frost); }
.faq details { border-bottom: 1px solid var(--frost); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 24px; color: var(--gilt-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 24px; color: var(--slate); max-width: 720px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--slate); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--deep);
  background: var(--white); border: 1px solid #9DB6BF; border-radius: 3px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
.form-more { border: 1px solid var(--frost); border-radius: 3px; background: var(--white); }
.form-more summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px; min-height: 48px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; }
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before { content: "+"; font-family: var(--mono); color: var(--gilt-text); width: 14px; }
.form-more[open] summary::before { content: "2"; }
.form-more summary .hint { font-weight: 400; color: var(--slate); font-size: 14px; }
.form-more-body { padding: 4px 16px 18px; display: grid; gap: 20px; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 3px; font-size: 15px; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--ice); border-left: 3px solid var(--steel); }
.form-status.err { background: #FBEDEA; border-left: 3px solid #A23B2A; color: #5E1E14; }
.form-fine { font-size: 13px; color: var(--slate); margin: 0; }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gilt); font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--deep); }
.prose .panel { font-size: 16px; margin: 1.8em 0; }
.prose .table-wrap { margin: 1.6em 0; font-size: 15px; }
.article-meta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--on-dark-muted); margin-top: 18px; }

/* Article list */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-top: 1px solid var(--frost); padding: 28px 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.post-list li:last-child { border-bottom: 1px solid var(--frost); }
.post-list h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; text-decoration-color: var(--gilt); }
.post-list p { color: var(--slate); margin: 0; }
@media (max-width: 640px) { .post-list li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner .lede-dark { margin: 0; }
.cta-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ---------- Founder ---------- */
.founder-photo { margin: 0; max-width: 360px; }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border-bottom: 4px solid var(--gilt); background: var(--frost); }
.founder-photo figcaption { margin-top: 18px; }
@media (max-width: 860px) { .founder-photo { max-width: 280px; } }
.founder-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; }
.monogram { width: 96px; height: 96px; border-radius: 50%; background: var(--deep); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 34px; }
.founder-card p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 15px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { margin: 16px 0 0; max-width: 340px; }
.site-footer h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gilt); margin: 8px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: var(--white); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--gilt); }
.footer-contact a { padding: 0; }
.footer-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; color: var(--frost); }
.footer-legal p { margin: 0; }
.footer-legal .footer-tm { flex-basis: 100%; order: 3; font-size: 12px; line-height: 1.5; color: var(--on-dark-muted); max-width: 900px; }
.footer-legal a { padding: 0; text-decoration: underline; text-decoration-color: var(--line-dark); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .page-hero { background: none; color: var(--deep); padding: 0 0 24px; }
  .page-hero h1, .page-hero .lede-dark { color: var(--deep); }
}
