/* =========================================================
   Bryson Hall portfolio: styles
   ---------------------------------------------------------
   You should rarely need to edit this file. The colors and
   fonts live in the block right below, so you can change the
   whole site's look in one place.
   ========================================================= */

:root {
  /* ---- Colors (match these in your resume PDF) ---- */
  --paper:      #F7F4EE;  /* warm off-white background */
  --ink:        #1C1B19;  /* near-black text */
  --slate:      #34506B;  /* accent: deep slate blue */
  --slate-deep: #263B50;  /* accent, hover state */
  --graphite:   #5C5A55;  /* secondary text */
  --rule:       #D8D2C6;  /* thin divider lines */
  --plate:      #ECE7DD;  /* backing behind images */

  /* ---- Fonts ---- */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* ---- Layout ---- */
  --max: 74rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 4.25rem;

  /* ---- Paper shadow for document pages ---- */
  --page-shadow: 0 1px 2px rgba(28, 27, 25, 0.10), 0 14px 30px -18px rgba(28, 27, 25, 0.45);
  --page-shadow-lift: 0 2px 4px rgba(28, 27, 25, 0.10), 0 26px 40px -20px rgba(28, 27, 25, 0.50);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--slate);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--slate-deep); text-decoration-thickness: 2px; }

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

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

.nowrap { white-space: nowrap; }

.sr-only {
  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: 1rem; top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.wordmark:hover { color: var(--slate); text-decoration: none; }

.nav-toggle {
  display: none;
  font: 600 0.9375rem/1 var(--sans);
  color: var(--ink);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--slate); border-bottom-color: var(--slate); }

@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .js .site-nav a {
    display: block;
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--rule);
    font-size: 1.0625rem;
  }
  /* Without JavaScript the links simply wrap below the name */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font: 600 0.9375rem/1.2 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1.5px solid var(--slate);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--slate); color: var(--paper); }
.btn--primary:hover { background: var(--slate-deep); border-color: var(--slate-deep); color: var(--paper); text-decoration: none; }
.btn--secondary { background: transparent; color: var(--slate); }
.btn--secondary:hover { background: var(--slate); color: var(--paper); text-decoration: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(4rem, 9vw, 7rem); }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "portrait" "text" "contents";
  gap: 2.25rem;
}
.hero-in { grid-area: text; }
.portrait { grid-area: portrait; }
.contents { grid-area: contents; margin-top: 1rem; }
@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr);
    grid-template-areas: "text portrait" "text contents";
    grid-template-rows: auto 1fr;
    column-gap: clamp(3rem, 6vw, 5rem);
    row-gap: 2.75rem;
  }
  .contents { margin-top: 0; align-self: end; }
}

/* Photo on a slate square */
.portrait { margin: 0; width: min(100%, 9.5rem); }
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
@media (min-width: 40rem) { .portrait { width: 13rem; } }
@media (min-width: 60rem) { .portrait { width: 100%; max-width: 22rem; margin-top: -0.1875rem; /* lines the top of the head up with the top of the B */ } }

.hero__name {
  font-size: clamp(3.75rem, 19vw, 8.75rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-left: -0.04em; /* optical alignment of the B */
}

.hero__title {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.hero__line {
  margin: 0.5rem 0 0;
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
}

.hero .btn-row { margin-top: clamp(2rem, 4vw, 2.75rem); }

.hero__status {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  max-width: 40rem;
  font-size: 0.9375rem;
  color: var(--graphite);
}

/* "In this portfolio" contents list */
.contents { font-size: 0.9375rem; }
.contents__label {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--graphite);
}
.contents ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contents li { border-bottom: 1px solid var(--rule); }
.contents a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--ink);
  text-decoration: none;
}
.contents a span:last-child { color: var(--graphite); }
.contents a:hover span:first-child { color: var(--slate); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--rule); }

.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 60rem) {
  .section__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8.5fr); }
  .section__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.section__title { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.012em; }
