/* SHAFER — homepage
   Implements "Shafer Homepage.dc.html" option 1a.
   Colour and type tokens come from brand/tokens.css; nothing here redefines them. */

/* ── Fonts ────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../brand/fonts/BodoniModa.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../brand/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ── Local tokens ─────────────────────────────────────────────────────── */
:root {
  --ink:      var(--shafer-ink);
  --paper:    var(--shafer-paper);
  --graphite: var(--shafer-graphite);
  --walnut:   var(--shafer-walnut);
  --rule:     var(--shafer-rule);
  --paper-2:  #EFEBE2;            /* one step down from paper, for banding */

  --pad: 56px;                     /* section gutter */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--shafer-text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

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

.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.sf-defs { position: absolute; }
/* The monogram's SFF is live Bodoni — pin the optical size like any other
   display setting, or the strokes thin out at header scale. */
.sf-monotext {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
}

/* ── Shared type ──────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase; color: var(--graphite);
}
.eyebrow--ruled { display: flex; align-items: center; gap: 12px; }
.eyebrow__rule { width: 26px; height: 1px; background: var(--walnut); }
/* graphite fails contrast on ink (2.01:1) — use on dark sections instead */
.eyebrow--paper { color: rgba(246, 243, 236, .55); }

.sec-head__title {
  margin-top: 16px;
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  color: var(--ink);
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase; text-indent: var(--shafer-track-label);
  border: 0; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn--ink   { background: var(--ink); color: var(--paper); }
.btn--ink:hover   { background: var(--walnut); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--rule); }
.btn--sm { padding: 15px 26px; font-size: 10px; }

.link-rule {
  display: inline-block; padding-bottom: 7px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color .3s var(--ease);
}
.link-rule:hover { border-color: var(--ink); }

/* ── Header ───────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad);
  background: rgba(20, 19, 15, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 243, 236, .16);
  color: var(--paper);
}
.hdr__brand { display: flex; align-items: center; gap: 14px; }
.hdr__mark { flex: none; }
.hdr__word {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 19px; line-height: 1;
  letter-spacing: var(--shafer-track-display);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav__link {
  position: relative;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
}
.nav__rule {
  position: absolute; left: 0; right: var(--shafer-track-label); bottom: -7px;
  height: 1px; background: var(--paper);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover .nav__rule { transform: scaleX(1); }
/* Current page: a standing walnut rule, distinct from the white hover rule —
   decorative accent on ink, never text, so it stays within the brand's
   contrast rules. */
.nav__link.is-current .nav__rule { transform: scaleX(1); background: var(--walnut); }
.nav__cta { padding: 11px 20px; }

.hdr__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.hdr__toggle-bars,
.hdr__toggle-bars::before,
.hdr__toggle-bars::after {
  display: block; width: 22px; height: 1px;
  background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s linear;
}
.hdr__toggle-bars { margin: 0 auto; position: relative; }
.hdr__toggle-bars::before,
.hdr__toggle-bars::after { content: ""; position: absolute; left: 0; }
.hdr__toggle-bars::before { top: -6px; }
.hdr__toggle-bars::after  { top: 6px; }
.hdr__toggle[aria-expanded="true"] .hdr__toggle-bars { background: transparent; }
.hdr__toggle[aria-expanded="true"] .hdr__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.hdr__toggle[aria-expanded="true"] .hdr__toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { border-bottom: 1px solid var(--rule); }

.hero__media {
  position: relative;
  height: clamp(320px, 46vw, 560px);
  overflow: hidden;
  background: var(--ink);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.endcard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  background: var(--paper);
  animation: sfCardIn 900ms var(--ease) both;
}
.endcard[hidden] { display: none; }
.endcard__wordmark {
  width: 70%; max-width: 620px;
  animation: sfWipe 1500ms cubic-bezier(.16, .84, .24, 1) 500ms both;
}
.endcard__wordmark img { width: 100%; height: auto; }
.endcard__foot { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.endcard__rule {
  width: 180px; height: 1px; background: var(--rule);
  transform-origin: center;
  animation: sfRule 900ms var(--ease) 1700ms both;
}
.endcard__descriptor {
  font-size: 10px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase; text-indent: .42em;
  color: var(--graphite);
  animation: sfUp 900ms var(--ease) 2000ms both;
}
.endcard__replay {
  position: absolute; right: 24px; bottom: 20px;
  padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--graphite);
  animation: sfFade 800ms ease 2600ms both;
  transition: color .3s var(--ease);
}
.endcard__replay:hover { color: var(--ink); }
/* No film to replay — hide the control rather than offer a dead button. */
.hero__media.is-filmless .endcard__replay { display: none; }

@keyframes sfCardIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes sfWipe   { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 -3% 0 0) } }
@keyframes sfRule   { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes sfUp     { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes sfFade   { from { opacity: 0 } to { opacity: .55 } }

.hero__copy { padding: 76px var(--pad) 60px; }
.hero__copy .eyebrow { margin-bottom: 44px; }
.hero__title {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 96, "wght" 400;
  font-size: clamp(38px, 5.2vw, 65px);
  line-height: .98;
  letter-spacing: -.005em;
  text-wrap: pretty;
}
.hero__lede {
  margin-top: 34px; max-width: 52ch;
  font-size: 15.5px; line-height: 1.72;
  color: var(--graphite); text-wrap: pretty;
}
.hero__actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 28px;
  margin-top: 32px;
}

/* ── Category strip ───────────────────────────────────────────────────── */
.strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 18px 34px;
  padding: 20px var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase; color: var(--graphite);
}
.strip__dot { width: 3px; height: 3px; background: var(--rule); }

