/* ============================================================
   samuelzniber.com — paper editorial system
   Near-black ink on warm off-white paper, one bronze accent.
   Fraunces (display) · Source Serif 4 (text) · Inter (labels).
   No gradients, no glows, no animation beyond one reveal.
   ============================================================ */

/* ---- 1. Fonts (self-hosted latin subsets) ------------------ */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/fonts/sourceserif4-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/fonts/sourceserif4-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/fonts/sourceserif4-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- 2. Tokens --------------------------------------------- */

:root {
  /* color — all text pairs AA on --paper */
  --paper:          #F7F3EB;
  --paper-raised:   #FBF8F1;
  --paper-recessed: #F1EBDF;
  --ink:            #1C1814;   /* 15.9:1 */
  --ink-soft:       #4A4438;   /*  8.7:1 */
  --ink-muted:      #5C554A;   /*  6.7:1 */
  --ink-hover:      #33291D;
  --bronze:         #8A5D18;   /*  5.2:1 — AA as normal text */
  --bronze-deep:    #7A5514;   /*  6.1:1 */
  --bronze-tint:    #E9DFC7;   /* decorative fills only, never text */
  --hairline:       #DDD4C2;
  --paper-on-ink:   #F7F3EB;
  --ink-soft-on-ink:#C9C2B4;   /* secondary text on the ink footer */

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text:    'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui:      'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:   0.8125rem;
  --text-sm:   0.875rem;
  --text-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lg:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-h3:   clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --text-h2:   clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --text-h1:   clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1.8rem + 3.6vw, 4.5rem);
  --leading-body: 1.65;
  --leading-tight: 1.12;
  --measure: 66ch;
  --tracking-label: 0.08em;

  /* spacing — 8px scale */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s6: 1.5rem; --s8: 2rem; --s12: 3rem; --s16: 4rem; --s24: 6rem;
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 72rem;

  /* motion */
  --dur: 400ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- 3. Reset / base --------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  margin: 0 0 var(--s6);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.3; }

p, ul, ol, blockquote, figure { margin: 0 0 var(--s6); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: var(--s12) 0;
}

a {
  color: var(--bronze);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--bronze-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--bronze-deep);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--bronze-tint); color: var(--ink); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }

.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;
}

/* ---- 4. Typography utilities ------------------------------- */

.label {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.meta {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* ---- 5. Skip link + header --------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  z-index: 100;
  background: var(--ink);
  color: var(--paper-on-ink);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  padding: var(--s2) var(--s4);
  text-decoration: none;
}
.skip-link:focus {
  top: var(--s2);
  color: var(--paper-on-ink);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--s4), 2.5vw, var(--s8));
}

.site-nav a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }

/* active page via body[data-page] — nav markup stays identical everywhere */
body[data-page="advisory"] .site-nav a[data-nav="advisory"],
body[data-page="track"]    .site-nav a[data-nav="track"],
body[data-page="writing"]  .site-nav a[data-nav="writing"],
body[data-page="article"]  .site-nav a[data-nav="writing"],
body[data-page="about"]    .site-nav a[data-nav="about"] {
  color: var(--bronze);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.5rem 1rem;
  color: var(--ink) !important;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper-on-ink) !important;
}

.nav-toggle {
  display: none;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 0.5rem 0.875rem;
  cursor: pointer;
}

.nav-toggle .label-close { display: none; }
html.nav-open .nav-toggle .label-menu { display: none; }
html.nav-open .nav-toggle .label-close { display: inline; }

@media (max-width: 47.9375rem) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 4.25rem 0 auto 0;
    z-index: 50;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: var(--s4) var(--gutter) var(--s8);
  }
  html.nav-open .site-nav { display: flex; }
  .site-nav a {
    font-size: 1.125rem;
    padding: var(--s3) 0;
    width: 100%;
    border-bottom: 1px solid var(--hairline);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta {
    margin-top: var(--s4);
    text-align: center;
    border: 1px solid var(--ink);
  }
  .site-header { position: relative; }
}

/* ---- 6. Buttons -------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper-on-ink);
}
.btn-primary:hover {
  background: var(--ink-hover);
  color: var(--paper-on-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper-on-ink);
}

.text-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* ---- 7. Shared components ---------------------------------- */

section { padding-block: var(--section-pad); }
section + section { padding-top: 0; }

.section-rule {
  border-top: 1px solid var(--hairline);
  padding-top: var(--section-pad);
}

