/* carlamoth.com. The "elevate" design Carl settled on Nov 16, 2026
   (mockups/elevate/ is the study it came from): a gallery after dark, the
   photos carry the page, the type is large and quiet, and motion is slow.
   Every color is a token below. The two themes follow the reader's system
   setting (data-theme="light" or "dark" on <html> forces one); grays are
   Radix gray, the one accent Radix gold. */
:root {
  /* light */
  --bg: #f9f9f8; --bg-2: #f0f0ee; --ink: #1c1c1c; --ink-2: #4a4a4a; --ink-3: #6f6f6f;
  --rule: #dedede; --tile: #e8e8e8; --accent: #71624b;
  /* the same in both themes: things on a photograph, the viewer, the room */
  --on-photo: #f5f5f3; --title-ink: var(--on-photo); --black: #000000;
  --scrim-top: rgba(0,0,0,.42); --scrim-mid: rgba(0,0,0,.16); --scrim-low: rgba(0,0,0,.74);
  --chip-bg: rgba(17,17,17,.72); --chip-ink: #eeeeee;
  --lb-bg: #050505; --lb-ink: #eeeeee; --lb-ink-2: #b4b4b4; --lb-rule: #4a4a4a;
  --lb-btn: rgba(255,255,255,.08); --lb-btn-on: rgba(255,255,255,.18);
  --wall: #d8d4cb; --wall-2: #c9c4b9; --floor: #5b4a3a; --floor-2: #473a2e; --base: #f0ede6;
  --sofa: #74797b; --sofa-2: #5f6466; --sofa-3: #4c5052; --leg: #2b2520; --frame: #17130f;
  --pot: #b7a98f; --leaf: #5c6f55; --shadow: rgba(0,0,0,.34);
  --photo-line: rgba(255,255,255,.4);
  --serif: Gelasio, Georgia, "Times New Roman", serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --name: Outfit, Geist, system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* the hero's title: one line at every width (README of the mockup, "Medium") */
  --k: 6; --h1-vh: 15vh; --h1-max: 148px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0b; --bg-2: #141414; --ink: #eeeeee; --ink-2: #b4b4b4; --ink-3: #8a8a8a;
    --rule: #2a2a2a; --tile: #191919; --accent: #cbb99f;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0b; --bg-2: #141414; --ink: #eeeeee; --ink-2: #b4b4b4; --ink-3: #8a8a8a;
  --rule: #2a2a2a; --tile: #191919; --accent: #cbb99f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 350 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 70; background: var(--bg); padding: 6px 10px; }
.wrap { padding-inline: var(--pad); max-width: 1500px; margin-inline: auto; }
@view-transition { navigation: auto; }

/* ---- header: clear over a photo, solid once you scroll past it; always there ---- */
.mast { --lock-h: 34px; position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 10px 20px; padding: 15px var(--pad); color: var(--on-photo);
  transition: background-color .3s ease, color .3s ease; }
/* Without the script nothing says when the photo has passed, so the
   header stays at the top of the page instead of following over the text. */
html:not(.js) .mast { position: absolute; }
/* Only the color changes past the photo. (The padding used to tighten too,
   which nudged the name and menu by six pixels at the boundary; Carl, Nov 16.) */
.mast.solid, .plain .mast { background: color-mix(in srgb, var(--bg) 84%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.lock { display: block; }
.lock svg { display: block; height: var(--lock-h); width: auto; }
.lock .ma { fill: currentColor; } .lock .mc { fill: currentColor; opacity: .7; }
/* The menu sits on the name's baseline. The lockup's letters stand 2% of its
   height above its bottom edge, which is what baseline alignment lines up to. */
.mast nav, .mast > .menu-btn { position: relative; top: calc(var(--lock-h) * -.02); }
.mast nav { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.mast nav a { position: relative; padding: 6px 0; font: 450 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; }
.mast nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.mast nav a:hover::after, .mast nav a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; font: 450 15px/1 var(--sans);
  letter-spacing: .04em; cursor: pointer; }
@media (max-width: 720px) { .js .mast nav { display: none; } .js .mast .menu-btn { display: block; } }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); display: grid;
  align-content: center; gap: 4px; padding: var(--pad); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s; }
.menu.on { opacity: 1; visibility: visible; }
.menu a { font: 400 clamp(40px, 13vw, 76px)/1.16 var(--serif); letter-spacing: -.02em; text-decoration: none; }
.menu .x { display: block; position: absolute; top: 14px; right: var(--pad); }

/* ---- the opening: the mark is a window onto the first photo ---- */
.opening { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; pointer-events: none; }
.motion.enter .opening { display: grid; }
.opening svg { width: min(34vmin, 300px); overflow: visible; fill: var(--black); }
.opening span { position: absolute; top: calc(50% + min(26vmin, 230px)); left: 0; right: 0; text-align: center;
  color: var(--on-photo); font: 500 13px/1 var(--name); letter-spacing: .34em; padding-left: .34em; }
.go .opening svg { animation: open-mark 2.3s cubic-bezier(.7, 0, .3, 1) both; }
.go .opening span { animation: open-name 2.3s ease both; }
.opening.done { display: none !important; }
@keyframes open-mark { 0%, 36% { transform: scale(1); opacity: 1; } 100% { transform: scale(9); opacity: 0; } }
@keyframes open-name { 0%, 26% { opacity: 1; } 46%, 100% { opacity: 0; } }

/* ---- the hero ---- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 340px; overflow: clip; background: var(--black);
  color: var(--on-photo); }
.hero .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero .slide.on { opacity: 1; }
/* Each photo names the point that must stay in the frame (--lx --ly on a wide
   screen, --px --py on a tall one, where a tall photo is used: content/home.json).
   The crop hangs from that point and the slow zoom grows from it. */
.hero .slide picture { display: block; width: 100%; height: 100%; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--lx, 50%) var(--ly, 50%);
  transform-origin: var(--lx, 50%) var(--ly, 50%); }
