/* SALMAN ATELIER — salmanatelier.com
   Palette from the Claude Design export: ink #020202, desk #fafaf8, file #bbc1ba, workspace #606060, paper #f4f3ee.
   Type: Termina (display, Typekit dex7qdc), Work Sans (self-hosted, working face),
   Copperplate (eyebrows, system font, falls back to Work Sans), adobe-handwriting-ernie (founder message only). */

@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/worksans-var-normal-latin.woff2) format('woff2'); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/worksans-var-normal-latin-ext.woff2) format('woff2'); 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; }
@font-face { font-family: 'Work Sans'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/worksans-var-italic-latin.woff2) format('woff2'); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/worksans-var-italic-latin-ext.woff2) format('woff2'); 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; }

:root {
  --ink: #020202; --desk: #fafaf8; --file: #bbc1ba; --workspace: #606060; --paper: #f4f3ee;
  --font-sans: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'termina', var(--font-sans);
  --font-eyebrow: 'Copperplate', 'Copperplate Gothic Light', 'Copperplate Gothic', var(--font-sans);
  --font-hand: 'adobe-handwriting-ernie', 'Bradley Hand', 'Segoe Script', cursive;
  --pad: 64px; --max: 1200px;
  --ground: #020202; --strong: #fafaf8; --body: #bbc1ba; --quiet: #606060; --line: var(--file);
  color-scheme: dark;
}
html[data-mode="light"] { --ground: #fafaf8; --strong: #020202; --body: #606060; --quiet: #606060; --line: var(--file); color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--ground); color: var(--body); font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background 200ms ease, color 200ms ease; min-height: 100vh; }
a { color: var(--strong); text-decoration: none; transition: color 180ms ease; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--body); }
img { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 300; }
input, textarea, button { font-family: var(--font-sans); }
::selection { background: var(--body); color: var(--ground); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 1px solid var(--strong); outline-offset: 4px; }

/* type roles */
.eyebrow { font-family: var(--font-eyebrow); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--quiet); line-height: 1; }
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.01em; color: var(--strong); line-height: 1.12; }
.d1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; }
.d2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; }
.d3 { font-size: 24px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 48ch; }
.lead p + p { margin-top: 24px; }
.small { font-size: 13px; line-height: 1.7; color: var(--quiet); }
.num { font-family: var(--font-display); font-weight: 200; line-height: 1; color: var(--strong); }

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
section.block { padding-top: 112px; padding-bottom: 112px; border-top: 1px solid var(--line); }
section.block.first { border-top: 0; padding-top: 128px; }
.cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
.stack { display: flex; flex-direction: column; }
.g24 { gap: 24px; } .g32 { gap: 32px; } .g48 { gap: 48px; } .g64 { gap: 64px; } .g80 { gap: 80px; } .g96 { gap: 96px; }

