/* narrative.css */
@font-face { font-family: Display; src: url('/static/724c9c25952d5f4a/BarlowCondensed-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: Body; src: url('/static/f8906f762cb73dca/Barlow-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f2f1ec;
  --ink: #202224;
  --muted: #686b67;
  --rule: #20222429;
  --wash: #e7e6df;
  --gutter: clamp(24px, 5vw, 86px);
  --header-height: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { color-scheme: dark; --paper: #202224; --ink: #f2f1ec; --muted: #b7b9b4; --rule: #f2f1ec32; --wash: #2b2e30; }
}
:root[data-theme='dark'] { color-scheme: dark; --paper: #202224; --ink: #f2f1ec; --muted: #b7b9b4; --rule: #f2f1ec32; --wash: #2b2e30; }
:root[data-theme='light'] { color-scheme: light; --paper: #f2f1ec; --ink: #202224; --muted: #686b67; --rule: #20222429; --wash: #e7e6df; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.48 Body, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, button, input { font-synthesis: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .brand, .chapter-number { font-family: Display, 'Arial Narrow', Arial, sans-serif; font-weight: 800; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
img, [data-image] { -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
video { display: block; max-width: 100%; }
[hidden], .is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 120; padding: 12px 18px; transform: translateY(-160%); background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: none; }
.micro, .eyebrow, .kicker, .project-meta, .draft-label { font-size: 11px; line-height: 1.5; letter-spacing: .075em; text-transform: uppercase; }
.micro, .eyebrow, .kicker { color: var(--muted); }
.page-pad { padding-inline: var(--gutter); }
.hero, .journey, .personal, .contact { padding-inline: var(--gutter); max-width: 1720px; margin-inline: auto; }

/* A compact masthead keeps the four chapters, summary and settings at hand. */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 30px; min-height: 76px; padding: 14px var(--gutter); border-bottom: 1px solid var(--rule); background: var(--paper); }
.brand { font-size: 36px; line-height: 1; letter-spacing: -.025em; }
.brand:hover { text-decoration: none; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.3vw, 39px); font-size: 12px; }
.site-header nav a { position: relative; padding-block: 9px; white-space: nowrap; }
.site-header nav a[aria-current]::after { content: ''; position: absolute; height: 1px; bottom: 3px; left: 0; right: 0; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.summary-link { display: inline-flex; align-items: center; gap: 15px; min-height: 42px; margin-right: 9px; border-bottom: 1px solid var(--ink); font-size: 12px; white-space: nowrap; }
.summary-link:hover { text-decoration: none; }
.theme-toggle, .language-toggle { flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; min-width: 42px; min-height: 42px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: transparent; font: 500 11px/1 Body, Arial, sans-serif; transition: background .2s ease, border-color .2s ease; }
.theme-toggle:hover, .language-toggle:hover { background: var(--wash); border-color: var(--muted); }
.theme-toggle svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.page-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(var(--page-progress, 0)); transform-origin: left center; opacity: .6; pointer-events: none; }

/* The first photograph widens to reveal a real working context. */
.hero { padding-top: 25px; padding-bottom: clamp(55px, 8vw, 120px); }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hero-name { margin: 27px 0 32px; font-size: clamp(80px, 17.2vw, 300px); line-height: .78; letter-spacing: -.028em; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 8vw, 140px); align-items: end; }
.hero-intro { padding-top: 25px; max-width: 510px; }
.hero-intro h2 { font-size: clamp(62px, 8.3vw, 132px); line-height: .85; letter-spacing: -.025em; margin: 17px 0 25px; }
.hero-intro > p:not(.micro) { max-width: 28ch; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.45; }
.scroll-link { display: inline-flex; align-items: center; gap: 30px; min-height: 44px; margin-top: 28px; font-size: 12px; }
.scroll-link > span:last-child, .round-arrow { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; border: 1px solid var(--rule); border-radius: 50%; font-size: 18px; }
.scroll-link:hover { text-decoration: none; }
.hero-photo { width: min(100%, 50svh, 520px); justify-self: end; position: relative; overflow: hidden; background: var(--wash); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 50%; transform: scale(var(--image-scale, 1)); transform-origin: 50% 40%; }
.hero-photo figcaption { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0 0; color: var(--muted); background: var(--paper); font-size: 10px; line-height: 1.4; letter-spacing: .025em; }

/* Numbered chapters sit in normal flow, with generous but finite intervals. */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr); gap: 22px 10vw; align-items: end; padding: 50px 0 44px; border-top: 1px solid var(--rule); }
.section-head > .micro { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(66px, 8vw, 124px); line-height: .86; letter-spacing: -.025em; }
.section-head > p:not(.micro) { max-width: 35ch; color: var(--muted); font-size: 18px; line-height: 1.55; }
.journey-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-block: 1px solid var(--rule); padding: 17px 0; margin-bottom: 0; }
.journey-index a { display: flex; gap: 12px; align-items: baseline; min-height: 30px; font-size: 12px; }
.journey-index a span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 125px); align-items: center; padding: clamp(65px, 7vw, 110px) 0; border-bottom: 1px solid var(--rule); }
.chapter-copy { max-width: 540px; min-width: 0; }
.chapter-copy .kicker, .chapter-copy > .micro { margin-bottom: 26px; }
.chapter-copy h2 { font-size: clamp(62px, 7.5vw, 116px); line-height: .86; letter-spacing: -.024em; margin-bottom: 28px; }
.chapter-copy > p:not(.micro):not(.kicker) { max-width: 38ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.chapter-copy > p + p { margin-top: 18px; }
.chapter-copy .pill-link { margin-top: 29px; }
.chapter-number { position: absolute; left: 0; bottom: 19px; font-size: 24px; line-height: 1; color: var(--muted); }
.chapter-photo { min-width: 0; width: min(100%, 430px); justify-self: center; }
.chapter-photo img { width: 100%; height: auto; }
.chapter-photo.polaroid { width: min(100%, 335px); transform: rotate(3deg); }
.chapter-photo figcaption { padding-top: 13px; font-size: 10px; line-height: 1.5; color: var(--muted); }
.pill-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: inherit; font: 500 12px/1.4 Body, Arial, sans-serif; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.pill-link > span[aria-hidden] { font-size: 18px; line-height: 1; }
.pill-link:hover { text-decoration: none; color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* The person and the showreel share a frame; controls stay clear of the switch. */
.countershot { position: relative; min-width: 0; width: 100%; aspect-ratio: 1.1; background: #111314; overflow: hidden; }
.shot-person, .shot-result { position: absolute; inset: 0 0 57px; transition: opacity .45s ease; }
.shot-person { opacity: 1; }
.shot-result { opacity: 0; pointer-events: none; background: #101112; }
.shot-person img, .shot-result video { display: block; width: 100%; height: 100%; }
.shot-person img { object-fit: cover; object-position: 50% 42%; }
.shot-result video { object-fit: contain; background: #101112; }
.countershot.is-result .shot-person { opacity: 0; pointer-events: none; }
.countershot.is-result .shot-result { opacity: 1; pointer-events: auto; }
.countershot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; min-height: 57px; padding: 12px 0; font-size: 10px; line-height: 1.4; background: var(--paper); color: var(--muted); }
.countershot-toggle { position: absolute; z-index: 3; top: 17px; right: 17px; display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 44px; max-width: calc(100% - 34px); padding: 11px 17px; border: 1px solid #f2f1ec70; border-radius: 999px; background: #202224; color: #f2f1ec; font: 500 11px/1.4 Body, Arial, sans-serif; }
.countershot-toggle:hover { background: #f2f1ec; color: #202224; }
.countershot-toggle:focus-visible { outline-color: #f2f1ec; }

.chapter-exhibitions { position: relative; display: grid; grid-template-columns: 1fr; gap: 45px; padding: clamp(65px, 7vw, 110px) 0 65px; border-bottom: 1px solid var(--rule); }
.chapter-exhibitions .chapter-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: 20px 10vw; max-width: none; align-items: end; }
.chapter-exhibitions .chapter-copy > .micro, .chapter-exhibitions .chapter-copy > .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.chapter-exhibitions .chapter-copy h2 { margin: 0; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.project-card { min-width: 0; padding-bottom: 10px; }
.project-card .title-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #080909; }
.project-card .title-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.project-card .project-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); margin-top: 20px; font-size: 10px; }
.project-card h3 { font: 800 clamp(32px, 3.4vw, 50px)/1 Display, Arial, sans-serif; letter-spacing: -.015em; margin-top: 12px; }
.project-card p:not(.project-meta) { color: var(--muted); max-width: 44ch; font-size: 16px; line-height: 1.5; margin-top: 13px; }
.project-card .pill-link { margin-top: 24px; }

/* Additional stories keep the same editorial rhythm and remain in the page. */
.story-inline { position: relative; background: var(--paper); color: var(--ink); border-block: 1px solid var(--rule); scroll-margin-top: calc(var(--header-height) + 15px); }
.story-inline.is-open { animation: story-arrive .22s ease both; }
@keyframes story-arrive { from { opacity: .3; } to { opacity: 1; } }
.story-inner { width: min(1100px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.inline-story-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 83px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.story-collapse { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; flex: 0 0 auto; min-height: 44px; padding: 10px 17px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: inherit; font-size: 12px; line-height: 1.4; }
.story-collapse:hover { background: var(--ink); color: var(--paper); }
.story-collapse > span[aria-hidden] { font-size: 18px; }
.story-body { padding: 44px 0; }
.story-body > .eyebrow { margin-bottom: 23px; }
.story-body > h2 { font-size: clamp(46px, 6.5vw, 86px); line-height: .94; letter-spacing: -.02em; max-width: 900px; }
.story-lead { max-width: 760px; margin-top: 26px; font-size: clamp(19px, 2vw, 25px); line-height: 1.5; }
.story-rule { height: 1px; background: var(--rule); margin: 38px 0; }
.story-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 40px; }
.story-columns.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-columns h3 { font-size: 22px; line-height: 1.2; font-weight: 500; margin-bottom: 13px; }
.story-columns p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.story-number { display: block; margin-bottom: 14px; font-size: 11px; color: var(--muted); }
.story-text, .approach-context { max-width: 780px; margin-top: 32px; font-size: 18px; line-height: 1.6; }
.story-text h3 { margin-bottom: 16px; font-size: 24px; font-weight: 500; }
.story-text p + p, .approach-context p + p { margin-top: 20px; }
.story-sequence { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 35px; padding-top: 26px; border-top: 1px solid var(--rule); }
.inline-story-bottom { display: flex; justify-content: center; padding: 25px 0 38px; border-top: 1px solid var(--rule); }
.project-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 31px 0 0; padding: 22px 0; border-block: 1px solid var(--rule); }
.project-facts dt { color: var(--muted); font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .06em; }
.project-facts dd { margin: 8px 0 0; font-size: 16px; }
.story-media, .story-video, .approach-portrait { margin-top: 35px; }
.story-media { max-width: 900px; }
.story-media img, .gallery-grid img, .approach-portrait img { display: block; width: 100%; height: auto; }
.story-media figcaption, .gallery-grid figcaption, .story-video figcaption, .approach-portrait figcaption { padding-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 35px; align-items: start; }
.gallery-grid figure { min-width: 0; }
.image-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #101112; cursor: zoom-in; }
.image-open::after { content: '+'; position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #f2f1ec90; border-radius: 50%; background: #202224; color: #f2f1ec; font-size: 22px; }
.is-enlarged { grid-column: 1 / -1; }
.is-enlarged .image-open { cursor: zoom-out; }
.is-enlarged .image-open::after { content: '−'; }
.image-collapse { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 10px 17px; margin-top: 14px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; font-size: 12px; }
.image-collapse:hover { background: var(--ink); color: var(--paper); }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 33px; }
.film-card { min-width: 0; }
.film-card .story-video { margin: 0; }
.story-video video, .film-grid video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #101112; }
.film-grid h3 { margin-top: 19px; font-size: 21px; line-height: 1.2; font-weight: 500; }
.film-grid p { color: var(--muted); margin-top: 11px; font-size: 15px; line-height: 1.55; }

/* The personal board has a looser rhythm, with authentic Polaroid assets. */
.personal { padding-block: clamp(60px, 8vw, 120px); }
.personal .section-head { border-top: 0; padding-top: 0; }
.personal-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; margin: 20px 0 15px; }
.personal-photo { min-width: 0; }
.personal-photo.venice { grid-column: 1 / 3; width: 85%; }
.personal-photo.venice img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.personal-photo.train { grid-column: 3 / 5; width: min(80%, 320px); margin-top: 100px; justify-self: end; transform: rotate(-4deg); }
.personal-photo.train img { width: 100%; height: auto; }
.personal-photo figcaption { color: var(--muted); padding-top: 13px; font-size: 10px; line-height: 1.5; }
.personal-note { grid-column: 3 / 5; max-width: 350px; margin: 8px 0 0; padding: 26px 0 0; border-top: 1px solid var(--rule); }
.personal-note h3, .personal-note > strong { display: block; font: 800 clamp(34px, 3.5vw, 49px)/1 Display, Arial, sans-serif; letter-spacing: -.01em; }
.personal-note p { max-width: 33ch; color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 14px; }
.personal-note > p { color: var(--ink); font: 800 clamp(34px, 3.5vw, 49px)/1 Display, Arial, sans-serif; letter-spacing: -.01em; margin-top: 15px; }
.personal-note > span:not(.micro) { display: block; max-width: 33ch; color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 14px; }

/* The newsletter retains its distinctive masthead, without a pinned scroll gap. */
.newsletter-scene { background: #202224; }
.newsletter-stage { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: calc(92svh - var(--header-height)); padding: 34px var(--gutter) 38px; color: #f2f1ec; }
.newsletter-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter-stage .micro, .newsletter-top > span { color: #b7b9b4; font-size: 10px; line-height: 1.4; letter-spacing: .065em; }
.newsletter h2 { padding: 23px 0; font-size: clamp(78px, 17vw, 240px); line-height: .82; letter-spacing: -.025em; }
.newsletter-foot { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.newsletter-foot > p { font-size: 20px; line-height: 1.45; }
.newsletter-actions { display: flex; flex-direction: column; align-items: end; gap: 18px; }
.newsletter-stage .pill-link { color: #f2f1ec; border-color: #f2f1ec6b; }
.newsletter-stage .pill-link:hover { background: #f2f1ec; color: #202224; border-color: #f2f1ec; }
.quiet-link { min-height: 30px; padding-block: 5px; font-size: 12px; }
.quiet-link > span[aria-hidden] { margin-left: 20px; }
.newsletter-scene > .story-inline { border-top-color: transparent; }
.device-stage { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, .75fr); gap: clamp(25px, 5vw, 65px); align-items: end; margin-top: 40px; }
.device-stage figure { min-width: 0; width: 100%; }
.editorial-preview-tall { max-width: 200px; justify-self: center; }
.mac-screen { position: relative; padding: 12px; border: 1px solid #62676a; border-radius: 18px; background: linear-gradient(135deg, #3c4145, #101112 40%, #32373a); }
.mac-screen::before { content: ''; position: absolute; top: 4px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #020304; }
.device-screen { position: relative; overflow: hidden; background: #101112; }
.mac-screen .device-screen { aspect-ratio: 16 / 9; border-radius: 5px; }
.device-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #101112; }
.iphone { position: relative; padding: 8px; border: 1px solid #60676c; border-radius: 31px; background: linear-gradient(135deg, #3b4147, #090b0d 35%, #343a3f); }
.iphone .device-screen { aspect-ratio: 9 / 16; border-radius: 24px; }
.iphone-island { position: absolute; z-index: 2; top: 16px; left: 32%; width: 36%; height: 14px; border-radius: 14px; background: #030405; }
.device-label { padding-top: 13px; color: var(--muted); font-size: 9px; line-height: 1.45; letter-spacing: .045em; }
.podcast-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.contact { padding-top: clamp(65px, 8vw, 120px); padding-bottom: 28px; }
.contact-main { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.contact h2 { max-width: 950px; margin-top: 27px; font-size: clamp(60px, 7.8vw, 120px); line-height: .88; letter-spacing: -.025em; }
.email-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 20px; padding-bottom: 4px; font-size: 17px; white-space: nowrap; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 38px; }
.contact-actions > a:not(.pill-link) { font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 11px; }
.footer-bottom > div { display: flex; align-items: center; gap: 24px; }
.copyright { margin-top: 20px; font-size: 11px; color: var(--muted); }
.prototype-note { max-width: 90ch; margin-top: 18px; color: var(--muted); font-size: 10px; line-height: 1.5; }

/* Reuse the letter-fill loader; it never changes the document's scroll model. */
.site-loader { display: none; }
.js.is-loading body { overflow: hidden; }
.js .site-loader { position: fixed; z-index: 10000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 36px 4vw; background: var(--paper); color: var(--ink); opacity: 1; transition: opacity .3s ease, visibility .3s ease; }
.js .site-loader.loader-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { display: flex; flex-direction: column; align-items: center; width: 100%; }
.loader-name { position: relative; max-width: 100%; white-space: nowrap; font: 800 clamp(54px, 17.2vw, 330px)/.91 Display, 'Arial Narrow', Arial, sans-serif; letter-spacing: -.026em; }
.loader-base { display: block; opacity: .17; }
.loader-ink { position: absolute; inset: 0; display: block; clip-path: inset(0 calc((1 - var(--load-progress, 0)) * 100%) 0 0); }
#loader-phrase { max-width: 38ch; min-height: 2.9em; margin-top: 40px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.45; }
.loader-status { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 15px; }
#loader-percent { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
#loader-progress { display: block; width: 170px; height: 1px; overflow: hidden; background: var(--rule); }
#loader-progress::before { content: ''; display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(var(--load-progress, 0)); transform-origin: left center; }
#loader-enter { margin-top: 25px; }

@media (prefers-reduced-motion: no-preference) {
  .js.has-reveals [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.65,.3,1); }
  .js.has-reveals [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (min-width: 1720px) {
  .hero-name { font-size: 292px; }
}
@media (max-width: 1100px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 22px; }
  .summary-link { margin-right: 4px; gap: 9px; }
  .hero-grid { gap: 45px; }
  .chapter { gap: 55px; }
  .contact-main { display: block; }
  .email-link { margin-top: 30px; }
}
@media (max-width: 900px) {
  :root { --header-height: 112px; }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; min-height: 112px; padding-top: 13px; padding-bottom: 12px; }
  .brand { width: fit-content; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; margin: 0; gap: 15px; }
  .site-header nav a { padding-block: 3px; }
  .site-header nav a[aria-current]::after { bottom: -4px; }
  .hero-photo { width: min(100%, 400px); }
  .hero-grid { gap: 35px; }
  .hero-intro h2 { font-size: 80px; }
  .chapter { gap: 45px; }
  .chapter-copy h2 { font-size: 74px; }
  .chapter-copy > p:not(.micro):not(.kicker) { font-size: 17px; }
  .section-head { column-gap: 50px; }
  .section-head h2 { font-size: 85px; }
  .project-pair { gap: 24px; }
  .personal-photo.train { width: 90%; margin-top: 70px; }
  .newsletter h2 { font-size: 21vw; }
  .newsletter-stage { min-height: calc(88svh - var(--header-height)); }
}
@media (max-width: 650px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  .brand { font-size: 33px; }
  .summary-link { min-height: 38px; margin-right: 2px; font-size: 11px; gap: 10px; }
  .theme-toggle, .language-toggle { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
  .theme-toggle svg { width: 21px; height: 21px; }
  .site-header nav { font-size: 11px; }
  .hero { padding-top: 20px; padding-bottom: 66px; }
  .hero-meta { font-size: 8px; gap: 15px; }
  .hero-name { margin: 28px 0 28px; font-size: 17vw; line-height: .86; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-intro { padding: 0; max-width: none; }
  .hero-intro > .micro { font-size: 9px; }
  .hero-intro h2 { margin: 13px 0 18px; font-size: clamp(65px, 19vw, 100px); }
  .hero-intro > p:not(.micro) { max-width: 31ch; font-size: 18px; }
  .scroll-link { margin-top: 18px; gap: 23px; font-size: 11px; }
  .hero-photo { order: -1; align-self: flex-end; width: 87%; }
  .hero-photo figcaption { font-size: 9px; padding-top: 10px; }
  .section-head { display: block; padding-top: 35px; padding-bottom: 29px; }
  .section-head > .micro { margin-bottom: 23px; }
  .section-head h2 { font-size: clamp(62px, 17vw, 88px); }
  .section-head > p:not(.micro) { margin-top: 25px; font-size: 17px; max-width: 35ch; }
  .journey-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; padding: 17px 0; }
  .journey-index a { min-height: 28px; font-size: 11px; gap: 11px; }
  .chapter { grid-template-columns: 1fr; gap: 35px; padding: 50px 0 54px; }
  .chapter-copy .kicker, .chapter-copy > .micro { margin-bottom: 22px; }
  .chapter-copy h2 { font-size: clamp(62px, 16.3vw, 88px); margin-bottom: 24px; }
  .chapter-copy > p:not(.micro):not(.kicker) { font-size: 17px; max-width: 35ch; }
  .chapter-copy .pill-link { margin-top: 25px; }
  .chapter-photo.polaroid { width: min(76%, 300px); transform: rotate(3deg); justify-self: center; }
  .chapter-number { font-size: 20px; bottom: 17px; }
  .pill-link { font-size: 11px; padding-inline: 18px; gap: 24px; }
  .countershot { aspect-ratio: .96; }
  .countershot-toggle { top: 12px; right: 12px; max-width: calc(100% - 24px); font-size: 10px; padding: 11px 15px; }
  .countershot figcaption { font-size: 9px; }
  .chapter-exhibitions { padding-top: 50px; padding-bottom: 45px; }
  .chapter-exhibitions .chapter-copy { display: block; }
  .chapter-exhibitions .chapter-copy > .micro, .chapter-exhibitions .chapter-copy > .kicker { margin-bottom: 22px; }
  .chapter-exhibitions .chapter-copy h2 { margin-bottom: 24px; }
  .project-pair { grid-template-columns: 1fr; gap: 37px; }
  .project-card .title-cover { aspect-ratio: 16 / 10; }
  .project-card .project-meta { font-size: 9px; margin-top: 15px; }
  .project-card h3 { font-size: 37px; margin-top: 10px; }
  .project-card p:not(.project-meta) { font-size: 15px; }
  .project-card .pill-link { margin-top: 20px; }
  .inline-story-top { gap: 14px; min-height: 73px; padding-block: 14px; }
  .inline-story-top .micro { font-size: 9px; max-width: 160px; }
  .story-collapse { font-size: 10px; gap: 16px; padding-inline: 14px; }
  .story-body { padding: 31px 0; }
  .story-body > h2 { font-size: clamp(43px, 12.5vw, 66px); line-height: .94; }
  .story-body > .eyebrow { margin-bottom: 20px; font-size: 9px; }
  .story-lead { font-size: 19px; margin-top: 23px; }
  .story-columns, .story-columns.two { grid-template-columns: 1fr; gap: 29px; margin-top: 31px; }
  .story-columns h3 { font-size: 22px; }
  .story-columns p { font-size: 16px; }
  .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
  .project-facts > div:last-child { grid-column: 1 / -1; }
  .project-facts dd { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .story-media, .story-video, .approach-portrait { margin-top: 29px; }
  .story-text, .approach-context { margin-top: 29px; font-size: 17px; }
  .story-sequence { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 27px; padding-top: 23px; }
  .film-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 87%); gap: 19px; overflow-x: auto; padding-bottom: 16px; margin-top: 29px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--muted) var(--wash); }
  .film-card { scroll-snap-align: start; }
  .film-grid h3 { font-size: 21px; margin-top: 16px; }
  .film-grid p { font-size: 15px; }
  .personal { padding-top: 60px; padding-bottom: 65px; }
  .personal-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; margin-top: 14px; }
  .personal-photo.venice { grid-column: 1 / -1; width: 80%; }
  .personal-photo.train { grid-column: 1 / -1; width: min(67%, 280px); margin-top: -50px; justify-self: end; }
  .personal-note { grid-column: 1 / -1; max-width: 320px; margin-top: 0; padding-top: 22px; }
  .personal-note h3, .personal-note > strong { font-size: 39px; }
  .personal-note p { font-size: 15px; }
  .newsletter-stage { gap: 43px; padding-top: 25px; padding-bottom: 30px; min-height: calc(90svh - var(--header-height)); }
  .newsletter-top { gap: 18px; }
  .newsletter-stage .micro, .newsletter-top > span { font-size: 8px; }
  .newsletter h2 { font-size: 23.1vw; padding: 22px 0; }
  .newsletter-foot { flex-direction: column; align-items: flex-start; gap: 25px; }
  .newsletter-foot > p { font-size: 18px; }
  .newsletter-actions { align-items: flex-start; gap: 15px; }
  .quiet-link { font-size: 11px; }
  .device-stage { grid-template-columns: minmax(0, 2.35fr) minmax(0, .8fr); gap: 17px; margin-top: 32px; }
  .mac-screen { padding: 6px; border-radius: 10px; }
  .mac-screen::before { top: 2px; width: 2px; height: 2px; left: calc(50% - 1px); }
  .mac-screen .device-screen { border-radius: 3px; }
  .iphone { padding: 4px; border-radius: 15px; }
  .iphone .device-screen { border-radius: 11px; }
  .iphone-island { top: 8px; height: 6px; }
  .device-label { font-size: 7px; padding-top: 10px; }
  .podcast-links { gap: 10px; margin-top: 27px; }
  .podcast-links .pill-link { gap: 15px; }
  .contact { padding-top: 65px; padding-bottom: 26px; }
  .contact h2 { font-size: clamp(58px, 15vw, 82px); margin-top: 24px; }
  .email-link { font-size: 16px; gap: 16px; margin-top: 27px; }
  .contact-actions { gap: 16px 22px; margin-top: 29px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 19px; margin-top: 50px; font-size: 10px; }
  .footer-bottom > div { width: 100%; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
  .copyright { font-size: 10px; margin-top: 19px; }
  .prototype-note { font-size: 9px; margin-top: 16px; }
  #loader-phrase { font-size: 12px; margin-top: 32px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .site-header { column-gap: 12px; }
  .header-actions { gap: 6px; }
  .summary-link { font-size: 10px; gap: 8px; margin-right: 0; }
  .brand { font-size: 30px; }
  .site-header nav { font-size: 10px; gap: 9px; }
  .hero-meta { font-size: 7px; }
  .hero-name { font-size: 16.7vw; }
  .hero-intro > p:not(.micro) { font-size: 17px; }
  .section-head h2, .chapter-copy h2 { font-size: 16.8vw; }
  .project-card h3 { font-size: 34px; }
  .newsletter h2 { font-size: 22.4vw; }
  .email-link { font-size: 14px; gap: 12px; }
  .story-collapse { font-size: 9px; gap: 13px; padding-inline: 12px; }
  .inline-story-top .micro { max-width: 125px; font-size: 8px; }
}
@media (max-height: 600px) and (min-width: 651px) {
  .hero-photo { width: min(100%, 370px); }
  .newsletter-stage { min-height: 0; }
  .newsletter h2 { font-size: min(17vw, 170px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-delay: 0ms !important; transition: none !important; }
  .hero-photo img { transform: none; }
  .js.has-reveals [data-reveal] { opacity: 1; transform: none; }
  .story-inline.is-open { animation: none; }
}

/* newsletter-motion.css */
/* One semantic title and a decorative, statically blurred copy share one box. */
.newsletter h2 { display: grid; filter: none; }
.newsletter h2 > .focus-layer { display: block; grid-area: 1 / 1; margin: 0; white-space: normal; }
.newsletter .focus-line { display: block; white-space: nowrap; }
.newsletter .focus-line + .focus-line { margin-top: .06em; }
.newsletter .focus-layer-sharp { opacity: 1; }
.newsletter h2 > .focus-layer-blur { display: none; opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .newsletter-scene:not(.is-expanded):not(.is-focus-complete) .focus-layer-sharp { opacity: 0; }
  .js .newsletter-scene:not(.is-expanded):not(.is-focus-complete) .focus-layer-blur {
    display: block;
    filter: blur(5px);
    opacity: 1;
  }
  .js .newsletter-scene.is-focus-revealed:not(.is-expanded):not(.is-focus-complete) .focus-layer-sharp {
    animation: newsletter-focus-sharp 640ms cubic-bezier(.333333, 0, .666667, 1) 140ms both;
  }
  .js .newsletter-scene.is-focus-revealed:not(.is-expanded):not(.is-focus-complete) .focus-layer-blur {
    animation: newsletter-focus-soft 640ms cubic-bezier(.333333, 0, .666667, 1) 140ms both;
  }
  .js .newsletter-scene.is-motion-active:not(.is-expanded):not(.is-focus-complete) .focus-layer { will-change: opacity; }

  /* Focus resolves in time; the separate zoom continues to follow scrolling. */
  .motion .newsletter h2 {
    transform: translate3d(0, 45px, 0) scale(.84);
    transform-origin: left center;
    filter: none;
    will-change: auto;
  }
  .motion .newsletter-scene.is-motion-active:not(.is-expanded) h2 { will-change: transform; }
  @supports (animation-timeline: scroll(root block)) and (animation-range: 0px 1px) {
    .motion .newsletter-scene:not(.is-expanded) h2 {
      animation: newsletter-zoom auto cubic-bezier(.333333, 0, .666667, 1) both;
      animation-timeline: scroll(root block);
      animation-range: var(--focus-start, 0px) var(--focus-end, 1px);
    }
  }
}

.newsletter-scene.is-expanded h2 { animation: none; transform: none; will-change: auto; }
.newsletter-scene.is-expanded .focus-layer-sharp { animation: none; opacity: 1; will-change: auto; }
.newsletter-scene.is-expanded .focus-layer-blur { display: none; animation: none; will-change: auto; }

@keyframes newsletter-focus-sharp { from { opacity: 0; } to { opacity: 1; } }
@keyframes newsletter-focus-soft { from { opacity: 1; } to { opacity: 0; } }
@keyframes newsletter-zoom {
  from { transform: translate3d(0, 45px, 0) scale(.84); }
  to { transform: translate3d(0, 0, 0) scale(1.04); }
}

/* accent.css */
/* Studio 02: a red punctuation mark, crisp cuts and small hands-on gestures. */
:root {
  --accent: #ff2800;
  --accent-text: #c51f00;
  --accent-ink: #101112;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { --accent-text: #ff7058; }
}
:root[data-theme='dark'] { --accent-text: #ff7058; }
:root[data-theme='light'] { --accent-text: #c51f00; }

.brand > span, .hero-name .name-point, .chapter-number { color: var(--accent); }
.hero-meta > .micro:first-child, .journey-index a span:first-child { color: var(--accent-text); }
.page-progress { background: var(--accent); opacity: 1; }
.site-header nav a[aria-current] { color: var(--accent-text); }
.site-header nav a[aria-current]::after { height: 2px; background: var(--accent); }
.summary-link { border-bottom-color: var(--accent); }
.summary-link:hover, .email-link:hover, .contact-actions > a:not(.pill-link):hover { color: var(--accent-text); }
.pill-link:hover, .story-collapse:hover, .image-collapse:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.newsletter-stage .pill-link:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.scroll-link > span:last-child { border-color: var(--accent); color: var(--accent-text); }
.loader-ink { color: var(--accent); }
#loader-progress::before { background: var(--accent); }

/* Both words keep their typography and layout while entering through a mask. */
.hero-name { display: flex; align-items: baseline; gap: .13em; }
.hero-name .name-window {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  padding: .15em .025em .12em;
  margin: -.15em -.025em -.12em;
}
.hero-name .name-word { display: block; transform-origin: left center; }
.hero-name .name-point { display: inline; }
.js:not(.is-ready) .name-first .name-word { transform: translate3d(0, 116%, 0); }
.js:not(.is-ready) .name-last .name-word { transform: translate3d(-110%, 0, 0) scaleX(1.14); }

/* The reveal leaves opacity untouched. Keyboard focus exposes the whole item. */
.js.has-reveals [data-reveal] {
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}
/* Observe the unclipped box. A fully clipped observer target never intersects
   in WebKit, so only its children carry the visual curtain. */
.js.has-reveals [data-reveal]:not(.countershot) > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .72s cubic-bezier(.18,.72,.2,1);
}
.js.has-reveals .section-head[data-reveal]:not(.countershot) > *,
.js.has-reveals .chapter-copy[data-reveal]:not(.countershot) > * { clip-path: inset(0 100% 0 0); }
.js.has-reveals [data-reveal].is-visible { opacity: 1; transform: none; }
.js.has-reveals [data-reveal].is-visible:not(.countershot) > * { clip-path: inset(0); }
.js.has-reveals [data-reveal]:not(.countershot):focus-within > * { clip-path: none; transition: none; }
.js.has-reveals .chapter-photo.polaroid[data-reveal],
.js.has-reveals .chapter-photo.polaroid[data-reveal].is-visible { transform: rotate(3deg); }
.js.has-reveals .personal-photo.train[data-reveal],
.js.has-reveals .personal-photo.train[data-reveal].is-visible { transform: rotate(-4deg); }

/* A lateral cut changes the viewpoint, with the result above the portrait. */
.countershot .shot-person, .countershot .shot-result,
.countershot.is-result .shot-person, .countershot.is-result .shot-result { opacity: 1; }
.countershot .shot-person { transition: none; }
.countershot .shot-result { z-index: 1; clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.25,.7,.2,1); }
.countershot.is-result .shot-result { clip-path: inset(0); }
.countershot::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0 0 57px;
  border-right: 3px solid var(--accent);
  transform: translate3d(-100%,0,0);
  transition: transform .55s cubic-bezier(.25,.7,.2,1);
  pointer-events: none;
}
.countershot.is-result::after { transform: translate3d(0,0,0); }
.countershot-toggle { border-color: var(--accent); }
.countershot-toggle:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.story-inline.is-open { animation: story-cut .32s cubic-bezier(.18,.72,.2,1) both; }

/* Personal photographs and interests share the page, rather than a card grid. */
.personal-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(35px,6vw,95px); align-items: start; margin-top: 22px; }
.personal-gallery { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; min-width: 0; max-width: 500px; }
.personal-gallery .personal-photo.venice { grid-column: 1 / 6; width: min(100%,390px); margin: 0; }
.personal-gallery .personal-photo.train { grid-column: 3 / -1; width: min(100%,240px); margin-top: -90px; justify-self: end; }
.personal-gallery .personal-photo figcaption { font-size: 10px; }
.passion-console { min-width: 0; }
.passion-tabs { display: flex; border-block: 1px solid var(--rule); }
.passion-tabs [role='tab'] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding: 12px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: 500 12px/1.3 Body,Arial,sans-serif;
}
.passion-tabs [role='tab']:hover { color: var(--ink); background: var(--wash); }
.passion-tabs [role='tab'][aria-selected='true'] { background: var(--accent); color: var(--accent-ink); }
.passion-tabs [role='tab']:focus-visible { position: relative; z-index: 1; outline-color: var(--ink); outline-offset: -4px; }
.passion-panel { min-width: 0; padding: 29px 0 0; }
.passion-panel + .passion-panel { margin-top: 30px; border-top: 1px solid var(--rule); }
.js .passion-panel { margin-top: 0; border-top: 0; }
.passion-panel:focus-visible { outline-offset: 8px; }
.passion-head > .micro { color: var(--accent-text); }
.passion-head h3 { font: 800 clamp(46px,4.8vw,72px)/.96 Display,'Arial Narrow',Arial,sans-serif; letter-spacing: -.023em; margin-top: 14px; }
.passion-head > p:not(.micro) { max-width: 45ch; font-size: 17px; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.sport-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 15px; }
.sport-switch button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 16px; border: 1px solid var(--rule); border-radius: 0; background: transparent; font-size: 11px; line-height: 1.3; }
.sport-switch button:hover { background: var(--wash); }
.sport-switch button[aria-pressed='true'] { color: var(--accent-text); border-color: var(--accent); }
.passion-art { min-width: 0; overflow: hidden; margin-top: 21px; border-block: 1px solid var(--rule); padding: 13px 0; }
.passion-art svg { display: block; width: 100%; height: auto; }
.sport-drawing { display: none; }
.sport-drawing.is-active { display: inline; }
.track-guide { stroke: var(--rule); stroke-width: 2; }
.motion-route { stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.track-finish { stroke: var(--ink); stroke-width: 2; }
.route-marker { fill: var(--accent); stroke: var(--paper); stroke-width: 4; }
.cycle-wheel { stroke: var(--ink); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.cycle-wheel path { stroke: var(--muted); stroke-width: 1.5; }
.bike-frame { stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.bike-hub { fill: var(--paper); stroke: var(--ink); stroke-width: 4; }
.gym-floor { stroke: var(--rule); stroke-width: 3; }
.gym-bar { stroke: var(--ink); stroke-width: 4; transform-box: fill-box; transform-origin: center; }
.gym-bar rect { fill: var(--accent); stroke: var(--accent); }
.gym-bar rect:nth-of-type(2), .gym-bar rect:nth-of-type(4) { fill: var(--paper); stroke-width: 4; }
.gym-tick { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.passion-caption { color: var(--muted); font-size: 11px; line-height: 1.5; max-width: 58ch; margin-top: 16px; }

.cooking-art { margin-top: 24px; }
.plate { fill: var(--wash); stroke: var(--rule); stroke-width: 2; }
.plate-inner { fill: var(--paper); stroke: var(--rule); stroke-width: 2; }
.ingredient { transform-box: view-box; transform-origin: 50% 50%; --stir-angle: 24deg; }
.ingredient-a circle, .ingredient-b circle { fill: var(--accent); }
.ingredient-a path, .ingredient-b path { fill: var(--accent-ink); stroke: var(--accent-ink); stroke-width: 2; }
.ingredient-c { fill: var(--ink); --stir-angle: 32deg; }
.ingredient-b { --stir-angle: -20deg; }
.ingredient-d { stroke: var(--accent); stroke-width: 9; stroke-linecap: round; --stir-angle: -14deg; }
.stir-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 44px; padding: 11px 17px; margin-top: 20px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: var(--accent-ink); font-size: 12px; line-height: 1.4; }
.stir-button > span[aria-hidden] { font-size: 21px; line-height: 1; }
.stir-button:hover { background: transparent; color: var(--accent-text); }

.cinema-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-top: 24px; background: #101112; }
.cinema-picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(var(--cinema-inset,12%) 0); }
.frame-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 18px; align-items: center; margin-top: 16px; }
.frame-controls label { color: var(--muted); font-size: 12px; line-height: 1.5; }
.frame-controls output { color: var(--accent-text); font: 800 26px/1.1 Display,Arial,sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.frame-controls input[type='range'] { grid-column: 1 / -1; display: block; width: 100%; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; accent-color: var(--accent); cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.frame-controls input[type='range']::-webkit-slider-runnable-track { height: 2px; background: var(--muted); }
.frame-controls input[type='range']::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -9px; border: 1px solid var(--accent-ink); border-radius: 0; background: var(--accent); -webkit-appearance: none; appearance: none; }
.frame-controls input[type='range']::-moz-range-track { height: 2px; border: 0; background: var(--muted); }
.frame-controls input[type='range']::-moz-range-thumb { width: 18px; height: 18px; border: 1px solid var(--accent-ink); border-radius: 0; background: var(--accent); }
.frame-controls input[type='range']:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
html:not(.js) .passion-tabs, html:not(.js) .sport-switch, html:not(.js) .stir-button, html:not(.js) .frame-controls { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js.is-ready .name-first .name-word { animation: name-rise .72s cubic-bezier(.16,1,.3,1) .28s both; }
  .js.is-ready .name-last .name-word { animation: name-slide .78s cubic-bezier(.16,1,.3,1) .38s both; }
  .js .passion-art.is-in-view .sport-drawing.is-active .motion-route { animation: route-draw 1.35s cubic-bezier(.2,.65,.3,1) both; }
  .js .passion-art.is-in-view .sport-drawing.is-active .cycle-wheel { animation: wheel-turn 1.15s cubic-bezier(.18,.7,.25,1) both; }
  .js .passion-art.is-in-view .sport-drawing.is-active .gym-bar { animation: bar-lift 1s cubic-bezier(.25,.65,.3,1) both; }
  .js .cooking-art.is-stirring .ingredient { animation: ingredient-stir .75s cubic-bezier(.3,.15,.2,1) both; }
}
@keyframes name-rise { from { transform: translate3d(0,116%,0); } to { transform: translate3d(0,0,0); } }
@keyframes name-slide { from { transform: translate3d(-110%,0,0) scaleX(1.14); } to { transform: translate3d(0,0,0) scaleX(1); } }
@keyframes story-cut { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes route-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wheel-turn { from { transform: rotate(-150deg); } to { transform: rotate(0); } }
@keyframes bar-lift { 0%,100% { transform: translate3d(0,0,0); } 48% { transform: translate3d(0,-36px,0); } }
@keyframes ingredient-stir { 0%,100% { transform: rotate(0); } 50% { transform: rotate(var(--stir-angle)); } }

@media (max-width: 1000px) {
  .personal-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 35px; }
  .personal-gallery .personal-photo.train { width: min(100%,210px); margin-top: -55px; }
  .passion-tabs [role='tab'] { font-size: 11px; }
  .sport-switch button { padding-inline: 12px; }
}
@media (max-width: 800px) {
  .personal-layout { grid-template-columns: 1fr; gap: 45px; }
  .passion-console { order: -1; }
  .personal-gallery { width: min(100%,520px); margin-inline: auto; }
  .personal-gallery .personal-photo.venice { width: 100%; }
  .personal-gallery .personal-photo.train { width: min(100%,230px); margin-top: -95px; }
  .passion-head h3 { font-size: clamp(48px,8vw,68px); }
  .passion-art svg { max-height: 330px; }
}
@media (max-width: 650px) {
  .hero-name { gap: .13em; }
  .personal-layout { margin-top: 12px; gap: 37px; }
  .passion-tabs [role='tab'] { min-height: 48px; font-size: 11px; padding: 11px 8px; }
  .passion-panel { padding-top: 25px; }
  .passion-head h3 { font-size: clamp(44px,12vw,62px); margin-top: 12px; }
  .passion-head > p:not(.micro) { font-size: 16px; margin-top: 17px; }
  .sport-switch { gap: 7px; margin-top: 19px; }
  .sport-switch button { min-height: 42px; padding-inline: 14px; font-size: 10px; }
  .passion-art { margin-top: 18px; padding-block: 12px; }
  .passion-caption { font-size: 10px; margin-top: 14px; }
  .personal-gallery .personal-photo.venice { grid-column: 1 / 6; }
  .personal-gallery .personal-photo.train { grid-column: 3 / -1; width: min(100%,190px); margin-top: -75px; }
  .personal-gallery .personal-photo figcaption { font-size: 9px; }
  .cinema-frame { margin-top: 21px; }
  .frame-controls label { font-size: 11px; }
  .frame-controls output { font-size: 24px; }
  .stir-button { font-size: 11px; }
}
@media (max-width: 360px) {
  .passion-tabs [role='tab'] { font-size: 10px; padding-inline: 6px; }
  .sport-switch { gap: 6px; }
  .sport-switch button { padding-inline: 12px; }
  .passion-head h3 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-name .name-word { animation: none !important; transform: none !important; }
  .js.has-reveals [data-reveal], .js.has-reveals [data-reveal]:not(.countershot) > *, .js.has-reveals [data-reveal].is-visible:not(.countershot) > * { opacity: 1; clip-path: none; transition: none; }
  .js.has-reveals [data-reveal]:not(.countershot) > * { clip-path: none !important; transition: none !important; }
  .countershot .shot-result, .countershot::after { transition: none; }
  .countershot::after { display: none; }
  .story-inline.is-open { animation: none; clip-path: none; }
  .passion-art *, .cooking-art.is-stirring .ingredient { animation: none !important; }
  .motion-route { stroke-dashoffset: 0; }
  .stir-button { display: none; }
}

/* personal.css */
/* Studio 03: a compact, personal introduction and a readable route through it. */
:root { --guide-space: 180px; }
.personal-site { width: 100%; max-width: 1360px; margin-inline: auto; padding: 0 var(--gutter) calc(132px + env(safe-area-inset-bottom,0px)); }
.personal-site .hero, .personal-site .journey, .personal-site .personal, .personal-site .contact { max-width: none; margin-inline: 0; padding-inline: 0; }
.personal-site > section { scroll-margin-top: calc(var(--header-height) + 24px); }
.site-header nav a, .summary-link { min-height: 44px; display: inline-flex; align-items: center; }
.site-header .theme-toggle, .site-header .language-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }

.reading-guide { position: fixed; z-index: 60; bottom: calc(10px + env(safe-area-inset-bottom,0px)); left: 10px; right: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'current next' 'links links'; gap: 0 12px; width: auto; max-width: 650px; margin-inline: auto; padding: 8px 10px 7px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.guide-current { grid-area: current; align-self: center; min-width: 0; font-size: 11px; line-height: 1.4; color: var(--muted); }
.guide-next { grid-area: next; display: inline-flex; align-items: center; justify-content: end; gap: 12px; min-height: 44px; font-size: 11px; line-height: 1.4; color: var(--accent-text); }
.guide-links { grid-area: links; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; min-width: 0; }
.guide-links a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; color: var(--muted); text-decoration: none; }
.guide-links a > span:not(.guide-number) { display: none; }
.guide-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid transparent; border-radius: 50%; background: var(--paper); font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.guide-links a:hover { color: var(--ink); }
.guide-links a[aria-current='location'] { color: var(--ink); }
.guide-links a[aria-current='location'] .guide-number { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.guide-links a:focus-visible { outline-offset: -3px; }

.person-hero { padding-top: clamp(34px,4vw,60px); padding-bottom: 20px; }
.person-hero .hero-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: clamp(30px,5vw,75px); align-items: center; }
.person-hero .hero-intro { max-width: 590px; padding: 0; }
.person-hero .hero-name { display: block; margin: 0 0 24px; font-size: clamp(86px,8.3vw,118px); line-height: .9; letter-spacing: -.03em; white-space: normal; }
.person-hero .hello-line { display: block; font-size: clamp(30px,3.1vw,43px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 12px; }
.person-hero .hero-name .name-window { display: block; width: fit-content; max-width: 100%; padding: .1em .025em; margin: -.1em -.025em; }
.person-hero .hero-name .name-word { display: block; }
.person-hero .hero-intro > .micro { font-size: 9px; color: var(--accent-text); margin-bottom: 18px; }
.person-hero .hero-intro > .hero-lead { max-width: 39ch; font-size: clamp(18px,1.55vw,22px); line-height: 1.5; }
.now-line { display: flex; align-items: flex-start; gap: 9px; max-width: 48ch; margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.person-hero .hero-intro > .now-line { max-width: 48ch; font-size: 12px; line-height: 1.5; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 23px; }
.hero-actions .pill-link { min-height: 44px; font-size: 11px; padding: 11px 17px; gap: 21px; }
.hero-actions > a:not(.pill-link) { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: .25em; }

.person-hero .contact-sheet { width: 100%; max-width: 420px; justify-self: end; align-self: center; order: 0; overflow: visible; margin: 0; background: transparent; }
.contact-photo-stack { position: relative; isolation: isolate; width: 100%; height: 320px; margin: 8px 0 17px; }
.contact-photo-layer { position: absolute; inset: 8px 17px 8px 8px; z-index: 1; overflow: hidden; border: 1px solid var(--rule); background: #f2f1ec; transition: transform .42s cubic-bezier(.2,.7,.3,1); }
.contact-photo-layer[data-photo-layer='0'] { transform: translate3d(-6px,5px,0) rotate(-5deg); }
.contact-photo-layer[data-photo-layer='1'] { transform: translate3d(10px,-4px,0) rotate(4deg); }
.contact-photo-layer[data-photo-layer='2'] { transform: translate3d(2px,10px,0) rotate(-2deg); }
.contact-photo-layer.is-front { z-index: 3; transform: translate3d(0,0,0) rotate(0); }
.person-hero .contact-photo-layer img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 45%; transform: none; }
.person-hero .contact-photo-layer[data-photo-layer='0'] img { object-position: 50% 54%; }
.person-hero .contact-photo-layer[data-photo-layer='2'] img { object-position: 50% 32%; }
.hero-photo-slot { scroll-margin-top: 6px; }
.person-hero .contact-sheet figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; padding-top: 0; color: var(--muted); background: transparent; font-size: 10px; line-height: 1.5; }
.photo-count { color: var(--accent-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.photo-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--rule); margin-top: 13px; }
.photo-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 8px 4px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font: 500 10px/1.3 Body,Arial,sans-serif; }
.photo-controls button:hover { color: var(--ink); }
.photo-controls button[aria-pressed='true'] { color: var(--accent-text); border-bottom-color: var(--accent); }

.quick-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 29px 0 0; padding: 19px 0; border-block: 1px solid var(--rule); }
.quick-facts > div, .quick-facts > dl { min-width: 0; margin: 0; padding: 0 22px; border-left: 1px solid var(--rule); }
.quick-facts > div:first-child, .quick-facts > dl:first-child { padding-left: 0; border-left: 0; }
.quick-facts > div:last-child, .quick-facts > dl:last-child { padding-right: 0; }
.quick-facts dl { margin: 0; }
.quick-facts dt { color: var(--muted); font-size: 10px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; }
.quick-facts dd { margin: 7px 0 0; font-size: 16px; line-height: 1.4; }
.start-map { display: block; margin-top: 0; border-bottom: 0; }
.start-map > .micro { padding-block: 15px 11px; font-size: 9px; }
.start-map > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-block: 1px solid var(--rule); }
.start-map a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; min-width: 0; min-height: 66px; padding: 12px 17px; border-left: 1px solid var(--rule); font-size: 12px; line-height: 1.35; }
.start-map a:first-child { border-left: 0; padding-left: 0; }
.start-map a:last-child { padding-right: 0; }
.start-map a > span:first-child { color: var(--accent-text); font: 800 22px/1 Display,Arial,sans-serif; }
.start-map a > span:last-child { color: var(--accent-text); }

.section-label { font-size: 10px; line-height: 1.5; color: var(--accent-text); letter-spacing: .065em; text-transform: uppercase; }
.section-heading, .personal-site .section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 16px 7vw; align-items: end; padding: 0; margin-bottom: 30px; border: 0; }
.section-heading > .section-label, .section-heading > .micro { grid-column: 1 / -1; }
.section-heading h2, .chapter-title h2, .personal-site .section-head h2 { max-width: 19ch; font-size: clamp(46px,4.7vw,66px); line-height: .97; letter-spacing: -.022em; }
.section-heading > p:not(.micro):not(.section-label), .personal-site .section-head > p:not(.micro) { max-width: 43ch; color: var(--muted); font-size: 16px; line-height: 1.55; }
.path-section, .projects-section { padding-block: 56px; border-bottom: 1px solid var(--rule); }

/* The dates stay readable, with room for optional detail beside a single line. */
.path-line { position: relative; }
.path-line::before { content: ''; position: absolute; top: 22px; bottom: 22px; left: 21px; width: 1px; background: var(--rule); }
.path-step { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 24px; min-width: 0; padding-block: 22px; }
.path-index { position: relative; z-index: 1; display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--accent-text); font: 800 20px/1 Display,Arial,sans-serif; font-variant-numeric: tabular-nums; }
.path-step:last-child .path-index { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.path-info { min-width: 0; padding-top: 1px; }
.path-info h3 { font: 800 clamp(26px,2.4vw,34px)/1.1 Display,Arial,sans-serif; letter-spacing: -.012em; margin-bottom: 11px; }
.path-info > p { max-width: 69ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.path-info > p + p { margin-top: 13px; }
.path-detail { max-width: 760px; margin-top: 11px; }
.path-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; max-width: 100%; min-height: 44px; padding: 12px 0; color: var(--accent-text); font-size: 12px; line-height: 1.5; list-style: none; cursor: pointer; }
.path-detail summary::-webkit-details-marker { display: none; }
.path-detail summary::marker { content: ''; }
.path-detail summary [aria-hidden] { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 15px; font-size: 0; }
.path-detail summary [aria-hidden]::before { content: '+'; font-size: 18px; line-height: 1; transition: transform .2s ease; }
.path-detail[open] summary [aria-hidden]::before { transform: rotate(45deg); }
.path-detail summary:hover { text-decoration: underline; text-underline-offset: .23em; }
.path-detail summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.path-detail[open] summary { color: var(--ink); }
.path-detail > p, .path-detail > div { max-width: 69ch; color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 3px; }
.path-detail > p + p { margin-top: 13px; }
.path-extras { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 25px; padding-top: 24px; border-top: 1px solid var(--rule); }
.path-extras > div, .path-extras > article { min-width: 0; }
.path-extras > div + div, .path-extras > article + article { padding-left: 27px; border-left: 1px solid var(--rule); }
.path-extras h3 { font: 800 27px/1.1 Display,Arial,sans-serif; letter-spacing: -.01em; margin-bottom: 10px; }
.path-extras p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.path-extras .micro { margin-bottom: 10px; font-size: 9px; color: var(--accent-text); }
.now-note { max-width: 840px; margin-top: 27px; padding: 12px 0 12px 20px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 15px; line-height: 1.6; }
.now-note strong { color: var(--ink); font-weight: 500; }
.path-arrow, .path-arrow svg { display: block; width: 70px; height: auto; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; }
.path-arrow { margin: 14px 8% 0 auto; transform: rotate(-7deg); }

.film-overview { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(30px,5vw,65px); align-items: center; padding-block: 6px 34px; }
.project-intro { min-width: 0; }
.project-intro h3 { font: 800 clamp(30px,3vw,43px)/1.02 Display,Arial,sans-serif; letter-spacing: -.015em; margin-bottom: 15px; }
.project-intro > p { max-width: 44ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.project-facts-compact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 20px 0; padding-block: 15px; border-block: 1px solid var(--rule); }
.project-facts-compact > div { min-width: 0; }
.project-facts-compact dt { color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; }
.project-facts-compact dd { margin: 6px 0 0; font-size: 14px; line-height: 1.45; }
.project-facts-compact > dt { padding-top: 3px; }
.project-facts-compact > dd { margin: 0; }
.project-intro .pill-link { margin-top: 4px; min-height: 44px; }
.film-overview .countershot { aspect-ratio: auto; padding-top: calc(56.25% + 57px); }
.personal-site .project-pair { gap: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.personal-site .project-card h3 { font-size: clamp(28px,2.7vw,38px); margin-top: 13px; }
.personal-site .project-card p:not(.project-meta) { font-size: 15px; }
.personal-site .project-card .project-role, .personal-site .project-card .role-line { color: var(--accent-text); font-size: 11px; line-height: 1.5; margin-top: 10px; }
.personal-site .project-card .role-note { color: var(--accent-text); font-size: 11px; line-height: 1.5; margin-top: 10px; }
.personal-site .project-card .pill-link { margin-top: 18px; min-height: 44px; }
.exhibitions-overview > h3 { margin: 4px 0 18px; font: 800 clamp(27px,2.7vw,36px)/1.1 Display,Arial,sans-serif; letter-spacing: -.012em; }
.research-note { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,1fr); gap: 15px 28px; align-items: start; margin-top: 32px; padding-block: 24px; border-block: 1px solid var(--rule); }
.research-note h3 { font: 800 30px/1.05 Display,Arial,sans-serif; letter-spacing: -.01em; }
.research-note > p, .research-note > div > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.research-note details { grid-column: 2; margin-top: -6px; }
.research-note summary { min-height: 44px; padding-block: 12px; color: var(--accent-text); font-size: 12px; line-height: 1.5; cursor: pointer; }
.research-note details > p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.research-note summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.research-note { grid-template-columns: 65px minmax(0,1fr); }
.research-symbol { display: inline-flex; align-items: baseline; color: var(--accent-text); font: 800 65px/.9 Display,Arial,sans-serif; letter-spacing: -.04em; }
.research-symbol > span { align-self: start; margin: -3px 0 0 2px; font: 500 24px/1 Body,Arial,sans-serif; }
.research-note > div { min-width: 0; }
.research-note > div > .micro { margin-bottom: 10px; font-size: 9px; color: var(--accent-text); }
.research-note > div > h3 { margin-bottom: 13px; }
.research-note > div > details { margin-top: 8px; }
.approach-strip { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,1fr) auto; gap: 22px; align-items: center; padding-top: 27px; }
.approach-strip h3 { font: 800 28px/1.08 Display,Arial,sans-serif; letter-spacing: -.01em; }
.approach-strip > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.approach-strip .pill-link { min-height: 44px; }
.approach-strip { grid-template-columns: minmax(0,1fr) auto; }
.approach-strip > div > p { max-width: 65ch; margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Familiar project details are kept, with the same clear scale as the overview. */
.personal-site .story-inner { width: 100%; max-width: none; margin-inline: 0; }
.personal-site .story-body { padding-block: 33px; }
.personal-site .story-body > h2 { font-size: clamp(38px,4.3vw,62px); line-height: .98; }
.personal-site .story-lead { font-size: clamp(18px,1.7vw,22px); }
.personal-site .story-text { font-size: 16px; line-height: 1.65; }
.personal-site .story-columns p { font-size: 15px; }
.personal-site .story-collapse, .personal-site .image-collapse { min-height: 44px; }
.personal-site .film-grid { gap: 21px; }
.personal-site .film-grid h3 { font-size: 20px; }

.personal-site .personal { padding-block: 56px; }
.personal-site .personal-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(30px,4vw,55px); margin-top: 20px; }
.personal-site .personal-gallery { max-width: 400px; gap: 14px; }
.personal-site .personal-gallery .personal-photo.venice { width: min(100%,290px); }
.personal-site .personal-gallery .personal-photo.train { width: min(100%,185px); margin-top: -70px; }
.personal-site .passion-head h3 { font-size: clamp(32px,3.1vw,43px); line-height: 1.02; }
.personal-site .passion-head > p:not(.micro) { font-size: 16px; line-height: 1.6; margin-top: 15px; }
.personal-site .passion-panel { padding-top: 23px; }
.personal-site .passion-art { margin-top: 17px; padding-block: 9px; }
.personal-site .passion-art svg { max-height: 220px; }
.personal-site .sport-switch { margin-top: 18px; }
.personal-site .sport-switch button { min-height: 44px; }
.personal-site .passion-tabs [role='tab'] { min-height: 44px; font-size: 11px; padding-inline: 8px; }
.personal-site .passion-caption { margin-top: 12px; font-size: 10px; }
.personal-detail { max-width: 58ch; margin-top: 20px; padding: 4px 0 4px 16px; border-left: 2px solid var(--accent); color: var(--ink); font-size: 15px; line-height: 1.65; }
.personal-detail p + p { margin-top: 13px; }
.personal-detail strong { font-weight: 500; }
.interest-label { display: inline-flex; align-items: center; min-height: 28px; margin-right: 7px; padding: 4px 8px; border: 1px solid var(--rule); color: var(--accent-text); font-size: 10px; line-height: 1.3; letter-spacing: .025em; transform: rotate(-2deg); }

.newsletter-context { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; padding: 28px clamp(24px,4vw,60px) 0; border-top: 3px solid var(--accent); background: #202224; color: #f2f1ec; }
.newsletter-context h3 { max-width: 20ch; font: 800 clamp(28px,2.5vw,34px)/1.05 Display,Arial,sans-serif; letter-spacing: -.015em; }
.newsletter-context p { max-width: 49ch; color: #c7c9c3; font-size: 16px; line-height: 1.6; }
.newsletter-context strong { color: #f2f1ec; font-weight: 500; }
.personal-site .newsletter-stage { min-height: 0; gap: 29px; padding: 27px clamp(24px,4vw,60px) 32px; }
.personal-site .newsletter h2 { font-size: clamp(84px,13vw,185px); padding-block: 19px; }
.personal-site .newsletter-foot > p { font-size: 18px; }
.personal-site .newsletter-scene > .story-inline { padding-inline: clamp(24px,4vw,60px); }
.personal-site .contact { padding-top: 57px; padding-bottom: 27px; }
.personal-site .contact-main { display: block; }
.personal-site .contact h2 { font-size: clamp(48px,5.3vw,77px); line-height: .95; margin-top: 21px; }
.personal-site .email-link { font-size: 17px; margin-top: 25px; }
.personal-site .contact-actions { margin-top: 27px; }
.personal-site .footer-bottom { margin-top: 45px; }

@media (min-width: 1200px) {
  .personal-site { width: calc(100% - var(--guide-space)); margin-left: var(--guide-space); margin-right: auto; padding-bottom: 0; }
  .reading-guide { z-index: 40; inset: 140px auto auto clamp(24px,2.5vw,48px); display: grid; grid-template-columns: 1fr; grid-template-areas: 'current' 'links' 'next'; gap: 0; width: 135px; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
  .guide-current { margin-bottom: 13px; font-size: 10px; }
  .guide-links { position: relative; display: flex; flex-direction: column; gap: 0; }
  .guide-links::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 13px; width: 1px; background: var(--rule); }
  .guide-links a { justify-content: flex-start; gap: 10px; padding: 5px 0; font-size: 11px; line-height: 1.35; }
  .guide-links a > span:not(.guide-number) { display: inline; min-width: 0; }
  .guide-number { position: relative; z-index: 1; width: 27px; height: 27px; border-color: var(--rule); }
  .guide-next { justify-content: start; width: fit-content; margin-top: 14px; border-bottom: 1px solid var(--accent); font-size: 10px; }
}

@media (max-width: 1100px) {
  .film-overview { gap: 30px; }
  .person-hero .hero-grid { gap: 35px; }
  .person-hero .hero-name { font-size: 98px; }
  .person-hero .hello-line { font-size: 37px; }
}
@media (max-width: 900px) {
  :root { --header-height: 120px; }
  .site-header { min-height: 120px; row-gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .site-header nav a { min-height: 44px; padding-block: 0; }
  .person-hero { padding-top: 35px; }
  .person-hero .hero-name { font-size: 90px; }
  .person-hero .hello-line { font-size: 33px; }
  .person-hero .hero-intro > .hero-lead { font-size: 18px; }
  .contact-photo-stack { height: 290px; }
  .photo-controls button { font-size: 9px; }
  .quick-facts dd { font-size: 15px; }
  .quick-facts > div, .quick-facts > dl { padding-inline: 15px; }
  .quick-facts > div:first-child, .quick-facts > dl:first-child { padding-left: 0; }
  .quick-facts > div:last-child, .quick-facts > dl:last-child { padding-right: 0; }
  .start-map a { gap: 9px; padding-inline: 13px; font-size: 11px; }
  .start-map a:first-child { padding-left: 0; }
  .start-map a:last-child { padding-right: 0; }
  .section-heading, .personal-site .section-head { column-gap: 35px; }
  .section-heading h2, h2.chapter-title, .personal-site .section-head h2 { font-size: 53px; }
  .personal-site .personal-layout { gap: 30px; }
  .personal-site .personal-gallery .personal-photo.train { width: min(100%,170px); }
}
@media (max-width: 760px) {
  .person-hero .hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .person-hero .hero-intro { max-width: 620px; }
  .person-hero .hero-intro > .hero-lead { max-width: 43ch; }
  .person-hero .contact-sheet { justify-self: center; width: min(100%,360px); max-width: 360px; }
  .contact-photo-stack { height: 285px; }
  .photo-controls button { font-size: 10px; }
  .section-heading, .personal-site .section-head { display: block; }
  .section-heading > .section-label, .section-heading > .micro { margin-bottom: 17px; }
  .section-heading > p:not(.micro):not(.section-label), .personal-site .section-head > p:not(.micro) { max-width: 58ch; margin-top: 18px; font-size: 16px; }
  .film-overview { grid-template-columns: 1fr; gap: 26px; }
  .project-intro > p { max-width: 65ch; }
  .personal-site .personal-layout { grid-template-columns: 1fr; gap: 30px; }
  .personal-site .passion-console { order: -1; }
  .personal-site .personal-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,520px); max-width: 520px; gap: 18px; }
  .personal-site .personal-gallery .personal-photo.venice { grid-column: 1; width: 100%; }
  .personal-site .personal-gallery .personal-photo.train { grid-column: 2; width: 100%; max-width: 225px; margin-top: 38px; }
  .personal-site .passion-art svg { max-height: 205px; }
  .newsletter-context { grid-template-columns: 1fr; gap: 16px; }
  .personal-site .newsletter h2 { font-size: 18vw; }
}
@media (max-width: 550px) {
  .personal-site { padding-bottom: calc(126px + env(safe-area-inset-bottom,0px)); }
  .person-hero { padding-top: 29px; padding-bottom: 12px; }
  .person-hero .hero-grid { gap: 29px; }
  .person-hero .hero-name { margin-bottom: 20px; font-size: clamp(82px,22vw,105px); }
  .person-hero .hello-line { margin-bottom: 10px; font-size: 32px; }
  .person-hero .hero-intro > .micro { font-size: 8px; margin-bottom: 17px; }
  .person-hero .hero-intro > .hero-lead { font-size: 17px; line-height: 1.55; }
  .person-hero .hero-intro > .now-line { font-size: 11px; margin-top: 17px; }
  .hero-actions { gap: 8px 14px; margin-top: 18px; }
  .hero-actions .pill-link { padding: 10px 15px; font-size: 10px; gap: 17px; }
  .hero-actions > a:not(.pill-link) { font-size: 11px; }
  .person-hero .contact-sheet { width: min(100%,330px); }
  .contact-photo-stack { height: 270px; margin-bottom: 14px; }
  .person-hero .contact-sheet figcaption { font-size: 9px; }
  .photo-controls { margin-top: 10px; }
  .photo-controls button { font-size: 9px; min-height: 44px; }
  .quick-facts { grid-template-columns: 1fr; padding-block: 0; margin-top: 24px; }
  .quick-facts > div, .quick-facts > dl { display: grid; grid-template-columns: 81px minmax(0,1fr); gap: 15px; align-items: baseline; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .quick-facts > div:last-child, .quick-facts > dl:last-child { border-bottom: 0; }
  .quick-facts dt { font-size: 8px; line-height: 1.5; }
  .quick-facts dd { margin: 0; font-size: 14px; line-height: 1.5; }
  .start-map > .micro { font-size: 8px; padding-top: 14px; }
  .start-map > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .start-map a { min-height: 58px; padding: 12px; font-size: 10px; gap: 8px; }
  .start-map a:nth-child(odd) { padding-left: 0; border-left: 0; }
  .start-map a:nth-child(even) { padding-right: 0; }
  .start-map a:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .start-map a > span:first-child { font-size: 20px; }
  .path-section, .projects-section { padding-block: 43px; }
  .section-heading, .personal-site .section-head { margin-bottom: 25px; }
  .section-heading h2, h2.chapter-title, .personal-site .section-head h2 { font-size: 44px; line-height: 1; }
  .section-heading > p:not(.micro):not(.section-label), .personal-site .section-head > p:not(.micro) { font-size: 15px; line-height: 1.6; }
  .path-step { gap: 17px; padding-block: 20px; }
  .path-info h3 { font-size: 27px; }
  .path-info > p { font-size: 15px; }
  .path-detail summary { gap: 17px; font-size: 11px; }
  .path-detail > p, .path-detail > div { font-size: 14px; line-height: 1.65; }
  .path-extras { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; padding-top: 23px; }
  .path-extras > div + div, .path-extras > article + article { padding: 21px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .path-extras h3 { font-size: 26px; }
  .path-extras p { font-size: 14px; }
  .now-note { margin-top: 23px; padding-left: 15px; font-size: 14px; }
  .project-intro h3 { font-size: 32px; line-height: 1.05; }
  .project-intro > p { font-size: 15px; }
  .project-facts-compact { gap: 13px; margin-block: 18px; }
  .project-facts-compact dt { font-size: 8px; }
  .project-facts-compact dd { font-size: 13px; }
  .exhibitions-overview > h3 { font-size: 29px; margin-bottom: 16px; }
  .personal-site .project-pair { gap: 29px; padding-top: 20px; }
  .personal-site .project-card h3 { font-size: 32px; }
  .personal-site .project-card p:not(.project-meta) { font-size: 14px; }
  .personal-site .project-card .role-note { font-size: 10px; }
  .research-note { grid-template-columns: 40px minmax(0,1fr); gap: 17px; margin-top: 27px; padding-block: 23px; }
  .research-symbol { font-size: 47px; }
  .research-symbol > span { font-size: 17px; margin-left: 0; }
  .research-note > div > .micro { font-size: 8px; margin-bottom: 9px; }
  .research-note h3 { font-size: 29px; }
  .research-note > p, .research-note > div > p, .research-note details > p { font-size: 14px; }
  .approach-strip { grid-template-columns: 1fr; gap: 18px; padding-top: 23px; }
  .approach-strip h3 { font-size: 28px; }
  .approach-strip > div > p { font-size: 14px; }
  .approach-strip .pill-link { justify-self: start; }
  .personal-site .story-inner { width: 100%; }
  .personal-site .story-body > h2 { font-size: 39px; }
  .personal-site .story-lead { font-size: 18px; }
  .personal-site .film-grid { gap: 18px; }
  .personal-site .personal { padding-block: 44px; }
  .personal-site .personal-layout { gap: 28px; }
  .personal-site .passion-head h3 { font-size: 34px; }
  .personal-site .passion-head > p:not(.micro) { font-size: 15px; }
  .personal-site .passion-panel { padding-top: 22px; }
  .personal-site .passion-art svg { max-height: 175px; }
  .personal-site .sport-switch button { font-size: 10px; }
  .personal-detail { margin-top: 18px; padding-left: 14px; font-size: 14px; line-height: 1.65; }
  .personal-site .personal-gallery { gap: 16px; }
  .personal-site .personal-gallery .personal-photo.train { max-width: none; margin-top: 29px; }
  .interest-label { font-size: 9px; }
  .newsletter-context { padding: 25px 22px 0; gap: 14px; }
  .newsletter-context p { font-size: 15px; }
  .personal-site .newsletter-stage { gap: 26px; padding: 23px 22px 28px; }
  .personal-site .newsletter h2 { font-size: 20.5vw; padding-block: 17px; }
  .personal-site .newsletter-foot > p { font-size: 17px; }
  .personal-site .newsletter-scene > .story-inline { padding-inline: 22px; }
  .personal-site .contact { padding-top: 44px; }
  .personal-site .contact h2 { font-size: 48px; }
  .personal-site .email-link { font-size: 15px; gap: 15px; margin-top: 23px; }
  .guide-current { font-size: 10px; }
  .guide-next { font-size: 10px; gap: 9px; }
}
@media (max-width: 360px) {
  .person-hero .hero-name { font-size: 83px; }
  .person-hero .hello-line { font-size: 30px; }
  .person-hero .hero-intro > .hero-lead { font-size: 16px; }
  .contact-photo-stack { height: 245px; }
  .photo-controls button { font-size: 8px; }
  .quick-facts > div, .quick-facts > dl { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .section-heading h2, h2.chapter-title, .personal-site .section-head h2 { font-size: 41px; }
  .path-step { gap: 15px; }
  .path-info h3 { font-size: 25px; }
  .personal-site .email-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-photo-layer { transition: none; }
  .path-detail summary [aria-hidden]::before { transition: none; }
  .path-arrow { transform: none; }
}

.now-note > .micro { margin-bottom: 8px; color: var(--accent-text); }
.newsletter-context .newsletter-intro-title { color: #f2f1ec; font: 800 clamp(26px,2.6vw,36px)/1.08 Display,Arial,sans-serif; letter-spacing: -.015em; }
.curation-route { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: rooms; }
.curation-route li { min-width: 0; padding: 12px 8px; border-top: 2px solid var(--accent); background: var(--wash); color: var(--ink); font-size: 11px; line-height: 1.4; counter-increment: rooms; }
.curation-route li::before { content: counter(rooms,decimal-leading-zero); display: block; margin-bottom: 7px; color: var(--accent-text); font: 800 22px/1 Display,Arial,sans-serif; }

/* iteration.css */
/* Studio 04: real gestures, room for photographs, and a clearer working route. */
.hero-actions > a.scroll-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--accent-text);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}
.hero-actions .scroll-invitation > span:last-child,
.hero-actions .scroll-invitation svg { flex: 0 0 auto; width: 19px; height: 19px; color: var(--accent-text); }
.hero-actions .scroll-invitation:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.hero-actions .scroll-invitation:hover > span:last-child { transform: translateY(3px); }
.hero-actions .scroll-invitation:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.contact-photo-stack { touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; }
.contact-photo-stack:active { cursor: grabbing; }
.contact-photo-stack:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 10px; }
.contact-photo-stack img { pointer-events: none; -webkit-user-drag: none; }
.hero-swipe-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.hero-swipe-hint > [aria-hidden='true'] { flex: 0 0 auto; color: var(--accent-text); font-size: 15px; }

/* The work lives beside the path that led to it. */
.work-anchor { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--rule); color: var(--accent-text); scroll-margin-top: calc(var(--header-height) + 25px); }
.work-anchor + .path-extras { margin-top: 14px; padding-top: 0; border-top: 0; }
.path-extras .pill-link { min-height: 44px; margin-top: 18px; font-size: 11px; }
.path-section > .story-inline { margin-top: 24px; }
.path-section > .story-inline + .story-inline { margin-top: 0; }
.path-section > .approach-strip { margin-top: 28px; border-top: 1px solid var(--rule); }
.path-detail .research-note { grid-template-columns: 45px minmax(0,1fr); gap: 18px; margin-top: 20px; padding-block: 21px; }
.path-detail .research-symbol { font-size: 45px; }
.path-detail .research-symbol > span { font-size: 17px; margin-left: 1px; }
.path-detail .research-note h3 { font-size: 26px; line-height: 1.08; }
.path-detail .research-note > div > .micro { margin-bottom: 8px; font-size: 8px; }
.path-detail .research-note > div > p:not(.micro),
.path-detail .research-note details > p { font-size: 15px; line-height: 1.65; }
.path-detail .research-note details { margin-top: 8px; }
.now-note { max-width: 74ch; }
.now-note > .micro { color: var(--accent-text); margin-bottom: 9px; font-size: 9px; }

/* A gallery is a small, native horizontal strip, with explicit controls. */
.memory-gallery, .gallery-module, .sport-feed, .creation-gallery { min-width: 0; max-width: 100%; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.gallery-heading h4, .film-cover-placeholder h4, .film-cover-placeholder h5, .reel-preview h4 { margin: 0; }
.gallery-heading h4 { min-width: 0; font: 800 25px/1.1 Display,Arial,sans-serif; letter-spacing: -.012em; }
.gallery-heading > p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.gallery-arrows { display: inline-flex; flex: 0 0 auto; gap: 0; }
.gallery-arrows button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink); font: 500 18px/1 Body,Arial,sans-serif; cursor: pointer; }
.gallery-arrows button + button { margin-left: -1px; }
.gallery-arrows button:hover { position: relative; z-index: 1; border-color: var(--accent); color: var(--accent-text); }
.gallery-arrows button:disabled { color: var(--muted); cursor: default; opacity: .4; }
.gallery-arrows button:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--accent-text); outline-offset: -4px; }
.media-rail { display: flex; gap: 13px; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 0; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; padding: 0 0 10px; -webkit-overflow-scrolling: touch; }
.media-rail::-webkit-scrollbar { height: 3px; }
.media-rail::-webkit-scrollbar-track { background: transparent; }
.media-rail::-webkit-scrollbar-thumb { background: var(--rule); }
.media-rail:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.media-rail > * { min-width: 0; scroll-snap-align: start; }
.sport-feed[hidden], .passion-panel[hidden] { display: none !important; }
.sport-feed > h3 { margin-top: 23px; font: 800 27px/1.1 Display,Arial,sans-serif; letter-spacing: -.01em; }
.sport-feed > p { max-width: 56ch; margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sport-feed > .gallery-module { margin-top: 22px; }
.story-slot { flex: 0 0 clamp(140px,36%,160px); width: clamp(140px,36%,160px); margin: 0; }
.media-placeholder { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-width: 0; width: 100%; padding: 16px; border: 1px dashed var(--rule); background: var(--wash); color: var(--muted); }
.story-slot.media-placeholder, .story-slot > .media-placeholder { aspect-ratio: 9 / 16; }
.media-placeholder > .micro { max-width: 100%; font-size: 7px; line-height: 1.5; letter-spacing: .06em; }
.slot-number { color: var(--accent-text); font: 800 clamp(50px,5vw,65px)/.9 Display,Arial,sans-serif; letter-spacing: -.035em; }
.placeholder-label { max-width: 14ch; font-size: 10px; line-height: 1.5; }
.gallery-note { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.sport-feed .personal-detail { margin-top: 20px; }

/* Personal images remain genuine; empty positions are marked as work to add. */
.memory-gallery { align-self: start; }
.memory-gallery > .gallery-heading h4 { font-size: 25px; }
.memory-gallery .media-rail { gap: 14px; }
.memory-card { flex: 0 0 88%; width: 88%; margin: 0; }
.memory-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.memory-card > .media-placeholder { aspect-ratio: 4 / 5; padding: 22px; }
.memory-card .slot-number { font-size: clamp(65px,7vw,100px); }
.memory-card .placeholder-label { font-size: 12px; }
.memory-card figcaption { display: block; padding: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.memory-card figcaption strong { display: block; color: var(--ink); font-size: 12px; font-weight: 500; margin-bottom: 3px; }

/* A place for recipes and small experiments, without inventing finished work. */
.creation-gallery { margin-top: 24px; }
.creation-card { flex: 0 0 clamp(150px,44%,190px); width: clamp(150px,44%,190px); margin: 0; }
.creation-card > .media-placeholder { aspect-ratio: 4 / 5; padding: 16px; }
.creation-card .slot-number { font-size: 55px; }
.creation-card figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.creation-card figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 12px; margin-bottom: 3px; }

/* Titles and a reel position make the cinema selection readable in one glance. */
.letterboxd-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--accent-text); font-size: 10px; line-height: 1.5; letter-spacing: .065em; }
.letterboxd-heading h4 { font: 800 25px/1.1 Display,Arial,sans-serif; letter-spacing: -.012em; }
.letterboxd-heading a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; color: var(--accent-text); font-size: 10px; line-height: 1.5; text-decoration: underline; text-underline-offset: .25em; }
.film-favorites { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.film-favorite { min-width: 0; }
.film-cover-placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 13px; width: 100%; min-width: 0; aspect-ratio: 2 / 3; padding: 11px 10px; border: 1px dashed var(--rule); background: var(--wash); }
.film-cover-placeholder > span:first-child { color: var(--accent-text); font-size: 9px; font-variant-numeric: tabular-nums; }
.film-cover-placeholder h4, .film-cover-placeholder h5, .film-cover-placeholder strong { display: block; font: 800 clamp(18px,1.65vw,25px)/1.03 Display,Arial,sans-serif; letter-spacing: -.015em; overflow-wrap: anywhere; }
.film-cover-placeholder small { max-width: 11ch; color: var(--muted); font-size: 8px; line-height: 1.5; }
.film-favorite > h5, .film-favorite > p { margin-top: 9px; font-size: 11px; line-height: 1.5; }
.reel-preview { display: grid; grid-template-columns: minmax(0,150px) minmax(0,1fr); align-items: center; gap: 24px; margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--rule); }
.reel-placeholder { aspect-ratio: 9 / 16; padding: 15px; }
.reel-placeholder .slot-number { font-size: 51px; }
.reel-preview h4 { max-width: 14ch; font: 800 29px/1.05 Display,Arial,sans-serif; letter-spacing: -.015em; }
.reel-preview p { margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.reel-preview .micro, .reel-preview small { display: block; margin-top: 13px; color: var(--accent-text); font-size: 9px; line-height: 1.5; }

@media (min-width: 1001px) {
  .memory-gallery { position: sticky; top: calc(var(--header-height) + 30px); }
}
@media (max-width: 1000px) {
  .personal-site .personal-layout { gap: 30px; }
  .media-rail { gap: 11px; }
  .story-slot { flex-basis: 140px; width: 140px; }
  .film-favorites { gap: 8px; }
  .film-cover-placeholder { padding: 10px 8px; }
  .film-cover-placeholder h4, .film-cover-placeholder h5, .film-cover-placeholder strong { font-size: 20px; }
  .reel-preview { grid-template-columns: minmax(0,125px) minmax(0,1fr); gap: 18px; }
  .reel-preview h4 { font-size: 26px; }
}
@media (max-width: 760px) {
  .memory-gallery { width: 100%; max-width: 520px; justify-self: center; }
  .memory-card { flex-basis: 72%; width: 72%; }
  .memory-card img, .memory-card > .media-placeholder { aspect-ratio: 4 / 5; }
  .story-slot { flex-basis: 145px; width: 145px; }
  .creation-card { flex-basis: clamp(150px,39%,190px); width: clamp(150px,39%,190px); }
  .film-cover-placeholder h4, .film-cover-placeholder h5, .film-cover-placeholder strong { font-size: 25px; }
  .film-cover-placeholder { padding: 15px 12px; }
  .reel-preview { grid-template-columns: minmax(0,145px) minmax(0,1fr); gap: 23px; }
  .reel-preview h4 { font-size: 30px; }
}
@media (max-width: 550px) {
  .hero-actions > a.scroll-invitation { font-size: 11px; }
  .hero-swipe-hint { margin-top: 7px; font-size: 8px; }
  .contact-photo-stack:focus-visible { outline-offset: 7px; }
  .work-anchor { margin-top: 25px; padding-top: 21px; }
  .path-extras .pill-link { margin-top: 14px; font-size: 10px; }
  .path-section > .approach-strip { margin-top: 24px; }
  .path-detail .research-note { grid-template-columns: 35px minmax(0,1fr); gap: 15px; padding-block: 18px; }
  .path-detail .research-symbol { font-size: 39px; }
  .path-detail .research-symbol > span { font-size: 14px; }
  .path-detail .research-note h3 { font-size: 25px; }
  .path-detail .research-note > div > p:not(.micro), .path-detail .research-note details > p { font-size: 14px; }
  .gallery-heading { gap: 10px; margin-bottom: 9px; }
  .gallery-heading h4, .memory-gallery > .gallery-heading h4, .letterboxd-heading h4 { font-size: 24px; }
  .gallery-arrows button { width: 44px; min-width: 44px; }
  .media-rail { gap: 11px; padding-bottom: 9px; }
  .story-slot { flex-basis: 132px; width: 132px; }
  .media-placeholder { gap: 11px; padding: 14px; }
  .media-placeholder > .micro { font-size: 7px; }
  .slot-number { font-size: 52px; }
  .placeholder-label { font-size: 9px; }
  .sport-feed > h3 { font-size: 27px; margin-top: 20px; }
  .sport-feed > p { font-size: 14px; }
  .sport-feed > .gallery-module { margin-top: 18px; }
  .memory-card { flex-basis: 86%; width: 86%; }
  .memory-card > .media-placeholder { padding: 20px; }
  .memory-card .slot-number { font-size: 80px; }
  .memory-card .placeholder-label { font-size: 11px; }
  .memory-card figcaption { font-size: 10px; }
  .creation-gallery { margin-top: 20px; }
  .creation-card { flex-basis: 145px; width: 145px; }
  .creation-card > .media-placeholder { padding: 14px; }
  .creation-card .slot-number { font-size: 51px; }
  .film-favorites { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .film-cover-placeholder { padding: 16px; }
  .film-cover-placeholder h4, .film-cover-placeholder h5, .film-cover-placeholder strong { font-size: 30px; }
  .film-cover-placeholder small { font-size: 9px; }
  .letterboxd-heading { margin-top: 22px; padding-top: 20px; }
  .letterboxd-heading a { font-size: 9px; }
  .reel-preview { grid-template-columns: minmax(0,119px) minmax(0,1fr); gap: 18px; margin-top: 23px; padding-top: 22px; }
  .reel-preview h4 { font-size: 27px; }
  .reel-preview p { font-size: 13px; margin-top: 11px; }
  .reel-placeholder { padding: 13px; }
  .reel-placeholder .slot-number { font-size: 43px; }
}
@media (max-width: 360px) {
  .hero-actions > a.scroll-invitation { font-size: 10px; gap: 12px; }
  .gallery-heading h4, .memory-gallery > .gallery-heading h4 { font-size: 22px; }
  .story-slot { flex-basis: 127px; width: 127px; }
  .film-cover-placeholder { padding: 13px; }
  .film-cover-placeholder h4, .film-cover-placeholder h5, .film-cover-placeholder strong { font-size: 27px; }
  .reel-preview { grid-template-columns: minmax(0,105px) minmax(0,1fr); gap: 15px; }
  .reel-preview h4 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .media-rail { scroll-behavior: auto; scroll-snap-type: none; }
  .hero-actions .scroll-invitation:hover > span:last-child { transform: none; }
}

.path-detail .research-note h4 { font: 800 26px/1.08 Display,Arial,sans-serif; letter-spacing: -.01em; margin: 0 0 12px; }
.memory-polaroid img { object-fit: contain; background: var(--paper); }
@media (max-width:550px) { .path-detail .research-note h4 { font-size:25px; } }
html:not(.js) .gallery-arrows, html:not(.js) .hero-swipe-hint { display:none; }

/* mobile-guide.css */
/* A small reading control on phones; the desktop index keeps its own layout. */
.guide-toggle { display: none; }

@media (max-width: 1199px) {
  .personal-site { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

  .reading-guide {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    max-width: 480px;
    min-height: 60px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: 'toggle current next' 'links links links';
    gap: 0 7px;
    padding: 7px 8px;
    border: 1px solid var(--rule);
    border-radius: 30px;
    background: var(--paper);
    box-shadow: 0 5px 24px #00000012, 0 1px 4px #00000008;
    isolation: isolate;
    overflow: hidden;
  }
  .reading-guide::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(var(--guide-total, 0));
    transform-origin: left center;
    opacity: .75;
    pointer-events: none;
  }
  .js .guide-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--wash);
    color: var(--ink);
    cursor: pointer;
  }
  .guide-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .guide-toggle:hover { background: var(--rule); }
  .guide-toggle[aria-expanded='true'] { color: var(--accent-text); }
  .guide-toggle:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }
  .reading-guide .guide-current {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.3;
  }
  .guide-current > [data-guide-current] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .reading-guide .guide-next {
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 7px 8px;
    border: 0;
    border-radius: 22px;
    font-size: 11px;
    line-height: 1.25;
    color: var(--accent-text);
    white-space: nowrap;
    text-decoration: none;
  }
  .guide-next > [data-i18n='v.guide.next'] { display: none; }
  .guide-next > [data-guide-next] {
    display: block;
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .guide-next:hover { background: var(--wash); }
  .guide-next:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }

  .js .reading-guide:not(.is-open) .guide-links { display: none; }
  .reading-guide.is-open { border-radius: 24px; }
  .reading-guide .guide-links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 8px;
    min-width: 0;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid var(--rule);
  }
  .reading-guide .guide-links a {
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
    padding: 5px 7px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.25;
  }
  .reading-guide .guide-links a > span:not(.guide-number) { display: inline; min-width: 0; }
  .reading-guide .guide-links a:hover { background: var(--wash); }
  .reading-guide .guide-links a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }
  .reading-guide .guide-number {
    width: 24px;
    height: 24px;
    border: 0;
    color: var(--muted);
    background: var(--wash);
    font-size: 9px;
  }
  .reading-guide .guide-links a[aria-current='location'] .guide-number {
    color: var(--accent-ink);
    background: var(--accent);
  }

  /* With scripting unavailable the chapter links remain directly available. */
  html:not(.js) .reading-guide {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'current next' 'links links';
    border-radius: 24px;
  }
  @supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    @supports (background: color-mix(in srgb, white 90%, transparent)) {
      .reading-guide {
        background: color-mix(in srgb, var(--paper) 92%, transparent);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
      }
    }
  }
}