@media (orientation: portrait) {
  .hero .slide img { object-position: var(--px, 50%) var(--py, 50%); transform-origin: var(--px, 50%) var(--py, 50%); }
}
.motion .hero .slide.on img, .motion .hero .slide.out img { animation: drift 18s ease-out both; }
.motion .hero .slide:nth-child(even).on img, .motion .hero .slide:nth-child(even).out img { animation-name: drift-back; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes drift-back { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--scrim-top), transparent 24%),
              linear-gradient(to top, var(--scrim-low), var(--scrim-mid) 42%, transparent 64%); }
.hero .copy { position: absolute; inset: auto var(--pad) clamp(84px, 13vh, 150px) var(--pad); z-index: 2; }
.eyebrow { margin: 0; font: 500 13px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.hero .eyebrow { font-size: clamp(13px, .4vw + 10.5px, 20px); }
/* The title stays on one line: --fit is the largest size at which "Poems of
   light" (--k times its font size wide) fits between the page's margins. On
   a wide or short screen the height and the cap hold it back. */
.hero h1 { --fit: calc((100vw - 2 * var(--pad)) / var(--k)); width: fit-content; margin: .16em 0 .14em -.04em;
  font: 400 min(var(--fit), max(12.4vw, 60px), var(--h1-vh), var(--h1-max))/.92 var(--serif); letter-spacing: -.035em;
  white-space: nowrap; color: var(--title-ink); }
.hero h1 .tw { display: inline-block; }
.hero .sub { margin: 0; max-width: 32em; font: 350 clamp(18px, .55vw + 16px, 30px)/1.45 var(--sans); }
.motion .rise { opacity: 0; }
.motion.go .rise { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--wait, .2s) + var(--i, 0) * .14s); }
.motion.enter .hero { --wait: 1.7s; }
@keyframes rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
/* The title, arriving at the site, is said aloud: "Poems" and a quick,
   unstressed "of" fade up, overlapping so the line flows, and then the lens
   finds "light", the one focus pull. --t is when a word starts, --d how long
   it takes. Nothing moves or changes size, and the blur ends at zero, not at
   "none", so the word is not redrawn with a snap at the end. Settled with
   Carl, Nov 16: white throughout, "light" in italic, nothing glows. */
.motion .hero h1 .tw { opacity: 0; }
.motion.go .hero h1 .tw { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--wait, .2s) + .14s); }
/* Already on the site (the logo, a link home): the home page is simply there.
   Nothing on it arrives a second time (Carl, Nov 16). */
