/* Selva — component styles. Every value comes from tokens.css. */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.42; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, ul, ol { margin: 0; padding: 0; }
h1, h2, h3, .t-h1, .t-h2, .t-h3 { text-wrap: balance; }
p, li, td { text-wrap: pretty; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--bg); padding: 8px 12px; }

/* text links: the same type in grey, ink on hover */
.link { color: var(--muted-ink); transition: color var(--dur-fast) var(--ease); }
.link:hover, .link:focus-visible { color: var(--text); }
p .link { display: inline; }
.cols .link, .stack .link, .tx .link { display: inline-block; margin-top: 29px; }

/* the one button (forms, shared heroes): square ink, white 14px label, an arrow that nudges on hover; --light on photos */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 20px; background: var(--text); color: var(--white); font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: 0; border: 0; border-radius: 0; cursor: pointer; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--text-2); }
.btn svg { width: 13px; height: 12px; flex: none; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: var(--white); color: var(--text); }
.btn--light:hover, .btn--light:focus-visible { background: var(--surface); }

/* ── Header: text links, inline sub-links, local time ── */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: var(--bg); }
.nav { display: flex; align-items: center; gap: 26px; height: 100%; padding: 0 var(--gutter); }
.nav__brand { font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1; letter-spacing: -.3px; text-transform: uppercase; margin-right: 18px; }
.nav__list { display: flex; gap: 26px; }
.nav__item { display: flex; align-items: baseline; }
.nav__link, .nav__time { font-size: 22px; line-height: 1.2; letter-spacing: -.44px; }
.nav__link { color: var(--text); transition: color var(--dur-fast) var(--ease); }
.nav__link[aria-current="page"]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; }
/* dropdown: a stone panel drops under the whole header — label left, sub-links large in the serif from the 50% line, a project photo at the right */
.site-head { isolation: isolate; }
.nav__list { align-self: stretch; }
.nav__item { align-items: center; }
.nav__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); min-height: 228px; padding: 26px var(--gutter) 30px; background: var(--surface); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .32s var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s; }
.nav__panel > * { transition: opacity .32s var(--ease), transform .5s var(--ease-out); }
.nav__item.is-open .nav__panel, .nav__item:focus-within .nav__panel { z-index: -1; opacity: 1; visibility: visible; transform: none; transition: opacity .32s var(--ease), transform .5s var(--ease-out), visibility 0s; }
/* switching Work ↔ Studio: the stone panel stays put, only its contents crossfade */
.site-head.is-switching .nav__panel { transform: none; transition: opacity .2s var(--ease) .22s, visibility 0s linear .42s; }
.site-head.is-switching .nav__item.is-open .nav__panel { transition: opacity 0s, visibility 0s; }
.site-head.is-switching .nav__panel > * { opacity: 0; transform: translateY(4px); transition: opacity .12s var(--ease), transform .3s var(--ease-out); }
.site-head.is-switching .nav__item.is-open .nav__panel > * { opacity: 1; transform: none; transition: opacity .28s var(--ease) .1s, transform .45s var(--ease-out) .1s; }
html:not(.js) .nav__item:hover .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel-label { grid-column: 1; font-size: 12px; line-height: 1.2; letter-spacing: .5px; text-transform: uppercase; color: var(--muted-ink); }
.nav__panel-links { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; max-width: 360px; }
.nav__panel-links a { display: block; padding: 9px 0 10px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 30px; line-height: 1.1; letter-spacing: -.6px; color: var(--text); transition: color var(--dur-fast) var(--ease); }
.nav__panel-links li:last-child a { border-bottom: 1px solid var(--line); }
.nav__panel-links a:hover, .nav__panel-links a:focus-visible { color: var(--accent-ink); }
.nav__panel-photo { grid-column: 2; grid-row: 1; justify-self: end; display: grid; gap: 8px; width: 240px; }
.nav__panel-photo img { width: 240px; height: 160px; object-fit: cover; }
.nav__panel-photo span { font-size: 12px; line-height: 1.2; color: var(--text); }
.site-head.is-menu .nav__link { color: var(--muted-ink); }
.site-head.is-menu .nav__item.is-open .nav__link, .nav__link:hover { color: var(--text); }
.nav__time { margin-left: auto; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.nav__toggle { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.4px; background: currentColor; transition: transform var(--dur-fast) var(--ease); }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: var(--head-h) 0 0; background: var(--bg); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; }
.menu[hidden] { display: none; }
.menu a { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1.15; letter-spacing: -1px; }
.menu__foot { margin-top: auto; color: var(--muted-ink); font-size: 17px; }

/* ── Shared frame ── */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* captions on photos: type in caps at the left, title from the photo's half */
.cap { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 0 16px; color: var(--on-photo); font-size: 12px; line-height: 1.2; letter-spacing: -.12px; z-index: 2; }
/* captions sit at the photo's foot on a soft fade (.cap--mid kept as an alias for older markup) */
.cap--foot, .cap--mid { top: auto; bottom: 0; padding: 84px 16px 15px; background: linear-gradient(180deg, rgba(20, 20, 18, 0), rgba(20, 20, 18, .42) 45%, rgba(20, 20, 18, .78)); }
.cap__type { text-transform: uppercase; letter-spacing: .5px; }

/* ── Hero: wordmark, meta row, crossfading plate ── */
.hero { padding-top: 6px; padding-bottom: var(--gutter); display: flex; flex-direction: column; min-height: clamp(720px, calc(100vh - var(--head-h)), 960px); min-height: clamp(720px, calc(100svh - var(--head-h)), 960px); }
.hero__mark { font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-optical-sizing: auto; text-transform: uppercase; font-size: 32.5vw; line-height: .62; letter-spacing: 0; margin: 0 0 0 -.012em; padding: .076em 0 .07em; white-space: nowrap; }
.hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; padding: 14px 0 14px; color: var(--text); font-size: 14px; line-height: 1.3; }
.hero__meta-r { display: flex; justify-content: space-between; gap: 24px; }
.hero__count { flex: none; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.hero__count span { color: var(--accent-ink); }
.hero__plate { position: relative; flex: 1; min-height: 380px; overflow: hidden; background: var(--surface-2); }
.hero__frame { position: absolute; inset: 0; opacity: 0; transition: opacity var(--hero-fade) var(--ease); }
.hero__frame.is-on { opacity: 1; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero__frame.is-on img { transform: scale(1); }
.static .hero__frame img { transform: none; }

/* ── Statements ── */
.stmt { padding-top: var(--s-sm); padding-bottom: var(--s-sm); }
.stmt__text { max-width: 1400px; text-wrap: pretty; }
.foot__title { text-wrap: pretty; }
.stmt--first { padding-top: 58px; padding-bottom: 62px; }
.stmt--ruled { padding-top: 0; padding-bottom: var(--s-xs); }
.stmt--ruled::before, .rule::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 56px; }

/* ── Photo pair (two tall tiles with overlaid caption rows) ── */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.tile { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
a.tile:hover img { transform: scale(1.03); }
.tile--tall { aspect-ratio: 689 / 861; }
.tile--wide { aspect-ratio: 689 / 515; }
.tile--short { aspect-ratio: 454 / 365; }
.tile--port { aspect-ratio: 454 / 591; }
.tile--full { aspect-ratio: 1408 / 760; }

/* ── Two-column text (right half) ── */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.cols__right { grid-column: 2; max-width: 650px; }

/* ── Now in the studio (hairline table) ── */
.now { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.now__head { display: flex; flex-direction: column; gap: 10px; }
.now__note { color: var(--muted-ink); max-width: 300px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.3; letter-spacing: -.1px; }
.table th { text-align: left; font-weight: 400; color: var(--muted-ink); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table td:first-child { text-transform: uppercase; letter-spacing: .5px; font-size: 12px; }
.table tr { transition: background var(--dur-fast) var(--ease); }
.table tbody tr:hover { background: var(--accent-soft); }

/* ── Gallery + text ── */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: 64px; }
.stack::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.stack__media { display: grid; gap: var(--gutter); }
.stack__text { position: sticky; top: calc(var(--head-h) + 20px); align-self: start; max-width: 680px; }

.totop { padding: 0 var(--gutter) 48px; }
.totop a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--text); }
.totop svg { width: 15px; height: 19px; transition: transform var(--dur-fast) var(--ease); }
.totop a:hover svg { transform: translateY(-3px); }

/* ── Footer: stone band with the closing statement and the wordmark ── */
.site-foot { background: var(--surface); padding: 96px var(--gutter) 0; display: flex; flex-direction: column; min-height: 900px; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); position: relative; }
.foot__title { max-width: 560px; }
.foot__contact { display: grid; gap: 24px; padding-right: 140px; }
.foot__contact a:not(.link) { transition: color var(--dur-fast) var(--ease); }
.foot__contact a:not(.link):hover { color: var(--accent-ink); }
.foot__stamp { position: absolute; right: 0; top: 0; width: 104px; height: 104px; color: var(--text); }
.foot__stamp text { fill: currentColor; font-family: var(--font); font-weight: 500; }
.foot__legal { margin: 110px 0 0 calc(50% + var(--gutter) / 2); display: grid; gap: 10px; color: var(--text-2); max-width: 600px; }
.foot__legal a { margin-left: 18px; color: var(--text-2); transition: color var(--dur-fast) var(--ease); }
.foot__legal a:hover { color: var(--accent-ink); }
.foot__mark { margin-top: auto; font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-optical-sizing: auto; text-transform: uppercase; font-size: 32.5vw; line-height: .76; letter-spacing: 0; white-space: nowrap; margin-left: -.012em; padding-top: 60px; transform: translateY(.03em); }

/* ── Inner-page building blocks (work, project, studio, contact) live below as pages are added ── */

