*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  /* The contact email (hello@latterhousepublishing.com) is a 32-character
     unbroken string with no space or hyphen for the browser to wrap at.
     Measured: at a 320px viewport it overflows its ~280px column by 2px
     in both the footer (every page) and the thanks-page body copy. This
     only ever engages when a word truly cannot fit — normal wrapping is
     untouched. */
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 16;
  font-weight: 500;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { max-width: var(--measure); }

a { color: inherit; }

.label,
.eyebrow {
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { color: var(--gold-deep); letter-spacing: 0.3em; }

.wrap { max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }

/* Dark bands: gold is unrestricted here (5.04:1). */
.band--emerald { background: var(--emerald); color: var(--paper); }
.band--emerald .eyebrow { color: var(--gold); }
.band--emerald p { color: #B9C9C1; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 1.75rem;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.btn--solid { background: var(--emerald); color: var(--paper); border-color: var(--emerald); }
.btn--solid:hover { background: var(--emerald-lift); }
.btn--gold { background: var(--gold); color: var(--emerald); border-color: var(--gold); }

/* The arch. Permitted in three roles only: covers, process steps, hero. */
.arch {
  border: 1px solid var(--gold);
  border-bottom: none;
  border-radius: 50vw 50vw 0 0;
}

/* Covers are mixed aspect: portrait books, landscape kids books, wide product
   cards. Fixed tile + contain normalises the grid without distorting anything. */
.cover {
  background: var(--emerald);
  border-radius: 1.75rem 1.75rem 2px 2px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}
.cover img { width: 100%; height: 100%; object-fit: contain; }

/* Typographic cover: for the three titles with no genuine art on the
   client's drive. Same tile, gold-on-emerald, Bodoni Moda + a gold rule.
   Deliberately designed, not a missing-image placeholder. */
.cover--type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 2rem 1.5rem; text-align: center; }
.cover__rule { width: 2.5rem; height: 1px; background: var(--gold); }
.cover__title { font-family: var(--font-display); color: var(--gold); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.3; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.band--emerald :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--emerald);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; }

/* Motion */
/* Hidden only when JS is confirmed running, so a failed script never
   leaves real content invisible. */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem var(--gutter); max-width: 74rem; margin-inline: auto; }
.nav__mark img { width: 5.5rem; height: auto; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav__links a { text-decoration: none; color: var(--slate); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { color: var(--gold-deep) !important; }
.nav[data-page="library"] a[href="/library"],
.nav[data-page="publish"] a[href="/publish"],
.nav[data-page="about"] a[href="/about"] { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* Footer */
.footer { background: var(--emerald); color: var(--paper); padding: var(--band) var(--gutter) 2.5rem; }
.footer__inner { max-width: 74rem; margin-inline: auto; display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer img { width: 8rem; }
.footer__tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); margin-top: 0.75rem; }
.footer__links { display: grid; gap: 0.6rem; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__links a, .footer__contact a { color: var(--paper); text-decoration: none; }
.footer__contact .label { color: var(--gold); margin-bottom: 0.5rem; }
/* #9DB3A9 on emerald is 5.28:1. Do not darken it — #7E948B fails AA at 3.63:1. */
.footer__legal { max-width: 74rem; margin: 3.5rem auto 0; font-family: var(--font-label); font-size: 0.7rem; color: #9DB3A9; }

@media (max-width: 46rem) {
  .nav { flex-wrap: wrap; gap: 1rem; }
  .nav__links { gap: 1rem; flex-wrap: wrap; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 6vw, 5rem) var(--band); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__arch { position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 24rem; margin-inline: auto; }
.arch--outer { position: absolute; inset: 0; }
.arch--inner { position: absolute; inset: 6% 6% 0; border-color: var(--hairline); }
.hero__covers { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 0.7rem; width: 76%; }

/* Both hero covers are now portrait art (raising-parents 0.67, the-home-team
   0.71) so a 2/3 tile with object-fit: cover fills completely with no
   emerald banding. Do not touch the arch itself. */
.hero__covers .cover { aspect-ratio: 2 / 3; }
.hero__covers .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Proof band */
.proof__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2.75rem 0; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.proof__stats span { display: block; font-family: var(--font-display); font-size: 3rem; letter-spacing: 0; text-transform: none; color: var(--gold); }

/* Services */
.services { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 3rem 0; }
.services h3 { margin-bottom: 0.5rem; }
.services p { color: var(--slate); font-size: 1rem; }

/* Process */
.process__steps { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 3rem; counter-reset: step; }
.process__num { display: grid; place-items: center; height: 4.5rem; width: 3.5rem; margin-bottom: 1.25rem; }
.process__num span { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-deep); }
.process__steps p { color: var(--slate); font-size: 1rem; }

/* Endorsement: two-up (Chapman + Maxwell). Grid collapses to one column
   on narrow screens; quote size trimmed slightly from the single-quote
   brief size since two now sit side by side, never below 1.4rem. */
.endorsement__grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(2, 1fr); }
.endorsement blockquote p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.28; max-width: 26ch; }
.endorsement figcaption { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-top: 1.5rem; }

/* Ethos */
.ethos__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; color: var(--paper); max-width: 34ch; }
.ethos__quote cite { display: block; font-family: var(--font-label); font-style: normal; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 1.25rem 0 2.25rem; }

/* Invitation */
.invitation .btn { margin-top: 2rem; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .hero__arch { max-width: 22rem; }
  .endorsement__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Library / catalog */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) 3rem; }