/* editorial photo treatment — one system for every portrait */
.photo {
  position: relative;
  margin: 0;
}
.photo img {
  width: 100%;
  filter: saturate(0.92) contrast(1.02);
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
}
.photo figcaption {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-top: var(--s3);
}

/* stat line — plain text, no counters */
.statline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* large quote */
.quote {
  max-width: 46ch;
  border-left: 2px solid var(--bronze);
  padding-left: var(--s6);
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: var(--s4);
  font-family: var(--font-ui);
  font-weight: 500;
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* definition rows (facts, engagement terms) */
.factrow-list { margin: 0; }
.factrow-list .factrow:last-child { border-bottom: 1px solid var(--hairline); }
.factrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s1) var(--s8);
  padding-block: var(--s4);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 48rem) {
  .factrow { grid-template-columns: 14rem 1fr; }
}
.factrow dt {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.factrow dd { margin: 0; }

/* FAQ — native details */
.faq details {
  border-top: 1px solid var(--hairline);
}
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.35;
  padding: var(--s6) var(--s8) var(--s6) 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: var(--s6);
  font-family: var(--font-ui);
  color: var(--bronze);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details > div {
  padding-bottom: var(--s6);
  max-width: var(--measure);
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--hairline);
  padding-block: var(--section-pad);
}
.cta-band h2 { max-width: 24ch; }
.cta-band p { max-width: var(--measure); color: var(--ink-soft); }
.cta-band .btn { margin-top: var(--s4); }
.cta-band .meta { margin-top: var(--s6); }

/* ---- 8. Footer (the one dark plate) ------------------------ */

.site-footer {
  background: var(--ink);
  color: var(--paper-on-ink);
  padding-block: var(--s16) var(--s12);
  margin-top: var(--section-pad);
}
.footer-inner {
  display: grid;
  gap: var(--s12);
}
@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  margin-bottom: var(--s3);
}
.footer-line {
  color: var(--ink-soft-on-ink);
  font-size: var(--text-sm);
  font-family: var(--font-ui);
  font-weight: 500;
  max-width: 34ch;
}
.footer-cta {
  display: inline-block;
  margin-top: var(--s6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--paper-on-ink);
  border: 1px solid var(--ink-soft-on-ink);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-cta:hover {
  background: var(--paper);
  color: var(--ink);
}
.footer-nav, .footer-more {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.footer-heading {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-soft-on-ink);
  margin-bottom: var(--s2);
}
.footer-nav a, .footer-more a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--paper-on-ink);
  text-decoration: none;
}
.footer-nav a:hover, .footer-more a:hover {
  color: var(--paper-on-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(247, 243, 235, 0.18);
  padding-top: var(--s6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--ink-soft-on-ink);
}

/* ---- 9. Home ----------------------------------------------- */

.home-hero {
  padding-top: clamp(var(--s12), 10vw, var(--s24));
}
.home-hero-grid {
  display: grid;
  gap: var(--s12);
  align-items: end;
}
@media (min-width: 48rem) {
  .home-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s16); }
}
.home-hero h1 {
  font-size: var(--text-hero);
  max-width: 14ch;
  margin-bottom: var(--s8);
}
.home-hero .lede { margin-bottom: var(--s8); }
.home-hero .statline { margin-top: var(--s8); }
.home-hero .photo { max-width: 26rem; }

.home-quote .text-link { display: inline-block; margin-top: var(--s6); }

.home-about-grid {
  display: grid;
  gap: var(--s8);
  align-items: start;
}
@media (min-width: 48rem) {
  .home-about-grid { grid-template-columns: 16rem 1fr; gap: var(--s16); }
}
.home-about-grid .measure { max-width: 56ch; }
.home-about-grid .text-link { display: inline-block; margin-top: var(--s4); }

/* ---- 10. About --------------------------------------------- */

.about-hero-grid {
  display: grid;
  gap: var(--s12);
  align-items: start;
}
@media (min-width: 48rem) {
  .about-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--s16); }
}
.about-hero-grid .photo { max-width: 24rem; }

.about-narrative { max-width: var(--measure); }
.about-narrative h2 { margin-top: var(--s12); }

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--measure);
}
.edu-list li {
  padding-block: var(--s4);
  border-top: 1px solid var(--hairline);
}
.edu-list li:last-child { border-bottom: 1px solid var(--hairline); }

/* ---- 11. Advisory ------------------------------------------ */