/* ── Tablet ── */
@media (max-width: 1100px) {
  .t-h1, .t-h2 { font-size: 46px; letter-spacing: -1.3px; }
  .t-lead { font-size: 21px; }
  .nav__link, .nav__time { font-size: 19px; }
  .nav__panel-photo { display: none; }
  .foot__contact { padding-right: 110px; }
}
/* ── Phone menu ── */
@media (max-width: 900px) {
  .nav__list, .nav__time { display: none; }
  .nav__brand { display: block; }
  .nav__toggle { display: block; }
  .pair, .cols, .now, .stack, .foot__top { grid-template-columns: 1fr; }
  .cols__right { grid-column: 1; }
  .stack__text { position: static; }
  .foot__contact { padding-right: 0; }
  .foot__stamp { position: static; order: 3; }
  .foot__legal { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --section: 72px; --s-sm: 44px; --s-xs: 32px; }
  .t-h1, .t-h2 { font-size: 34px; line-height: 1.08; letter-spacing: -.8px; }
  .t-h3 { font-size: 28px; }
  .t-lead { font-size: 19px; line-height: 1.34; }
  .hero { min-height: auto; }
  .hero__meta { grid-template-columns: 1fr; gap: 6px; padding: 14px 0 12px; }
  .hero__plate { flex: none; min-height: 0; aspect-ratio: 4 / 5; }
  .stmt--first { padding-top: 36px; padding-bottom: 40px; }
  .stmt--ruled::before, .rule::before { margin-bottom: 32px; }
  .pair { gap: 10px; }
  .cap { grid-template-columns: 1fr; gap: 4px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
  .site-foot { padding-top: 64px; min-height: 0; }
  .foot__legal { margin-top: 56px; }
}

/* ───────── Contact ───────── */
/* Selva — contact + process & fees pages (prefixes ct- / pr-). Tokens only. */

/* ── Shared by both pages: the meta row under the header (label left, label at 50%) ── */
.ct-meta, .pr-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 43px; }
.pricing .pr-meta { padding-top: 60px; }
.ct-meta p, .pr-meta p { color: var(--muted-ink); }

/* ════════ CONTACT ════════ */
.contact .ct-top { background: var(--surface); padding-bottom: var(--section); }
.contact .site-head { background: var(--surface); transition: background-color var(--dur-fast) var(--ease); }
.contact .site-head.ct-off-stone { background: var(--bg); }
.contact .nav__panel { box-shadow: inset 0 -1px 0 var(--line); }
.contact .ct-stmt { margin: 44px 0 var(--s-sm); max-width: 1240px; }
.ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }

/* quiet form: square hairline fields, bottom border only */
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px var(--gutter); padding-right: 48px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { color: var(--text); }
.ct-input { width: 100%; margin: 0; padding: 6px 0 11px; font-family: var(--font); font-size: 17px; line-height: 1.42; letter-spacing: -.17px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--muted-ink); border-radius: var(--r); -webkit-appearance: none; appearance: none; outline: none; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.ct-input::placeholder { color: var(--muted-ink); opacity: 1; }
.ct-input:hover { border-bottom-color: var(--text); }
.ct-input:focus, .ct-input:focus-visible { border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); outline: none; }
.ct-input:user-invalid { border-bottom-color: var(--danger); }
textarea.ct-input { resize: vertical; min-height: 128px; }
select.ct-input { padding-right: 28px; cursor: pointer; }
.ct-field--select::after { content: ""; position: absolute; right: 4px; bottom: 21px; width: 7px; height: 7px; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); transform: rotate(45deg); pointer-events: none; }
.ct-send { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 6px; }
.ct-note { color: var(--muted-ink); }

/* right half: details in reading text, then a place */
.ct-info { display: grid; gap: 56px; }
.ct-lines { display: grid; gap: 24px; }
.ct-place { margin: 0; }

/* visiting the studio */
.contact .ct-visit { padding-top: 96px; padding-bottom: 64px; }
.contact .ct-visit::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 56px; }
.ct-visit__h { margin-bottom: var(--s-xs); }
.ct-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.ct-visit__grid .tile { margin: 0; }
.ct-visit__text { max-width: 620px; display: grid; gap: 18px; position: sticky; top: calc(var(--head-h) + 20px); }
.ct-bring__h { margin-top: 40px; }
.ct-bring td:first-child { width: 110px; }

/* ════════ PROCESS & FEES ════════ */
.pricing .pr-stmt { margin-top: 44px; max-width: 1340px; }
.pr-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; padding: 48px 0 var(--section); }
.pr-pick__label { color: var(--muted-ink); }

/* text toggle: grey text buttons; pressed = ink with the 6px accent dot */
.pr-switch { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.pr-tab { font-family: var(--font); font-size: 24px; line-height: 1.2; letter-spacing: -.48px; color: var(--muted-ink); transition: color var(--dur-fast) var(--ease); }
.pr-tab:hover { color: var(--text); }
.pr-tab[aria-pressed="true"] { color: var(--text); }
.pr-tab[aria-pressed="true"]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; }

/* three ways: hairline columns, not cards */
.pr-ways { padding-bottom: var(--section); }
.pr-ways::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 56px; }
.pr-ways__h { margin-bottom: var(--s-sm); }
.pr-ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.pr-way { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; }
.pr-way__fee { margin-top: 48px; }
.pr-way__unit { margin-top: 8px; color: var(--muted-ink); }
.pr-way__list { margin-top: 32px; }
.pr-way__list li { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.pr-way__list li:first-child { border-top: 1px solid var(--line-2); }
.pr-way__link { margin-top: auto; padding-top: 28px; align-self: flex-start; }

/* stages table (reuses .now + .table) */
.pr-stages .now__note { max-width: 340px; }
.pr-stages .pr-switch { margin-top: 26px; }
.pr-table td:nth-child(2), .pr-table td:nth-child(4), .pr-table th:nth-child(2), .pr-table th:nth-child(4) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-table td:first-child { width: 30%; }
.pr-table tfoot td { padding-top: 10px; border-bottom: 0; color: var(--text); }

/* questions: heading left, hairline list right */
.pr-faq { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.pr-faq::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.pr-faq__h { max-width: 520px; align-self: start; position: sticky; top: calc(var(--head-h) + 20px); }
.pr-faq__list { border-bottom: 1px solid var(--line); }
.pr-q { border-top: 1px solid var(--line); }
.pr-q summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 13px 0 15px; cursor: pointer; list-style: none; transition: color var(--dur-fast) var(--ease); }
.pr-q summary::-webkit-details-marker { display: none; }
.pr-q summary:hover { color: var(--text-2); }
.pr-plus { position: relative; flex: none; width: 13px; height: 13px; align-self: center; transition: transform var(--dur-fast) var(--ease); }
.pr-plus::before, .pr-plus::after { content: ""; position: absolute; background: currentColor; }
.pr-plus::before { left: 0; right: 0; top: 6px; height: 1px; }
.pr-plus::after { top: 0; bottom: 0; left: 6px; width: 1px; }
.pr-q[open] .pr-plus { transform: rotate(45deg); }
.pr-q p { max-width: 560px; padding: 0 0 24px; color: var(--text-2); }

/* photo band */
.pr-band { padding-bottom: 64px; }
.pr-band .tile { margin: 0; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .ct-form { padding-right: 16px; }
  .pr-way__fee { margin-top: 36px; }
}
/* ── Phone menu width ── */
@media (max-width: 900px) {
  .ct-split, .ct-visit__grid, .pr-faq, .pr-pick { grid-template-columns: 1fr; }
  .ct-split { gap: 72px; }
  .ct-form { padding-right: 0; }
  .ct-visit__grid { gap: 40px; }
  .ct-visit__text { position: static; }
  .pr-ways__grid { grid-template-columns: 1fr; gap: 48px; }
  .pr-way__fee { margin-top: 28px; }
  .pr-pick { gap: 12px; }
  .pr-faq__h { margin-bottom: 32px; position: static; }
}
@media (max-width: 640px) {
  .ct-meta, .pr-meta { grid-template-columns: 1fr; gap: 6px; padding-top: 16px; }
  .pricing .pr-meta { padding-top: 40px; }
  .contact .ct-stmt, .pricing .pr-stmt { margin-top: 28px; }
  .ct-form { grid-template-columns: 1fr; gap: 28px; }
  .contact .ct-visit { padding-top: 64px; }
  .contact .ct-visit::before, .pr-ways::before { margin-bottom: 32px; }
  .pr-tab { font-size: 19px; }
  .pr-table td:first-child { width: auto; }
  .ct-info { gap: 40px; }
  .pr-band .cap { grid-template-columns: 1fr 1fr; gap: var(--gutter); }
}

/* ───────── Illustrations ───────── */
/* Selva — drawing kit catalogue (body.ilcat). Prefix ic-. Tokens only. The kit itself lives in ../illustrations.css. */

/* ── intro: title left, method in the right half ── */
.ic-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; padding-top: 58px; padding-bottom: 110px; }
.ic-head__title { max-width: 640px; }
.ic-head__text { max-width: 650px; padding-top: 12px; }

/* ── the pens: one hairline row of specimens ── */
.ic-pens { padding-bottom: 110px; }
.ic-pens__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--gutter); }
.ic-part { display: grid; gap: 4px; align-content: start; }
.ilcat .ic-part__il { aspect-ratio: 160 / 60; max-width: 160px; }
/* the specimen boards are 160 wide (not the 2× board): set the pens at their 1:1 display weight */
.ilcat .ic-part__il .il-line { stroke-width: 1.1; }
.ilcat .ic-part__il .il-thin { stroke-width: .6; }
.ilcat .ic-part__il .il-dash { stroke-width: .8; stroke-dasharray: 4 3.5; }
.ilcat .ic-part__il .il-ground { stroke-width: 1.6; }
.ilcat .ic-part__il .il-hatch { stroke-width: .55; }
.ilcat .ic-part__il .il-dims { stroke-width: .6; }
.ilcat .ic-part__il .il-dot { r: 3px; }

/* ── the sheet: eight drawings, two by two, in hairline frames ── */
.ic-sheet { padding-bottom: 120px; }
.ic-sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gutter); }
.ic-fig .il-cap { max-width: 560px; }

