/* Vladyslav — GrandPré Gallery
   Design system: warm paper, ink, one grotesk + one serif, 12-col grid. */

@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans-var.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f5f4f0;
  --mat: #ebe9e3;
  --ink: #151515;
  --ink-2: #63625e;
  --line: #d9d6cf;
  --viewer: #0f0f0f;

  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --gutter: clamp(16px, 2.6vw, 40px);
  --max: 1600px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: clamp(64px, 9vw, 136px);

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1rem;
  --t-lg: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --t-xl: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --t-display: clamp(3rem, 1.6rem + 6.4vw, 8.75rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-md)/1.55 var(--sans);
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
cite { font-style: italic; font-family: var(--serif); }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.muted { color: var(--ink-2); }
.label {
  font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 var(--s2); font-weight: 500;
}
.label a { text-decoration: none; }
.label a:hover { color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); padding-top: env(safe-area-inset-top); }
.site-header__inner { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-block: 22px; border-bottom: 1px solid transparent; }
.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.wordmark__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.wordmark__house { font-size: var(--t-sm); color: var(--ink-2); }
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: var(--t-sm); }
.site-nav a { text-decoration: none; color: var(--ink-2); padding-block: 4px; position: relative; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-size: var(--t-display); line-height: 0.92; letter-spacing: -0.025em; }
.h-page { font-family: var(--serif); font-size: var(--t-xl); line-height: 1; letter-spacing: -0.015em; }
.h-section { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.15; margin-bottom: var(--s2); }
.lead { font-size: var(--t-lg); line-height: 1.35; letter-spacing: -0.005em; }
.lead-xl { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; }
.prose p { max-width: 38em; }
.prose a { text-decoration-color: var(--line); }
.prose a:hover { text-decoration-color: currentColor; }
.more { display: inline-block; font-size: var(--t-sm); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more span { display: inline-block; transition: transform .25s var(--ease); }
.more:hover span { transform: translateX(3px); }
.caption, .card__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 14px 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.caption cite, .card__cap cite { color: var(--ink); font-size: 1.1875rem; line-height: 1.2; }

/* ---------- images ---------- */
.pic { display: block; background: var(--ph, var(--mat)); aspect-ratio: var(--ar); }
.pic img { width: 100%; height: 100%; object-fit: contain; }
.js .pic img { opacity: 0; transition: opacity .5s var(--ease); }
.js .pic img.is-loaded { opacity: 1; }
.mat { display: grid; place-items: center; background: var(--mat); text-decoration: none; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; padding-block: clamp(48px, 9vw, 140px) clamp(40px, 6vw, 88px); }
.hero .display { grid-column: 1 / span 9; }
.hero__aside { grid-column: 10 / span 3; font-size: var(--t-md); padding-bottom: 0.6em; }
.hero__aside p:last-child { margin: 0; font-size: var(--t-sm); }

.feature__link { display: block; text-decoration: none; }
.mat--feature { padding: clamp(28px, 7vw, 110px) var(--gutter); }
.mat--feature .pic { width: min(100%, calc(min(72vh, 900px) * var(--ar))); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 18px 40px -18px rgb(0 0 0 / .28); }
.feature__link:hover .pic { box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 24px 48px -18px rgb(0 0 0 / .32); }
.mat--feature .pic { transition: box-shadow .4s var(--ease); }

.block { padding-top: var(--s6); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: var(--s4); }
.section-head .label { margin: 0; color: var(--ink); }

.selected { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: clamp(48px, 7vw, 112px); }
.sel { grid-column: span 12; }
.s-a { grid-column: 1 / span 7; }
.s-b { grid-column: 9 / span 4; align-self: end; }
.s-c { grid-column: 2 / span 4; }
.s-d { grid-column: 7 / span 6; margin-top: clamp(0px, 10vw, 160px); }
.s-e { grid-column: 1 / span 6; }
.s-f { grid-column: 8 / span 5; align-self: center; }

.card { display: block; text-decoration: none; }
.card .mat { aspect-ratio: 1; container-type: inline-size; }
.card .pic { width: calc(74cqw * min(1, var(--ar))); box-shadow: 0 1px 2px rgb(0 0 0 / .07), 0 10px 24px -14px rgb(0 0 0 / .25); }
.card .pic img { object-fit: contain; }
.card .mat { transition: background-color .35s var(--ease); }
.card:hover .mat { background: #e4e2db; }
.card:hover cite { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.split__media { grid-column: 1 / span 6; }
.split__text { grid-column: 8 / span 5; }
.split__text .lead { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: var(--s3); }

.rose-teaser { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.rose-teaser__cover { grid-column: 2 / span 3; display: block; }
.rose-teaser__cover .pic { box-shadow: 0 20px 40px -20px rgb(0 0 0 / .35); }
.rose-teaser__text { grid-column: 6 / span 5; }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(40px, 7vw, 112px) clamp(32px, 4.5vw, 64px); }
.page-head__meta { margin: 18px 0 0; font-size: var(--t-md); max-width: 40em; }

/* ---------- works index ---------- */
.grid-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) var(--gutter); }

/* ---------- work detail ---------- */
.work { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: var(--s4); }
.work__views, .work__more { grid-column: 1 / span 8; }
.work__info { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.work__sticky { position: sticky; top: 112px; padding-top: 8px; }
.work__more .view { margin-top: var(--gutter); }
.view { margin: 0; }
.mat--view { padding: clamp(24px, 5vw, 80px); cursor: zoom-in; }
.mat--view .pic { width: min(100%, calc(min(78vh, 1100px) * var(--ar))); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 18px 40px -20px rgb(0 0 0 / .3); }
.view__cap { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 12px; }
.work__title { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.75rem); line-height: 1; letter-spacing: -0.015em; margin: 6px 0 10px; }
.work__artist { margin: 0 0 var(--s4); }
.facts { margin: 0 0 var(--s4); border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 8.5em 1fr; gap: var(--s2); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.work__note { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; margin-bottom: var(--s4); }
.work__mail { font-size: var(--t-sm); margin-top: var(--s2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px; font: 500 var(--t-sm)/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn:hover { background: #333; border-color: #333; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: var(--s3); margin-top: var(--s6); padding-block: 22px; border-top: 1px solid var(--ink); }
.pager a { text-decoration: none; }
.pager .label { display: block; margin-bottom: 4px; }
.pager cite { font-size: 1.375rem; line-height: 1.15; }
.pager a:hover cite { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.pager__next { text-align: right; }
.pager__all { font-size: var(--t-sm); border-bottom: 1px solid var(--ink); align-self: end; margin-bottom: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--s4); }
.about__lead { grid-column: 1 / span 9; }
.about__body { grid-column: 5 / span 6; font-size: 1.0625rem; }
.about__image { margin: var(--s6) auto 0; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--gutter); padding-top: var(--s6); }
.about-cols > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.about-cols .label { color: var(--ink); }
.addr { color: var(--ink-2); font-size: var(--t-sm); margin-top: var(--s2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--s5); }
.contact__info { grid-column: 1 / span 5; }
.contact__info .lead { margin-bottom: var(--s5); max-width: 22em; }
.facts--contact > div { grid-template-columns: 6em 1fr; }
.form { grid-column: 7 / span 6; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s3); flex: 1; }
.field-row { display: flex; gap: var(--s3); }
.field label { font-size: var(--t-sm); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-2);
  padding: 10px 0; border-radius: 0; width: 100%; transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 1px center / 5px 5px no-repeat; padding-right: 24px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 9em; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form__foot { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.form__note { font-size: var(--t-xs); margin: 0; max-width: 22em; }

/* ---------- poetry ---------- */
.page-head--rose .h-page { font-size: var(--t-display); line-height: .92; letter-spacing: -0.025em; }
.social { font-size: var(--t-sm); color: var(--ink-2); margin-top: var(--s3); }
.social a { margin-left: 14px; color: var(--ink); }
.book { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; background: var(--mat); padding-block: clamp(40px, 6vw, 96px); max-width: calc(var(--max) - 2 * var(--gutter)); }
.book__cover { grid-column: 2 / span 3; }
.book__cover .pic { box-shadow: 0 24px 48px -22px rgb(0 0 0 / .4); }
.book__text { grid-column: 6 / span 6; }
.book__title { font-size: var(--t-xl); line-height: 1; margin-bottom: 8px; }
.book__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s3); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-row { display: grid; grid-template-columns: 2fr 7fr 3fr; gap: var(--gutter); align-items: start; padding-block: var(--s4); border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list li:first-child .post-row { padding-top: 0; }
.post-row time { font-size: var(--t-sm); color: var(--ink-2); padding-top: .55em; }
.post-row__title { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.15; margin-bottom: 10px; }
.post-row__ex { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.45; margin: 0; }
.post-row__img { justify-self: end; width: min(160px, 100%); }
.post-row__img .pic { aspect-ratio: 1; }
.post-row__img .pic img { object-fit: cover; }
.post-row:hover .post-row__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

.post { max-width: 50rem; padding-top: clamp(40px, 7vw, 112px); }
.post__head { text-align: center; margin-bottom: var(--s5); }
.post__title { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 14px; }
.post__body { max-width: 34rem; margin-inline: auto; }
.post__fig { margin: 0 auto var(--s5); max-width: 560px; }
.post__fig figcaption { font-family: var(--serif); font-style: italic; text-align: center; color: var(--ink-2); margin-top: 14px; line-height: 1.4; }
.poem { font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.45; }
.poem p { margin-bottom: 1.1em; }
.poem__title { font-family: var(--sans); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 18px; font-weight: 500; }
.asterism { border: 0; height: auto; margin: var(--s5) 0; text-align: center; }
.asterism::after { content: "⁂"; font-family: var(--serif); color: var(--ink-2); font-size: 1.25rem; }
.post__rich h2 { font-family: var(--serif); font-size: var(--t-lg); margin-bottom: var(--s2); }
.post__rich { font-size: 1.0625rem; }
.post + .pager { max-width: 50rem; }

.notfound { min-height: 45vh; }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--s6); background: var(--ink); color: #cfcdc7; padding-block: var(--s5) calc(var(--s4) + env(safe-area-inset-bottom)); font-size: var(--t-sm); }
.site-footer a { color: #f5f4f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .muted, .site-footer .label { color: #8d8b86; }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--s4); }
.site-footer__id { grid-column: 1 / span 4; }
.site-footer__name { font-family: var(--serif); font-size: 2rem; color: #f5f4f0; line-height: 1; margin-bottom: 8px; }
.site-footer__addr { grid-column: 6 / span 3; }
.site-footer__contact { grid-column: 9 / span 4; }
.site-footer .label { display: block; margin-bottom: 10px; }
.site-footer__nav { grid-column: 1 / span 8; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: var(--s3); border-top: 1px solid #333; }
.site-footer__legal { grid-column: 9 / span 4; margin: 0; padding-top: var(--s3); border-top: 1px solid #333; }

/* ---------- viewer ---------- */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--viewer); color: #eee; }
.viewer::backdrop { background: var(--viewer); }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .25s var(--ease); }
.viewer__stage { display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) clamp(16px, 6vw, 96px) 0; min-height: 0; touch-action: pan-y; }
.viewer__stage img { max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 3vw, 40px) calc(18px + env(safe-area-inset-bottom)); font-size: var(--t-sm); }
.viewer__cap { font-family: var(--serif); font-style: italic; font-size: 1.125rem; }
.viewer__ctl { display: flex; gap: 6px; align-items: center; }
.viewer__ctl span { color: #8d8b86; margin-right: 10px; font-variant-numeric: tabular-nums; }
.viewer button { font: inherit; color: #eee; background: transparent; border: 1px solid #3a3a3a; border-radius: 999px; min-width: 44px; height: 44px; padding: 0 16px; cursor: pointer; }
.viewer button:hover { border-color: #eee; }
.viewer button[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- details ---------- */
.nw { white-space: nowrap; }
.display, .h-page, .h-section, .lead, .lead-xl, .post__title, .post-row__title, .work__title { text-wrap: balance; }
.prose p, .post-row__ex { text-wrap: pretty; }
main:has(> .pager:last-child) + .site-footer { margin-top: 0; }
main > .pager:last-child { margin-bottom: var(--s5); }

/* ---------- installation project ---------- */
/* One frame, held: every plate is the same drawing at the same size; only the plant changes. */
.un { color: var(--ink-2); }
.dwg { display: block; width: 100%; height: auto; }

.project-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; padding-block: clamp(40px, 6.5vw, 104px) 0; }
.project-head__main { grid-column: 1 / span 8; }
.project-head__title { font-family: var(--serif); font-size: var(--t-display); line-height: .92; letter-spacing: -0.025em; margin-left: -0.05em; }
.project-head__materials { margin: 22px 0 0; font-size: var(--t-md); }
.project-head__stand { grid-column: 9 / span 4; margin: 0; max-width: 24em; text-wrap: pretty; }

.plate-row { overflow-x: clip; padding-top: clamp(8px, 2vw, 32px); }   /* the horizon runs out to the screen edges */
.plate { margin-block: 0; }
.plate__frame { position: relative; aspect-ratio: 1600 / 600; }
.plate__frame .dwg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plate__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-top: 18px; padding-left: calc(260 / 1600 * 100%); font-size: var(--t-sm); color: var(--ink-2); }
.plate__num { font-family: var(--serif); font-size: 1.375rem; line-height: 1.1; min-width: 1.5em; margin-right: -4px; }
.plate__title { font-family: var(--serif); font-size: 1.375rem; line-height: 1.1; color: var(--ink); }

.passage-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: var(--s6); }
.passage p:last-child { margin-bottom: 0; }
.passage p { text-wrap: pretty; }
.passage--serif { font-family: var(--serif); font-size: clamp(1.3125rem, 1.1rem + .7vw, 1.75rem); line-height: 1.36; letter-spacing: -0.003em; }
.passage--serif p { margin-bottom: 1.1em; }
.passage--sans { font-size: 1.0625rem; line-height: 1.6; }
.passage--prologue { grid-column: 3 / span 6; }
.passage--pivot { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.passage--pivot p:first-child { grid-column: 2 / span 9; font-family: var(--serif); font-size: var(--t-xl); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; margin-bottom: var(--s4); }
.passage--pivot p + p { grid-column: 7 / span 4; font-size: 1.0625rem; line-height: 1.6; }
.passage--right { grid-column: 8 / span 4; }
.passage--left { grid-column: 2 / span 4; }
.passage--centre { grid-column: 5 / span 5; }
.passage--centre p + p { margin-top: 1.2em; }

.colophon { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--s5); margin-top: clamp(120px, 20vw, 320px); font-size: var(--t-sm); }
.colophon > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.colophon__entry { grid-column: 1 / span 5; }
.colophon__enquiry { grid-column: 8 / span 5; }
.colophon__work { font-size: var(--t-md); line-height: 1.3; margin-bottom: 14px; }
.colophon__work cite { font-size: 1.375rem; }
.colophon__lines { list-style: none; margin: 0; padding: 0; color: var(--ink-2); line-height: 1.65; }
.colophon__enquiry .label { color: var(--ink); }
.colophon__enquiry .muted a { color: var(--ink-2); }

.hero + .project-teaser { padding-top: 0; }
.project-teaser + .feature { padding-top: var(--s6); }
.project-teaser__link { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; text-decoration: none; }
.project-teaser__media { grid-column: 1 / span 8; padding: clamp(12px, 3vw, 48px); }
.project-teaser__media img { width: 100%; height: auto; }
.project-teaser__text { grid-column: 9 / span 4; }
.project-teaser__title { font-family: var(--serif); font-size: var(--t-xl); line-height: 1; letter-spacing: -0.015em; margin-bottom: 10px; }
.project-teaser__link:hover .project-teaser__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.project-teaser__link:hover .project-teaser__media { background: #e4e2db; }
.project-teaser__media { transition: background-color .35s var(--ease); }

.rose-note { padding-top: var(--s6); }
.rose-note__link { display: flex; align-items: center; gap: var(--s3); padding-top: 18px; border-top: 1px solid var(--line); text-decoration: none; font-size: var(--t-sm); color: var(--ink-2); }
.rose-note__cover { flex: 0 0 40px; }
.rose-note__cover .pic { aspect-ratio: auto; }
.rose-note__text { display: flex; flex-direction: column; gap: 2px; }
.rose-note__text .label { margin: 0; }
.rose-note__text cite { font-size: 1.0625rem; color: var(--ink); }
.rose-note__arrow { margin-left: auto; transition: transform .25s var(--ease); }
.rose-note__link:hover { color: var(--ink); }
.rose-note__link:hover .rose-note__arrow { transform: translateX(3px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-works { grid-template-columns: repeat(2, 1fr); }
  .hero .display { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / span 7; margin-top: var(--s4); }
}
@media (max-width: 900px) {
  .wordmark__house { display: none; }
  .selected > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .selected .s-b, .selected .s-d, .selected .s-f { width: 78%; justify-self: end; }
  .selected .s-c, .selected .s-e { width: 78%; }
  .split__media, .split__text, .rose-teaser__text, .about__lead, .about__body, .contact__info, .form { grid-column: 1 / -1; }
  .split__text { margin-top: var(--s4); }
  .rose-teaser__cover { grid-column: 1 / span 6; margin-bottom: var(--s4); }
  .work__views, .work__more, .work__info { grid-column: 1 / -1; grid-row: auto; }
  .work__sticky { position: static; padding-top: var(--s4); }
  .work__more { margin-top: var(--s4); }
  .about-cols { grid-template-columns: 1fr; }
  .project-teaser__media, .project-teaser__text, .project-head__main, .project-head__stand, .colophon__entry, .colophon__enquiry { grid-column: 1 / -1; }
  .project-head__stand { margin-top: var(--s4); max-width: 32em; }
  .passage--prologue { grid-column: 1 / span 11; }
  .passage--pivot p:first-child { grid-column: 1 / -1; }
  .passage--pivot p + p, .passage--right { grid-column: 5 / -1; }
  .passage--left { grid-column: 1 / span 8; }
  .passage--centre { grid-column: 3 / -1; }
  .project-teaser__text { margin-top: var(--s3); }
  .book__cover { grid-column: 3 / span 8; margin-bottom: var(--s4); }
  .book__text { grid-column: 1 / -1; padding-inline: var(--s2); }
  .book { padding-inline: var(--gutter); }
  .post-row { grid-template-columns: 1fr 96px; }
  .post-row time { grid-column: 1 / -1; padding: 0; }
  .post-row__text { grid-column: 1; }
  .site-footer__id, .site-footer__addr, .site-footer__contact, .site-footer__nav, .site-footer__legal { grid-column: 1 / -1; }
  .site-footer__legal { border-top: 0; padding-top: 0; }
}
@media (max-width: 640px) {
  .site-header__inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 16px 12px; }
  .site-nav { gap: 20px; }
  .hero__aside { grid-column: 1 / -1; }
  .grid-works { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .facts--contact > div { grid-template-columns: 1fr; gap: 2px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { display: none; }
  .pager cite { font-size: 1.125rem; }
  .viewer__cap { font-size: 1rem; }
  .plate__frame { aspect-ratio: 1.85; }
  .plate__cap { padding-left: 0; }
  .passage-row > .passage, .passage--pivot p:first-child, .passage--pivot p + p { grid-column: 1 / -1; }
  .project-head__title { font-size: clamp(2.75rem, 13vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .pic img { opacity: 1; }
}
@media print {
  .site-header, .site-footer, .pager, .btn, .form { display: none; }
  body { background: #fff; }
}
