/* brookewhatnall.com v3.1, "Quiet". One stylesheet, no framework.
   The photographs are the only loud thing on the page. A neutral near-black room,
   one typeface (Archivo, normal width, two weights), small type, no accent colour.
   Motion is opacity, apart from the flight on the home page. */

@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --bg: #0b0b0c; --bg-2: #121213; --bg-3: #1a1a1c;
  --ink: #ecebe7; --ink-2: #b9b8b4; --dim: #85847f; --line: rgba(236, 235, 231, .16); --line-2: rgba(236, 235, 231, .08);
  --hot: var(--ink); --paper: #f4f3ee;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: var(--sans);
  --pad: clamp(1.15rem, 3.2vw, 3rem);
  --ease: cubic-bezier(.3, .6, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 .9375rem/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
main:focus, section:focus { outline: 0; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--bg); padding: .7rem 1rem; font-size: .8rem; transition: top .2s; }
.skip:focus { top: 1rem; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .35s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------ type */
.label { font: 500 .6875rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.label a { color: var(--ink-2); transition: color .2s; }
.label a:hover { color: var(--ink); }
.display { font: 400 clamp(1.5rem, 2.3vw, 2.125rem)/1.2 var(--sans); letter-spacing: -.012em; text-wrap: balance; }
.note { font-size: .8125rem; line-height: 1.6; color: var(--dim); max-width: 60ch; margin-top: 1.5rem; }
.note a, .prose a, .link { border-bottom: 1px solid var(--line); padding-bottom: .15em; transition: color .2s, border-color .2s; }
.note a:hover, .prose a:hover, .link:hover { color: var(--ink); border-color: var(--ink); }
.link { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.prose { max-width: 60ch; color: var(--ink-2); font-size: 1rem; line-height: 1.65; margin-top: 1.5rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 3rem; }
.prose ul { display: grid; gap: .4em; }
.prose li { padding-left: 1.4em; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: .7em; height: 1px; background: var(--dim); }
.prose--legal { font-size: .9375rem; }
.arr { width: 1.05em; height: 1.05em; flex: none; }

/* ------------------------------------------------------------ buttons: thin rectangles, never a colour */
.btn { display: inline-flex; align-items: center; gap: .8em; height: 2.75rem; padding: 0 1.25rem; border: 1px solid var(--line); font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn--lg { height: 3rem; padding: 0 1.5rem; }
.btn:hover { border-color: var(--ink); }
.btn--hot, .btn--line { border-color: var(--ink); }
.btn--hot:hover, .btn--line:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .5; cursor: wait; }
.chip { display: inline-flex; align-items: center; gap: .6em; font: 500 .6875rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: .3em; transition: border-color .2s, color .2s; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--price { border: 0; padding: 0; color: var(--ink-2); text-transform: none; letter-spacing: 0; font: 400 .9375rem/1.5 var(--sans); }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4rem; padding: 0 var(--pad); transition: background .4s, opacity .4s; }
.nav.is-solid { background: rgba(11, 11, 12, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-away { opacity: 0; pointer-events: none; }
.nav__mark { display: flex; align-items: baseline; gap: 1rem; line-height: 1; white-space: nowrap; }
.nav__mark b { font: 500 .8125rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav__mark span { font: 400 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.nav__end { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav__links { display: flex; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav__links a, .nav__cart { font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: .7rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__cart:hover { color: var(--ink); }
.nav__links a[aria-current] { color: var(--ink); border-color: var(--line); }
.nav__cart b { font-weight: 500; color: var(--ink); margin-left: .3em; }
.nav__burger { display: none; align-items: center; height: 2.75rem; font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.nav__burger i { display: none; }
.menu { position: fixed; inset: 0; z-index: 80; background: var(--bg); padding: 6rem var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow: auto; animation: fade .25s ease both; }
.menu[hidden] { display: none; }
.menu li a { display: block; padding: .5em 0; font: 400 1.75rem/1.2 var(--sans); letter-spacing: -.01em; }
.menu__foot { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 58rem) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mark span { display: none; }
}

/* ------------------------------------------------------------ reveal: a fade, nothing else */
.js [data-reveal], .js .wall li { opacity: 0; transition: opacity .8s ease; }
.js [data-reveal].is-in, .js .wall li.is-in { opacity: 1; }

/* ============================================================ THE FLIGHT */
.fl { position: relative; background: var(--bg); }
.fl__stage { position: relative; padding: 6.5rem var(--pad) 2.5rem; }
.fl__gl, .fl__hud, .fl__chapters, .fl__hint, .fl__skip, .fl__bar { display: none; }
.fl__say { max-width: 70ch; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.fl__acts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1rem; }

/* without WebGL, or with reduced motion: the same frames, one after another, whole */
.fl__frames { display: grid; gap: clamp(2.5rem, 7vw, 6rem); padding: 0 var(--pad) 4rem; justify-items: center; }
.fl__frames img { width: auto; max-width: 100%; max-height: 84vh; }
.fl__tag { display: block; margin-top: .7rem; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* with WebGL */
.fl.is-live { height: calc(var(--n) * 62vh + 100vh); height: calc(var(--n) * 62svh + 100svh); }
.fl.is-live .fl__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.fl.is-live .fl__gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.fl.is-live.is-ready .fl__gl { opacity: 1; }
.fl.is-live .fl__frames { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.fl.is-live .fl__stage.is-hot { cursor: pointer; }

/* one quiet line of text under the photograph, bottom left */
.fl.is-live .fl__intro, .fl.is-live .fl__hud { position: absolute; z-index: 3; left: var(--pad); bottom: 1.5rem; width: min(34rem, calc(100% - 2 * var(--pad))); }
.fl.is-live .fl__intro { animation: fade 1.2s ease .5s both; font-size: .8125rem; }
.fl.is-live .fl__acts { margin-top: .6rem; }
.fl.is-live .fl__hud { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.4rem; width: min(60rem, calc(100% - 2 * var(--pad) - 44rem)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.fl.is-flying .fl__hud { opacity: 1; pointer-events: auto; }
.fl__count { display: flex; align-items: baseline; gap: 1rem; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.fl__count b { font: inherit; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fl__count em { font-style: normal; color: var(--ink); order: -1; }
.fl__cap { color: var(--ink-2); font-size: .8125rem; line-height: 1.5; flex: 1 1 16rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl__open { display: none; }

.fl.is-live .fl__chapters { display: flex; gap: 1.4rem; position: absolute; z-index: 3; right: calc(var(--pad) + 4.2rem); bottom: 1.5rem; opacity: 0; transition: opacity .5s; }
.fl.is-flying .fl__chapters { opacity: 1; }
.fl__chapters button { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color .25s; }
.fl__chapters button i { display: none; }
.fl__chapters button:hover, .fl__chapters button.is-on { color: var(--ink); }

.fl.is-live .fl__hint { display: block; position: absolute; z-index: 3; right: var(--pad); bottom: 1.5rem; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: opacity .4s; animation: fade 1s ease 1.2s both; }
.fl__hint i { display: none; }
.fl.is-flying .fl__hint { opacity: 0; }
.fl.is-live .fl__skip { display: block; position: absolute; z-index: 3; right: var(--pad); bottom: 1.5rem; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); opacity: 0; pointer-events: none; transition: opacity .4s, color .2s; }
.fl.is-flying .fl__skip { opacity: 1; pointer-events: auto; }
.fl__skip:hover, .fl__skip:focus-visible { color: var(--ink); }
.fl.is-live .fl__bar { display: block; position: absolute; z-index: 4; inset: auto 0 0 0; height: 1px; background: transparent; }
.fl__bar i { display: block; height: 100%; background: var(--dim); transform-origin: left; transform: scaleX(0); }

@media (max-width: 82rem) { .fl.is-live .fl__chapters { display: none; } .fl.is-live .fl__hud { width: calc(100% - 2 * var(--pad) - 5rem); } }
@media (max-width: 47.5rem) {
  .fl.is-live { height: calc(var(--n) * 56svh + 100svh); }
  .fl.is-live .fl__intro, .fl.is-live .fl__hud { bottom: 1.2rem; }
  .fl.is-live .fl__hint, .fl.is-live .fl__skip { bottom: 1.2rem; }
  .fl__cap { white-space: normal; flex-basis: 100%; }
}

/* ============================================================ sections */
.sec { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) var(--pad) 0; }
.sec--tight { padding-top: clamp(3rem, 5vw, 4.5rem); }
main > .sec:last-child, main > section:last-child { padding-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.sec__head { display: grid; gap: .8rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.sec__lede { max-width: 52ch; color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.sec__lede--l { color: var(--ink-2); font-size: 1rem; }
.sec__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1.8rem, 3vw, 2.6rem); }

/* statement */
.say { text-align: left; }
.say__big { font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.4 var(--sans); letter-spacing: -.008em; max-width: 34ch; margin-top: 1rem; color: var(--ink); text-wrap: pretty; }
.say__big--s { font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin-top: 0; }

/* work: six bodies of work as six photographs */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.4vw, 3.2rem) clamp(.8rem, 1.6vw, 1.5rem); }
.tile { display: block; }
.tile__pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.tile__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.tile:hover img, .tile:focus-visible img { opacity: .82; }
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .8rem; }
.tile__name { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tile__n { font-size: .75rem; color: var(--dim); font-variant-numeric: tabular-nums; }
/* seven: a row of three, then a row of four */
@media (min-width: 60.01rem) {
  .tiles--7 { grid-template-columns: repeat(12, 1fr); }
  .tiles--7 > li { grid-column: span 4; }
  .tiles--7 > li:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 60rem) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .tiles { grid-template-columns: 1fr; } }

/* commissions on the home page: the photograph, then one line under it */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2rem, 3vw, 3rem) clamp(.8rem, 1.6vw, 1.5rem); }
.card { display: block; }
.card__pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.card:hover img, .card:focus-visible img { opacity: .82; }
.card__body { display: grid; gap: .3rem; margin-top: .9rem; }
.card__body .label { display: none; }
.card__name { font-weight: 500; font-size: .9375rem; line-height: 1.35; }
.card__lede { font-size: .8125rem; line-height: 1.5; color: var(--dim); }
.card__price { display: inline-flex; align-items: center; gap: .6em; font-size: .8125rem; color: var(--ink-2); margin-top: .2rem; }
@media (max-width: 70rem) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .cards { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(3rem, 6vw, 5rem); }
.steps--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.steps li { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .4rem; align-content: start; }
.steps h3 { font: 500 .9375rem/1.35 var(--sans); margin-top: .3rem; }
.steps p { color: var(--dim); font-size: .875rem; line-height: 1.55; max-width: 34ch; }
@media (max-width: 60rem) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 34rem) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* a plain list of links */
.idx { border-top: 1px solid var(--line); }
.idx__row { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr) auto; align-items: baseline; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); transition: color .2s; color: var(--ink-2); }
.idx__row:hover, .idx__row:focus-visible { color: var(--ink); }
.idx__n { display: none; }
.idx__name { font-weight: 500; color: var(--ink); }
.idx__lede { color: var(--dim); font-size: .875rem; line-height: 1.5; }
.idx__count { display: inline-flex; align-items: center; gap: .7em; font-size: .8125rem; color: var(--dim); white-space: nowrap; }
@media (max-width: 60rem) { .idx__row { grid-template-columns: 1fr auto; } .idx__lede { display: none; } }

/* prints teaser, and the sheet */
.pt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.pt .sec__head, .pt__say { display: grid; gap: .8rem; }
.pt .sec__acts { margin-top: 1rem; }
.pt__stage { display: block; }
.pt__cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pt__cap b { color: var(--ink-2); font-weight: 500; }
.sheet { position: relative; display: block; background: var(--paper); padding: 5.4%; }
.sheet img { width: 100%; }
.sheet__gloss, .ph__glow, .vw__glow { display: none; }
@media (max-width: 60rem) { .pt { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */
.foot { margin-top: clamp(4rem, 8vw, 7rem); padding: 0 var(--pad) 1.6rem; }
.foot__call { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); display: grid; gap: .8rem; justify-items: start; }
.foot__call .label { display: none; }
.foot__big a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.foot__big a:hover { border-color: var(--line); }
.foot__sub { max-width: 46ch; color: var(--dim); }
.foot__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.foot__acts .btn--ghost span { text-transform: none; letter-spacing: .02em; font-size: .8125rem; font-weight: 400; }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: clamp(2.2rem, 4vw, 3.2rem) 0; border-top: 1px solid var(--line); font-size: .875rem; }
.foot__grid ul { margin-top: .9rem; display: grid; gap: .35rem; }
.foot__grid a { color: var(--ink-2); transition: color .2s; }
.foot__grid a:hover { color: var(--ink); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--dim); }
.foot__base nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot__base a { transition: color .2s; }
.foot__base a:hover { color: var(--ink); }
@media (max-width: 47.5rem) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ page head: small, so the pictures start high on the page */
.ph { padding: clamp(6.5rem, 15vh, 9rem) var(--pad) clamp(1.8rem, 3vw, 2.6rem); display: grid; gap: .7rem; }
.ph__lede { max-width: 52ch; color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.ph__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem 1.6rem; margin-top: .5rem; }
.ph__meta > .label { max-width: 60ch; }
.ph__meta .btn { align-self: center; }
.mail { font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.2 var(--sans); letter-spacing: -.008em; border-bottom: 1px solid var(--line); padding-bottom: .15em; transition: border-color .25s; }
.mail:hover { border-color: var(--ink); }
.mail--s { font-size: 1rem; }

/* ------------------------------------------------------------ the wall: whole photographs in tall rows */
.wall { display: flex; flex-wrap: wrap; gap: clamp(.5rem, 1vw, 1rem); padding: 0 var(--pad); --row: clamp(15rem, 26vw, 30rem); }
.wall::after { content: ""; flex: 1000 0 0; }
.wall li { flex: var(--ar) 1 calc(var(--ar) * var(--row)); min-width: 0; }
.wall--small { --row: clamp(8rem, 13vw, 13rem); padding: 0; margin-top: 1.2rem; }
.wall a { display: flex; flex-direction: column; height: 100%; }
.wall a[data-id] { cursor: zoom-in; }
.wall img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; background: var(--bg-2); transition: opacity .3s; }
.wall a:hover img, .wall a:focus-visible img { opacity: .82; }
.wall__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0 1.2rem; font-size: .8125rem; line-height: 1.4; color: var(--ink-2); }
.wall__cap b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wall__tag { color: var(--dim); white-space: nowrap; }
.wall--small .wall__tag { display: none; }
@media (max-width: 40rem) { .wall { --row: 13rem; } .wall--small { --row: 6.5rem; } }

.next { display: grid; gap: .5rem; margin-top: clamp(4rem, 8vw, 7rem); padding: 0 var(--pad); }
.next__bg { display: block; height: clamp(14rem, 52vh, 34rem); background-size: cover; background-position: center; margin-bottom: .6rem; transition: opacity .3s; }
.next:hover .next__bg { opacity: .82; }
.next__lede { max-width: 52ch; color: var(--dim); }

/* ------------------------------------------------------------ viewer: the photograph and almost nothing else */
.vw { position: fixed; inset: 0; z-index: 150; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .3s; touch-action: none; }
.vw.is-on { opacity: 1; }
.vw__top, .vw__bot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: 0 var(--pad); font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.vw__count b { color: var(--ink-2); font-weight: 500; }
.vw__btn { display: inline-flex; align-items: center; gap: .6em; height: 2.75rem; padding: 0 .2rem; font: inherit; letter-spacing: inherit; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.vw__btn:hover { color: var(--ink); }
.vw__btn--hot { margin-right: 1.2rem; }
.vw__stage { position: relative; z-index: 1; min-height: 0; display: grid; place-items: center; margin: 0 var(--pad); }
.vw__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; position: absolute; inset: 0; margin: auto; transition: opacity .3s; cursor: zoom-out; }
.vw__img.is-out { opacity: 0; }
.vw__img.is-pre { opacity: 0; transition: none; }
.vw__cap { max-width: 70ch; text-transform: none; letter-spacing: 0; font: 400 .8125rem/1.4 var(--sans); color: var(--dim); }
.vw__nav { display: flex; gap: .4rem; }
.vw__arrow { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--ink-2); transition: color .2s; }
.vw__arrow:hover { color: var(--ink); }
.vw__arrow--p .arr { transform: scaleX(-1); }
@media (max-width: 40rem) { .vw__cap { display: none; } .vw__stage { margin: 0; } }
html.is-locked { overflow: hidden; }

/* ------------------------------------------------------------ commissions */
.offers { display: grid; gap: clamp(4rem, 9vw, 8rem); padding: clamp(.5rem, 2vw, 2rem) var(--pad) 0; }
.offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); align-items: end; }
.offer__pic { grid-column: 1 / span 8; display: block; aspect-ratio: var(--ar); max-height: 86vh; justify-self: start; width: 100%; }
.offer__pic[style*="--ar:0."] { grid-column: 2 / span 5; }
.offer__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.offer__pic:hover img { opacity: .82; }
.offer__say { grid-column: 9 / span 4; display: grid; gap: .7rem; justify-items: start; padding-bottom: .2rem; }
.offer--flip .offer__pic { grid-column: 5 / span 8; order: 2; }
.offer--flip .offer__pic[style*="--ar:0."] { grid-column: 7 / span 5; }
.offer--flip .offer__say { grid-column: 1 / span 4; order: 1; }
.offer__h { font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.25 var(--sans); letter-spacing: -.008em; text-wrap: balance; }
.offer__lede { color: var(--ink-2); line-height: 1.6; max-width: 38ch; }
.offer__price { font-size: .8125rem; color: var(--dim); padding: .8rem 0; border-block: 1px solid var(--line); width: 100%; }
@media (max-width: 60rem) {
  .offer__pic, .offer--flip .offer__pic, .offer__pic[style*="--ar:0."], .offer--flip .offer__pic[style*="--ar:0."] { grid-column: 1 / -1; order: 0; }
  .offer__say, .offer--flip .offer__say { grid-column: 1 / -1; order: 1; }
}

.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, 1rem); align-items: start; padding: 0 var(--pad); }
.duo a { display: block; aspect-ratio: var(--ar); }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.duo a:hover img { opacity: .82; }
.duo__a { grid-column: 1 / span 8; }
.duo__b { grid-column: 9 / span 4; }
.duo__a[style*="--ar:0."] { grid-column: 1 / span 5; }
.duo__a[style*="--ar:0."] + .duo__b { grid-column: 6 / span 7; }
@media (max-width: 47.5rem) { .duo__a, .duo__a[style*="--ar:0."], .duo__b, .duo__a[style*="--ar:0."] + .duo__b { grid-column: 1 / -1; } }