@media (max-width: 1100px) {
  .ic-pens__row { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .ic-head { grid-template-columns: 1fr; gap: 24px; padding-bottom: 80px; }
  .ic-sheet__grid { grid-template-columns: 1fr; gap: 40px; }
  .ic-pens { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .ic-head { padding-top: 36px; padding-bottom: 64px; }
  .ic-pens__row { grid-template-columns: repeat(2, 1fr); }
  .ic-sheet { padding-bottom: 90px; }
  /* the specimens stay 1:1 on phones (the kit's phone weights are for the 2× board) */
  .ilcat .ic-part__il .il-line { stroke-width: 1.1; }
  .ilcat .ic-part__il .il-thin { stroke-width: .6; }
  .ilcat .ic-part__il .il-dash { stroke-width: .8; stroke-dasharray: 4 3.5; }
  .ilcat .ic-part__il .il-ground { stroke-width: 1.6; }
  .ilcat .ic-part__il .il-hatch { stroke-width: .55; }
  .ilcat .ic-part__il .il-dims { stroke-width: .6; }
}

/* ───────── Project ───────── */
/* Selva — project page (Wildflower House). Prefix pj-, scoped under body.project. Tokens only. */

/* project top: full-bleed section, the text rows carry the gutter */
.project .pj-top { padding-left: 0; padding-right: 0; }
.project .pj-head, .project .pj-intro { padding-left: var(--gutter); padding-right: var(--gutter); }

/* rule row: name in caps at the left, project line from the 50% column */
.project .pj-head { padding-top: 64px; }
.project .pj-head::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 18px; }
.project .pj-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.project .pj-head::before { grid-column: 1 / -1; }
.project .pj-head__name { font-weight: 400; }
.project .pj-head__line { font-size: 12px; line-height: 1.2; letter-spacing: -.12px; }

/* intro statement */
.project .pj-intro { padding-top: 52px; padding-bottom: 96px; }
.project .pj-intro__text { max-width: 1400px; text-wrap: pretty; }

/* full-bleed photo, edge to edge */
.project .pj-bleed { margin: 0; background: var(--surface-2); aspect-ratio: 1440 / 860; overflow: hidden; }
.project .pj-bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* rule; scope + credits lists left, brief right */
.project .pj-about { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 96px; padding-bottom: 110px; }
.project .pj-about::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.project .pj-lists { display: grid; gap: 22px; align-content: start; }
.project .pj-list { display: grid; grid-template-columns: 164px 1fr; gap: var(--gutter); font-size: 12px; line-height: 1.25; letter-spacing: -.1px; }
.project .pj-list__label { font-weight: 400; align-self: start; }
.project .pj-list__items li { display: block; }
.project .pj-about__text { display: grid; gap: 1.1em; max-width: 580px; color: var(--text); }

/* gallery rhythm */
.project .pj-gallery { display: grid; gap: 96px; padding-bottom: 110px; }
.project .pj-gallery figure { margin: 0; }
.project .pj-inset, .project .pj-night { justify-self: center; }
.project .pj-inset { width: min(1140px, 100%); margin: 0 auto; aspect-ratio: 1600 / 615; overflow: hidden; background: var(--surface-2); }
.project .pj-inset img, .project .pj-night img, .project .pj-ground img { width: 100%; height: 100%; object-fit: cover; }
.project .pj-note { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.project .pj-note__text { grid-column: 2; max-width: 560px; }
.project .pj-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.project .pj-ground { display: grid; place-items: center; aspect-ratio: 689 / 861; background: var(--surface-2); }
.project .pj-ground img { width: 58%; height: auto; aspect-ratio: 3 / 4; }
.project .pj-night { display: grid; place-items: center; width: min(1140px, 100%); margin: 0 auto; aspect-ratio: 1140 / 760; background: var(--night); }
.project .pj-night img { width: 66%; height: auto; aspect-ratio: 3 / 2; }

/* facts row: four hairline cells, the third on the 50% line */
.project .pj-facts { padding-bottom: 110px; }
.project .pj-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin: 0; }
.project .pj-fact { border-top: 1px solid var(--line); padding-top: 12px; }
.project .pj-fact dt { font-size: 12px; line-height: 1.2; letter-spacing: .2px; text-transform: uppercase; color: var(--muted-ink); }
.project .pj-fact dd { margin: 6px 0 0; font-size: 14px; line-height: 1.32; letter-spacing: -.1px; }

/* more work */
.project .pj-more { padding-bottom: 96px; }
.project .pj-more::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 18px; }
.project .pj-more__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; margin-bottom: 40px; }
.project .pj-more__head .t-label { font-weight: 400; align-self: start; }
.project .pj-more__all { justify-self: start; }
.project .pj-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.project .pj-tile { display: block; }
.project .pj-tile:hover .tile img, .project .pj-tile:focus-visible .tile img { transform: scale(1.03); }
.project .pj-tile .tile { margin: 0; }
.project .pj-tile__cap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 10px; font-size: 12px; line-height: 1.2; letter-spacing: -.12px; color: var(--text); }
.project .pj-tile__type { text-transform: uppercase; letter-spacing: .2px; }

/* tablet */
@media (max-width: 1100px) {
  .project .pj-gallery { gap: 80px; }
}
@media (max-width: 900px) {
  .project .pj-head { padding-top: 48px; grid-template-columns: 1fr; row-gap: 8px; }
  .project .pj-about { grid-template-columns: 1fr; gap: 48px; }
  .project .pj-about::before { margin-bottom: 0; }
  .project .pj-note { grid-template-columns: 1fr; }
  .project .pj-note__text { grid-column: 1; }
  .project .pj-two { gap: 10px; }
  .project .pj-facts__grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .project .pj-tile__cap { grid-template-columns: 1fr; gap: 3px; }
}
/* phone */
@media (max-width: 640px) {
  .project .pj-head { padding-top: 36px; }
  .project .pj-intro { padding-top: 32px; padding-bottom: 56px; }
  .project .pj-bleed { aspect-ratio: 4 / 3; }
  .project .pj-about { padding-top: 64px; padding-bottom: 72px; }
  .project .pj-list { grid-template-columns: 110px 1fr; }
  .project .pj-gallery { gap: 56px; padding-bottom: 72px; }
  .project .pj-inset { aspect-ratio: 16 / 9; }
  .project .pj-two { grid-template-columns: 1fr; }
  .project .pj-ground img { width: 64%; }
  .project .pj-night img { width: 76%; }
  .project .pj-facts { padding-bottom: 72px; }
  .project .pj-more__head { margin-bottom: 24px; }
  .project .pj-more__grid { grid-template-columns: 1fr; gap: 32px; }
  .project .pj-more { padding-bottom: 72px; }
}

/* ───────── Studio ───────── */
/* Selva — studio page (body.studio). Prefix st-. Tokens only. */

.studio [id] { scroll-margin-top: var(--head-h); }
.studio .sr-only { line-height: 1.05; }
/* the stone band starts under the nav, as in the source (the header sits on the same paper) */
.studio .site-head { background: var(--surface); }

/* 12px captions under photos and drawings */
.st-cap { margin-top: 8px; font-size: 12px; line-height: 1.2; letter-spacing: -.12px; color: var(--text); }
.st-cap--muted { margin-top: 12px; color: var(--muted-ink); }
.st-link { display: inline-block; margin-top: 29px; }
.st-nw { white-space: nowrap; }

/* ── 1 · About: stone band ── */
.st-about { background: var(--surface); padding-top: 46px; padding-bottom: 56px; }
.st-about__stmt { max-width: 1400px; text-wrap: pretty; margin-bottom: 56px; }
.st-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.st-about__photo { aspect-ratio: 689 / 861; }
.st-about__text { max-width: 580px; display: grid; gap: 17px; }

/* ── 2 · How a project feels: text + drawing ── */
.st-role { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; padding-top: 110px; padding-bottom: 130px; }
.st-role__text { max-width: 580px; position: sticky; top: calc(var(--head-h) + 32px); }
.st-draw img { width: 100%; height: auto; }

/* ── Ruled blocks (services, people, process) ── */
.st-stmt .stmt__text { max-width: 1380px; width: fit-content; }
.st-caps, .st-people, .st-process { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; padding-bottom: 130px; }
.st-sec--last .st-process { padding-bottom: 72px; }

/* ── 3 · Services: capabilities text table ── */
.st-caps__text { max-width: 580px; display: grid; gap: 17px; justify-items: start; position: sticky; top: calc(var(--head-h) + 32px); }
.st-caps__text .st-link { margin-top: 12px; }
.st-caps__grid { display: grid; grid-template-columns: 1fr 1fr; }
.st-cap-block { display: grid; grid-template-columns: 108px 1fr; align-items: start; border-top: 1px solid var(--line); padding: 14px var(--gutter) 56px 0; }
.st-cap-block .t-label { font-size: 12px; line-height: 24px; }
.st-cap-block ul { font-size: 13px; line-height: 24px; letter-spacing: -.1px; }
.st-cap-block li { width: fit-content; }
.st-cap-block:nth-last-child(-n+2) { padding-bottom: 0; }

/* ── 4 · People: intro + table · drawing ── */
.st-people__intro { max-width: 580px; }
.studio .st-team { width: auto; min-width: 440px; margin-top: 45px; border-top: 1px solid var(--line); font-size: 12px; line-height: 14px; }
.studio .st-team th, .studio .st-team td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; font-weight: 400; vertical-align: top; }
.studio .st-team th { padding-right: 56px; text-transform: uppercase; letter-spacing: .2px; }
.studio .st-team td:first-child { text-transform: none; letter-spacing: -.1px; font-size: 12px; }
.st-people__draw { width: 88%; margin: 20px auto 0; }

