/* ==========================================================================
   brettingram.com — design system
   One stylesheet, no dependencies. Edit tokens below to reskin the site.
   Fonts are self-hosted in /assets/fonts/ — no third-party requests anywhere
   on this site, which keeps it fast and keeps it working on any network.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --paper:      #FBFAF8;   /* page background (warm off-white) */
  --paper-2:    #F3F1EC;   /* alternating band */
  --paper-3:    #EDEAE3;   /* card fill on paper-2 */
  --ink:        #13161D;   /* darkest surface + primary text */
  --ink-2:      #1C212B;   /* raised surface on dark */
  --ink-3:      #2A313E;   /* border on dark */

  /* Text */
  --text:       #13161D;
  --text-soft:  #4A515F;
  --text-mute:  #6E7585;
  --on-dark:    #F5F3EF;
  --on-dark-soft: #B6BCC8;

  /* Accent — gold. Deep variant is the AA-safe text colour on light. */
  --gold:       #E0A526;
  --gold-soft:  #F3D79A;
  --gold-wash:  #FBF2DF;
  --gold-deep:  #8A5A00;

  /* Lines */
  --line:       #E3DFD6;
  --line-2:     #D3CDC1;

  /* Type */
  --display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1160px;
  --maxw-prose: 68ch;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(19,22,29,.05), 0 2px 8px rgba(19,22,29,.04);
  --shadow-md: 0 2px 4px rgba(19,22,29,.05), 0 12px 32px rgba(19,22,29,.08);
  --shadow-lg: 0 4px 8px rgba(19,22,29,.06), 0 24px 64px rgba(19,22,29,.12);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--paper-2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Type scale ---------- */
.display-xl { font-family: var(--display); font-weight: 400; font-size: clamp(2.9rem, 8.5vw, 5.4rem); line-height: .98; letter-spacing: -.015em; }
.display-lg { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.012em; }
.display-md { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.008em; }
.h-sm { font-size: 1.16rem; font-weight: 650; letter-spacing: -.008em; line-height: 1.32; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .745rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); flex: none; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before { background: var(--gold); }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.6; color: var(--text-soft); }
.section--dark .lead { color: var(--on-dark-soft); }
.muted { color: var(--text-mute); }
.prose { max-width: var(--maxw-prose); }
.prose h2 { margin-top: 2.2em; margin-bottom: .55em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .45em; font-size: 1.18rem; font-weight: 650; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  padding: .82em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(19,22,29,.03); }
.btn--gold { background: var(--gold); color: #22180A; }
.btn--gold:hover { background: #EFB43A; box-shadow: 0 8px 24px rgba(224,165,38,.32); }
.section--dark .btn--ghost { border-color: var(--ink-3); color: var(--on-dark); }
.section--dark .btn--ghost:hover { border-color: var(--on-dark-soft); background: rgba(255,255,255,.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-soft); padding-bottom: 1px;
  transition: border-color .18s ease, gap .18s ease;
}
.textlink:hover { border-color: var(--gold-deep); gap: .62em; }
.textlink::after { content: "→"; font-size: 1.02em; line-height: 1; }
.section--dark .textlink { color: var(--gold); border-color: rgba(224,165,38,.42); }
.section--dark .textlink:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,248,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(19,22,29,.05); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: .42em;
  text-decoration: none; font-weight: 700; font-size: 1.04rem; letter-spacing: -.02em;
  color: var(--text); flex: none;
}
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-1px); }
.brand__last { font-weight: 400; font-family: var(--display); font-size: 1.22em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .925rem; font-weight: 520; color: var(--text-soft);
  padding: .5em .78em; border-radius: 8px; transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--text); background: rgba(19,22,29,.045); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 650; }
