/* A daylight salon. Ivory limewash walls, real paintings, and an editorial voice.
   Bodoni Moda is the Didone of the Revolution-era Louvre; Geist is the present. */
:root {
  --wall: #f4f1ea;
  --wall-2: #ebe6dc;
  --ink: #191714;
  --ink-2: #57514a;
  --ink-3: #948c80;
  --rule: #ddd6c9;
  --lapis: #24408e;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 3.4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --max: 1560px;
  --ease: cubic-bezier(.22, .61, .12, 1);
  --curtain: cubic-bezier(.76, 0, .18, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--wall); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lapis); color: var(--wall); }
:focus-visible { outline: 1px solid var(--lapis); outline-offset: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Bodoni Moda's optical-size axis sets how fine the hairlines are. Its display cut
   (opsz 96) is too fine for screens, so large type uses opsz 24, which keeps the
   contrast with hairlines that still read; reading sizes use the sturdier opsz 12. */
.hero-title, .work-title, .letters-mail,
.big-pair, .room-lede, .credo-text, .court-story, .day-story, .darkroom-note {
  font-variation-settings: "opsz" 24;
}
.mast-name, .work-pair, .study-pair, .study h3, .epi p, .sims-desc, .provenance .org,
.hero-cap i, .art-cap i, .lightbox-cap i, .epi cite i, .colophon-epi, .studies-title, .letters-pair {
  font-variation-settings: "opsz" 12;
}
.work-pair, .study-pair, .big-pair, .letters-pair, .studies-title, .epi p, .sims-desc { font-weight: 450; }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- masthead ---------- */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .7s var(--ease), background-color .4s ease, box-shadow .4s ease;
}
.mast.is-solid { background: var(--wall); box-shadow: 0 1px 0 var(--rule); }
.mast.is-away { transform: translateY(-110%); }
.mast-name { grid-column: 1; grid-row: 1; justify-self: start; font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .005em; }
.mast-morse { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 172px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--ink-3); white-space: nowrap; }
.mast-nav { grid-column: 2; display: flex; gap: 32px; font-size: 13.5px; color: var(--ink-2); }
.mast-nav a, .mast-time { transition: color .3s ease; }
.mast-nav a:hover { color: var(--ink); }
.mast-time { grid-column: 3; justify-self: end; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* ---------- hero: the Grande Galerie ---------- */
.hero { position: relative; height: 330vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-copy {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding-top: clamp(92px, 14vh, 150px);
  will-change: transform, opacity;
}
.hero-title {
  grid-column: 1 / span 9;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 7.2vw, 128px); line-height: .98; letter-spacing: -.028em;

}
.hero-title em { font-style: italic; letter-spacing: -.02em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.hero-intro { grid-column: 10 / -1; max-width: 21em; padding-bottom: .55em; font-family: var(--serif); font-size: clamp(19px, 1.45vw, 22px); line-height: 1.36; letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; font-variation-settings: "opsz" 12; }
.hero-intro em { font-style: italic; }

.hero-fig { position: absolute; inset: 0; }
.hero-clip {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(var(--t, 52%) var(--s, 56px) var(--b, 64px) var(--s, 56px));
  will-change: clip-path;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 34% 42%;
  transform-origin: 33.5% 36%;
  will-change: transform;
}
.hero-veil { position: absolute; inset: 0; background: var(--wall); opacity: 0; pointer-events: none; }
.hero-cap {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 12.5px; color: var(--ink-3);
}
.hero-cap i, .art-cap i { font-family: var(--serif); font-size: 1.08em; color: var(--ink-2); }
.hero-cap::after { content: "Scroll to walk in"; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- paintings ---------- */
.art-frame { display: block; width: 100%; overflow: hidden; background: var(--wall-2); cursor: zoom-in; }
.art-frame img { width: 100%; }
.art-cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.chips { display: flex; flex-shrink: 0; margin-top: 4px; box-shadow: 0 0 0 1px rgba(25, 23, 20, .06); }
.chips i { display: block; width: 13px; height: 9px; background: var(--c); }

/* ---------- credo: one sentence, with the rooms set inline ---------- */
.credo { padding-top: clamp(72px, 9vw, 140px); }
.credo-text { max-width: 25em; font-family: var(--serif); font-size: clamp(30px, 3.9vw, 66px); line-height: 1.16; letter-spacing: -.022em; text-wrap: pretty; }
.inl { white-space: nowrap; transition: color .4s ease; }
.inl img {
  display: inline-block; width: 1.18em; height: .74em; margin: 0 .06em 0 .16em; vertical-align: -.02em;
  object-fit: cover; border-radius: .08em; transition: width .6s var(--ease);
}
.inl:hover { color: var(--ink-2); }
.inl:hover img { width: 1.7em; }

/* ---------- rooms ---------- */
.room { padding-top: clamp(150px, 16vw, 250px); }
.room-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.room-head .eyebrow { grid-column: 1 / span 3; }
.room-lede { grid-column: 4 / -1; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; }
.room-head + .work { margin-top: clamp(72px, 8vw, 130px); }

.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; margin-top: clamp(110px, 13vw, 210px); }
.work-no { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.work-no span { opacity: .55; }
.work-title { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.4vw, 92px); line-height: .94; letter-spacing: -.03em; }
.work-pair { margin-top: 26px; max-width: 22em; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.55vw, 24px); line-height: 1.38; letter-spacing: -.005em; text-wrap: pretty; }
.work-desc { margin-top: 16px; max-width: 34em; font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }
.work-meta { margin-top: 30px; max-width: 30em; border-top: 1px solid var(--rule); }
.work-meta div { display: grid; grid-template-columns: 112px 1fr; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.work-meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.work-meta dd { font-size: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 11px 19px 10px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .005em;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.pill::after { content: "↗"; font-weight: 400; transition: translate .45s var(--ease); }
.pill:hover { background: color-mix(in srgb, var(--tint, var(--ink)) 82%, black); border-color: transparent; color: var(--wall); }
.pill:hover::after { translate: 2px -2px; }
.pill--quiet { margin-top: 0; border-color: var(--rule); font-weight: 400; }
.pill--quiet::after { content: none; }
.pill--quiet:hover { background: var(--ink); }

.work--a .art { grid-column: 1 / span 7; }
.work--a .work-text { grid-column: 9 / span 4; }
.work--b .work-text { grid-column: 1 / span 4; grid-row: 1; }
.work--b .art { grid-column: 6 / span 7; grid-row: 1; }
.work--c { display: block; }
.art--bleed .art-frame { height: min(94vh, 76vw); }
.art--bleed .art-frame img, .art--wide .art-frame img { height: 100%; object-fit: cover; }
.work-text--wide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.work-text--wide > :first-child { grid-column: 1 / span 6; }
.work-text--wide > :last-child { grid-column: 7 / span 6; }
.work-text--wide .work-pair { margin-top: 8px; font-size: clamp(22px, 2vw, 30px); }
.work--d { align-items: start; }
.work--d .work-text { grid-column: 1 / span 4; grid-row: 1; position: sticky; top: 22vh; }
.work--d .art { grid-column: 7 / span 6; grid-row: 1; }

/* ---------- studies: hung salon-style, equal heights ---------- */
.studies { padding-top: clamp(130px, 15vw, 230px); }
.studies-title { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.salon { display: flex; align-items: flex-start; gap: clamp(20px, 2.6vw, 44px); margin-top: clamp(48px, 5vw, 80px); }
.study { flex: var(--r) 1 0%; min-width: 0; }
.study .art-cap { font-size: 12px; }
.study-no { margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.study h3 { margin-top: 26px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; letter-spacing: -.02em; }
.study-pair { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; }
.study-desc { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.go { display: inline-block; margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; transition: border-color .4s ease; }
.go::after { content: "  ↗"; white-space: pre; color: var(--ink-3); }
.go:hover { border-color: var(--ink); }

/* ---------- by day ---------- */
.day-story { margin-top: clamp(56px, 6vw, 96px); max-width: 21em; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.7vw, 62px); line-height: 1.1; letter-spacing: -.022em; text-wrap: balance; }
.art--wide { max-width: 1840px; margin: clamp(48px, 6vw, 96px) auto 0; padding-inline: var(--gutter); }
.art--wide .art-frame { aspect-ratio: 2600 / 1769; }
.art--wide .art-cap { padding-inline: 0; }
.day-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(56px, 6vw, 96px); }
.day-text { grid-column: 1 / span 5; }
.day-text p { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.day-text .day-aside { margin-top: 1em; font-size: 15px; color: var(--ink-2); }
.provenance { grid-column: 7 / -1; }
.provenance ol { margin-top: 14px; border-bottom: 1px solid var(--rule); }
.provenance li {
  display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "yr org place" "yr role place";
  column-gap: 16px; padding: 15px 0 14px; border-top: 1px solid var(--rule);
}
.provenance .yr { grid-area: yr; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); padding-top: 7px; }
.provenance .org { grid-area: org; font-family: var(--serif); font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.provenance .role { grid-area: role; font-size: 14px; color: var(--ink-2); }
.provenance .place { grid-area: place; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 8px; }

/* ---------- library ---------- */
.library-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; margin-top: clamp(72px, 8vw, 130px); }
.library-grid .art { grid-column: 1 / span 6; }
.library-text { grid-column: 8 / -1; }
.big-pair { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.7vw, 44px); line-height: 1.18; letter-spacing: -.015em; text-wrap: pretty; }
.body { margin-top: 22px; max-width: 34em; font-size: 16.5px; color: var(--ink-2); text-wrap: pretty; }
.body a, .day-text a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .4s ease; }
.body a:hover { border-color: var(--ink); }
.epi { margin: 36px 0 0; padding-left: 18px; border-left: 1px solid var(--rule); }
.epi p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
.epi cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.epi cite i { font-family: var(--serif); font-size: 13px; letter-spacing: 0; text-transform: none; font-style: italic; }

/* ---------- court ---------- */
.court-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(56px, 6vw, 96px); }
.court-story { grid-column: 1 / span 10; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 58px); line-height: 1.12; letter-spacing: -.022em; text-wrap: pretty; }
.court-note { grid-column: 1 / span 6; margin-top: 26px; font-size: 17px; color: var(--ink-2); }
.art--pano { margin-top: clamp(56px, 6vw, 96px); }
.art--pano .art-frame { aspect-ratio: 2674 / 1087; }
.art--pano .art-frame img { height: 100%; object-fit: cover; }