@media (max-width: 360px) {
  .reading-guide { left: 10px; right: 10px; width: calc(100% - 20px); gap: 0 3px; }
  .reading-guide .guide-current { font-size: 11px; }
  .reading-guide .guide-next { font-size: 10px; padding-inline: 6px; gap: 5px; }
  .guide-next > [data-guide-next] { max-width: 14ch; }
  .reading-guide .guide-links a { padding-inline: 5px; gap: 6px; font-size: 10px; }
}

/* experience.css */
/* Studio 05: one motion language, six graphic scenes, and familiar controls. */
:root {
  --ux-ease: cubic-bezier(.22, 1, .36, 1);
  --ux-fast: 180ms;
  --ux-enter: 560ms;
}
body { isolation: isolate; }
.personal-site { position: relative; z-index: 1; }
/* Apply the header clearance once for every native anchor and inline story. */
html { scroll-padding-top: calc(var(--header-height) + 18px); }
.personal-site > section,
.personal-site > footer,
.personal-site .story-inline,
.personal-site .work-anchor { scroll-margin-top: 0; }

/* The artwork changes chapter without becoming a second reading layer. */
.scene-backdrop {
  position: fixed;
  z-index: 0;
  inset: var(--header-height) -12vw 0 auto;
  width: min(82vw, 1120px);
  pointer-events: none;
  overflow: hidden;
  color: var(--ink);
  opacity: .085;
  contain: layout paint;
}
.scene-art { display: block; width: 100%; height: 100%; overflow: visible; }
.scene-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translate(40px, 25px) rotate(-7deg) scale(.92);
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: opacity 480ms ease, transform 950ms var(--ux-ease);
}
.scene-mark [stroke-width] { vector-effect: non-scaling-stroke; }
.scene-mark .scene-accent { color: var(--accent); stroke: var(--accent); stroke-width: 2; }
.scene-mark .scene-fill { fill: currentColor; stroke: none; }
.scene-mark .scene-fill.scene-accent { fill: var(--accent); }
.scene-backdrop[data-scene='0'] .scene-mark[data-scene='0'],
.scene-backdrop[data-scene='1'] .scene-mark[data-scene='1'],
.scene-backdrop[data-scene='2'] .scene-mark[data-scene='2'],
.scene-backdrop[data-scene='3'] .scene-mark[data-scene='3'],
.scene-backdrop[data-scene='4'] .scene-mark[data-scene='4'],
.scene-backdrop[data-scene='5'] .scene-mark[data-scene='5'] {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}
.scene-backdrop[data-scene='1'] .scene-mark[data-scene='1'] { transform: translate(-12px, 0) rotate(3deg) scale(1); }
.scene-backdrop[data-scene='3'] .scene-mark[data-scene='3'] { transform: translate(0, 0) rotate(-8deg) scale(1.04); }
.scene-backdrop[data-scene='5'] .scene-mark[data-scene='5'] { transform: translate(-12px, 0) rotate(0deg) scale(.94); }
.is-loading .scene-backdrop { visibility: hidden; }