.engagement {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s12);
  display: grid;
  gap: var(--s6);
}
@media (min-width: 48rem) {
  .engagement { grid-template-columns: 1fr 1.6fr; gap: var(--s16); }
}
.engagement-head h3 { font-size: var(--text-h2); margin-bottom: var(--s3); }
.engagement-head .meta { display: block; }
.engagement-body { max-width: var(--measure); color: var(--ink-soft); }
.engagement-body ul { padding-left: 1.25rem; }
.engagement-body li { margin-bottom: var(--s2); }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  max-width: var(--measure);
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--hairline);
  padding: var(--s6) 0 var(--s6) 3.25rem;
  position: relative;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--s6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--bronze);
}
.steps li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  color: var(--ink);
  margin-bottom: var(--s1);
}

/* ---- 12. Track Record -------------------------------------- */

.case {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s12);
}
.case-grid {
  display: grid;
  gap: var(--s8);
}
@media (min-width: 48rem) {
  .case-grid { grid-template-columns: 1.6fr 1fr; gap: var(--s16); }
}
.case h3 { font-size: var(--text-h2); max-width: 22ch; }
.case-body { max-width: var(--measure); color: var(--ink-soft); }
.case-facts {
  display: grid;
  gap: var(--s4);
  align-content: start;
}
.case-facts div {
  border-top: 1px solid var(--hairline);
  padding-top: var(--s3);
}
.case-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--ink);
}
.case-facts span {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--ink-muted);
}
.case .quote { margin-top: var(--s8); }

.vignettes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vignettes li {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s6);
  max-width: var(--measure);
  color: var(--ink-soft);
}
.vignettes strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  color: var(--ink);
  margin-bottom: var(--s1);
}

.testimonials {
  display: grid;
  gap: var(--s8);
}
@media (min-width: 48rem) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}
.testimonials .quote { border-left: 0; padding-left: 0; max-width: none; }
.testimonials .quote p { font-size: var(--text-body); }

.speaking-strip {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s8);
}
.speaking-strip p { max-width: var(--measure); color: var(--ink-soft); }

/* ---- 13. Writing hub --------------------------------------- */

.writing-feed {
  display: grid;
  gap: 0;
}
.writing-entry {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s8);
  display: grid;
  gap: var(--s4) var(--s12);
}
@media (min-width: 48rem) {
  .writing-entry { grid-template-columns: 11rem 1fr; align-items: start; }
}
.writing-entry .cover img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
}
.writing-entry h2 {
  font-size: var(--text-h3);
  line-height: 1.3;
  margin-bottom: var(--s2);
  max-width: 38ch;
}
.writing-entry h2 a {
  color: var(--ink);
  text-decoration: none;
}
.writing-entry h2 a:hover { color: var(--bronze-deep); text-decoration: underline; }
.writing-entry p { max-width: 60ch; color: var(--ink-soft); margin-bottom: var(--s2); }

/* ---- 14. Article ------------------------------------------- */

.article-head {
  padding-top: clamp(var(--s12), 8vw, var(--s16));
  max-width: 52rem;
  margin-inline: auto;
}
.article-head h1 { max-width: 20ch; }
.article-head .meta { margin-bottom: var(--s8); }
.article-cover { margin-block: var(--s8); }
.article-cover img {
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
}

.article-body {
  max-width: var(--measure);
  margin-inline: auto;
}
.article-body h2 {
  font-size: var(--text-h3);
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  margin-top: var(--s12);
}
.article-body blockquote {
  border-left: 2px solid var(--bronze);
  padding-left: var(--s6);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-lg);
  line-height: 1.45;
  margin-block: var(--s8);
}
.article-body .takeaway {
  background: var(--paper-recessed);
  border: 1px solid var(--hairline);
  padding: var(--s6);
  margin-block: var(--s8);
}
.article-body .takeaway .label { display: block; margin-bottom: var(--s2); }

.article-byline {
  display: flex;
  align-items: center;
  gap: var(--s4);
  border-top: 1px solid var(--hairline);
  margin-top: var(--s12);
  padding-top: var(--s6);
  max-width: var(--measure);
  margin-inline: auto;
}
.article-byline img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  filter: saturate(0.92) contrast(1.02);
}
.article-byline p {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin: 0;
}

.article-video { margin-block: var(--s8); }
.article-video video {
  width: 100%;
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
}

.article-next {
  max-width: var(--measure);
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
  margin-top: var(--s8);
  padding-top: var(--s6);
}

/* ---- 15. Reveal motion ------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---- 16. Print --------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
