/* Hallmark · shape: Index-First · genre: atmospheric · theme: Darkroom (by request: the user kept the dark mood, after deal creative-studio-seoul-makes-9074·074439a7·2026-11-27·r0) · redesign: full
 * hero: Ledge (/), Banner (/works, /services, /studio, /contact, /works/*) · nav: masthead · footer: mast · imagery: photographs, the studio's own work · signature: a wall of the studio's work printed in black and white above a hairline headline · darkroom: amber · job: hire
 * axes: dark/display-condensed/chromatic-amber · posture: restrained · contrast: pass · fold: pass · draw: ccfed2 · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V4 · weakest: P, the page argues little beyond showing the work; led with seven real frames of it instead of a claim */
/* Hallmark · reworded "Web · Promotion · Video" to "Web, Promotion, Video" · 63 names the middle dots */
/* Hallmark · reworded "웹사이트 · 디지털 경험" to "웹사이트, 디지털 경험" · 63 names the middle dots */
/* Hallmark · reworded "캠페인 · 프로모션 콘텐츠" to "캠페인, 프로모션 콘텐츠" · 63 names the middle dots */
/* Hallmark · reworded "뮤직비디오 · 광고 · 브랜드 영상" to "뮤직비디오, 광고, 브랜드 영상" · 63 names the middle dots */
/* Hallmark · dropped "Independent creative studio", "Selected work", "What we do", "About Irographics", "Start a conversation" · 54 names the eyebrows */
/* Hallmark · reworded "웹사이트·프로모션 콘텐츠·영상 제작" to "웹사이트, 프로모션 콘텐츠, 영상 제작" · 63 names the middle dots */
/* Hallmark · dropped "Have a project in mind?", "Tell us about your project", "Work with us", "Services", "Studio", "Contact" · 54 names the eyebrows */
/* Hallmark · dropped "01 / Digital", "02 / Campaign", "03 / Moving image" · 54 names the ordinal labels */
/* Hallmark · dropped "Web · Selected work", "Promotion · Selected work", "Video · Selected work" · 54 names the eyebrows over each project title */
/* Hallmark · dismissed 77 · the inner pages carry only the sections the live site has, and a redesign adds none */
/* Hallmark · waive 77 · a band of one line and an action, once a page · each case page closes on the enquiry question the live site asks */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: 1.0625rem; line-height: 1.6; word-break: keep-all; }
h1, h2, h3 { text-transform: uppercase; line-height: 1; }
h1 span, h2 span { display: block; }
/* colour fringe: a lens-style split at the edges of the screen only. assets/site.js adds the #fringe filter and this fixed layer; the mask fades it to nothing toward the middle */
.fringe { position: fixed; inset: 0; z-index: var(--z-tooltip); pointer-events: none; -webkit-backdrop-filter: url("#fringe"); backdrop-filter: url("#fringe"); -webkit-mask-image: linear-gradient(to right, black, transparent 24%, transparent 76%, black), linear-gradient(to bottom, black, transparent 24%, transparent 76%, black); mask-image: linear-gradient(to right, black, transparent 24%, transparent 76%, black), linear-gradient(to bottom, black, transparent 24%, transparent 76%, black); }
.lead { font-weight: 400; color: var(--color-ink-2); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* links and controls */
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-muted); white-space: nowrap; }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

/* masthead */
.mast { border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--nav-h); column-gap: var(--space-lg); }
.mast__links { display: flex; gap: var(--space-lg); font-size: var(--text-sm); }
.mast__links a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; padding-block: var(--space-sm); }
.mast__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.mast__links a:active { color: var(--color-muted); }
.wordmark { font: 400 var(--text-2xl)/1 var(--font-display); letter-spacing: 0.02em; color: var(--color-ink); text-decoration: none; }
.wordmark:hover { color: var(--color-ink-2); }
.mast__action { justify-self: end; }