.nav .btn { margin-left: 8px; padding: .62em 1.15em; font-size: .9rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px;
  background: transparent; cursor: pointer; color: var(--text); flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
    box-shadow: var(--shadow-md);
  }
  .nav[hidden] { display: none !important; }
  .nav a { padding: .78em .4em; font-size: 1.02rem; border-radius: 8px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; padding: .82em 1.2em; font-size: .96rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6.5vw, 84px) clamp(48px, 7vw, 92px); }
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero__name { margin-bottom: .22em; }
.hero__roles {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55em;
  font-size: clamp(.98rem, 1.5vw, 1.12rem); font-weight: 550; color: var(--text-soft);
  margin-bottom: 1.25em;
}
.hero__roles span:not(:last-child)::after {
  content: "·"; color: var(--gold); font-weight: 700; margin-left: .55em;
}
.hero__lead { margin-bottom: 1.8em; max-width: 46ch; }

.hero__media { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero__disc {
  position: absolute; inset: auto 0 0; margin-inline: auto;
  width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--gold-soft) 0%, var(--gold-wash) 48%, rgba(251,242,223,0) 72%);
  transform: translateY(6%);
}
.hero__disc::after {
  content: ""; position: absolute; inset: 7%;
  border-radius: 50%; border: 1px solid rgba(224,165,38,.3);
}
.hero__portrait { position: relative; width: min(100%, 420px); filter: drop-shadow(0 26px 46px rgba(19,22,29,.18)); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__media { order: -1; }
  .hero__portrait { width: min(72%, 300px); }
  .hero__disc { width: min(84%, 330px); }
  .hero__lead { max-width: none; }
}

/* ---------- Stat bar ---------- */
.statbar { border-block: 1px solid var(--line); background: var(--paper-2); }
.statbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(26px, 3.4vw, 40px);
}
.stat { padding-inline: clamp(10px, 2vw, 26px); text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1; letter-spacing: -.02em; color: var(--text);
  margin-bottom: .34em;
}
.stat__label { font-size: .795rem; font-weight: 550; line-height: 1.38; color: var(--text-mute); letter-spacing: .005em; }
@media (max-width: 720px) {
  .statbar__grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat:nth-child(odd) { border-left: 0; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section--paper-2 .card { background: #fff; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-wash); color: var(--gold-deep); border: 1px solid rgba(224,165,38,.28);
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: .5em; font-size: 1.22rem; font-weight: 650; letter-spacing: -.01em; }
.card p { font-size: .96rem; color: var(--text-soft); }
.card__foot { margin-top: auto; padding-top: 20px; }

/* Product card */
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column;
}
.product__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.product__logo {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem;
  background: var(--ink); color: var(--gold);
}
.product h3 { font-size: 1.2rem; margin-bottom: .35em; }
.product__tag { font-size: .84rem; color: var(--text-mute); font-weight: 550; margin-bottom: 1em; }
.product p { font-size: .95rem; color: var(--text-soft); }

.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: .36em .75em; border-radius: 999px; white-space: nowrap;
}
.badge--live { background: #E7F4EC; color: #14653C; }
.badge--soon { background: var(--gold-wash); color: var(--gold-deep); }
.badge--past { background: var(--paper-3); color: var(--text-mute); }

/* Placeholder card — visibly marked so it can't ship by accident */
.product--placeholder {
  border-style: dashed; border-color: var(--line-2); background: var(--paper-2);
}
.product--placeholder .product__logo { background: var(--paper-3); color: var(--text-mute); }
.product--placeholder h3, .product--placeholder p { color: var(--text-mute); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--paper); padding: 24px clamp(18px, 2.2vw, 26px); }
.section--paper-2 .pillar { background: #fff; }
.pillar__num { font-family: var(--display); font-size: 1.5rem; color: var(--gold-deep); line-height: 1; display: block; margin-bottom: .35em; }
.pillar h3 { font-size: 1.02rem; font-weight: 650; margin-bottom: .4em; }
.pillar p { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* ---------- Quote ---------- */
/* max-width in px, not ch — ch would resolve against this wrapper's 17px,
   not the display-size blockquote inside it, and collapse to a narrow column. */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote {
  margin: 0 0 1.1em; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.16; letter-spacing: -.012em;
}
.quote__mark { font-family: var(--display); font-size: 3rem; color: var(--gold); line-height: .6; display: block; margin-bottom: .18em; }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-soft); }