.section__intro { margin-top: 0.75rem; color: var(--graphite); font-size: 0.9375rem; max-width: 22rem; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.42;
  max-width: 34em;
}

.measure { max-width: 38rem; }

.caption-note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--graphite);
}

/* ---------- Document pages (paper look) ---------- */
.page-link {
  display: block;
  background: var(--plate);
  box-shadow: var(--page-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-link img { width: 100%; aspect-ratio: 1600 / 2263; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .page-link:hover { transform: translateY(-4px); box-shadow: var(--page-shadow-lift); }
}
.page-link:focus-visible { outline-offset: 5px; }

/* ---------- Featured work (home) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 52rem) {
  .feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
}

.feature__title { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
.feature__dek { margin: 0.6rem 0 0; font-size: 1.0625rem; color: var(--graphite); }
.feature .caption-note { margin: 1rem 0 1.75rem; }

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--graphite); }

/* Offset stack of three pages */
.stack { width: min(100%, 28rem); margin-inline: auto; }
.stack ol, ol.stack { position: relative; list-style: none; margin-block: 0; padding: 0 0 13% 0; }
.stack__item { position: absolute; top: 0; left: 0; width: 72%; }
.stack__item:nth-child(1) { position: relative; z-index: 3; }
.stack__item:nth-child(2) { z-index: 2; transform: translate(14%, 6%); }
.stack__item:nth-child(3) { z-index: 1; transform: translate(28%, 12%); }
.stack__hint { margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--graphite); }

/* ---------- Writing sample ---------- */
.sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 44rem) {
  .sample { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}
.sample .page-link { max-width: 15rem; }
.sample .page-link img { aspect-ratio: auto; }
.sample__title { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
.sample .btn-row { margin-top: 1.75rem; }

/* ---------- Campaign work: scrolling reel ---------- */
.ads-caption { margin: 0; font-size: 0.9375rem; color: var(--graphite); }
.section--campaigns { padding-bottom: clamp(3rem, 7vw, 5rem); }

.reel { margin-top: clamp(2rem, 4vw, 3rem); }
.reel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0.75rem var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.reel__item { flex: 0 0 clamp(13rem, 24vw, 18rem); scroll-snap-align: start; }

/* When JavaScript runs and motion is allowed, the row scrolls on its own */
.reel.is-running .reel__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reel.is-running .reel__track {
  width: max-content;
  overflow: visible;
  padding-left: 0;
  padding-right: clamp(1rem, 2vw, 1.5rem); /* equals the gap, so the loop is seamless */
  animation: reel-scroll var(--reel-duration, 80s) linear infinite;
}
.reel.is-running .reel__viewport:hover .reel__track,
.reel.is-running .reel__viewport:focus-within .reel__track,
.reel.is-paused .reel__track { animation-play-state: paused; }
@keyframes reel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ad-link {
  display: block;
  background: var(--plate);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ad-link img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .ad-link:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(28, 27, 25, 0.5); }
}

.reel__controls { display: flex; justify-content: flex-end; }
.reel__toggle {
  display: none;
  font: 600 0.875rem/1.3 var(--sans);
  color: var(--slate);
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.reel__toggle:hover { color: var(--slate-deep); text-decoration-thickness: 2px; }
.reel.is-running .reel__toggle { display: inline-block; }

/* ---------- About / timeline ---------- */
.timeline { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 44rem) {
  .timeline li { grid-template-columns: 11rem minmax(0, 1fr); }
}
.timeline__dates { font-size: 0.9375rem; color: var(--graphite); font-variant-numeric: tabular-nums; }
.timeline__role { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.timeline__org { display: block; margin-top: 0.15rem; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--slate); }
.timeline__note { margin: 0.4rem 0 0; font-size: 0.9375rem; color: var(--graphite); max-width: 36rem; }

.details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem 2rem;
  margin: 2rem 0 0;
  font-size: 0.9375rem;
}
@media (min-width: 44rem) { .details { grid-template-columns: 11rem minmax(0, 1fr); } }
.details dt { font-weight: 600; }
.details dd { margin: 0 0 0.75rem; color: var(--graphite); }

/* ---------- Contact ---------- */
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
  margin: 0.75rem 0 1.75rem;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 2rem 2.5rem; font-size: 0.875rem; color: var(--graphite); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; }