/* ── 5 · Process: intro + drawing · stages ── */
.st-process__intro { max-width: 580px; width: fit-content; }
.st-process__draw { width: 80%; margin: 64px 0 0 10%; }
.st-process__right { max-width: 650px; }
.st-stages li { border-top: 1px solid var(--line); padding: 18px 0 21px; }
.st-stages li:last-child { border-bottom: 1px solid var(--line); }
.st-stages__n { display: inline-block; width: 52px; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.st-stages .t-lead, .st-stages .t-small { width: fit-content; }
.st-stages .t-small { margin-top: 5px; padding-left: 52px; color: var(--muted-ink); }
.st-process__fees { margin-top: 64px; max-width: 560px; }
.st-process__right .st-link { margin-top: 20px; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .st-cap-block { grid-template-columns: 1fr; }
  .st-cap-block .t-label { margin-bottom: 2px; }
  .st-stages__n { width: 44px; }
  .st-stages .t-lead, .st-stages .t-small { width: fit-content; }
.st-stages .t-small { padding-left: 44px; }
}
/* ── One column ── */
@media (max-width: 900px) {
  .st-about__grid, .st-role, .st-caps, .st-people, .st-process { grid-template-columns: 1fr; }
  .st-about__text { margin-top: 28px; }
  .st-role { padding-top: 90px; padding-bottom: 100px; }
  .st-role__text, .st-caps__text { margin-top: 0; position: static; }
  .st-role__draw { margin-top: 40px; }
  .st-caps, .st-people, .st-process { padding-bottom: 100px; }
  .st-caps__grid { margin-top: 48px; }
  .st-cap-block { grid-template-columns: 116px 1fr; }
  .st-cap-block .t-label { margin-bottom: 0; }
  .st-people__draw { width: 100%; max-width: 560px; margin: 56px 0 0; }
  .st-process__draw { width: 100%; max-width: 520px; margin: 48px 0 0; }
  .st-process__right { margin-top: 56px; max-width: none; }
}
/* ── Phone ── */
@media (max-width: 640px) {
  .st-about { padding-top: 36px; padding-bottom: 40px; }
  .st-about__stmt { margin-bottom: 32px; }
  .st-role { padding-top: 72px; padding-bottom: 88px; }
  .st-caps, .st-people, .st-process { padding-bottom: 88px; }
  .st-sec--last .st-process { padding-bottom: 56px; }
  .st-cap-block { grid-template-columns: 1fr; padding-bottom: 28px; }
  .st-cap-block:nth-last-child(-n+2) { padding-bottom: 0; }
  .st-cap-block .t-label { margin-bottom: 2px; }
  .st-cap-block ul { line-height: 21px; }
  .studio .st-team { min-width: 0; }
  .studio .st-team th { padding-right: 32px; }
  .st-stages__n { width: 40px; }
  .st-stages .t-lead, .st-stages .t-small { width: fit-content; }
.st-stages .t-small { padding-left: 40px; }
  .st-process__fees { margin-top: 44px; }
}

/* ───────── Style Guide ───────── */
/* Selva — style guide page (body.sg). Page-only classes use the sg- prefix; shared classes are only scoped here. */

/* labels: 12px muted ink, class and token names */
.sg-k { font-size: 12px; line-height: 1.3; letter-spacing: 0; color: var(--muted-ink); margin-top: 10px; }
.sg-k code, .sg code { font: inherit; color: inherit; }
.sg-muted { color: var(--muted-ink); }
.sg-fit { width: 100%; }
.sg .sg-mark { font-size: 15vw; line-height: .74; padding: 0; margin: 0 0 0 -.012em; }

/* ── Overview: first screen ── */
.sg-ov { padding-top: 34px; padding-bottom: 24px; min-height: calc(990px - var(--head-h)); display: flex; flex-direction: column; }
.sg-ov__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; padding-bottom: 30px; }
.sg-ov__intro { max-width: 600px; }
.sg-ov__intro .sg-k { margin-top: 12px; }
.sg-ov__spread { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); padding-top: 28px; border-top: 1px solid var(--line); }
.sg-ov__type { display: flex; flex-direction: column; }
.sg-ov__stmt { margin-top: 36px; max-width: 640px; }
.sg-ov__pairing { margin-top: 32px; display: grid; gap: 12px; max-width: 520px; }
.sg-ov__pairing + .sg-k { margin-bottom: 36px; }
.sg-ov__table { margin-top: auto; }
.sg-ov__type > .sg-k:last-child { margin-bottom: 0; }
.sg-ov__side { display: flex; flex-direction: column; }
.sg-ov__swatches { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; padding-top: 28px; }
.sg-chip__c { display: block; aspect-ratio: 1; }
.sg-chip__c--edge { border: 1px solid var(--line-2); }
.sg-chip figcaption { display: grid; gap: 2px; margin-top: 8px; font-size: 12px; line-height: 1.3; }
.sg-chip figcaption code { color: var(--text); }
.sg-chip figcaption span { color: var(--muted-ink); }

/* ── Section frame ── */
.sg-sec { padding-top: 100px; }
.sg-sec--last { padding-bottom: 110px; }
.sg-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; padding-bottom: 56px; }
.sg-head::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.sg-head__note { color: var(--muted-ink); max-width: 470px; }

/* ── Colour ── */
.sg-swrow { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--gutter); padding: 20px 0 40px; border-top: 1px solid var(--line-2); }
.sg-swrow__label { display: grid; gap: 8px; align-content: start; }
.sg-swrow__label .t-small { max-width: 160px; }
.sg-sw__c { display: grid; place-items: center; aspect-ratio: 1; }
.sg-sw__c--photo { background: var(--night); }
.sg-sw__c--accent { background: var(--accent); }
.sg-sw__c--line { background: var(--bg); border: 1px solid var(--line-2); }
.sg-sw__c--line.sg-sw__c--photo { background: var(--night); border-color: var(--night); }
.sg-sw__c--line i { display: block; width: 100%; height: 1px; }
.sg-sw__aa { font-family: var(--font-display); font-weight: 300; font-size: 46px; line-height: 1; letter-spacing: -1px; }
.sg-sw figcaption { display: grid; gap: 2px; margin-top: 10px; font-size: 12px; line-height: 1.3; }
.sg-sw figcaption span:first-child { color: var(--text); }
.sg-sw figcaption code, .sg-sw figcaption span + code + span { color: var(--muted-ink); }

/* ── Typography ── */
.sg-trow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gutter); padding: 22px 0 40px; border-top: 1px solid var(--line-2); }
.sg-trow__meta { max-width: 360px; }
.sg-trow__meta .sg-k:first-child { display: block; margin-top: 0; color: var(--text); }
.sg-trow__meta .sg-k + .sg-k { margin-top: 6px; }
.sg-trow .t-display { font-size: min(280px, 19.5vw); }
.sg-measure { max-width: 700px; }
.sg-trow--mark .sg-trow__spec { padding-top: 6px; }
.sg-rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gutter); padding-top: 22px; border-top: 1px solid var(--line); margin-top: 24px; }
.sg-rules__list > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--gutter); padding: 12px 0; border-top: 1px solid var(--line-2); }
.sg-rules__list > div:first-child { border-top: 0; padding-top: 0; }
.sg-rules__list dt { color: var(--text); }
.sg-rules__list dd { margin: 0; color: var(--muted-ink); max-width: 620px; }

/* ── Spacing & grid ── */
.sg-grid__row { display: grid; gap: var(--gutter); height: 96px; }
.sg-grid__row + .sg-k { margin-bottom: 32px; }
.sg-grid__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sg-grid__row--3 { grid-template-columns: repeat(3, 1fr); }
.sg-grid__row span { background: var(--surface); padding: 10px 12px; font-size: 12px; line-height: 1.3; color: var(--muted-ink); }
.sg-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--gutter); align-items: end; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line-2); }
.sg-bar span { display: block; background: var(--surface-2); }
.sg-bar figcaption { margin-top: 10px; font-size: 12px; line-height: 1.3; color: var(--muted-ink); min-height: 32px; }
.sg-bar figcaption code { color: var(--text); }
.sg-shape { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 48px; }
.sg-shape > div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.sg-shape .t-small { margin-top: 10px; max-width: 400px; }
.sg-dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; }

/* ── Photos ── */
.sg-ph2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
.sg-ph2__r { display: flex; flex-direction: column; }
.sg-ph2__notes { margin-top: 48px; }
.sg-ph3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: start; margin-top: 64px; }
.sg-ph3 + .sg-ph { margin-top: 64px; }
.sg-under { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; line-height: 1.2; color: var(--text); }
.sg-under span:first-child { text-transform: uppercase; letter-spacing: .2px; }
.sg-under + .sg-k { margin-top: 4px; }

/* ── Components ── */
.sg-comp { border-top: 1px solid var(--line); padding-top: 20px; }
.sg-comp + .sg-comp { margin-top: 88px; }
.sg-comp__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
.sg-comp__meta .sg-k { margin-top: 0; max-width: 560px; }
.sg-stage { margin-top: 36px; }
.sg-stage--nav { border: 1px solid var(--line-2); height: 340px; overflow: hidden; }
.sg-navdemo { position: relative; isolation: isolate; height: var(--head-h); background: var(--bg); }
.sg .sg-navdemo .nav__list .nav__link { color: var(--muted-ink); }
.sg .sg-navdemo .nav__item.is-open .nav__link { color: var(--text); }
.sg .sg-navdemo .nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.sg-links { display: flex; flex-wrap: wrap; gap: 24px 80px; }
.sg-links .sg-k { display: inline-block; margin: 0 0 0 14px; }
.sg .sg-hover { color: var(--text); }
.sg .sg-stage .stmt, .sg .sg-stage .pair, .sg .sg-stage .cols, .sg .sg-stage .stack { padding-bottom: 0; }
.sg .sg-stage .stmt--ruled::before { margin-bottom: 40px; }
.sg .sg-stage .totop { padding: 0; }
.sg-stage--half { margin-left: calc(50% + var(--gutter) / 2); }
.sg .sg-row-hover { background: var(--accent-soft); }
.sg-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.sg-foot__stamp { width: 140px; height: 140px; color: var(--text); }
.sg-foot__stamp text { fill: currentColor; font-family: var(--font); font-weight: 500; }
.sg-foot .t-small { max-width: 460px; }
.sg-phone { margin-left: calc(50% + var(--gutter) / 2); }
.sg-phone__frame { width: 320px; max-width: 100%; height: 470px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg); }
.sg-phone__bar { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); padding: 0 6px 0 var(--gutter); }
.sg-phone__x { position: relative; width: 40px; height: 40px; }
.sg-phone__x span { position: absolute; left: 9px; right: 9px; top: 19px; height: 1.4px; background: var(--text); transform: rotate(45deg); }
.sg-phone__x span:last-child { transform: rotate(-45deg); }
.sg-phone__menu { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px var(--gutter) 24px; }
.sg-phone__menu span { font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.15; letter-spacing: -.8px; }
.sg-phone__menu .sg-phone__foot { margin-top: auto; font-family: var(--font); font-size: 14px; line-height: 1.35; letter-spacing: 0; color: var(--muted-ink); }

