/* ═══════════════════════════════════════════════════════════════════════
   DesertPalisadesLots.com

   Two faces and one colour. Prata carries every headline, Cal Sans carries
   everything else, and #7C7262 — sampled off the client's design, where it
   is the headline colour, the button fill and the body ink all at once — is
   the only hue on the page that is not a photograph.

   Layout is one 12-column grid used at three scales, so a plate that bleeds
   off the left edge in the intro and one that sits inset in the triptych are
   the same system rather than two ad-hoc arrangements.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Faces ─────────────────────────────────────────────────────────────
   Both are `swap`: a headline that is invisible for 3s is worse than one
   that arrives in a fallback and settles. The fallback stacks are chosen
   for width, not for looks — Georgia is the closest common serif to Prata's
   proportions, so the reflow when Prata lands is small. */
@font-face {
  font-family: 'Prata';
  src: url('../fonts/prata-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cal Sans';
  src: url('../fonts/cal-sans-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cal Sans';
  src: url('../fonts/cal-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --accent: #7C7262;
  --ink: #7a7168;          /* sampled from the design's body copy — 4.8:1 on white */
  --ink-strong: #56504a;
  --paper: #ffffff;
  --paper-soft: #efeeea;   /* the footer's ground, sampled */
  --line: rgba(124, 114, 98, 0.22);

  --serif: 'Prata', Georgia, 'Times New Roman', serif;
  --sans: 'Cal Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* One gutter, one column width, one rhythm — quoted here so a section can
     reach for the page margin without re-deriving it. */
  --gutter: clamp(20px, 5vw, 96px);
  --maxw: 1680px;
  --rhythm: clamp(72px, 11vw, 190px);

  /* Copied verbatim from desert-palisades-sitemap.pages.dev so the two
     properties feel like one hand. Do not "tidy" this curve. */
  --btn-transition: .8s cubic-bezier(.785, .135, .15, .86);
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; }

/* A visible focus ring everywhere, in the page's own colour rather than the
   browser's blue. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s ease;
}
.skip:focus { transform: translateY(0); }

/* ── The display face ─────────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.04;
  /* Prata is drawn wide. At headline size its default fit is loose, and the
     design sets it tight; this is measured against the client's artwork, not
     a taste call. */
  letter-spacing: -0.012em;
  margin: 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────
   Ported from the sitemap app so the two properties share one button. The
   mechanic: a duplicate of the label sits in an absolutely-positioned mask
   clipped to nothing; on hover the clip opens upward while the resting label
   slides right and its arrow leaves, and the mask's arrow arrives from the
   left a beat later. The two arrows are why there are two copies of the
   label — one set moves out, the other moves in. */
.btn-hover { --btn-transition: .8s cubic-bezier(.785, .135, .15, .86); position: relative; overflow: hidden; cursor: pointer; }
.btn-hover__content { display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative; }
.btn-hover__text { transition: transform var(--btn-transition); }
.btn-hover__arrow { width: .65rem; height: auto; flex-shrink: 0; transition: transform var(--btn-transition); }
.btn-hover__content .btn-hover__arrow { transition-delay: 75ms; }
.btn-hover__arrow--mask {
  position: absolute; right: var(--btn-px); top: 50%;
  transform: translateX(calc(-1 * var(--btn-px) - 100%)) translateY(-50%);
  transition: transform var(--btn-transition); transition-delay: 0ms;
}
.btn-hover__mask {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  background: #000; color: #fff;
  clip-path: inset(100% 0 0 0);
  transition: clip-path var(--btn-transition);
  z-index: 2; pointer-events: none;
}
.btn-hover:hover .btn-hover__mask { clip-path: inset(0 0 0 0); }
.btn-hover:hover .btn-hover__text { transform: translateX(.4rem); }
.btn-hover:hover .btn-hover__content .btn-hover__arrow {
  transform: translateX(calc(100% + var(--btn-px))); transition-delay: 0ms;
}
.btn-hover:hover .btn-hover__arrow--mask { transform: translateX(0) translateY(-50%); transition-delay: 75ms; }

/* The shell. Padding lives on the two layers, never on the button, or the
   mask would inset itself and stop covering the label. */
.btn {
  --btn-px: 2rem;
  padding: 0;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.btn .btn-hover__content,
.btn .btn-hover__mask { padding: 1rem var(--btn-px); gap: 1.6rem; }

/* The design's fill: accent ground, white label; the wipe inverts it. */
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid .btn-hover__mask { background: #fff; color: var(--accent); }

/* Same button, smaller, for the header. */
.btn--pill { --btn-px: 1.3rem; background: var(--accent); color: #fff; }
.btn--pill .btn-hover__content,
.btn--pill .btn-hover__mask { padding: .72rem var(--btn-px); gap: 1.1rem; }
.btn--pill .btn-hover__mask { background: #fff; color: var(--accent); }
.btn--pill { font-size: 11.5px; }

/* On a touch screen there is no hover, so the wipe would never run and the
   arrow would sit half-off the button. Press gives the same gesture. */
@media (hover: none) {
  .btn-hover:active .btn-hover__mask { clip-path: inset(0 0 0 0); }
  .btn-hover:active .btn-hover__arrow--mask { transform: translateX(0) translateY(-50%); }
}

/* ── Header ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: clamp(14px, 1.8vw, 26px) var(--gutter);
  padding-top: max(clamp(14px, 1.8vw, 26px), env(safe-area-inset-top));
  color: #fff;
  transition: background .5s ease, color .5s ease, box-shadow .5s ease;
}
/* The wordmark is centred, as in the design, which is why the header is a
   three-column grid with an empty first cell rather than a flex row. */
.wordmark {
  grid-column: 2;
  text-decoration: none; text-align: center; line-height: 1.12;
  display: flex; flex-direction: column;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  text-indent: .34em;   /* tracking pads the right side only; this re-centres it */
}
.wordmark__l2 { letter-spacing: .28em; text-indent: .28em; }
.wordmark__slash { font-weight: 400; }
.nav > .btn { grid-column: 3; justify-self: end; }

.nav.is-solid {
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 1px 0 var(--line);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* svh, not vh: on iOS the URL bar makes vh taller than the visible page, so
     the headline sits under the fold on first paint and rises into view as you
     scroll — which reads as a bug. */
  height: 100svh; min-height: 560px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,16,12,.34) 0%, rgba(20,16,12,0) 26%),
    linear-gradient(to top, rgba(20,16,12,.52) 0%, rgba(20,16,12,0) 46%);
}
.hero__title {
  position: relative;
  margin: 0 0 clamp(52px, 8vh, 120px);
  padding: 0 var(--gutter);
  font-family: var(--serif); font-weight: 400;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.06; letter-spacing: -0.012em;
  text-shadow: 0 1px 34px rgba(20, 16, 12, .28);
}
/* Each line is a clipping window with the words inside it, so GSAP can slide
   the words up from behind their own edge rather than fading a whole block. */
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 54px; background: rgba(255,255,255,.3); overflow: hidden;
}
.hero__cue span { display: block; width: 100%; height: 40%; background: #fff; animation: cue 2.6s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(250%); } }

/* ── Page grid ────────────────────────────────────────────────────────── */
.intro, .ensemble, .choreo, .quote {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* The header is fixed, so anything scrolled to by id — the skip link, a
     shared #intro — would otherwise land underneath it with its first line
     hidden. Measured against the header's own tallest state. */
  scroll-margin-top: clamp(76px, 7vw, 104px);
}

/* ── Intro ────────────────────────────────────────────────────────────── */
.intro {
  padding-top: var(--rhythm);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 2.4vw, 44px);
}
.intro__head {
  grid-column: 1 / 8;
  font-size: clamp(34px, 4.6vw, 76px);
  margin-bottom: clamp(40px, 6vw, 96px);
}
.intro__side {
  grid-column: 7 / 13; grid-row: 2;
  max-width: 50ch;
}
.intro__cta { margin-top: clamp(28px, 4vw, 56px); display: flex; }

/* Runs off the left edge of the page: negative margin equal to the gutter,
   plus the gutter again in width, so the picture ends where the text column
   does and starts outside the page. */
.intro__wide {
  grid-column: 1 / 9; grid-row: 3;
  margin-left: calc(-1 * var(--gutter));
  margin-top: clamp(48px, 7vw, 120px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.intro__inset {
  grid-column: 10 / 13; grid-row: 3;
  align-self: end;
  margin-top: clamp(48px, 7vw, 120px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.intro__wide img, .intro__inset img { width: 100%; height: 100%; object-fit: cover; }
/* The wide plate is the hero photograph again — see the note in the markup.
   Framing it on the architecture rather than the foreground boulders is what
   makes the two crops read as two pictures. */
.intro__wide img { object-position: 50% 38%; }

/* ── Pull quote ───────────────────────────────────────────────────────── */
.quote { padding-block: var(--rhythm); }
.quote blockquote {
  /* 26ch is the measure that reproduces the design's four-line break — at 21ch
     it ran to five and the last line became a two-word orphan. */
  margin: 0 auto; max-width: 26ch;
  text-align: center;
  font-size: clamp(28px, 3.5vw, 58px);
  line-height: 1.12;
}

/* ── Full-bleed plates ────────────────────────────────────────────────── */
.bleed { width: 100%; overflow: hidden; aspect-ratio: 16 / 9; }
.bleed--tall { aspect-ratio: 16 / 8; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .bleed, .bleed--tall { aspect-ratio: 4 / 3; } }

/* ── Ensemble ─────────────────────────────────────────────────────────── */
.ensemble { padding-block: var(--rhythm); }
.ensemble__head {
  font-size: clamp(32px, 4.3vw, 70px);
  max-width: 16ch;
  margin-bottom: clamp(48px, 7vw, 110px);
}
.triptych {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.3vw, 22px);
}
.triptych figure { overflow: hidden; aspect-ratio: 3 / 4; }
.triptych img { width: 100%; height: 100%; object-fit: cover; }

/* ── Choreograph ──────────────────────────────────────────────────────── */
.choreo {
  padding-bottom: var(--rhythm);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 2.4vw, 44px);
  align-items: start;
}
/* Half the grid, not five twelfths: at 5/12 the headline broke as
   "Homes / choreograph / fluently with their / surroundings." and stranded a
   single word on the first line. Measured at 1440. */
.choreo__copy { grid-column: 1 / 7; padding-top: clamp(20px, 4vw, 70px); }
.choreo__copy h2 { font-size: clamp(32px, 4.1vw, 66px); margin-bottom: clamp(26px, 3vw, 44px); }
.choreo__copy p { max-width: 42ch; margin-bottom: clamp(30px, 4vw, 54px); }
.choreo__copy > div { display: flex; }
/* Runs off the right edge, mirroring the intro's plate. */
.choreo__plate {
  grid-column: 7 / 13;
  margin-right: calc(-1 * var(--gutter));
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.choreo__plate img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot {
  background: var(--paper-soft);
  color: var(--accent);
  padding: clamp(56px, 8vw, 118px) var(--gutter) clamp(34px, 4vw, 54px);
}
.foot__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid;
  /* The lead column carries a 62px headline that must break as
     "Local. Experienced. / Trusted." — at 1.25fr it was squeezed to three
     lines regardless of its own max-width, because the grid track, not the
     measure, was the binding constraint. */
  grid-template-columns: minmax(0, 1.9fr) auto minmax(0, .85fr) minmax(0, .8fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.foot__lead h2 {
  /* Sized to the track it sits in, not to the page. The design's footer
     headline is about 40px at a 1440 viewport; at 4vw it was 58px, which no
     amount of max-width could fit on two lines inside this column. */
  font-size: clamp(30px, 3vw, 50px);
  margin-bottom: clamp(28px, 3.4vw, 46px);
  /* "Local. Experienced. / Trusted." — two lines, as drawn. */
  max-width: 21ch;
}
.foot__lead .btn { --btn-px: 2.6rem; }
.foot__portrait { width: clamp(150px, 15vw, 224px); height: auto; }
.foot__card p { margin: 0 0 .85em; }
.foot__name { font-size: clamp(22px, 2.1vw, 32px); margin-bottom: .6em !important; }
.foot__card a { text-decoration: none; }
.foot__card a.u { text-decoration: underline; text-underline-offset: 3px; }
.foot__social { display: flex; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.foot__social svg { width: 21px; height: 21px; }
.foot__compass {
  font-size: clamp(22px, 2.3vw, 34px); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 .5em;
}
.foot__addr { font-size: 14px; line-height: 1.5; margin: 0; }

.foot__legal {
  max-width: var(--maxw); margin: clamp(48px, 7vw, 104px) auto 0;
  font-family: var(--serif);
  font-size: clamp(12px, .88vw, 14px); line-height: 1.5;
}
.foot__marks { display: flex; justify-content: center; gap: 6px; margin: clamp(30px, 4vw, 52px) 0 20px; }
.foot__marks svg { width: 30px; height: 30px; }
.foot__copy, .foot__powered { text-align: center; margin: 0 0 .5em; font-size: 14px; }
.foot__powered a { text-underline-offset: 3px; }

/* ── Meet Marc: slide-out ─────────────────────────────────────────────── */
.marc { position: fixed; inset: 0; z-index: 120; }
.marc[hidden] { display: none; }
.marc__scrim { position: absolute; inset: 0; background: rgba(28, 24, 20, .46); opacity: 0; }
.marc__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(620px, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 4vw, 64px);
  padding-top: max(clamp(28px, 4vw, 64px), env(safe-area-inset-top));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  box-shadow: -24px 0 80px rgba(28, 24, 20, .2);
}
.marc__x {
  position: absolute; top: clamp(18px, 2vw, 30px); right: clamp(18px, 2vw, 30px);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--accent);
  border: 1px solid var(--line);
  transition: background .25s ease, color .25s ease;
}
.marc__x:hover { background: var(--accent); color: #fff; }
.marc__x svg { width: 18px; height: 18px; }
.marc__portrait { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; margin-bottom: 28px; }
.marc__eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #a8907a; margin-bottom: .8em;
}
.marc__title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: clamp(22px, 3vw, 34px); }
.marc__body { max-width: 46ch; }
.marc__facts {
  margin: clamp(30px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--line);
}
.marc__facts > div {
  display: grid; grid-template-columns: 116px 1fr; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.marc__facts dt {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); padding-top: 3px;
}
.marc__facts dd { margin: 0; font-size: 15px; }
.marc__contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(26px, 3vw, 38px); }
.marc__contact a { color: var(--accent); text-underline-offset: 3px; }

/* ── Availability: fullscreen overlay ─────────────────────────────────── */
.avail {
  position: fixed; inset: 0; z-index: 140;
  background: #0d0c0b;
  display: flex; flex-direction: column;
  opacity: 0;
}
.avail[hidden] { display: none; }
.avail__bar {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #0d0c0b; color: rgba(255,255,255,.82);
}
.avail__label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.avail__x {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  transition: background .25s ease, color .25s ease;
}
.avail__x:hover { background: #fff; color: #0d0c0b; }
.avail__x svg { width: 18px; height: 18px; }
.avail__frame { flex: 1 1 auto; position: relative; }
.avail__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Three dots, because the sitemap is a large application and the overlay is
   otherwise a black rectangle for a second or two. */
.avail__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.avail__loading span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55);
  animation: dots 1.1s ease-in-out infinite;
}
.avail__loading span:nth-child(2) { animation-delay: .14s; }
.avail__loading span:nth-child(3) { animation-delay: .28s; }
@keyframes dots { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }

/* Scrolling the page behind a fullscreen overlay is disorienting, and on iOS
   it scrolls the page instead of the frame. */
body.is-locked { overflow: hidden; }

/* ── Reveal: the resting state ────────────────────────────────────────
   Set in CSS rather than by the script so nothing is visible for a frame
   before GSAP runs. site.js clears it on browsers that will not animate. */
[data-reveal], [data-lines] .line > span, .hero__title .line > span { will-change: transform, opacity; }
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal-img] > img { transform: scale(1.14); }
html.js [data-reveal-img] { clip-path: inset(0 0 100% 0); }

/* ── Narrower ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .intro__head { grid-column: 1 / 11; }
  .intro__side { grid-column: 1 / 11; grid-row: 2; }
  .intro__wide { grid-column: 1 / 11; grid-row: 3; }
  .intro__inset { grid-column: 6 / 13; grid-row: 4; margin-top: clamp(16px, 2vw, 30px); margin-right: calc(-1 * var(--gutter)); }
  .choreo__copy { grid-column: 1 / 13; }
  .choreo__plate { grid-column: 1 / 13; margin-top: clamp(36px, 5vw, 60px); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__lead { grid-column: 1 / 3; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; }
  .wordmark { grid-column: 1; text-align: left; align-items: flex-start; }
  .nav > .btn { grid-column: 2; }
  .intro__head, .intro__side, .intro__wide, .intro__inset,
  .choreo__copy, .choreo__plate { grid-column: 1 / 13; }
  .intro__wide { aspect-ratio: 4 / 3; }
  .intro__inset { margin-left: calc(-1 * var(--gutter)); aspect-ratio: 3 / 2; }
  .quote blockquote { max-width: 18ch; }
  /* Three portrait crops side by side on a phone are three slivers. */
  .triptych { grid-template-columns: 1fr; }
  .triptych figure { aspect-ratio: 4 / 3; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__lead, .foot__portrait, .foot__card, .foot__brand { grid-column: 1; }
  .foot__legal { text-align: left; }
  .marc__facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Motion off ───────────────────────────────────────────────────────
   Everything the script animates also has a resting state that is simply
   "arrived", so honouring the preference is a matter of not starting. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal-img] { clip-path: none; }
  html.js [data-reveal-img] > img { transform: none; }
  .hero__cue { display: none; }
  .avail__loading span { animation: none; }
  * { transition-duration: .01ms !important; }
}