.motion:not(.enter) .hero .rise, .motion:not(.enter) .hero h1 .tw { opacity: 1; animation: none; }
.motion.go.enter .hero .sub { animation-delay: calc(var(--wait, .2s) + 1.8s); }
.motion.go.enter .hero h1 .tw { animation: fade-in var(--d, 1s) cubic-bezier(.3, .1, .3, 1) both;
  animation-delay: calc(var(--wait, .2s) + var(--t)); }
.motion.go.enter .hero h1 em.tw { animation: pull-last var(--d, 1.4s) cubic-bezier(.45, .05, .45, 1) forwards;
  animation-delay: calc(var(--wait, .2s) + var(--t)); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* No fade: on its beat the word is simply there, out of focus, and the lens
   racks to it. (The animation fills forwards only, so the word stays hidden
   until its beat.) */
@keyframes pull-last { from { opacity: 1; filter: blur(.07em); } to { opacity: 1; filter: blur(0); } }
.hero .bar { position: absolute; inset: auto var(--pad) 22px var(--pad); z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-size: 14px; }
.hero .cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero .cap a { margin-left: .8em; }
.ticks { display: flex; align-items: center; gap: 6px; flex: none; }
.tick { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.tick span { display: block; height: 2px; background: var(--photo-line); position: relative; }
.tick i { position: absolute; inset: 0; background: var(--on-photo); transform: scaleX(0); transform-origin: left; }
.tick.on i { transform: scaleX(1); }
.motion .playing .tick.on i { animation: tick var(--hold, 7s) linear both; }
@keyframes tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pause { width: 30px; height: 30px; margin-left: 6px; padding: 0; border: 1px solid var(--photo-line);
  border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.pause svg { width: 12px; height: 12px; fill: var(--on-photo); }
.pause .play, .paused .pause .hold { display: none; } .paused .pause .play { display: block; }
html:not(.js) .ticks { display: none; }
@media (max-width: 560px) { .tick { width: 22px; } }
@supports (animation-timeline: view()) {
  .motion .hero .copy { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 75%; }
  @keyframes hero-out { to { opacity: 0; transform: translateY(-70px); } }
}

/* ---- section furniture ---- */
section { position: relative; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.6vw, 34px); }
.sechead h2 { margin: 0; font: 400 clamp(30px, 3.6vw, 52px)/1.05 var(--serif); letter-spacing: -.02em; }
.sechead p { margin: 0; color: var(--ink-2); max-width: 30em; }
.gap { padding-block: clamp(64px, 10vw, 150px); }
.more { display: inline-block; margin-top: 1.6em; font: 450 16px/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--accent); }
.more span { display: inline-block; margin-left: .4em; transition: transform .35s var(--ease); }
.more:hover span { transform: translateX(6px); }
.rv-on .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s); }
.rv-on .rv.in { opacity: 1; transform: none; }

/* ---- the statement: Carl's own words from About, lighting up as you read ---- */
.say .big { margin: 0; max-width: 21em; font: 400 clamp(30px, 4.7vw, 70px)/1.13 var(--serif); letter-spacing: -.022em; }
.say .w { display: inline-block; }
@supports (animation-timeline: view()) {
  .motion .say .w { animation: word linear both; animation-timeline: view(); animation-range: entry 80% cover 42%; }
  @keyframes word { from { opacity: .16; } to { opacity: 1; } }
}

/* ---- the collections: tall strips; the one you point at opens ---- */
.chapters { scroll-margin-top: 80px; }
.chapters .sechead .arrows { margin-left: auto; }
.chapters:not(.has-scroll) .col-arrows { display: none; }
.chapters.has-scroll .sechead { justify-content: flex-start; }
.chapters .row { display: flex; gap: 6px; height: min(78vh, 760px, 62vw); min-height: 440px; padding-inline: var(--pad); }
.chap { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--on-photo); text-decoration: none;
  background: var(--tile); transition: flex-grow .8s var(--ease); }
/* The photo is laid out once, at the width its strip has when open (--wmax:
   the row less its gaps, times the open strip's share of it), and centered.
   So opening a strip only uncovers more of the same picture, and every strip
   then zooms by the same small amount. (Sized to the strip itself, a tall
   photo was refitted as its strip widened: the owl zoomed by a quarter while
   the wide photos barely moved.) */