/* ── Motion demos ── */
.sg-mo { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.sg-mo__stage { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.sg-mo__cell figcaption { display: grid; gap: 4px; margin-top: 12px; }
.sg-mo__cell figcaption .sg-k { margin-top: 0; max-width: 300px; }
.sg-mo__cell:focus-visible { outline-offset: 6px; }
.sg-mo__cell--words .sg-mo__stage { display: flex; align-items: flex-end; padding: 24px; }
.sg-mo__cell--words .t-h3 span { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.sg-mo__cell--words .t-h3 i { display: inline-block; font-style: normal; transform-origin: 0 100%; }
.sg-mo__cell--words:hover i, .sg-mo__cell--words:focus-visible i { animation: sg-rise 1.15s var(--ease-out) both; }
.sg-mo__cell--words span:nth-child(2) i { animation-delay: 45ms; }
.sg-mo__cell--words span:nth-child(3) i { animation-delay: 90ms; }
.sg-mo__cell--words span:nth-child(4) i { animation-delay: 135ms; }
.sg-mo__cell--words span:nth-child(5) i { animation-delay: 180ms; }
@keyframes sg-rise { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
.sg-mo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-mo__cell--unmask:hover img, .sg-mo__cell--unmask:focus-visible img { animation: sg-unmask 1.6s var(--ease-out) both; }
@keyframes sg-unmask { from { clip-path: inset(9%); transform: scale(1.14); } to { clip-path: inset(0); transform: none; } }
.sg-mo__b { animation: sg-xfade calc((var(--hero-hold) + 1.4s) * 2) var(--ease) infinite; }
@keyframes sg-xfade { 0%, 38.7% { opacity: 0; } 50%, 88.7% { opacity: 1; } 100% { opacity: 0; } }
.sg-mo__hov { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.sg-mo__tile { aspect-ratio: 454 / 365; }
.sg-mo__tokens { margin-top: 56px; }
.sg .sg-mo__tokens td:first-child { text-transform: none; font-size: 13px; letter-spacing: -.1px; }

/* ── Voice ── */
.sg-voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
.sg-voice__h { padding-bottom: 14px; }
.sg-voice__list li { padding: 16px 0 20px; border-top: 1px solid var(--line-2); max-width: 640px; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .sg-swrow { grid-template-columns: repeat(6, 1fr); }
  .sg-swrow__label { grid-column: 1 / -1; }
  .sg-mo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sg-bars { grid-template-columns: repeat(4, 1fr); }
  .sg-stage--nav { height: 330px; }
}
@media (max-width: 900px) {
  .sg-ov { min-height: 0; }
  .sg-ov__top, .sg-ov__spread, .sg-head, .sg-trow, .sg-rules, .sg-comp__meta, .sg-ph2, .sg-voice, .sg-foot, .sg-shape { grid-template-columns: 1fr; }
  .sg-ov__spread { gap: 48px; }
  .sg-ov__table { margin-top: 40px; }
  .sg-ph3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sg-ph3 > :first-child { grid-column: 1 / -1; }
  .sg-ph2__r { margin-top: 32px; }
  .sg-ph2__notes { margin-top: 32px; }
  .sg-stage--half, .sg-phone { margin-left: 0; }
  .sg-comp__meta .sg-k { margin-top: 0; }
  .sg .sg-navdemo .nav__list { display: flex; }
  .sg .sg-navdemo .nav__time { display: none; }
  .sg-trow .t-display { font-size: min(280px, 34vw); }
}
@media (max-width: 640px) {
  .sg-sec { padding-top: 88px; }
  .sg-ov { padding-top: 24px; }
  .sg-ov__swatches { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .sg-swrow { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .sg-ph3 { grid-template-columns: 1fr; }
  .sg-mo { grid-template-columns: 1fr; }
  .sg-bars { grid-template-columns: repeat(3, 1fr); }
  .sg-grid__row--3 span { padding: 8px; }
  .sg-rules__list > div { grid-template-columns: 1fr; gap: 4px; }
  .sg-stage--nav { height: 324px; }
  .sg .sg-navdemo .nav__list { gap: 16px; }
  .sg .sg-navdemo .nav__link { font-size: 17px; }
  .sg .sg-navdemo .nav__brand { margin-right: 0; }
  .sg .sg-navdemo .nav__panel { grid-template-columns: 1fr; gap: 14px; }
  .sg .sg-navdemo .nav__panel-links { grid-column: 1; grid-row: auto; }
  .sg .sg-navdemo .nav__panel-links a { font-size: 24px; }
  .sg-comp + .sg-comp { margin-top: 64px; }
  .sg-links { gap: 16px; }
}

/* component descriptions are sentences: 14px, not label size */
.sg-comp__note { color: var(--muted-ink); max-width: 560px; }
.sg-comp__note code { color: var(--text); }
.sg-comp__note code { white-space: nowrap; }

/* ───────── Variants ───────── */
/* Selva — section-variants library (prefix v-). Tokens only. Every rule is scoped under .variants. */

/* ── Library frame: intro, sticky jump list, label bars ── */
.variants .v-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; padding-top: 58px; padding-bottom: 40px; }
.variants .v-intro__note { color: var(--text-2); max-width: 480px; }
.variants .v-jump { position: sticky; top: var(--head-h); z-index: 40; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px var(--gutter); margin-bottom: 72px; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.2; letter-spacing: .2px; text-transform: uppercase; }
.variants .v-jump a { color: var(--muted-ink); transition: color var(--dur-fast) var(--ease); }
.variants .v-jump a:hover, .variants .v-jump a:focus-visible { color: var(--text); }
.variants .v-label { display: flex; justify-content: space-between; gap: 24px; margin: 0 var(--gutter) 40px; padding: 8px 12px 9px; background: var(--surface); color: var(--muted-ink); font-size: 12px; line-height: 1.3; }
.variants .v-label b { margin-right: 12px; color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .2px; }
.variants .v-label code { font-family: var(--mono); font-size: 12px; text-align: right; max-width: 46%; }
.variants [data-variant] { scroll-margin-top: calc(var(--head-h) + 110px); }

/* shared bits */
.variants .v-under { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 8px; font-size: 12px; line-height: 1.2; letter-spacing: -.12px; color: var(--text); }
.variants .v-r34 { aspect-ratio: 3 / 4; }
.variants .v-r45 { aspect-ratio: 4 / 5; }
.variants .v-r54 { aspect-ratio: 5 / 4; }
.variants .v-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; }
.variants .v-list { border-top: 1px solid var(--line); font-size: 13px; line-height: 1.3; }
.variants .v-list li { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.variants .v-list--lead { font-size: 17px; }
.variants .v-list--lead li { padding: 11px 0; }

/* ── Headers (desktop variants; not the page's real header) ── */
.variants .v-hdsec { padding-bottom: 80px; }
.variants .v-hd { display: flex; align-items: center; gap: 26px; height: var(--head-h); }
.variants .v-hd > a, .variants .v-hd > p, .variants .v-hd > span, .variants .v-hd > ul > li > a, .variants .v-hd > span > a { font-size: 22px; line-height: 1.2; letter-spacing: -.44px; }
.variants .v-hd a { transition: color var(--dur-fast) var(--ease); }
.variants .v-hd__brand { font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 26px !important; line-height: 1; letter-spacing: -.3px; text-transform: uppercase; margin-right: 18px; white-space: nowrap; }
.variants .v-hd__brand--sm { font-size: 20px !important; }
.variants .v-hd__links, .variants .v-hd__l, .variants .v-hd__r { display: flex; gap: 26px; }
.variants .v-hd__links:hover > li > a { color: var(--muted-ink); }
.variants .v-hd__links > li > a:hover { color: var(--text); }
.variants .v-hd__end { margin-left: auto; }
.variants .v-hd__muted { color: var(--muted-ink); }
.variants .v-hd--split { display: grid; grid-template-columns: 1fr auto 1fr; }
.variants .v-hd__r { justify-self: end; }
.variants .v-hd__mark { font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 30px !important; line-height: 1; letter-spacing: -.3px; text-transform: uppercase; white-space: nowrap; }
.variants .v-hd--ruled { border-bottom: 1px solid var(--line); }
.variants .v-hd--ruled .v-hd__links a { font-size: 17px; letter-spacing: -.17px; }
.variants .v-hd--over { position: absolute; z-index: 3; top: 0; left: var(--gutter); right: var(--gutter); color: var(--on-photo); }
.variants .v-hd--over .v-hd__muted { color: var(--on-photo-soft); }
.variants .v-hd--over .v-hd__links:hover > li > a { color: var(--on-photo-soft); }
.variants .v-hd--over .v-hd__links > li > a:hover { color: var(--on-photo); }

.variants .v-hdd { position: relative; margin: 0 var(--gutter) var(--section); padding: 0; aspect-ratio: 1408 / 720; overflow: hidden; background: var(--night); }
.variants .v-hdd > img { width: 100%; height: 100%; object-fit: cover; }
.variants .v-hdd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; background: linear-gradient(180deg, rgba(20, 20, 18, .5), rgba(20, 20, 18, 0)); }
.variants .v-hdd .v-hd--over { left: 0; right: 0; padding: 0 var(--gutter); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }

/* ── Header sub-menus: one shown open (.is-open); hover / focus opens the others. Each header has its own. ── */
.variants .v-hd:not(.v-hd--over) { position: relative; }
.variants .v-dd__panel { position: absolute; z-index: 5; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-fast) var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s; }
.variants .v-dd.is-open > .v-dd__panel, .variants .v-dd:hover > .v-dd__panel, .variants .v-dd:focus-within > .v-dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fast) var(--ease), transform .5s var(--ease-out), visibility 0s; }
.variants .v-hd:hover .v-dd.is-open:not(:hover) > .v-dd__panel { opacity: 0; visibility: hidden; }
.variants .v-dd > a { transition: color var(--dur-fast) var(--ease); }
.variants .v-dd.is-open > a { color: var(--text); }
/* a: full-width stone sheet, label left, serif sub-links from the 50% line (the demo's) */
.variants .v-dd__panel--sheet { left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: 26px var(--gutter) 30px; background: var(--surface); }
.variants .v-dd__panel--sheet .t-label { color: var(--muted-ink); }
.variants .v-dd__big { max-width: 360px; }
.variants .v-dd__big a { display: block; padding: 9px 0 10px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 30px !important; line-height: 1.1; letter-spacing: -.6px; transition: color var(--dur-fast) var(--ease); }
.variants .v-dd__big li:last-child a { border-bottom: 1px solid var(--line); }
.variants .v-dd__big a:hover { color: var(--accent-ink); }
.variants .v-hdsec--a { min-height: 330px; }
/* b: a narrow hairline-boxed list that drops under the link, dates at right */
.variants .v-dd { position: relative; }
.variants .v-hd--ruled .v-dd, .variants .v-hd:not(.v-hd--split):not(.v-hd--ruled):not(.v-hd--over) .v-dd, .variants .v-hd--over .v-dd { position: static; }
.variants .v-dd__panel--box { left: -15px; top: calc(100% + 10px); width: 340px; padding: 4px 14px; background: var(--bg); border: 1px solid var(--line); }
.variants .v-dd__panel--box li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0 12px; border-top: 1px solid var(--line-2); }
.variants .v-dd__panel--box li:first-child { border-top: 0; }
.variants .v-dd__panel--box a { font-size: 17px !important; letter-spacing: -.17px; }
.variants .v-dd__panel--box a:hover { color: var(--accent-ink); }
.variants .v-dd__panel--box span { font-size: 12px !important; letter-spacing: 0; color: var(--muted-ink); white-space: nowrap; }
.variants .v-hdsec--b { min-height: 270px; }
/* c: a second ruled row under the header, label left, four sub-links from the 50% line */
.variants .v-dd__panel--row { left: 0; right: 0; top: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: 16px 0 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.variants .v-dd__panel--row .t-label { color: var(--muted-ink); align-self: center; }
.variants .v-dd__panel--row ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.variants .v-dd__panel--row li { display: grid; gap: 4px; }
.variants .v-dd__panel--row a { font-size: 17px !important; letter-spacing: -.17px; }
.variants .v-dd__panel--row a:hover { color: var(--accent-ink); }
.variants .v-dd__panel--row span { font-size: 12px !important; letter-spacing: 0; color: var(--muted-ink); }
.variants .v-hdsec--c { min-height: 200px; }
/* d: a white sheet of room names drops over the photo, serif names, rates under */
.variants .v-dd__panel--rooms { left: 0; right: 0; top: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding: 22px var(--gutter) 26px; background: var(--bg); color: var(--text); }
.variants .v-dd__panel--rooms li { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.variants .v-dd__panel--rooms a { font-family: var(--font-display); font-weight: 300; font-size: 38px !important; line-height: 1.12; letter-spacing: -.9px; color: var(--text); }
.variants .v-dd__panel--rooms a:hover { color: var(--accent-ink); }
.variants .v-dd__panel--rooms span { font-size: 12px !important; letter-spacing: .2px; text-transform: uppercase; color: var(--muted-ink); }

/* ── hero-a: bleed photo, quiet centred line, story row + client names ── */
.variants .v-ha { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(720px, calc(100vh - var(--head-h)), 900px); margin-bottom: var(--section); padding: 0; overflow: hidden; color: var(--on-photo); background: var(--night); }
.variants .v-ha__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.variants .v-ha::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 20, 18, .5) 0, rgba(20, 20, 18, 0) 16%, rgba(20, 20, 18, 0) 30%, rgba(20, 20, 18, .5) 44%, rgba(20, 20, 18, .5) 56%, rgba(20, 20, 18, 0) 68%, rgba(20, 20, 18, .2) 78%, rgba(20, 20, 18, .66) 100%); }
.variants .v-ha .v-hd--over { position: relative; left: auto; right: auto; padding: 0 var(--gutter); }
.variants .v-ha__line { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: center; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.variants .v-ha__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; padding: 0 var(--gutter) 18px; font-size: 12px; line-height: 1.3; }
.variants .v-ha__story { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.variants .v-ha__story li { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line-on-photo); color: var(--on-photo-soft); }
.variants .v-ha__story .cap__type { color: var(--on-photo); }
.variants .v-ha__clients { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 10px; border-top: 1px solid var(--line-on-photo); text-transform: uppercase; letter-spacing: .2px; }