.page-head h1 { margin-bottom: 1.5rem; }

.catalog__group { margin-bottom: var(--band); }
.catalog__heading { font-size: clamp(1.4rem, 2.4vw, 1.9rem); padding-bottom: 1rem; border-bottom: 1px solid var(--hairline); margin-bottom: 2.5rem; }
.catalog__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.catalog__link { text-decoration: none; display: block; }
.catalog__link h3 { font-size: 1.15rem; margin: 1.1rem 0 0.4rem; }
.catalog__link p { font-size: 0.94rem; color: var(--slate); }
.catalog__link:hover .cover { transform: translateY(-4px); }
.catalog .cover { transition: transform 220ms ease; box-shadow: 0 10px 26px rgba(10, 64, 49, 0.13); }

/* Cover art is mixed-aspect across groups but consistent WITHIN each group, so
   each group gets a tile matching its own art and fills it. Kids and books
   crop almost nothing; curriculum's one 1.50 box render crops a little side
   margin, which is fine since that margin is dead space. A single site-wide
   tile was tried first and left landscape art half-filling a tall box. */
.catalog .cover {
  background: var(--emerald);
  border-radius: 1.5rem 1.5rem 2px 2px;
  overflow: hidden;
  display: block;
}
.catalog .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.catalog__group[data-group="books"] .cover      { aspect-ratio: 2 / 3; }
.catalog__group[data-group="kids"] .cover       { aspect-ratio: 4 / 3; }
.catalog__group[data-group="curriculum"] .cover { aspect-ratio: 1 / 1; }
.catalog__group[data-group="tools"] .cover      { aspect-ratio: 4 / 3; }

/* Fallback for any item with no art: a deliberate emerald card with the arch
   top, matching the image covers' radius. Unused while every item has real
   artwork, but kept ready — see the `cover()` comment in render-catalog.mjs. */
.catalog .cover--type {
  display: grid;
  place-items: center;
  border-radius: 1.5rem 1.5rem 2px 2px;
  gap: 0.75rem;
}

/* Book detail pages */
.book { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2rem, 5vw, 4rem) var(--band); align-items: start; }
.book__cover { position: sticky; top: 2rem; }
.book__byline { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin: 0.85rem 0 1.75rem; }
.book__sub { font-size: 1.15rem; margin: 2.25rem 0 0.6rem; }
.book__extras { display: grid; gap: 0.5rem; }
.book__extras li { padding-left: 1.1rem; position: relative; color: var(--slate); font-size: 1rem; }
.book__extras li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.4rem; height: 1px; background: var(--gold); }
.book__quote { border-left: 2px solid var(--gold); padding-left: 1.5rem; margin: 2rem 0; }
.book__quote p { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.3; }
.book__quote footer { display: block; font-family: var(--font-label); font-style: normal; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-top: 0.9rem; }
.book__quote footer cite { font-style: normal; }
.book .btn { margin-top: 2.25rem; }