/* hero: a Ledge. The wall of prints above, the head at the base. */
.hero { display: grid; grid-template-rows: auto auto; align-content: space-between; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl) var(--space-2xl); row-gap: var(--space-2xl); }
.wall { grid-row: 1; display: flex; gap: var(--space-md); margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.wall:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.print { flex: none; height: clamp(200px, calc(100dvh - 540px), 500px); aspect-ratio: 5 / 4; scroll-snap-align: start; overflow: hidden; background: var(--color-paper-2); }
.print--tall { aspect-ratio: 17 / 24; }
.print img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.96); }
.hero__base { grid-row: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.hero h1 { grid-column: 1 / span 8; max-width: none; font-size: var(--text-poster); }
.hero__say { grid-column: 9 / span 4; display: grid; gap: var(--space-lg); padding-bottom: var(--space-xs); }

/* sections */
.head { display: grid; gap: var(--space-lg); justify-items: start; }
.head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.head--split .link { justify-self: end; }

.projects { padding-top: var(--section-gap-s); }
.index { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink-2); }
.index li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.index__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-block: var(--space-lg); color: inherit; text-decoration: none; }
.index__row h3, .index__row h2 { grid-column: 1 / span 6; max-width: none; font-size: var(--text-index); font-weight: 200; line-height: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; text-decoration-color: transparent; }
.index__kind { grid-column: 7 / span 2; color: var(--color-muted); font-size: var(--text-sm); }
.index__what { grid-column: 9 / span 2; color: var(--color-ink-2); }
.index__row img { grid-column: 11 / span 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.96); transition: filter var(--dur-long) var(--ease-out); }
.index__row:hover :is(h2, h3), .index__row:focus-visible :is(h2, h3) { text-decoration-color: var(--color-accent); }
.index__row:hover img, .index__row:focus-visible img { filter: none; }
.index__row:active :is(h2, h3) { color: var(--color-ink-2); }
.index__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

.services { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.services .head { grid-column: 1 / span 4; }
.services h2 { max-width: none; font-size: var(--text-display-s); }
.sheet { grid-column: 6 / span 7; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink-2); }
.sheet li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); column-gap: var(--gap-columns); row-gap: var(--space-2xs); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.sheet :is(h2, h3) { grid-row: 1 / span 2; font-size: var(--text-3xl); font-weight: 400; line-height: 1; }
.sheet p { grid-column: 2; color: var(--color-ink-2); }
.sheet .sheet__makes { color: var(--color-muted); font-size: var(--text-sm); }

.brief { padding-top: var(--section-gap); }
.brief__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.brief h2 { grid-column: 1 / span 11; max-width: none; font-size: var(--text-poster); }
.brief__say { grid-column: 7 / span 5; display: grid; gap: var(--space-lg); justify-items: start; }

.ask { margin-top: var(--section-gap-l); padding-top: var(--space-2xl); }
.ask__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink-2); }
.ask h2 { grid-column: 1 / span 6; max-width: none; font-size: var(--text-display); }
.ask__say { grid-column: 7 / span 5; display: grid; gap: var(--space-lg); }

/* footer: a mast, the wordmark over the links */
.foot { margin-top: var(--section-gap); padding-bottom: var(--space-2xl); }
.foot__mark { display: block; font: 200 var(--text-mast)/0.82 var(--font-display); letter-spacing: var(--tracking-display); white-space: nowrap; color: var(--color-ink); text-decoration: none; padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark:hover { color: var(--color-ink-2); }
.foot__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); margin-top: var(--space-xl); color: var(--color-ink-2); font-size: var(--text-sm); }
.foot__note { color: var(--color-muted); }
.foot__legal { justify-self: end; color: var(--color-muted); }

