/* ════════════════════════════════════════════════════════════════════
   RAPHAEL LOQUELLANO — v3 homepage, direction "The Commission"
   Set like a well-edited magazine: warm paper, ink type, the work at
   true scale, and one espresso "screening" chapter for film. The same
   three faces as v2 (Fraunces said, PP Neue Montreal read, mono for
   plate data) so the system extends rather than replaces.
   ════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'PP Neue Montreal'; src: url('fonts/PPNeueMontreal-Book.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'PP Neue Montreal'; src: url('fonts/PPNeueMontreal-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'PP Neue Montreal'; src: url('fonts/PPNeueMontreal-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --paper:   #F3EFE7;   /* the page: warm, never white */
    --paper-2: #E8E1D5;   /* image placeholders, row hover */
    --ink:     #17120E;   /* espresso ink, not black */
    --ink-2:   rgba(23,18,14,0.74);
    --ink-3:   rgba(23,18,14,0.6);   /* ≥4.5:1 on paper at label size */
    --rule:    rgba(23,18,14,0.14);
    --sage:    #56633F;   /* the brand sage, deepened to read on paper */
    --espresso:#140F0B;   /* the screening room, kept from v2 */
    --light:   #F2EEE6;
    --light-2: rgba(242,238,230,0.72);

    --serif: 'PP Neue Montreal', system-ui, -apple-system, sans-serif;  /* one family: Fraunces retired 2026-11-01 */
    --sans:  'PP Neue Montreal', system-ui, -apple-system, sans-serif;
    --mono:  'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --ease:  cubic-bezier(0.16, 1, 0.3, 1);

    --gutter: clamp(20px, 3.9vw, 56px);
    --gap:    clamp(12px, 1.6vw, 24px);
    --max:    1600px;
    /* four spacing tiers, nothing in between */
    --s1: clamp(12px, 1.2vw, 18px);
    --s2: clamp(24px, 2.8vw, 40px);
    --s3: clamp(56px, 7vw, 112px);
    --s4: clamp(104px, 13vw, 200px);
    --mast: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--sage); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 10px; z-index: 99; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }

main, .mast-in, .colophon { max-width: var(--max); margin-inline: auto; }
main > section { padding-inline: var(--gutter); }