/* Observed wrappers keep their natural dimensions. Only isolated children move. */
.ux-item {
  --ux-x: 0px;
  --ux-turn: -.7deg;
  opacity: 1;
  transform: none;
  transform-origin: 50% 70%;
}
.ux-motion .ux-item {
  transition: transform var(--ux-enter) var(--ux-ease), opacity 300ms ease;
  transition-delay: var(--ux-delay, 0ms);
}
.ux-item[data-motion='left'] { --ux-x: -28px; --ux-turn: -.8deg; }
.ux-item[data-motion='right'] { --ux-x: 28px; --ux-turn: .8deg; }
.ux-item[data-motion='turn'] { --ux-x: 10px; --ux-turn: 2deg; }
.ux-motion .ux-item[data-motion-state='before'] {
  opacity: 0;
  transform: translate3d(var(--ux-x), 32px, 0) rotate(var(--ux-turn));
}
.ux-motion .ux-item[data-motion-state='in'] { opacity: 1; transform: none; }
.ux-motion .ux-item[data-motion-state='after'] {
  opacity: 0;
  transform: translate3d(0, -20px, 0) rotate(0deg);
  transition-delay: 0ms;
}
.ux-motion .ux-item:focus-within { opacity: 1; transform: none; }
.ux-motion .ux-item[data-motion-state='in'] > .micro { text-decoration-color: transparent; }