/* ── Explore teasers (home) ───────────────────────────────────────────── */
.teasers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--rule);
  border-bottom: 1px solid var(--rule);
}
.teaser {
  display: flex; flex-direction: column; gap: 14px;
  padding: 44px 34px 40px;
  background: var(--paper);
}
.teaser__title {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 22px; line-height: 1.2;
  color: var(--ink);
}
.teaser__link { margin-top: auto; align-self: flex-start; }

/* ── Closing CTA band ─────────────────────────────────────────────────── */
.cta-band { padding: 56px var(--pad); background: var(--ink); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-band__title {
  margin-top: 10px;
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--paper);
}

/* ── Section heads ────────────────────────────────────────────────────── */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}

/* ── Originals ────────────────────────────────────────────────────────── */
.work { padding: 88px var(--pad) 96px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding-bottom: 6px; }
.filter {
  position: relative;
  padding: 0 0 8px;
  background: none; border: 0; cursor: pointer;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
}
.filter__rule {
  position: absolute; left: 0; right: var(--shafer-track-label); bottom: 0;
  height: 1px; background: var(--ink);
  opacity: 0; transition: opacity .3s var(--ease);
}
.filter.is-on .filter__rule,
.filter:hover .filter__rule { opacity: 1; }

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 2px;
  margin-top: 2px;
  background: var(--rule);
}
.piece { background: var(--paper); }
.piece[hidden] { display: none; }
.piece__open {
  display: block; width: 100%;
  padding: 0; background: none; border: 0; cursor: pointer;
  text-align: left;
}
.piece__frame {
  position: relative; display: block;
  height: 340px; overflow: hidden;
  background: #E8E4DB;
}
.piece__frame .slot { transition: transform .8s var(--ease); }
.piece__open:hover .slot { transform: scale(1.03); }

.piece__tag {
  position: absolute; left: 16px; bottom: 16px;
  padding: 12px 16px;
  background: rgba(246, 243, 236, .96);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--walnut);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.piece__open:hover .piece__tag,
.piece__open:focus-visible .piece__tag { opacity: 1; transform: none; }

.piece__meta { display: block; padding: 22px 24px 30px; }
.piece__line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.piece__name {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 22px; line-height: 1.15;
}
.piece__year { font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--graphite); }
.piece__materials { display: block; margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--graphite); }
.piece__dims { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .06em; color: var(--graphite); }

