/* ALISA TIMASHPOLSKY — design tokens + components (prototype)
   PERMANENT layer: grid, spacing, motion, components, the shape-shifting mark.
   VARIABLE layer: the four --atm-* tokens (set per collection / page from the Studio).
   DIRECTION layer: body[data-dir] swaps typefaces, scale and the colour of the fixed bands —
   three interpretations of one identity on one code base. Everything is provisional. */

:root {
  --sans: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Noto Serif Display', 'Times New Roman', serif;
  --t-body: clamp(1rem, 1.05vw, 1.125rem);
  --t-small: 0.8125rem;
  --t-micro: 0.6875rem;
  --gutter: clamp(16px, 3.2vw, 56px);
  --gap: clamp(16px, 3.2vw, 56px);   /* space between columns; --gutter is the page's side margin */
  --s-section: clamp(88px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --slow: 1100ms;
  --metal: linear-gradient(100deg, #E9EAEC, #9A9DA3 28%, #F4F4F5 50%, #8B8E94 74%, #D8D9DC);
  --atm-bg: #FAF8F4; --atm-fg: #493126; --atm-accent: #304FFE; --atm-soft: #F3EFE8;
}
/* A — Warm Electric: ivory, selective chocolate, electric blue as a graphic signature */
body, body[data-dir="a"] {
  --disp: var(--serif); --disp-w: 300; --disp-ls: -.028em; --disp-lh: .95;
  --t-mega: clamp(3rem, 10.5vw, 11.5rem); --t-xl: clamp(2.4rem, 6vw, 6.2rem); --t-l: clamp(1.7rem, 3.1vw, 3rem); --t-m: clamp(1.25rem, 1.7vw, 1.6rem);
  --band-bg: #493126; --band-fg: #F3EFE8; --band-accent: #93A4FF; --soft-bg: #F3EFE8; --soft-fg: #493126; --soft-accent: #304FFE;
}
/* B — Contemporary Contrast: warm white, black, orange, metal; type leads */
body[data-dir="b"] {
  --disp: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; --disp-w: 800; --disp-ls: -.012em; --disp-lh: .84;
  --t-mega: clamp(4.2rem, 17vw, 19rem); --t-xl: clamp(3.2rem, 9.5vw, 10rem); --t-l: clamp(2.1rem, 4.4vw, 4.4rem); --t-m: clamp(1.5rem, 2.3vw, 2.2rem);
  --band-bg: #191919; --band-fg: #FAF8F4; --band-accent: #FF7138; --soft-bg: #EFECE6; --soft-fg: #191919; --soft-accent: #FF7138;
}
/* C — Chromatic Freedom: neutral base, mint, royal blue, orange; the works colour the page */
body[data-dir="c"] {
  --disp: 'Geologica', 'Onest', sans-serif; --disp-w: 300; --disp-ls: -.05em; --disp-lh: .98;
  --t-mega: clamp(2.8rem, 9vw, 10rem); --t-xl: clamp(2.1rem, 5.2vw, 5.4rem); --t-l: clamp(1.5rem, 2.7vw, 2.6rem); --t-m: clamp(1.2rem, 1.6vw, 1.5rem);
  --band-bg: #2547D8; --band-fg: #FAF8F4; --band-accent: #A9DDC8; --soft-bg: #A9DDC8; --soft-fg: #173B2E; --soft-accent: #2547D8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
body {
  margin: 0; background: var(--atm-bg); color: var(--atm-fg);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color var(--slow) var(--ease), color var(--slow) var(--ease);
  overflow-x: hidden; overflow-x: clip; max-width: 100%; position: relative;
}
#view, .site-footer { overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--atm-accent); outline-offset: 4px; }
::selection { background: var(--atm-accent); color: var(--atm-bg); }

.disp { font-family: var(--disp); font-weight: var(--disp-w); letter-spacing: var(--disp-ls); line-height: var(--disp-lh); margin: 0; }
.disp em { font-style: italic; background: var(--paint, url(assets/art/14.jpg)) center / cover; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-inline: .02em .1em; margin-right: -.1em; }
[data-dir="b"] .disp em { font-style: normal; padding-inline: 0; margin: 0; }
[data-dir="b"] h1.disp, [data-dir="b"] .site-footer .big, [data-dir="b"] .next-col .disp { text-transform: uppercase; }
[data-dir="c"] .disp em { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.label { font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.small { font-size: var(--t-small); }
.muted { opacity: .64; }
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--s-section); }
.u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.paintline { display: block; height: 16px; background-size: cover; background-repeat: no-repeat; margin-top: clamp(56px, 7vw, 110px); }

/* the mark: one accent-coloured form that keeps changing shape */
.fm { display: inline-block; flex: none; width: .78em; height: .78em; background: var(--atm-accent); vertical-align: baseline; transition: border-radius 700ms var(--ease), transform 700ms var(--ease), background-color var(--slow); }
.fm.f0 { border-radius: 50%; }
.fm.f2 { width: 1.5em; height: .62em; border-radius: 1em; }
.fm.f3 { border-radius: 1em 1em 0 0; }
.fm.f4 { transform: rotate(45deg) scale(.82); }
.fm.f5 { border-radius: 100% 0 0 0; }
[data-dir="b"] .fm.f2, [data-dir="b"] .fm.f4 { background: var(--metal); }
.num { display: inline-flex; align-items: center; gap: .85em; font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.num .fm { font-size: 13px; }

/* text link: one accent underline that redraws itself; no boxes, no icons */
.link { position: relative; display: inline-block; align-self: flex-start; padding: 0 1.9em 7px 0; font-size: var(--t-small); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform-origin: left; transition: transform 600ms var(--ease); }
.link:hover::after { transform: scaleX(.3); }
.link::before { content: '→'; position: absolute; right: 0; top: -.08em; font-size: 1.25em; letter-spacing: 0; transition: transform 400ms var(--ease); }
.link:hover::before { transform: translateX(4px); }
.pager .link:first-child::before { content: none; }
.pager .link:first-child { padding-right: 0; }
.btn { display: inline-block; padding: 16px 28px; background: var(--atm-fg); color: var(--atm-bg); font-size: var(--t-small); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: background-color 400ms, color 400ms; white-space: nowrap; }
.btn:hover { background: var(--atm-accent); }
[data-dir="b"] .btn:hover { color: #191919; }

/* placeholders — always visibly marked, removable with one toggle */
.ph { border-bottom: 1px dashed color-mix(in srgb, currentColor 45%, transparent); }
.ph-tag, .tag { display: inline-block; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; font-style: normal; line-height: 1; padding: 4px 6px; margin-left: .6em; vertical-align: middle; border: 1px dashed currentColor; opacity: .75; white-space: nowrap; }
.ph-block { border: 1px dashed color-mix(in srgb, currentColor 40%, transparent); padding: 16px 18px; font-size: var(--t-small); opacity: .82; max-width: 54ch; }
h1 .ph, h2 .ph { border-bottom: 0; }
h1 .ph-tag, h2 .ph-tag { vertical-align: top; margin-top: 1.4em; }
body.no-labels .ph-tag, body.no-labels .ph-block { display: none !important; }
body.no-labels .ph { border-bottom: 0; }

/* ───────── header ───────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 20px var(--gutter); transition: transform 500ms var(--ease), background-color var(--slow) var(--ease); }
.site-header.scrolled { background: color-mix(in srgb, var(--atm-bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.hide { transform: translateY(-100%); }
.wordmark { font-family: var(--disp); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: baseline; gap: .38em; }
.wordmark em { font-style: italic; }
.wordmark .fm { font-size: .42em; transform-origin: center; }
.wordmark:hover .fm { border-radius: 50%; transform: rotate(180deg); }
[data-dir="b"] .wordmark { font-weight: 800; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .005em; }
[data-dir="b"] .wordmark em, [data-dir="c"] .wordmark em { font-style: normal; }
[data-dir="c"] .wordmark { font-weight: 500; font-size: 1.12rem; letter-spacing: -.04em; }
[data-dir="b"] .site-header, [data-dir="c"] .site-header { display: flex; }
[data-dir="b"] .wordmark, [data-dir="c"] .wordmark { order: -1; margin-right: auto; }
.nav { display: flex; gap: clamp(14px, 1.9vw, 30px); align-items: center; }
.nav.nr { justify-content: flex-end; }
.ni { position: relative; padding-block: 8px; }
.nav a, .nav button { font-size: var(--t-small); letter-spacing: .02em; white-space: nowrap; }
.ni > a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 5px; transition: background-size 400ms var(--ease); }
.ni > a:hover, .ni > a[aria-current="page"] { background-size: 100% 1px; }
.sub { position: absolute; top: 100%; left: -18px; min-width: 210px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; background: var(--atm-bg); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 250ms, transform 350ms var(--ease), visibility 250ms; }
.ni:hover .sub, .ni:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { opacity: .75; }
.sub a:hover { opacity: 1; }
.nav .lang { letter-spacing: .12em; font-size: var(--t-micro); display: flex; gap: 8px; }
.nav .lang button { font-size: var(--t-micro); opacity: .6; }
.nav .lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.bag span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin-left: 2px; border-radius: 50%; background: var(--atm-accent); color: var(--atm-bg); font-size: 10px; font-weight: 500; }
[data-dir="b"] .bag span { background: var(--metal); color: #191919; border-radius: 0; }
.menu-btn { display: none; font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase; justify-self: end; }
.overlay { position: fixed; inset: 0; z-index: 60; background: var(--atm-fg); color: var(--atm-bg); padding: 20px var(--gutter) 28px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease); overflow-y: auto; --atm-accent: var(--band-accent); }
.overlay.open { opacity: 1; pointer-events: auto; }
.overlay-top { display: flex; justify-content: space-between; align-items: center; }
.overlay nav { margin-block: 36px; display: flex; flex-direction: column; gap: 14px; }
.overlay .top-l { font-family: var(--disp); font-weight: var(--disp-w); font-size: clamp(2.1rem, 9.5vw, 4rem); line-height: 1; letter-spacing: var(--disp-ls); display: flex; align-items: baseline; gap: 14px; }
.overlay .top-l small { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; opacity: .6; font-weight: 500; }
.overlay .subs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0 30px; font-size: var(--t-small); opacity: .72; }
.overlay > small { font-size: var(--t-small); opacity: .8; margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.overlay .lang { display: inline-flex; gap: 10px; margin-left: 8px; }
.overlay .lang button[aria-pressed="true"] { text-decoration: underline; }

/* ───────── view transitions ───────── */
#view { min-height: 100vh; opacity: 1; transition: opacity 320ms var(--ease); }
#view.leaving { opacity: 0; }
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1000ms var(--ease), transform 1200ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1400ms var(--ease); }
.rv-img.in { clip-path: inset(0); }

/* ───────── opening: one structure, three compositions ───────── */
.hero { min-height: 100svh; padding: 92px var(--gutter) 26px; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.h-name { margin: 0; }
.h-concept { font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); letter-spacing: var(--disp-ls); line-height: 1.1; }
.h-concept em { font-style: italic; }
.h-art { display: block; position: relative; }
.h-art img { width: 100%; }
.h-art .cap, .h-switch .cap { display: block; margin-top: 10px; font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.h-face { display: block; position: relative; isolation: isolate; }
.h-face img { height: 100%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.h-mini { display: block; }
.h-mini img { height: min(19svh, 170px); width: auto; }
.h-mini .cap { display: block; margin-top: 8px; font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* A — the name on one line, italic against roman; a blue disc behind the portrait */
.ha { grid-template-rows: 1fr auto; align-items: end; }
.ha .h-face { grid-column: 1 / span 4; grid-row: 1; height: min(64svh, 620px); justify-self: start; }
.ha .h-face::before { content: ''; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--atm-accent); top: -7%; right: -22%; transition: background-color var(--slow); }
.ha .h-meta { grid-column: 1 / span 4; grid-row: 1; display: flex; flex-direction: column; gap: 22px; padding-bottom: 4px; }
.ha.has-face .h-meta { grid-column: 5 / span 4; padding-left: 4vw; }
.ha.has-face .h-art { grid-column: 9 / -1; align-self: start; max-width: min(100%, calc(34svh * var(--r))); margin-top: 3svh; }
.ha .h-concept em { font-style: italic; }
.ha .h-art { grid-column: 7 / -1; grid-row: 1; align-self: center; justify-self: end; width: 100%; max-width: min(100%, calc(56svh * var(--r))); }
.ha .h-name { grid-column: 1 / -1; grid-row: 2; margin-top: clamp(14px, 2.4vw, 40px); font-size: clamp(2.2rem, 10.1vw, 12.4rem); line-height: .9; white-space: nowrap; }

/* B — type first: the name fills the width, the painting stands on it */
.hb { grid-template-rows: 1fr auto auto; --fs: min(19.8vw, calc((100vw - 2 * var(--gutter)) * .212)); }
.hb .h-name { display: contents; }
.hb .h-name span { font-family: var(--disp); font-weight: 800; font-size: var(--fs); line-height: .76; letter-spacing: -.012em; text-transform: uppercase; white-space: nowrap; display: block; }
.hb .l1 { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
.hb .l2 { grid-column: 1 / -1; grid-row: 2; margin-top: .06em; }
.hb .h-top { grid-column: 1 / span 6; grid-row: 1; align-self: start; display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.hb .h-face { height: min(30svh, 280px); align-self: flex-start; }
.hb .h-face::after { content: ''; position: absolute; left: calc(100% + 12px); bottom: 0; width: 26px; height: 26px; background: var(--atm-accent); }
.hb .h-art { grid-column: 7 / -1; grid-row: 1; align-self: end; justify-self: end; width: 100%; max-width: min(100%, calc((100svh - 215px - var(--fs) * .84) * var(--r))); margin-bottom: 1.4vw; }
.hb .h-photo { overflow: hidden; }
.hb .h-art .cap { position: absolute; right: 0; bottom: calc(100% + 8px); margin: 0; }
.hb .h-meta { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.hb .h-meta .rule { flex: 1; height: 5px; background: var(--metal); }
.hb .h-concept { font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 500; }
.hb .h-concept em { font-style: normal; color: var(--atm-accent); }

/* C — the painting changes and the whole page changes with it */
.hc { grid-template-rows: auto 1fr auto; }
.hc .h-top { grid-column: 1 / span 6; grid-row: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.hc .h-concept em { font-family: var(--serif); letter-spacing: -.02em; }
.hc .h-face { grid-column: 1 / span 3; grid-row: 2; align-self: start; margin-top: 2svh; height: min(40svh, 380px); }
.hc .h-name { grid-column: 1 / span 7; grid-row: 2; align-self: end; font-size: clamp(2.6rem, 7.9vw, 9.4rem); line-height: .92; position: relative; z-index: 2; }
.hc .h-deck { grid-column: 8 / -1; grid-row: 1 / span 2; position: relative; min-height: 62svh; }
.hc .h-deck a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; opacity: 0; pointer-events: none; transform: translateY(18px) rotate(1.6deg) scale(.97); transition: opacity 800ms var(--ease), transform 1100ms var(--ease); }
.hc .h-deck a.on { opacity: 1; pointer-events: auto; transform: none; }
.hc .h-deck img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.hc .h-switch { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.hc .h-switch .cap { margin: 0; order: 3; }
.dots { display: flex; gap: 18px; align-items: center; order: 2; }
.dots button { padding: 6px; display: grid; place-items: center; }
.dots .fm { font-size: 20px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--atm-fg); }
.dots button[aria-pressed="true"] .fm { background: var(--atm-fg); }

/* ───────── artwork figure (never cropped) ───────── */
.piece { margin: 0; display: block; }
.piece .frame { display: block; overflow: hidden; }
.piece img { width: 100%; transition: transform 1600ms var(--ease); }
.piece:hover img { transform: scale(1.025); }
.piece .cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: var(--t-small); }
.piece .t { font-family: var(--disp); font-weight: var(--disp-w); font-size: 1.3rem; font-style: italic; line-height: 1.1; }
[data-dir="b"] .piece .t, [data-dir="c"] .piece .t { font-style: normal; }
[data-dir="b"] .piece .t { font-weight: 500; font-size: 1.55rem; }
.piece .s { font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; opacity: .64; text-align: right; white-space: nowrap; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(56px, 7vw, 110px); }
.sec-head h2 { font-size: var(--t-xl); }
.sec-head .link { margin-bottom: 10px; }

/* selected: hand-set asymmetry, driven by each work's own proportions */
.selected .items { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(56px, 9vw, 150px); align-items: start; }
.selected .piece:nth-child(6n+1) { grid-column: 1 / span 5; }
.selected .piece:nth-child(6n+2) { grid-column: 7 / span 6; margin-top: 16vw; }
.selected .piece:nth-child(6n+3) { grid-column: 3 / span 4; }
.selected .piece:nth-child(6n+4) { grid-column: 9 / span 4; margin-top: 10vw; }
.selected .piece:nth-child(6n+5) { grid-column: 2 / span 5; }
.selected .piece:nth-child(6n+6) { grid-column: 8 / span 4; margin-top: -6vw; }
.selected .piece.panorama { grid-column: 4 / span 9 !important; margin-top: 0 !important; }
[data-dir="b"] .selected .piece:nth-child(6n+1) { grid-column: 1 / span 6; }
[data-dir="b"] .selected .piece:nth-child(6n+3) { grid-column: 1 / span 4; }
[data-dir="c"] .selected .piece:nth-child(6n+2) { grid-column: 8 / span 5; margin-top: 8vw; }

/* featured collection — the page takes its atmosphere while it is in view */
.featured { padding-block: var(--s-section); }
.featured .lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.featured .ttl { grid-column: 1 / -1; margin-bottom: clamp(28px, 4vw, 64px); }
.featured h2 { font-size: var(--t-xl); margin-top: 22px; }
.featured .ttl { display: flex; flex-direction: column; align-items: flex-start; }
.featured .big { grid-column: 1 / span 8; }
.featured .txt { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 24px; padding-bottom: 6px; }
.featured .strip { display: flex; gap: var(--gap); margin-top: clamp(40px, 6vw, 100px); align-items: flex-end; overflow-x: auto; scrollbar-width: none; padding-left: 16vw; }
.featured .strip::-webkit-scrollbar { display: none; }
.featured .strip a { flex: none; height: clamp(170px, 24vw, 400px); }
.featured .strip img { height: 100%; width: auto; max-width: none; }
[data-dir="b"] .featured .big { grid-column: 5 / span 8; grid-row: 2; }
[data-dir="b"] .featured .txt { grid-column: 1 / span 3; grid-row: 2; }
[data-dir="b"] .featured .strip { padding-left: 0; }

/* the artist */
.artist-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.artist-band .pic { grid-column: 2 / span 2; position: relative; isolation: isolate; max-width: 260px; }
.artist-band .pic img { width: 100%; }
.artist-band .pic::before { content: ''; position: absolute; z-index: -1; inset: 12% -34% -8% 34%; background: #D8C2AD; }
[data-dir="b"] .artist-band .pic::before { background: var(--metal); inset: auto -14% -6% 40%; height: 8px; }
[data-dir="c"] .artist-band .pic::before { background: #A9DDC8; border-radius: 50%; inset: -10% -50% auto 30%; aspect-ratio: 1; }
.artist-band .say { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.by { display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; }
blockquote { margin: 0; font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-l); line-height: 1.08; letter-spacing: var(--disp-ls); }
[data-dir="b"] blockquote { font-weight: 500; line-height: .98; }
[data-dir="c"] blockquote { line-height: 1.12; letter-spacing: -.04em; }
blockquote::before { content: '“'; color: var(--atm-accent); }
blockquote::after { content: '”'; color: var(--atm-accent); }

/* meet Alisa — the artist comes before the work */
.meet-top { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.meet .say { font-size: var(--t-xl); max-width: 17ch; }
[data-dir="b"] .meet .say { max-width: 15ch; }
.meet-grid { display: grid; grid-template-columns: 4fr 3fr 5fr; column-gap: var(--gap); align-items: end; margin-top: clamp(44px, 6vw, 96px); }
.meet .pic { position: relative; isolation: isolate; }
.meet .pic img, .meet .pic2 img { width: 100%; }
.meet .pic2 { margin-bottom: 7vw; }
.meet .pic::before { content: ''; position: absolute; z-index: -1; inset: 10% -9% -5% 28%; background: #D8C2AD; }
[data-dir="b"] .meet .pic::before { background: var(--metal); inset: auto 0 -14px 34%; height: 8px; }
[data-dir="c"] .meet .pic::before { background: #A9DDC8; border-radius: 50%; inset: -8% -18% auto 34%; aspect-ratio: 1; }
.slot { position: relative; aspect-ratio: 4 / 5; background: color-mix(in srgb, currentColor 7%, transparent); display: grid; place-items: end start; padding: 16px; font-size: var(--t-small); }
.slot::before { content: ''; position: absolute; left: 16px; top: 16px; width: 26%; aspect-ratio: 1; border: 2px solid var(--atm-accent); border-radius: 50%; }
.slot span { opacity: .8; max-width: 22ch; }
body.no-labels .slot { visibility: hidden; }
.meet .txt { display: flex; flex-direction: column; gap: 44px; align-items: flex-start; padding-left: clamp(0px, 2vw, 40px); }
.meet .txt > div { display: flex; flex-direction: column; gap: 16px; }
.meet .txt p { max-width: 44ch; }
.facts-line { list-style: none; margin: clamp(44px, 6vw, 96px) 0 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 30px; border-block: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); letter-spacing: var(--disp-ls); line-height: 1.15; }
.facts-line li { display: inline-flex; align-items: center; gap: 12px; }
.facts-line .fm { font-size: 12px; }
.meet-col { display: flex; flex-direction: column; gap: 22px; margin-top: clamp(44px, 6vw, 96px); padding-top: 22px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.meet-col blockquote { font-size: calc(var(--t-m) * 1.25); line-height: 1.2; }
.meet-col > .sw { flex-direction: row; }
.unx-page .joke { max-width: 34ch; font-size: var(--t-m); }

/* fixed bands: the 20 % of warm or dark contrast */
.band { background: var(--band-bg); color: var(--band-fg); --atm-bg: var(--band-bg); --atm-fg: var(--band-fg); --atm-accent: var(--band-accent); }
.soft-band { background: var(--soft-bg); color: var(--soft-fg); --atm-bg: var(--soft-bg); --atm-fg: var(--soft-fg); --atm-accent: var(--soft-accent); }
[data-dir="b"] .soft-band { border-block: 5px solid; border-image: var(--metal) 1; }

/* kinds of work — one clear row each; print (paper) and digital (screen) look different on purpose */
.lines { padding-top: var(--s-section); }
.lines-h .sec-head { margin-bottom: clamp(30px, 4vw, 60px); }
.ln { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: clamp(40px, 5.5vw, 84px) var(--gutter); border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ln .k { grid-column: 1 / span 2; align-self: start; display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.ln .k .n { font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-l); line-height: 1; color: var(--atm-accent); }
.ln .b { grid-column: 3 / span 5; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.ln .b b { font-size: var(--t-xl); }
.ln .d { max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid color-mix(in srgb, currentColor 55%, transparent); padding: 6px 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; line-height: 1; }
.ln .v { grid-column: 9 / span 4; display: block; }
.ln .v .vis { display: block; overflow: hidden; }
.ln .v .vis img { width: auto; max-width: 100%; max-height: 440px; margin-left: auto; }
.ln .v img, .ln .v .mk > :first-child { transition: transform 1200ms var(--ease); }
.ln:hover .v .vis img, .ln:hover .v .mk > :first-child { transform: scale(1.03); }
.ln.paper { background: #FFFFFF; color: #191919; --atm-fg: #191919; --atm-bg: #FFFFFF; }
.ln.paper .mk { background: #F3EFE8; aspect-ratio: 4 / 5; }
.ln.screen { background: #191919; color: #F3EFE8; --atm-fg: #F3EFE8; --atm-bg: #191919; --atm-accent: var(--band-accent); border-top-color: transparent; }
.ln.screen .mk { background: #000; aspect-ratio: 16 / 10; }
.ln.screen .m-screen { width: 86%; box-shadow: 0 0 80px -10px rgba(120, 150, 255, .45); }
.ln.screen + .ln { border-top-color: transparent; }
.ln .k .label { opacity: .7; }
.ln.flip .v { grid-column: 1 / span 4; grid-row: 1; }
.ln.flip .v .vis img { margin: 0; }
.ln.flip .k { grid-column: 6 / span 2; grid-row: 1; }
.ln.flip .b { grid-column: 8 / span 5; grid-row: 1; }
.ln.wide { align-items: end; }
.ln.wide .v { grid-column: 6 / span 7; }
.ln.wide .k { grid-column: 1 / span 5; grid-row: 1; align-self: start; }
.ln.wide .b { grid-column: 1 / span 4; grid-row: 1; margin-top: 60px; }
.ln.paper .m-frame { transform: rotate(-3deg); }
.ln.tilt .mk { background: transparent; }
.ln.tilt .m-scarf { width: 74%; transform: rotate(9deg); }
.sim.mini { min-height: 0; aspect-ratio: 4 / 3; padding: 9% 14% 20%; }

/* collect: four ways in, at four scales — not a shelf of cards */
.ways-grid { display: grid; grid-template-columns: 4fr 4fr 5fr 3fr; column-gap: var(--gap); align-items: start; }
.way { display: flex; flex-direction: column; gap: 10px; }
.way:nth-child(2) { margin-top: 9vw; }
.way:nth-child(3) { margin-top: 2vw; }
.way:nth-child(4) { margin-top: 14vw; }
.way .vis { display: block; overflow: hidden; }
.way .vis img, .way .mk > :first-child { transition: transform 1200ms var(--ease); }
.way:hover .vis img, .way:hover .mk > :first-child { transform: scale(1.04); }
.way .n { font-size: var(--t-micro); letter-spacing: .16em; margin-top: 10px; color: var(--atm-accent); font-weight: 500; }
[data-dir="b"] .way .n { color: inherit; }
.way b { font-size: var(--t-l); }
.way .d { font-size: var(--t-small); max-width: 30ch; opacity: .82; }

/* concept mock-ups (flat stages, square corners; always tagged) */
.mk { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: color-mix(in srgb, currentColor 8%, transparent); }
.mk .tag { position: absolute; top: 12px; left: 12px; margin: 0; }
.mk-frame { aspect-ratio: 4 / 5; }
.mk-screen { aspect-ratio: 5 / 4; background: #191919; color: #F3EFE8; }
.mk.tall { aspect-ratio: 3 / 4; }
.mk.wide, .mk.feature { aspect-ratio: 16 / 10; }
.m-frame { width: 54%; border: 10px solid #fff; outline: 5px solid #191919; box-shadow: 0 22px 34px -16px rgba(0,0,0,.45); }
.m-screen { width: 78%; background: #000; padding: 8px; border: 1px solid #3a3a3a; }
.m-screen img { width: 100%; }
.m-scarf { width: 62%; aspect-ratio: 1; background-size: cover; background-position: center; transform: rotate(-7deg); outline: 1px dashed color-mix(in srgb, currentColor 50%, transparent); outline-offset: 5px; box-shadow: 0 20px 30px -18px rgba(0,0,0,.45); }
.m-tote { width: 46%; aspect-ratio: 5 / 6; background: #F3EFE8; position: relative; display: grid; place-items: center; margin-top: 16%; box-shadow: 0 20px 30px -18px rgba(0,0,0,.45); }
.m-tote::before { content: ''; position: absolute; bottom: 99%; left: 24%; width: 52%; height: 42%; border: 7px solid #F3EFE8; border-bottom: 0; border-radius: 80px 80px 0 0; }
.m-tote img { width: 72%; }
.m-fone { width: 42%; aspect-ratio: 9 / 19; border-radius: 22px; border: 6px solid #0d0d0d; background-size: cover; background-position: center; box-shadow: 0 24px 34px -18px rgba(0,0,0,.6); }
.m-cards { position: relative; width: 78%; aspect-ratio: 1; }
.m-cards img { position: absolute; width: 46%; border: 6px solid #fff; box-shadow: 0 14px 22px -12px rgba(0,0,0,.4); top: 26%; }
.m-cards img:nth-child(1) { left: 2%; transform: rotate(-11deg); }
.m-cards img:nth-child(2) { left: 27%; top: 20%; transform: rotate(2deg); }
.m-cards img:nth-child(3) { left: 52%; top: 18%; width: 40%; transform: rotate(10deg); }

/* the unexpected — a single strip that breaks the rhythm (only when switched on) */
.unx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; row-gap: 14px; position: relative; overflow: hidden; padding: clamp(70px, 10vw, 150px) var(--gutter); background: var(--atm-fg); color: var(--atm-bg); }
.unx .label { grid-column: 1 / -1; }
.unx .disp { grid-column: 1 / span 8; font-size: var(--t-mega); }
.unx .d { grid-column: 9 / span 4; font-size: var(--t-small); padding-bottom: 1.2vw; }
.unx .ph-tag { position: absolute; top: 18px; right: var(--gutter); margin: 0; }
.shape { position: absolute; background: var(--atm-accent); animation: morph 11s var(--ease) infinite alternate; }
.unx .shape { width: 20vw; height: 20vw; right: 9vw; top: -5vw; }
@keyframes morph { 0% { border-radius: 50%; transform: rotate(0); } 34% { border-radius: 0; transform: rotate(45deg); } 67% { border-radius: 50% 50% 0 0; transform: rotate(90deg) scale(.86); } 100% { border-radius: 100% 0 0 0; transform: rotate(180deg); } }

/* create together */
.create { display: grid; grid-template-columns: 6fr 6fr; }
.sim { background: linear-gradient(#ECE7DF 0 77%, #CFC2B3 77%); position: relative; min-height: clamp(380px, 46vw, 680px); display: grid; place-items: center; padding: 9% 13% 22%; }
.sim img { width: 100%; box-shadow: 0 18px 30px -14px rgba(0,0,0,.4); }
.sim .bench { position: absolute; left: 24%; right: 24%; bottom: 10%; height: 13%; background: var(--band-bg); box-shadow: 0 20px 24px -16px rgba(0,0,0,.5); }
[data-dir="a"] .sim .bench { background: #304FFE; }
.simtag { position: absolute; left: 14px; bottom: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #191919; background: rgba(250,248,244,.86); padding: 5px 8px; }
.create .txt { padding: clamp(36px, 6vw, 100px) var(--gutter) clamp(36px, 6vw, 100px) clamp(28px, 5vw, 84px); display: flex; flex-direction: column; justify-content: center; gap: 26px; align-items: flex-start; }
.create h2 { font-size: var(--t-xl); }
.create .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 14px; }
.create .cols > div { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent); padding-top: 18px; }
.create .cols > div + div { margin-top: 3vw; }
h3 { margin: 0; font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); line-height: 1.05; letter-spacing: var(--disp-ls); }
[data-dir="c"] h3 { font-weight: 500; letter-spacing: -.03em; }
.create p { font-size: var(--t-small); max-width: 34ch; opacity: .9; }

/* art club */
.club { position: relative; overflow: hidden; display: grid; grid-template-columns: 7fr 3fr; column-gap: var(--gap); align-items: center; }
.club-pic { position: relative; }
.club-pic img { width: 100%; }
.club .inner { position: relative; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.club h2 { font-size: var(--t-xl); }
.club p { max-width: 44ch; }
.bigform { position: absolute; right: 20vw; top: 50%; width: 24vw !important; height: 24vw !important; margin-top: -12vw; background: transparent !important; border: 2px solid var(--atm-accent); border-radius: 50% !important; }
[data-dir="b"] .bigform { border: 0; background: var(--metal) !important; border-radius: 0 !important; }
[data-dir="c"] .club { background: #FF7138; color: #191919; --atm-accent: #191919; --atm-fg: #191919; --atm-bg: #FF7138; }
[data-dir="c"] .bigform { border: 0; background: #2547D8 !important; width: 30vw !important; height: 12vw !important; margin-top: -6vw; border-radius: 12vw !important; }
.join { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; }
.join input { background: transparent; border: 0; border-bottom: 2px solid currentColor; padding: 14px 4px; min-width: min(300px, 70vw); border-radius: 0; margin-right: 16px; }
.join input::placeholder { color: inherit; opacity: .55; }
.join input:focus { outline: 0; border-bottom-color: var(--atm-accent); }

/* inside my world */
.world-grid { display: grid; grid-template-columns: 3fr 2fr 3fr 4fr; column-gap: var(--gap); align-items: start; }
.jc { display: flex; flex-direction: column; gap: 8px; }
.jc.j2 { margin-top: 10vw; }
.jc.j3 { margin-top: 3vw; }
.jc.j4 { margin-top: 8vw; }
.jv { display: block; overflow: hidden; }
.jv img { width: 100%; }
.jv.empty { aspect-ratio: 4 / 5; border: 1px dashed color-mix(in srgb, currentColor 45%, transparent); display: grid; place-items: end start; padding: 16px; font-size: var(--t-small); opacity: .8; }
.j2 .jv.empty { aspect-ratio: 1; }
.jv.empty { position: relative; border: 0; background: color-mix(in srgb, currentColor 7%, transparent); opacity: 1; }
.jv.empty::before { content: ''; position: absolute; left: 16px; top: 16px; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--atm-accent); }
.j2 .jv.empty::before { border-radius: 50% 50% 0 0; background: transparent; border: 2px solid var(--atm-accent); }
.jv.empty span { opacity: .8; }
.jv.crop { aspect-ratio: 5 / 4; background-size: 260%; background-position: 34% 58%; background-repeat: no-repeat; transition: background-size 1600ms var(--ease); }
.jc:hover .jv.crop { background-size: 290%; }
body.no-labels .jv.empty span { visibility: hidden; }
.jc .n { font-size: var(--t-micro); letter-spacing: .16em; margin-top: 10px; color: var(--atm-accent); font-weight: 500; }
.jc b { font-size: var(--t-l); }
.jc .d { font-size: var(--t-small); opacity: .8; }
.soc { margin-top: clamp(36px, 5vw, 70px); }

/* journal categories still without an entry: listed as text, not as empty picture boxes */
.world-grid.two { grid-template-columns: 5fr 7fr; }
.world-grid.two .jc:nth-child(n) { margin-top: 0; }
.world-grid.two .jc.j4 { margin-top: 6vw; }
.pending { list-style: none; margin: clamp(44px, 6vw, 90px) 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.pending li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.pending b { font-size: var(--t-l); }
.pending span { font-size: var(--t-small); opacity: .7; text-align: right; }

/* footer */
.site-footer { padding: var(--s-section) var(--gutter) 64px; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.site-footer .paintline { margin: 0 calc(var(--gutter) * -1) clamp(56px, 7vw, 110px); }
.site-footer .big { font-size: var(--t-mega); margin-bottom: clamp(40px, 6vw, 90px); }
.site-footer .big .fm { font-size: .16em; margin-left: .5em; }
.site-footer .cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; font-size: var(--t-small); }
.site-footer .cols > div { grid-column: span 3; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer .cols a { opacity: .8; }
.site-footer .cols a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--atm-accent); text-underline-offset: 5px; }
.site-footer .base { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; opacity: .64; flex-wrap: wrap; }

/* ───────── inner pages ───────── */
.page-top { padding: clamp(130px, 15vw, 230px) var(--gutter) clamp(56px, 7vw, 110px); display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.page-top h1 { font-size: var(--t-mega); }
.lede { font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); letter-spacing: var(--disp-ls); line-height: 1.15; max-width: 34ch; margin-top: 10px; }
[data-dir="b"] .lede { font-weight: 500; max-width: 30ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: clamp(40px, 6vw, 90px); }
.filters button { font-size: var(--t-small); opacity: .6; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.filters button[aria-pressed="true"] { opacity: 1; border-bottom: 1px solid currentColor; }
.filters .sep { opacity: .3; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 8vw, 130px); align-items: end; padding: 0 var(--gutter) var(--s-section); }
.gallery .piece.portrait { grid-column: span 3; }
.gallery .piece.square { grid-column: span 4; }
.gallery .piece.landscape { grid-column: span 5; }
.gallery .piece.panorama { grid-column: 2 / span 10; }
.gallery .piece.push { grid-column-start: 2; }
.gallery .piece.lift { margin-bottom: 7vw; }
.gallery .piece.big.portrait { grid-column: span 4; }
.gallery .piece.big.landscape { grid-column: span 7; }

/* artwork page */
.stage { min-height: 100svh; padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--atm-soft); transition: background-color var(--slow) var(--ease); }
.stage button { cursor: zoom-in; display: block; width: min(100%, calc(76svh * var(--r))); }
.stage img { width: 100%; box-shadow: 0 50px 80px -50px color-mix(in srgb, var(--atm-fg) 60%, transparent); }
.stage .hint { font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.work-info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; padding: clamp(56px, 8vw, 130px) var(--gutter); }
.work-info .main { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.work-info h1 { font-size: var(--t-xl); }
.work-info .facts { grid-column: 9 / span 4; }
dl { margin: 0; }
dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: var(--t-small); }
dl > div:first-child { border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
dt { opacity: .64; white-space: nowrap; }
dd { margin: 0; text-align: right; }
.commerce { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.commerce .state { font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); letter-spacing: var(--disp-ls); }
[data-dir="a"] .commerce .state { font-style: italic; }
.own { list-style: none; margin: 34px 0 0; padding: 0; font-size: var(--t-small); }
.own li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.details, .related { padding: 0 var(--gutter) var(--s-section); }
.details .row { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: var(--gap); align-items: end; margin-top: 28px; }
.details .crop { background-repeat: no-repeat; background-size: 330%; cursor: zoom-in; display: block; width: 100%; }
.details .crop:nth-child(1) { aspect-ratio: 5 / 4; }
.details .crop:nth-child(2) { aspect-ratio: 3 / 4; }
.details .crop:nth-child(3) { aspect-ratio: 1 / 1; }
.related .row { display: flex; gap: var(--gap); align-items: flex-end; margin-top: 28px; overflow-x: auto; scrollbar-width: none; }
.related .row a { flex: none; height: clamp(160px, 22vw, 340px); }
.related .row img { height: 100%; width: auto; max-width: none; }
.pager { display: flex; justify-content: space-between; padding: 26px var(--gutter); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: #0c0c0c; display: none; cursor: zoom-out; overflow: hidden; }
.lightbox.open { display: block; }
.lightbox img { position: absolute; top: 50%; left: 50%; max-width: none; transform: translate(-50%, -50%); transition: transform 120ms linear; will-change: transform; }
.lightbox .x { position: absolute; top: 20px; right: var(--gutter); color: #fff; font-size: var(--t-small); letter-spacing: .14em; text-transform: uppercase; z-index: 2; }

/* collection pages */
.col-top { min-height: 100svh; padding: 120px var(--gutter) 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-content: end; row-gap: 32px; }
.col-top h1 { grid-column: 1 / -1; font-size: var(--t-mega); }
.col-top .intro { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; align-self: end; align-items: flex-start; }
.col-top .lead { grid-column: 6 / span 7; justify-self: end; width: 100%; max-width: calc(44svh * var(--r)); }
.walk { padding: var(--s-section) var(--gutter); display: flex; flex-direction: column; gap: clamp(80px, 13vw, 220px); }
.walk .room { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.walk .room .piece { grid-column: 2 / span 6; }
.walk .room .note { grid-column: 9 / span 3; }
.walk .room:nth-child(even) .piece { grid-column: 6 / span 6; grid-row: 1; }
.walk .room:nth-child(even) .note { grid-column: 2 / span 3; grid-row: 1; }
.walk .room.portrait .piece { grid-column: 3 / span 4; }
.walk .room.portrait:nth-child(even) .piece { grid-column: 7 / span 4; }
.walk .room.panorama .piece { grid-column: 1 / span 12; }
.walk .room.panorama .note { grid-column: 1 / span 4; grid-row: 2; margin-top: 20px; }
.walk .n { font-size: var(--t-xl); color: var(--atm-accent); }
.next-col { display: block; padding: var(--s-section) var(--gutter); }
.next-col .disp { font-size: var(--t-mega); display: block; margin-top: 14px; }
.col-index a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: clamp(40px, 6vw, 90px) var(--gutter); border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); transition: background-color 700ms var(--ease), color 700ms var(--ease); }
.col-index a .disp { grid-column: 1 / span 6; font-size: var(--t-xl); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.col-index a .num { font-family: var(--sans); }
.col-index a .imgs { grid-column: 8 / span 5; display: flex; gap: 14px; align-items: flex-end; justify-content: flex-end; }
.col-index a .imgs img { height: clamp(90px, 13vw, 200px); width: auto; }

/* the artist page */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: var(--s-section); }
.about .pic { grid-column: 1 / span 4; }
.about .pic img, .about-wide img, .looks img { width: 100%; }
.about-wide { margin: 0 0 var(--s-section); }
.looks { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: var(--gap); align-items: end; align-self: stretch; margin-top: 20px; }
.looks span:nth-child(2) { margin-bottom: 6vw; }
.about .say { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.about .big { font-size: var(--t-xl); }
.sides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-bottom: var(--s-section); }
.sides > div { padding-top: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.sides > div:nth-child(2) { margin-top: 5vw; }
.sides > div:nth-child(3) { margin-top: 10vw; }
.sides p { max-width: 40ch; }
.colours { padding-bottom: var(--s-section); display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.colours h2 { font-size: var(--t-xl); }
.colours p { max-width: 56ch; }
.sw { display: flex; flex-wrap: wrap; gap: 18px clamp(14px, 2vw, 30px); }
.sw span { display: flex; flex-direction: column; gap: 10px; font-size: var(--t-micro); letter-spacing: .08em; text-transform: uppercase; }
.sw i { display: block; width: clamp(48px, 6.4vw, 92px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(25,25,25,.12); }
[data-dir="b"] .sw i { border-radius: 0; }
[data-dir="c"] .sw span:nth-child(3n+2) i { border-radius: 0; }
[data-dir="c"] .sw span:nth-child(3n) i { border-radius: 50% 50% 0 0; }

/* collect / projects / club / contact: shared editorial blocks */
.cl { padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.cl.two { display: grid; grid-template-columns: 5fr 6fr; column-gap: calc(var(--gap) * 2); row-gap: 40px; align-items: start; }
.cl.flip > :first-child { order: 2; }
.cl-h { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 52ch; }
.cl-h h2 { font-size: var(--t-xl); }
.cl-h dl { align-self: stretch; margin-top: 8px; }
.cl-row { display: flex; gap: var(--gap); align-items: flex-end; margin-top: 40px; overflow-x: auto; scrollbar-width: none; }
.cl-row a { flex: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; }
.cl-row img { height: clamp(170px, 24vw, 380px); width: auto; max-width: none; }
.cl-row a:nth-child(even) img { height: clamp(130px, 18vw, 290px); }
.cl-v { display: flex; gap: var(--gap); align-items: flex-end; }
.cl-v .mk { flex: 1; }
.cl-v .mk.tall { flex: 1.25; }
.kinds { display: grid; grid-template-columns: 5fr 4fr 4fr; gap: var(--gap); margin-top: 44px; align-items: start; }
.kinds > div { display: flex; flex-direction: column; gap: 12px; }
.kinds > div:nth-child(2) { margin-top: 7vw; }
.kinds > div:nth-child(3) { margin-top: 2vw; }
.kinds b { font-size: var(--t-l); margin-top: 8px; }
.kinds span:last-child { font-size: var(--t-small); max-width: 36ch; opacity: .85; }
.dg-stage { display: grid; grid-template-columns: 4fr 1fr; gap: var(--gap); align-items: end; padding-bottom: clamp(56px, 8vw, 120px); }
.dg-stage .mk { background: color-mix(in srgb, var(--atm-fg) 8%, transparent); color: inherit; }
.dg-stage .mk-phone { aspect-ratio: 3 / 5; }
.dg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(56px, 8vw, 120px); }
.dg-steps > div { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.dg-steps > div:nth-child(even) { margin-top: 4vw; }
.dg-steps .n { font-size: var(--t-xl); }
.dg-steps p { font-size: var(--t-small); opacity: .85; max-width: 30ch; }
.dg-facts { display: grid; grid-template-columns: 5fr 6fr; column-gap: calc(var(--gap) * 2); row-gap: 30px; padding-bottom: var(--s-section); }
.dg-facts > div:last-child { display: flex; flex-direction: column; align-items: stretch; }

.unx-page { min-height: 100svh; padding: clamp(130px, 14vw, 210px) var(--gutter) var(--s-section); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.unx-page > :not(.shape) { position: relative; z-index: 1; }
.unx-page h1 { font-size: clamp(4rem, 19vw, 21rem); line-height: .8; }
[data-dir="b"] .unx-page h1 { font-size: clamp(5rem, 27vw, 30rem); line-height: .74; }
.unx-page h1 span { display: block; }
.unx-page h1 span:nth-child(2) { margin-left: 22vw; }
.unx-page h1 span:nth-child(3) { margin-left: 7vw; }
[data-dir="c"] .unx-page h1 em { color: inherit; }
.unx-page .say { font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-l); letter-spacing: var(--disp-ls); line-height: 1.05; max-width: 20ch; margin-left: auto; margin-top: 3vw; }
.unx-page .shape { z-index: 0; }
.unx-page .s1 { width: 26vw; height: 26vw; right: 6vw; top: 14vh; }
.unx-page .s2 { width: 9vw; height: 9vw; left: 9vw; top: 62vh; animation-duration: 7s; animation-direction: alternate-reverse; background: transparent; border: 2px solid var(--atm-fg); }
.unx-page .s3 { width: 15vw; height: 5vw; left: 44vw; bottom: 9vh; animation: none; border-radius: 5vw; background: var(--atm-fg); opacity: .16; }
[data-dir="a"] .unx-page .s1 { background: #FF7138; }
[data-dir="b"] .unx-page .s1 { background: var(--metal); }
.may { list-style: none; margin: 2vw 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; max-width: 70ch; font-size: var(--t-small); letter-spacing: .08em; text-transform: uppercase; }
.may li { display: inline-flex; align-items: center; gap: 10px; }
.may .fm { background: var(--atm-fg); }
.unx-page .empty { font-size: var(--t-m); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 22px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-family: var(--disp); font-weight: var(--disp-w); font-size: var(--t-m); letter-spacing: var(--disp-ls); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--sans); font-size: var(--t-micro); letter-spacing: .14em; color: var(--atm-accent); font-weight: 500; }
.inc { list-style: none; margin: 0; padding: 0; }
.inc li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.inc .fm { font-size: 13px; }
.formsec { display: grid; grid-template-columns: 4fr 7fr; column-gap: calc(var(--gap) * 2); row-gap: 40px; padding-bottom: var(--s-section); }
form.req { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--gap); }
form.req label { display: flex; flex-direction: column; gap: 8px; font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; }
form.req .full { grid-column: 1 / -1; }
form.req input, form.req select, form.req textarea { background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent); padding: 10px 0; font-size: var(--t-body); letter-spacing: 0; text-transform: none; border-radius: 0; width: 100%; }
form.req textarea { min-height: 96px; resize: vertical; }
form.req input:focus, form.req select:focus, form.req textarea:focus { outline: 0; border-bottom: 2px solid var(--atm-accent); }
.send { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* ───────── prototype controls (not part of the site) ───────── */
.proto-pill[hidden] { display: none; }
.proto-pill { position: fixed; z-index: 70; right: 16px; bottom: 16px; background: #191919; color: #FAF8F4; font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 12px 14px; border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.proto { position: fixed; z-index: 75; right: 16px; bottom: 16px; width: min(350px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; background: #191919; color: #FAF8F4; font: 400 13px/1.4 var(--sans); padding: 18px; border-radius: 14px; box-shadow: 0 18px 60px rgba(0,0,0,.4); display: none; }
.proto.open { display: block; }
.proto h4 { margin: 16px 0 8px; font: 500 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .62; }
.proto .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.proto .seg button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 12px; color: #FAF8F4; }
.proto .seg button[aria-pressed="true"] { background: #FAF8F4; color: #191919; border-color: #FAF8F4; }
.proto .sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: -2px; margin-right: 6px; border: 1px solid rgba(255,255,255,.4); }
.proto .thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.proto .thumbs button { flex: none; height: 54px; opacity: .5; border: 1px solid transparent; }
.proto .thumbs button[aria-pressed="true"] { opacity: 1; border-color: #fff; }
.proto .thumbs img { height: 100%; width: auto; max-width: none; }
.proto .top { display: flex; justify-content: space-between; align-items: center; }
.proto .dom, .proto .mini { font-size: 12px; opacity: .75; margin-top: 8px; }
.proto a, .proto [data-reset] { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .site-header, [data-dir] .site-header { display: flex; justify-content: space-between; }
  .wordmark, [data-dir] .wordmark { order: 0; margin: 0; }
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 900px) {
  .wordmark { font-size: 1.25rem; }
  [data-dir="b"] .wordmark { font-size: 1.6rem; }
  [data-dir="c"] .wordmark { font-size: 1rem; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 20px; padding-top: 82px; padding-bottom: 46px; }
  .hc .h-name, .hb .l1, .ha .h-name, .ha .h-meta { align-self: stretch; }
  .ha .h-art { order: 1; align-self: flex-end; max-width: min(78%, calc(40svh * var(--r))); }
  .ha.has-face .h-art { margin-left: auto; }
  .ha .h-face { position: absolute; left: var(--gutter); top: 88px; height: 25svh; }
  .ha .h-name { order: 2; font-size: 10.6vw; margin: 0; }
  .ha .h-meta { order: 3; gap: 14px; }
  .hb { --fs: 19.6vw; gap: 14px; }
  .hb .h-name { display: block; order: 2; }
  .hb .h-top { order: 0; flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 0; }
  .hb .h-top .num { order: 2; }
  .hb .h-face { height: 22svh; }
  .hb .h-face::after { width: 16px; height: 16px; left: calc(100% + 8px); }
  .hb .h-art { order: 1; align-self: flex-end; margin: 0; max-width: min(84%, calc(38svh * var(--r))); }
  .hb .h-art .cap { position: static; margin-top: 8px; }
  .hb .h-meta { order: 3; flex-wrap: wrap; gap: 14px; margin: 0; }
  .hb .h-meta .rule { flex-basis: 100%; order: -1; }
  .hc { gap: 16px; }
  .hc .h-top { padding: 0; }
  .hc .h-face { display: none; }
  .hc .h-deck { order: 1; min-height: 40svh; width: 100%; }
  .hc .h-deck a { justify-content: center; }
  .hc .h-name { order: 2; font-size: 13.6vw; }
  .hc .h-switch { order: 3; flex-wrap: wrap; gap: 12px 20px; margin: 0; }
  .hc .h-switch .cap { order: 1; flex-basis: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .selected .items { display: flex; flex-direction: column; gap: 64px; }
  .selected .piece { margin-top: 0 !important; width: 82%; }
  .selected .piece:nth-child(even) { align-self: flex-end; width: 70%; }
  .selected .piece.panorama, .selected .piece.landscape { width: 100%; }
  .featured .big, .featured .txt, [data-dir="b"] .featured .big, [data-dir="b"] .featured .txt { grid-column: 1 / -1; grid-row: auto; }
  .featured .txt { margin-top: 26px; }
  .featured .strip { padding-left: 0; }
  .artist-band { align-items: start; }
  .artist-band .pic { grid-column: 1 / span 5; }
  .artist-band .say { grid-column: 1 / -1; margin-top: 44px; gap: 22px; }
  .ways-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .way:nth-child(n) { margin-top: 0; }
  .way:nth-child(even) { margin-top: 44px; }
  .unx .disp, .unx .d { grid-column: 1 / -1; }
  .unx .shape { width: 34vw; height: 34vw; top: auto; bottom: -8vw; right: -6vw; }
  .create { grid-template-columns: 1fr; }
  .create .cols { grid-template-columns: 1fr; }
  .create .cols > div + div { margin-top: 10px; }
  .club .inner { max-width: 100%; }
  .bigform { width: 40vw !important; height: 40vw !important; right: -14vw; top: 18%; opacity: .5; }
  [data-dir="c"] .bigform { width: 46vw !important; height: 18vw !important; opacity: 1; top: auto; bottom: 24px; margin: 0; }
  [data-dir="c"] .club { padding-bottom: calc(var(--s-section) + 18vw); }
  .join input { min-width: 0; flex: 1 1 100%; margin: 0 0 16px; }
  .world-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .jc:nth-child(n) { margin-top: 0; }
  .jc:nth-child(even) { margin-top: 44px; }
  .site-footer .cols > div { grid-column: span 6; }
  .gallery { display: flex; flex-direction: column; gap: 60px; align-items: flex-start; }
  .gallery .piece { width: 78%; margin: 0 !important; }
  .gallery .piece:nth-child(even) { align-self: flex-end; }
  .gallery .piece.landscape, .gallery .piece.panorama { width: 100%; }
  .gallery .piece.portrait:nth-child(3n) { width: 62%; }
  .stage { min-height: 0; padding-bottom: 28px; }
  .stage button { width: min(100%, calc(60svh * var(--r))); }
  .work-info .main, .work-info .facts { grid-column: 1 / -1; }
  .details .row { grid-template-columns: 1fr 1fr; }
  .details .crop:nth-child(1) { grid-column: 1 / -1; }
  .col-top { display: flex; flex-direction: column; justify-content: flex-end; }
  .col-top .lead { align-self: flex-end; max-width: min(100%, calc(48svh * var(--r))); order: -1; }
  .walk .room { display: flex !important; flex-direction: column; gap: 18px; align-items: flex-start; }
  .walk .room .piece { width: 100%; }
  .walk .room.portrait .piece { width: 76%; }
  .walk .room:nth-child(even).portrait .piece { align-self: flex-end; }
  .col-index a .disp, .col-index a .imgs { grid-column: 1 / -1; }
  .col-index a .imgs { justify-content: flex-start; margin-top: 20px; min-width: 0; overflow: hidden; }
  .col-index a .imgs img { height: 64px; }
  .about .pic { grid-column: 1 / span 6; }
  .about .say { grid-column: 1 / -1; margin-top: 36px; }
  .sides { grid-template-columns: 1fr; row-gap: 36px; }
  .sides > div:nth-child(n) { margin-top: 0; }
  .cl.two, .formsec, .dg-facts { grid-template-columns: 1fr; }
  .cl.flip > :first-child { order: 0; }
  .kinds { grid-template-columns: 1fr; row-gap: 40px; }
  .kinds > div:nth-child(n) { margin-top: 0; }
  .kinds > div:nth-child(2) { width: 76%; align-self: end; justify-self: end; }
  .dg-stage { grid-template-columns: 1fr; }
  .dg-stage .mk-phone { width: 46%; }
  .dg-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .unx-page h1 span:nth-child(2) { margin-left: 12vw; }
  .unx-page .s1 { width: 44vw; height: 44vw; right: -10vw; }
  form.req { grid-template-columns: 1fr; }
  .proto-pill { font-size: 9px; padding: 9px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  .rv, .rv-img { opacity: 1; transform: none; clip-path: none; }
}

/* ───────── phone: one column, one left edge, full-width blocks ─────────
   The desktop asymmetry does not survive a narrow screen; here order comes first:
   everything hangs from the same left edge and every block uses the full width. */
@media (max-width: 700px) {
  :root { --s-section: 60px; }
  body, body[data-dir="a"] { --t-xl: 2.9rem; --t-l: 1.75rem; --t-mega: 3.5rem; }
  body[data-dir="b"] { --t-xl: 3.7rem; --t-l: 2.2rem; --t-mega: 4.8rem; }
  body[data-dir="c"] { --t-xl: 2.5rem; --t-l: 1.55rem; --t-mega: 3rem; }

  /* opening */
  .hero { display: grid; grid-template-columns: 46% 1fr; column-gap: 16px; row-gap: 22px; align-content: start; align-items: end; min-height: 0; padding: 86px var(--gutter) 40px; }
  .hero > *, .hero .h-art, .hero .h-name, .hero .h-meta, .hero .h-top, .hero .h-deck, .hero .h-switch, .hero .h-face, .hero .l1, .hero .l2 { grid-column: 1 / -1; grid-row: auto; align-self: auto; margin: 0; }
  .hero.ha .h-face { grid-column: 1 / -1; }
  .hero.ha.has-face .h-meta { grid-column: 1 / -1; padding-left: 0; }
  .hero.ha.has-face .h-art { grid-column: 1 / -1; max-width: none; margin-top: 6px; }
  .ha .h-name { order: 0; font-size: 15.6vw; line-height: .88; white-space: normal; }
  .ha .h-name em { display: block; }
  .ha .h-art, .hb .h-art { order: 4; width: 100%; max-width: none; }
  .hb .h-art.h-photo { order: 1; }
  .hb .h-top { order: 5; }
  .ha .h-face { order: 2; position: relative; inset: auto; height: auto; margin-top: 10px; }
  .ha .h-face img, .hb .h-face img { width: 100%; height: auto; }
  .ha .h-face::before { width: 30%; top: -7%; right: 5%; }
  .ha .h-meta { order: 3; gap: 12px; }
  .ha .h-face { margin-top: 26px; }
  .hb { --fs: 24.4vw; row-gap: 16px; }
  .hb .h-name { order: 0; }
  .hb .h-name span { line-height: .8; }
  .hb .h-name .l2 { font-size: calc(var(--fs) * .8); }
  .hb .h-top { order: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; }
  .h-mini img { height: auto; width: 62vw; }
  .hb .h-face { height: auto; }
  .hb .h-meta { order: 3; flex-direction: column; align-items: stretch; gap: 14px; }
  .hb .h-meta .rule { flex: none; order: -1; height: 5px; }
  .hc { row-gap: 14px; min-height: 100svh; align-content: end; }
  .hc .h-deck { min-height: 40svh; }
  .hero.hc .h-face { display: block; order: -1; grid-column: 1; height: auto; margin: 0; }
  .hero.hc .h-top { grid-column: 2; align-self: end; }
  .hc { min-height: 0; }
  .hc .h-name { font-size: 14.6vw; }

  /* headings: number, title, link — always in that order, always from the left */
  .sec-head { margin-bottom: 36px; gap: 20px; }
  .sec-head .link { margin: 0; }

  /* works: full width, one after another */
  .selected .items { gap: 52px; }
  .selected .piece, .selected .piece:nth-child(even) { width: 100%; align-self: stretch; }
  .piece .cap { margin-top: 16px; }
  .featured h2 { font-size: var(--t-xl); }
  .featured .strip { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 12px; margin-top: 30px; }
  .featured .strip a { height: 150px; }

  /* meet Alisa */
  .meet .say { font-size: 2.5rem; max-width: none; }
  [data-dir="b"] .meet .say { font-size: 3.3rem; }
  .meet-grid { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 40px; margin-top: 40px; align-items: start; }
  .meet .pic2 { margin: 44px 0 0; }
  .meet .pic::before { inset: 10% -6% -4% 30%; }
  .meet .txt { grid-column: 1 / -1; padding: 0; gap: 32px; }
  .facts-line { margin-top: 40px; gap: 10px 20px; padding: 18px 0; }
  .meet-col { grid-template-columns: 1fr; margin-top: 40px; }
  body.no-labels .slot { display: none; }
  /* the artist: portrait and signature side by side, the quote underneath */
  .artist-band { display: grid; grid-template-columns: 38% 1fr; column-gap: 0; align-items: end; }
  .artist-band .pic { grid-column: 1; max-width: none; }
  .artist-band .pic::before { inset: 14% -22% -7% 30%; }
  .artist-band .say { display: contents; }
  .artist-band .say .num { grid-column: 2; grid-row: 1; align-self: start; padding-left: 34%; }
  .artist-band .by { grid-column: 2; grid-row: 1; flex-direction: column; gap: 14px; padding-left: 34%; padding-bottom: 4px; }
  .artist-band blockquote { grid-column: 1 / -1; margin-top: 44px; font-size: 1.6rem; }
  [data-dir="b"] .artist-band blockquote { font-size: 2rem; }

  /* kinds of work: label, title, picture, text */
  .ln { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-block: 48px; }
  .ln.flip .v, .ln.screen .v { order: 0; }
  .ln.flip .k, .ln.screen .k { order: 1; }
  .ln.wide { align-items: stretch; }
  .ln.wide .b { margin: 0; }
  .ln .k { flex-direction: row; align-items: baseline; gap: 14px; padding: 0; }
  .ln .b { display: contents; }
  .ln .b b { order: 1; }
  .ln .v { order: 2; }
  .ln .d { order: 3; }
  .chips { order: 4; }
  .ln .b .link { order: 5; }
  .ln .v .vis img { max-height: none; width: 100%; margin: 0; }
  /* collect and journal: swipeable rows of equal tiles */
  .ways-grid, .world-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .ways-grid::-webkit-scrollbar, .world-grid::-webkit-scrollbar { display: none; }
  .way, .jc, .way:nth-child(n), .jc:nth-child(n) { flex: 0 0 76%; margin: 0; scroll-snap-align: start; }
  .way .vis, .way .mk, .jc .jv, .jc .jv.empty, .jc .jv.crop { aspect-ratio: 1; width: 100%; }
  .way .vis, .jc .jv:not(.empty):not(.crop) { display: grid; place-items: center; background: color-mix(in srgb, currentColor 8%, transparent); }
  .way .vis img, .jc .jv img { width: auto; height: auto; max-width: 84%; max-height: 84%; }
  .soc { margin-top: 30px; }

  /* bands */
  .sim { min-height: 0; aspect-ratio: 1; }
  .create .txt { padding: 48px var(--gutter) 56px; gap: 24px; }
  .create .cols { margin-top: 6px; gap: 22px; }
  .unx { padding-block: 64px; }
  .club { padding-top: 64px; grid-template-columns: 1fr; row-gap: 34px; }
  .club-pic { width: 62%; }
  .about .pic { grid-column: 1 / -1; }
  .looks { grid-template-columns: 1fr 1fr; gap: 12px; }
  .looks span:nth-child(n) { margin: 0; }
  .looks span:first-child { grid-column: 1 / -1; }
  .bigform, [data-dir="c"] .bigform { position: static; display: block; width: 64px !important; height: 64px !important; margin: 0 0 26px; opacity: 1; }
  [data-dir="c"] .bigform { width: 120px !important; height: 48px !important; }
  [data-dir="c"] .club { padding-bottom: var(--s-section); }
  .club .inner { gap: 24px; }
  .paintline { margin-top: 48px; }
  .site-footer .paintline { margin-bottom: 48px; }
  .pending { margin-top: 36px; }
  .join .btn { width: 100%; text-align: center; }

  /* footer */
  .site-footer { padding-bottom: 96px; }
  .site-footer .cols { row-gap: 30px; }
  .site-footer .base { flex-direction: column; gap: 8px; margin-top: 44px; }

  /* inner pages */
  .page-top { padding-top: 124px; gap: 26px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 22px; margin-bottom: 30px; padding-bottom: 6px; white-space: nowrap; }
  .filters::-webkit-scrollbar { display: none; }
  .gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: dense; gap: 30px 12px; align-items: end; }
  .gallery .piece.piece.piece.piece { width: 100%; margin: 0 !important; grid-column: span 1; align-self: end; }
  .gallery .piece.piece.piece.piece.landscape, .gallery .piece.piece.piece.piece.panorama { grid-column: 1 / -1; }
  .gallery .piece .cap { margin-top: 8px; gap: 8px; }
  .gallery .piece .t { display: none; }
  .gallery .piece .cap > span:first-child br { display: none; }
  .gallery .piece .s { font-size: 10px; white-space: normal; }
  .gallery .piece .cap .label { white-space: nowrap; }
  .stage { padding: 86px var(--gutter) 22px; }
  .work-info { padding-block: 44px; row-gap: 34px; }
  .col-top { min-height: 0; padding-top: 96px; row-gap: 22px; }
  .col-top .lead { max-width: none; align-self: stretch; }
  .walk { gap: 50px; }
  .walk .room .piece, .walk .room.portrait .piece { width: 100%; align-self: stretch; }
  .walk .room .note { display: none; }
  .about { row-gap: 0; }
  .about .pic { grid-column: 1 / -1; }
  .cl { padding-block: 52px; }
  .cl-row { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 12px; }
  .cl-row img, .cl-row a:nth-child(even) img { height: 190px; }
  .kinds > div:nth-child(2) { width: 100%; }
  .kinds .mk { aspect-ratio: 1; }
  .dg-steps { grid-template-columns: 1fr; row-gap: 26px; }
  .dg-steps > div:nth-child(n) { margin-top: 0; display: grid; grid-template-columns: 30% 1fr; column-gap: 16px; align-items: baseline; }
  .dg-steps .n { grid-row: 1 / span 2; font-size: 2.6rem; }
  .dg-stage .mk-phone { display: none; }
  .unx-page { padding-top: 116px; gap: 22px; }
  .unx-page h1 span:nth-child(n) { margin-left: 0; }
  .unx-page .say { margin: 10px 0 0; }
}

/* ───────── desktop: one grid, shared edges, contained sizes ─────────
   The staggered "editorial" placement read as disorder. On wide screens everything now sits
   on the same columns: text left, picture right in the opening; paintings in even rows;
   kinds of work in a two-column table; nothing larger than the screen. */
@media (min-width: 901px) {
  :root { --s-section: clamp(72px, 8vw, 128px); --gutter: max(clamp(24px, 3.2vw, 56px), calc((100vw - 1360px) / 2)); }

  /* opening (A): name and words on the left, Alisa on the right */
  .ha { grid-template-rows: 1fr; align-items: center; }
  .ha .h-name { grid-column: 1 / span 7; grid-row: 1; align-self: center; margin: 0 0 6svh; white-space: normal; font-size: clamp(3rem, 8.2vw, 9.6rem); line-height: .9; }
  .ha .h-name em { display: block; }
  .ha .h-meta, .ha.has-face .h-meta { grid-column: 1 / span 6; grid-row: 1; align-self: end; padding: 0 0 3svh; }
  .ha .h-face { grid-column: 8 / -1; grid-row: 1; align-self: center; justify-self: end; height: min(76svh, 780px); }
  .ha .h-face::before { width: 40%; top: -6%; right: auto; left: -18%; }
  .ha.has-face .h-art { display: none; }
  .ha:not(.has-face) .h-art { grid-column: 8 / -1; grid-row: 1; align-self: center; margin: 0; max-width: min(100%, calc(70svh * var(--r))); }

  /* meet Alisa: two equal photographs and the text, all starting on the same line */
  .meet-grid { grid-template-columns: 1fr 1fr 1.25fr; align-items: start; }
  .meet .pic2 { margin: 0; }
  .meet .pic::before { display: none; }
  .meet .txt { padding-left: clamp(0px, 2vw, 36px); }

  /* paintings: even rows of three, every picture standing on the same baseline */
  .selected .items { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(48px, 5vw, 80px); align-items: end; }
  .selected .piece:nth-child(n) { grid-column: auto !important; margin-top: 0 !important; }
  .selected .piece .frame, .gallery .piece .frame { aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; }
  .selected .piece .frame { aspect-ratio: 4 / 5; }
  .selected .piece img, .gallery .piece img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(40px, 4vw, 64px); }
  .gallery .piece.piece.piece.piece { grid-column: span 1; margin: 0; }

  /* kinds of work: a two-column table; picture left, words right, in every cell */
  .lines { display: grid; grid-template-columns: 1fr 1fr; }
  .lines-h { grid-column: 1 / -1; }
  .lines .ln.ln { grid-template-columns: 2fr 3fr; grid-template-rows: auto 1fr; column-gap: clamp(20px, 2.4vw, 40px); row-gap: 14px; align-items: start; padding: clamp(32px, 3.4vw, 52px) clamp(24px, 3.2vw, 56px); }
  .lines .ln.ln:nth-of-type(odd) { padding-left: var(--gutter); border-right: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
  .lines .ln.ln:nth-of-type(even) { padding-right: var(--gutter); }
  .lines .ln.ln .v { grid-column: 1; grid-row: 1 / span 2; }
  .lines .ln.ln .k { grid-column: 2; grid-row: 1; padding: 0; align-self: start; }
  .lines .ln.ln .b { grid-column: 2; grid-row: 2; gap: 16px; margin: 0; }
  .lines .ln .b b { font-size: var(--t-l); }
  .lines .ln .d { font-size: var(--t-small); }
  .lines .ln .v .vis, .lines .ln .v .mk, .lines .ln .v .sim { aspect-ratio: 1; width: 100%; min-height: 0; }
  .lines .ln .v .vis { display: grid; place-items: center; background: color-mix(in srgb, currentColor 6%, transparent); }
  .lines .ln .v .vis img { max-width: 84%; max-height: 84%; width: auto; margin: 0; }
  .lines .ln.screen + .ln { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }

  /* a collection: picture left at a readable size, words right */
  .featured .lead { align-items: end; }
  [data-dir] .featured .big { grid-column: 1 / span 6; grid-row: auto; }
  .featured .big img { width: auto; max-width: 100%; max-height: 70svh; }
  [data-dir] .featured .txt { grid-column: 8 / span 5; grid-row: auto; }
  [data-dir] .featured .strip { padding-left: 0; margin-top: clamp(32px, 4vw, 56px); }
  .featured .strip a { height: clamp(130px, 14vw, 210px); }

  /* club and journal */
  .club { grid-template-columns: 7fr 4fr; }
  .club-pic img { max-height: 64svh; width: auto; margin-left: auto; }
  .world-grid.two { grid-template-columns: 1fr 1fr; max-width: 980px; align-items: end; }
  .world-grid.two .jc.j4 { margin-top: 0; }
  .world-grid.two .jv { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; }
  .world-grid.two .jv img { width: auto; max-width: 100%; max-height: 100%; }
  .world-grid.two .jv.crop { display: block; }
}