/* The active stop reads as a small route marker, without pulsing forever. */
.path-index { transition: background var(--ux-fast) ease, color var(--ux-fast) ease, border-color var(--ux-fast) ease; }
.path-index::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.82);
  transition: transform 450ms var(--ux-ease), opacity 250ms ease;
  pointer-events: none;
}
.path-step.is-current .path-index { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.path-step.is-current .path-index::after { opacity: 1; transform: scale(1); }
.path-step:last-child.is-current .path-index { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* All action controls share the same response, radius and focus treatment. */
:where(button, summary, a) { -webkit-tap-highlight-color: transparent; }
:where(button, summary, a):focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
:where(.pill-link, .story-collapse, .image-collapse, .gallery-arrows button, .theme-toggle, .language-toggle, .sport-switch button, .passion-tabs [role='tab'], .photo-controls button, .guide-toggle, .guide-next) {
  touch-action: manipulation;
  transition: background var(--ux-fast) ease, color var(--ux-fast) ease, border-color var(--ux-fast) ease, transform 260ms var(--ux-ease), box-shadow var(--ux-fast) ease;
}
.personal-site :is(.pill-link, .story-collapse, .image-collapse) {
  min-height: 46px;
  border-radius: 999px;
  padding: 9px 15px 9px 18px;
  gap: 18px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
}
.personal-site :is(.pill-link, .story-collapse) > span[aria-hidden='true'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  background: var(--wash);
  color: var(--ink);
  transition: transform 320ms var(--ux-ease), background var(--ux-fast) ease, color var(--ux-fast) ease;
}
.personal-site .pill-link[aria-expanded='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.personal-site .pill-link[aria-expanded='true'] > span[aria-hidden='true'] { color: var(--accent-ink); background: var(--accent); }
.personal-site .story-collapse > span[aria-hidden='true'] { background: transparent; }
.personal-site :is(.pill-link, .story-collapse, .image-collapse):active,
:is(.gallery-arrows button, .theme-toggle, .language-toggle, .sport-switch button, .passion-tabs [role='tab'], .guide-toggle):active { transform: scale(.96); }
:is(.gallery-arrows button, .theme-toggle, .language-toggle):disabled { transform: none; }
.personal-site .gallery-arrows { gap: 6px; }
.personal-site .gallery-arrows button { border-radius: 50%; }
.personal-site .gallery-arrows button + button { margin-left: 0; }
.personal-site .passion-tabs { padding: 4px; gap: 4px; border: 1px solid var(--rule); border-radius: 18px; background: var(--wash); }
.personal-site .passion-tabs [role='tab'] { min-height: 44px; border: 0; border-radius: 13px; background: transparent; }
.personal-site .passion-tabs [role='tab'][aria-selected='true'] { background: var(--accent); color: var(--accent-ink); }
.personal-site .sport-switch { gap: 6px; }
.personal-site .sport-switch button { min-height: 44px; border-radius: 999px; }
.personal-site .sport-switch button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.personal-site .path-detail summary {
  padding-block: 11px;
  min-height: 46px;
  gap: 16px;
  text-decoration: none;
}
.personal-site .path-detail summary [aria-hidden] { width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 50%; }
.personal-site .path-detail[open] summary [aria-hidden] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.personal-site .path-detail summary [aria-hidden]::before { font-size: 18px; }
.personal-site .story-inline.is-open { animation: none; clip-path: none; }
.personal-site .story-inline.is-transitioning { overflow: hidden; overflow: clip; }
.personal-site .path-detail.is-transitioning { overflow: hidden; overflow: clip; }
.personal-site .story-inline:focus-within { outline: none; }
.personal-site .inline-story-top { min-height: 64px; }
.personal-site .inline-story-top > .micro { color: var(--accent-text); }
.personal-site .story-inline .story-inline { border-color: var(--rule); }

/* Small directional responses replace unrelated hover treatments. */
.site-header nav a::after { transition: transform 240ms var(--ux-ease); transform-origin: left; }
.site-header nav a:not([aria-current])::after { content: ''; position: absolute; inset: auto 0 3px; height: 2px; background: var(--accent); transform: scaleX(0); }
.start-map a > span:last-child,
.guide-next > span[aria-hidden],
.scroll-invitation > span:last-child { transition: transform 320ms var(--ux-ease); }
@media (hover: hover) and (pointer: fine) {
  .personal-site :is(.pill-link, .story-collapse, .image-collapse):hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
  .personal-site :is(.pill-link, .story-collapse):hover > span[aria-hidden='true'] { color: var(--accent-ink); background: transparent; transform: rotate(90deg); }
  .personal-site a.pill-link:hover > span[aria-hidden='true'] { transform: translateX(3px); }
  .personal-site .gallery-arrows button:not(:disabled):hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
  .theme-toggle:hover, .language-toggle:hover { transform: translateY(-2px); }
  .site-header nav a:hover::after { transform: scaleX(1); }
  .start-map a:hover > span:last-child { transform: translate(3px, -3px); }
  .guide-next:hover > span[aria-hidden] { transform: translateY(3px); }
  .path-detail summary:hover { color: var(--ink); }
  .path-detail summary:hover [aria-hidden] { border-color: var(--accent); }
}
@media (max-width: 1199px) {
  .scene-backdrop { right: -32vw; width: 110vw; opacity: .065; }
}
@media (max-width: 760px) {
  .scene-backdrop { top: calc(var(--header-height) + 20px); right: -58vw; width: 145vw; opacity: .06; }
  .scene-art { height: 100%; min-height: 630px; }
  .ux-item { --ux-turn: -.4deg; }
  .ux-item[data-motion='left'] { --ux-x: -16px; }
  .ux-item[data-motion='right'] { --ux-x: 16px; }
  .ux-motion .ux-item[data-motion-state='before'] { transform: translate3d(var(--ux-x), 24px, 0) rotate(var(--ux-turn)); }
  .personal-site .passion-tabs { border-radius: 16px; gap: 3px; padding: 3px; }
  .personal-site .passion-tabs [role='tab'] { border-radius: 12px; }
  .personal-site :is(.pill-link, .story-collapse, .image-collapse) { gap: 13px; font-size: 10px; padding-inline: 15px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-mark, .ux-motion .ux-item, .path-index, .path-index::after,
  :is(.pill-link, .story-collapse, .image-collapse, .gallery-arrows button, .theme-toggle, .language-toggle, .sport-switch button, .passion-tabs [role='tab'], .photo-controls button, .guide-toggle, .guide-next),
  .personal-site :is(.pill-link, .story-collapse) > span[aria-hidden='true'],
  .site-header nav a::after, .start-map a > span:last-child, .guide-next > span[aria-hidden], .scroll-invitation > span:last-child { transition: none !important; animation: none !important; }
  .ux-motion .ux-item[data-motion-state] { opacity: 1; transform: none; }
  .scene-mark { transform: none !important; }
  .personal-site :is(.pill-link, .story-collapse, .image-collapse):hover,
  .personal-site :is(.pill-link, .story-collapse) > span[aria-hidden='true'],
  .theme-toggle:hover, .language-toggle:hover,
  .start-map a:hover > span:last-child, .guide-next:hover > span[aria-hidden] { transform: none !important; }
}

/* Progress comes from the same chapter measurements as the reading guide. */
.scene-art { transform: translate3d(calc(var(--scene-progress, 0) * -12px), calc(var(--scene-progress, 0) * -24px), 0); }
.personal-site .path-detail[data-expanded='false'] summary [aria-hidden]::before { transform: rotate(0deg); }
.personal-site .path-detail[data-expanded='false'] summary [aria-hidden] { background: transparent; color: var(--accent-text); border-color: var(--rule); }
.ux-motion .passion-panel:not([hidden]) { animation: ux-panel-arrive 420ms var(--ux-ease) both; }
.ux-motion .sport-feed:not([hidden]) { animation: ux-feed-arrive 380ms var(--ux-ease) both; }
@keyframes ux-panel-arrive {
  from { transform: translate3d(0, 15px, 0) rotate(.35deg); }
  to { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes ux-feed-arrive {
  from { transform: translate3d(16px, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-art { transform: none; }
  .ux-motion .passion-panel:not([hidden]), .ux-motion .sport-feed:not([hidden]) { animation: none; }
}

/* blocks.css */
/* Studio 06: backgrounds belong to a block; the page remains one continuous read. */
:root { --header-height: 76px; --guide-space: 0px; }
.site-header { min-height: 76px; flex-wrap: nowrap; justify-content: space-between; gap: 20px; }
.site-header .header-actions { margin-left: auto; }
.site-header .brand { order: 0; }
.site-header .header-actions { order: 1; }
.personal-site { width: 100%; max-width: 1300px; margin-inline: auto; padding-bottom: calc(110px + env(safe-area-inset-bottom,0px)); }
.scene-backdrop { display: none; }
.hero-photo-slot { min-width: 0; width: 100%; max-width: 420px; justify-self: end; }
.hero-photo-slot .contact-sheet { max-width: none; }

/* Local artwork is clipped by its own block, never attached to the viewport. */
[data-block] { position: relative; isolation: isolate; }
[data-block] > :not(.block-art) { position: relative; z-index: 1; }
.work-section::before, [data-block='cooking']::before { content: ''; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -1); background: var(--wash); opacity: .42; pointer-events: none; }
.block-art { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; color: var(--ink); opacity: .11; contain: layout paint; }
.block-art .scene-art { position: absolute; width: min(83vw,880px); min-width: 480px; height: auto; aspect-ratio: 1; top: -70px; right: -13%; transform: none; overflow: visible; }
.block-art .scene-mark { display: none; opacity: 1; transform: translate(24px,18px) rotate(-8deg) scale(.94); transition: transform 1100ms var(--ux-ease); }
.block-art[data-scene='0'] .scene-mark[data-scene='0'],
.block-art[data-scene='1'] .scene-mark[data-scene='1'],
.block-art[data-scene='2'] .scene-mark[data-scene='2'],
.block-art[data-scene='3'] .scene-mark[data-scene='3'],
.block-art[data-scene='4'] .scene-mark[data-scene='4'],
.block-art[data-scene='5'] .scene-mark[data-scene='5'] { display: inline; }
.is-block-active > .block-art .scene-mark { transform: translate(0,0) rotate(0deg) scale(1); }
[data-block='intro'] > .block-art { opacity: .085; }
[data-block='intro'] > .block-art .scene-art { right: -12%; top: -55px; }
[data-block='path'] > .block-art .scene-art { right: -22%; top: 65px; }
[data-block='work'] > .block-art .scene-art { right: -16%; top: -95px; }
[data-block='movement'] > .block-art .scene-art { right: -26%; top: -130px; }
[data-block='cooking'] > .block-art .scene-art { right: -35%; top: -85px; }
[data-block='cinema'] > .block-art .scene-art { right: -20%; top: -100px; }
[data-block='memories'] > .block-art .scene-art { right: -24%; top: -180px; }
[data-block='method'] > .block-art { opacity: .12; }
[data-block='method'] > .block-art .scene-art { width: 700px; right: -22%; top: -90px; }
[data-block='notes'] > .block-art { color: #f2f1ec; opacity: .075; }

/* A single bottom dashboard works the same way on every screen. */
.reading-guide {
  --guide-side-gap: max(calc(var(--gutter) + 8px),calc(env(safe-area-inset-left,0px) + 8px),calc(env(safe-area-inset-right,0px) + 8px));
  z-index: 60;
  inset: auto 0 calc(10px + env(safe-area-inset-bottom,0px));
  width: clamp(0px,calc(100% - 2 * var(--guide-side-gap)),540px);
  max-width: 540px;
  min-height: 60px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  grid-template-areas: 'toggle current next' 'links links links';
  gap: 0 7px;
  margin-inline: auto;
  padding: 7px 8px;
  border: 1px solid var(--rule);
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 5px 24px #00000012, 0 1px 4px #00000008;
  isolation: isolate;
  overflow: hidden;
}
.reading-guide::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(var(--guide-total,0)); transform-origin: left center; opacity: .75; pointer-events: none; }
.js .reading-guide .guide-toggle { grid-area: toggle; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--wash); color: var(--ink); }
.reading-guide .guide-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reading-guide .guide-toggle[aria-expanded='true'] { color: var(--accent-text); }
.reading-guide .guide-current { grid-area: current; min-width: 0; margin: 0; color: var(--ink); font-size: 12px; line-height: 1.3; }
.reading-guide .guide-current > [data-guide-current] { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reading-guide .guide-next { grid-area: next; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-width: 44px; min-height: 44px; margin: 0; padding: 7px 8px; border: 0; border-radius: 22px; color: var(--accent-text); font-size: 11px; line-height: 1.25; white-space: nowrap; text-decoration: none; }
.reading-guide .guide-next > [data-i18n='v.guide.next'] { display: none; }
.reading-guide .guide-next > [data-guide-next] { display: block; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; }
.js .reading-guide:not(.is-open) .guide-links { display: none; }
.reading-guide.is-open { border-radius: 24px; }
.reading-guide .guide-links { grid-area: links; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; min-width: 0; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--rule); }
.reading-guide .guide-links::before { content: none; }
.reading-guide .guide-links a { justify-content: flex-start; gap: 8px; min-width: 0; min-height: 44px; padding: 5px 7px; border-radius: 12px; font-size: 11px; line-height: 1.25; }
.reading-guide .guide-links a > span:not(.guide-number) { display: inline; min-width: 0; overflow-wrap: anywhere; }
.reading-guide .guide-number { width: 24px; height: 24px; border: 0; color: var(--muted); background: var(--wash); font-size: 9px; }
.reading-guide .guide-links a[aria-current='location'] .guide-number { color: var(--accent-ink); background: var(--accent); }
.reading-guide .guide-links a:hover, .reading-guide .guide-next:hover { background: var(--wash); }
.reading-guide :is(a,button):focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }
html:not(.js) .reading-guide { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'current next' 'links links'; border-radius: 24px; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  @supports (background: color-mix(in srgb,white 90%,transparent)) {
    .reading-guide { background: color-mix(in srgb,var(--paper) 92%,transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  }
}

/* Distinct editorial blocks replace the collection at the end of the timeline. */
.personal-site .path-section { padding-block: 56px 44px; }
.work-section { padding-block: 54px 28px; border-bottom: 1px solid var(--rule); }
.work-entry { padding-block: 30px; border-top: 1px solid var(--rule); }
.work-entry-head { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 13px 50px; align-items: start; }
.work-entry-head > h3 { grid-column: 1; grid-row: 1 / span 3; max-width: 16ch; margin: 0; font: 800 clamp(32px,4vw,52px)/1.02 Display,Arial,sans-serif; letter-spacing: -.025em; }
.work-entry-head > p, .work-entry-head > .path-detail { grid-column: 2; max-width: 64ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.work-entry-head > .pill-link { grid-column: 2; justify-self: start; margin-top: 4px; }
.work-entry-head > div { min-width: 0; }
.work-entry-head > div > p { max-width: 64ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.work-entry-head > div > .pill-link { margin-top: 18px; }
.path-detail .egart-extras { margin: 24px 0 10px; color: var(--ink); font: 800 26px/1.1 Display,Arial,sans-serif; }
.work-entry > .story-inline { margin-top: 26px; padding-inline: clamp(0px,1.5vw,20px); border-top: 2px solid var(--accent); background: var(--paper); }
.personal-site .work-entry .project-pair { display: grid; grid-template-columns: 1fr; gap: 32px; }
.work-entry .project-card { padding-block: 25px; border-top: 1px solid var(--rule); }
.work-entry .project-card:first-child { border-top: 0; padding-top: 0; }
.work-entry .project-card .title-cover { max-width: 720px; }
.work-entry .project-card-head { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 30px; align-items: start; }
.work-entry .project-card-copy { min-width: 0; }
.work-entry .project-card-copy .project-meta { margin-top: 0; }
.work-entry .project-card-copy h3 { margin-top: 13px; font-size: clamp(28px,3vw,39px); }
.work-entry .project-card > .story-inline { margin-top: 24px; }
.work-entry .collection-story .story-body { padding-top: 22px; }
.work-entry .film-overview { padding-bottom: 25px; }
.current-work { margin-top: 14px; padding-block: 18px 7px; border-top: 0; }
.current-work > .path-detail { width: 100%; max-width: none; margin: 0; }
.personal-site .current-work > .path-detail > summary { width: 100%; min-height: 66px; gap: 30px; padding-block: 14px; color: var(--ink); font: 800 clamp(26px,3vw,36px)/1.1 Display,Arial,sans-serif; letter-spacing: -.02em; }
.current-work .path-detail summary [aria-hidden] { width: 30px; height: 30px; }
.current-work .now-note { margin-top: 10px; margin-bottom: 17px; max-width: 75ch; }

/* A compact working method is readable before its optional explanation opens. */
.method-section {
  --paper: #202224;
  --ink: #f2f1ec;
  --muted: #b7b9b4;
  --rule: #f2f1ec32;
  --wash: #2b2e30;
  --accent-text: #ff7058;
  margin-block: 34px 20px;
  padding: clamp(28px,4vw,52px);
  color: var(--ink);
  background: var(--paper);
}
.method-section .section-heading { gap: 16px 35px; margin-bottom: 29px; }
.method-section .section-heading > h2 { max-width: 10ch; }
.method-section .section-heading > p:not(.micro) { color: var(--muted); }
.method-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin: 0 0 27px; padding: 25px 0 0; list-style: none; border-top: 1px solid var(--rule); }
.method-steps > li { min-width: 0; }
.method-number { display: block; color: var(--accent); font: 800 42px/.9 Display,Arial,sans-serif; letter-spacing: -.03em; }
.method-steps h3 { margin: 17px 0 9px; font: 800 clamp(25px,2.4vw,32px)/1.05 Display,Arial,sans-serif; letter-spacing: -.015em; }
.method-steps p { max-width: 34ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.method-section > .pill-link { color: var(--ink); border-color: var(--rule); }
.method-section > .story-inline { margin-top: 26px; }
.method-section .story-body > h2 { max-width: 18ch; }
.method-section .story-columns h3 { color: var(--ink); }

/* Each interest is another part of the page, with no panels to discover. */
.personal-site .personal { padding-block: 45px 20px; }
.personal-flow { display: block; min-width: 0; }
.hobby-block { padding-block: 42px; border-top: 1px solid var(--rule); }
.hobby-heading { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 14px 50px; align-items: end; margin-bottom: 30px; }
.hobby-heading > .micro { grid-column: 1 / -1; color: var(--accent-text); }
.hobby-heading h3 { margin: 0; max-width: 16ch; font: 800 clamp(38px,4.6vw,62px)/.98 Display,Arial,sans-serif; letter-spacing: -.025em; }
.hobby-heading > p:not(.micro) { max-width: 60ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.sports-flow { display: grid; gap: 25px; }
.sport-chapter { display: grid; grid-template-columns: minmax(0,.58fr) minmax(0,1fr); gap: 25px 40px; padding-block: 22px 9px; border-top: 1px solid var(--rule); }
.sport-chapter > .sport-intro, .sport-chapter > header { min-width: 0; }
.sport-chapter h4, .sport-chapter h3 { margin: 0 0 10px; font: 800 30px/1.05 Display,Arial,sans-serif; letter-spacing: -.015em; }
.sport-chapter > .sport-intro > p, .sport-chapter > header > p, .sport-chapter > p { max-width: 44ch; color: var(--muted); font-size: 15px; line-height: 1.65; }
.sport-chapter > .sport-feed, .sport-chapter > .gallery-module { margin-top: 0; min-width: 0; }
.sport-chapter > .sport-feed > .gallery-module { margin-top: 0; }
.sport-chapter .gallery-heading h4 { font: 800 21px/1.1 Display,Arial,sans-serif; margin: 0; }
.sport-chapter .gallery-heading h5 { margin: 0; font: 800 21px/1.1 Display,Arial,sans-serif; letter-spacing: -.012em; }
.sport-chapter .story-slot { flex: 0 0 130px; width: 130px; }
.sport-chapter .story-slot .slot-number { font-size: 48px; }
.hobby-block .personal-detail { max-width: 76ch; }
.hobby-block .creation-gallery { margin-top: 28px; }
.hobby-block .creation-card { flex-basis: clamp(160px,21%,210px); width: clamp(160px,21%,210px); }
.hobby-block .film-favorites { gap: clamp(12px,2vw,25px); margin-top: 21px; }
.film-poster { margin: 0; }
.film-poster img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--rule); background: var(--wash); }
.film-poster figcaption { margin-top: 12px; color: var(--ink); font: 800 clamp(18px,2vw,25px)/1.1 Display,Arial,sans-serif; letter-spacing: -.015em; }
.film-poster figcaption > span { display: block; color: var(--accent-text); font: 500 9px/1.5 Body,Arial,sans-serif; margin-bottom: 5px; }
.film-poster figcaption h4 { margin: 0; font: inherit; }
.hobby-block .reel-preview { grid-template-columns: minmax(0,145px) minmax(0,1fr); margin-top: 30px; gap: 30px; }
.hobby-block .reel-preview h4 { max-width: 18ch; font-size: clamp(29px,3.5vw,44px); }
.personal-memories { padding-block: 38px 24px; border-top: 1px solid var(--rule); }
.personal-memories .memory-gallery { position: static; width: 100%; max-width: none; }
.personal-memories.memory-gallery { position: relative; top: auto; width: 100%; max-width: none; }
.personal-memories .memory-card { flex-basis: clamp(230px,29%,350px); width: clamp(230px,29%,350px); }
.personal-memories .memory-card img, .personal-memories .memory-card > .media-placeholder { aspect-ratio: 4 / 5; }
.personal-memories .memory-card figcaption { max-width: 38ch; }
.personal-memories .gallery-heading { margin-bottom: 19px; }
.personal-memories .gallery-heading h4 { font-size: clamp(29px,3.3vw,43px); }
.personal-memories .gallery-heading h3 { margin: 0; font: 800 clamp(29px,3.3vw,43px)/1.1 Display,Arial,sans-serif; letter-spacing: -.015em; }

/* Small linear accents make the entrance legible without adding more fades. */
.section-heading, .hobby-heading { --rule-scale: 0; }
.is-block-active > .section-heading, .is-block-active > .hobby-heading { --rule-scale: 1; }
.hobby-heading::after { content: ''; grid-column: 1 / -1; width: 50px; height: 3px; margin-top: 7px; background: var(--accent); transform: scaleX(var(--rule-scale)); transform-origin: left; transition: transform 720ms var(--ux-ease); }
.ux-motion .method-steps .ux-item[data-motion-state='before'] { transform: translate3d(0,24px,0) rotate(0deg); }
.ux-motion .film-favorite.ux-item[data-motion-state='before'] { opacity: 1; transform: translate3d(0,42px,0) rotate(2deg); }
.ux-motion .film-favorite.ux-item[data-motion-state='in'] { transform: none; }
/* Reveal the lettering itself; its observed header retains a stable outline. */
.ux-motion :is(.section-heading,.hobby-heading,.sport-intro) > :is(h2,h3,h4).ux-item {
  opacity: 1;
  transition: transform 650ms var(--ux-ease), clip-path 650ms var(--ux-ease);
  transition-delay: var(--ux-delay,0ms);
}
.ux-motion :is(.section-heading,.hobby-heading,.sport-intro) > :is(h2,h3,h4).ux-item[data-motion-state='before'] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0,24px,0) skewY(1.5deg);
}
.ux-motion :is(.section-heading,.hobby-heading,.sport-intro) > :is(h2,h3,h4).ux-item[data-motion-state='in'] {
  clip-path: inset(-12% -3% -15% -3%);
  transform: none;
}
.ux-motion :is(.section-heading,.hobby-heading,.sport-intro) > :is(h2,h3,h4).ux-item[data-motion-state='after'] {
  opacity: 1;
  clip-path: inset(100% 0 0 0);
  transform: translate3d(0,-14px,0);
  transition-delay: 0ms;
}
.ux-motion .hero-photo.ux-item[data-motion-state='before'] { opacity: 1; transform: translate3d(20px,35px,0) rotate(4deg) scale(.97); }
.method-steps > li { position: relative; }
.method-steps > li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 650ms var(--ux-ease); }
.method-steps > li.is-current::after { transform: scaleX(1); }
.film-poster img { object-fit: contain; background: #17191a; }
.film-poster { position: relative; }
.film-poster::before { content: ''; position: absolute; left: -5px; right: -5px; top: -5px; height: 14px; border-top: 1px solid var(--accent); opacity: 0; transform: scaleX(.8); transition: transform 350ms var(--ux-ease), opacity 200ms ease; pointer-events: none; }
@media (hover:hover) and (pointer:fine) {
  .film-poster img { transition: transform 450ms var(--ux-ease); }
  .film-poster:hover img { transform: translateY(-5px) rotate(-.7deg); }
  .film-poster:hover::before { opacity: 1; transform: scaleX(1); }
}

@media (max-width:900px) {
  :root { --header-height: 72px; }
  .site-header { min-height: 72px; padding-block: 12px; row-gap: 0; }
  .work-entry-head, .hobby-heading { column-gap: 30px; }
  .method-steps { gap: 20px; }
  .sport-chapter { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); column-gap: 25px; }
}
@media (max-width:760px) {
  .reading-guide { grid-template-columns: 44px minmax(0,1fr) minmax(44px,.9fr); }
  .reading-guide .guide-next { width: 100%; max-width: 100%; padding-inline: 6px; gap: 5px; }
  .reading-guide .guide-next > [data-guide-next] { min-width: 0; flex: 1 1 auto; }
  .hero-photo-slot { max-width: 360px; width: min(100%,360px); justify-self: center; }
  .site-header { gap: 14px; }
  .work-section { padding-block: 42px 22px; }
  .work-entry { padding-block: 26px; }
  .work-entry-head, .hobby-heading { display: block; }
  .work-entry-head > h3 { max-width: 20ch; font-size: 36px; margin-bottom: 15px; }
  .work-entry-head > p { font-size: 15px; }
  .work-entry-head > .pill-link { margin-top: 18px; }
  .work-entry > .story-inline { padding-inline: 0; margin-top: 23px; }
  .work-entry .project-card-head { grid-template-columns: 1fr; gap: 20px; }
  .method-section { margin-block: 22px 10px; padding: 30px 24px; }
  .method-steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 24px; padding-top: 5px; }
  .method-steps > li { display: grid; grid-template-columns: 40px minmax(0,1fr); column-gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--rule); }
  .method-steps > li::after { bottom: 0; }
  .method-number { font-size: 36px; }
  .method-steps .method-copy { min-width: 0; }
  .method-steps h3 { font-size: 27px; margin: 0 0 9px; }
  .method-steps p { max-width: 55ch; font-size: 14px; }
  .method-steps > li > h3, .method-steps > li > p { grid-column: 2; }
  .method-steps > li > .method-number { grid-column: 1; grid-row: 1 / span 2; }
  .hobby-block { padding-block: 33px; }
  .hobby-heading { margin-bottom: 25px; }
  .hobby-heading > .micro { margin-bottom: 16px; }
  .hobby-heading h3 { max-width: 17ch; font-size: 43px; }
  .hobby-heading > p:not(.micro) { margin-top: 17px; font-size: 15px; }
  .hobby-heading::after { display: block; margin-top: 22px; }
  .sport-chapter { grid-template-columns: 1fr; gap: 20px; padding-block: 22px 7px; }
  .sport-chapter h4, .sport-chapter h3 { font-size: 30px; }
  .sport-chapter > .sport-intro > p, .sport-chapter > header > p, .sport-chapter > p { max-width: 58ch; }
  .sport-chapter .story-slot { flex-basis: 140px; width: 140px; }
  .hobby-block .film-favorites { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 14px; }
  .film-poster figcaption { font-size: 23px; }
  .hobby-block .reel-preview { gap: 23px; grid-template-columns: minmax(0,130px) minmax(0,1fr); }
  .hobby-block .reel-preview h4 { font-size: 29px; }
  .personal-memories .memory-card { flex-basis: 75%; width: 75%; }
  .block-art { opacity: .075; }
  .block-art .scene-art { width: 640px; min-width: 640px; right: -340px; top: 0; }
  [data-block='intro'] > .block-art .scene-art { right: -340px; top: 10px; }
  [data-block='path'] > .block-art .scene-art { right: -350px; top: 140px; }
  [data-block='work'] > .block-art .scene-art { right: -340px; top: 40px; }
  [data-block='method'] > .block-art .scene-art { width: 600px; right: -335px; top: 0; }
  [data-block='movement'] > .block-art .scene-art { right: -350px; top: 30px; }
  [data-block='cooking'] > .block-art .scene-art { right: -380px; top: 0; }
  [data-block='cinema'] > .block-art .scene-art { right: -340px; top: 5px; }
  [data-block='memories'] > .block-art .scene-art { right: -340px; top: -90px; }
}
@media (max-width:360px) {
  .site-header { gap: 10px; }
  .site-header .summary-link { margin-right: 3px; font-size: 10px; }
  .site-header .header-actions { gap: 6px; }
  .reading-guide { gap: 0 3px; }
  .reading-guide .guide-current { font-size: 11px; }
  .reading-guide .guide-next { font-size: 10px; padding-inline: 6px; gap: 5px; }
  .reading-guide .guide-next > [data-guide-next] { max-width: 14ch; }
  .method-section { padding-inline: 19px; }
  .method-steps > li { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  .method-steps h3 { font-size: 25px; }
  .hobby-heading h3 { font-size: 39px; }
  .film-poster figcaption { font-size: 20px; }
  .hobby-block .reel-preview { grid-template-columns: minmax(0,105px) minmax(0,1fr); gap: 18px; }
  .hobby-block .reel-preview h4 { font-size: 25px; }
}
@media (prefers-reduced-motion:reduce) {
  .block-art .scene-mark, .hobby-heading::after, .film-poster img { transition: none !important; transform: none !important; }
  .ux-motion .film-favorite.ux-item[data-motion-state] { opacity: 1; transform: none; }
  .ux-motion :is(.section-heading,.hobby-heading,.sport-intro) > :is(h2,h3,h4).ux-item[data-motion-state] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .method-steps > li::after, .film-poster::before { transition: none; transform: none; }
  .ux-motion .hero-photo.ux-item[data-motion-state] { opacity: 1; transform: none; }
}

/* refinements.css */
/* Studio 07: compact stories, native image rails and a single newsletter panel. */
.exhibition-gallery { min-width: 0; margin: 25px 0 22px; }
.exhibition-gallery .gallery-heading { gap: 15px; margin-bottom: 14px; }
.exhibition-gallery .gallery-heading h3 { margin: 0; font: 800 25px/1.1 Display,Arial,sans-serif; }
.exhibition-gallery-controls { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.gallery-position { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.exhibition-rail { gap: 16px; scroll-snap-type: x mandatory; align-items: flex-start; }
.exhibition-rail .exhibition-slide { flex: 0 0 min(78%,700px); min-width: 0; max-width: none; margin: 0; scroll-snap-align: start; }
.exhibition-slide .image-open { display: block; width: 100%; height: clamp(220px,30vw,360px); background: var(--wash); }
.exhibition-slide .image-open img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; }
.exhibition-slide figcaption { min-height: 25px; padding-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.exhibition-rail .exhibition-slide.is-enlarged { flex-basis: 100%; }
.exhibition-slide.is-enlarged .image-open { height: min(65svh,580px); }
.exhibition-slide .image-collapse { margin-top: 10px; min-height: 44px; }
#story-dysutopia, #story-velo { border-top: 2px solid var(--accent); }
:is(#story-dysutopia,#story-velo) > .story-inner > .inline-story-top { position: sticky; top: var(--header-height); z-index: 5; min-height: 62px; padding-block: 8px; background: var(--paper); }
:is(#story-dysutopia,#story-velo) .story-body { padding-block: 23px; }
:is(#story-dysutopia,#story-velo) .story-body > .eyebrow { display: none; }
:is(#story-dysutopia,#story-velo) .story-body > h2 { font-size: clamp(31px,3vw,43px); margin-bottom: 14px; }
:is(#story-dysutopia,#story-velo) .story-lead { max-width: 76ch; font-size: 16px; margin-top: 0; }
:is(#story-dysutopia,#story-velo) .project-facts { margin-block: 20px 0; padding-block: 13px; }
:is(#story-dysutopia,#story-velo) .story-text { margin-top: 23px; max-width: 80ch; }
:is(#story-dysutopia,#story-velo) .story-sequence { margin-top: 22px; padding-top: 20px; }
:is(#story-dysutopia,#story-velo) .inline-story-bottom { padding-block: 15px 20px; }

.cooking-quote { max-width: 900px; margin: 22px 0 34px; padding: 8px 0 8px 24px; border-left: 3px solid var(--accent); }
.cooking-quote > p { max-width: 34ch; color: var(--ink); font: 800 clamp(29px,3.5vw,43px)/1.1 Display,Arial,sans-serif; letter-spacing: -.015em; }
.cooking-quote footer { margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cooking-quote cite { font-style: normal; }
.quote-translation { display: block; margin-top: 4px; }
html[lang='it'] .quote-translation { display: none; }
.bear-quote { margin-top: 32px; margin-bottom: 0; }

/* The expanded story grows within the existing dark card. */
.personal-site .newsletter-stage {
  --paper: #202224; --ink: #f2f1ec; --muted: #c7c9c3; --rule: #f2f1ec32; --wash: #2b2e30; --accent-text: #ff7058;
  gap: 0;
}
.newsletter-stage > #newsletter-title { margin-top: 28px; }
.newsletter-stage > .newsletter-foot { margin-top: 30px; }
.newsletter-stage > #story-newsletter { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); }
#story-newsletter > .story-inner { padding-top: 25px; }
#story-newsletter .inline-story-top { min-height: 54px; padding-block: 10px; border-top: 1px solid var(--rule); }
#story-newsletter .inline-story-top > .micro { display: none; }
#story-newsletter .inline-story-top > button { margin-left: auto; }
#story-newsletter .inline-story-top { display: none; }
#story-newsletter > .story-inner { margin-top: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
#story-newsletter .story-body { padding-block: 23px; }
#story-newsletter .story-body > .eyebrow { margin-bottom: 15px; }
#story-newsletter .story-body > h2 { font-size: clamp(34px,4vw,52px); }
#story-newsletter .device-stage { max-width: 850px; gap: 26px; margin: 25px auto 28px; grid-template-columns: minmax(0,3fr) minmax(0,1fr); }
#story-newsletter .editorial-preview-tall { max-width: 160px; }
#story-newsletter .story-columns { margin-top: 25px; }
#story-newsletter .inline-story-bottom { padding-block: 14px 8px; }
#story-newsletter .podcast-links { margin-top: 22px; }
.personal-site .pill-link[aria-expanded='true']:hover > span[aria-hidden='true'] { transform: none; }

@media (max-width:760px) {
  .hobby-block .film-favorites { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  .film-poster img { border-radius: 4px; }
  .film-poster figcaption { margin-top: 7px; }
  .film-poster figcaption h4 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .exhibition-gallery .gallery-heading h3 { font-size: 23px; }
  .exhibition-gallery-controls { gap: 9px; }
  .exhibition-rail { gap: 12px; }
  .exhibition-rail .exhibition-slide { flex-basis: 91%; }
  .exhibition-slide .image-open { height: clamp(180px,54vw,270px); }
  .exhibition-slide.is-enlarged .image-open { height: min(58svh,420px); }
  :is(#story-dysutopia,#story-velo) .story-lead { font-size: 15px; }
  :is(#story-dysutopia,#story-velo) .story-body > h2 { font-size: 31px; }
  :is(#story-dysutopia,#story-velo) .inline-story-top > .micro { max-width: 120px; font-size: 8px; }
  .cooking-quote { padding-left: 18px; margin-block: 20px 28px; }
  .cooking-quote > p { font-size: 31px; }
  .bear-quote { margin-bottom: 0; }
  #story-newsletter .device-stage { gap: 14px; }
  #story-newsletter .story-body > h2 { font-size: 34px; }
}
@media (max-width:360px) {
  .exhibition-gallery .gallery-heading { align-items: flex-start; flex-wrap: wrap; }
  .exhibition-gallery-controls { margin-left: auto; }
  .hobby-block .film-favorites { gap: 5px; }
  .cooking-quote > p { font-size: 28px; }
}
@media (prefers-reduced-motion:reduce) {
  .exhibition-rail { scroll-snap-type: none; }
}

/* iteration-eight.css */
/* One disclosure for both exhibitions, with one persistent controller. */
.exhibition-toggle-bar { position: sticky; top: var(--header-height); z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-block: 11px; background: var(--paper); border-block: 1px solid var(--rule); }
.exhibition-toggle-bar > .micro { color: var(--accent-text); }
.personal-site .work-entry > .exhibition-collection { margin-top: 0; padding-inline: 0; border-top: 0; }
.exhibition-collection > .story-inner > .story-body { padding-block: 25px 0; }
.exhibition-collection > .story-inner > .story-body > h2 { margin-bottom: 30px; font-size: clamp(32px,3.5vw,48px); }
.exhibition-story { position: relative; scroll-margin-top: 70px; padding-block: 0 15px; border: 0; }
.exhibition-story + .exhibition-story { padding-top: 30px; border-top: 1px solid var(--rule); }
.exhibition-story .story-body { padding-block: 0 20px; }
.exhibition-story .story-body > h3 { margin: 0 0 14px; font: 800 clamp(31px,3.1vw,43px)/1 Display,Arial,sans-serif; letter-spacing: -.02em; }
.exhibition-story .story-body > .eyebrow { display: none; }
.exhibition-story .story-lead { margin-top: 0; max-width: 75ch; }
.exhibition-story .exhibition-gallery .gallery-heading h4 { margin: 0; font: 800 25px/1.1 Display,Arial,sans-serif; }
.personal-site .current-work > .path-detail > summary { color: var(--accent-text); }
.personal-site .current-work > .path-detail > summary [aria-hidden] { border-color: var(--accent-text); color: var(--accent-text); }
.personal-site .current-work > .path-detail[open] > summary [aria-hidden] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bear-quote > p { max-width: 39ch; }
@media (max-width:760px) {
  .exhibition-toggle-bar { gap: 12px; padding-block: 9px; }
  .exhibition-toggle-bar > .micro { font-size: 9px; }
  .exhibition-collection > .story-inner > .story-body > h2 { font-size: 31px; margin-bottom: 24px; }
  .exhibition-story .exhibition-gallery .gallery-heading h4 { font-size: 23px; }
  .exhibition-story + .exhibition-story { padding-top: 25px; }
}

/* films.css */
/* Four posters become one shared reading space only after a click. */
.film-shelf { min-width: 0; margin-top: 17px; }
.film-open-hint { display: none; max-width: 60ch; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.film-shelf.is-interactive .film-open-hint { display: block; }
.film-viewport { width: 100%; min-width: 0; }
.film-layout { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 0; align-items: start; min-width: 0; }
.film-choices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,2vw,25px); min-width: 0; margin: 0; padding: 0; list-style: none; }
.film-choice { min-width: 0; margin: 0; padding: 0; list-style: none; }
.film-choice-button { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 4px; color: var(--ink); background: transparent; text-align: left; font: inherit; -webkit-tap-highlight-color: transparent; }
.film-choice-button:disabled { opacity: 1; cursor: default; }
.film-choice-button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.film-cover { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border: 1px solid var(--rule); border-radius: 4px; background: #17191a; transform-origin: 0 0; }
.film-cover img { display: block; width: 100%; height: 100%; aspect-ratio: 2 / 3; border-radius: 3px; object-fit: contain; }
.film-choice-button[aria-expanded='true'] .film-cover { box-shadow: 0 0 0 2px var(--accent); }
.film-choice-caption { display: block; margin-top: 11px; }
.film-choice-number { display: block; color: var(--accent-text); margin-bottom: 5px; font-size: 9px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.film-choice-title { display: block; font: 800 clamp(18px,2vw,25px)/1.1 Display,Arial,sans-serif; letter-spacing: -.015em; }
.film-selected-slot { position: relative; z-index: 3; min-width: 0; margin: 0; padding: 0; list-style: none; }
.film-selected-slot > .film-choice { list-style: none; }
.film-shelf.has-selection .film-layout { grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 24px clamp(20px,3vw,42px); }
.film-shelf.has-selection .film-selected-slot { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.film-shelf.has-selection .film-choices { grid-column: 2; grid-row: 2; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; width: min(100%,310px); align-self: end; }
.film-shelf.has-selection .film-choices .film-choice-title,
.film-shelf.has-selection .film-selected-slot .film-choice-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.film-shelf.has-selection .film-choices .film-choice-caption { margin-top: 6px; }
.film-shelf.has-selection .film-choices .film-choice-number { margin-bottom: 0; font-size: 8px; }
.film-note { position: relative; grid-column: 2; grid-row: 1; min-width: 0; max-width: 760px; padding: 0; color: var(--ink); }
.film-close { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; }
.film-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.film-close:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.film-reason-kicker { padding-right: 52px; color: var(--accent-text); font-size: 9px; }
.film-note h4 { margin: 14px 52px 16px 0; color: var(--ink); font: 800 clamp(29px,3.5vw,46px)/1.02 Display,Arial,sans-serif; letter-spacing: -.02em; overflow-wrap: anywhere; }
.film-note h4:focus { outline: none; }
.film-reason-copy { max-width: 54ch; color: var(--ink); font-size: 17px; line-height: 1.65; }
.film-draft { max-width: 58ch; margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.5; }
@media (hover:hover) and (pointer:fine) {
  .film-choice-button:not(:disabled):hover .film-cover { box-shadow: 0 0 0 2px var(--accent); }
  .film-close:hover { color: var(--accent-text); border-color: var(--accent-text); background: var(--wash); }
}
@media (max-width:760px) {
  .film-choices { gap: 7px; }
  .film-choice-caption { margin-top: 7px; }
  .film-choice-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .film-shelf.has-selection .film-layout { grid-template-columns: minmax(0,1fr) minmax(0,2.3fr); gap: 20px 18px; }
  .film-shelf.has-selection .film-choices { gap: 8px; }
  .film-note h4 { margin-top: 32px; margin-bottom: 12px; margin-right: 0; font-size: 29px; }
  .film-reason-copy { font-size: 14px; line-height: 1.55; }
  .film-draft { margin-top: 12px; font-size: 9px; }
  .film-reason-kicker { max-width: 15ch; padding-right: 35px; font-size: 8px; }
  .film-close { top: 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}
@media (max-width:360px) {
  .film-choices { gap: 5px; }
  .film-shelf.has-selection .film-layout { grid-template-columns: minmax(0,1fr) minmax(0,2.4fr); column-gap: 15px; }
  .film-shelf.has-selection .film-choices { gap: 7px; }
  .film-note h4 { font-size: 27px; margin-right: 0; }
  .film-reason-copy { font-size: 13px; }
  .film-open-hint { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  .film-cover, .film-close { transition: none; }
}

/* work-polish.css */
/* A quieter editorial layout, scoped to exhibitions and video production. */
#immagini { padding-block: 46px 20px; border-bottom: 0; }
/* The outer rules belong to the full-width chapter, not its text columns. */
.personal-site #percorso { border-bottom: 0; }
#immagini::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
  box-sizing: border-box;
  border-block: 1px solid var(--rule);
  background: transparent;
  opacity: 1;
  pointer-events: none;
}
#immagini > .block-art { opacity: .035; }
#immagini > .section-heading { margin-bottom: 28px; }
/* The wash and both outer rules share the same viewport-wide surface, also
   when the centred page reaches its maximum width. */
@supports (background: color-mix(in srgb,white 95%,black)) {
  .chapter-colors #immagini { background-color: transparent; }
  .chapter-colors #immagini::before {
    background: color-mix(in srgb,var(--paper) 97%,var(--accent));
  }
  .chapter-colors #immagini .work-toggle-bar {
    background: color-mix(in srgb,var(--paper) 97%,var(--accent));
  }
}
#immagini .work-entry { padding-block: 30px 26px; }
#immagini .work-entry-head { grid-template-columns: minmax(0,.68fr) minmax(0,1fr); gap: 14px 54px; }
#immagini .work-entry-head > h3 { grid-row: auto; grid-column: auto; max-width: 17ch; font-size: clamp(32px,3.5vw,45px); line-height: 1.04; }
#immagini .work-entry-head > div > p { max-width: 62ch; font-size: 16px; line-height: 1.65; }
#immagini .work-entry-head .path-detail { margin-top: 8px; }
#immagini .work-entry-head .path-detail summary { font-size: 11px; }

/* Both groups use the same single, persistent control. */
#immagini .work-toggle-bar { position: sticky; top: var(--header-height); z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 21px; padding-block: 7px; border: 0; border-bottom: 1px solid var(--rule); background: var(--paper); }
#immagini .work-toggle-bar > .micro { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
#immagini .work-toggle-bar .pill-link { min-height: 46px; margin: 0; padding: 8px 0 8px 16px; border: 0; border-radius: 0; background: transparent; color: var(--ink); gap: 17px; font-size: 12px; transform: none; }
#immagini .work-toggle-bar .pill-link > span[aria-hidden='true'] { width: 28px; height: 28px; background: var(--wash); color: var(--ink); transform: none; }
#immagini .work-toggle-bar .pill-link[aria-expanded='true'] > span[aria-hidden='true'] { background: var(--accent); color: var(--accent-ink); }
#immagini .work-toggle-bar .pill-link:hover { color: var(--accent-text); background: transparent; transform: none; }
#immagini .work-toggle-bar .pill-link:hover > span[aria-hidden='true'] { transform: none; }
#immagini .work-entry > .story-inline { padding-inline: 0; margin-top: 0; border: 0; background: transparent; }
#immagini #story-crea > .story-inner > .story-body,
#immagini #story-videos > .story-inner > .story-body { padding-block: 26px 0; }
#immagini #story-crea > .story-inner > .story-body > h2,
#immagini #story-videos > .story-inner > .story-body > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: -1px; padding: 0; white-space: nowrap; }
#immagini #story-videos > .story-inner > .inline-story-top,
#immagini #story-videos > .story-inner > .inline-story-bottom { display: none; }

/* The photograph and its context share a compact spread. */
#immagini .exhibition-story { padding: 0 0 27px; border: 0; }
#immagini .exhibition-story + .exhibition-story { margin-top: 14px; padding-top: 32px; border-top: 1px solid var(--rule); }
#immagini .exhibition-story .story-body { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 15px 38px; align-items: start; padding: 0; }
#immagini .exhibition-story .story-body > h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(29px,3vw,39px); line-height: 1.04; }
#immagini .exhibition-story .story-lead { grid-column: 1; grid-row: 2; margin: 0; max-width: 58ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
#immagini .exhibition-story .project-facts { grid-column: 1; grid-row: 3; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; width: 100%; margin: 2px 0 0; padding-block: 13px; border: 0; border-block: 1px solid var(--rule); }
#immagini .exhibition-story .project-facts > div { min-width: 0; grid-column: auto; }
#immagini .exhibition-story .project-facts dt { font-size: 8px; line-height: 1.4; letter-spacing: .05em; }
#immagini .exhibition-story .project-facts dd { margin-top: 6px; font-size: 13px; line-height: 1.45; }
#immagini .exhibition-story .story-text { grid-column: 1; grid-row: 4; width: 100%; max-width: 65ch; margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
#immagini .exhibition-story .story-text p + p { margin-top: 12px; }
#immagini .exhibition-gallery { grid-column: 2; grid-row: 1 / span 4; width: 100%; min-width: 0; margin: 0; }
#immagini .exhibition-gallery .gallery-heading { margin-bottom: 12px; gap: 14px; align-items: center; flex-wrap: nowrap; }
#immagini .exhibition-gallery .gallery-heading :is(h3,h4) { margin: 0; color: var(--muted); font: 500 11px/1.4 Body,Arial,sans-serif; letter-spacing: 0; }
#immagini .exhibition-gallery-controls { gap: 11px; }
#immagini .gallery-position { font-size: 10px; }
#immagini .exhibition-rail { gap: 12px; padding-bottom: 9px; }
#immagini .exhibition-rail .exhibition-slide { flex-basis: 89%; }
#immagini .exhibition-slide .image-open { height: clamp(220px,25vw,320px); background: var(--wash); }
#immagini .exhibition-slide .image-open img { object-fit: contain; }
#immagini .exhibition-slide figcaption { font-size: 9px; min-height: 23px; padding-top: 8px; }
#immagini .exhibition-slide.is-enlarged { flex-basis: 100%; }
#immagini .exhibition-slide.is-enlarged .image-open { height: min(62svh,540px); }
#immagini .work-process-note { width: 100%; max-width: none; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
#immagini .work-process-note > summary { font-size: 12px; }
#immagini .work-process-note > p { max-width: 76ch; }
#immagini .work-process-note .curation-route { max-width: 760px; }

/* One showreel, followed directly by the three silent examples. */
#immagini .work-video-intro { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); gap: clamp(28px,4vw,54px); align-items: center; }
#immagini .work-showreel { display: block; min-width: 0; width: 100%; height: auto; aspect-ratio: auto; margin: 0; padding: 0; background: transparent; overflow: visible; }
#immagini .work-showreel::before,
#immagini .work-showreel::after { content: none; }
#immagini .work-showreel .shot-result { position: relative; display: block; inset: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; margin: 0; padding: 0; border: 0; opacity: 1; clip-path: none !important; transform: none; pointer-events: auto; background: #101112; overflow: hidden; }
/* Metadata cannot resize the frame: the video is out of flow and fills its
   fixed-ratio parent. Contain preserves the whole image with centred bars. */
#immagini .work-showreel video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; aspect-ratio: auto; object-fit: contain; object-position: 50% 50%; transform: none; }
#immagini .work-showreel figcaption { position: static; inset: auto; display: block; min-height: 0; padding: 10px 0 0; background: transparent; color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .04em; }
#immagini .work-video-copy { min-width: 0; }
#immagini .work-video-copy > h3 { margin: 0 0 14px; font: 800 clamp(28px,2.7vw,36px)/1.05 Display,Arial,sans-serif; letter-spacing: -.02em; }
#immagini .work-video-copy > p { max-width: 48ch; color: var(--muted); font-size: 15px; line-height: 1.65; }
#immagini .work-video-copy .project-facts-compact { grid-template-columns: auto minmax(0,1fr); gap: 16px; margin: 18px 0 0; padding-block: 13px; border: 0; border-top: 1px solid var(--rule); }
#immagini .work-video-copy .project-facts-compact dt { font-size: 9px; }
#immagini .work-video-copy .project-facts-compact dd { font-size: 13px; }
#immagini .work-video-role { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; margin: 18px 0 0; padding-block: 13px; border-top: 1px solid var(--rule); }
#immagini .work-video-role dt { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
#immagini .work-video-role dd { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.5; }
#immagini .work-video-gallery { min-width: 0; margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--rule); }
#immagini .work-video-gallery > .gallery-heading { margin-bottom: 17px; }
#immagini .work-video-gallery > .gallery-heading h3 { margin: 0; font: 800 25px/1.1 Display,Arial,sans-serif; letter-spacing: -.015em; }
#immagini .work-video-gallery > .gallery-heading .gallery-arrows { display: none; }
#immagini .work-video-gallery .film-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-flow: row; gap: 24px; width: 100%; min-width: 0; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
#immagini .film-card { min-width: 0; }
#immagini .film-card .story-video { margin: 0; }
#immagini .film-card .story-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
#immagini .film-card .story-video figcaption { margin-top: 9px; padding: 0; color: var(--muted); font-size: 8px; line-height: 1.4; letter-spacing: .05em; }
#immagini .film-grid h3 { margin-top: 13px; font: 800 23px/1.08 Display,Arial,sans-serif; letter-spacing: -.012em; }
#immagini .film-grid p { max-width: 47ch; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
#immagini .work-video-gallery + .story-sequence,
#immagini .work-video-gallery .story-sequence { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (max-width:900px) {
  #immagini .exhibition-story .story-body { display: block; }
  #immagini .exhibition-story .story-body > h3 { margin-bottom: 13px; }
  #immagini .exhibition-story .story-lead { max-width: 70ch; }
  #immagini .exhibition-story .project-facts { margin-top: 19px; }
  #immagini .exhibition-gallery { margin-top: 18px; }
  #immagini .exhibition-story .story-text { max-width: 75ch; margin-top: 18px; }
  #immagini .work-video-intro { grid-template-columns: 1fr; gap: 22px; }
  #immagini .work-video-copy > p { max-width: 70ch; }
  #immagini .work-video-gallery > .gallery-heading .gallery-arrows { display: flex; }
  #immagini .work-video-gallery .film-grid { display: flex; gap: 15px; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: 12px; scroll-snap-type: x proximity; }
  #immagini .work-video-gallery .film-card { flex: 0 0 82%; width: 82%; scroll-snap-align: start; }
}
@media (max-width:760px) {
  #immagini { padding-block: 36px 16px; }
  #immagini > .section-heading { margin-bottom: 23px; }
  #immagini .work-entry { padding-block: 25px 22px; }
  #immagini .work-entry-head { display: block; }
  #immagini .work-entry-head > h3 { max-width: 20ch; margin-bottom: 13px; font-size: 35px; }
  #immagini .work-entry-head > div > p { font-size: 15px; line-height: 1.6; }
  #immagini .work-toggle-bar { gap: 12px; margin-top: 17px; padding-block: 6px; }
  #immagini .work-toggle-bar > .micro { font-size: 9px; }
  #immagini .work-toggle-bar .pill-link { gap: 10px; font-size: 11px; padding-left: 8px; }
  #immagini #story-crea > .story-inner > .story-body,
  #immagini #story-videos > .story-inner > .story-body { padding-top: 22px; }
  #immagini .exhibition-story { padding-bottom: 25px; }
  #immagini .exhibition-story + .exhibition-story { margin-top: 0; padding-top: 25px; }
  #immagini .exhibition-story .story-body > h3 { font-size: 31px; }
  #immagini .exhibition-story .project-facts { gap: 10px; padding-block: 12px; }
  #immagini .exhibition-story .project-facts dt { font-size: 8px; }
  #immagini .exhibition-story .project-facts dd { font-size: 12px; }
  #immagini .exhibition-rail .exhibition-slide { flex-basis: 91%; }
  #immagini .exhibition-slide .image-open { height: clamp(185px,54vw,270px); }
  #immagini .exhibition-slide.is-enlarged .image-open { height: min(58svh,420px); }
  #immagini .exhibition-story .story-text { font-size: 14px; line-height: 1.65; }
  #immagini .work-video-copy > h3 { font-size: 29px; }
  #immagini .work-video-gallery { margin-top: 24px; padding-top: 20px; }
  #immagini .work-video-gallery > .gallery-heading h3 { max-width: 16ch; font-size: 24px; }
  #immagini .film-grid h3 { font-size: 23px; }
}
@media (max-width:360px) {
  #immagini .work-entry-head > h3 { font-size: 32px; }
  #immagini .work-toggle-bar > .micro { font-size: 8px; }
  #immagini .work-toggle-bar .pill-link { font-size: 10px; }
  #immagini .exhibition-gallery .gallery-heading { gap: 8px; }
  #immagini .exhibition-gallery-controls { gap: 8px; }
  #immagini .exhibition-story .project-facts { gap: 8px; }
  #immagini .exhibition-story .project-facts dd { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  #immagini .work-toggle-bar .pill-link { transition: none; }
  #immagini .work-video-gallery .film-grid { scroll-snap-type: none; }
}

/* chapter-colors.css */
/* An optional chapter palette. The default site remains unchanged. */
.chapter-colors [data-block] {
  --chapter-accent: #ff2800;
  --chapter-light-text: #c51f00;
  --chapter-dark-text: #ff7058;
  --chapter-guide-light-text: #c51f00;
  --chapter-guide-dark-text: #ff7058;
  --accent: var(--chapter-accent);
  --accent-text: var(--chapter-light-text);
  --accent-ink: #101112;
}
.chapter-colors :is([data-block='work'],[data-block='current'],[data-block='method']) {
  --chapter-accent: #b6f500;
  --chapter-light-text: #2d6100;
  --chapter-dark-text: #b6f500;
  --chapter-guide-light-text: #2d6100;
  --chapter-guide-dark-text: #b6f500;
}
.chapter-colors :is([data-block='personal'],[data-block='movement'],[data-block='cinema'],[data-block='memories']) {
  --chapter-accent: #ad7bff;
  --chapter-light-text: #6327b8;
  --chapter-dark-text: #c5a4ff;
  --chapter-guide-light-text: #6327b8;
  --chapter-guide-dark-text: #c5a4ff;
}
.chapter-colors [data-block='cooking'] {
  --chapter-accent: #ff8a1f;
  --chapter-light-text: #934000;
  --chapter-dark-text: #ffaf69;
  --chapter-guide-light-text: #934000;
  --chapter-guide-dark-text: #ffaf69;
}
/* These panels retain their dark paper regardless of the page theme. */
.chapter-colors [data-block='method'] { --chapter-light-text: #b6f500; }
.chapter-colors [data-block='notes'] { --chapter-light-text: #ff7058; }

@media (prefers-color-scheme: dark) {
  .chapter-colors:not([data-theme='light']) [data-block] { --accent-text: var(--chapter-dark-text); }
}
.chapter-colors[data-theme='dark'] [data-block] { --accent-text: var(--chapter-dark-text); }
.chapter-colors[data-theme='light'] [data-block] { --accent-text: var(--chapter-light-text); }

.chapter-colors [data-block='personal'] > .section-head > .micro { color: var(--accent-text); }
.chapter-colors [data-block='movement'] > .block-art,
.chapter-colors [data-block='cinema'] > .block-art { opacity: .085; }
.chapter-colors #immagini > .block-art { opacity: .075; }
.chapter-colors #immagini .work-toggle-bar > .micro,
.chapter-colors #immagini .work-toggle-bar .pill-link { color: var(--accent-text); }
.chapter-colors #immagini .work-toggle-bar .pill-link > span[aria-hidden='true'] { background: var(--accent); color: var(--accent-ink); }

/* A small wash marks the boundary while keeping the photograph and type central. */
@supports (background: color-mix(in srgb,white 95%,black)) {
  .chapter-colors [data-block='work'] { background-color: color-mix(in srgb,var(--paper) 97%,var(--accent)); }
  .chapter-colors [data-block='cooking']::before { background: color-mix(in srgb,var(--paper) 95%,var(--accent)); opacity: 1; }
}

/* The reading capsule follows the chapter; the masthead keeps the red signature. */
.chapter-colors .reading-guide {
  --accent: var(--reading-accent,#ff2800);
  --accent-text: var(--reading-accent-text,#c51f00);
  --accent-ink: #101112;
}
.chapter-colors .reading-guide::after { transition: background-color 220ms ease; }
.chapter-colors .reading-guide .guide-current { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .chapter-colors .reading-guide::after { transition: none; }
}

/* personal-stories.css */
/* Real stories: complete frames, native horizontal scroll and quiet controls. */
#fuoricampo .real-stories {
  --story-card-width: clamp(200px,19vw,238px);
  min-width: 0;
  max-width: 100%;
}
#fuoricampo .real-stories > .gallery-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
#fuoricampo .real-stories > .gallery-heading :is(h4,h5) {
  min-width: 0;
  max-width: 23ch;
  margin: 0;
  font: 800 22px/1.08 Display,Arial,sans-serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}
#fuoricampo .story-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
#fuoricampo .story-gallery-controls .gallery-position {
  color: var(--muted);
  font: 500 10px/1.3 Body,Arial,sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#fuoricampo .story-gallery-controls .gallery-arrows {
  gap: 6px;
}
#fuoricampo .story-gallery-controls .gallery-arrows button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
}
#fuoricampo .real-stories .story-segments {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 4px 0 3px;
}
#fuoricampo .story-segments button {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#fuoricampo .story-segments button > span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background: var(--rule);
  transition: background-color 180ms ease, height 180ms ease;
}
#fuoricampo .story-segments button[aria-current='true'] > span {
  height: 4px;
  background: var(--accent);
}
#fuoricampo .story-segments button:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 1px;
}
#fuoricampo .real-story-rail {
  box-sizing: border-box;
  width: 100%;
  gap: 17px;
  align-items: flex-start;
  padding-block: 6px 16px;
  padding-inline-start: 0;
  padding-inline-end: 0;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0;
  overscroll-behavior-x: none;
  scrollbar-color: var(--accent-text) transparent;
}
#fuoricampo .real-story-rail::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--accent-text);
}
#fuoricampo .real-story-card {
  flex: 0 0 var(--story-card-width);
  width: var(--story-card-width);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
#fuoricampo .real-story-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 19px;
  background: var(--wash);
  transform: translateY(0);
  transition: transform 220ms var(--ux-ease), border-color 180ms ease;
}
#fuoricampo .real-story-frame img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  -webkit-user-drag: none;
}
/* Original story text stays unobscured; numbering lives in the gallery header. */
#fuoricampo .real-story-frame .story-card-index {
  display: none;
}
#fuoricampo .real-story-card.is-current .real-story-frame {
  border-color: var(--accent-text);
}
#fuoricampo .real-story-card > figcaption {
  min-height: 68px;
  padding: 13px 2px 0;
  color: var(--ink);
}
#fuoricampo .real-story-card .story-category {
  display: block;
  color: var(--accent-text);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: .065em;
}
#fuoricampo .real-story-card figcaption > p {
  max-width: 31ch;
  margin: 6px 0 0;
  color: var(--ink);
  font: 500 12px/1.5 Body,Arial,sans-serif;
}
#fuoricampo .creation-gallery.real-stories {
  margin-top: 28px;
}
@media (hover:hover) and (pointer:fine) {
  #fuoricampo .real-story-card:hover .real-story-frame {
    border-color: var(--accent-text);
    transform: translateY(-3px);
  }
  #fuoricampo .story-segments button:hover > span {
    background: var(--accent-text);
  }
}
@media (max-width:760px) {
  #fuoricampo .real-stories {
    --story-card-width: min(50.7vw,195px);
  }
  #fuoricampo .real-story-rail {
    gap: 14px;
  }
  #fuoricampo .real-story-frame {
    border-radius: 14px;
  }
  #fuoricampo .real-stories > .gallery-heading :is(h4,h5) {
    font-size: 21px;
  }
  #fuoricampo .story-gallery-controls {
    gap: 10px;
  }
}
@media (max-width:360px) {
  #fuoricampo .real-stories > .gallery-heading {
    gap: 9px;
  }
  #fuoricampo .real-stories > .gallery-heading :is(h4,h5) {
    font-size: 19px;
  }
  #fuoricampo .story-gallery-controls {
    gap: 7px;
  }
  #fuoricampo .story-gallery-controls .gallery-position {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  #fuoricampo .real-story-frame,
  #fuoricampo .story-segments button > span {
    transition: none;
  }
  #fuoricampo .real-story-card:hover .real-story-frame {
    transform: none;
  }
}

