/* ============================================================
   JWL Creative Co. — shared design system
   Clean / editorial. Re-skins from the tokens in :root below.
   ============================================================ */

:root {
  /* --- Brand palette (change these to re-skin the whole site) --- */
  --gold: #caa05d;        /* PRIMARY */
  --gold-deep: #7c5e27;   /* legible "gold" for TEXT/links on cream (AA 5.6:1) — the
                             bright --gold above is for fills/accents only, never text */
  --green: #1e2e17;       /* ACCENT — deep sections, headings */
  --green-2: #2a3f20;     /* lifted green */
  --red: #e13b3b;         /* CONTRAST — used sparingly */
  --cream: #faf7e6;       /* page background */
  --card: #fffdf5;        /* cards / raised surfaces */
  --ink: #333333;         /* off-black body text */
  --ink-soft: #5f584a;    /* muted secondary text (AA on cream) */
  --line: #e7dfc8;        /* hairline on cream */
  --line-strong: #d9cca6;

  --font-body: "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-display: "Source Serif Pro", Georgia, serif;
  /* Gandur New is an Adobe Fonts (licensed) blackletter display face used only
     for the wordmark; it falls back to Source Serif Pro until the kit is added. */
  --font-word: "Gandur New", "Source Serif Pro", Georgia, serif;

  --maxw: 1120px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(30, 46, 23, 0.05), 0 6px 18px -14px rgba(30, 46, 23, 0.35);
  --shadow-md: 0 4px 10px rgba(30, 46, 23, 0.08), 0 22px 44px -24px rgba(30, 46, 23, 0.45);
}

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

html { scroll-behavior: smooth; background: var(--cream); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  /* barely-there paper warmth */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(202, 160, 93, 0.06), transparent 42%),
    radial-gradient(circle at 88% 88%, rgba(30, 46, 23, 0.05), transparent 42%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.06rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--green); line-height: 1.1; font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
p { margin: 0; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-lg { padding: 6.5rem 0; }
.narrow { max-width: 42rem; }
.measure { max-width: 38rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Eyebrow label + tick ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--red); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- Highlighter marker (wrap-safe: composites per line, no overflow) ---------- */
.marker {
  padding: 0 0.05em;
  background-repeat: no-repeat;
  background-position: 0 82%;
  background-size: 100% 0.42em;
  background-image: linear-gradient(color-mix(in srgb, var(--gold) 48%, transparent), color-mix(in srgb, var(--gold) 48%, transparent));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.marker-red { background-image: linear-gradient(color-mix(in srgb, var(--red) 34%, transparent), color-mix(in srgb, var(--red) 34%, transparent)); }
.on-dark .marker, .marker.on-dark { background-image: linear-gradient(color-mix(in srgb, var(--gold) 55%, transparent), color-mix(in srgb, var(--gold) 55%, transparent)); }
.marker.marker-red.on-dark { background-image: linear-gradient(color-mix(in srgb, var(--red) 45%, transparent), color-mix(in srgb, var(--red) 45%, transparent)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--green); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #d8b174; }
.btn-accent { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #c93030; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-pad { padding: 1.7rem; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-ico {
  width: 2.9rem; height: 2.9rem; border-radius: 0.7rem; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold-deep); font-size: 1.15rem; margin-bottom: 1rem;
}
.card h3 { color: var(--green); }
.card p { color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Dark (green) sections ---------- */
.dark { background: var(--green); color: #f3efe0; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: rgba(243, 239, 224, 0.86); }
.dark::after { /* subtle gold glow */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 8%, rgba(202,160,93,0.16), transparent 45%),
              radial-gradient(circle at 10% 95%, rgba(202,160,93,0.10), transparent 42%);
}
.dark .container { position: relative; z-index: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.2rem; gap: 1rem; }
.wordmark { font-family: var(--font-word); font-size: 1.5rem; font-weight: 700; color: var(--green); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.wordmark span { color: var(--gold-deep); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.98rem; font-weight: 500; position: relative; }
.nav-links a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--gold); transition: width 0.2s ease;
}
.nav-links a.navlink:hover::after, .nav-links a.navlink[aria-current="page"]::after { width: 100%; }
.nav-links a.navlink[aria-current="page"] { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 0.45rem 0.6rem; font-size: 1.1rem; color: var(--green); cursor: pointer; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 4.2rem; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.28s ease, visibility 0.28s;
  }
  .nav-links.open { max-height: 30rem; visibility: visible; }
  .nav-links a { padding: 0.95rem 1.25rem; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 0.9rem 1.25rem; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(243,239,224,0.8); }
.site-footer a { color: rgba(243,239,224,0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; padding: 3rem 0; }
.footer-word { font-family: var(--font-word); font-size: 1.5rem; color: #fff; }
.footer-word span { color: var(--gold); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.footer-cols h4 { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.6rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.98rem; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.2rem 0; font-size: 0.85rem; color: rgba(243,239,224,0.72); }

/* ---------- Forms ---------- */
.field-label { display: block; font-weight: 600; color: var(--green); margin-bottom: 0.4rem; }
.field {
  width: 100%; background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.7rem 0.9rem; color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.field::placeholder { color: #8a8270; opacity: 1; }
textarea.field { min-height: 130px; resize: vertical; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid .col-2 { grid-column: span 2; } .form-grid { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; }
.chip {
  display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.65rem 0.8rem; cursor: pointer; background: var(--card); transition: border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: var(--gold); }
.chip input { accent-color: var(--gold-deep); width: 1.05rem; height: 1.05rem; flex: none; }
.chip:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--card)); }

/* ---------- Checklists ---------- */
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist label { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; color: var(--ink-soft); }
.checklist input { accent-color: var(--gold-deep); width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.35rem; cursor: pointer; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--gold) 65%, transparent); color: #948a76; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: var(--shadow-sm); }
details.faq + details.faq { margin-top: 0.9rem; }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
details.faq .chev { color: var(--gold-deep); transition: transform 0.25s ease; }
details.faq[open] .chev { transform: rotate(180deg); }

/* ---------- Imagery ---------- */
.frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
/* caption chip over image */
.frame .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(30,46,23,0.82), transparent);
  color: #fff; font-size: 0.92rem; font-weight: 600;
}

/* Hero with background photo (overscan so parallax never reveals an edge) */
.hero { position: relative; overflow: hidden; }
.hero .hero-photo { position: absolute; inset: -14% 0; z-index: 0; }
.hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(24,37,18,0.96) 0%, rgba(24,37,18,0.86) 45%, rgba(24,37,18,0.60) 100%);
}
.hero .container { position: relative; z-index: 2; }