/* controls */
.btn { display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ground); background: var(--strong); padding: 16px 28px; transition: background 180ms ease, color 180ms ease; border: 0; cursor: pointer; }
.btn:hover { background: var(--file); color: var(--ink); }
.btn.large { font-size: 14px; padding: 24px 48px; }
.link { font-family: var(--font-display); font-weight: 400; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--body); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link:hover { color: var(--strong); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 20px; padding-bottom: 20px; transition: background 200ms ease; }
.site-header .symbol { display: flex; align-items: center; color: var(--strong); }
.site-header .symbol svg { width: 36px; height: 36px; }
.header-row { width: 100%; max-width: var(--max); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.search { display: flex; align-items: center; gap: 10px; justify-self: start; border-bottom: 1px solid var(--line); padding-bottom: 6px; width: 180px; max-width: 100%; }
.search svg { flex: none; stroke: var(--quiet); }
.search input { border: 0; background: transparent; outline: none; width: 100%; font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--strong); padding: 0; }
.search input::placeholder { color: var(--quiet); text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a { color: var(--body); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color 180ms ease, border-color 180ms ease; }
.nav a:hover { color: var(--strong); }
.nav a[aria-current="page"] { color: var(--strong); border-bottom-color: var(--strong); }
.nav a.start { color: var(--strong); }
.theme { justify-self: end; background: transparent; border: 0; padding: 4px; cursor: pointer; color: var(--body); display: flex; align-items: center; transition: color 180ms ease; }
.theme:hover { color: var(--strong); }
.theme .sun { display: block; } .theme .moon { display: none; }
html[data-mode="light"] .theme .sun { display: none; } html[data-mode="light"] .theme .moon { display: block; }

/* mobile drawer (hidden on desktop) */
.menu-btn, .drawer, .backdrop { display: none; }

/* hero */
.hero { padding-top: 128px; padding-bottom: 128px; }
.hero .cols { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 80px; align-items: center; }
.hero-pair { display: flex; flex-direction: column; gap: 16px; }
.hero-pair .pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.hero-pair .pole { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-pair .caption { font-size: 13px; line-height: 1.6; color: var(--quiet); }
.hero .copy { display: flex; flex-direction: column; gap: 48px; }
.hero .action { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; line-height: 1.3; letter-spacing: 0.01em; color: var(--strong); }
.hero .explain { font-size: 16px; line-height: 1.7; color: var(--body); max-width: 52ch; }
.hero .ctas { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.plate { position: relative; width: 100%; min-width: 0; overflow: hidden; background: var(--paper); }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate.r45 { aspect-ratio: 4/5; } .plate.r43 { aspect-ratio: 4/3; } .plate.r1610 { aspect-ratio: 16/10; } .plate.r34 { aspect-ratio: 3/4; }
.plate.contain img { object-fit: contain; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.plate.blank { background: var(--paper); }
.plate.blank::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(2,2,2,0.06); }
figure { margin: 0; }
figcaption { font-size: 13px; line-height: 1.6; color: var(--quiet); margin-top: 12px; }
.hero figure { display: flex; flex-direction: column; }

/* hero empty presence frame */
.plate .mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 200; font-size: clamp(40px, 5vw, 72px); letter-spacing: 0.04em; color: var(--workspace); }

/* selected work */
.case-card { display: flex; flex-direction: column; gap: 32px; color: var(--strong); }
.case-card .pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.case-card .pole { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case-card .pole p { font-size: 15px; line-height: 1.6; color: var(--body); }
.case-card:hover .plate img { opacity: 0.92; }
.plate img { transition: opacity 200ms ease; }

/* plan */
.step { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.step .num { font-size: 56px; }
.step h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.01em; color: var(--strong); }
.step p { font-size: 15px; line-height: 1.6; color: var(--body); }
.step.compact { gap: 16px; padding-top: 24px; }
.step.compact .num { font-size: 32px; }
.step.compact h3 { font-size: 18px; }
.step.compact p { font-size: 14px; }

/* stakes / success / close */
.stakes p { font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; line-height: 1.5; color: var(--body); max-width: 44ch; }
.success { padding-top: 160px; padding-bottom: 160px; }
.success p { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 64px); font-weight: 300; line-height: 1.12; letter-spacing: 0.01em; color: var(--strong); max-width: 20ch; }
.close { padding-top: 128px; padding-bottom: 160px; }
.close .wrap { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.close p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* case page */
.case-head { padding-top: 128px; padding-bottom: 96px; }
.case-head .wrap { display: flex; flex-direction: column; gap: 32px; }
.case-head .sub { font-size: 20px; font-weight: 300; line-height: 1.5; color: var(--body); max-width: 52ch; }
.facts { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-eyebrow); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--quiet); padding-top: 32px; border-top: 1px solid var(--line); }
.pole-section { padding-bottom: 112px; }
.pole-section .wrap { display: flex; flex-direction: column; gap: 32px; }
.pole-section .meta { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.between .wrap { display: flex; flex-direction: column; gap: 80px; }
.between .row { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 48px; align-items: end; }
.between .plate { border: 1px solid var(--line); background: transparent; }
.between p { font-size: 14px; line-height: 1.7; color: var(--body); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
.gallery .plate { aspect-ratio: 4/5; }
.gallery .plate.wide { grid-column: 1 / -1; aspect-ratio: 16/10; }
.case-foot { padding-top: 96px; padding-bottom: 128px; }
.case-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.next { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; color: var(--strong); }
.next:hover { color: var(--body); }
.next .title { font-family: var(--font-display); font-size: 20px; font-weight: 300; letter-spacing: 0.01em; }

/* studio */
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.portrait { margin: 0; position: sticky; top: calc(var(--hdr, 118px) + 32px); }
.portrait img { width: 100%; height: auto; display: block; }
.founder-copy { display: flex; flex-direction: column; gap: 24px; }
.founder-copy .role { margin-top: -8px; }
.founder-copy .lead { margin-top: 16px; }
.founder .message { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.founder .hand { font-family: var(--font-hand); font-weight: 400; font-size: 26px; line-height: 1.6; color: var(--body); }
.founder .sig { color: var(--body); width: 150px; margin-top: 8px; }
.founder .sig svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; gap: 40px; } .portrait { position: static; max-width: 420px; } }

/* start — the sheet */
.start .wrap { display: flex; flex-direction: column; gap: 80px; align-items: center; text-align: center; }
.start .head { display: flex; flex-direction: column; gap: 24px; }
.start .head p { font-size: 17px; line-height: 1.6; color: var(--body); }
.sheet-col { display: flex; flex-direction: column; gap: 24px; align-items: center; width: 100%; max-width: 640px; margin: 0 auto; }
.sheet-col .sheet, .sheet-col .received { text-align: left; }
.sheet { width: 100%; aspect-ratio: 210 / 297; background: var(--paper); color: var(--ink); padding: 48px 56px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; color-scheme: light; }
.sheet .date { display: flex; justify-content: flex-end; font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--workspace); }
.sheet .prompts { display: flex; flex-direction: column; gap: 26px; }
.sheet .contact { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.sheet label { display: flex; flex-direction: column; gap: 4px; }
.sheet label span { font-size: 13px; line-height: 1.5; color: var(--workspace); }
.sheet .need { font-style: normal; font-family: var(--font-eyebrow); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--file); margin-left: 8px; vertical-align: 1px; }
.sheet input { border: 0; border-bottom: 1px solid var(--file); background: transparent; padding: 6px 0; font-family: var(--font-hand); font-weight: 400; font-size: 20px; line-height: 1.3; color: var(--ink); outline: none; border-radius: 0; width: 100%; transition: border-color 180ms ease; }
.sheet input:focus { border-bottom-color: var(--ink); }
.sheet input::placeholder { color: transparent; }
.sheet .foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sheet .note { font-size: 12px; color: var(--workspace); min-height: 1em; }
.sheet .note a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.sheet .send { background: transparent; border: 0; padding: 0 0 5px; cursor: pointer; font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); transition: color 180ms ease, border-color 180ms ease; }
.sheet .send:hover { color: var(--workspace); border-bottom-color: var(--workspace); }
.sheet .send[disabled] { color: var(--workspace); border-bottom-color: var(--file); cursor: default; }
.sheet .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.received { width: 100%; display: flex; flex-direction: column; gap: 48px; }
.received p { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 36px); font-weight: 300; line-height: 1.3; letter-spacing: 0.01em; color: var(--strong); }