@media (max-width: 52rem) {
  .book { grid-template-columns: 1fr; }
  .book__cover { position: static; max-width: 16rem; }
}

/* Publish With Us services */
.service { display: grid; grid-template-columns: 5rem 1fr; gap: 2rem; padding-block: 3.25rem; border-top: 1px solid var(--hairline); align-items: start; }
.service__num { color: var(--gold-deep); font-size: 0.8rem; padding-top: 0.6rem; }
.service h2 { margin-bottom: 1.25rem; }
.service p { margin-bottom: 1rem; }
.service p strong { font-weight: 500; color: var(--ink); }
.service a { color: var(--gold-deep); text-underline-offset: 0.25em; }

@media (max-width: 46rem) {
  .service { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* About page prose */
/* .prose is also a .wrap, so keep the wrap's own max-width and constrain the
   measure on the children instead — otherwise the narrower box re-centres and
   the copy drifts right of the h1 above it. */
.prose { max-width: 74rem; padding-bottom: var(--band); }
.prose > * { max-width: 46rem; }
.prose p { margin-bottom: 1.5rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 3rem 0 1.25rem; }
.ethos__quote--light { border-left: 2px solid var(--gold); padding-left: 1.75rem; margin: 2rem 0 2.5rem; }
.ethos__quote--light p { color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.4; }
.ethos__quote--light cite { color: var(--gold-deep); }

/* Start Your Book form */
/* Same trap as .prose: .form-wrap is also a .wrap, so keep the wrap's own
   max-width and constrain the measure on the children, or the narrower box
   re-centres and the form drifts right of the h1 above it. */
.form-wrap { max-width: 74rem; padding-bottom: var(--band); }
.form-wrap > * { max-width: 38rem; }
.field { margin-bottom: 1.75rem; }
.field label { display: block; font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.6rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 0.85rem 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); }
.field__hint { font-size: 0.88rem; color: var(--slate); margin-top: 0.5rem; }
.form-wrap button { cursor: pointer; font-family: var(--font-label); margin-top: 0.5rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.thanks__actions { margin-top: 2.5rem; }

/* ============================================================
   HOME PAGE
   Two rules hold this together, and breaking either one is what
   made the earlier attempt read as noise:
   1. Cover art has white/light backgrounds baked in, so it may
      only ever sit on --paper. Never scattered on emerald.
   2. Emerald surfaces carry type and photography. Nothing else.
   ============================================================ */

/* Film grain. Sits above everything, catches no pointer events. */
.home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hairline mark before an eyebrow. */
.rule { display: inline-block; width: 1.75rem; height: 1px; background: currentColor; vertical-align: middle; margin-right: 0.75rem; opacity: 0.55; }
.eyebrow--gold { color: var(--gold); }

/* Ticker */
.ticker { background: var(--emerald); color: var(--gold); overflow: hidden; padding: 0.7rem 0; border-bottom: 1px solid rgba(197,166,106,0.25); }
.ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 46s linear infinite; font-family: var(--font-body); font-size: 0.82rem; font-style: italic; white-space: nowrap; }
.ticker__item b { font-style: normal; font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; margin-left: 0.6rem; }
.ticker__dot { opacity: 0.5; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* Hero: copy on paper, photograph bleeding off the right edge. */
.hero2 { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: min(84vh, 46rem); }
.hero2__copy { padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 6vw, 6rem) var(--gutter); max-width: 42rem; margin-left: auto; }
.hero2 h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin-bottom: 1.5rem; }
.hero2 h1 em { font-style: italic; color: var(--gold-deep); }
.hero2__lead { font-size: 1.06rem; color: var(--slate); margin-bottom: 2.25rem; }
.hero2__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero2__shot { position: relative; align-self: stretch; overflow: hidden; background: var(--emerald); }
.hero2__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; display: block; }
.hero2__shot figcaption { position: absolute; left: 1.25rem; bottom: 1rem; font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251,250,248,0.82); text-shadow: 0 1px 8px rgba(10,64,49,0.7); }

