/* =========================================================================
   Legacy Bloodstock · Concept 4
   The look of Concept 1 (Heritage Catalogue) with the scroll experience of
   Concept 2 (Cinematic Legacy).
   Base styles = the static layout (no JS, reduced motion, small screens).
   html.pin-mode (set by JS at 1024px+ with motion allowed and GSAP loaded)
   switches on the pinned scenes.
   ========================================================================= */

:root {
  /* colour (Concept 1) */
  --green: #00573D;
  --green-deep: #003828;
  --green-hover: #004330;
  --gold: #A8986E;            /* hairlines, ornament only */
  --gold-300: #CFC4A3;        /* light rules and text on green (4.97:1) */
  --gold-text: #635530;       /* darkened gold for text: 7.3:1 on white, 5.0:1 on khaki */
  --khaki: #DCD6C5;
  --khaki-100: #E8E3D6;
  --khaki-rule: #D3CCB8;
  --paper: #FFFFFF;
  --ink: #212529;
  --ink-soft: #4A4F45;        /* 8.4:1 on white, 5.8:1 on khaki */
  --error: #8E2A1F;

  /* type */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --script: 'Tangerine', 'Pinyon Script', cursive;
  --caps: 'Cinzel', 'Copperplate', 'Copperplate Gothic Bold', Georgia, serif;

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --frame: 5px;

  /* header geometry: one row (Concept 2), transparent at the top, a solid bar once scrolled.
     --hdr is the row at rest, --hdr-mini the solid bar; the change is transforms only. */
  --logo-w: 150px;
  --hdr: 98px;
  --hdr-mini: 76px;
  --logo-scale: .78;
  --ivory: #FBFAF6;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-page: cubic-bezier(.65, 0, .35, 1);
  --t-reveal: 900ms;
}
@media (min-width: 1200px) { :root { --logo-w: 180px; --hdr: 120px; --hdr-mini: 92px; --logo-scale: .8; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-mini) + 12px); }

/* Lenis smooth scroll (Revision 3): the library's recommended CSS (lenis 1.3.26
   dist/lenis.css). Only applies once main.js adds the .lenis class to <html>,
   which it never does under prefers-reduced-motion. No scroll-behavior: smooth. */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis .reel__viewport { overscroll-behavior-y: auto; } /* only its sideways swipe is kept from Lenis */
body {
  margin: 0;
  padding-top: var(--hdr);
  background: var(--khaki);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--serif);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--green); text-wrap: balance; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--green); color: #fff; padding: 10px 16px; font: 500 .75rem/1.4 var(--caps); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared ornaments ---------- */
.kicker { font: 500 .75rem/1.5 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.rule { display: block; height: 1px; background: var(--gold); transform-origin: center; }
.rule--short { width: 56px; margin: 0 auto; }
.rule--left { width: 48px; transform-origin: left; }
.hairline-short { display: block; width: 120px; height: 2px; background: var(--gold); margin: 0 auto; }

.script-title {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 28px);
  font: 700 clamp(3rem, 2.1rem + 3.4vw, 4.75rem)/1 var(--script);
  color: var(--green); text-align: center; letter-spacing: .005em;
}
.script-title > span:not(.rule) { padding: 0 .06em .08em; flex: 0 1 auto; }
.script-title .rule { flex: 1 1 0; max-width: 300px; min-width: 24px; }

.section-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 60px); max-width: 900px; }
.section-head--tight { margin-bottom: 22px; }
.section-head__sub { margin: 14px auto 0; max-width: 620px; color: var(--ink-soft); font-style: italic; font-size: 1.0625rem; text-wrap: balance; }

.page { position: relative; background: var(--paper); padding: clamp(40px, 6vw, 88px) clamp(20px, 6vw, 88px); }
.page::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--khaki-rule); pointer-events: none; }
.page--narrow { max-width: 980px; margin: 0 auto; }

.section { padding: var(--section) 0 0; }

.fleuron { display: flex; align-items: center; justify-content: center; gap: 22px; max-width: 520px; margin: var(--section) auto 0; padding: 0 var(--gutter); }
.fleuron .rule { flex: 1; }
.fleuron img { width: 64px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  font: 500 .8125rem/1.2 var(--caps); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--green); border-radius: 0; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.text-link { font: italic 400 1rem/1.5 var(--serif); color: var(--green); text-decoration: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 1px; background: none; cursor: pointer; }
.text-link:hover { border-bottom-color: var(--green); }
.center-link { text-align: center; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- plates (framed, matted photos) ---------- */
.plate__frame { background: var(--paper); padding: var(--frame); border: 1px solid var(--khaki-rule); }
.plate__window { position: relative; overflow: hidden; background: var(--khaki-100); outline: 1px solid var(--gold); outline-offset: -1px; }
.plate__window img { width: 100%; height: 100%; object-fit: cover; }
.plate__caption { margin-top: 14px; text-align: center; }
.plate__text { font-style: italic; font-size: 1rem; color: var(--ink); }

/* =========================================================================
   HEADER · Concept 2's single row: phone · nav · logo · nav · Contact Us.
   Transparent over the khaki at the top; once scrolled an ivory bar with a
   gold hairline slides up behind it and the logo settles smaller.
   Transforms and opacity only.
   ========================================================================= */
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr); }
.masthead__bg {
  position: absolute; inset: 0; background: var(--ivory);
  border-bottom: 1px solid var(--gold);
  opacity: 0; transform: translateY(calc(var(--hdr-mini) - var(--hdr) - 10px));
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.masthead__row {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(16px, 2.2vw, 36px);
  padding: 0 var(--gutter);
  transition: transform .45s var(--ease);
}
.masthead__side { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); min-width: 0; }
.masthead__side--right { justify-content: flex-end; }
.masthead__logo { display: block; width: var(--logo-w); line-height: 0; transform-origin: 50% 50%; transition: transform .45s var(--ease); }
.masthead__logo img { width: 100%; height: auto; }

