/* ==========================================================================
   The Hana Sachiko Company — Agency landing page
   Plain CSS, no build step. Brand tokens at the top.
   Brand red sampled from the studio film's title cards.
   ========================================================================== */

:root {
  --bg: #0b0a09;
  --bg-2: #131110;
  --bg-3: #1b1816;
  --ink: #f2ede6;
  --ink-2: #b9b1a7;
  --ink-3: #7d756c;
  --line: rgba(242, 237, 230, 0.12);
  --red: #cf0a14;
  --red-hi: #e3141e;
  --warm: #c9894a;            /* boardroom amber, used sparingly */

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
em { font-style: italic; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .num { color: var(--red-hi); margin-right: 10px; }
.section__title, .hero__title {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.02; letter-spacing: -.01em; margin: 0;
  text-wrap: balance;
}
.section__title { font-size: clamp(40px, 6vw, 84px); }
.section__title em, .hero__title em { color: var(--ink); font-style: italic; }
.section__lede { margin: 22px 0 0; max-width: 56ch; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(242,237,230,.4); color: var(--ink); background: rgba(11,10,9,.15); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11,10,9,.86); backdrop-filter: blur(12px); border-color: var(--line); }
.nav.is-hidden { opacity: 0; pointer-events: none; }
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  max-width: var(--wrap); margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
}
.nav__brand img { width: 44px; height: 44px; border-radius: 9px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Play icon ---------- */
.play-icon {
  position: relative; display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(242,237,230,.95);
  transition: transform .35s var(--ease), background .25s;
}
.play-icon::after {
  content: ""; margin-left: 5px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--bg);
}
.play-icon--xl { width: 92px; height: 92px; }
.play-icon--xl::after { border-width: 15px 0 15px 25px; margin-left: 7px; }

/* ==========================================================================
   HERO — film dominates; copy overlays on desktop, sits below on mobile
   ========================================================================== */
.hero { display: grid; background: #000; }
.hero__stage, .hero__copy { grid-area: 1 / 1; }
.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100svh;
  min-height: 560px;
  background: #000 url("agency-assets/hero/intro-poster.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.hero.is-playing .hero__video { object-fit: contain; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 65%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 40%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%);
  transition: opacity .5s var(--ease);
}
.hero__play {
  position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 20px;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  transition: opacity .4s var(--ease);
}
.hero__play:hover .play-icon { transform: scale(1.07); background: #fff; }
.hero__play-text { display: grid; }
.hero__play-label { font-family: var(--font-display); font-size: 32px; line-height: 1; font-style: italic; }
.hero__play-meta { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.hero__copy {
  align-self: end; justify-self: start; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
  pointer-events: none; transition: opacity .5s var(--ease);
}
.hero__copy > * { max-width: 620px; }
.hero__copy a { pointer-events: auto; }
.hero__title { font-size: clamp(44px, 6.2vw, 96px); }
.hero__sub { margin: 22px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero.is-playing .hero__shade,
.hero.is-playing .hero__copy,
.hero.is-playing .hero__play { opacity: 0; pointer-events: none; }
.hero.is-playing .hero__copy a { pointer-events: none; }

@media (max-width: 860px) {
  .hero { background: var(--bg); }
  .hero__stage, .hero__copy { grid-area: auto; }
  .hero__stage { min-height: 0; max-height: none; margin-top: 72px; }
  .hero__shade { background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); }
  .hero__play { left: 50%; flex-direction: column; gap: 10px; text-align: center; }
  .hero__play .play-icon--xl { width: 72px; height: 72px; }
  .hero__play-label { font-size: 22px; }
  .hero__play-meta { display: none; }
  .hero__copy { padding-top: 36px; padding-bottom: 24px; pointer-events: auto; }
  .hero.is-playing .hero__copy { opacity: 1; pointer-events: auto; }
  .hero.is-playing .hero__copy a { pointer-events: auto; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Reels (vertical film cards) ---------- */
.reels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px);
}
.reel { min-width: 0; }
.reel--wide { grid-column: span 2; }
.reel__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-3); cursor: pointer;
}
.reel--wide .reel__media { aspect-ratio: 16 / 9; }
.reel__media img, .reel__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .4s var(--ease);
}
.reel__media video { opacity: 0; }
.reel.is-previewing .reel__media video { opacity: 1; }
.reel__media:hover img { transform: scale(1.03); }
.reel__play {
  position: absolute; inset: auto auto 18px 18px;
  transition: opacity .3s var(--ease);
}
.reel__play .play-icon { width: 54px; height: 54px; }
.reel__play .play-icon::after { border-width: 9px 0 9px 15px; margin-left: 4px; }
.reel__media:hover .play-icon { transform: scale(1.08); }
.reel__info {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px;
  padding: 18px 2px 0; border-top: 0;
}
.reel__idx { font-family: var(--font-display); font-style: italic; color: var(--red-hi); font-size: 20px; }
.reel__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.reel__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