/* inner pages: a Banner intro, then the page's own content */
.ko { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.intro { padding-block: var(--space-3xl) var(--space-2xl); }
.intro h1 { grid-column: 1 / span 8; max-width: none; font-size: var(--text-poster); }
.intro__say { grid-column: 9 / span 4; padding-bottom: var(--space-xs); }

.works { padding-top: var(--space-2xl); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.filter { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.filter:hover { background: var(--color-paper-3); }
.filter:active { transform: translateY(1px); }
.filter[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.filter:disabled { opacity: 0.55; cursor: not-allowed; }
.works .index { margin-top: var(--space-xl); }

.offer { padding-top: var(--space-2xl); }
.sheet--wide { grid-column: 1 / -1; }
.sheet--wide li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sheet--wide h2 { max-width: none; font-size: var(--text-index); font-weight: 200; }
.sheet--wide h3.ko { font-size: var(--text-xl); }
.sheet__figure { grid-column: 2; margin-top: var(--space-lg); aspect-ratio: 21 / 9; overflow: hidden; background: var(--color-paper-2); }
.sheet__figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.96); }
.note { margin-top: var(--space-3xl); margin-left: auto; max-width: 30em; font-size: var(--text-2xl); font-weight: 400; line-height: 1.45; color: var(--color-ink); }

.scope { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.scope__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.scope h2 { grid-column: 1 / span 6; max-width: none; font-size: var(--text-display); }
.scope__say { grid-column: 8 / span 5; display: grid; gap: var(--space-md); }
.values { padding-top: var(--section-gap); }

/* the enquiry form: the site's own fields and hooks, restyled */
.enquiry { padding-top: var(--space-2xl); }
.inquiry-form { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink-2); }
.form-heading { grid-column: 1 / span 4; display: grid; gap: var(--space-xs); align-content: start; }
.form-heading h2 { font-size: var(--text-section); font-weight: 400; line-height: 1.2; }
.form-heading p { color: var(--color-muted); }
.form-body { grid-column: 6 / span 7; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.form-field { display: grid; gap: var(--space-xs); align-content: start; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label, .privacy-consent legend { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.required-label { margin-left: var(--space-2xs); font-weight: 400; color: var(--color-muted); }
.field-hint { font-size: var(--text-sm); color: var(--color-muted); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.form-field textarea { resize: vertical; line-height: 1.6; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--color-ink-2); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline-color: var(--color-focus); }
.form-field [aria-invalid="true"] { border-color: var(--color-error); }
.form-field :disabled { opacity: 0.55; cursor: not-allowed; }
.field-error { font-size: var(--text-sm); color: var(--color-error); }
.field-error:empty { display: none; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-consent { min-width: 0; margin: var(--space-xl) 0 0; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); }
.privacy-consent legend { float: left; width: 100%; padding: 0; margin-bottom: var(--space-sm); }
.privacy-consent legend + * { clear: both; }
.privacy-details { margin: 0; font-size: var(--text-sm); }
.privacy-details div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.privacy-details dt { color: var(--color-muted); }
.privacy-details dd { margin: 0; color: var(--color-ink-2); }
.privacy-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.consent-check { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; margin-top: var(--space-xs); cursor: pointer; }
.consent-check input { flex: none; width: 20px; height: 20px; accent-color: var(--color-accent); }
.consent-check input[aria-invalid="true"] { outline: 2px solid var(--color-error); outline-offset: 2px; }
.form-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.form-status { font-size: var(--text-sm); color: var(--color-ink-2); }
.form-status[data-state="error"] { color: var(--color-error); }
.form-status[data-state="success"] { color: var(--color-success); }
.form-fallback { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }

/* a project opened as a case: the prints in their own colour, the facts beside them */
.intro--case { padding-top: var(--space-2xl); }
.project-back { display: inline-block; margin-bottom: var(--space-2xl); font-size: var(--text-sm); padding-block: var(--space-sm); }
.intro h1.long { font-size: var(--text-display); }
.case { padding-top: var(--space-xl); }
.case__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink-2); }
.case__media { grid-column: 1 / span 8; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.gallery img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: var(--color-paper-2); }
.gallery img:only-child { grid-column: 1 / -1; max-width: 600px; }
.gallery img:first-child:nth-last-child(3) { grid-column: 1 / -1; max-width: 600px; }
.gallery--wide { grid-template-columns: minmax(0, 1fr); }
.gallery--wide img { aspect-ratio: auto; height: auto; }
.gallery--tall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--tall img { aspect-ratio: 17 / 24; }
.facts { grid-column: 10 / span 3; margin: 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.facts div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { color: var(--color-muted); }
.facts dd { margin: 0; color: var(--color-ink); }
.video-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-paper-2); }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--color-paper-2); cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-play-icon { position: absolute; left: var(--space-lg); bottom: var(--space-lg); display: grid; place-items: center; width: 56px; height: 56px; background: var(--color-accent); color: var(--color-accent-ink); transition: background-color var(--dur-short) var(--ease-out); }
.video-poster:hover .video-play-icon { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
.video-poster:active .video-play-icon { transform: translateY(1px); }
.video-poster:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.video-caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.next { margin-top: var(--section-gap); }
.next__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); }
.next__grid::before { content: ""; flex: 0 0 100%; border-top: var(--rule-hair) solid var(--color-ink-2); margin-bottom: var(--space-xl); }
.next p { max-width: 16em; font-size: var(--text-section); line-height: 1.25; color: var(--color-ink); }