/* ── TYPE ─────────────────────────────────────────────────────────── */
.display { font: 300 clamp(44px, 6.4vw, 110px)/0.95 var(--serif); letter-spacing: -0.035em; text-wrap: balance; font-variation-settings: 'opsz' 144; }
.display-2 { font: 300 clamp(34px, 4vw, 66px)/1 var(--serif); letter-spacing: -0.03em; text-wrap: balance; font-variation-settings: 'opsz' 144; }
.display em, .display-2 em { font-style: italic; color: var(--sage); }
.title { font: 300 clamp(26px, 2.25vw, 38px)/1.08 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.title a:hover { background-size: 100% 1px; }
.label, .meta, .cap { font: 400 11px/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.meta { letter-spacing: 0.08em; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; max-width: 31ch; text-wrap: pretty; }
.note { color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.cap { display: flex; justify-content: space-between; gap: var(--s1); padding-top: 10px; }

/* links: underlines, never pills */
.tlink { display: inline-flex; align-items: baseline; gap: .5em; font-weight: 500; font-size: 14px; letter-spacing: .01em; padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: gap .35s var(--ease); }
.tlink::after { content: '→'; font-weight: 400; }
.tlink:hover { gap: .9em; }
.tlink-quiet { border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.tlink-quiet:hover { color: var(--ink); border-color: var(--ink); }

/* ── MASTHEAD ─────────────────────────────────────────────────────── */
.mast { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .4s; }
.mast.is-stuck { border-color: var(--rule); }
.mast-in { height: var(--mast); padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.mark { display: flex; align-items: baseline; gap: 14px; font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.mark-sub { font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 14px; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover { border-color: var(--ink); }
.nav .nav-cta { border-color: var(--ink); font-weight: 500; }
.menu-btn { display: none; font-size: 14px; font-weight: 500; padding: 12px 0 12px 16px; }
.menu { position: fixed; inset: var(--mast) 0 0 0; background: var(--paper); padding: var(--s2) var(--gutter); display: flex; flex-direction: column; gap: 4px; }
.menu[hidden] { display: none; }
.menu a { font: 300 44px/1.15 var(--serif); letter-spacing: -0.025em; padding: 6px 0; }
.menu .label { margin-top: auto; }

/* ── OPENING ──────────────────────────────────────────────────────── */
.open { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); padding-top: var(--s2); }
.open-text { grid-column: 1 / 8; display: flex; flex-direction: column; gap: var(--s3); padding-bottom: 28px; }
.open-foot { margin-top: auto; }
.open-kicker { line-height: 1.7; }
.open h1 { font-size: clamp(56px, 7.3vw, 128px); max-width: 7.4em; padding-right: var(--s2); }
.open-foot { display: grid; gap: var(--s2); }
.open-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.open-plate { grid-column: 8 / 13; margin-right: calc(-1 * var(--gutter)); }
.plate-img { background: var(--paper-2); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--mast) - var(--s2) - 42px); overflow: hidden; }
.plate-img img { height: 100%; object-fit: cover; }
.open-plate .cap { padding-right: var(--gutter); }

/* the page's one signature: the photograph is unveiled like a print
   lifted out of the tray. Pure CSS, so it never waits on a script. */
@media (prefers-reduced-motion: no-preference) {
    .plate-img { position: relative; }
    .plate-img::after { content: ''; position: absolute; inset: 0; background: var(--paper); transform-origin: 50% 0; animation: lift 1.4s var(--ease) .15s both; }
    .plate-img img { animation: settle 2.2s var(--ease) .15s both; }
}
@keyframes lift { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* ── SECTION HEADS ────────────────────────────────────────────────── */
.sect-head { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--rule); margin-bottom: var(--s3); }
.sect-head .label { color: var(--ink); }

/* ── THE WELL: five features, five compositions ──────────────────── */
.well { padding-top: var(--s4); }
.feat { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); margin-bottom: var(--s4); }
.feat img, .feat video { background: var(--paper-2); }
.feat-text { display: grid; gap: 12px; align-content: start; }
.feat-text .title { margin-top: 4px; }
.feat-text .tlink { justify-self: start; margin-top: 10px; }

/* 01 — wide lead, small upright plate, text under it */
.feat-a .feat-lead { grid-column: 1 / 9; grid-row: 1 / 3; }
.feat-a .feat-lead img { aspect-ratio: 3 / 2; object-fit: cover; }
.feat-a .feat-aside { grid-column: 10 / 13; grid-row: 1; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 52%; }
.feat-a .feat-text { grid-column: 10 / 13; grid-row: 2; align-self: end; }

/* 02 — the screening room: film and stills from one shoot, side by side */
.feat-film { display: block; background: var(--espresso); color: var(--light); margin-inline: calc(-1 * var(--gutter)); padding: var(--s3) var(--gutter); }
.film-in { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); max-width: var(--max); margin-inline: auto; }
.film-reel { grid-column: 2 / 6; grid-row: 1 / 3; }
.film-reel video { aspect-ratio: 4 / 5; object-fit: cover; background: #1C1610; }
.film-still { grid-column: 7 / 13; grid-row: 1; margin-top: var(--s3); }
.film-still img { aspect-ratio: 3 / 2; object-fit: cover; background: #1C1610; }
.film-text { grid-column: 7 / 11; grid-row: 2; padding-top: var(--s2); }
.feat-film .label, .feat-film .meta, .cap-dark { color: rgba(242,238,230,0.62); }
.feat-film .note { color: var(--light-2); }

/* 03 — night: an upright plate against a wide room, staggered */
.feat-b .feat-tall { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 4 / 5; object-fit: cover; }
.feat-b .feat-wide { grid-column: 6 / 13; grid-row: 1; margin-top: var(--s3); }
.feat-b .feat-wide img { aspect-ratio: 5 / 4; object-fit: cover; }
.feat-b .feat-text { grid-column: 6 / 10; grid-row: 2; padding-top: var(--s2); }

/* 04 — scale: one frame across the page, text set as a running line */
.feat-c .feat-full { grid-column: 1 / 13; margin-inline: calc(-1 * var(--gutter)); }
.feat-c .feat-full img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; }
.feat-text-row { grid-column: 1 / 13; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); padding-top: var(--s1); }
.feat-text-row .label { grid-column: 1 / 3; padding-top: 10px; }
.feat-text-row .title { grid-column: 3 / 7; margin: 0; }
.feat-text-row .note { grid-column: 7 / 10; }
.feat-text-row .meta { grid-column: 10 / 13; padding-top: 6px; }
.feat-text-row .tlink { grid-column: 10 / 13; grid-row: 2; margin-top: 0; }

/* 05 — earth: text first, two uprights stepping down */
.feat-d .feat-text { grid-column: 1 / 5; align-self: end; }
.feat-d .pair-1 { grid-column: 6 / 9; aspect-ratio: 3 / 4; object-fit: cover; }
.feat-d .pair-2 { grid-column: 10 / 13; aspect-ratio: 3 / 4; object-fit: cover; margin-top: var(--s3); }

/* ── CONTENTS ─────────────────────────────────────────────────────── */
.contents { padding-top: var(--s1); margin-bottom: var(--s4); }
.contents .sect-head { margin-bottom: var(--s1); }
.idx { list-style: none; }
.idx a { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: baseline; padding: 18px 0 16px; border-bottom: 1px solid var(--rule); transition: background-color .3s; }
.idx a:hover { background: var(--paper-2); }
.i-n, .i-d, .i-y { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.i-n { grid-column: 1 / 2; }
.i-c { grid-column: 2 / 5; font-size: 14px; color: var(--ink-2); }
.i-t { grid-column: 5 / 10; font: 300 clamp(20px, 1.75vw, 27px)/1.2 var(--serif); letter-spacing: -0.015em; transition: transform .45s var(--ease); }
.idx a:hover .i-t { transform: translateX(10px); }
.i-d { grid-column: 10 / 12; }
.i-y { grid-column: 12 / 13; text-align: right; }

/* ── WAYS IN ──────────────────────────────────────────────────────── */
.ways { margin-bottom: var(--s4); }
.ways-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; padding-top: 14px; border-top: 1px solid var(--rule); margin-bottom: var(--s3); }
.ways-head h2 { grid-column: 1 / 8; padding-top: var(--s2); }
.ways-lede { grid-column: 9 / 13; color: var(--ink-2); max-width: 38ch; text-wrap: pretty; }
.ways-list { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); row-gap: var(--s3); }
.ways-list > div { grid-column: span 6; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); column-gap: var(--gap); border-top: 1px solid var(--rule); padding-top: var(--s1); }
.ways-list dt { grid-column: 1 / 3; font: 300 clamp(20px, 1.6vw, 25px)/1.15 var(--serif); letter-spacing: -0.015em; }
.ways-list dd { grid-column: 3 / 7; color: var(--ink-2); max-width: 36ch; display: grid; gap: 14px; justify-items: start; }
.ways-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: var(--s3); color: var(--ink); }
.ways-foot span::before { content: '—\00a0'; color: var(--ink-3); }
.ways-foot a { margin-left: auto; }