.masthead.is-solid .masthead__bg { opacity: 1; transform: translateY(calc(var(--hdr-mini) - var(--hdr))); }
.masthead.is-solid .masthead__row { transform: translateY(calc((var(--hdr-mini) - var(--hdr)) / 2)); }
.masthead.is-solid .masthead__logo { transform: scale(var(--logo-scale)); }

/* small spaced capitals (Concept 2's treatment) */
.nav a, .masthead__phone, .masthead__call {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 .72rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--green); text-decoration: none;
}
.masthead__phone, .masthead__call { color: var(--gold-text); }
.masthead__phone:hover, .masthead__call:hover { color: var(--green); }
.nav ul { display: flex; gap: clamp(16px, 1.9vw, 34px); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 11px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--green); }
.nav--left { margin-left: auto; }
.nav--right { margin-right: auto; }

/* Contact Us: Concept 2's square outlined button, gold keyline */
.masthead__inquire {
  min-height: 44px; padding: 0 22px; flex: none;
  font: 600 .74rem/1 var(--caps); letter-spacing: .22em;
  background: transparent; color: var(--green); border-color: var(--gold);
}
.masthead__inquire:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* menu toggle: two hairlines (Concept 2) */
.menu-btn { display: none; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--green); flex: none; }
.menu-btn__icon, .contents__x { position: relative; display: block; width: 26px; height: 10px; }
.menu-btn__icon i, .contents__x i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.menu-btn__icon i:first-child, .contents__x i:first-child { top: 0; }
.menu-btn__icon i:last-child, .contents__x i:last-child { bottom: 0; }
.contents__x i:first-child { transform: translateY(4.5px) rotate(45deg); }
.contents__x i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* below 1200px: phone · logo · (Contact Us) · menu */
.masthead__phone, .masthead__call { display: none; }
@media (max-width: 1199.98px) {
  .nav { display: none; }
  .masthead__call { display: inline-flex; }
  .menu-btn { display: inline-flex; }
  .masthead__side--right { gap: 20px; }
}
@media (max-width: 767.98px) {
  /* the floating dock is gone, so Contact Us stays in the header on phones too */
  .masthead__inquire { padding: 0 8px; font-size: .59rem; letter-spacing: .08em; min-height: 38px; }
  .masthead__side--right { gap: 2px; }
  .masthead__row { column-gap: 8px; }
  .masthead__call { letter-spacing: .14em; font-size: .66rem; }
  .menu-btn { min-width: 34px; }
}
@media (max-width: 479.98px) { .masthead { --logo-w: 100px; } .masthead__row { grid-template-columns: minmax(0, .8fr) auto minmax(0, 1fr); } .contents__logo { width: calc(150px * var(--logo-scale)); } }
@media (max-width: 359.98px) { .masthead { --logo-w: 84px; } .masthead__row { grid-template-columns: minmax(0, .5fr) auto minmax(0, 1fr); } }
@media (min-width: 1600px) {
  .masthead__phone { display: inline-flex; }
}

/* =========================================================================
   CONTENTS MENU (dialog, below 1100px)
   ========================================================================= */
.contents {
  position: fixed; inset: 0; z-index: 100; background: var(--khaki); overflow-y: auto;
  opacity: 0; transition: opacity .3s var(--ease);
}
.contents.is-open { opacity: 1; }
.contents__bar {
  position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  height: var(--hdr-mini); padding: 0 var(--gutter); background: var(--ivory); border-bottom: 1px solid var(--gold);
}
.contents__logo { width: calc(var(--logo-w) * var(--logo-scale)); }
.contents__close { justify-self: end; display: inline-flex; align-items: center; justify-content: flex-end; background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 2px; cursor: pointer; color: var(--green); }
.contents__body { max-width: 520px; margin: 0 auto; padding: 32px var(--gutter) 48px; text-align: center; }
.contents__title { font-size: 3.6rem; margin: 4px 0 20px; }
.contents__list { text-align: left; }
.contents__list li { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 120ms); }
.contents.is-open .contents__list li { opacity: 1; transform: none; }
.contents__list a { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; font-size: 1.1875rem; color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(168, 152, 110, .45); }
.contents__dots { flex: 1; border-bottom: 1px dotted var(--gold); transform: translateY(-5px); }
.contents__list a::after { content: "\203A"; color: var(--gold-text); }
.contents__foot { margin-top: 32px; display: grid; gap: 16px; }
.contents__foot p { font-size: 1.0625rem; line-height: 1.9; }