.chapters .row { --wmax: calc((100vw - 2 * var(--pad) - (var(--n, 4) - 1) * 6px) * 2.3 / (var(--n, 4) + 1.3)); }
.chap img { position: absolute; top: 0; left: 50%; width: var(--wmax); max-width: none; height: 100%; translate: -50% 0;
  object-fit: cover; filter: brightness(.74) saturate(.88); transition: filter .7s ease, scale .9s var(--ease); }
.chap::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, var(--scrim-low)); }
.chap .no, .chap .lab { position: absolute; z-index: 1; left: clamp(14px, 1.6vw, 26px); }
.chap .no { top: clamp(14px, 1.6vw, 24px); font: 500 13px/1 var(--sans); letter-spacing: .2em; }
.chap .lab { bottom: 20px; right: 14px; }
.chap .t { display: block; font: 400 clamp(21px, 2.6vw, 42px)/1.05 var(--serif); letter-spacing: -.02em; }
.chap .c { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .02em; }
/* "View", in a word (the heading above already says Collections). An arrow
   pointing right read as "go to the next strip"; the up-and-right arrow means
   "leaves the site" on Prints; a plus will read as "add" once visitors can
   keep favorites. */
.chap .go-to { position: absolute; z-index: 1; right: clamp(14px, 1.6vw, 26px); bottom: 24px; padding-bottom: 5px;
  border-bottom: 1px solid var(--photo-line); font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; opacity: 0; transition: opacity .4s ease .15s; }
@media (hover: hover) {
  .chap:hover, .chap:focus-visible { flex-grow: 2.3; }
  .chap:hover img, .chap:focus-visible img { filter: none; scale: 1.17; }
  .chap:hover .go-to, .chap:focus-visible .go-to { opacity: 1; }
}
@media (hover: none) { .chap img { filter: brightness(.9); } }
/* More collections than fit side by side: the strips keep a readable width
   (--w, set by site.js so that part of the next strip shows at the edge)
   and the row scrolls sideways: a two-finger swipe, a drag, or the arrows.
   The strip you point at still opens, pushing the ones after it along. */
.chapters .row.scrolls { --wmax: calc(var(--w) * 2.3); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.chapters .row.scrolls::-webkit-scrollbar { display: none; }
.row.scrolls .chap { flex: none; width: var(--w); scroll-snap-align: start; transition: width .8s var(--ease); }
@media (hover: hover) { .row.scrolls .chap:hover, .row.scrolls .chap:focus-visible { width: var(--wmax); } }
@media (max-width: 640px) {
  .chapters .row { flex-direction: column; height: auto; min-height: 0; }
  .chap { flex: none; width: 100%; aspect-ratio: 16 / 10; }
  .chap img { left: 0; width: 100%; translate: none; }
}

/* ---- featured: a strip of whole photos at one height; drag, swipe or
   use the arrows; a photo opens in the viewer ---- */
.ribbon { padding-bottom: 0; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: none;
  cursor: pointer; font-size: 18px; line-height: 1; transition: background-color .2s, border-color .2s; }
.arrows button:hover { background: var(--bg-2); border-color: var(--ink-3); }
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--pad);
  scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip .leaf { flex: none; height: clamp(230px, 44vh, 480px); aspect-ratio: var(--r); margin: 0; scroll-snap-align: start; }
.strip .leaf img { width: 100%; height: 100%; object-fit: cover; }

/* ---- photos in a grid or the strip ---- */
.leaf { position: relative; margin: 0; }
.leaf > a.ph { display: block; height: 100%; cursor: zoom-in; background: var(--tile); }
.leaf figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 12px 10px; color: var(--on-photo);
  font: 400 13px/1.35 var(--sans); background: linear-gradient(transparent, var(--scrim-low)); opacity: 0;
  transition: opacity .3s ease; pointer-events: none; }
.leaf figcaption b { font-weight: 500; }
.leaf .prints { position: absolute; top: 8px; right: 8px; opacity: 0; transition: opacity .3s ease; }
.prints { display: inline-block; padding: 6px 10px 7px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink);
  font: 450 13px/1 var(--sans); letter-spacing: .02em; text-decoration: none; }