/* the grain of a well (texture.md § 1), never over a photograph */
/* film grain: a faint sheet of noise over the whole screen, jumping to a new position several times a second like film running through a gate; still when motion is reduced */
body::after { content: ""; position: fixed; inset: -200px; z-index: calc(var(--z-tooltip) + 1); pointer-events: none; opacity: var(--film-grain); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 200px 200px; animation: film-grain 0.8s steps(1) infinite; will-change: transform; }
@keyframes film-grain { 0% { transform: translate3d(0, 0, 0); } 12.5% { transform: translate3d(-73px, 41px, 0); } 25% { transform: translate3d(58px, -112px, 0); } 37.5% { transform: translate3d(-131px, -66px, 0); } 50% { transform: translate3d(97px, 124px, 0); } 62.5% { transform: translate3d(-29px, 153px, 0); } 75% { transform: translate3d(142px, -37px, 0); } 87.5% { transform: translate3d(-104px, 88px, 0); } }
.grained { position: relative; isolation: isolate; }
.grained::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 200px 200px; }

@media (max-width: 60rem) {
  .hero { min-height: 0; row-gap: var(--space-xl); }
  .print { height: 240px; }
  .hero h1, .hero__say, .intro h1, .intro__say, .scope h2, .scope__say, .form-heading, .form-body, .case__media, .facts { grid-column: 1 / -1; }
  .index__row { row-gap: var(--space-xs); }
  .index__row h3, .index__row h2 { grid-column: 1 / span 9; grid-row: 1; }
  .index__kind { grid-column: 1 / span 3; grid-row: 2; }
  .index__what { grid-column: 4 / span 6; grid-row: 2; }
  .index__row img { grid-column: 10 / span 3; grid-row: 1 / span 2; }
  .services .head, .sheet, .brief h2, .brief__say, .ask h2, .ask__say { grid-column: 1 / -1; }
  .services h2 span { display: inline; }
}
@media (max-width: 40rem) {
  .mast__bar { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2xs); padding-block: var(--space-sm); }
  .wordmark { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .mast__links, .mast__action { grid-row: 2; }
  .mast .btn { min-height: 44px; padding: 0 var(--space-md); }
  .mast__links { gap: var(--space-md); }
  .print { height: 200px; }
  .head--split { grid-template-columns: minmax(0, 1fr); }
  .head--split .link { justify-self: start; }
  .index__row :is(h2, h3), .index__kind, .index__what { grid-column: 1 / -1; grid-row: auto; }
  .index__row img { grid-column: 1 / span 6; grid-row: auto; margin-top: var(--space-xs); }
  .sheet li { grid-template-columns: minmax(0, 1fr); }
  .sheet :is(h2, h3) { grid-row: auto; margin-bottom: var(--space-xs); }
  .sheet p, .sheet__figure { grid-column: 1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot__row { grid-template-columns: minmax(0, 1fr); }
  .gallery, .gallery--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-back { margin-bottom: var(--space-lg); }
  .foot__legal { justify-self: start; }
}