/* ── hero-b: split, white text panel + stone panel of founders ── */
.variants .v-hb { margin-bottom: var(--section); padding: 0; }
.variants .v-hb > .v-hd { padding: 0 var(--gutter); }
.variants .v-hb__panels { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.variants .v-hb__text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 48px var(--gutter); }
.variants .v-hb__text .t-h1 { max-width: 600px; }
.variants .v-hb__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); max-width: 600px; margin-top: 26px; }
.variants .v-hb__stats div { padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.variants .v-hb__stats dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 38px; line-height: 1.12; letter-spacing: -.9px; }
.variants .v-hb__stats dt { font-size: 12px; line-height: 1.2; letter-spacing: .2px; text-transform: uppercase; color: var(--muted-ink); }
.variants .v-hb__rate { color: var(--text-2); }
.variants .v-hb__people { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: var(--gutter); background: var(--surface); }
.variants .v-hb__people figure:first-child { align-self: start; }
.variants .v-hb__people figure:last-child { align-self: end; }

/* ── hero-c: stone field, giant caps staggered between hairlines ── */
.variants .v-hc { margin-bottom: var(--section); padding-bottom: 40px; background: var(--surface); }
.variants .v-hc__h { margin: 20px 0 0; font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 9.2vw; line-height: .96; letter-spacing: -.02em; text-transform: uppercase; text-wrap: nowrap; }
.variants .v-hc__row { display: block; padding: 18px 0 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.variants .v-hc__row--2 { padding-left: 22%; }
.variants .v-hc__row--3 { text-align: right; border-bottom: 1px solid var(--line); }
.variants .v-hc__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; padding-top: 28px; }
.variants .v-hc__num { display: flex; align-items: flex-end; gap: 18px; }
.variants .v-hc__num .t-label { max-width: 220px; padding-bottom: 8px; }
.variants .v-hc__note { max-width: 460px; color: var(--text-2); }

/* ── hero-d: inset plate on a stone drawing-grid margin, capsule header ── */
.variants .v-hi { position: relative; margin-bottom: var(--section); padding-bottom: 20px; background: var(--surface); overflow: hidden; }
.variants .v-hi__tex { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); opacity: .7; pointer-events: none; }
.variants .v-hi__caps { position: relative; display: flex; gap: 8px; padding: 16px 0 22px; }
.variants .v-hi__cap { display: flex; align-items: center; gap: 22px; height: 44px; padding: 0 16px; margin: 0; background: var(--bg); font-size: 17px; line-height: 1.2; letter-spacing: -.17px; }
.variants .v-hi__cap a { transition: color var(--dur-fast) var(--ease); }
.variants .v-hi__cap a:hover { color: var(--muted-ink); }
.variants .v-hi__cap.v-hd__brand { font-size: 22px !important; margin-right: 0; }
.variants .v-hi__cap--end { margin-left: auto; gap: 8px; }
.variants .v-hi__plate { position: relative; margin: 0 48px; aspect-ratio: 16 / 9; max-height: 760px; width: calc(100% - 96px); overflow: hidden; background: var(--night); }
.variants .v-hi__plate img { width: 100%; height: 100%; object-fit: cover; }
.variants .v-hi__plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(20, 20, 18, 0), rgba(20, 20, 18, .6)); }
.variants .v-hi__copy { position: absolute; z-index: 2; left: 32px; bottom: 30px; display: grid; gap: 14px; max-width: 640px; color: var(--on-photo); }
.variants .v-hi__press { position: relative; display: flex; justify-content: space-between; gap: 24px; margin: 14px 48px 0; }
.variants .v-hi__press .t-small:first-child { color: var(--text); }

/* ── Statements ── */
.variants .v-stmt { padding-top: 0; padding-bottom: var(--section); }
.variants .v-sb { padding-bottom: var(--section); }
.variants .v-sb__cols { padding-top: 56px; padding-bottom: 0; }
.variants .v-sc { position: relative; padding-bottom: var(--section); }
.variants .v-sc::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 40px; }
.variants .v-sc__label { display: inline-block; width: calc(50% + var(--gutter) / 2); vertical-align: baseline; }
.variants .v-sc__text { max-width: 1400px; }

/* ── Pairs ── */
.variants .v-pb { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-pb__side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.variants .v-pb__note { max-width: 520px; }
.variants .v-pc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-bottom: var(--section); }

/* ── Text ── */
.variants .v-tb { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-tb::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 24px; }
.variants .v-tb__col { display: grid; gap: 14px; align-content: start; max-width: 560px; }
.variants .v-tc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-tc::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 24px; }
.variants .v-tc .t-lead { max-width: 650px; }

/* ── Galleries ── */
.variants .stack { padding-bottom: var(--section); }
.variants .stack::before { display: none; }
.variants .v-gb { padding-bottom: var(--section); }
.variants .v-gb__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: 32px; }
.variants .v-gb__head .t-small { max-width: 420px; color: var(--text-2); }
.variants .v-gb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: start; }
.variants .v-gb__col { display: grid; gap: 28px; }
.variants .v-gc { padding: 0 0 var(--section); }
.variants .v-gc__full { aspect-ratio: 1440 / 900; }
.variants .v-gc__pair { padding: var(--gutter) var(--gutter) 0; }