@media (hover: hover) { .leaf:hover figcaption, .leaf:focus-within figcaption, .leaf:hover .prints, .leaf:focus-within .prints { opacity: 1; } }
@media (hover: none) { .leaf .prints { display: none; } }
/* The mosaic: rows of whole photos, each row filling the width at one
   height. The build (or search.js) chooses the rows and marks where each
   layout breaks (.mbreak.w on a laptop, .mbreak.n on a phone); between
   breaks each photo grows in proportion to its shape. No script needed. */
.mosaic.rows { display: flex; flex-wrap: wrap; gap: 0 6px; }
.mosaic.rows .leaf { flex: calc(var(--r) * 100) 1 calc(var(--r) * 1px); min-width: 0; margin: 0 0 6px; }
.mosaic.rows .leaf img { width: 100%; aspect-ratio: var(--r); object-fit: cover; }
.mbreak { display: none; }
@media (min-width: 44rem) { .mosaic .mbreak.w { display: block; flex-basis: 100%; height: 0; } }
@media (max-width: 43.99rem) {
  .mosaic .mbreak.n { display: block; flex-basis: 100%; height: 0; }
  .mosaic.rows { gap: 0 4px; } .mosaic.rows .leaf { margin-bottom: 4px; }
}

/* ---- on your wall: a print at its true size above a seven-foot sofa ---- */
.wall-sec + .browse { padding-top: 0; }
.room { --span: 190; --u: calc(100cqw / var(--span)); container-type: inline-size; position: relative; width: 100%;
  max-width: 1180px; margin-inline: auto; aspect-ratio: 190 / 108; overflow: hidden;
  background: linear-gradient(to bottom, var(--wall), var(--wall-2)); }
.room .floor { position: absolute; inset: calc(92 * var(--u)) 0 0 0; background: linear-gradient(var(--floor), var(--floor-2)); }
.room .base { position: absolute; left: 0; right: 0; top: calc(88.5 * var(--u)); height: calc(3.5 * var(--u)); background: var(--base); }
.room .print { position: absolute; left: 50%; top: calc(31 * var(--u)); width: calc(var(--pw, 60) * var(--u));
  transform: translate(-50%, -50%); transition: width .8s var(--ease); box-shadow: 0 calc(1.2 * var(--u)) calc(4 * var(--u)) var(--shadow); }
.room .print img { width: 100%; aspect-ratio: var(--r); object-fit: cover; outline: calc(.5 * var(--u)) solid var(--frame); }
.room .sofa { position: absolute; left: 50%; top: calc(59 * var(--u)); width: calc(84 * var(--u)); height: calc(33 * var(--u));
  transform: translateX(-50%); }
.room .plant { position: absolute; left: calc(50% + 58 * var(--u)); top: calc(44 * var(--u)); width: calc(22 * var(--u));
  height: calc(48 * var(--u)); }
.room .rule { position: absolute; left: 50%; top: calc(94.5 * var(--u)); width: calc(84 * var(--u)); transform: translateX(-50%);
  text-align: center; color: var(--on-photo); font: 450 max(11px, calc(2.1 * var(--u)))/1 var(--sans); letter-spacing: .08em;
  border-top: 1px solid var(--photo-line); padding-top: calc(1.2 * var(--u)); }