/* Legacy tile (non-photo placeholder) */
.tile {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); background: color-mix(in srgb, var(--gold) 6%, var(--card));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--gold-deep); text-align: center; padding: 1.5rem; min-height: 12rem;
}
.tile i { font-size: 2rem; opacity: 0.7; }
.tile small { color: var(--ink-soft); }

/* ---------- Reading progress ---------- */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 60; transition: width 0.08s linear; }

/* ---------- Reveal on scroll (weighted easing + stagger) ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.8s ease, translate 0.85s cubic-bezier(0.16, 0.84, 0.24, 1); will-change: opacity, translate; }
.reveal.is-visible { opacity: 1; translate: 0 0; }
/* items in a grid rise in sequence, like pages laid down one at a time */
.grid > .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.21s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.28s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.35s; }
[data-parallax] { will-change: transform; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 6px;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 70; }
.skip-link:focus { left: 0.75rem; top: 0.75rem; background: var(--green); color: #fff; padding: 0.5rem 0.9rem; border-radius: 8px; text-decoration: none; }

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 0.75rem; }
.stack > * + * { margin-top: 1.1rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.2rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-soft); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.divider-note { color: var(--gold-deep); font-style: italic; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Analogue craft touches ---------- */
/* faint paper grain over everything — reads as printed, not rendered */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
/* editorial oldstyle figures where the font supports them */
body { font-variant-numeric: oldstyle-nums proportional-nums; }
h1, h2, h3, .mi-name { font-variant-numeric: normal; }
/* drop cap for a hand-set, magazine feel */
.dropcap::first-letter {
  font-family: var(--font-display); float: left; font-size: 3.6rem; line-height: 0.82;
  padding: 0.1rem 0.6rem 0 0; color: var(--gold-deep); font-weight: 600;
}
/* hand-inked divider */
.rule-ink { border: 0; height: 12px; margin: 2.5rem auto; max-width: 220px; color: var(--line-strong);
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='12' viewBox='0 0 220 12'%3E%3Cpath d='M2 7 C 40 1, 70 11, 110 6 S 185 1, 218 6' fill='none' stroke='%23caa05d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- High-class menu (services, à la carte) ---------- */
.menu { max-width: 680px; margin: 0 auto; }
.menu-course + .menu-course { margin-top: 2.8rem; }
.course-label {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-variant: small-caps; letter-spacing: 0.22em; color: var(--gold-deep); font-weight: 700; font-size: 1rem;
  margin-bottom: 1.1rem;
}
.course-label::before, .course-label::after { content: ""; height: 1px; width: 3.5rem; background: var(--line-strong); }
.menu-item { text-align: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.mi-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--green); font-weight: 600; }
.mi-desc { display: block; color: var(--ink-soft); font-style: italic; margin-top: 0.15rem; }

/* ---------- Photo treatments (carry a "look" over any image) ----------
   Wrap an <img> in a .photo-film (darkroom) or .photo-warm (cookbook) element.
   Toggle one image with .plain, or a whole page by overriding the two custom
   properties. See DESIGN.md > "Photo treatments" for the full how-to. */
.photo-film {
  --film-filter: grayscale(1) contrast(1.08) brightness(0.9);
  --film-tint: linear-gradient(150deg, rgba(20,16,20,.35), rgba(226,59,46,.14) 60%, rgba(10,8,10,.55));
  position: relative; overflow: hidden; background: #1a1720;
}
.photo-warm {
  --warm-filter: saturate(1.05) contrast(1.02);
  --warm-tint: linear-gradient(160deg, rgba(201,138,90,.14), rgba(176,52,42,.10) 70%, rgba(58,74,38,.12));
  position: relative; overflow: hidden; background: #e6d8bf;
}
.photo-film img { filter: var(--film-filter); }
.photo-warm img { filter: var(--warm-filter); }
.photo-film::after, .photo-warm::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.photo-film::after { background: var(--film-tint); }
.photo-warm::after { background: var(--warm-tint); }
.photo-film.plain img, .photo-warm.plain img { filter: none; }
.photo-film.plain::after, .photo-warm.plain::after { background: none; }

/* ---------- Contact sheet (subtle darkroom accent) ---------- */
.contact-sheet {
  background: #17151b; border-radius: 12px; padding: 1rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5), var(--shadow-sm);
}
@media (min-width: 640px) { .contact-sheet { grid-template-columns: repeat(4, 1fr); } }
.cs-cell { position: relative; }
.cs-img { aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid #000; border-radius: 2px; background: #2b2833; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.cs-no { font-size: 0.7rem; letter-spacing: 0.1em; color: #8a8478; margin-top: 0.25rem; font-variant: small-caps; }
.cs-cell.sel::after { content: ""; position: absolute; inset: -5px; border: 2.5px solid var(--red); border-radius: 3px; transform: rotate(-1.5deg); pointer-events: none; }
.cs-cell.sel .cs-no { color: var(--red); }

/* ---------- Craft steps (Expose / Develop / Print) ---------- */
.craft-step .step-n { font-family: var(--font-hand, "Caveat", cursive); }
.craft-step .step-k { font-variant: small-caps; letter-spacing: 0.16em; color: var(--gold-deep); font-weight: 700; font-size: 0.9rem; }

/* ---------- Field Notes (journal / case studies) ---------- */
.note-card { display: grid; gap: 0.3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.note-card.has-thumb { gap: 1rem; }
@media (min-width: 640px) { .note-card.has-thumb { grid-template-columns: 240px 1fr; align-items: center; } }
.note-thumb { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm); }
.note-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.note-thumb:hover img { transform: scale(1.04); }
.note-stamp { font-variant: small-caps; letter-spacing: 0.14em; color: var(--gold-deep); font-size: 0.86rem; font-weight: 700; }
.note-card h3 { font-size: 1.6rem; }
.note-card h3 a { color: var(--green); text-decoration: none; }
.note-card h3 a:hover { color: var(--gold-deep); }
.note-card .excerpt { color: var(--ink-soft); }
.note-lead { border-left: 3px solid var(--gold); background: var(--card); padding: 1.2rem 1.4rem; font-style: italic; color: var(--ink-soft); border-radius: 0 10px 10px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; translate: 0 0 !important; transition-delay: 0s !important; }
  [data-parallax] { transform: none !important; }
  #progress { display: none; }
  .nav-links { transition: none !important; }
}

/* ---------- Print (clean handouts: drop chrome, ink on paper) ---------- */
@media print {
  .site-header, .site-footer, #progress, .nav-toggle, .no-print { display: none !important; }
  body::before { display: none !important; }
  [data-parallax] { transform: none !important; }
  body { background: #fff !important; color: #000; font-size: 11.5pt; }
  .reveal { opacity: 1 !important; translate: 0 0 !important; }
  .dark { background: #fff !important; color: #000 !important; }
  .dark h1, .dark h2, .dark h3, .dark p, .dark .lead { color: #000 !important; }
  .dark::after { display: none !important; }
  .card, .print-card { box-shadow: none !important; border: 1px solid #bbb !important; break-inside: avoid; }
  .section, .section-lg { padding: 0.5rem 0 !important; }
  a { color: #000 !important; text-decoration: none; }
  .print-only { display: block !important; }
  h1, h2, h3 { color: #1e2e17 !important; }
  @page { margin: 0.6in; }
}
.print-only { display: none; }