/* ---------- darkroom ---------- */
.darkroom-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; margin-top: clamp(72px, 8vw, 130px); }
.darkroom-grid .work-text { grid-column: 1 / span 5; }
.darkroom-grid .art { grid-column: 7 / -1; }
.sims-img { transition: opacity .12s ease; }
.sims.is-shutter .sims-img { opacity: .15; }
.sims-bar { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 10px; align-items: baseline; margin-top: 18px; }
.sims-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sims-chips button {
  padding: 7px 12px 6px; border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.sims-chips button:hover { border-color: var(--ink-3); color: var(--ink); }
.sims-chips button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.sims-desc { grid-column: 2; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.sims .art-cap { margin-top: 18px; }
.darkroom-note { margin-top: clamp(56px, 6vw, 90px); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.2; letter-spacing: -.015em; max-width: none; text-align: right; }
.filters { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- correspondence ---------- */
.letters { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: clamp(150px, 17vw, 260px); padding-bottom: clamp(100px, 11vw, 170px); }
.letters .art { grid-column: 1 / span 5; }
.letters-text { grid-column: 7 / -1; padding-bottom: 46px; }
.letters-pair { margin-top: 22px; max-width: 20em; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }
.letters-mail { margin-top: 26px; font-family: var(--serif); font-size: clamp(34px, 4.9vw, 84px); line-height: 1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.letters-mail a { background: linear-gradient(currentColor, currentColor) left 96% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.letters-mail a:hover { background-size: 0 1px; background-position: right 96%; }
.letters-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.elsewhere { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.elsewhere a { padding-bottom: 3px; border-bottom: 1px solid var(--rule); transition: border-color .4s ease; }
.elsewhere a:hover { border-color: var(--ink); }

/* ---------- colophon ---------- */
.colophon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: 30px; padding-bottom: 44px; border-top: 1px solid var(--rule); }
.colophon-epi { grid-column: 1 / span 6; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.colophon-epi span { margin-left: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.colophon-small { grid-column: 8 / -1; font-size: 12px; line-height: 1.55; color: var(--ink-3); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: #12100e; color: #ece6da; opacity: 0; transition: opacity .5s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-stage { position: absolute; inset: 64px var(--gutter) 72px; overflow: hidden; }
.lightbox-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; cursor: zoom-in; transition: scale .6s var(--ease); }
.lightbox.is-zoomed .lightbox-img { scale: 2.6; cursor: zoom-out; transition: scale .6s var(--ease), transform-origin .12s linear; }
.lightbox-close { position: absolute; top: 18px; right: var(--gutter); z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ece6da; padding: 8px 0; }
.lightbox-cap { position: absolute; left: var(--gutter); bottom: 26px; right: 30%; font-size: 12.5px; color: #a59d90; }
.lightbox-cap i { font-family: var(--serif); font-size: 1.08em; color: #ece6da; }
.lightbox-hint { position: absolute; right: var(--gutter); bottom: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6f685e; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .line > span { translate: 0 108%; animation: lift 1.5s var(--curtain) .25s forwards; }
  .line + .line > span { animation-delay: .38s; }
  .hero-intro, .hero-cap, .mast > * { animation: fade 1.4s ease .9s both; }
  .hero-clip { animation: unveil 1.8s var(--curtain) .15s backwards; }

  .reveal { opacity: 0; translate: 0 36px; transition: opacity 1.3s var(--ease), translate 1.3s var(--ease); }
  .reveal.is-in { opacity: 1; translate: 0 0; }
  .art.reveal, .study.reveal { opacity: 1; translate: none; }
  .art.reveal .art-frame, .study.reveal .art-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--curtain); }
  .art.reveal .art-frame img, .study.reveal .art-frame img { scale: 1.16; transition: scale 2.2s var(--ease); }
  .art.reveal.is-in .art-frame, .study.reveal.is-in .art-frame { clip-path: inset(0 0 0 0); }
  .art.reveal.is-in .art-frame img, .study.reveal.is-in .art-frame img { scale: 1; }
  .art.reveal .art-cap, .study.reveal .art-cap { opacity: 0; transition: opacity 1s ease .7s; }
  .art.reveal.is-in .art-cap, .study.reveal.is-in .art-cap { opacity: 1; }
  .art .art-frame img.drift, .art.reveal.is-in .art-frame img.drift { scale: 1.16; will-change: translate; }
}
@keyframes lift { to { translate: 0 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes unveil { from { clip-path: inset(100% var(--s, 56px) var(--b, 64px) var(--s, 56px)); } }

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; overflow: visible; }
  .hero-copy { position: relative; }
  .hero-fig { position: relative; margin-top: 40px; }
  .hero-clip { position: relative; clip-path: none; aspect-ratio: 2600 / 2066; }
  .hero-cap { position: static; margin: 14px var(--gutter) 0; }
  .hero-cap::after { content: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .mast-morse { display: none; }
  .hero-title { grid-column: 1 / -1; }
  .hero-intro { grid-column: 1 / span 8; margin-top: 22px; padding-bottom: 0; }
  .work--a .art { grid-column: 1 / span 7; }
  .work--a .work-text { grid-column: 8 / -1; }
  .work--b .art { grid-column: 6 / -1; }
  .work--b .work-text { grid-column: 1 / span 5; }
  .work--d .work-text { grid-column: 1 / span 5; }
  .work--d .art { grid-column: 7 / -1; }
}
@media (max-width: 1240px) {
  .mast-time { display: none; }
  .mast { grid-template-columns: 1fr auto; }
  .mast-nav { grid-column: 2; gap: 24px; }
}
@media (max-width: 900px) {
  .mast { padding-block: 14px; }
  .mast-nav { gap: 18px; }
  .mast-nav a:nth-child(-n+4) { display: none; }
  .hero { height: 260vh; }
  .hero-intro { grid-column: 1 / -1; font-size: 19px; }
  .hero-cap { flex-direction: column; gap: 4px; bottom: 16px; }
  .hero-cap::after { display: none; }
  .room-head .eyebrow { grid-column: 1 / -1; }
  .room-lede { grid-column: 1 / -1; margin-top: 10px; }
  .library-grid .art, .darkroom-grid .art { grid-column: 1 / -1; grid-row: 1; margin-inline: calc(-1 * var(--gutter)); }
  .library-grid .art-cap, .darkroom-grid .art-cap { padding-inline: var(--gutter); }
  .sims-bar { padding-inline: var(--gutter); grid-template-columns: 1fr; }
  .sims-desc { grid-column: 1; }
  .library-text, .darkroom-grid .work-text { grid-column: 1 / -1; grid-row: 2; margin-top: 44px; }
  .court-story, .court-note { grid-column: 1 / -1; }
  .darkroom-note { text-align: left; }
  .work { margin-top: 110px; }
  .work--a .art, .work--b .art, .work--d .art { grid-column: 1 / -1; grid-row: 1; margin-inline: calc(-1 * var(--gutter)); }
  .work .art-cap { padding-inline: var(--gutter); }
  .work--a .work-text, .work--b .work-text, .work--d .work-text { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; position: static; }
  .art--bleed .art-frame { height: 70vh; }
  .art--bleed .art-frame img { object-position: 62% 50%; }
  .work-text--wide > :first-child, .work-text--wide > :last-child { grid-column: 1 / -1; }
  .work-text--wide > :last-child { margin-top: 18px; }
  .salon { flex-wrap: wrap; row-gap: 64px; }
  .study { flex: 1 1 calc(50% - 22px); }
  .art--wide { padding-inline: 0; }
  .art--wide .art-cap { padding-inline: var(--gutter); }
  .day-text, .provenance { grid-column: 1 / -1; }
  .provenance { margin-top: 56px; }
  .letters .art { grid-column: 1 / span 10; }
  .letters-text { grid-column: 1 / -1; margin-top: 48px; padding-bottom: 0; }
  .colophon-epi, .colophon-small { grid-column: 1 / -1; }
  .colophon-small { margin-top: 20px; }
  .art-cap { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .hero-title { font-size: clamp(34px, 10.2vw, 46px); }
  .mast-name { font-size: 17px; }
  .mast-nav { gap: 16px; font-size: 13px; }
  .mast-nav a:not(:last-child) { display: none; }
  .study { flex-basis: 100%; }
  .salon { row-gap: 72px; }
  .provenance li { grid-template-columns: 70px 1fr; grid-template-areas: "yr org" "yr role"; }
  .provenance .place { display: none; }
  .letters .art { grid-column: 1 / -1; }
}