/* ── Tables ── */
.variants .v-tbl { padding-bottom: var(--section); }
.variants .v-tbl__h { padding-bottom: 14px; }
.variants .v-tbl ul { border-top: 1px solid var(--line); }
.variants .v-tbl__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; padding: 14px 0 15px; border-bottom: 1px solid var(--line-2); }
.variants .v-tbl__row > span:first-child { font-size: 12px; line-height: 1.2; letter-spacing: .2px; text-transform: uppercase; }
.variants .v-tf { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-tf__item { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ── Proof ── */
.variants .v-qa { position: relative; }
.variants .v-qa__label { grid-column: 1; align-self: start; padding-top: 10px; }
.variants .v-qa .cols__right { grid-column: 2; max-width: 660px; }
.variants .v-qa .v-under { margin-top: 26px; }
.variants .v-qb { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-qb__item { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.variants .v-qb__item .t-body { max-width: 270px; }
.variants .v-qc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; padding-bottom: var(--section); }
.variants .v-qc::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 14px; }
.variants .v-qc__names { display: flex; flex-wrap: wrap; gap: 6px 32px; }

/* ── Steps ── */
.variants .v-sa, .variants .v-st, .variants .v-sp { padding-bottom: var(--section); }
.variants .v-sa__h, .variants .v-st__h, .variants .v-sp__h { padding-bottom: 14px; }
.variants .v-sa ol { border-top: 1px solid var(--line); }
.variants .v-sa__row { display: grid; grid-template-columns: 60px calc(50% - 68px) 1fr auto; gap: var(--gutter); align-items: baseline; padding: 14px 0 15px; border-bottom: 1px solid var(--line-2); transition: background var(--dur-fast) var(--ease); }
.variants .v-sa__row:hover { background: var(--accent-soft); }
.variants .v-sa__n, .variants .v-sa__t { font-size: 12px; line-height: 1.2; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.variants .v-sa__row .t-small { color: var(--text-2); }
.variants .v-st__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.variants .v-st__item { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.variants .v-st__item .t-label { color: var(--muted-ink); margin-bottom: 8px; }
.variants .v-st__item .t-small { color: var(--text-2); }
.variants .v-st__item.is-now::before { content: ""; position: absolute; left: 0; top: -3.5px; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.variants .v-st__item.is-now .t-label { color: var(--accent-ink); }
.variants .v-sp__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.variants .v-sp__item { display: grid; gap: 6px; align-content: start; }
.variants .v-sp__item .tile { margin-bottom: 12px; }
.variants .v-sp__item .t-label { color: var(--muted-ink); }
.variants .v-sp__item .t-small { color: var(--text-2); }

/* ── Team ── */
.variants .v-pg { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-fs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-fs__text { position: sticky; top: calc(var(--head-h) + 64px); align-self: start; display: grid; gap: 22px; align-content: start; max-width: 650px; }
.variants .v-fs__text .link { margin-top: 7px; }

/* ── Pricing ── */
.variants .v-fa3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-fa3__col { display: grid; gap: 14px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.variants .v-fa3__col .v-list { margin-top: 18px; }
.variants .v-pf { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-pf::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 18px; }
.variants .v-pf__price { margin: 18px 0 12px; }
.variants .v-pf__note { color: var(--text-2); }
.variants .v-pf .link { display: inline-block; margin-top: 29px; }

/* ── FAQ ── */
.variants .v-qa1 { padding-bottom: var(--section); }
.variants .v-qa1__h { padding-bottom: 14px; }
.variants .v-qa1 details { border-top: 1px solid var(--line); }
.variants .v-qa1 details:last-child { border-bottom: 1px solid var(--line); }
.variants .v-qa1 summary { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0 18px; cursor: pointer; list-style: none; transition: color var(--dur-fast) var(--ease); }
.variants .v-qa1 summary::-webkit-details-marker { display: none; }
.variants .v-qa1 summary::after { content: "+"; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.variants .v-qa1 details[open] summary::after { content: "−"; }
.variants .v-qa1 summary:hover { color: var(--muted-ink); }
.variants .v-qa1 details p { margin-left: calc(50% + var(--gutter) / 2); max-width: 560px; padding-bottom: 22px; color: var(--text-2); }
.variants .v-qb2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); padding-bottom: var(--section); }
.variants .v-qb2__item { display: grid; gap: 6px; align-content: start; padding: 14px 0 34px; border-top: 1px solid var(--line); }
.variants .v-qb2__item p { color: var(--text-2); max-width: 520px; }
.variants .v-ql { padding-bottom: var(--section); }
.variants .v-ql ul { border-top: 1px solid var(--line); }
.variants .v-ql__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: 14px 0 16px; border-bottom: 1px solid var(--line-2); }

/* ── CTA ── */
.variants .v-ca { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); min-height: 560px; margin-bottom: var(--section); padding-top: 96px; padding-bottom: 120px; background: var(--surface); }
.variants .v-ca__h { max-width: 560px; }
.variants .v-ca__contact { display: grid; gap: 24px; align-content: start; }
.variants .v-ca__contact a:not(.link) { transition: color var(--dur-fast) var(--ease); }
.variants .v-ca__contact a:not(.link):hover { color: var(--accent-ink); }
.variants .v-cb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; margin-bottom: var(--section); padding: 0; aspect-ratio: 1440 / 720; min-height: 520px; overflow: hidden; color: var(--on-photo); background: var(--night); }
.variants .v-cb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.variants .v-cb__in { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: center; width: min(900px, 100%); padding: 0 var(--gutter); text-align: center; }
.variants .v-cb::after { content: ""; position: absolute; left: 0; right: 0; top: 18%; bottom: 18%; z-index: 1; background: linear-gradient(180deg, rgba(20, 20, 18, 0), rgba(20, 20, 18, .45) 30%, rgba(20, 20, 18, .6) 50%, rgba(20, 20, 18, .45) 70%, rgba(20, 20, 18, 0)); pointer-events: none; }
.variants .v-cb__link { color: var(--on-photo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color var(--dur-fast) var(--ease); }
.variants .v-cb__link:hover { text-decoration-color: transparent; }
.variants .v-cc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.variants .v-cc::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.variants .v-cc__h { max-width: 560px; }
.variants .v-cc__note { margin-top: 22px; color: var(--text-2); }
.variants .v-form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px var(--gutter); padding-right: 48px; }
.variants .v-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.variants .v-field--full { grid-column: 1 / -1; }
.variants .v-input { width: 100%; margin: 0; padding: 6px 0 11px; font-family: var(--font); font-size: 17px; line-height: 1.42; letter-spacing: -.17px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--muted-ink); border-radius: var(--r); -webkit-appearance: none; appearance: none; outline: none; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.variants .v-input::placeholder { color: var(--muted-ink); opacity: 1; }
.variants .v-input:hover { border-bottom-color: var(--text); }
.variants .v-input:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.variants .v-btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px; background: var(--text); color: var(--white); font-family: var(--font); font-size: 14px; line-height: 1; letter-spacing: -.1px; border-radius: var(--r); transition: background-color var(--dur-fast) var(--ease); }
.variants .v-btn svg { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.variants .v-btn:hover { background: var(--text-2); }
.variants .v-btn:hover svg { transform: translateX(2px); }
.variants .v-field--full .v-btn { justify-self: start; align-self: flex-start; }
.variants .v-cd { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: var(--section); }
.variants .v-cd::before { content: none; }
.variants .v-cd { border-top: 1px solid var(--line); margin: 0 var(--gutter); padding: 24px 0 var(--section); }

/* ── Footers ── */
.variants .v-ftsec { padding-bottom: var(--section); }
.variants .v-ftsec--bleed { padding-left: 0; padding-right: 0; }
.variants .v-ft1 { display: flex; flex-direction: column; min-height: 760px; margin: 0 calc(var(--gutter) * -1); padding: 96px var(--gutter) 0; background: var(--surface); overflow: hidden; }
.variants .v-ft1__top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.variants .v-ft1__h { max-width: 560px; text-wrap: pretty; }
.variants .v-ft1__contact { display: grid; gap: 24px; }
.variants .v-ft1__legal { margin: 90px 0 0 calc(50% + var(--gutter) / 2); color: var(--text-2); }
.variants .v-ft2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.variants .v-ft2__mark { font-family: var(--font-display); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 22px; line-height: 1; text-transform: uppercase; }
.variants .v-ft2__end { margin-left: auto; color: var(--text-2); }
.variants .v-ft3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); padding-top: 24px; border-top: 1px solid var(--line); }
.variants .v-ft3__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.variants .v-ft3__col .t-label { margin-bottom: 6px; }
.variants .v-ft3__col .t-small { color: var(--text-2); }
.variants .v-ft3__col .t-h3 { margin-bottom: 8px; }
.variants .v-ft3__col a.link.t-small { color: var(--muted-ink); }
.variants .v-ft3__col a.link.t-small:hover { color: var(--text); }
.variants .v-ft3__legal { grid-column: 1 / -1; margin-top: 72px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted-ink); }
.variants .v-ft4 { position: relative; display: flex; flex-direction: column; min-height: 820px; padding: 96px var(--gutter) 0; overflow: hidden; color: var(--on-photo); background: var(--night); }
.variants .v-ft4 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.variants .v-ft4::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 20, 18, .55) 0, rgba(20, 20, 18, .15) 40%, rgba(20, 20, 18, .15) 60%, rgba(20, 20, 18, .55) 100%); }
.variants .v-ft4__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.variants .v-ft4__top { grid-template-rows: auto auto; align-content: start; }
.variants .v-ft4__top p:first-child { grid-column: 1; grid-row: 1 / 3; }
.variants .v-ft4__top p:not(:first-child) { grid-column: 2; }
.variants .v-ft4__link { color: var(--on-photo-soft); transition: color var(--dur-fast) var(--ease); }
.variants .v-ft4__link:hover { color: var(--on-photo); }
.variants .v-ft4__mark { position: relative; z-index: 2; color: var(--on-photo); }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .variants .v-hd > a, .variants .v-hd > p, .variants .v-hd > span, .variants .v-hd > ul > li > a, .variants .v-hd > span > a { font-size: 19px; }
  .variants .v-hb__stats dd { font-size: 30px; }
  .variants .v-st__list { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .variants .v-pg { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
/* ── Phone menu width ── */
@media (max-width: 900px) {
  .variants .v-intro, .variants .v-hb__panels, .variants .v-hc__foot, .variants .v-pb, .variants .v-tb, .variants .v-tc, .variants .v-gb__head, .variants .v-tbl__row, .variants .v-qc, .variants .v-fs, .variants .v-pf, .variants .v-qb2, .variants .v-ql__row, .variants .v-ca, .variants .v-cc, .variants .v-ft1__top, .variants .v-ft4__top, .variants .v-ha__foot { grid-template-columns: 1fr; }
  .variants .v-label { flex-direction: column; gap: 4px; }
  .variants .v-label code { text-align: left; max-width: none; }
  .variants .v-hd { flex-wrap: wrap; height: auto; min-height: var(--head-h); gap: 6px 16px; padding: 10px 0; }
  .variants .v-hd > a, .variants .v-hd > p, .variants .v-hd > span, .variants .v-hd > ul > li > a, .variants .v-hd > span > a { font-size: 17px; }
  .variants .v-hd__links, .variants .v-hd__l, .variants .v-hd__r { gap: 16px; }
  .variants .v-hd--split { grid-template-columns: 1fr; justify-items: start; }
  .variants .v-hd--split .v-hd__mark { order: -1; }
  .variants .v-hd__r { justify-self: start; }
  .variants .v-hd--over .v-hd__end { margin-left: 0; }
  .variants .v-hdd { aspect-ratio: auto; height: 420px; }
  .variants .v-dd__panel--sheet, .variants .v-dd__panel--row, .variants .v-dd__panel--rooms { grid-template-columns: 1fr; }
  .variants .v-dd__panel--row ul { grid-template-columns: 1fr 1fr; }
  .variants .v-dd__panel--rooms a { font-size: 26px !important; }
  .variants .v-dd__panel--box { width: 280px; }
  .variants .v-hdsec--a { min-height: 360px; }
  .variants .v-hdsec--c { min-height: 380px; }
  .variants .v-cb { aspect-ratio: auto; height: 540px; min-height: 0; }
  .variants .v-gc__full { aspect-ratio: 4 / 5; }
  .variants .v-ha { min-height: 720px; }
  .variants .v-ha .v-hd--over { padding-top: 6px; }
  .variants .v-ha__story { grid-template-columns: 1fr; gap: 10px; }
  .variants .v-hb__panels { min-height: 0; }
  .variants .v-hb__text { padding: 32px var(--gutter) 48px; }
  .variants .v-hc__h { font-size: 12.4vw; }
  .variants .v-hc__row--2 { padding-left: 10%; }
  .variants .v-hc__row { padding: 6px 0 2px; }
  .variants .v-hi__caps { flex-wrap: wrap; }
  .variants .v-hi__cap { height: auto; min-height: 44px; padding: 8px 14px; flex-wrap: wrap; gap: 6px 16px; }
  .variants .v-hi__cap--end { margin-left: 0; }
  .variants .v-hi__plate { margin: 0; width: 100%; aspect-ratio: 4 / 5; }
  .variants .v-hi__copy { left: 16px; right: 16px; bottom: 20px; }
  .variants .v-hi__press { margin: 12px 0 0; flex-direction: column; gap: 4px; }
  .variants .v-sc__label { display: block; width: auto; margin-bottom: 14px; }
  .variants .v-pc, .variants .v-gb__grid, .variants .v-qb, .variants .v-sp__list, .variants .v-fa3 { grid-template-columns: 1fr; }
  .variants .v-pc { row-gap: 28px; }
  .variants .v-gb__grid, .variants .v-gb__col { row-gap: 24px; }
  .variants .v-qb, .variants .v-sp__list, .variants .v-fa3 { row-gap: 36px; }
  .variants .v-tf { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .variants .v-qa .cols__right, .variants .v-qa__label { grid-column: 1; }
  .variants .v-sa__row { grid-template-columns: 36px 1fr; row-gap: 4px; }
  .variants .v-sa__row .t-small, .variants .v-sa__t { grid-column: 2; }
  .variants .v-st__list { grid-template-columns: 1fr 1fr; }
  .variants .v-qa1 details p { margin-left: 0; }
  .variants .v-form { padding-right: 0; }
  .variants .v-cd { flex-direction: column; gap: 4px; }
  .variants .v-ft3 { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .variants .v-ft3__legal { margin-top: 24px; }
  .variants .v-ft4__top p:first-child, .variants .v-ft4__top p:not(:first-child) { grid-column: 1; grid-row: auto; }
  .variants .v-ft1__legal { margin-left: 0; }
  .variants .v-ca { padding-top: 64px; padding-bottom: 72px; row-gap: 40px; }
  .variants .v-cc { row-gap: 32px; }
}
@media (max-width: 640px) {
  .variants .v-hb__stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .variants .v-hb__stats dd { font-size: 26px; }
  .variants .v-hb__people { padding: 10px; gap: 10px; }
  .variants .v-hc__num .t-h1 { font-size: 46px; }
  .variants .v-form { grid-template-columns: 1fr; gap: 26px; }
  .variants .v-ft1 { min-height: 0; padding-top: 64px; }
  .variants .v-ft4 { min-height: 560px; padding-top: 56px; }
  .variants .v-ft1__legal { margin-top: 48px; }
  .variants .v-tf .t-h1 { font-size: 40px; }
}

/* quotes sit flush */
.variants blockquote { margin: 0; }

/* captions on lighter photos get a slightly deeper foot fade (scoped to this page) */
.variants .cap--foot { background: linear-gradient(180deg, rgba(20, 20, 18, 0), rgba(20, 20, 18, .42) 45%, rgba(20, 20, 18, .72)); }
.variants textarea.v-input { resize: vertical; min-height: 96px; }

/* header-d: while its sheet is open the bar turns solid white, ink text (hovering the bar off the links lets the photo back) */
.variants .v-hdd:has(.v-dd.is-open) .v-hd--over, .variants .v-hdd .v-hd--over:has(.v-dd:hover), .variants .v-hdd .v-hd--over:has(.v-dd:focus-within) { background: var(--bg); color: var(--text); }
.variants .v-hdd:has(.v-dd.is-open) .v-hd--over .v-hd__links:hover > li > a { color: var(--muted-ink); }
.variants .v-hdd:has(.v-dd.is-open) .v-hd--over .v-hd__links > li > a:hover { color: var(--text); }
.variants .v-hdd .v-hd--over:hover:not(:has(.v-dd:hover)) { background: transparent; color: var(--on-photo); }

/* ───────── Work ───────── */
/* Selva — work page (wk-) and 404 page (nf-). Tokens only; shared classes are scoped under body.work / body.nf. */

/* ── Work: anything filtered or switched off is gone (beats display rules on tiles, rows and panels) ── */
.work [hidden] { display: none !important; }

/* ── Page title: one serif line, then the index bar on a hairline ── */
.wk-head { padding-top: 48px; padding-bottom: 54px; }
.wk-head__title { max-width: 1000px; }

/* ── Index bar: count at the left, filters from the 50% line, grid / list at the right ── */
.wk-bar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: baseline; padding-top: 0; padding-bottom: 56px; }
.wk-bar::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 10px; }
.wk-title, .wk-ctl { font-family: var(--font); font-weight: 400; font-size: 12px; line-height: 1.2; letter-spacing: .6px; text-transform: uppercase; }
.wk-title { color: var(--text); padding: 8px 0; }
.wk-count { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.wk-bar__r { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 32px; flex-wrap: wrap; }
.wk-filters, .wk-views { display: flex; flex-wrap: wrap; gap: 0 18px; }
.wk-ctl { color: var(--muted-ink); padding: 8px 0; transition: color var(--dur-fast) var(--ease); }
.wk-ctl:hover, .wk-ctl:focus-visible, .wk-ctl[aria-pressed="true"] { color: var(--text); }

/* ── Grid: staggered masonry (tall 454×591 / short 454×365 at 1440), one full-width tile spans all columns ── */
.wk-grid { padding-bottom: 0; }
.wk-masonry { columns: 3; column-gap: var(--gutter); }
.wk-tile { display: block; break-inside: avoid; padding-bottom: 36px; }
.wk-tile--full { column-span: all; }
.wk-ph { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.wk-tile--port .wk-ph { aspect-ratio: 454 / 591; }
.wk-tile--short .wk-ph { aspect-ratio: 454 / 365; }
.wk-tile--full .wk-ph { aspect-ratio: 1408 / 760; }
.wk-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.wk-tile:hover .wk-ph img, .wk-tile:focus-visible .wk-ph img { transform: scale(1.03); }
.wk-cap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--gutter); padding-top: 8px; font-size: 12px; line-height: 1.2; letter-spacing: -.12px; color: var(--text); }
.wk-cap__name { text-transform: uppercase; letter-spacing: .6px; }
.wk-cap__place { color: var(--muted-ink); transition: color var(--dur-fast) var(--ease); }
.wk-tile:hover .wk-cap__place { color: var(--text); }

/* ── List: the shared hairline table, every row a link, a small accent dot on hover ── */
.wk-list { padding-top: 6px; padding-bottom: 40px; }
.wk-table { table-layout: fixed; }
.wk-table thead th:first-child { width: 50%; }
.wk-table tbody tr { position: relative; cursor: pointer; }
.wk-table td:first-child a::after { content: ""; position: absolute; inset: 0; }
.wk-table td:first-child::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; opacity: 0; transition: opacity var(--dur-fast) var(--ease); }
.wk-table tbody tr:hover td:first-child::after, .wk-table tbody tr:focus-within td:first-child::after { opacity: 1; }

.wk-totop { padding-top: 28px; }

/* ── 404: big line + one line + two grey links on the left, one quiet photo from the 50% line ── */
.nf-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 0; padding-bottom: var(--section); }
.nf-text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 60px; padding-right: 64px; }
.nf .nf-label { color: var(--muted-ink); margin-bottom: 26px; letter-spacing: .6px; }
.nf-title { max-width: 620px; }
.nf-lead { max-width: 520px; }
.nf-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 29px; }
.nf .nf-links .link { margin-top: 0; }
.nf-figure { padding-top: 104px; }
.nf-photo { position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 689 / 820; }
.nf-photo img { width: 100%; height: 100%; object-fit: cover; }
.nf-figure figcaption { padding-top: 8px; font-size: 12px; line-height: 1.2; letter-spacing: -.12px; }
.nf-figure figcaption span { text-transform: uppercase; letter-spacing: .6px; margin-right: 12px; }
.nf-figure figcaption em { font-style: normal; color: var(--muted-ink); }