/* ── OFF THE CLOCK ────────────────────────────────────────────────── */
.own { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: center; margin-bottom: var(--s4); }
.own-plate { grid-column: 2 / 6; }
.own-plate img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.own-text { grid-column: 7 / 12; display: grid; gap: var(--s1); justify-items: start; }
.own-text .display-2 { margin-bottom: 6px; }

/* ── CLIENTS ──────────────────────────────────────────────────────── */
.clients { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); padding-top: 14px; border-top: 1px solid var(--rule); margin-bottom: var(--s4); }
.clients h2 { grid-column: 1 / 13; color: var(--ink); margin-bottom: var(--s2); }
.marks { grid-column: 1 / 13; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border-left: 1px solid var(--rule); }
.marks li { display: grid; place-items: center; height: clamp(96px, 9vw, 132px); padding: 0 clamp(12px, 1.6vw, 24px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.marks li:nth-child(-n+7) { border-top: 1px solid var(--rule); }
.marks img { width: auto; height: var(--h); max-width: 100%; object-fit: contain; opacity: .86; mix-blend-mode: multiply; }
.cl-note { grid-column: 1 / 13; margin-top: var(--s1); }

/* ── CLOSE ────────────────────────────────────────────────────────── */
.close { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; padding-bottom: var(--s3); }
.close h2 { grid-column: 1 / 8; }
.close-side { grid-column: 9 / 13; display: grid; gap: var(--s2); justify-items: start; }
.cta { display: inline-flex; align-items: baseline; gap: .6em; font: 300 clamp(26px, 2.3vw, 36px)/1.1 var(--serif); letter-spacing: -0.02em; padding-bottom: 6px; border-bottom: 1px solid var(--ink); transition: gap .4s var(--ease); }
.cta::after { content: '→'; font-family: var(--sans); font-size: .7em; }
.cta:hover { gap: 1em; }
.close-alt { display: flex; gap: 24px; flex-wrap: wrap; }
.close-alt a { color: var(--ink); border-bottom: 1px solid var(--rule); }

.colophon { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 18px var(--gutter) 28px; border-top: 1px solid var(--rule); }

/* ── QUIET REVEAL: images only, once, never text ─────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
    .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ════ TABLET 768–1099: same structure, fewer columns of air ═══════ */
@media (max-width: 1099px) {
    .open-text { grid-column: 1 / 8; }
    .open-plate { grid-column: 8 / 13; }
    .feat-a .feat-lead { grid-column: 1 / 13; grid-row: 1; }
    .feat-a .feat-aside { grid-column: 1 / 5; grid-row: 2; margin-top: var(--s2); }
    .feat-a .feat-text { grid-column: 6 / 12; grid-row: 2; align-self: end; }
    .film-reel { grid-column: 1 / 6; }
    .film-still { grid-column: 7 / 13; }
    .film-text { grid-column: 7 / 13; }
    .feat-b .feat-tall { grid-column: 1 / 6; }
    .feat-b .feat-wide { grid-column: 7 / 13; }
    .feat-b .feat-text { grid-column: 7 / 13; }
    .feat-text-row .label { grid-column: 1 / 13; }
    .feat-text-row .title { grid-column: 1 / 7; }
    .feat-text-row .note { grid-column: 7 / 13; }
    .feat-text-row .meta { grid-column: 1 / 7; grid-row: 3; }
    .feat-text-row .tlink { grid-column: 7 / 13; grid-row: 3; }
    .feat-d .feat-text { grid-column: 1 / 13; margin-bottom: var(--s2); }
    .feat-d .pair-1 { grid-column: 1 / 7; }
    .feat-d .pair-2 { grid-column: 7 / 13; }
    .i-c { grid-column: 2 / 5; }
    .i-t { grid-column: 5 / 11; }
    .i-d { display: none; }
    .i-y { grid-column: 11 / 13; }
    .ways-list > div { grid-column: 1 / 13; }
    .ways-head h2 { grid-column: 1 / 13; }
    .ways-lede { grid-column: 1 / 9; padding-top: var(--s2); }
    .own-plate { grid-column: 1 / 6; }
    .own-text { grid-column: 7 / 13; }
    .marks { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .marks li:nth-child(-n+7) { border-top: 0; }
    .marks li:nth-child(-n+5) { border-top: 1px solid var(--rule); }
    .close h2 { grid-column: 1 / 13; margin-bottom: var(--s2); }
    .close-side { grid-column: 1 / 9; }
    .open-plate .cap, .own-plate .cap { flex-direction: column; gap: 2px; }
}

/* ════ PHONE <768: art-directed, not stacked ════════════════════════ */
@media (max-width: 767px) {
    :root { --mast: 56px; }
    .nav { display: none; }
    .menu-btn { display: block; }
    .mark-sub { display: none; }

    /* type first, like a cover line; then the plate runs edge to edge */
    .open { display: flex; flex-direction: column; padding-top: var(--s1); }
    .open-text { display: contents; }
    .open-kicker { order: 1; } .open h1 { order: 2; } .open-plate { order: 3; } .open-foot { order: 4; }
    .open-kicker { margin-bottom: var(--s2); }
    .open h1 { font-size: clamp(42px, 12.6vw, 60px); padding-right: 0; margin-bottom: var(--s2); }
    .open-plate { margin: 0 calc(-1 * var(--gutter)); }
    .plate-img { max-height: none; aspect-ratio: 4 / 5; }
    .open-plate .cap { padding-inline: var(--gutter); }
    .open-foot { margin-top: var(--s2); }
    .lede { max-width: none; }
    .cap { flex-direction: column; gap: 2px; }

    .well { padding-top: var(--s3); }
    .sect-head { margin-bottom: var(--s2); }
    .feat { display: block; margin-bottom: var(--s3); }
    .feat-text { margin-top: var(--s1); }

    /* 01: lead bleeds, the upright plate overlaps its lower edge */
    .feat-a .feat-lead { display: block; margin-inline: calc(-1 * var(--gutter)); }
    .feat-a .feat-lead img { aspect-ratio: 4 / 3; }
    .feat-a .feat-aside { width: 46%; margin: -10% 0 0 auto; position: relative; border: 6px solid var(--paper); border-right: 0; border-bottom: 0; }

    /* 02: reel and still offset, so they read as one shoot */
    .feat-film { padding: var(--s3) var(--gutter); }
    .film-in { display: block; }
    .film-reel { width: 78%; }
    .film-still { width: 60%; margin: -12% 0 0 auto; position: relative; }
    .film-still img { border: 6px solid var(--espresso); border-right: 0; border-bottom: 0; aspect-ratio: 4 / 5; }
    .film-text { padding-top: var(--s2); }

    /* 03: the room bleeds first, the upright sits in from the left */
    .feat-b { display: flex; flex-direction: column; }
    .feat-b .feat-wide { order: 1; margin: 0 calc(-1 * var(--gutter)); }
    .feat-b .feat-tall { order: 2; width: 58%; margin-top: var(--s1); }
    .feat-b .feat-text { order: 3; }

    .feat-c .feat-full img { aspect-ratio: 4 / 3; }
    .feat-text-row { display: grid; grid-template-columns: 1fr; }
    .feat-text-row > * { grid-column: 1 / -1 !important; grid-row: auto !important; }

    /* 05: two uprights, the second a step lower */
    .feat-d { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
    .feat-d .feat-text { grid-column: 1 / 3; margin: 0 0 var(--s2); }
    .feat-d .pair-1 { grid-column: 1; }
    .feat-d .pair-2 { grid-column: 2; margin-top: 30%; }

    .contents { margin-bottom: var(--s3); }
    .idx a { grid-template-columns: 28px 1fr auto; row-gap: 4px; padding: 14px 0; }
    .i-n { grid-column: 1; }
    .i-c { grid-column: 2; font-size: 13px; }
    .i-y { grid-column: 3; grid-row: 1; }
    .i-t { grid-column: 2 / 4; font-size: 21px; }

    .ways { margin-bottom: var(--s3); }
    .ways-list { row-gap: var(--s2); }
    .ways-list > div { display: block; }
    .ways-list dt { margin-bottom: 10px; }
    .ways-foot a { margin-left: 0; }

    .own { display: block; margin-bottom: var(--s3); }
    .own-plate { width: 86%; margin-bottom: var(--s2); }
    .clients { display: block; margin-bottom: var(--s3); }
    /* phones: 13 marks never fill a grid evenly, so they set as a centred
       run of type-height marks instead: no orphaned cell */
    .marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 30px; border: 0; padding: var(--s1) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .marks li, .marks li:nth-child(n) { height: 44px; padding: 0; border: 0; }
    .marks img { height: calc(var(--h) * .62); max-width: 120px; }

    .close { display: block; }
    .close h2 { font-size: clamp(40px, 11.5vw, 56px); }
    .colophon { flex-direction: column; }
}

/* ── one family, set hard (2026-11-01) ──────────────────────────────
   Neue Montreal carries everything. Headlines in Medium, tight and
   upright; the accent is the sage ink, never an italic. */
.display { font-weight: 500; font-size: clamp(44px, 6.6vw, 116px); line-height: .92; letter-spacing: -0.045em; font-variation-settings: normal; }
.display-2 { font-weight: 500; line-height: .96; letter-spacing: -0.04em; font-variation-settings: normal; }
.display em, .display-2 em { font-style: normal; }
.title, .i-t, .ways-list dt, .cta, .menu a { font-weight: 500; letter-spacing: -0.025em; }
.lede { font-weight: 400; }

/* ── THE OPENING, v4 (2026-11-01): the first screen is the impression ──
   Full viewport, espresso field, the photograph full height to the edge.
   Phones: the photograph is the screen and the type sits on it. The
   masthead rides over it in light ink until the opening scrolls away. */
.open { position: relative; display: flex; width: 100vw; margin-left: calc(50% - 50vw); margin-top: calc(-1 * var(--mast));
        min-height: max(100svh, 640px); padding: calc(var(--mast) + var(--s2)) var(--gutter) var(--s2);
        background: var(--espresso); color: var(--light); overflow: hidden; }
.open-plate { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; margin: 0; background: #1C1610; }
.open-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.open-text { position: relative; z-index: 1; width: 50%; display: flex; flex-direction: column; gap: var(--s3); padding: 0 var(--s2) 0 0; }
.open-foot { margin-top: auto; }
.open h1 { font-size: clamp(54px, 6.2vw, 120px); max-width: 7.6em; padding-right: 0; color: var(--light); }
.open h1 em { color: #A9B58B; }
.open .label, .open .cap { color: var(--light-2); }
.open .lede { color: var(--light-2); max-width: 34ch; }
.open .tlink { color: var(--light); }
.open-cap { position: absolute; z-index: 1; right: var(--gutter); bottom: var(--s1); padding: 0; color: rgba(242,238,230,.86) !important; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: no-preference) {
    .open-plate img { animation: settle 2.4s var(--ease) both; }
}
@media (max-width: 760px) {
    .open { flex-direction: column; justify-content: flex-end; min-height: max(100svh, 600px); padding-bottom: var(--s2); }
    .open-plate { width: 100%; margin: 0; order: 0; }
    .open-plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,11,.94) 0%, rgba(20,15,11,.78) 38%, rgba(20,15,11,.12) 68%, rgba(20,15,11,.45) 100%); }
    .open-text { display: flex; width: 100%; gap: var(--s2); padding: 0; }
    .open-kicker { order: 0; margin-bottom: 0; } .open h1 { order: 0; margin-bottom: 0; font-size: clamp(42px, 12.4vw, 60px); }
    .open-foot { order: 0; margin-top: 0; }
    .open-cap { top: calc(var(--mast) + 8px); bottom: auto; right: var(--gutter); }
}

/* masthead over the opening */
.mast { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .4s; }
.js .mast.on-dark { background: transparent; color: var(--light); border-color: transparent; }
.js .mast.on-dark .mark-sub { color: var(--light-2); }
.js .mast.on-dark .nav a:hover, .js .mast.on-dark .nav .nav-cta { border-color: var(--light); }
@media (max-width: 760px) {
    /* phones: the photograph owns the top of the screen, clear of type; the words sit on espresso below */
    .open { justify-content: flex-start; gap: var(--s2); padding-top: 0; }
    .open-plate { position: relative; inset: auto; width: calc(100% + 2 * var(--gutter)); height: 58svh; min-height: 360px; margin: 0 calc(-1 * var(--gutter)); flex: none; }
    .open-plate img { object-position: 50% 38%; }
    .open-plate::after { background: linear-gradient(to bottom, rgba(20,15,11,.55) 0%, rgba(20,15,11,0) 22%, rgba(20,15,11,0) 78%, var(--espresso) 100%); }
    .open-text { gap: var(--s1); }
    .open h1 { font-size: clamp(40px, 11.6vw, 58px); }
    .open .lede { margin-top: var(--s1); }
}

/* ════════════════════════════════════════════════════════════════════
   v5 (2026-11-01): the production-company model. The work is the page:
   full-screen plates, edge to edge, a hairline between them, client and
   title set small on the picture. No collage, no paragraphs, no voids.
   ════════════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* opening: the photograph is the whole screen, the line sits on it */
.open { padding: calc(var(--mast) + var(--s2)) var(--gutter) var(--s3); align-items: flex-end; }
.open-plate { width: 100%; }
.open-plate img { object-position: 50% 42%; }
.open-plate::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20,15,11,.88) 0%, rgba(20,15,11,.5) 32%, rgba(20,15,11,0) 62%),
                linear-gradient(to bottom, rgba(20,15,11,.5) 0%, rgba(20,15,11,0) 18%); }