.work__more { display: flex; justify-content: center; margin-top: 52px; }

/* Image slot: an empty frame states what belongs in it rather than
   collapsing. The <img> is removed by site.js when the file is missing. */
.slot { position: absolute; inset: 0; display: block; background: var(--rule); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.is-empty::after {
  content: attr(data-caption);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  line-height: 1.8; text-align: center;
  color: var(--graphite);
}

/* ── Restoration ──────────────────────────────────────────────────────── */
.rest {
  padding: 88px var(--pad) 96px;
  border-top: 1px solid var(--rule);
}
.rest__head {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}
.rest__lede { max-width: 52ch; font-size: 15px; line-height: 1.75; color: var(--graphite); text-wrap: pretty; }
.rest__head .link-rule { margin-top: 24px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 2px; background: var(--rule); }
.card { padding: 30px 34px 34px; background: var(--paper); }
.card__num {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 15px; letter-spacing: .2em; color: var(--walnut);
}
.card__title {
  margin-top: 18px;
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 24px; line-height: 1.2;
}
.card__body { margin-top: 13px; font-size: 13.5px; line-height: 1.7; color: var(--graphite); text-wrap: pretty; }

.notes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid var(--rule);
}
.note__label {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--graphite);
}
.note__body { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--graphite); }

/* ── Process ──────────────────────────────────────────────────────────── */
.proc {
  padding: 88px var(--pad) 96px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proc__head { max-width: 620px; }
.proc__head .sec-head__title { line-height: 1.06; }
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid var(--rule);
}
.step { padding: 30px 30px 0; border-right: 1px solid var(--rule); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: 0; }
.step__title {
  margin-top: 20px;
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 25px; line-height: 1.2;
}
.step .card__body { margin-top: 14px; }

/* ── About ────────────────────────────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 660px minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}
.about__portrait {
  position: relative; min-width: 0;
  height: 660px; overflow: hidden;
  border-right: 1px solid var(--rule);
}
.about__copy { padding: 84px var(--pad); }
.about__body { margin-top: 24px; max-width: 52ch; font-size: 15px; line-height: 1.78; color: var(--graphite); text-wrap: pretty; }
.about__foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 26px;
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.about__sig { height: 44px; width: auto; }

/* ── Commission ───────────────────────────────────────────────────────── */
.comm {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px;
  align-items: start;
  padding: 92px var(--pad) 100px;
  background: var(--ink); color: var(--paper);
}
.comm__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 34px;
  font-size: 10px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
}
.comm__title {
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 96, "wght" 400;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  text-wrap: pretty;
}
.comm__lede {
  margin-top: 28px; max-width: 38ch;
  font-size: 14.5px; line-height: 1.78;
  color: rgba(246, 243, 236, .72);
  text-wrap: pretty;
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
  color: rgba(246, 243, 236, .55);
}
.field__input {
  padding: 10px 0;
  background: none; border: 0;
  border-bottom: 1px solid rgba(246, 243, 236, .28);
  color: var(--paper);
  font-family: var(--shafer-text); font-size: 15px; line-height: 1.6;
  resize: none; outline: none;
  transition: border-color .3s var(--ease);
}
.field__input:focus { border-color: var(--paper); }
.field__input::placeholder { color: rgba(246, 243, 236, .38); }
.field.is-bad .field__input { border-color: #C08A6E; }

.form__foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 24px;
  margin-top: 6px;
}
.form__note { font-size: 11.5px; line-height: 1.6; color: rgba(246, 243, 236, .55); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 56px;
  padding: 72px var(--pad) 56px;
  background: var(--ink); color: var(--paper);
}
.foot__brand img { width: 290px; max-width: 100%; height: auto; }
.foot__note { margin-top: 30px; max-width: 34ch; font-size: 12.5px; line-height: 1.72; color: rgba(246, 243, 236, .6); }
.foot__col { display: flex; flex-direction: column; gap: 14px; }
.foot__label {
  margin-bottom: 6px;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase;
  color: rgba(246, 243, 236, .45);
}
.foot__col a { font-size: 13px; transition: color .25s var(--ease); }
.foot__col a:hover { color: rgba(246, 243, 236, .6); }
.foot__stamp { width: 96px; height: 96px; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 90;
  display: flex;
  padding: 56px;
  background: rgba(20, 19, 15, .93);
  overflow: auto;
}
.lb[hidden] { display: none; }
.lb__panel {
  /* auto margins rather than align-items:center — centred when the panel
     fits, and still scrollable to its top when it does not. */
  margin: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  width: 100%; max-width: 1080px;
  background: var(--paper);
}
.lb__media { position: relative; min-width: 0; height: 620px; overflow: hidden; }
.lb__body {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 44px;
}
.lb__cat {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: var(--shafer-track-label);
  text-transform: uppercase; color: var(--walnut);
}
.lb__name {
  margin-top: 18px;
  font-family: var(--shafer-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 44, "wght" 500;
  font-size: 38px; line-height: 1.1;
}
.lb__specs { margin-top: 32px; border-top: 1px solid var(--rule); }
.lb__specs > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.lb__specs dt {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--graphite);
}
.lb__specs dd { max-width: 56%; text-align: right; font-size: 13px; line-height: 1.5; }
.lb__note { margin-top: 26px; font-size: 14px; line-height: 1.75; color: var(--graphite); text-wrap: pretty; }
.lb__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.lb__step {
  padding: 0; background: none; border: 0; cursor: pointer;
  font-size: 10px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--graphite);
  transition: color .25s var(--ease);
}
.lb__step:hover { color: var(--ink); }
.lb__step--end { margin-left: auto; }
body.is-locked { overflow: hidden; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .nav { gap: 26px; }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about__portrait { height: auto; min-height: 520px; }
  .lb__panel { grid-template-columns: minmax(0, 1fr) 360px; }
  .lb__media { height: 540px; }
  .lb__body { padding: 36px 32px; }
}

