@font-face{font-family:Cormorant;src:url('assets/fonts/cormorant.ttf') format('truetype');font-weight:300 700;font-display:swap}
@font-face{font-family:Autography;src:url('assets/fonts/autography.otf') format('opentype');font-display:swap}
@font-face{font-family:Bodoni;src:url('assets/fonts/bodoni.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:Bodoni;src:url('assets/fonts/bodoni-italic.woff2') format('woff2');font-style:italic;font-weight:400 900;font-display:swap}
:root{--paper:#faf2e7;--ink:#23170f;--brown:#49321c;--gold:#a87529;--line:#887362;--soft-line:#d3c5b4;--serif:Cormorant,'Baskerville','Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--serif);background:var(--paper);background-image:radial-gradient(ellipse at 15% 30%,#fff8efaa,transparent 52%),radial-gradient(ellipse at 90% 85%,#e9d7bc33,transparent 48%);min-height:100svh}body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23997645' opacity='.25' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{background:none;border:0}img{display:block;max-width:100%;height:auto}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:6px}button:disabled{cursor:default}h1,h2,h3,p{margin:0}::selection{background:#cdb48d;color:#21170d}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:12px;transform:translateY(-160%);background:var(--paper);padding:12px;z-index:50}.skip-link:focus{transform:none}
.site-header{width:95%;max-width:1800px;margin:auto;display:grid;grid-template-columns:145px 1fr 145px;gap:28px;align-items:center;height:105px}.monogram{width:136px;align-self:start;mix-blend-mode:multiply}.monogram img{width:100%;height:94px;object-fit:contain}.header-line{display:flex;align-items:center;justify-content:center;gap:34px;min-width:0}.header-line:before,.header-line:after{content:'';height:1px;background:var(--line);flex:1}.header-line span{text-transform:uppercase;letter-spacing:.48em;padding-left:.48em;font-size:21px;font-weight:500}.site-header nav{justify-self:center}.nav-link{position:relative;text-transform:uppercase;letter-spacing:.11em;font-size:20px;white-space:nowrap;padding:12px 0;display:block}.nav-link:after{content:'';height:1px;position:absolute;bottom:8px;left:0;width:0;background:var(--ink);transition:width .25s}.nav-link:hover:after{width:100%}
.home-main{max-width:1590px;width:88.5%;margin:0 auto}.hero{display:grid;grid-template-columns:40% 60%;min-height:365px;align-items:center;padding-top:3px;padding-bottom:15px}.hero-copy{position:relative;border-left:2px solid var(--gold);padding-left:37px;margin-top:18px}.hero h1{font-family:var(--serif);font-size:clamp(48px,4.6vw,77px);line-height:.95;font-style:normal;font-weight:400;letter-spacing:-.04em;text-transform:uppercase}.ampersand{font-family:Autography,cursive;text-transform:none;font-weight:400;font-size:1.3em;display:inline-block;line-height:.2;position:relative;top:8px;left:6px}.little-rule{display:block;width:49px;height:2px;background:var(--gold);margin-top:20px;margin-bottom:12px}.tagline{font-size:clamp(18px,1.5vw,25px);line-height:1.15;font-style:italic;letter-spacing:.005em}.closing-rule{margin-top:15px;margin-bottom:-12px}.featured-project{position:relative;margin:8px 11% 8px 0;perspective:1400px;isolation:isolate;min-width:0}.featured-frame{display:block;position:relative;width:100%;padding:9px;border:1px solid #d2ad75;border-radius:4px;background:linear-gradient(130deg,#e1bc85,#fff0d2 15%,#f2dbac 45%,#d9b882 80%,#f3dcaf);box-shadow:0 17px 25px -12px #5c3b2e66,0 2px 4px #875c2522;transform:rotateY(-3deg) rotateZ(.8deg);transition:transform .55s cubic-bezier(.2,.8,.2,1);z-index:3;overflow:hidden}.featured-frame:hover{transform:rotateY(0) rotateZ(0) translateY(-3px)}.featured-frame .feature-image-wrap > img{width:100%;aspect-ratio:1.82;object-fit:cover;transition:opacity .18s}.back-page{position:absolute;overflow:hidden;background:#eed6b1;border:1px solid #c6a47c;border-radius:3px;box-shadow:0 8px 13px #4e352227;z-index:1}.back-page img{width:100%;height:100%;object-fit:cover}.back-page-one{width:75%;height:90%;left:17%;top:-7px;transform:rotate(-4deg)}.back-page-two{right:-15%;width:28%;height:92%;top:6%;transform:rotate(9deg);z-index:2}.back-page-two img{object-position:80% center}.featured-project.changing .featured-frame .feature-image-wrap > img{opacity:.3}
.project-dialog{border:1px solid #cbb48e;background:var(--paper);color:var(--ink);padding:0;width:min(900px,90vw);max-height:90svh;box-shadow:0 25px 100px #1b110f55;overflow:auto}.project-dialog::backdrop{background:#21170fc0;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:12px;width:40px;height:40px;border-radius:50%;background:var(--paper);font:30px Georgia,serif;z-index:2}.dialog-visual img{width:100%;max-height:450px;object-fit:cover}.dialog-content{padding:30px 40px}.eyebrow{text-transform:uppercase;letter-spacing:.35em;font-size:16px}.dialog-content h2{font-size:53px;font-weight:400;line-height:1.1;margin-top:10px}.dialog-subtitle{font-size:24px;font-style:italic;margin:5px 0 18px}.dialog-content>p:not(.eyebrow):not(.dialog-subtitle){font-size:20px;line-height:1.4}.project-tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:22px 0}.project-tags li{border:1px solid var(--soft-line);padding:4px 10px;font-size:16px}.text-link{display:inline-flex;gap:30px;border-bottom:1px solid var(--ink);padding:10px 0;font-size:21px}.text-link:hover{color:var(--gold)}body:has(dialog[open]){overflow:hidden}

.title-first-line { white-space: nowrap; }
.ampersand { font-family: 'Snell Roundhand', Autography, cursive; font-size: 1.15em; left: 0; top: 3px; letter-spacing: -.07em; }
.monogram { mix-blend-mode: normal; }

/* Exhibition proportions follow the reference, with independent captions. */
.exhibition { padding-top: 12px; container-type: inline-size; }
.section-divider { display: flex; align-items: center; gap: 28px; margin: 0 0 20px; }
.section-divider > span, .footer-line { flex: 1; height: 1px; background: var(--line); }
.section-divider h2 { text-align: center; line-height: 1.3; font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; white-space: nowrap; padding-left: .3em; }
.carousel-stage { position: relative; height: calc(16.467cqw + 90px); touch-action: pan-y; }
.project-slide { position: absolute; left: 50%; top: 0; width: 30.3%; margin: 0; padding: 0; transform: translateX(-50%); text-align: center; transition: left .55s ease, top .55s ease, width .55s ease, opacity .35s ease; z-index: 1; }
.slide-image { display: block; position: relative; transform-origin: 0 0; box-shadow: 0 10px 17px -12px #5c362b88; border-radius: 3px; }
.slide-image img { width: 100%; aspect-ratio: 1.84; object-fit: cover; border-radius: 3px; }
.slide-title { display: block; margin-top: 11px; font-size: 23px; font-weight: 500; line-height: 1.15; overflow-wrap: anywhere; }
.slide-subtitle { display: block; margin: 3px auto 0; padding: 0 3px; font-size: 16px; font-style: italic; line-height: 1.22; white-space: normal; text-wrap: balance; }
.project-slide[data-position='0'] { z-index: 5; }
.project-slide[data-position='0'] .slide-image { outline: 3px solid #e5c895; outline-offset: 2px; }
.project-slide[data-position='-1'] { left: 24.25%; top: 1.15cqw; width: 18.65%; z-index: 3; }
.project-slide[data-position='1'] { left: 76.75%; top: 1.15cqw; width: 21.1%; z-index: 3; }
.project-slide[data-position='-1'] img { aspect-ratio: 1.27; }
.project-slide[data-position='1'] img { aspect-ratio: 1.44; }
.project-slide[data-position='-2'] { left: 6.925%; top: 2.84cqw; width: 13.85%; z-index: 2; }
.project-slide[data-position='2'] { left: 93.075%; top: 2.84cqw; width: 13.85%; z-index: 2; }
.project-slide[data-position='-2'] img, .project-slide[data-position='2'] img { aspect-ratio: 1.057; }
.project-slide:not([data-position='0']) .slide-title { font-size: 19px; }
.project-slide:not([data-position='0']) .slide-subtitle { font-size: 14px; }
.project-slide[data-position='-2'] .slide-title, .project-slide[data-position='2'] .slide-title { font-size: 17px; }
.project-slide[data-position='-2'] .slide-subtitle, .project-slide[data-position='2'] .slide-subtitle { font-size: 13px; }
.project-slide:hover .slide-image { box-shadow: 0 10px 20px -7px #5c362b55; }
.carousel-endpaper { position: absolute; left: 88.2%; top: 2.84cqw; width: 11.6%; transform-origin: 0 0; border: 1px solid #c5a47b; border-radius: 3px; }
.carousel-endpaper img { width: 100%; aspect-ratio: .88; object-fit: cover; border-radius: 3px; }
.carousel-footer { display: flex; align-items: center; gap: 4.5cqw; margin: 10px 2% 18px; }
.carousel-controls { display: flex; align-items: center; gap: 25px; }
.arrow-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #6b5747; border-radius: 50%; font: 23px/1 Georgia, serif; transition: background .2s; }
.arrow-button:hover { background: #e9d9c0; }
.project-counter { min-width: 62px; text-align: center; font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: .05em; font-variant-numeric: lining-nums tabular-nums; }

/* Shared scale, with room to scroll through the longer biography. */
.home-main, .about-main { width: 88.5%; max-width: min(1440px, 142svh); margin: 0 auto; }
.site-header { height: 78px; max-width: 1600px; }
.monogram { width: 110px; }
.monogram img { height: 76px; }
.header-line span { font-size: 19px; }
.nav-link { font-size: 18px; }
.hero { min-height: 0; height: min(29svh, 280px); padding: 0; }
.hero-copy { margin: 0; padding-left: 28px; }
.hero h1 { font-size: clamp(42px, min(4.4vw, 6.8svh), 73px); }
.tagline { font-size: clamp(17px, min(1.44vw, 2.5svh), 23px); }
.hero .little-rule { margin-top: 13px; margin-bottom: 9px; }
.hero .closing-rule { margin-top: 10px; margin-bottom: -4px; }
.featured-project { width: min(86%, calc((min(29svh, 280px) - 24px) * 1.82)); margin: 0 auto; }

.about-main { position: relative; isolation: isolate; }
.about-intro { display: grid; grid-template-columns: 45% 55%; align-items: center; min-height: 305px; padding: 25px 0 28px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.about-artwork { margin: 0 12px 0 -28px; position: relative; }
.about-artwork img { width: 100%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 10%, 16% 10%); }
.about-landscape { position: absolute; width: 25%; right: -3%; top: 5px; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 100%, 52% 100%, 52% 56%, 0 56%); pointer-events: none; }
.about-intro-copy { padding: 0 36px 0 12px; }
.about-eyebrow { font-size: 15px; letter-spacing: .45em; text-align: center; margin-bottom: 20px; }
.about-intro h1 { font-size: clamp(42px, 4.1vw, 67px); line-height: .95; font-style: italic; font-weight: 400; letter-spacing: -.04em; text-align: center; margin-bottom: 22px; }
.about-et { font-family: 'Snell Roundhand', Autography, cursive; font-size: 1.1em; margin-right: 8px; }
.biography { font-size: 18px; line-height: 1.32; font-weight: 500; }
.about-intro .little-rule { width: 45px; background: var(--ink); margin-top: 17px; margin-bottom: 0; }
.about-details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 0; padding-top: 32px; position: relative; }
.detail-column { min-width: 0; padding: 0 26px; }
.education { grid-column: 1 / 5; padding-left: 0; border-right: 1px solid var(--soft-line); }
.experience { grid-column: 5 / 9; border-right: 1px solid var(--soft-line); }
.featured-work { grid-column: 9 / 13; padding-right: 0; }
.skills { grid-column: 1 / 9; border-top: 1px solid var(--soft-line); padding: 27px 35px 0 0; }
.contact-column { grid-column: 9 / 13; padding: 22px 0 0 27px; border-left: 1px solid var(--soft-line); border-top: 1px solid var(--soft-line); }
.detail-column h2, .detail-column h3 { display: flex; align-items: center; gap: 12px; font-style: italic; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.detail-column h2 { font-size: 27px; margin-bottom: 24px; }
.detail-column h3 { font-size: 24px; margin-bottom: 13px; }
.icon { width: 27px; height: 27px; flex-shrink: 0; color: var(--brown); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.timeline { list-style: none; border-left: 1px solid var(--ink); padding: 0 0 0 23px; margin: 0 0 0 8px; font-size: 17px; line-height: 1.3; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:before { content: ''; position: absolute; left: -28px; top: 5px; width: 8px; height: 8px; border: 1.4px solid var(--ink); border-radius: 50%; background: var(--paper); }
.timeline strong, .timeline em, .date { display: block; }
.timeline strong { font-weight: 700; }
.timeline em { margin-top: 4px; font-weight: 500; }
.date { margin-bottom: 4px; font-size: 15px; }
.column-subsection { border-top: 1px solid var(--soft-line); margin-top: 24px; padding-top: 20px; }
.column-subsection p, .strengths { font-size: 17px; line-height: 1.45; }
.strengths { margin: 0; padding-left: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
/* The project and CV cards share the same restrained ivory frames. */
.mini-project {
  --card-ink: #47351f;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #cab897;
  border-radius: 2px;
  background: linear-gradient(135deg, #fffaf1, #f3e7d3);
  box-shadow: 0 3px 6px #513b1710, 0 12px 22px -18px #513b1755;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}
.mini-project:before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #c7b58e55;
  pointer-events: none;
  z-index: -1;
}
.mini-project[data-project='specimen'] { --card-ink: #2d4937; }
.mini-project[data-project='argelune'] { --card-ink: #79602e; }
.mini-project[data-project='arte'] { --card-ink: #544134; }
.mini-project[data-project='bandits'] { --card-ink: #6b4d31; }
.mini-project .project-print {
  display: block;
  position: relative;
  padding: 4px;
  margin: 10px 10px 0;
  border: 1px solid #bba680;
  background: #e5d4b5;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #fff8e9, 0 2px 5px #3f2c1820;
}
.project-print:after { content: ''; position: absolute; inset: 4px; border: 1px solid #241a1130; pointer-events: none; }
.project-print img { width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform .4s ease; }
.mini-project .project-card-caption { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 5px 7px; padding: 12px 13px 15px; flex: 1; }
.mini-project strong { color: var(--card-ink); font-size: 23px; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.mini-project em { grid-column: 1 / -1; align-self: start; font-size: 15px; line-height: 1.25; color: #63503e; text-wrap: balance; }
.mini-project:hover, .mini-project:focus-visible { transform: translateY(-4px); border-color: #9a7b49; box-shadow: 0 7px 15px #513b1718, 0 18px 25px -15px #513b1738; }
.mini-project:hover .project-print img { transform: scale(1.035); }
.mini-project:hover .project-card-arrow, .mini-project:focus-visible .project-card-arrow { color: #fff8e9; background: var(--card-ink); border-color: var(--card-ink); }
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 0; }
.skill-grid > div { display: flex; align-items: center; flex-direction: column; gap: 10px; text-align: center; font-size: 17px; line-height: 1.25; padding: 0 12px; border-right: 1px solid var(--soft-line); }
.skill-grid > div:nth-child(3n) { border: 0; }
.skill-grid .icon { width: 32px; height: 32px; }
.tool-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 24px 16px; border-top: 1px solid var(--soft-line); padding: 24px 15px 0; margin-top: 27px; color: #493113; }
.cv-link { display: block; width: min(100%, 285px); margin: 0 auto 24px; transition: transform .2s; }
.cv-link img { width: 100%; }
.cv-link:hover { transform: translateY(-3px); }
.contact-block { border-top: 1px solid var(--line); padding-top: 22px; }
.contact-block h2 { margin-bottom: 19px; }
.contact-block address { display: grid; gap: 14px; font-size: 16px; line-height: 1.3; font-style: normal; }
.contact-block address > a, .contact-block address > span { display: flex; align-items: center; gap: 12px; min-width: 0; }
.contact-block address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-block address a > span:last-child { overflow-wrap: anywhere; }
.contact-block address .icon { width: 22px; height: 22px; }
.linkedin-icon { font: bold 22px Arial; width: 22px; flex-shrink: 0; color: var(--brown); }
.about-footer { position: relative; display: flex; align-items: center; gap: 20px; min-height: 120px; padding: 24px 0; margin-top: 35px; }
.about-footer > span { height: 1px; background: var(--line); flex: 1; margin-left: 24%; }
.about-footer a { font-size: 17px; font-style: italic; white-space: nowrap; }
.about-footer:before, .about-footer:after { content: ''; position: absolute; pointer-events: none; z-index: -1; background-repeat: no-repeat; background-size: contain; }
.about-footer:before { bottom: 0; left: -7%; width: 350px; height: 219px; background-image: url('assets/forest-left-exact.webp'); clip-path: polygon(0 0,24% 0,24% 70%,100% 86%,100% 100%,0 100%); }
.about-footer:after { right: -6%; bottom: 0; width: 230px; height: 151px; background-image: url('assets/forest-right-exact.webp'); clip-path: polygon(82% 0,100% 0,100% 100%,0 100%,0 68%,82% 38%); }

@media (min-width: 1600px) {
  .site-header { height: 92px; }
  .hero { height: min(29svh, 280px); }
  .featured-project { width: min(86%, calc((min(29svh, 280px) - 24px) * 1.82)); }
  .about-intro { min-height: 330px; }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .hero-copy { padding-left: 20px; }
  .hero h1 { font-size: 4.7vw; }
  .hero .tagline { font-size: 18px; }
  .home-main, .about-main { width: 91%; }
  .about-intro { grid-template-columns: 44% 56%; }
  .about-intro-copy { padding-right: 15px; }
  .about-intro h1 { font-size: 43px; }
  .biography { font-size: 17px; }
  .detail-column { padding-left: 19px; padding-right: 19px; }
  .detail-column h2 { font-size: 24px; }
  .education, .skills { padding-left: 0; }
  .featured-work, .contact-column { padding-right: 0; }
}
@media (max-width: 800px) {
  .site-header { width: 93%; height: 82px; grid-template-columns: 85px 1fr 90px; gap: 15px; }
  .monogram { width: 86px; }
  .monogram img { height: 72px; }
  .header-line { gap: 15px; }
  .header-line span { font-size: 15px; letter-spacing: .28em; }
  .nav-link { font-size: 15px; letter-spacing: .06em; }
  .home-main, .about-main { width: 89%; max-width: 650px; }
  .hero { height: auto; grid-template-columns: 1fr; gap: 33px; padding: 17px 0 25px; }
  .hero-copy { margin: 0 auto; width: min(100%, 430px); padding-left: 24px; }
  .hero h1 { font-size: clamp(43px, 9.5vw, 68px); }
  .tagline { font-size: 20px; }
  .featured-project { width: 87%; max-width: 540px; margin: 0 auto 0 2%; }
  .featured-frame { padding: 7px; }
  .section-divider { gap: 13px; margin-bottom: 20px; }
  .section-divider h2 { font-size: 16px; letter-spacing: .18em; }
  .carousel-stage { height: calc(35.164cqw + 104px); }
  .project-slide[data-position='0'] { width: 64%; }
  .project-slide[data-position='-1'] { left: 2%; top: 22px; width: 28%; }
  .project-slide[data-position='1'] { left: 98%; top: 22px; width: 28%; }
  .project-slide:not([data-position='0']) .slide-title, .project-slide:not([data-position='0']) .slide-subtitle { visibility: hidden; }
  .project-slide[data-position='-2'], .project-slide[data-position='2'] { opacity: 0; visibility: hidden; pointer-events: none; }
  .carousel-endpaper { display: none; }
  .carousel-footer { gap: 18px; margin-top: 18px; }
  .carousel-controls { gap: 18px; }
  .about-intro { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 25px; gap: 24px; }
  .about-artwork { width: 100%; margin: 0; }
  .about-landscape { width: 35%; top: auto; bottom: 0; right: -6%; opacity: .65; }
  .about-intro-copy { padding: 0 12px; }
  .about-intro h1 { font-size: clamp(44px, 8vw, 61px); }
  .about-eyebrow { font-size: 14px; }
  .biography { font-size: 19px; }
  .about-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; padding-top: 27px; }
  .education { grid-column: 1; padding: 0 22px 0 0; }
  .experience { grid-column: 2; border: 0; padding: 0 0 0 22px; }
  .featured-work { grid-column: 1 / -1; border-top: 1px solid var(--soft-line); padding: 25px 0 0; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mini-project strong { font-size: 24px; }
  .mini-project em { font-size: 16px; }
  .skills { grid-column: 1 / -1; padding: 25px 0 0; }
  .contact-column { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 25px; border-left: 0; padding: 25px 0 0; }
  .contact-block { border: 0; padding-top: 0; }
  .cv-link { margin: 0; }
  .about-footer { margin-top: 20px; }
}
@media (max-width: 480px) {
  .site-header { height: 76px; grid-template-columns: 65px 1fr 76px; gap: 10px; }
  .monogram { width: 70px; }
  .monogram img { height: 64px; }
  .header-line { gap: 8px; }
  .header-line span { font-size: 13px; letter-spacing: .2em; }
  .nav-link { font-size: 13px; }
  
  .hero-copy { padding-left: 19px; }
  .hero h1 { font-size: clamp(39px, 10.3vw, 50px); line-height: .95; }
  .tagline { font-size: 18.5px; }
  .section-divider h2 { font-size: 13px; letter-spacing: .15em; }
  .section-divider { gap: 9px; }
  .slide-title { font-size: 23px; }
  .slide-subtitle { font-size: 16px; }
  .carousel-stage { overflow: clip; overflow-clip-margin: 15px; }
  .carousel-controls { gap: 14px; }
  .carousel-footer { margin-bottom: 22px; gap: 12px; }
  .arrow-button { width: 39px; height: 39px; }
  .project-counter { font-size: 16px; min-width: 58px; }
  .about-intro-copy { padding: 0 3px; }
  .about-intro h1 { font-size: clamp(37px, 10.3vw, 47px); }
  .about-eyebrow { font-size: 12px; letter-spacing: .3em; }
  .biography { font-size: 18px; }
  .about-details { grid-template-columns: 1fr; gap: 27px; }
  .education, .experience, .featured-work, .skills, .contact-column { grid-column: 1; padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--soft-line); }
  .detail-column h2 { font-size: 28px; margin-bottom: 23px; }
  .detail-column h3 { font-size: 24px; }
  .timeline, .column-subsection p, .strengths { font-size: 18px; }
  .project-grid { gap: 17px 12px; }
  .mini-project strong { font-size: 21px; }
  .mini-project em { font-size: 14px; }
  .skill-grid { gap: 25px 0; }
  .skill-grid > div { font-size: 15px; padding: 0 5px; }
  .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-column { display: flex; flex-direction: column; gap: 25px; border-bottom: 0; }
  .cv-link { align-self: center; width: 270px; }
  .contact-block { width: 100%; }
  .contact-block address { font-size: 17px; }
  .about-footer:before { width: 210px; height: 131px; }
  .about-footer:after { width: 150px; height: 98px; }
  .about-footer > span { margin-left: 15%; }
  .dialog-content { padding: 23px; }
  .dialog-content h2 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

.about-landscape { mask-image: linear-gradient(to right, transparent, #000 9%, #000 94%, transparent); }
@media (max-width: 480px) {
  .about-artwork-visual { width: min(100%, 310px); aspect-ratio: 1.38; overflow: hidden; margin: 0 auto; }
  .about-artwork-visual img { width: 162%; max-width: none; }
  .artwork-caption { position: static; clip: auto; height: auto; width: auto; margin: 18px 0 0; white-space: normal; overflow: visible; text-align: center; font-size: 19px; font-style: italic; line-height: 1.35; }
}

/* The drawing occupies the outer margin, leaving all body text unobstructed. */
@media (min-width: 1101px) {
  .about-landscape { width: 230px; right: -170px; top: 20px; }
  .about-intro-copy { padding-right: 65px; }
  .about-intro h1 { font-size: clamp(42px, 3.8vw, 64px); }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .about-landscape { width: 150px; right: -60px; top: 25px; }
  .about-intro-copy { padding-right: 100px; }
}
.about-landscape { mask-image: linear-gradient(to right, transparent, #000 22%, #000 90%, transparent), linear-gradient(to bottom, #000 85%, transparent); mask-composite: intersect; }

.about-footer:before { background-image: url('assets/forest-left-cutout.png'); clip-path: none; }
.about-footer:after { background-image: url('assets/forest-right-cutout.png'); clip-path: none; }
.about-footer { padding-bottom: 95px; }
.about-landscape, .about-artwork img { clip-path: none; mask-image: none; }

.about-intro h1 { font-size: clamp(43px, 4.1vw, 67px); }
.about-et { font-family: Autography, cursive; font-size: 1.15em; margin-right: 15px; }
@media (min-width: 1101px) {
  .about-landscape { width: 210px; right: -185px; top: 22px; }
  .about-intro-copy { padding-right: 30px; }
}
@media (max-width: 800px) { .about-intro h1 { font-size: clamp(43px, 8vw, 61px); } }
@media (max-width: 480px) { .about-intro h1 { font-size: clamp(37px, 10.3vw, 47px); } }

.timeline li > p { margin-top: 5px; font-size: 16px; line-height: 1.35; }
.featured-work .strengths { font-size: 16px; }
@media (max-width: 480px) { .timeline li > p { font-size: 17px; } }

body { overflow-x: clip; }
@media (min-width: 801px) {
  .about-landscape { right: calc((100% - 100vw) / 2 + 18px); }
}
@media (min-width: 1101px) { .about-landscape { width: 225px; } }

/* The biography reads vertically, then opens into three distinct columns. */
@media (min-width: 801px) {
  .education, .experience { grid-column: 1 / -1; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--soft-line); }
  .education { display: grid; grid-template-columns: 2fr 1fr; column-gap: 40px; }
  .education > h2, .education > .timeline { grid-column: 1 / -1; }
  .education > .timeline { display: grid; grid-template-columns: 1.2fr 1fr .85fr; gap: 35px; border: 0; margin: 0; padding: 0; }
  .education > .timeline > li, .experience > .timeline > li { padding: 0 0 0 20px; border-left: 1px solid var(--ink); }
  .education > .timeline > li:before, .experience > .timeline > li:before { left: -5px; }
  .experience > .timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; border: 0; margin: 0; padding: 0; }
  .featured-work { grid-column: 1 / 6; padding: 0 26px 0 0; border: 0; border-right: 1px solid var(--soft-line); }
  .skills { grid-column: 6 / 10; padding: 0 23px; border: 0; border-right: 1px solid var(--soft-line); }
  .contact-column { grid-column: 10 / 13; padding: 0 0 0 22px; border: 0; display: block; }
  .detail-column h2 { font-size: 25px; }
  .skills h2 { font-size: 24px; gap: 9px; }
  .skill-grid > div { font-size: 14px; padding: 0 5px; }
  .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
  .contact-block address { font-size: 15px; }
  .cv-link { margin: -6px auto 22px; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .featured-work { grid-column: 1 / 7; }
  .skills { grid-column: 7 / 13; border-right: 0; padding-right: 0; }
  .contact-column { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 25px 0 0; border-top: 1px solid var(--soft-line); }
}
@media (max-width: 800px) {
  .education, .experience { grid-column: 1 / -1; padding: 0 0 27px; border: 0; border-bottom: 1px solid var(--soft-line); }
  .project-slide[data-position='0'] img { aspect-ratio: 1.84; }
  .project-slide[data-position='-1'] img, .project-slide[data-position='1'] img { aspect-ratio: 1.35; }
}

.language-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.language-list li { display: flex; align-items: center; gap: 11px; font-size: 17px; line-height: 1.3; }
.language-flag { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 24px; line-height: 1; }
.language-level { margin-left: auto; font-size: 15px; letter-spacing: .06em; color: var(--brown); }

/* Give the introduction space without ornamental rules. */
.hero-copy { border-left: 0; }
.hero-copy .tagline { margin-top: 22px; }
@media (max-width: 480px) { .hero-copy .tagline { margin-top: 18px; } }

@media (max-width: 480px) {
  .mini-project .project-print { margin: 8px 8px 0; padding: 3px; }
  .mini-project .project-card-caption { padding: 10px 10px 13px; grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .mini-project strong { font-size: 21px; }
  .mini-project em { font-size: 14px; }
}

.timeline li > .experience-establishments { margin-top: 6px; font-size: 15px; font-style: italic; line-height: 1.35; color: #68533e; }
@media (max-width: 480px) { .timeline li > .experience-establishments { font-size: 16px; } }



/* Local brand SVGs retain their original paths and use a single brown ink. */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: stretch;
  gap: 20px 9px;
  list-style: none;
  border-top: 1px solid var(--soft-line);
  padding: 24px 0 0;
  margin: 27px 0 0;
  color: #493113;
}
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; text-align: center; }
.tool-item img { display: block; width: 36px; height: 36px; object-fit: contain; }
.tool-item span { font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.2; }

.cv-link.cv-download-card {
  display: block;
  position: relative;
  width: min(100%, 270px);
  margin: 0 auto 25px;
  border: 1px solid #cab897;
  border-radius: 2px;
  background: linear-gradient(135deg, #fffaf1, #f3e7d3);
  box-shadow: 0 3px 6px #513b1710, 0 12px 22px -18px #513b1755;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cv-download-card:before { content: ''; position: absolute; inset: 4px; border: 1px solid #c7b58e55; pointer-events: none; z-index: -1; }
.cv-card-print { display: block; margin: 10px 10px 0; padding: 4px; border: 1px solid #bba680; background: #e5d4b5; box-shadow: inset 0 0 0 2px #fff8e9, 0 2px 5px #3f2c1820; }
.cv-card-photo { display: block; position: relative; aspect-ratio: 1 / 1.03; overflow: hidden; background: #d8d0c2; }
.cv-card-photo img { position: absolute; width: 345%; max-width: none; height: auto; top: 0; left: 0; filter: saturate(.65) contrast(.97); }
.cv-card-caption { display: grid; grid-template-columns: minmax(0, 1fr) 27px; align-items: center; gap: 5px 7px; padding: 12px 13px 15px; }
.cv-card-caption strong { font-family: var(--serif); color: #47351f; font-size: 26px; font-weight: 600; line-height: 1.1; }
.cv-card-caption em { grid-column: 1 / -1; font-size: 15px; line-height: 1.25; color: #63503e; }
.cv-card-arrow { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #b9a279; border-radius: 50%; color: #47351f; transition: background .2s; }
.cv-card-arrow .icon { width: 15px; height: 15px; }
.cv-link.cv-download-card:hover, .cv-link.cv-download-card:focus-visible { transform: translateY(-4px); box-shadow: 0 7px 15px #513b1718, 0 18px 25px -15px #513b1738; }
.cv-download-card:hover .cv-card-arrow { background: #eee1c9; }

/* Full-width career, project and skills sections precede the four-column profile row. */
.about-details > .featured-work {
  grid-column: 1 / -1;
  padding: 0 0 36px;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
}
.project-dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; align-items: start; }
.project-dossier { min-width: 0; }
.project-dossier .project-print img { aspect-ratio: 2.15; object-position: center; }
.project-dossier .project-card-caption { padding: 15px 19px 19px; }
.project-dossier .project-card-caption h3 { font-size: 30px; font-style: normal; color: var(--card-ink); margin: 0; font-weight: 600; }
.project-dossier .project-card-caption em { font-size: 18px; }
.project-dossier-copy { padding: 24px 10px 0; font-size: 18px; line-height: 1.65; }
.project-dossier-copy .project-purpose { max-width: 48ch; font-style: normal; font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.project-dossier-copy h4 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.project-brief { padding-left: 19px; margin: 0; }
.project-brief li + li { margin-top: 12px; }
.technology-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.technology-list li { border: 1px solid var(--soft-line); padding: 4px 10px; font-size: 16px; line-height: 1.4; }
.project-dossier-copy > .technology-list { margin-top: 18px; }
.project-highlights { display: grid; gap: 8px; padding: 0; margin: 22px 0; list-style: none; font-size: 18px; line-height: 1.5; }
.project-highlights li { position: relative; padding-left: 18px; }
.project-highlights li:before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.project-details { border-top: 1px solid var(--soft-line); }
.project-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 0; color: var(--brown); cursor: pointer; list-style: none; font-size: 17px; line-height: 1.4; }
.project-details > summary::-webkit-details-marker { display: none; }
.project-details > summary:hover { color: var(--gold); }
.project-details > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.project-details-toggle { flex-shrink: 0; font: 23px/1 Georgia, serif; }
.project-details[open] .project-details-toggle { transform: rotate(45deg); }
.project-details-content { padding: 0 0 8px; max-width: 56ch; }
.project-details-content h4:first-child { margin-top: 10px; }

.about-details > .skills {
  grid-column: 1 / -1;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
}
.skills-content { display: grid; grid-template-columns: 1fr 1.15fr; gap: 38px; align-items: start; }
.skills-content .skill-grid { gap: 24px 0; }
.skills-content .skill-grid > div { font-size: 16px; }
.skills-content .tool-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); border: 0; padding: 0; margin: 0; gap: 24px 12px; }
.profile-summary-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .8fr .85fr 1.3fr; align-items: stretch; }
.profile-summary-row > .detail-column { grid-column: auto; display: block; padding: 0 20px; border: 0; border-left: 1px solid var(--soft-line); }
.profile-summary-row > .detail-column:first-child { border-left: 0; padding-left: 0; }
.profile-summary-row > .detail-column:last-child { padding-right: 0; }
.profile-summary-row h2, .about-details > .skills h2 { font-size: 25px; margin-bottom: 24px; }
.profile-summary-row .strengths { font-size: 17px; line-height: 1.4; padding-left: 18px; }
.profile-summary-row .strengths li + li { margin-top: 10px; }
.profile-summary-row .language-list li { flex-wrap: wrap; gap: 8px; }
.profile-summary-row .language-level { margin-left: auto; }
.profile-summary-row .cv-download-card { width: 100%; max-width: 230px; margin: 0; }
.profile-summary-row .cv-card-photo { aspect-ratio: 1.25; }
.profile-summary-row .cv-card-photo img { top: -12%; }
.profile-summary-row .cv-card-caption { display: flex; justify-content: space-between; flex-direction: row-reverse; gap: 8px; padding: 12px; }
.profile-summary-row .cv-card-caption em { font-size: 16px; }
.profile-summary-row .cv-card-arrow { flex-shrink: 0; }
.profile-summary-row .contact-block { padding: 0; border: 0; }
.profile-summary-row .contact-block address { font-size: 16px; gap: 15px; }
@media (max-width: 1100px) and (min-width: 801px) {
  .project-dossiers { gap: 35px 26px; }
}
@media (max-width: 1000px) {
  .profile-summary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .profile-summary-row > .detail-column { padding: 0 25px; }
  .profile-summary-row > .detail-column:nth-child(odd) { border-left: 0; padding-left: 0; }
  .profile-summary-row > .detail-column:nth-child(even) { padding-right: 0; }
  .profile-summary-row .cv-download-card { max-width: 230px; }
}
@media (max-width: 800px) {
  .project-dossiers { grid-template-columns: 1fr; gap: 35px; }
  .project-dossier + .project-dossier { border-top: 1px solid var(--soft-line); padding-top: 35px; }
  .skills-content { grid-template-columns: 1fr; gap: 28px; }
  .skills-content .tool-grid { border-left: 0; border-top: 1px solid var(--soft-line); padding: 25px 0 0; }
}
@media (max-width: 600px) {
  .profile-summary-row { grid-template-columns: 1fr; gap: 26px; }
  .profile-summary-row > .detail-column { padding: 0 0 26px; border: 0; border-bottom: 1px solid var(--soft-line); }
  .profile-summary-row > .detail-column:last-child { padding-bottom: 0; border-bottom: 0; }
  .profile-summary-row .language-list { max-width: 260px; }
  .skills-content .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .project-dossier .project-card-caption h3 { font-size: 28px; }
  .project-dossier-copy { padding: 20px 3px 0; }
  .project-dossier-copy .project-purpose { font-size: 20px; }
  .skills-content .skill-grid > div { font-size: 15px; }
}

/* A fine closing rule joins the pencil landscapes. */
.about-footer > span { margin-left: 18%; margin-right: 12%; height: 1px; opacity: .8; }
@media (max-width: 600px) { .about-footer > span { margin-left: 24%; margin-right: 20%; } }

/* Matching category headings with their own illustrations and columns. */
.skills-content > section { min-width: 0; }
.skills-content > .tools-group { border-left: 1px solid var(--soft-line); padding-left: 30px; }
@media (max-width: 800px) {
  .skills-content > .tools-group { border-left: 0; border-top: 1px solid var(--soft-line); padding: 25px 0 0; }
  .skills-content .tool-grid { border: 0; padding-top: 0; }
}

/* Two-line welcome title; type scales to the width of its own column. */
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(30px, min(11cqw, 6.8svh), 64px); }
.tool-logo-phaser { display: block; width: 76px; max-width: 100%; height: 36px; background: #493113; -webkit-mask: url('assets/brands/phaser.png') center / contain no-repeat; mask: url('assets/brands/phaser.png') center / contain no-repeat; }

@media (min-width: 1101px) { .skills-content .tool-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* Real project pages and original restaurant cards share the exhibition. */
.featured-frame .feature-image-wrap > img { object-position: top center; }
.back-page img { object-position: top center; }
.project-slide:not([data-project='noisette']) .slide-image img { object-position: top center; }
.carousel-controls .arrow-button { position: relative; width: 34px; height: 34px; border-width: .75px; font-size: 19px; }
.carousel-controls .arrow-button:before { content: ''; position: absolute; inset: -5px; }
.carousel-controls { gap: 21px; }
.carousel-controls .project-counter { font-size: 16px; min-width: 56px; }
.project-dialog [hidden] { display: none; }
.dialog-visual { max-height: 64svh; overflow: auto; background: #eee8dd; scrollbar-width: thin; }
.dialog-visual img { width: 100%; max-height: none; height: auto; object-fit: contain; }
.gallery-navigation { display: flex; gap: 17px; align-items: center; padding: 15px 24px; border-bottom: 1px solid var(--soft-line); }
.gallery-navigation .arrow-button { flex-shrink: 0; width: 33px; height: 33px; font-size: 18px; }
#gallery-caption { flex: 1; font-size: 18px; font-style: italic; }
#gallery-counter { font-size: 16px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.gallery-thumbnails { display: flex; gap: 10px; padding: 16px 24px 0; overflow-x: auto; }
.gallery-thumbnail { flex: 0 0 95px; padding: 3px; border: 1px solid var(--soft-line); background: #f3ebdf; }
.gallery-thumbnail img { width: 100%; height: 60px; object-fit: contain; object-position: top; }
.gallery-thumbnail[aria-pressed='true'] { border-color: var(--brown); box-shadow: 0 0 0 1px var(--brown); }
.document-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.document-downloads a { border: 1px solid var(--soft-line); padding: 9px 13px; font-size: 18px; }
.document-downloads a:hover { background: #ebdfce; }
@media (max-width: 800px) {
}
@media (max-width: 480px) {
  .gallery-navigation { gap: 10px; padding: 13px 16px; }
  #gallery-caption { font-size: 16px; }
  .gallery-thumbnails { padding: 13px 16px 0; }
  .gallery-thumbnail { flex-basis: 78px; }
}

/* Noisette is the final project dossier, with the original cards in a fan. */
.noisette-project-cover { --card-ink: #47351f; container-type: inline-size; }
.noisette-project-cover:hover { transform: none; }
.mini-project .menu-fan-frame { background: #85715f; }
.menu-fan { position: relative; height: auto; aspect-ratio: 2.15; isolation: isolate; }
.menu-fan > .menu-card { position: absolute; left: 50%; bottom: 6%; z-index: var(--fan-order); display: flex; flex-direction: column; width: 24%; max-width: 130px; padding: 5px; border: 1px solid #c7b18c; border-radius: 7px; background: #fffcf5; box-shadow: 0 5px 10px #49331a22; transform-origin: 50% 90%; transform: translateX(-50%) translateX(var(--fan-shift)) rotate(var(--fan-angle)); transition: transform .2s ease, box-shadow .2s ease; }
.menu-fan > .menu-card:nth-child(1) { --fan-shift: -72%; --fan-angle: -18deg; --fan-order: 1; }
.menu-fan > .menu-card:nth-child(2) { --fan-shift: -36%; --fan-angle: -9deg; --fan-order: 2; }
.menu-fan > .menu-card:nth-child(3) { --fan-shift: 0%; --fan-angle: 0deg; --fan-order: 3; }
.menu-fan > .menu-card:nth-child(4) { --fan-shift: 36%; --fan-angle: 9deg; --fan-order: 4; }
.menu-fan > .menu-card:nth-child(5) { --fan-shift: 72%; --fan-angle: 18deg; --fan-order: 5; }
.menu-fan .menu-card img { width: 100%; height: auto; aspect-ratio: .707; object-fit: contain; border-radius: 3px; background: #f5f1e9; }
.menu-fan .menu-card > span { display: grid; place-items: center; min-height: 24px; padding: 4px 0 0; font-size: clamp(9px, 2.3cqw, 12px); text-align: center; line-height: 1.15; }
.menu-fan > .menu-card:hover, .menu-fan > .menu-card:focus-visible { z-index: 20; transform: translateX(-50%) translateX(var(--fan-shift)) translateY(-5px) rotate(0deg); box-shadow: 0 8px 15px #49331a33; }
.menu-fan-hint { margin: 0 0 20px; color: #6c5541; font-size: 16px; line-height: 1.5; }
.menu-dialog { width: min(900px, 94vw); height: min(1000px, 92svh); max-height: 92svh; padding: 52px 0 0; border: 1px solid #8b7460; background: #5b4a3e; color: #fff5e6; overflow: hidden; }
.menu-dialog[open] { display: flex; flex-direction: column; }
.menu-dialog::backdrop { background: #21170fd0; backdrop-filter: blur(5px); }
.menu-dialog-close { position: absolute; top: 5px; right: 10px; width: 44px; height: 44px; font: 30px/1 Georgia,serif; }
.menu-viewer-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 14px; align-items: center; padding: 10px 14px 14px; }
.menu-viewer-stage > .arrow-button { width: 44px; height: 44px; border-color: #d8c5a9; }
.menu-viewer-stage > .arrow-button:hover { background: #796454; color: #fff5e6; }
.menu-preview { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
#menu-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
@media (max-width: 480px) {
  .menu-fan > .menu-card { padding: 3px; }
  .menu-dialog { width: 96vw; height: 92svh; max-height: 92svh; }
  .menu-viewer-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) 44px; gap: 8px; padding: 8px; }
  .menu-viewer-stage .menu-preview { grid-column: 1 / -1; grid-row: 1; }
  .menu-viewer-stage .arrow-button { grid-row: 2; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .menu-fan > .menu-card { transition: none; } }

/* Preserve every screenshot edge while keeping the reference's perspective. */
[data-project='specimen'] { --preview-paper: #061b13; }
[data-project='arte'] { --preview-paper: #090909; }
[data-project='argelune'] { --preview-paper: #17130b; }
[data-project='tipis-tomahawks'] { --preview-paper: #f8dfbd; }
[data-project='bandits'], [data-preview='bandits'] { --preview-paper: var(--paper); }
.featured-frame .feature-image-wrap > img,
.exhibition .project-slide .slide-image img,
.project-dossier .project-print img,
.carousel-endpaper img,
.back-page img {
  object-fit: contain;
  object-position: center;
  background: var(--preview-paper, #f3ecdf);
}
.project-slide .slide-image { background: var(--preview-paper, #f3ecdf); }
.mini-project:hover .project-print img { transform: none; }
.back-page-one { width: 94%; height: 92%; left: 4%; }
.back-page-two { width: 94%; height: 92%; right: -12%; }
.carousel-endpaper { background: #f3ecdf; }

/* Warm the journal's preview paper while retaining the original capture. */
.feature-image-wrap { display: block; isolation: isolate; background: var(--preview-paper, #f3ecdf); }
.project-slide[data-project='bandits'] .slide-image,
.mini-project[data-project='bandits'] .project-print,
.featured-project[data-project='bandits'] .back-page,
.carousel-endpaper[data-preview='bandits'] { isolation: isolate; background: var(--preview-paper); }
.featured-project[data-project='bandits'] .feature-image-wrap > img,
.project-slide[data-project='bandits'] .slide-image img,
.mini-project[data-project='bandits'] .project-print img,
.featured-project[data-project='bandits'] .back-page img,
.carousel-endpaper[data-preview='bandits'] img { background: transparent; mix-blend-mode: darken; }