.open-text { width: 100%; max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; gap: var(--s2) var(--gap); }
.open-kicker { grid-column: 1 / 13; }
.open h1 { grid-column: 1 / 10; font-size: clamp(54px, 7vw, 132px); max-width: none; }
.open-foot { grid-column: 10 / 13; margin: 0; align-self: end; gap: var(--s1); }
.open .lede { font-size: 16px; }

/* the plates */
.well, .own { padding: 0; margin: 0; }
.feat, .feat-plate { position: relative; display: block; width: 100vw; margin: 0 0 4px calc(50% - 50vw); height: min(100svh, 62.5vw); min-height: 520px; overflow: hidden; background: var(--espresso); color: var(--light); }
.feat-img, .feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feat-img img { object-fit: cover; transition: transform 1.6s var(--ease); }
.feat:hover .feat-img img, .feat-plate:hover .feat-img img { transform: scale(1.025); }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,11,.72) 0%, rgba(20,15,11,.18) 30%, rgba(20,15,11,0) 50%); }
.feat .feat-text, .feat-plate .feat-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--s2); z-index: 1; display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; padding: 0; }
.feat .feat-text .label, .feat .feat-text .meta, .feat-plate .label { color: rgba(242,238,230,.78); }
.feat .feat-text .title, .feat-plate .title { color: var(--light); font-size: clamp(28px, 2.8vw, 46px); margin: 0; }
.feat .feat-text .meta { margin-left: auto; }
.feat .feat-text .tlink { display: none; }
.feat .feat-text .title a::after { content: ''; position: absolute; inset: -100vh -100vw; }  /* whole plate is the link */
.feat .feat-text { pointer-events: none; } .feat .feat-text a { pointer-events: auto; }
.all-work { display: flex; justify-content: flex-end; padding: var(--s2) 0 var(--s3); }
.clients { margin-top: 0; }
@media (max-width: 760px) {
    .feat, .feat-plate { height: 82svh; min-height: 480px; }
    .feat .feat-text, .feat-plate .feat-text { flex-direction: column; gap: 6px; }
    .feat .feat-text .meta { margin-left: 0; }
}

