:root {
  --image-mat: #0c0d0d;
  color-scheme: dark;
  --paper: #191a1a;
  --light: #f6f5f2;
  --muted: #b7b8b5;
  --rule: #454646;
  --gutter: clamp(22px, 5.3vw, 88px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--paper); color: var(--light); margin: 0; font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button { cursor: pointer; color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f6bb78; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; font-weight: 500; }
h2 { font-size: clamp(2.55rem, 4.8vw, 5.1rem); letter-spacing: -.055em; }
.skip, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { clip-path: none; width: auto; height: auto; left: 1rem; top: 1rem; background: black; z-index: 10; padding: .5em 1em; }
.wrap { padding-inline: var(--gutter); max-width: 1820px; margin: auto; }
.mast { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); background: linear-gradient(#0c0d0d99, transparent); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: white; }
.brand b { font-size: 2.05rem; font-weight: 700; letter-spacing: -.13em; line-height: 1; }
.brand b span { color: #d19a92; }
.brand-type { padding-left: 13px; border-left: 1px solid #ffffff70; font-size: .77rem; letter-spacing: .065em; line-height: 1.15; }
.menu-toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 14px; background: none; border: none; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.menu-toggle i { display: inline-block; width: 25px; height: 15px; border-block: 1.5px solid; position: relative; }
.menu-toggle i::after { content: ''; position:absolute; top: 5.2px; left:0; right:0; height:1.5px; background: currentColor; }
dialog { background: var(--paper); color: var(--light); border: 0; }
dialog::backdrop { background: #050707c4; }
.drawer { inset: 0 0 0 auto; margin: 0; width: min(440px, 90vw); max-width: 100vw; height: 100%; max-height: 100dvh; padding: 0; }
.drawer[open] { animation: reveal .23s ease-out; }
@keyframes reveal { from { transform: translateX(100%); } }
.drawer > div { min-height: 100%; display: flex; flex-direction: column; padding: 82px clamp(30px,4vw,70px) 40px; }
.close { background: #efeeea; color: #171818; border: none; font: 300 2.2rem/1 var(--sans); width: 56px; height: 56px; }
.drawer .close { position: absolute; top: 0; right: 0; }
.drawer nav { display: grid; }
.drawer nav a { text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.55rem; }
.drawer-email { margin-top: auto; padding-top: 30px; }
.hero { isolation: isolate; position: relative; min-height: 560px; height: 85svh; max-height: 1000px; display: grid; place-items: center; background: #292b2b; }
.slides, .slides::after, .slide, .project-hero > img, .project-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.slides { z-index: -1; }
.slides::after { content: ''; background: linear-gradient(0deg,#0b0d0ed9 0%,#10121449 24%,#10121455 70%,#10121444),linear-gradient(90deg,#11121318,#11121333,#11121318); }
.slide { object-fit: cover; opacity: 0; transition: opacity .65s; }
.slide.active { opacity: 1; }
.hero-type { text-align: center; padding: 50px var(--gutter); color: white; text-shadow: 0 2px 20px #05050599; }
.kicker, .card-cat { text-transform: uppercase; font-size: .8rem; font-weight: 500; letter-spacing: .17em; }
.hero-type .kicker { letter-spacing: .24em; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 6.5rem); text-transform: uppercase; font-weight: 500; letter-spacing: -.035em; margin: .23em 0 .16em; }
.subtitle { font-weight: 400; font-size: clamp(1rem,1.3vw,1.3rem); }
.outline { display: inline-flex; justify-content:center; align-items: center; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; min-height: 45px; padding: 12px 30px; border: 1px solid #ffffffdf; transition: background .18s, color .18s; }
.hero .outline { margin-top: 30px; background:#1011113b; }
.outline:hover, .hero .outline:hover { background: var(--light); color: #111; text-shadow: none; }
.hero-bottom { position:absolute; bottom: 0; left:var(--gutter); right:var(--gutter); padding: 18px 0 24px; border-top: 1px solid #ffffff65; display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.hero-credit { display: grid; text-decoration:none; color: white; }
.hero-credit strong { font-size: 1rem; font-weight: 500; }
.hero-credit small { color: #e0e0df; font-size: .86rem; }
.slide-controls { display:flex; }
.slide-tab { background: transparent; border: 0; padding: 15px 4px; }
.slide-tab span { display:block; width: 31px; height: 3px; background: #ffffff65; }
.slide-tab[aria-pressed="true"] span { background: white; }
.work, .about { padding-block: clamp(54px,7vw,110px); }
.section-line { display:flex; justify-content:space-between; align-items:baseline; gap: 20px; }
.textlink, .footlinks a, .colophon a, .drawer-email { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.filters { display:flex; flex-wrap:wrap; gap: 4px 24px; border-bottom: 1px solid var(--rule); margin: 28px 0 32px; }
.filters button { background: transparent; padding: 8px 0 12px; border:0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .95rem; }
.filters button[aria-pressed="true"] { border-color: var(--light); color: var(--light); }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap: 42px clamp(20px,2.6vw,42px); }
.card { display:block; text-decoration:none; }
[hidden] { display:none !important; }
.thumb {
  position: relative;
  aspect-ratio: 1.55;
  perspective: 1100px;
}
.tile-turn {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .6s ease-in-out;
}
.tile-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tile-front { background: #272929; }
.tile-front img { width: 100%; height: 100%; object-fit: cover; }
.tile-front .full-tower { object-fit: contain; }
.tile-back {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(12px, 1.5vw, 24px);
  padding: clamp(18px, 2.1vw, 36px);
  background: #252625;
  border: 1px solid var(--rule);
  transform: rotateX(-180deg);
}
.card .tile-back p {
  max-width: 21ch;
  margin: 0;
  color: var(--light);
  font-size: clamp(1.2rem, 1.7vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.tile-back span {
  font-size: .875rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.card:focus-visible .tile-turn { transform: rotateX(180deg); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .tile-turn { transform: rotateX(180deg); }
}
.card-copy { padding-top: 17px; }
.card-cat { font-size:.75rem; color:#bcbdbb; }
.card h3 { font-size:clamp(1.4rem,2vw,2.15rem); letter-spacing:-.035em; margin:5px 0; }
.card p { color:var(--muted); font-size:.95rem; }
.about { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,6vw,100px); align-items:center; border-top:1px solid var(--rule); }
.about-fig { display: grid; place-items: center; min-width: 0; margin: 0; }
.portrait-frame {
  --portrait-brass: #ccad85;
  position: relative;
  display: block;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  padding: clamp(10px, 1.4vw, 15px);
  border: 1px solid #56534f;
  border-radius: 50%;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: var(--portrait-brass);
  border-bottom-color: var(--portrait-brass);
  border-radius: inherit;
  transform: rotate(-31deg);
  pointer-events: none;
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #85817d;
}
@media (prefers-reduced-motion: no-preference) {
  .portrait-frame::after { transition: transform .45s ease; }
  .portrait-frame:is(:hover, :focus-visible)::after { transform: rotate(-15deg); }
}
@media (max-width: 640px) {
  .portrait-frame { width: min(80%, 20rem); }
}
.about-copy h2 { margin:15px 0 23px; max-width:10em; }
.about-copy p:not(.kicker), .overview p:not(.kicker) { color:#d4d5d3; margin-bottom:1em; }
.actions, .footlinks { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.actions { margin-top:26px; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; background:#111312; border-top:1px solid var(--rule); padding-block:50px 24px; }
.email { display:block; text-decoration:none; font-size:clamp(1.55rem,3.2vw,3.55rem); letter-spacing:-.04em; }
.footlinks { font-size:.9rem; }
.colophon { width:100%; display:flex; justify-content:space-between; border-top:1px solid var(--rule); padding-top:20px; color:var(--muted); font-size:.82rem; }
.project-hero { position:relative; isolation:isolate; min-height:430px; height:67svh; max-height:800px; display:flex; align-items:end; }
.project-hero > img { object-fit:cover; z-index:-2; }
.project-hero::after { content:''; background:linear-gradient(0deg,#0d0f10e6,#0d0f1077 31%,#0d0f1000 65%,#0d0f1066); z-index:-1; }
.project-name { padding:32px var(--gutter); }
.project-name > a { font-size:.9rem; text-underline-offset:4px; }
.project-name p { margin:20px 0 10px; }
.project-name h1 { font-size:clamp(2.6rem,5.8vw,6.5rem); letter-spacing:-.055em; }
.overview { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,6vw,120px); padding:clamp(45px,7vw,100px) 0; }
.overview h2 { margin-top:16px; font-size:clamp(2.05rem,3.7vw,3.8rem); }
.overview p.credit { font-size:.92rem; color:var(--muted); border-top:1px solid var(--rule); padding-top:14px; }
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.gallery figure:has(img[src*="-thumb.webp"]) { grid-column:1 / -1; }
.enlarge { display:block; position:relative; background:var(--image-mat); }
.enlarge img { width:100%; height:auto; max-height:70svh; object-fit:contain; }
.enlarge span { position:absolute; right:8px; bottom:8px; width:32px; height:32px; display:grid; place-items:center; background:#191a1ae0; color:white; }
figcaption { padding-top:8px; color:var(--muted); font-size:.95rem; }
.next-project { display:flex; justify-content:space-between; align-items:end; gap:24px; padding:45px 0; margin-top:45px; border-top:1px solid var(--rule); }
.next-project a { text-decoration:none; }
.next-project a:last-child { text-align:right; font-size:clamp(1.35rem,2.2vw,2.55rem); letter-spacing:-.035em; }
.next-project small { display:block; color:var(--muted); font-size:.8rem; letter-spacing:.05em; }
.viewer { width:min(96vw,1700px); max-width:100%; padding:0; }
.viewer[open] { display:grid; height:92dvh; grid-template-rows:auto minmax(0,1fr) auto; }
.viewer header, .viewer nav { display:flex; gap:12px; align-items:center; justify-content:space-between; padding:10px 16px; }
.viewer .close { width:42px; height:42px; flex:none; }
.view-box { background:var(--image-mat); display:grid; place-items:center; min-height:0; }
.view-box img { width:100%; height:100%; object-fit:contain; }
.viewer nav button { padding:8px 13px; border:1px solid var(--rule); background:none; }
@media(max-width:900px) { .cards {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:640px) {
 .hero { min-height:520px; height:86svh; }
 .hero h1 { font-size:clamp(2.6rem,10.7vw,4.3rem); line-height:.99; margin:18px auto; max-width:9.5em; }
 .mast { padding-block:17px; } .brand b {font-size:1.85rem;}
 .hero-bottom {padding:13px 0 18px;}
 .cards, .about, .overview, .gallery {grid-template-columns:1fr;}
 .cards {gap:30px;}
 .filters {gap:0 17px;} .filters button {font-size:.88rem;}
 .card h3 {font-size:1.65rem;} .project-hero {height:58svh; min-height:380px;}
 .hero .outline {margin-top:22px;} .next-project {align-items:center;}
}
/* Content is visible by default, including when JavaScript is unavailable. */
@media screen and (prefers-reduced-motion: no-preference) {
  .entrance {
    transition: opacity .5s ease-out, translate .5s cubic-bezier(.22,.65,.3,1);
  }
  .entrance.waiting {
    opacity: 0;
    translate: 0 18px;
  }
  .about-fig.entrance.waiting { translate: -18px 0; }
  .about-copy.entrance.waiting { translate: 18px 0; }
  .entrance:focus-within { opacity: 1; translate: none; transition: none; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after {scroll-behavior:auto !important; animation:none !important; transition:none !important;} }

/* Keep the full silhouettes of the portrait-format architectural renderings. */
@media (min-width: 820px) {
  .project-hero--portrait { background: #171919; }
  .project-hero--portrait > img { left: auto; right: 0; width: 50%; object-fit: contain; }
  .project-hero--portrait::after { background: none; }
  .project-hero--portrait .project-name { max-width: 50%; }
}
.viewer:has(#previous[hidden]) nav { justify-content: center; }

/* The framed exteriors have their own aspect ratio. The title sits outside the image. */
body:has(.project-opening) .mast { position: relative; background: #171919; }
.project-opening {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.65fr);
  align-items: center;
  background: #171919;
}
.project-opening > img { grid-column: 2; grid-row: 1; width: 100%; height: auto; }
.project-opening .project-name { grid-column: 1; grid-row: 1; padding-right: clamp(22px, 3vw, 48px); }
.project-opening h1 { font-size: clamp(2.45rem, 4.9vw, 6rem); }
@media (max-width: 800px) {
  .project-opening { display: block; }
  .project-opening .project-name { padding-block: 23px 30px; }
  .project-opening .project-name p { margin-top: 13px; }
}

.hero-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.hero-actions .outline { margin: 0; }
.hero-about { text-underline-offset: 5px; }
.card-copy .location { font-size: .86rem; }
.card-copy .card-summary { max-width: 48ch; margin-top: .6em; color: #dedfdb; line-height: 1.45; }
.about-copy { max-width: 65ch; }
.other-teaser { padding-block: clamp(42px, 6vw, 86px); border-top: 1px solid var(--rule); }
.teaser-grid { display: grid; grid-template-columns: minmax(0,1.446fr) minmax(0,2fr) minmax(0,.75fr); gap: clamp(16px, 2vw, 32px); margin-top: 30px; }
.teaser-grid a { text-decoration: none; }
.teaser-grid img { display: block; width: 100%; height: auto; object-fit: contain; background: var(--image-mat); }
.teaser-grid span { display: flex; justify-content: space-between; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
.teaser-grid i { font-style: normal; color: var(--muted); }
.teaser-grid a:hover span { border-color: var(--light); }
body:has(.art-page) .mast { position: relative; background: var(--paper); }
.art-heading { padding: clamp(35px, 5vw, 80px) 0; }
.art-heading h1 { font-size: clamp(4.1rem, 9vw, 10rem); letter-spacing: -.07em; margin: .18em 0 .22em; }
.art-heading p { max-width: 48ch; font-size: clamp(1.1rem, 1.65vw, 1.55rem); color: #d4d5d3; line-height: 1.4; }
.collection-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; border-block: 1px solid var(--rule); padding-block: 11px; }
.collection-nav a { text-underline-offset: 5px; padding: 5px 0; }
.collection-group { padding-block: clamp(46px,6vw,90px) 0; }
.collection-group + .collection-group { margin-top: clamp(40px,5vw,74px); border-top: 1px solid var(--rule); }
.collection-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; margin-bottom: clamp(22px,3vw,44px); }
.collection-intro p { max-width: 56ch; color: #d4d5d3; }
.art-gallery { gap: clamp(26px,3.8vw,60px) clamp(18px,2.8vw,44px); }
.art-gallery figure:has(img[src*="-thumb.webp"]) { grid-column: auto; }
.art-gallery figure { min-width: 0; }
.art-gallery .enlarge, .project-medium .enlarge {
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--image-mat);
}
.art-gallery .enlarge img, .project-medium .enlarge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72svh;
  object-fit: contain;
}
.art-gallery figcaption { max-width: 64ch; }
@media(max-width:750px) {
 .collection-intro { grid-template-columns: 1fr; gap: 14px; }
}
@media(max-width:640px) {
 .hero-actions .outline { margin: 0; }
 .teaser-grid { grid-template-columns: 1fr; }
 .teaser-grid a:last-child { max-width: min(100%, 390px); }
 .art-gallery .enlarge img { height: auto; aspect-ratio: auto; }
 .art-gallery { grid-template-columns: 1fr; }
 .art-page .next-project a { font-size: 1rem; }
}

/* Earlier portfolio studies */
body:has(.study-page) .mast { position: relative; background: var(--paper); }
.study-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(32px,4vw,64px) clamp(20px,2.8vw,44px); }
.study-card { color: inherit; display: block; text-decoration: none; }
.study-card-image { aspect-ratio: 4 / 3; background: var(--image-mat); overflow: hidden; }
.study-card-image img { object-fit: contain; height: 100%; width: 100%; }
.study-card-text { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.study-card-text .kicker { color: var(--muted); font-size: .82rem; }
.study-card-text h3 { margin-block: 7px; font-size: clamp(1.4rem,2vw,2.1rem); letter-spacing: -.03em; }
.study-card-text p:last-child { color: #d4d5d3; max-width: 42ch; }
.study-card:hover h3, .study-card:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.study-directory { border-block: 1px solid var(--rule); margin-top: 38px; padding: 14px 0; }
.study-directory summary { cursor: pointer; font-size: 1.05rem; }
.study-directory ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; padding: 6px 0 12px; list-style: none; }
.study-directory a,.plate-navigation a { text-underline-offset: 4px; }
.art-gallery.archive-plates { grid-template-columns: 1fr; max-width: 1200px; margin: auto; }
.archive-plates .enlarge img { aspect-ratio: auto; height: auto; }
.source-credit,.figure-project { display: block; margin-top: 4px; font-size: .9rem; }
.figure-project { width: fit-content; text-underline-offset: 4px; }
.spread-download { display: inline-block; margin-top: 25px; }
.study-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px,5vw,80px); padding-block: clamp(30px,5vw,78px); }
.study-title .kicker { margin-block: 35px 10px; color: var(--muted); }
.study-title h1 { font-size: clamp(2.7rem,5.4vw,6.25rem); letter-spacing: -.065em; }
.study-lead { font-size: clamp(1.05rem,1.6vw,1.4rem); color: #dadbd8; max-width: 44ch; margin-top: 20px; }
.study-cover img { width: 100%; height: clamp(280px,40vw,610px); object-fit: contain; background: var(--image-mat); }
.study-note { display: flex; gap: 28px; justify-content: space-between; align-items: start; border-block: 1px solid var(--rule); padding: 26px 0; }
.study-note p { max-width: 65ch; color: #d4d5d3; }
.study-note a { flex-shrink: 0; }
.study-plates,.project-medium { padding-top: clamp(35px,5vw,75px); }
.study-plates h2,.project-studies h2 { font-size: clamp(2rem,3.8vw,4.25rem); }
.study-plates h2,.project-medium h3 { margin-bottom: 26px; }
.project-studies > header { border-block-start: 1px solid var(--rule); padding-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.plate-navigation { display: flex; flex-wrap: wrap; gap: 8px 25px; }
.project-medium h3 { font-size: clamp(1.55rem,2.5vw,2.8rem); letter-spacing: -.035em; }
.project-medium { scroll-margin-top: 12px; }
@media(max-width:950px) { .study-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) {
 .study-grid,.study-intro { grid-template-columns: 1fr; }
 .study-directory ul { grid-template-columns: 1fr 1fr; }
 .study-cover img { height: auto; max-height: 60svh; }
 .study-note { flex-direction: column; gap: 16px; }
 .art-gallery.archive-plates { gap: 24px; }
}
.study-card-image .tile-front { background: var(--image-mat); }
.study-card-image .tile-front img { object-fit: contain; }
.study-card-image .tile-back strong { font-weight: 500; font-size: clamp(1.25rem,1.9vw,2rem); }
.study-card:focus-visible .tile-turn { transform: rotateX(180deg); }
@media (hover:hover) and (pointer:fine) {
 .study-card:hover .tile-turn { transform: rotateX(180deg); }
}
@media (prefers-reduced-motion:reduce) {
 .study-card:is(:hover,:focus-visible) .tile-turn { transform: none; }
}
.archive-plates { margin-bottom: 25px !important; }
.archive-individual { border-top: 1px solid var(--rule); }
.archive-individual summary { cursor: pointer; padding: 14px 0; font-size: 1.16rem; }
.archive-individual summary span,.archive-byline { color: var(--muted); font-size: .94rem; }
.archive-byline { margin: 2px 0 18px; }
.individual-plates { padding-bottom: 30px; }
@media (min-width:900px) {
 .art-gallery.archive-plates { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: none; }
 .individual-plates { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

.original-cover > img { object-fit: contain; }
.image-series { padding-top: clamp(22px, 4vw, 58px); }
.image-series + .image-series { border-top: 1px solid var(--rule); }
.image-series h3 { font-size: clamp(1.65rem, 2.8vw, 3.1rem); letter-spacing: -.035em; margin-bottom: 12px; }
.image-series .gallery { margin-top: 20px; }
.image-series .archive-byline { margin: 0; }
@media(min-width: 820px) {
  .original-cover > img { object-position: center; }
}
@media(max-width: 819px) {
  .original-cover { height: auto; min-height: 0; max-height: none; display: block; padding-top: 80px; background: var(--paper); }
  .original-cover > img { position: static; height: auto; max-height: 73svh; width: 100%; }
  .original-cover::after { display: none; }
  .original-cover .project-name { padding-top: 22px; }
}

/* Models and visualisations are browsed within their individual projects. */
.model-series > .textlink { display: inline-block; margin-top: 16px; }
.model-series .gallery { padding-bottom: 0; }
.model-feature { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  #models { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(24px,4vw,56px); }
  #models > .collection-intro, #models > .model-series:first-of-type { grid-column: 1 / -1; }
  #models > .model-series:first-of-type { padding-top: 0; margin-bottom: 32px; }
}

/* Hide narrow paper strips from the original scans without cutting into the artwork. */
img[style*="--print-trim"] { object-view-box: inset(var(--print-trim)); }

.study-card-image .tile-front .waterfront-tile { object-fit: cover; object-position: 49% center; }
.waterfront-cover img { height: auto; }

.portfolio-pages {
  border-top: 1px solid var(--rule);
  padding-block: clamp(28px, 4vw, 64px) clamp(40px, 6vw, 88px);
  scroll-margin-top: 16px;
}
.portfolio-pages > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
}
.portfolio-pages h2 { font-size: clamp(2rem, 3.8vw, 4.25rem); }
.portfolio-pages h3 { font-size: clamp(1.2rem, 1.8vw, 1.65rem); margin: 30px 0 18px; }
.sheets-count, .sheet-number { color: var(--muted); font-variant-numeric: tabular-nums; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 42px); }
.sheet-grid figure { min-width: 0; }
.sheet-grid .enlarge img { width: 100%; height: auto; max-height: none; }
.sheet-grid .enlarge span { width: 28px; height: 28px; }
.sheet-grid figcaption { color: var(--light); font-size: 1rem; line-height: 1.35; padding-top: 10px; }
.sheet-number { margin-right: .5em; }
.sheets-download { display: inline-block; margin-top: 24px; }
.study-page .portfolio-pages { margin-top: clamp(36px, 5vw, 76px); }
@media (max-width: 700px) {
  .sheet-grid { grid-template-columns: 1fr; }
  .portfolio-pages > header { margin-bottom: 20px; }
}