.spec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); }
.spec__col { border-top: 1px solid var(--line); padding-top: 1rem; }
.spec__p { font-size: 1rem; line-height: 1.65; color: var(--ink-2); margin-top: .9rem; max-width: 52ch; text-wrap: pretty; }
.spec__foot { grid-column: 1 / -1; }
.spec__price { font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.25 var(--sans); letter-spacing: -.008em; text-wrap: balance; }
@media (max-width: 47.5rem) { .spec { grid-template-columns: 1fr; } }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); margin-top: 1.4rem; }
.pack, .packs > li { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .3rem; align-content: start; }
.packs h3 { font: 500 .9375rem/1.35 var(--sans); margin-top: .5rem; }
.pack__price { font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.25 var(--sans); letter-spacing: -.008em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pack dl { margin-top: .9rem; display: grid; gap: .8rem; }
.pack dt { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pack dd { color: var(--ink-2); font-size: .875rem; line-height: 1.5; margin-top: .2rem; }
@media (max-width: 64rem) { .packs { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 34rem) { .packs { grid-template-columns: 1fr; } .packs--sizes { grid-template-columns: 1fr 1fr; } }

.tbl { margin-top: 1.4rem; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; }
.tbl caption { text-align: left; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-bottom: .6rem; }
.tbl th { text-align: left; font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl .num { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl td.num { color: var(--ink); }

/* ------------------------------------------------------------ about, contact */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); padding: 0 var(--pad); align-items: start; }
.about__pic { display: block; aspect-ratio: var(--ar); }
.about__pic img { width: 100%; height: 100%; object-fit: cover; }
.contact__me, .play__pic { aspect-ratio: var(--ar); }
.contact__me img, .play__pic img { width: 100%; height: 100%; object-fit: cover; }
.contact__me { margin-bottom: 1rem; }
.play__pic { max-width: 28rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.about__say { display: grid; gap: 1.2rem; }
@media (max-width: 54rem) { .about { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 7vw, 8rem); padding: clamp(1rem, 3vw, 3rem) var(--pad) 0; align-items: start; }
.form { display: grid; gap: clamp(2rem, 3.5vw, 3rem); max-width: 46rem; }
.form__set legend { margin-bottom: 1rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(1rem, 2.5vw, 2.5rem); }
.form__grid legend { grid-column: 1 / -1; float: left; width: 100%; }
.picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1rem; border: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.pick:hover span { border-color: var(--ink); color: var(--ink); }
.pick input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.field { display: grid; gap: .3rem; }
.field--wide { grid-column: 1 / -1; }
.field--trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.field > span { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color .2s; }
.field:focus-within > span { color: var(--ink); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .5rem 0 .65rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); outline: 0; transition: border-color .25s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(236, 235, 231, .24); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #d9695f; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { font-size: .8125rem; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.form__status a { border-bottom: 1px solid var(--ink); }
.form .note { margin-top: 0; }
.contact__side { position: sticky; top: 6rem; border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .9rem; }
.contact__side p:has(.btn) { display: flex; flex-wrap: wrap; gap: .5rem; }
.ticks { display: grid; gap: 1.1rem; margin-top: .3rem; }
.ticks li { color: var(--dim); font-size: .875rem; line-height: 1.5; }
.ticks b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .15rem; }
@media (max-width: 60rem) { .contact { grid-template-columns: 1fr; } .contact__side { position: static; } }
@media (max-width: 34rem) { .form__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ prints */
.ph--split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: end; gap: clamp(2rem, 5vw, 6rem); }
.ph--split > div:not(.ph__glow) { display: grid; gap: .7rem; }
.ph__print { display: block; animation: fade 1s ease both; }
@media (max-width: 60rem) { .ph--split { grid-template-columns: 1fr; } }
.coll { padding-top: clamp(4rem, 8vw, 7rem); }
.coll__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.5rem; padding: 0 var(--pad) 1.4rem; }
.coll__h { margin-right: auto; }
.coll__head .label:first-child { display: none; }

.pp { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(5.5rem, 12vh, 7rem) var(--pad) 0; align-items: start; }
.pp__stage { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.pp__hero { display: block; max-width: min(100%, calc(78vh * var(--ar))); margin-inline: auto; width: 100%; cursor: zoom-in; }
.pp__buy { display: grid; gap: 1.1rem; position: sticky; top: 5.5rem; }
.pp__h { font: 400 clamp(1.5rem, 2.3vw, 2.125rem)/1.2 var(--sans); letter-spacing: -.012em; text-wrap: balance; margin-bottom: .6rem; }
.sizes { display: grid; margin-top: -.3rem; border-top: 1px solid var(--line); }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; inset: 0; }
.size__in { display: grid; grid-template-columns: 1.2rem 1fr auto; gap: 0 .6rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: color .2s; }
.size__in::before { content: ""; grid-row: 1 / span 2; width: .55rem; height: .55rem; border: 1px solid var(--dim); border-radius: 50%; transition: background .2s, border-color .2s; }
.size__in b { grid-column: 2; font-weight: 500; }
.size__in em { grid-column: 2; grid-row: 2; font-size: .75rem; font-style: normal; color: var(--dim); }
.size__in strong { grid-row: 1 / span 2; grid-column: 3; font-weight: 400; font-variant-numeric: tabular-nums; }
.size:hover .size__in, .size input:checked + .size__in { color: var(--ink); }
.size input:checked + .size__in::before { background: var(--ink); border-color: var(--ink); }
.size input:focus-visible + .size__in { outline: 1px solid var(--ink); outline-offset: 2px; }
.buy { display: grid; gap: 1.1rem; }
.buy__row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.buy__row .btn { flex: 1; justify-content: center; }
.buy__q { color: var(--ink-2); line-height: 1.6; max-width: 40ch; }
.qty { display: inline-flex; align-items: center; height: 3rem; border: 1px solid var(--line); }
.qty button { width: 2.6rem; height: 100%; color: var(--ink-2); transition: color .2s; }
.qty button:hover { color: var(--ink); }
.qty output { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.facts { display: grid; gap: .35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.55; color: var(--dim); }
.buy [data-msg] { margin-top: 0; color: var(--ink); min-height: 1.2em; }
.buy [data-msg] a { border-color: var(--ink); }

.room { position: relative; aspect-ratio: 300 / 240; max-width: 30rem; width: 100%; margin-inline: auto; background: linear-gradient(to bottom, #1c1c1e 0%, #18181a 89.2%, #101011 89.4%, #0d0d0e 100%); overflow: hidden; }
.room__print { position: absolute; left: 50%; bottom: calc((171 - var(--ph) / 2) / 240 * 100%); width: calc(var(--pw) / 300 * 100%); aspect-ratio: var(--pw) / var(--ph); transform: translateX(-50%); background: var(--paper); display: grid; place-items: center; padding: calc(var(--pw) / 300 * 1.6%); transition: width .6s var(--ease), bottom .6s var(--ease), aspect-ratio .6s var(--ease); }
.room__print img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.room__sofa { position: absolute; left: 50%; bottom: 10.6%; width: 66.67%; transform: translateX(-50%); fill: #27272a; }
.room__sofa .l { fill: none; stroke: #111112; stroke-width: 1; }
.room__key { position: absolute; inset: auto .8rem .5rem .8rem; display: flex; justify-content: space-between; font-size: .625rem; }
@media (max-width: 60rem) { .pp { grid-template-columns: 1fr; } .pp__buy { position: static; } }

/* cart */
.lines { border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: clamp(6rem, 14vw, 11rem) 1fr auto; gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.lines .sheet { padding: 6%; }
.lines h3 { font: 500 1rem/1.3 var(--sans); }
.lines .label { margin-top: .4rem; }
.lines__acts { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.lines__acts .qty { height: 2.5rem; }
.lines__acts .qty button { width: 2.2rem; }
.lines__rm { font-size: .8125rem; color: var(--dim); border-bottom: 1px solid var(--line); }
.lines__rm:hover { color: var(--ink); }
.lines__price { font-variant-numeric: tabular-nums; }
.total { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: end; margin-top: clamp(2rem, 4vw, 3rem); }
.total__sum { font: 400 clamp(1.5rem, 2.3vw, 2.125rem)/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.total .sec__acts { grid-column: 1 / -1; margin-top: 1rem; }
.empty { display: grid; gap: 1.2rem; justify-items: start; }
@media (max-width: 34rem) { .lines li { grid-template-columns: 5rem 1fr; } .lines__price { grid-column: 2; } }

/* ------------------------------------------------------------ off duty: the one page allowed to be silly */
.ph--play { background: radial-gradient(80% 90% at 80% 0%, rgba(24, 57, 181, .55), transparent 70%); }
.play__h { font: 800 clamp(3rem, 12vw, 12rem)/.86 var(--sans); font-stretch: 125%; letter-spacing: -.035em; text-transform: uppercase; color: #fff6a4; text-shadow: .045em .045em 0 #1839b5; }
.btn--pixel { background: #fff6a4; color: #10131c; border: 0; box-shadow: .3rem .3rem 0 #1839b5; transition: transform .2s, box-shadow .2s; }
.btn--pixel:hover { transform: translate(.15rem, .15rem); box-shadow: .15rem .15rem 0 #1839b5; }
.playgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.playgrid li { background: var(--bg); padding: 1.6rem; display: grid; gap: .5rem; }
.playgrid h2 { font: 500 1rem var(--sans); }
.playgrid p { color: var(--ink-2); }
@media (max-width: 54rem) { .playgrid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ calm */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .wall li { opacity: 1; }
  @view-transition { navigation: none; }
}
@media print { .nav, .foot__call { display: none; } body { background: #fff; color: #000; } }