.own { display: block; }
@media (max-width: 760px) {
    .open { padding: 0 var(--gutter) var(--s2); }
    .open-plate::after { background: linear-gradient(to bottom, rgba(20,15,11,.55) 0%, rgba(20,15,11,0) 22%, rgba(20,15,11,0) 78%, var(--espresso) 100%); }
    .open-text { display: flex; flex-direction: column; gap: var(--s1); }
}

/* opening v6 (2026-11-01): Stemma, the hands and the pastry. Type rides on the apron below them. */
.open-plate img { object-position: 50% 30%; }
.feat img[src*="roaster-reflection"] { object-position: 50% 30%; }
@media (max-width: 760px) { .open-plate img { object-position: 30% 50%; } }

/* opening v7 (2026-11-01): the film is the screen, the name is the headline */
.open-plate { overflow: hidden; }
.open-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.open-film.playing { opacity: 1; }
.open-plate img { object-position: 50% 50%; }
.open h1 { grid-column: 1 / 13; font-size: clamp(64px, 11.2vw, 210px); line-height: .86; letter-spacing: -0.05em; white-space: nowrap; }
.open-foot { grid-column: 8 / 13; display: flex; justify-content: space-between; align-items: end; gap: var(--s2); }
.open .lede { max-width: 30ch; margin: 0; }
.open-links { flex: none; }
@media (max-width: 1100px) { .open-foot { grid-column: 1 / 13; } }
@media (max-width: 760px) {
    .open-text { align-items: stretch; }
    .open h1 { font-size: clamp(44px, 14.4vw, 76px); white-space: normal; }
    .open-foot { flex-direction: column; align-items: start; }
    .open-plate img, .open-film { object-position: 50% 50%; }
}
@media (max-width: 760px) { .open { align-items: stretch; } .open-foot { margin-left: 0; width: 100%; } }
/* the name is the headline while the film plays; the mark returns once the page moves */
.mast .mark { transition: opacity .4s var(--ease); }
.js .mast.on-dark .mark { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .open-plate { width: calc(100% + 2 * var(--gutter)); } }