/* ---------- Credential / feature lists ---------- */
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.creds li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line); margin: 0;
  font-size: .98rem;
}
.creds li:last-child { border-bottom: 0; }
.creds li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px;
  background: var(--gold); margin-top: .58em; transform: rotate(45deg);
}
.creds strong { font-weight: 650; }
.section--dark .creds li { border-color: var(--ink-3); }

.logos { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: center; }
.logos span {
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  padding: .52em 1.05em; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-soft); background: var(--paper);
}
.section--dark .logos span { border-color: var(--ink-3); color: var(--on-dark-soft); background: transparent; }

/* ---------- Listen links ---------- */
.listen { display: flex; flex-wrap: wrap; gap: 10px; }
.listen a {
  display: inline-flex; align-items: center; gap: .55em;
  text-decoration: none; font-size: .92rem; font-weight: 600;
  padding: .7em 1.2em; border: 1.5px solid var(--line-2); border-radius: 999px;
  color: var(--text); background: var(--paper);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.listen a:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.listen svg { width: 17px; height: 17px; flex: none; }
.section--dark .listen a { border-color: var(--ink-3); color: var(--on-dark); background: transparent; }
.section--dark .listen a:hover { border-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.06rem; font-weight: 620; letter-spacing: -.008em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: .42em;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq__body { padding: 0 0 24px; max-width: 70ch; }
.faq__body p { font-size: 1rem; color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display-lg { margin-bottom: .5em; }
.cta-band .lead { max-width: 52ch; margin-inline: auto; margin-bottom: 2em; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split--media-left .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--media-left .split__media { order: 0; } }
.split__media { position: relative; display: flex; justify-content: center; }
.split__media img { position: relative; width: min(100%, 440px); }
.split__media--framed::before {
  content: ""; position: absolute; inset: 8% 4% 0;
  border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line);
}
.section--dark .split__media--framed::before { background: var(--ink-2); border-color: var(--ink-3); }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(44px, 6vw, 76px) clamp(28px, 3.6vw, 44px); }
.page-head .display-lg { margin-bottom: .38em; }
.page-head .lead { max-width: 58ch; }

.crumbs { font-size: .82rem; color: var(--text-mute); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; color: var(--text-mute); border-bottom: 1px solid var(--line-2); }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin-inline: .5em; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: clamp(46px, 6vw, 68px) 0; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--display); font-size: 1.6rem; color: var(--on-dark); margin-bottom: .45em; display: block; }
.footer__grid p { font-size: .93rem; max-width: 34ch; }
.footer__grid h4 {
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-dark); margin-bottom: 1.1em; font-weight: 650;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .62em; font-size: .93rem; }
.footer__bottom {
  margin-top: clamp(36px, 4.5vw, 52px); padding-block: 24px;
  border-top: 1px solid var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .85rem;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.social { display: flex; gap: 8px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--ink-3); transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.social a:hover { border-color: var(--gold); background: rgba(224,165,38,.1); color: var(--gold); }
.social svg { width: 17px; height: 17px; }

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 12px; }
.mt-lg { margin-top: clamp(30px, 4vw, 48px); }
.mt-md { margin-top: clamp(20px, 2.6vw, 30px); }
.mb-lg { margin-bottom: clamp(30px, 4vw, 48px); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.note {
  border-left: 3px solid var(--gold); background: var(--gold-wash);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem; color: var(--text-soft);
}

/* Reveal on scroll (progressive — content is visible without JS) */
.reveal { opacity: 0; transform: translateY(14px); }
.js .reveal { transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}