/* =========================================================================
   CHAPTER RAIL + PROGRESS (1100px+)
   ========================================================================= */
.rail { display: none; }
@media (min-width: 1100px) {
  .rail {
    display: block; position: fixed; right: 14px; top: 50%; z-index: 40; transform: translateY(-50%);
    padding: 4px 0; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .rail.is-on { opacity: 1; visibility: visible; }
  .rail__track { position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: rgba(168, 152, 110, .45); }
  .rail__fill { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
  .rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 30px; text-decoration: none; }
  .rail__tick { display: block; width: 9px; height: 1px; background: var(--gold); transition: width .3s var(--ease), background-color .3s; }
  .rail__name {
    font: 500 .625rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--green);
    background: var(--paper); border: 1px solid var(--khaki-rule); padding: 6px 8px 5px;
    opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .rail a:hover .rail__name { opacity: 1; transform: none; }
  .rail a[aria-current="true"] .rail__tick { width: 20px; background: var(--green); }
  .rail.is-on.on-green { opacity: 0; visibility: hidden; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: clamp(24px, 3vw, 40px) 0 0; text-align: center; }
.hero__mono { width: 62px; margin: 0 auto; }
.hero__rule { width: min(300px, 56vw); margin: 16px auto 14px; }
.hero__kicker { margin-bottom: 10px; }
.hero__title { font: 400 clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem)/1.12 var(--serif); color: var(--green); letter-spacing: -.005em; }
.hero__title strong { font-weight: 700; }
.hero__title .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { max-width: 620px; margin: 12px auto 22px; font-size: 1.125rem; color: var(--ink-soft); font-style: italic; text-wrap: balance; }

.hero__stage {
  display: grid; grid-template-columns: 1fr minmax(0, 780px) 1fr; align-items: center; gap: clamp(20px, 3vw, 44px);
  margin: clamp(26px, 3vw, 38px) auto 0;
}
.plate--hero .plate__frame { padding: 12px; border-color: var(--paper); }
.plate--hero .plate__window { aspect-ratio: 2 / 1; }
.slides { position: absolute; inset: 0; }
.plate--hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.plate--hero .slide.is-active { opacity: 1; z-index: 1; }
.plate--hero .slide.is-drifting { animation: kenburns 9s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-1%, -.6%, 0); }
}
.slideshow-controls { display: none; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }
.js .slideshow-controls { display: flex; }
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px;
  background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--green);
  font: 500 .6875rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.sc-btn:hover { border-color: var(--gold); }
.sc-prev span, .sc-next span, .q-prev span, .q-next span, .reel__btn span { font: 400 1.75rem/1 var(--serif); }
.sc-pause__icon { width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sc-pause[aria-pressed="true"] .sc-pause__icon { width: 0; height: 0; border-left: 9px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.sc-dots { display: flex; gap: 2px; }
.sc-dots button { min-width: 40px; min-height: 44px; background: none; border: 0; cursor: pointer; font: 500 .75rem/1 var(--caps); letter-spacing: .08em; color: var(--ink-soft); }
.sc-dots button[aria-current="true"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--gold); }

.figure-note { display: grid; gap: 12px; justify-items: center; align-content: center; }
.figure-note__num { font: 500 clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem)/1.05 var(--caps); color: var(--green); letter-spacing: .02em; max-width: 220px; }
.figure-note__label { font-style: italic; font-size: .9375rem; line-height: 1.45; color: var(--ink-soft); max-width: 190px; text-wrap: balance; }

/* intro load sequence: hidden only while JS runs it */
html.intro .masthead,
html.intro .hero__mono,
html.intro .hero__kicker,
html.intro .hero__lede,
html.intro .hero__ctas,
html.intro .figure-note,
html.intro .slideshow-controls { opacity: 0; }
html.intro .hero__rule { transform: scaleX(0); }
html.intro .hero__title .line > span { transform: translateY(105%); opacity: 0; }
html.intro .plate--hero .plate__frame { clip-path: inset(50% 0 50% 0); }

/* =========================================================================
   ABOUT · an open catalogue spread: a white sheet with a centre fold, the
   matted photograph on the left page and the statements on the right.
   Static (stacked) by default; html.pin-mode pins it and turns the
   statements with the scroll.
   ========================================================================= */
.spread {
  position: relative; max-width: 1120px; margin: 0 auto; background: var(--paper);
  display: grid; box-shadow: 0 1px 0 var(--khaki-rule), 0 18px 40px -28px rgba(33, 37, 41, .35);
}
.spread::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--khaki-rule); pointer-events: none; z-index: 2; }
.spread__verso { padding: clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) 0; }
.spread__recto { padding: clamp(34px, 5vw, 56px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 56px); }