/* clients (2026-11-01): marks set free, no boxes, centred rows so nothing reads as a gap */
.marks, .marks li, .marks li:nth-child(n) { border: 0; }
.marks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(36px, 4vw, 64px) clamp(44px, 5.2vw, 88px); padding: var(--s1) 0; }
.marks li, .marks li:nth-child(n) { height: 72px; padding: 0; display: grid; place-items: center; }
@media (max-width: 760px) { .marks { gap: 26px 30px; border: 0; } .marks li, .marks li:nth-child(n) { height: 44px; } }

/* one type scale: the close sets at statement size, like every heading under the opener */
.close h2 { font-size: clamp(28px, 3.4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
/* no rules */
.mast.is-stuck { border-color: transparent; }
.sect-head, .idx a, .ways-head, .ways-list > div, .clients, .close-alt a, .colophon, .tlink-quiet { border-top: 0 !important; border-bottom: 0 !important; }

/* small type: Neue Montreal, sentence case (no mono, no caps) */
:root { --mono: var(--sans); }
.label, .meta, .colophon .label, .mark-sub { font-family: var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; }
/* plates credit the work in one quiet line, like a production company reel: client, then title */
.feat .feat-text .meta { display: none; }
/* "All work" sits on the grid edge under the plates, not hanging off the viewport */
.all-work { max-width: var(--max); margin: var(--s2) auto var(--s3); padding: 0 var(--gutter); text-align: left; }
.own .all-work, .all-work { text-align: left !important; justify-content: flex-start !important; padding: 0 var(--gutter) !important; max-width: var(--max) !important; margin-left: auto !important; margin-right: auto !important; display: block !important; }
@media (max-width: 760px) { .mast .mark { display: inline-flex; align-items: center; min-height: 44px; } .cta, .close-side a { display: inline-flex; align-items: center; min-height: 44px; } }