@media (max-width: 760px) {
  .reels {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
  .reel__info { grid-template-columns: auto 1fr; }
  .reel__meta { grid-column: 2; }
}

/* ---------- Characters ---------- */
.char { margin: 0 0 clamp(56px, 7vw, 96px); }
.char:last-child { margin-bottom: 0; }
.char__bar {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.char__cap { display: grid; gap: 4px; }
.char__name { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.char__note { color: var(--ink-2); font-size: 15px; }
.switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.switch button {
  min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none;
  color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s;
}
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.char__frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
}
.char__frame img { width: 100%; height: auto; transition: opacity .35s var(--ease); }
.char__frame.is-swapping img { opacity: 0; }
.char__zoom {
  position: absolute; right: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 999px; background: rgba(11,10,9,.72); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.char__frame:hover .char__zoom, .char__frame:focus-visible .char__zoom { opacity: 1; transform: none; }
@media (hover: none) { .char__zoom { opacity: 1; transform: none; } }

/* ---------- Services ---------- */
.services {
  display: grid; grid-template-columns: 1fr 1fr 1fr 0.62fr; gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}
.service h3 { margin: 22px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.service p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.service__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__img img { transform: scale(1.04); }
.service__img--vertical { aspect-ratio: 9 / 16; }
.services .service:nth-child(1) .service__img img { object-position: 50% 50%; }
.services .service:nth-child(2) .service__img img { object-position: 50% 50%; }
.services .service:nth-child(3) .service__img img { object-position: 70% 50%; }
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service__img, .service__img--vertical { aspect-ratio: 4 / 3; }
  .service__img--vertical img { object-position: 50% 30%; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Process ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.step { position: relative; padding: 36px 28px 8px 0; }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-hi);
}
.step__n { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(52px, 5vw, 76px); line-height: 1; color: var(--ink-3); }
.step h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 30ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; border-top: 0; }
  .step { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 28px 0; }
  .step__n { grid-row: span 2; font-size: 44px; }
  .step h3 { margin-top: 4px; }
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: 120px; margin-bottom: 0; }
.caps { list-style: none; margin: 0; padding: 0; counter-reset: cap; }
.caps li {
  counter-increment: cap;
  display: grid; grid-template-columns: 48px 1fr; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15;
}
.caps li:first-child { border-top: 1px solid var(--line); }
.caps li::before {
  content: counter(cap, decimal-leading-zero);
  font-family: var(--font-body); font-size: 12px; letter-spacing: .12em; color: var(--red-hi);
}
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
  .why__head { position: static; }
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #140707 100%); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact__direct { margin: 40px 0 0; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.contact__direct a { color: var(--ink); font-size: 18px; text-decoration-color: rgba(242,237,230,.3); text-underline-offset: 5px; word-break: break-all; }
.contact__direct a:hover { text-decoration-color: var(--red-hi); }
.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); background: rgba(242,237,230,.035); border: 1px solid var(--line); border-radius: 8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(0,0,0,.35); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); background: rgba(0,0,0,.5); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-hi); }
.field textarea::placeholder { color: var(--ink-3); }
.form__status { margin: -6px 0 0; min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); background: #070606; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px; }
.footer__inner img { width: 56px; height: 56px; border-radius: 11px; }
.footer__tag { margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--ink-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { grid-column: 1 / -1; margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: auto 1fr; } .footer__links { grid-column: 1 / -1; } }


/* ---------- Group labels inside a section (e.g. "One story, three styles", "Gloops") ---------- */
.group-label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.reels + .group-label { margin-top: clamp(64px, 8vw, 112px); }
.group-label__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.group-label__note { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Mixed-aspect reel row: every card shares one height; width follows --ar ---------- */
.reels--flex { display: flex; align-items: flex-start; }
.reels--flex .reel { flex: var(--ar, 1) 1 0; }
.reels--flex .reel__media { aspect-ratio: var(--ar, 1); }
@media (max-width: 760px) {
  .reels--flex { display: flex; }
  .reels--flex .reel { flex: 0 0 auto; width: calc(min(420px, 58svh) * var(--ar, 1)); max-width: 86vw; }
}

/* ---------- Character lineup (horizontal scroller) ---------- */
.lineup {
  display: flex; gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.lineup__item {
  flex: 0 0 auto; display: grid; gap: 12px; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; scroll-snap-align: start;
}
.lineup__img {
  position: relative; display: block; height: clamp(240px, 28vw, 380px);
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
}
.lineup__img img { height: 100%; width: auto; max-width: none; transition: transform 1s var(--ease); }
.lineup__item:hover .lineup__img img { transform: scale(1.04); }
.lineup__item:hover .play-icon { transform: scale(1.08); }
.lineup__name { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.15; }
.lineup__nav { display: flex; gap: 8px; }
.lineup__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: none; font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s;
}
.lineup__arrow:hover { border-color: var(--ink-2); background: rgba(242,237,230,.06); }
@media (hover: none) { .lineup__nav { display: none; } }

/* ---------- Service image caption ---------- */
.service__img { position: relative; }
.service__cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; width: fit-content;
  padding: 6px 10px; border-radius: 999px; background: rgba(11,10,9,.72); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.94); }
.lightbox__body { position: relative; display: grid; justify-items: center; gap: 14px; max-width: calc(100vw - 32px); }
.lightbox__media video { max-height: calc(100svh - 120px); max-width: calc(100vw - 32px); width: auto; border-radius: var(--radius); background: #000; }
.lightbox__media.is-image {
  max-height: calc(100svh - 110px); max-width: calc(100vw - 32px); overflow: auto; border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.lightbox__media.is-image img { max-height: calc(100svh - 110px); width: auto; cursor: zoom-in; }
.lightbox__media.is-image.is-zoomed img { max-height: none; max-width: none; width: auto; cursor: zoom-out; }
.lightbox__title { margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--ink-2); }
.lightbox__btn {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(11,10,9,.6); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.lightbox__btn:hover { background: rgba(242,237,230,.12); border-color: var(--ink-2); }
.lightbox__close { top: 16px; right: 16px; font-size: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 30px; }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 30px; }
.lightbox__btn[hidden] { display: none; }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__body { padding-bottom: 56px; }
}
body.is-locked { overflow: hidden; }

/* ---------- Reveal (subtle) ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }   /* only set by JS on below-the-fold items */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