/* reel-embed.css */
/* The reel stays part of the cinema section, even when Instagram is unavailable. */
#cinema .instagram-reel { --reel-card-width: clamp(200px,19vw,238px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(28px,5vw,76px); align-items: start; margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--rule); min-width: 0; }
#cinema .reel-intro { min-width: 0; align-self: start; }
#cinema .reel-intro > .micro { color: var(--accent-text); font-size: 9px; }
#cinema .reel-intro h4 { max-width: 15ch; margin: 16px 0 18px; color: var(--ink); font: 800 clamp(34px,4.5vw,61px)/1.02 Display,Arial,sans-serif; letter-spacing: -.025em; }
#cinema .reel-description { max-width: 39ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
#cinema .reel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
#cinema .reel-load { display: none; margin: 0; min-height: 44px; font-size: 12px; }
#cinema .instagram-reel.is-interactive .reel-load { display: inline-flex; }
#cinema .reel-load:disabled { opacity: .65; cursor: wait; }
#cinema .reel-load[hidden] { display: none; }
#cinema .reel-original { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent-text); font-size: 12px; text-decoration: underline; text-underline-offset: .25em; }
#cinema .reel-status { max-width: 46ch; margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
#cinema .reel-embed-stage { position: relative; width: min(100%,var(--reel-card-width)); min-width: 0; padding: 0; border: 1px solid var(--rule); border-radius: 16px; background: #fff; overflow: hidden; }
#cinema .reel-embed-stage[hidden] { display: none; }
#cinema .reel-embed-mount { position: absolute; top: 0; left: 0; min-width: 0; width: 326px; transform: scale(var(--reel-scale,1)); transform-origin: top left; }
#cinema .reel-embed-mount .instagram-media { box-sizing: border-box !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#cinema .reel-embed-mount blockquote { min-height: 280px; display: grid; place-items: center; padding: 24px; color: #202224; font-size: 12px; line-height: 1.6; text-align: center; }
#cinema .reel-embed-mount iframe { display: block; min-width: 326px !important; max-width: 326px !important; width: 326px !important; border: 0; }
#cinema .reel-embed-mount iframe[style] { min-width: 326px !important; max-width: 326px !important; }
#cinema .instagram-reel[data-reel-state='idle'] { grid-template-columns: minmax(0,1fr); }
#cinema .instagram-reel[data-reel-state='unavailable'] { grid-template-columns: minmax(0,1fr); }
#cinema .reel-load:focus-visible,
#cinema .reel-original:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
@media (max-width:760px) {
  #cinema .instagram-reel { --reel-card-width: min(50.7vw,195px); grid-template-columns: minmax(0,1fr); gap: 23px; margin-top: 30px; padding-top: 26px; }
  #cinema .reel-intro h4 { max-width: 17ch; font-size: clamp(34px,8vw,47px); }
  #cinema .reel-description { font-size: 15px; }
  #cinema .reel-actions { margin-top: 16px; gap: 8px 18px; }
  #cinema .reel-embed-stage { justify-self: center; width: min(100%,var(--reel-card-width)); }
}
@media (max-width:360px) {
  #cinema .reel-intro h4 { font-size: 34px; }
  #cinema .reel-actions { gap: 4px 15px; }
  #cinema .reel-load, #cinema .reel-original { font-size: 11px; }
}