.plate--about { margin: 0 auto; max-width: 460px; }
/* a tipped-in plate: a toned mat on the white page, gold keyline round the photograph */
.plate--about .plate__frame { padding: 14px; background: #F3F0E7; border: 1px solid var(--khaki-rule); }
.plate--about .plate__window { aspect-ratio: 4 / 5; }
.plate--about img { object-position: 50% 15%; }

.about__head { text-align: center; }
.about__head .script-title { font-size: clamp(3rem, 2.3rem + 2.4vw, 4.25rem); }
.about__lede { margin: 14px auto 0; max-width: 460px; font: italic 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.45 var(--serif); color: var(--green); text-wrap: balance; }

.statements { margin-top: clamp(26px, 3.5vw, 40px); }
.statement { padding: 24px 0; border-top: 1px solid rgba(99, 85, 48, .22); }
.statement:last-child { padding-bottom: 0; }
.statement h3 { font: 400 clamp(1.3rem, 1.1rem + .7vw, 1.7rem)/1.3 var(--serif); }
.statement .rule--left { margin: 14px 0 14px; }
.statement p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.about__progress { display: none; }

@media (min-width: 768px) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  /* the fold: a gold hairline with a soft gutter shade on either side */
  .spread::after {
    content: ""; position: absolute; top: 10px; bottom: 10px; left: calc(100% / 2.08); width: 36px; margin-left: -18px; pointer-events: none;
    background: linear-gradient(90deg, rgba(220, 214, 197, 0) 0%, rgba(220, 214, 197, .38) 46%, var(--gold) 50%, rgba(220, 214, 197, .38) 54%, rgba(220, 214, 197, 0) 100%);
    background-size: 100% 100%; background-repeat: no-repeat;
  }
  .spread__verso { display: flex; align-items: flex-start; justify-content: center; padding: clamp(32px, 4vw, 52px); }
  .plate--about { position: sticky; top: calc(var(--hdr-mini) + 24px); width: 100%; }
}