.btn--bare { border-color: transparent; padding-inline: 0; border-bottom: 1px solid var(--hairline); }

/* Proof: photograph as the field, emerald wash for legibility. */
.proof2 { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4.5rem, 10vw, 9rem); }
.proof2__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; z-index: -2; }
.proof2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(10,64,49,0.96) 0%, rgba(10,64,49,0.93) 46%, rgba(10,64,49,0.55) 100%); }
.proof2__inner { max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); color: var(--paper); }
.proof2 h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.proof2 p { color: #C6D4CD; max-width: 46ch; }
.tally { display: flex; flex-wrap: wrap; gap: 3rem; margin: 3rem 0 2.5rem; }
.tally__n { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--gold); font-variation-settings: 'opsz' 16; }
.tally__l { display: block; font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: #A8BCB2; margin-top: 0.6rem; }

/* Shelf: covers on paper only. */
.shelf { padding-block: clamp(3.5rem, 8vw, 7rem); }
.shelf__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; align-items: end; margin: 2.5rem 0 1.75rem; }
.shelf__book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 1.25rem 1.25rem 2px 2px; box-shadow: 0 14px 34px rgba(10,64,49,0.16); }
.shelf__book:nth-child(even) img { aspect-ratio: 3 / 4; }
.shelf__book figcaption { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-top: 0.8rem; }
.shelf__more a { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }

/* Work: an editorial list, not five cards. */
.work { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid var(--hairline); }
.work__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.work__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 1rem 0 1.75rem; }
.work__list { display: grid; }
.work__list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--hairline); }
.work__list li:last-child { border-bottom: 1px solid var(--hairline); }
.work__n { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--gold-deep); padding-top: 0.35rem; }
.work__list h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.work__list p { font-size: 0.97rem; color: var(--slate); }

/* Pull quote at full scale. */
.pull { background: var(--emerald); color: var(--paper); padding-block: clamp(4rem, 9vw, 8rem); }
.pull blockquote p { font-family: var(--font-display); font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.08; max-width: 18ch; font-variation-settings: 'opsz' 16; }
.pull cite { display: block; font-family: var(--font-label); font-style: normal; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 2rem; }
.pull cite span { font-family: var(--font-body); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 0.9rem; }

/* Steps beside a tall photograph. */
.steps { padding-block: clamp(3.5rem, 8vw, 7rem); }
.steps__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.steps__shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 9rem 9rem 2px 2px; }
.steps h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 1rem 0 2rem; }
.steps__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--hairline); }
.steps__n { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); line-height: 1; font-variation-settings: 'opsz' 16; }
.steps__list h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.steps__list p { font-size: 0.97rem; color: var(--slate); }

/* Split-text reveal. Gated on .js so it fails visible. */
.js .split .w { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity 620ms ease, transform 620ms ease; }
.js .split.is-visible .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .js .split .w { opacity: 1; transform: none; }
}

@media (max-width: 60rem) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2__copy { max-width: none; margin-left: 0; padding-inline: var(--gutter); }
  .hero2__shot { min-height: 22rem; }
  .work__grid, .steps__grid { grid-template-columns: 1fr; }
  .steps__shot { max-width: 22rem; }
  .shelf__row { grid-template-columns: repeat(3, 1fr); }
  .shelf__book:nth-child(n+4) { display: none; }
}
@media (max-width: 40rem) {
  .shelf__row { grid-template-columns: repeat(2, 1fr); }
  .shelf__book:nth-child(n+3) { display: none; }
  .tally { gap: 1.75rem; }
}