@media (max-width: 1000px) {
  .grid { --cols: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding: 30px 30px 30px; border-bottom: 1px solid var(--rule); }
  .step:nth-child(odd)  { padding-left: 0; }
  .step:nth-child(even) { padding-right: 0; border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .rest__head { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cards, .notes { grid-template-columns: minmax(0, 1fr); }
  .notes { gap: 30px; }
  .comm { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 44px; }
  .foot__stamp { grid-row: 1; grid-column: 2; justify-self: end; }
  .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hdr { flex-wrap: wrap; }
  .hdr__toggle { display: block; }
  .nav {
    display: none;
    flex-basis: 100%; flex-direction: column; align-items: flex-start;
    gap: 22px;
    padding: 26px 0 10px;
  }
  .nav.is-open { display: flex; }
  .nav__cta { margin-top: 6px; }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about__portrait { min-height: 420px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .about__copy { padding: 60px var(--pad); }

  .lb { padding: 0; }
  .lb__panel { grid-template-columns: minmax(0, 1fr); max-width: none; min-height: 100%; }
  .lb__media { height: 46vh; }
}

@media (max-width: 620px) {
  :root { --pad: 22px; }
  /* Below ~40px rendered, the opsz-96 hairlines drop out — step back to the
     shipped 44 cut. See brand/README.md, "Optical sizing". */
  .hero__title, .comm__title { font-variation-settings: "opsz" 44, "wght" 500; }
  .hero__copy { padding: 52px var(--pad) 48px; }
  .hero__copy .eyebrow { margin-bottom: 30px; }
  .work, .rest, .proc { padding: 60px var(--pad) 64px; }
  .grid { --cols: 1; }
  .piece__frame { height: 280px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .comm { padding: 64px var(--pad) 72px; }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 56px var(--pad) 44px; }
  .foot__stamp { grid-row: auto; grid-column: auto; justify-self: start; }
  .lb__body { padding: 28px 22px 36px; }
  .lb__name { font-size: 30px; }
  .lb__step--end { margin-left: 0; }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Motion ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .piece__open:hover .slot { transform: none; }
}