/* work index — hanging files */
.work-head { padding-bottom: 96px; }
.files { display: flex; flex-direction: column; padding-bottom: 0; }
.folder { --tabh: 64px; position: sticky; top: calc(var(--hdr, 118px) + var(--i) * var(--tabh)); min-height: 72vh; margin-top: -1px; --fold: var(--file); --fold-ink: var(--ink); --fold-quiet: #606060; --fold-line: rgba(2,2,2,0.18); }
.folder .wrap { display: flex; flex-direction: column; height: 100%; }
.folder .body { flex: 1 1 auto; }
/* five shades of the file colour, darkest first, the last is the file colour itself */
.tone-t1 { --fold: #6c706c; --fold-ink: #020202; --fold-quiet: #1e201e; --fold-line: rgba(2,2,2,0.28); }
.tone-t2 { --fold: #7f837e; --fold-ink: #020202; --fold-quiet: #232523; --fold-line: rgba(2,2,2,0.24); }
.tone-t3 { --fold: #949893; --fold-ink: #020202; --fold-quiet: #2e302d; --fold-line: rgba(2,2,2,0.2); }
.tone-t4 { --fold: #a8aea7; --fold-ink: #020202; --fold-quiet: #3a3d39; --fold-line: rgba(2,2,2,0.18); }
.tone-t5 { --fold: #bbc1ba; --fold-ink: #020202; --fold-quiet: #4a4d49; --fold-line: rgba(2,2,2,0.18); }
.folder .tab-row { position: relative; z-index: 2; display: flex; }
.folder .tab, .tab.static { position: relative; z-index: 2; display: inline-flex; align-items: center; height: var(--tabh); gap: 20px; background: var(--fold); color: var(--fold-ink); padding: 0 72px 0 32px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%); max-width: 70%; }
.tab .n { font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.22em; color: var(--fold-quiet); }
.tab .name { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.01em; white-space: nowrap; }
.folder .body { background: var(--fold); color: var(--fold-ink); padding: 72px 32px 56px; min-height: calc(72vh - var(--tabh)); overflow: hidden; display: flex; flex-direction: column; gap: 48px; }
.folder .body-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.folder .line { font-size: 15px; line-height: 1.6; color: var(--fold-quiet); max-width: 52ch; }
.folder .viewall { flex: none; display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fold-ink); border-bottom: 1px solid var(--fold-line); padding-bottom: 5px; }
.folder .viewall .count { font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.22em; color: var(--fold-quiet); }
.folder .viewall:hover { color: var(--fold-quiet); }
.peek { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px 24px; align-items: flex-start; }
.peek li { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; max-width: 300px; transform: translateY(16px); transition: transform 320ms cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--j) * 40ms); }
.peek a { display: block; color: var(--fold-ink); }
.peek img, .peek .blank { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--paper); border: 1px solid var(--fold-line); }
.peek .cap { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-size: 12px; line-height: 1.4; opacity: 0.75; transition: opacity 240ms ease; }
.peek .cap .t { font-family: var(--font-display); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.peek .cap .s { color: var(--fold-quiet); }
.folder:hover .peek li, .folder:focus-within .peek li { transform: translateY(0); }
.folder:hover .peek .cap, .folder:focus-within .peek .cap { opacity: 1; }
.peek li:hover { transform: translateY(-12px) !important; }
.files + .close { position: relative; z-index: 6; background: var(--ground); }
@media (max-width: 900px) {
  .folder { --tabh: 52px; min-height: 64vh; }
  .folder .tab { max-width: 94%; padding: 0 40px 0 16px; gap: 10px; }
  .tab .name { font-size: 16px; }
  .folder .body { padding: 28px 20px 36px; min-height: calc(64vh - var(--tabh)); gap: 32px; }
  .peek { gap: 12px; }
  .peek li { transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) { .peek li { transform: none !important; } .peek .cap { opacity: 1; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.site-footer .combo { display: flex; color: var(--strong); }
.site-footer .combo svg { width: 200px; height: auto; }
.site-footer nav { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer .links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.site-footer .links a { color: var(--body); } .site-footer .links a:hover { color: var(--strong); }
.site-footer .contact { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 32px; border-top: 1px solid var(--line); width: 100%; max-width: 480px; font-family: var(--font-display); font-weight: 300; font-size: 12px; letter-spacing: 0.04em; line-height: 1.5; color: var(--body); }
.site-footer .contact a { color: var(--body); } .site-footer .contact a:hover { color: var(--strong); }
.site-footer .copyright { font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.06em; color: var(--quiet); }

/* contact + legal */
.rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 640px; width: 100%; }
.rows .row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 18px; color: var(--strong); }
.rows dd a { color: var(--strong); } .rows dd a:hover { color: var(--body); }
.legal-body { display: flex; flex-direction: column; gap: 56px; max-width: 64ch; font-size: 16px; line-height: 1.7; color: var(--body); }
@media (max-width: 560px) { .rows .row { grid-template-columns: 1fr; gap: 8px; } }

/* responsive */
@media (max-width: 900px) {
  :root { --pad: 32px; }
  .cols, .hero .cols, .case-card .pair, .pole-section .meta, .between .row, .cols-3 { grid-template-columns: 1fr; }
  .hero .cols { gap: 56px; }
  .site-header { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; z-index: 40; }
  .site-header .symbol { position: relative; z-index: 41; }
  .header-row { display: contents; }
  .search, .nav, .theme { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--body); position: relative; z-index: 41; }
  .menu-btn svg { transition: transform 240ms ease; }
  body.drawer-open .menu-btn svg { transform: rotate(45deg); }
  .menu-btn:hover { color: var(--strong); }
  .backdrop { display: block; position: fixed; top: var(--hdr, 72px); left: 0; right: 0; bottom: 0; background: var(--ground); opacity: 0; transition: opacity 240ms ease; z-index: 30; }
  body.drawer-open .backdrop { opacity: 0.6; }
  .drawer { display: flex; flex-direction: column; gap: 24px; position: fixed; top: var(--hdr, 72px); right: 0; bottom: 0; height: auto; height: calc(100dvh - var(--hdr, 72px)); width: min(100vw, 360px); background: var(--ground); color: var(--body); padding: 32px 20px 40px; box-sizing: border-box; transform: translateX(100%); transition: transform 240ms ease; z-index: 35; overflow-y: auto; }
  body.drawer-open .drawer { transform: translateX(0); }
  body.drawer-open { overflow: hidden; }
  .drawer[hidden], .backdrop[hidden] { display: none !important; }
  .drawer-links { display: flex; flex-direction: column; gap: 20px; }
  .drawer-links a { font-family: var(--font-sans); font-weight: 400; font-size: 24px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--strong); outline: none; }
  .drawer:focus, .drawer a:focus, .drawer button:focus { outline: none; }
  .drawer a:focus-visible, .drawer button:focus-visible { outline: 1px solid var(--strong); outline-offset: 6px; }
  .drawer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .drawer hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
  .drawer-theme { align-self: flex-start; background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--font-sans); font-size: 14px; color: var(--body); }
  .drawer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
  .drawer-contact a { color: var(--body); }
  .gallery { grid-template-columns: 1fr; }
  .gallery .plate.wide { grid-column: auto; }
  .sheet { padding: 36px 24px 32px; aspect-ratio: auto; }
  section.block { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 80px; padding-bottom: 80px; }
  .success { padding-top: 112px; padding-bottom: 112px; }
}
@media (max-width: 560px) {
  :root { --pad: 24px; }
  .drawer { width: 100vw; }
  .nav { gap: 18px; font-size: 10px; }
  .btn.large { font-size: 12px; padding: 18px 32px; }
  .case-foot .wrap { flex-direction: column; align-items: flex-start; }
  .next { align-items: flex-start; text-align: left; }
}

/* ---------- mobile scale (≤ 430px). Desktop values above are untouched. ---------- */
@media (max-width: 430px) {
  :root { --pad: 20px; }
  body { font-size: 15px; line-height: 1.55; }
  .d1 { font-size: clamp(34px, 9vw, 38px); line-height: 1.05; letter-spacing: -0.01em; }
  .d2 { font-size: 24px; line-height: 1.2; }
  .d3 { font-size: 20px; }
  .hero { padding-top: 56px; padding-bottom: 48px; min-height: 0; }
  .hero .cols { gap: 40px; }
  .hero-pair .pair { grid-template-columns: 1fr; gap: 32px; }
  .hero .copy { gap: 28px; }
  .hero .action { font-family: var(--font-sans); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
  .hero .explain { font-size: 15px; line-height: 1.5; }
  .lead, .case-head .sub, .hero .explain { font-size: 15px; line-height: 1.55; }
  .lead p + p { margin-top: 0.75em; }
  .eyebrow, .facts, .tab .n, .sheet .date, .eyebrow.role { font-size: 10px; letter-spacing: 0.12em; }
  figcaption, .small, .case-card .pole p, .step p, .between p, .sheet label span, .sheet .note, .peek .cap, .file-grid .cap, .site-footer .contact, .site-footer .copyright { font-size: 12px; line-height: 1.5; color: #5f6060; }
  .sheet label span { color: var(--workspace); }
  .btn, .btn.large, .link, .nav, .site-footer .links, .sheet .send, .folder .viewall, .file-head .crumb { font-size: 14px; letter-spacing: 0.14em; }
  .btn.large { padding: 18px 28px; }
  .nav { gap: 18px; }
  section.block, section.block.first, .case-head, .pole-section, .case-foot, .close, .success, .start, .work-head { padding-top: 56px; padding-bottom: 56px; }
  .stakes p { font-size: 18px; line-height: 1.5; }
  .success p { font-size: 28px; line-height: 1.15; }
  .success p + p { font-size: 15px; line-height: 1.55; font-family: var(--font-sans); color: var(--body); }
  .step { gap: 12px; padding-top: 20px; }
  .step .num, .step.compact .num { font-family: var(--font-eyebrow); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; color: var(--quiet); }
  .step h3, .step.compact h3 { font-size: 18px; }
  .cols, .cols-3 { gap: 32px; }
  .stack.g80 { gap: 48px; } .stack.g96 { gap: 56px; } .stack.g64 { gap: 40px; }
  /* paper sheets sit on their ground, 72vw wide and centred; presence runs edge to edge */
  .plate.paper { background: var(--paper); }
  .plate.paper img { position: absolute; inset: 0; margin: auto; width: 72vw; height: auto; max-height: 100%; object-fit: contain; }
  .plate.paper .mark { font-size: 34px; }
  .plate.presence { width: calc(100% + 2 * var(--pad)); margin-left: calc(-1 * var(--pad)); }
  .case-card .pair, .cols { grid-template-columns: 1fr; }
  .case-card .pair { gap: 40px; }
  .pole-section .meta { gap: 16px; }
  .portrait { max-width: 60vw; }
  .founder .hand { font-size: 20px; line-height: 1.5; }
  .founder .sig { width: 120px; }
  .sheet { padding: 32px 20px 28px; }
  .sheet input { font-size: 18px; }
  .site-footer .combo svg { width: 150px; }
  .header-row { gap: 12px; }
}