/* ── Tablet ── */
@media (max-width: 900px) {
  .wk-masonry { columns: 2; }
  .wk-bar { grid-template-columns: 1fr auto; grid-template-areas: "rule rule" "title views" "filters filters"; gap: 0 var(--gutter); }
  .wk-bar::before { grid-area: rule; }
  .wk-bar__r { display: contents; }
  .wk-title { grid-area: title; }
  .wk-views { grid-area: views; }
  .wk-filters { grid-area: filters; }
  .nf-split { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
  .nf-text { padding-top: 56px; }
  .nf-figure { padding-top: 0; }
  .nf-text { padding-right: 0; }
}
/* ── Phone ── */
@media (max-width: 640px) {
  .wk-head { padding-top: 36px; padding-bottom: 32px; }
  .wk-bar { padding-bottom: 16px; }
  .wk-bar::before { margin-bottom: 0; }
  .wk-filters { gap: 0 16px; }
  .wk-ctl { display: inline-flex; align-items: center; padding: 0; min-height: 44px; }
  .wk-title { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .wk-masonry { columns: 1; }
  .wk-tile { padding-bottom: 28px; }
  .wk-table thead th:first-child { width: 46%; }
  .wk-table td:first-child::after { display: none; }
  .nf-text { gap: 28px; }
}