/* pinned spread (1024px+, motion allowed) */
html.pin-mode .about { padding-top: 0; }
html.pin-mode .about__stage { height: 100vh; display: flex; align-items: center; padding-top: var(--hdr-mini); padding-bottom: 76px; }
html.pin-mode .about__stage > .wrap { --plate-h: clamp(340px, calc(100vh - var(--hdr-mini) - 186px), 600px); }
html.pin-mode .spread { align-items: center; }
html.pin-mode .spread__verso { align-items: center; padding: 28px clamp(28px, 3.5vw, 52px); }
html.pin-mode .plate--about { position: relative; top: auto; width: calc(var(--plate-h) * .8 + 30px); max-width: 100%; }
html.pin-mode .plate--about .plate__window { aspect-ratio: auto; height: var(--plate-h); }
html.pin-mode .plate--about img { position: absolute; left: 0; top: 0; height: 108%; object-position: 50% 0%; will-change: transform; }
html.pin-mode .spread__recto { padding: 32px clamp(32px, 4.5vw, 64px); }
html.pin-mode .about__lede { font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); }
html.pin-mode .about__progress {
  display: block; position: relative; width: 132px; height: 1px; margin: clamp(22px, 3.2vh, 36px) auto 0;
  background: rgba(168, 152, 110, .45);
}
.about__bar { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.about__progress i { position: absolute; top: -4px; width: 9px; height: 9px; margin-left: -4px; border: 1px solid var(--gold); background: var(--paper); transform: rotate(45deg); transition: background-color .3s, border-color .3s; }
.about__progress i:nth-of-type(1) { left: 0; }
.about__progress i:nth-of-type(2) { left: 50%; }
.about__progress i:nth-of-type(3) { left: 100%; }
.about__progress i.is-on { background: var(--green); border-color: var(--green); }
html.pin-mode .statements { display: grid; margin-top: clamp(14px, 2.4vh, 26px); }
html.pin-mode .statement { grid-area: 1 / 1; border-top: 0; padding: 0; text-align: center; }
html.pin-mode .statement .rule--left { margin: 16px auto; transform-origin: center; }
html.pin-mode .statement p { max-width: 460px; margin: 0 auto; }
html.pin-mode .statement + .statement { opacity: 0; }
@media (max-height: 760px) {
  html.pin-mode .about__head .script-title { font-size: 3rem; }
  html.pin-mode .statement p { font-size: 1rem; line-height: 1.65; }
}

/* the spread's rules draw as it arrives */
.js .about__head .rule { transform: scaleX(0); transition: transform 1.2s var(--ease) .25s; }
.js .spread.is-in .about__head .rule { transform: scaleX(1); }

/* quote band: words reveal as you scroll */
.quote-band { padding-top: var(--section); }
.pullquote { position: relative; max-width: 900px; margin: 0 auto; padding: 44px clamp(20px, 5vw, 64px) 34px; text-align: center; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.pullquote__mark { position: absolute; top: -.5em; left: 50%; transform: translateX(-50%); background: var(--khaki); padding: 0 14px; font: 400 3.5rem/1 var(--serif); color: var(--gold); }
.pullquote p { font: italic 400 clamp(1.35rem, 1rem + 1.4vw, 2.2rem)/1.45 var(--serif); color: var(--green); text-wrap: balance; }
.pullquote .w { opacity: .16; }
.pullquote footer { margin-top: 18px; font: 500 .75rem/1.5 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.pullquote cite { display: block; font: italic 400 .9375rem/1.5 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }

/* =========================================================================
   CONSIGNMENTS · pinned three-frame strip with progress
   ========================================================================= */
.work__body { display: grid; gap: clamp(40px, 6vw, 64px); }
.work__frame { display: grid; gap: 22px; }
.plate--work .plate__frame { padding: 12px; border-color: var(--paper); }
.plate--work .plate__window { aspect-ratio: 16 / 10; }
.work__caption { background: var(--paper); position: relative; padding: 28px clamp(22px, 4vw, 40px); }
.work__caption::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--khaki-rule); pointer-events: none; }
.work__caption h3 { font: 400 clamp(1.35rem, 1.1rem + .8vw, 1.75rem)/1.28 var(--serif); margin: 8px 0 16px; }
.work__caption .rule--left { margin-bottom: 16px; }
.work__caption p:last-child { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.work__progress { display: none; }
@media (min-width: 768px) {
  .work__frame { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 0; }
  .work__caption { margin-left: -40px; z-index: 1; }
}

html.pin-mode .consignments { padding-top: 0; }
html.pin-mode .work { height: 100vh; padding-top: var(--hdr-mini); }
html.pin-mode .work__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 12px; padding-bottom: 28px; }
html.pin-mode .work__head { margin-bottom: clamp(18px, 3vh, 34px); }
html.pin-mode .work__body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "plate cap"; gap: 0; align-items: center; }
html.pin-mode .work__frame { display: contents; }
html.pin-mode .plate--work { grid-area: plate; position: relative; }
html.pin-mode .plate--work .plate__window { aspect-ratio: auto; height: clamp(240px, calc(100vh - var(--hdr-mini) - 300px), 520px); }
html.pin-mode .work__frame + .work__frame .plate--work .plate__frame { background: transparent; border-color: transparent; }
html.pin-mode .work__frame:nth-child(2) .plate--work { z-index: 2; }
html.pin-mode .work__frame:nth-child(3) .plate--work { z-index: 3; }
html.pin-mode .work__caption { grid-area: cap; margin-left: -48px; z-index: 5; align-self: center; }
html.pin-mode .work__frame + .work__frame .work__caption { opacity: 0; visibility: hidden; }
html.pin-mode .work__progress { display: block; position: relative; width: 60.78%; height: 1px; margin-top: clamp(20px, 3.5vh, 36px); background: rgba(168, 152, 110, .45); }
.work__bar { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.work__progress i { position: absolute; top: -4px; left: var(--at, 0); width: 9px; height: 9px; margin-left: -4px; border: 1px solid var(--gold); background: var(--khaki); transform: rotate(45deg); transition: background-color .3s, border-color .3s; }
.work__progress i.is-on { background: var(--green); border-color: var(--green); }

/* lots: the catalogue's particulars, one ruled page */
.lots { position: relative; max-width: 1000px; margin: clamp(56px, 7vw, 96px) auto 0; background: var(--paper); padding: clamp(18px, 3vw, 34px) clamp(22px, 5vw, 64px); }
.lots::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--khaki-rule); pointer-events: none; }
.lot { position: relative; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px clamp(20px, 3vw, 40px); align-items: baseline; padding: 26px 0; }
.lot + .lot { border-top: 1px solid rgba(99, 85, 48, .22); }
.lot__title { font-size: 1.3rem; line-height: 1.3; }
.lot__text { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.lot__link {
  font: 500 .75rem/1.2 var(--caps); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; padding: 12px 4px 6px; border-bottom: 1px solid var(--gold); color: var(--green);
}
.lot__link span { display: inline-block; transition: transform .25s var(--ease); }
.lot__link:hover span, a:hover .lot__link span { transform: translateX(4px); }

/* =========================================================================
   HIGHLIGHTS
   ========================================================================= */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto clamp(40px, 5vw, 64px); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.figure { text-align: center; padding: 30px 20px; }
.figure + .figure { border-left: 1px solid rgba(99, 85, 48, .25); }
.figure__num { font: 500 clamp(2.2rem, 1.7rem + 1.8vw, 3.25rem)/1 var(--caps); color: var(--green); font-variant-numeric: tabular-nums lining-nums; }
.figure__label { margin: 12px auto 0; max-width: 230px; font-style: italic; font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }

.ledger { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) clamp(18px, 4vw, 56px); }
.ledger__tabs { display: none; justify-content: center; margin-bottom: 22px; border-bottom: 1px solid var(--gold); position: relative; }
.js .ledger__tabs { display: flex; }
.ledger__tabs [role="tab"] {
  min-width: 88px; min-height: 48px; padding: 0 18px; background: none; border: 0; cursor: pointer;
  font: 500 .9375rem/1 var(--caps); letter-spacing: .14em; color: var(--ink-soft);
  border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.ledger__tabs [role="tab"]:hover { color: var(--green); }
.ledger__tabs [role="tab"][aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); }
.ledger__panel + .ledger__panel { margin-top: 28px; }
.js .ledger__panel + .ledger__panel { margin-top: 0; }
.ledger__year { font: 500 .9375rem/1 var(--caps); letter-spacing: .14em; color: var(--green); padding-bottom: 10px; border-bottom: 1px solid var(--gold); }
.js .ledger__year { display: none; }
.js .ledger__panel:not([hidden]) { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ledger__table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger__table th { font: 500 .6875rem/1.4 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(99, 85, 48, .35); }
.ledger__table td { padding: 14px 14px; border-bottom: 1px solid rgba(99, 85, 48, .18); vertical-align: baseline; }
.ledger__table td:first-child { width: 26%; font-size: .9375rem; color: var(--ink-soft); }
.ledger__table td.res { width: 22%; font: 500 1rem/1.3 var(--caps); color: var(--green); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums lining-nums; }
.ledger__table tbody tr { transition: background-color .2s; }
.ledger__table tbody tr:hover { background: rgba(220, 214, 197, .3); }
.ledger__note { text-align: center; margin-top: 24px; }

/* =========================================================================
   GRADUATES · green band, scroll-driven horizontal reel
   ========================================================================= */
.band--green { background: var(--green); color: #fff; margin-top: var(--section); }
.graduates { padding: var(--section) 0; }
.section-head--on-green .script-title { color: #fff; }
.section-head--on-green .rule { background: var(--gold-300); }
.section-head--on-green .section-head__sub { color: var(--khaki); }
.band--green :focus-visible { outline-color: #fff; }
.reel__head .section-head { margin-bottom: clamp(24px, 3.5vw, 44px); }

.reel__viewport {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 22px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--gold-300) transparent;
}
.reel__viewport:focus-visible { outline-offset: -4px; }
.reel__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.grad { flex: 0 0 auto; width: clamp(260px, 78vw, 380px); scroll-snap-align: start; }
@media (min-width: 768px) { .grad { width: clamp(300px, 30vw, 380px); } }
.grad__card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); padding: 14px 14px 22px; color: var(--ink); }
.grad__card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--khaki-rule); pointer-events: none; z-index: 1; }
.grad__card .plate__frame { padding: 0; border: 0; }
.grad__card .plate__window { aspect-ratio: 4 / 3; }
.grad__card .plate__window img { transform: scale(1.12); }
.grad__card figcaption { text-align: center; margin-top: 18px; display: grid; gap: 4px; align-content: start; min-height: 92px; }
.grad__kind { font: 500 .625rem/1.5 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.grad__name { font: 600 1.0625rem/1.35 var(--caps); letter-spacing: .08em; color: var(--green); text-transform: uppercase; }
.grad__meta { font-style: italic; font-size: .9375rem; color: var(--ink-soft); }
.grad__end { justify-content: center; align-items: center; gap: 16px; text-align: center; text-decoration: none; min-height: 100%; padding: 40px 28px; background: transparent; border: 1px solid var(--gold-300); }
.grad__end::before { border-color: rgba(207, 196, 163, .4); }
.grad__end img { width: 72px; }
.grad__end-title { font: 700 3.2rem/1 var(--script); color: #fff; }
.grad__end .rule { background: var(--gold-300); }
.grad__end .lot__link { color: #fff; border-bottom-color: var(--gold-300); margin-top: 0; }
.grad__end:hover { background: var(--green-hover); }

.reel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; padding: 0 var(--gutter); }
.reel__btn { color: #fff; border-color: rgba(207, 196, 163, .55); }
.reel__btn:hover { background: #fff; color: var(--green); border-color: #fff; }
.reel__progress { position: relative; width: min(260px, 40vw); height: 1px; background: rgba(207, 196, 163, .4); }
.reel__progress span { position: absolute; inset: 0; background: var(--gold-300); transform: scaleX(0); transform-origin: left; }

html.pin-mode .graduates { padding: 0; }
html.pin-mode .reel { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hdr-mini); }
html.pin-mode .reel__viewport { overflow: hidden; scroll-snap-type: none; }
html.pin-mode .reel__track { will-change: transform; }
html.pin-mode .grad { width: clamp(300px, 25vw, 360px); }
@media (max-height: 820px) { html.pin-mode .grad { width: clamp(280px, 22vw, 320px); } html.pin-mode .reel__head .section-head { margin-bottom: 18px; } }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
#testimonials { padding-top: var(--section); }
.quotes { position: relative; text-align: center; }
.quotes__mark { display: block; font: 400 5rem/.6 var(--serif); color: var(--gold); margin-bottom: 18px; }
.quotes__stage { display: grid; }
.quote + .quote { margin-top: 40px; }
.js .quote + .quote { margin-top: 0; }
.js .quote { grid-area: 1 / 1; align-self: center; transition: opacity .5s var(--ease), visibility .5s; }
.js .quote:not(.is-active) { opacity: 0; visibility: hidden; }
.quote blockquote { margin: 0 auto; max-width: 760px; }
.quote blockquote p { font: italic 400 clamp(1.15rem, 1rem + .7vw, 1.5rem)/1.55 var(--serif); color: var(--ink); text-wrap: pretty; }
.quote figcaption { margin-top: 24px; display: grid; gap: 4px; }
.quote__name { font: 500 .875rem/1.4 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.quote__role { font-style: italic; font-size: .9375rem; color: var(--ink-soft); }
.quotes__controls { display: none; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.js .quotes__controls { display: flex; }
.q-dots { display: flex; gap: 2px; }
.q-dot { width: 28px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.q-dot::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background-color .2s; }
.q-dot[aria-current="true"]::before { background: var(--green); border-color: var(--green); }
.testimonials .center-link { margin-top: 14px; }

/* =========================================================================
   OUR TEAM
   ========================================================================= */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 920px; margin: 0 auto; }
.plate--portrait .plate__frame { padding: 12px; border-color: var(--paper); }
.plate--portrait { width: 100%; max-width: 360px; margin: 0 0 8px; }
.plate--portrait .plate__window { aspect-ratio: 4 / 5; }
.plate--portrait .plate__window img { position: absolute; left: 0; top: -6%; height: 112%; object-position: 50% 22%; }
.person--right .plate--portrait .plate__window img { object-position: 50% 12%; }
.person { text-align: center; display: grid; gap: 10px; justify-items: center; }
.person__role { font: 500 .6875rem/1.4 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); }
.person__name { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.2 var(--serif); }
.person__bio { max-width: 300px; font-size: .9875rem; color: var(--ink-soft); line-height: 1.65; }
.person .rule--short { margin: 6px auto; }
.person__contact { font-size: 1rem; line-height: 1.9; }
.person__contact a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.person__contact a:hover { border-bottom-color: var(--green); }

/* =========================================================================
   SALES CALENDAR
   ========================================================================= */
.calendar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sale-table { width: 100%; border-collapse: collapse; font-size: .9875rem; }
.sale-table thead th { font: 500 .6875rem/1.4 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); text-align: left; padding: 0 12px 10px 0; border-bottom: 1px solid var(--gold); }
.sale-table tbody th, .sale-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--khaki-rule); vertical-align: top; }
.sale-table tbody th { font-weight: 600; color: var(--green); width: 34%; }
.sale-table td { white-space: nowrap; }
.sale-table .yr { font-weight: 400; color: var(--ink-soft); }
.calendar__note { margin-top: 18px; font-size: .9875rem; color: var(--ink-soft); font-style: italic; }
.dispatches { border-left: 1px solid var(--khaki-rule); padding-left: clamp(24px, 3vw, 40px); }
.dispatches__title { font: 500 .75rem/1.4 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); padding-bottom: 12px; border-bottom: 1px solid var(--gold); }
.dispatch { padding: 18px 0; border-bottom: 1px solid var(--khaki-rule); }
.dispatch__kind { font-size: .8125rem; font-style: italic; color: var(--ink-soft); }
.dispatch h4 { font-size: 1.125rem; line-height: 1.4; margin: 4px 0 6px; }
.dispatch h4 a { text-decoration: none; }
.dispatch h4 a:hover { text-decoration: underline; }
.dispatch p:last-child { font-size: .9375rem; color: var(--ink-soft); line-height: 1.6; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.section--contact { padding-bottom: var(--section); }
.write { display: inline-block; }
.consult { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1100px; margin: 0 auto; }
.reply-card { position: relative; background: var(--paper); padding: clamp(36px, 4.5vw, 60px); }
.fl { position: absolute; background: var(--gold); pointer-events: none; }
.fl--t, .fl--b { left: 12px; right: 12px; height: 1px; }
.fl--l, .fl--r { top: 12px; bottom: 12px; width: 1px; }
.fl--t { top: 12px; transform-origin: left; }
.fl--r { right: 12px; transform-origin: top; }
.fl--b { bottom: 12px; transform-origin: right; }
.fl--l { left: 12px; transform-origin: bottom; }
.consult-form { position: relative; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font: 500 .6875rem/1.4 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #8F8566; border-radius: 0; background: #FCFBF8;
  font: 400 1rem/1.4 var(--serif); color: var(--ink); appearance: none; -webkit-appearance: none;
  transition: border-color .18s, background-color .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); background: #fff; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--green); border-bottom: 1px solid var(--green); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--error); background: #FBF4F2; }
.field__error { font-size: .875rem; color: var(--error); }
.field__error:empty { display: none; }
.form-errors { border: 1px solid var(--error); border-left-width: 4px; padding: 14px 18px; background: #FBF4F2; }
.form-errors ul { list-style: disc; padding-left: 20px; font-size: .9375rem; }
.form-errors a { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; margin-top: 4px; }
.form-success { position: relative; text-align: center; padding: 20px 0; }
.form-success:focus { outline: none; }
.form-success img { width: 84px; margin: 0 auto 14px; }
.form-success p { margin-bottom: 14px; font-size: 1.125rem; }
.form-success .form-success__title { font: 700 4.4rem/1 var(--script); color: var(--green); margin-bottom: 14px; }

.direct { text-align: center; display: grid; gap: 8px; justify-items: center; }
.direct__title { font: 500 .75rem/1.4 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.direct__phone a { font: 500 clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem)/1.2 var(--caps); text-decoration: none; letter-spacing: .04em; }
.direct .rule--short { margin: 12px auto 10px; }
.contact-list { width: 100%; max-width: 380px; border-top: 1px solid rgba(99, 85, 48, .3); text-align: left; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 12px 0; border-bottom: 1px solid rgba(99, 85, 48, .3); }
.cl-label { width: 74px; flex: none; font: 500 .6875rem/1.4 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.contact-list a, .contact-list span:not(.cl-label) { font-size: .9875rem; overflow-wrap: anywhere; }

/* =========================================================================
   FOOTER · Concept 2's credits, in Concept 1's palette
   ========================================================================= */
.footer { background: var(--green-deep); color: var(--khaki); text-align: center; padding: 64px 0 52px; }
.footer__crest { position: relative; height: 1px; background: var(--gold-300); margin-bottom: 46px; opacity: .85; }
.footer__crest img { position: absolute; left: 50%; top: -26px; width: 78px; transform: translateX(-50%); background: var(--green-deep); padding: 0 16px; box-sizing: content-box; }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; padding: 0 var(--gutter); font-size: .8125rem; line-height: 1.9; letter-spacing: .08em; text-transform: uppercase; }
.footer__contact a { color: #fff; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; text-decoration-color: var(--gold-300); }
.footer__people { margin-top: 4px; }
.footer__rule { display: block; width: 175px; height: 2px; background: var(--gold-300); margin: 26px auto; }
.footer__nav, .footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; padding: 0 var(--gutter); }
.footer__nav a, .footer__social a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--khaki); text-decoration: none;
}
.footer__nav a:hover, .footer__social a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-300); text-underline-offset: .3em; }
.footer__social { margin-top: 4px; }
.footer__social a { color: var(--gold-300); font-style: italic; text-transform: none; letter-spacing: .04em; font-size: .9375rem; }
.footer :focus-visible { outline-color: #fff; }

/* =========================================================================
   MOTION (JS only; content stays visible otherwise)
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .section-head .rule, .js .fleuron .rule, .js .person .rule--short { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .is-in .rule, .js .fleuron.is-in .rule, .js .person.is-in .rule--short { transform: scaleX(1); }
.js .contact__head .rule { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .rule { transform: none !important; }
  .plate--hero .slide.is-drifting { animation: none; }
  .pullquote .w { opacity: 1; }
  .grad__card .plate__window img { transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1099.98px) {
  .hero__stage { grid-template-columns: 1fr 1fr; }
  .plate--hero { grid-column: 1 / -1; grid-row: 1; }
  .figure-note--left { grid-column: 1; grid-row: 2; }
  .figure-note--right { grid-column: 2; grid-row: 2; }
}

@media (max-width: 900px) {
  .calendar { grid-template-columns: 1fr; }
  .dispatches { border-left: 0; padding-left: 0; }
  .consult { grid-template-columns: 1fr; }
  .direct { order: -1; }
}

@media (max-width: 767.98px) {
  body { font-size: 1rem; }

  .hero__kicker { font-size: .6875rem; }
  .plate--hero .plate__frame { padding: 6px; }
  .plate--hero .plate__window { aspect-ratio: 3 / 2; }
  .slideshow-controls { gap: 0; }
  .sc-dots button { min-width: 34px; }
  .sc-pause__label { display: none; }
  .figure-note { gap: 8px; }
  .figure-note__label { font-size: .875rem; }
  .hero__lede { font-size: 1.0625rem; }
  .btn-row .btn { width: 100%; }

  .plate--work .plate__frame { padding: 6px; }
  .work__caption { margin: -28px 12px 0; }

  .lot { grid-template-columns: 1fr; text-align: center; padding: 28px 0; }
  .lot__link { justify-self: center; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: 0; border-top: 1px solid rgba(99, 85, 48, .25); }
  .figure { padding: 24px 12px; }

  .ledger__tabs [role="tab"] { min-width: 0; flex: 1; padding: 0 6px; }
  .ledger__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger__table, .ledger__table tbody, .ledger__table tr, .ledger__table td { display: block; width: auto !important; }
  .ledger__table tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid rgba(99, 85, 48, .25); }
  .ledger__table td { padding: 0; border: 0; }
  .ledger__table td.res { grid-column: 1; grid-row: 1; white-space: normal; }
  .ledger__table td:first-child { grid-column: 2; grid-row: 1; text-align: right; align-self: center; font-size: .875rem; }
  .ledger__table td:last-child { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }

  .people { grid-template-columns: 1fr; gap: 56px; max-width: 360px; }

  .sale-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sale-table, .sale-table tbody, .sale-table tr, .sale-table th, .sale-table td { display: block; width: auto !important; }
  .sale-table tr { padding: 16px 0; border-bottom: 1px solid var(--khaki-rule); }
  .sale-table tbody th, .sale-table td { padding: 2px 0; border: 0; white-space: normal; }
  .sale-table tbody th { font-size: 1.0625rem; margin-bottom: 4px; }
  .sale-table td::before { content: attr(data-label) ": "; font: 500 .625rem/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-right: 4px; }

  .field-row { grid-template-columns: 1fr; }
  .reply-card { padding: 38px 24px; }
  .form-foot .btn { width: 100%; }

  .footer { padding-bottom: 48px; }
  .footer__contact { flex-direction: column; gap: 0; letter-spacing: .05em; }

}

@media (max-width: 380px) {
  .script-title .rule { min-width: 14px; }
}