/* =========================================================
   Case study page
   ========================================================= */
.cs-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.back-link { display: inline-block; margin-bottom: clamp(2rem, 5vw, 3.25rem); font-size: 0.9375rem; font-weight: 600; }
.cs-title { font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 0.98; letter-spacing: -0.022em; max-width: 15ch; }
.cs-dek { margin: 1.25rem 0 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.35; max-width: 34ch; }
.cs-head .caption-note { margin-top: 1.25rem; }

/* meta row spans under the cover on wide screens */
.cs-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 2rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
  font-size: 0.9375rem;
}
@media (min-width: 40rem) { .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cs-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-meta dt { font-weight: 600; margin-bottom: 0.2rem; }
.cs-meta dd { margin: 0; color: var(--graphite); }

.story h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin: 2.75rem 0 0.75rem; }
.story h3:first-child { margin-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 50rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--graphite); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 600; }

.cs-head__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 4rem; align-items: center; }
.cs-cover { display: none; }
@media (min-width: 64rem) {
  .cs-head__grid { grid-template-columns: minmax(0, 1fr) 18rem; }
  .cs-cover {
    display: block;
    padding: 0;
    border: 0;
    background: var(--plate);
    box-shadow: var(--page-shadow);
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .cs-cover img { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .cs-cover:hover { transform: translateY(-4px); box-shadow: var(--page-shadow-lift); }
}
html:not(.js) .cs-cover { display: none; }

.cs-downloads { margin-top: 2.25rem; }

.cs-next { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; }
.cs-next h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(22, 21, 19, 0.97);
  color: var(--paper);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(22, 21, 19, 0.94); }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  padding-top: max(0.75rem, env(safe-area-inset-top));
  font-size: 0.875rem;
}
.lightbox__bar--bottom {
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  align-items: flex-start;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox__stage img { transition: opacity 0.18s ease; }
  .lightbox__stage img.is-loading { opacity: 0.25; }
}

.lightbox__caption { margin: 0; max-width: 44rem; line-height: 1.45; color: rgba(247, 244, 238, 0.86); }
.lightbox__count { color: rgba(247, 244, 238, 0.7); font-variant-numeric: tabular-nums; }
.lightbox__nav { display: flex; gap: 0.5rem; flex-shrink: 0; }

.lightbox button {
  font: 600 0.9375rem/1 var(--sans);
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(247, 244, 238, 0.4);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.lightbox button:hover { background: var(--paper); color: var(--ink); }
.lightbox button:disabled { opacity: 0.35; cursor: default; }
.lightbox button:disabled:hover { background: transparent; color: var(--paper); }
.lightbox :focus-visible { outline-color: var(--paper); }

@media (max-width: 40rem) {
  .lightbox__bar--bottom { flex-direction: column; gap: 0.75rem; }
  .lightbox__nav { width: 100%; }
  .lightbox__nav button { flex: 1; }
}

/* =========================================================
   Motion (only when the visitor has not asked to reduce it)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .js .hero-in > * {
    animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-in > *:nth-child(2) { animation-delay: 0.08s; }
  .js .hero-in > *:nth-child(3) { animation-delay: 0.16s; }
  .js .hero-in > *:nth-child(4) { animation-delay: 0.24s; }
  .js .hero-in > *:nth-child(5) { animation-delay: 0.32s; }
  .js .hero-side { animation: hero-in 0.9s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .lightbox { display: none !important; }
  .section { padding-block: 2rem; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