/* media-guard.css */
/* Native touch scrolling stays available; local image actions do not. */
img,video,picture,[data-protected-visual] {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
img,picture,video:not([controls]) { pointer-events: none; }
video[controls] { pointer-events: auto; }
.image-open.protected-media { cursor: default; }
.image-open.protected-media::after { content: none; }
.personal-memories .personal-real img {
  object-fit: cover;
  object-position: center;
  background: var(--wash);
}
.personal-memories .gallery-position {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.personal-memories .memories-controls { display: flex; align-items: center; gap: 13px; }

/* links-clean.css */
/* Editorial destinations: a clear label and arrow, without a button shape. */
:is(#appunti,#contatti,.research-note) a.editorial-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 500 12px/1.5 Body,Arial,sans-serif;
  text-decoration: none;
  transform: none;
}
:is(#appunti,#contatti,.research-note) .editorial-link .link-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
:is(#appunti,#contatti,.research-note) .editorial-link > span[aria-hidden='true'] {
  flex: 0 0 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1;
}
:is(#appunti,#contatti,.research-note) a.editorial-link:hover {
  background: transparent;
  color: inherit;
  opacity: .76;
  transform: none;
}
:is(#appunti,#contatti,.research-note) a.editorial-link:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
}
#appunti a.editorial-link,
#appunti a.editorial-link:hover { color: #f2f1ec; }
#appunti .podcast-links { column-gap: 24px; row-gap: 4px; }
#appunti .newsletter-actions { gap: 12px; }
.research-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }

/* newsletter-feed.css */
/* Three editorial cards; the compact mobile rail uses the site's native controls. */
#story-newsletter { overflow: clip; }
#story-newsletter #newsletter-dialog-title { display: block; padding-block: 0; }
#story-newsletter #newsletter-dialog-title > span { display: inline; }
#story-newsletter .newsletter-outline { display: grid; gap: 8px; }
#story-newsletter .newsletter-outline-row { display: block; }
#story-newsletter .newsletter-outline strong { color: var(--ink); font-weight: 700; }
#story-newsletter .substack-feed { margin: 36px 0 30px; min-width: 0; }
#story-newsletter .feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
#story-newsletter .feed-heading .micro { color: var(--muted); margin: 0 0 8px; }
#story-newsletter .feed-heading h3 { margin: 0; color: var(--ink); font: 800 clamp(28px,3.4vw,42px)/1.05 Display,Arial,sans-serif; letter-spacing: -.015em; }
#story-newsletter .feed-controls { display: none; }
#story-newsletter .feed-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; min-width: 0; }
#story-newsletter .feed-card { display: flex; flex-direction: column; gap: 0; min-width: 0; padding: clamp(18px,2vw,26px); border: 1px solid var(--rule); border-radius: 12px; background: #ffffff04; }
#story-newsletter .feed-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font: 500 10px/1.5 Body,Arial,sans-serif; font-variant-numeric: tabular-nums; }
#story-newsletter .feed-card-meta > span { color: var(--accent-text); }
#story-newsletter .feed-card h4 { min-height: calc(3.24em + 6px); margin: 0 0 15px; color: var(--ink); font: 800 clamp(24px,2.4vw,32px)/1.08 Display,Arial,sans-serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
#story-newsletter .feed-card h4 a { display: block; padding-block: 3px; color: inherit; text-decoration: none; }
#story-newsletter .feed-card h4 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
#story-newsletter .feed-card h4 a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
#story-newsletter .feed-excerpt { margin: 0 0 25px; color: var(--muted); font: 400 13px/1.65 Body,Arial,sans-serif; overflow-wrap: anywhere; }
#story-newsletter .feed-read { align-self: start; margin-top: auto; }
#story-newsletter .feed-image { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 18px; overflow: hidden; border-radius: 6px; background: var(--wash); }
#story-newsletter .feed-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
#story-newsletter .feed-cover-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; cursor: pointer; }
#story-newsletter .feed-cover-link:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }
#story-newsletter .newsletter-voice { margin-top: 28px; max-width: 60ch; }
#story-newsletter .newsletter-voice h3 { margin-bottom: 10px; }
#story-newsletter .newsletter-voice p { color: var(--muted); font-size: 15px; line-height: 1.65; }
#story-newsletter .podcast-links { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(12px,3vw,24px); }
#story-newsletter .podcast-links a.editorial-link { white-space: nowrap; gap: 6px; font-size: clamp(11px,2.8vw,12px); }
#story-newsletter .feed-grid:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
@media (max-width: 800px) {
  #story-newsletter .feed-heading { align-items: center; }
  #story-newsletter .feed-heading h3 { max-width: 10ch; }
  #story-newsletter .feed-controls { display: flex; flex: 0 0 auto; gap: 7px; }
  #story-newsletter .feed-controls button { width: 44px; height: 44px; min-height: 44px; }
  #story-newsletter .feed-grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  #story-newsletter .feed-grid::-webkit-scrollbar { display: none; }
  #story-newsletter .feed-card { flex: 0 0 min(83%,340px); scroll-snap-align: start; padding: 21px; }
  #story-newsletter .feed-card h4 { font-size: 29px; }
}

/* responsive.css */
/* Feature-based fallbacks and device insets; the approved layout stays native. */
:root {
  --page-side-space: max(var(--gutter),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));
  --header-height: calc(76px + env(safe-area-inset-top,0px));
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.personal-site { padding-inline: var(--page-side-space); }
.site-header {
  min-height: var(--header-height);
  padding-inline: var(--page-side-space);
  padding-top: calc(14px + env(safe-area-inset-top,0px));
}
.site-header .header-actions { flex-shrink: 0; }
.site-header .brand { min-width: 0; }
.js .site-loader {
  padding-inline: max(4vw,calc(env(safe-area-inset-left,0px) + 16px),calc(env(safe-area-inset-right,0px) + 16px));
  padding-top: max(36px,calc(env(safe-area-inset-top,0px) + 16px));
  padding-bottom: max(36px,calc(env(safe-area-inset-bottom,0px) + 16px));
  overflow-y: auto;
}
.loader-brand { margin-block: auto; }

/* A long label or larger text can grow vertically instead of widening a grid. */
.personal-site :where(.hero-intro,.path-info,.method-copy,.story-body,.story-text,.newsletter-context,.newsletter-foot,.feed-heading > div,.contact-main > *) { min-width: 0; }
.personal-site :where(p,li,dd,h2,h3,h4) { overflow-wrap: break-word; }
.personal-site .email-link { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.footer-bottom { flex-wrap: wrap; }
.newsletter-foot, #story-newsletter .feed-heading { flex-wrap: wrap; }
#story-newsletter .podcast-links { flex-wrap: wrap; }
/* Body ships a medium face: allow the requested bold rubric names to render. */
#story-newsletter .newsletter-outline strong { font-synthesis: weight; }
.personal-site :is(.pill-link,.story-collapse) { max-width: 100%; }
.personal-site :is(.pill-link,.story-collapse) > :not([aria-hidden='true']) { min-width: 0; overflow-wrap: anywhere; }

/* Keep a zoomed or landscape index reachable without trapping page scrolling. */
.reading-guide.is-open {
  max-height: calc(100vh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 20px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
@supports (height: 100svh) {
  .reading-guide.is-open { max-height: calc(100svh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 20px); }
}
.reading-guide .guide-links a { overflow-wrap: anywhere; }
.ux-motion .ux-item:focus-within { clip-path: none !important; opacity: 1; transform: none; }
.media-rail:focus-visible, #story-newsletter .feed-grid:focus-visible { outline-offset: -3px; }
/* Moving cover layers must not intercept taps meant for another film button. */
.film-cover { pointer-events: none; }

/* Older engines retain a contained disclosure instead of leaking rail contents. */
@supports not (overflow: clip) {
  #story-newsletter { overflow: hidden; }
}

/* svh is deliberately stable when mobile browser bars expand and retract. */
@supports not (height: 1svh) {
  .newsletter-stage { min-height: calc(92vh - var(--header-height)); }
  #immagini .exhibition-slide.is-enlarged .image-open { height: min(62vh,540px); }
  @media (max-width:900px) {
    .newsletter-stage { min-height: calc(88vh - var(--header-height)); }
  }
  @media (max-width:760px) {
    #immagini .exhibition-slide.is-enlarged .image-open { height: min(58vh,420px); }
  }
  @media (max-width:650px) {
    .newsletter-stage { min-height: calc(90vh - var(--header-height)); }
  }
}

/* Ratio fallbacks matter particularly where media are absolutely positioned. */
@supports not (aspect-ratio: 1) {
  #immagini .work-showreel .shot-result::before,
  #story-newsletter .feed-image::before,
  .film-cover::before,
  #fuoricampo .real-story-frame::before { content: ''; display: block; }
  #immagini .work-showreel .shot-result::before,
  #story-newsletter .feed-image::before { padding-top: 56.25%; }
  .film-cover::before { padding-top: 150%; }
  #fuoricampo .real-story-frame::before { padding-top: 177.7778%; }
  #story-newsletter .feed-image, .film-cover, #fuoricampo .real-story-frame { position: relative; }
  #immagini .work-showreel video,
  #story-newsletter .feed-image > a,
  .film-cover > img,
  #fuoricampo .real-story-frame > img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
}

/* Earlier Samsung/WebKit versions get the same chapter washes without color-mix. */
@supports not (background: color-mix(in srgb,white 95%,black)) {
  .chapter-colors #immagini::before { background: #f0f1e5; }
  .chapter-colors [data-block='cooking']::before { background: #f3ece2; opacity: 1; }
  @media (prefers-color-scheme: dark) {
    .chapter-colors:not([data-theme='light']) #immagini::before { background: #252823; }
    .chapter-colors:not([data-theme='light']) [data-block='cooking']::before { background: #2b2724; }
  }
  .chapter-colors[data-theme='dark'] #immagini::before { background: #252823; }
  .chapter-colors[data-theme='dark'] [data-block='cooking']::before { background: #2b2724; }
}

@media (max-width:900px) {
  :root { --header-height: calc(72px + env(safe-area-inset-top,0px)); }
  .site-header { padding-top: calc(12px + env(safe-area-inset-top,0px)); }
}
@media (max-width:550px) {
  #immagini .exhibition-gallery .gallery-heading { flex-wrap: wrap; }
  #immagini .exhibition-gallery-controls { margin-left: auto; }
  .person-hero .contact-sheet figcaption { flex-wrap: wrap; row-gap: 4px; }
}
@media (pointer: coarse) {
  .gallery-arrows button { min-width: 44px; min-height: 44px; }
  #fuoricampo .story-segments button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #story-newsletter .feed-grid { scroll-snap-type: none; scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .reading-guide { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not selector(:focus-visible) {
  :where(a,button,summary,[tabindex]):focus { outline: 2px solid var(--accent-text); outline-offset: -3px; }
}