@media (max-width: 700px) { .room { --span: 124; aspect-ratio: 124 / 108; } .room .plant { display: none; } }
.wall-ui { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 22px; }
.wall-ui .sizes, .wall-ui .picks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wall-ui .lab, .facet > b { font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.wall-ui .order { margin-top: 0; }
html:not(.js) .wall-ui .picks, html:not(.js) .wall-ui .sizes { display: none; }
.pill, .chip { min-width: 54px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: none;
  cursor: pointer; font: 450 15px/1 var(--sans); transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover, .chip:hover { border-color: var(--ink-3); }
.pill[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill:disabled, .chip:disabled { opacity: .32; cursor: default; }
.pick { width: 74px; height: 50px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6;
  transition: opacity .2s; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.wall-ui .read { margin: 0; flex: 1 1 16em; color: var(--ink-2); }
.wall-ui .read b { color: var(--ink); font: 400 26px/1.1 var(--serif); margin-right: .4em; }

/* ---- browse by: bands. Each line carries its own photo at its right end, so
   the photo is always next to the words it belongs to, on any height of
   screen. The line you point at opens, as a strip does above, and one line is
   always open, so the list keeps its height. ---- */
.browse { scroll-margin-top: 40px; }
.blist { --ph: 44%; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.blist a { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: clamp(84px, 8vw, 112px); padding: 12px calc(var(--ph) + clamp(16px, 2.4vw, 40px)) 12px 0;
  border-top: 1px solid var(--rule); text-decoration: none; overflow: hidden; transition: min-height .7s var(--ease); }
.blist .t { font: 400 clamp(26px, 3.4vw, 52px)/1.05 var(--serif); letter-spacing: -.02em; }
.blist .b { color: var(--ink-2); font-size: 16px; }
.blist .n { color: var(--ink-3); font: 450 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.blist .th { position: absolute; top: 0; right: 0; width: var(--ph); max-width: none; height: 100%; object-fit: cover;
  filter: brightness(.72) saturate(.85); transition: filter .6s ease; }
.blist a.open { min-height: clamp(210px, 27vw, 420px); }
.blist a.open .th, .blist a:focus-visible .th { filter: none; }
@media (hover: none) {   /* nothing to point with: every line the same, a little taller */
  .blist a, .blist a.open { min-height: 128px; } .blist .th { filter: none; }
}
@media (max-width: 699px) {
  .blist { --ph: 38%; }
  .blist .b { font-size: 15px; }
}

/* ---- footer ---- */
.foot { border-top: 1px solid var(--rule); padding: clamp(40px, 6vw, 90px) 0 28px; overflow: clip; }
.foot .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; color: var(--ink-2); }
.foot .cols p { margin: 0; max-width: 24em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot nav a { text-decoration: none; font-size: 16px; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot .word { margin: clamp(30px, 5vw, 70px) 0 0; text-align: center; white-space: nowrap; color: var(--bg-2);
  font: 500 11.4vw/.8 var(--name); letter-spacing: .06em; padding-left: .06em; user-select: none; }
.foot small { display: block; margin-top: 26px; color: var(--ink-3); font-size: 14px; }

/* ---- a collection's page, and a Browse by page: its photo, then the grid ---- */
.chero { position: relative; height: min(74svh, 780px); min-height: 380px; overflow: clip; background: var(--black); color: var(--on-photo); }
.chero > img { width: 100%; height: 100%; object-fit: cover; }
.chero .scrim { position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--scrim-top), transparent 26%), linear-gradient(to top, var(--scrim-low), transparent 62%); }
.chero .copy { position: absolute; inset: auto var(--pad) clamp(26px, 5vh, 56px) var(--pad); z-index: 2; }
.chero h1 { margin: .12em 0 .1em -.03em; font: 400 clamp(52px, 9.5vw, 150px)/.95 var(--serif); letter-spacing: -.03em; }
.chero .crumb { font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.chero .crumb:hover { text-decoration: underline; text-underline-offset: 4px; }
.chero p { margin: 0; max-width: 36em; font-size: clamp(16px, 1.4vw, 20px); }
.chero p a { margin-left: .3em; }
.grid-wrap { padding: clamp(18px, 2.4vw, 34px) clamp(8px, 1.6vw, 24px) clamp(50px, 8vw, 110px); }
.nextcol { display: block; position: relative; height: min(60vh, 560px); min-height: 300px; overflow: hidden; color: var(--on-photo);
  text-decoration: none; background: var(--black); }
.nextcol img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: filter .7s ease, transform .9s var(--ease); }
.nextcol:hover img { filter: brightness(.82); transform: scale(1.03); }
.nextcol div { position: absolute; inset: auto var(--pad) clamp(26px, 5vh, 56px) var(--pad); }
.nextcol b { display: block; font: 400 clamp(40px, 7vw, 110px)/1 var(--serif); letter-spacing: -.03em; }

/* ---- pages without a photo at the top: About, Contact, Collections,
   Search, the missing page ---- */
.plain main { padding-top: clamp(110px, 14vw, 170px); }
.plain main > .about, .search-cta { padding-bottom: clamp(60px, 9vw, 120px); }
.ptitle { margin: 0 0 .5em; font: 400 clamp(52px, 8vw, 120px)/1 var(--serif); letter-spacing: -.03em; }
.sechead .ptitle { margin: 0; }
.about .cols { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 36em); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about .side { margin: 0; position: sticky; top: 96px; }
/* Photographs are square-cornered everywhere on this site, the portrait
   included; only things you press are rounded (Carl, Nov 16). */
.about .side img { width: 100%; height: auto; }
.about .text { color: var(--ink-2); max-width: 36em; }
.about .text p { margin: 0 0 1.1em; font-size: 20px; line-height: 1.62; }
.about .text > p:first-child { font: 400 clamp(24px, 2.3vw, 31px)/1.42 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.about .text h2 { margin: 1.8em 0 .5em; color: var(--ink); font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); letter-spacing: -.02em; }
.about .text ul { margin: 0; padding-left: 1.1em; font-size: 20px; line-height: 1.8; }
.about .meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 16px; }
@media (max-width: 760px) { .about .cols { grid-template-columns: 1fr; } .about .side { position: static; max-width: 340px; }
  .about .text p, .about .text ul { font-size: 18px; } }

/* ---- search ---- */
.search-page { padding-bottom: clamp(40px, 6vw, 80px); }
.lede { margin: 0 0 22px; max-width: 40rem; color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); }
.field { display: flex; align-items: center; max-width: 40rem; padding: 0 24px; border: 1px solid var(--rule);
  border-radius: 999px; background: var(--bg-2); transition: border-color .2s; }
.field:focus-within { border-color: var(--ink-3); outline: 2px solid var(--accent); outline-offset: 3px; }
.field input { flex: 1; min-width: 0; padding: 14px 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }
.field input::placeholder { color: var(--ink-3); }
.facets { display: grid; gap: 10px; margin: 28px 0 18px; }
.facet { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.facet > b { width: 150px; }
.chip { height: 36px; min-width: 0; font-size: 14px; }
.chip .n { margin-left: .45em; opacity: .6; }
.search-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.count { margin: 0; color: var(--ink-3); font-size: 15px; }
.linkish { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 15px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
#results > p:has(.chip) { margin-top: 18px; }
@media (max-width: 40rem) { .facet > b { width: 100%; } }
.js-only { display: none; }
.js .js-only { display: block; }
.js .no-js { display: none; }
.search-page + .browse { padding-top: clamp(30px, 5vw, 70px); }

/* ---- the viewer: the photo, with its own colors spilling into the dark ---- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; isolation: isolate; overflow: hidden;
  background: var(--lb-bg); color: var(--lb-ink); }
.lb.on { display: flex; }
/* "Soft": only a dim, broad tint of the photo's colors, so a bright spot in
   it cannot pull the eye off the photo (Carl, Nov 16). The fuller tint and
   plain charcoal are for a later visitor preference. */
.lb::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--amb, none) center / cover no-repeat;
  filter: blur(130px) brightness(.24) saturate(.7); }
.lb img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 56px 12px 8px; }
.motion .lb img.swap { animation: lb-in .45s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb .lbbar { display: grid; grid-template-columns: 44px minmax(0, 34rem) 44px; align-items: center; justify-content: center;
  gap: 14px; padding: 10px 12px 18px; min-height: calc(1.4em * 3 + 28px); font: 400 15px/1.4 var(--sans); }
.lb .lbcap { text-align: center; color: var(--lb-ink-2); }
.lb .lbcap b { color: var(--lb-ink); font: 400 20px/1.2 var(--serif); margin-right: .45em; }
.lb .lbcap .prints { margin-left: .6em; background: transparent; color: var(--lb-ink); box-shadow: inset 0 0 0 1px var(--lb-rule); }
.lb button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lb-btn); color: var(--lb-ink);
  cursor: pointer; display: grid; place-items: center; padding: 0; }
.lb button:hover, .lb button:focus-visible { background: var(--lb-btn-on); }
.lb button:focus-visible, .lb a:focus-visible { outline: 2px solid var(--lb-ink); outline-offset: 2px; }
.lb button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb .lbclose { position: absolute; top: 8px; right: 10px; }
.lb .lbcount { position: absolute; top: 20px; left: 18px; font-size: 14px; letter-spacing: .06em; color: var(--lb-ink-2); }
.lb.solo .lbprev, .lb.solo .lbnext { visibility: hidden; }
body.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print { .mast, .menu, .opening, .lb { display: none !important; } }
