:root {
  color-scheme: light;
  --paper: #f0ede5;
  --paper-deep: #ddd8cd;
  --ink: #11110f;
  --muted: #625f57;
  --rule: rgba(17, 17, 15, .32);
  --rust: #d4382d;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
  --page-pad: clamp(18px, 4.2vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--rust); color: var(--paper); }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 40; inset: 0 auto auto 0; width: var(--scroll-progress, 0%); height: 2px; background: var(--rust); pointer-events: none; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 0 var(--page-pad); background: rgba(240, 237, 229, .97); border-top: 4px solid var(--rust); border-bottom: 1px solid var(--rule); backdrop-filter: blur(14px); transition: min-height .3s ease; }
.site-header.is-scrolled { min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 210px; }
.brand-monogram { display: block; width: 42px; height: 42px; }
.brand-monogram img, .footer-mark img { width: 100%; height: 100%; object-fit: contain; }
.signature span { color: var(--rust); }
.brand-name { display: grid; gap: 4px; font: 500 11px var(--mono); letter-spacing: .08em; }
.brand-name small { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.header-note, .main-nav, .hero-topline, .hero-bottomline, .hero-underbar, .image-credit, .section-index, .eyebrow, .card-number, .card-location, .work-count, .interlude-label, .interlude-sign, .contact-details, .site-footer, .dialog-close, .dialog-credit, .mobile-menu > p { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .11em; line-height: 1.6; }
.header-note { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 3px rgba(212, 56, 45, .14); }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 52px); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--rust); }
.main-nav a > span { color: var(--muted); font-size: 8px; vertical-align: super; }
.main-nav .nav-contact { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--ink); color: var(--paper); }
.nav-contact span { font-size: 14px !important; color: var(--rust) !important; vertical-align: baseline !important; }
.menu-toggle, .mobile-menu { display: none; }

.hero { padding: 16px var(--page-pad) 0; }
.hero-image-wrap { position: relative; height: min(77svh, 790px); min-height: 550px; overflow: hidden; background: #8d8276; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; object-position: center 48%; animation: image-arrive 1.4s cubic-bezier(.18,.7,.23,1) both; }
.hero-image-wrap::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 9, .54), rgba(10, 10, 9, .12) 72%), linear-gradient(0deg, rgba(10, 10, 9, .55), transparent 42%); content: ""; }
.hero-grain { position: absolute; z-index: -1; inset: 0; opacity: .42; pointer-events: none; background: url("assets/film-grain.svg") repeat; mix-blend-mode: soft-light; }
.hero-topline { position: absolute; top: 28px; left: 30px; right: 30px; display: flex; justify-content: space-between; color: rgba(240, 237, 229, .94); font-size: 8px; line-height: 1.8; }
.hero-index { text-align: right; }
.hero-copy { position: absolute; top: 45%; left: clamp(24px, 6vw, 92px); transform: translateY(-15%); }
.eyebrow { margin: 0; color: var(--muted); font-size: 9px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: var(--paper); font-weight: 500; }
.eyebrow-line { width: 25px; height: 2px; background: var(--rust); }
.hero h1 { margin: 0; color: var(--paper); font: 400 clamp(88px, 12.3vw, 184px)/.79 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 2px 22px rgba(0, 0, 0, .22); }
.hero h1 em, h2 em, .interlude-copy em { color: var(--rust); font: italic 400 1em/.9 var(--serif); letter-spacing: -.07em; text-transform: none; }
.hero h1 em { color: #ef594b; }
.hero-bottomline { position: absolute; inset: auto 30px 23px; display: flex; align-items: end; justify-content: space-between; color: rgba(238, 236, 229, .92); font-size: 8px; }
.hero-scroll { display: flex; align-items: center; gap: 13px; }
.scroll-arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(238, 236, 229, .55); border-radius: 50%; font-size: 15px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.hero-scroll:hover .scroll-arrow { color: var(--ink); background: var(--paper); transform: translateY(3px); }
.image-credit { position: absolute; top: 50%; right: 15px; color: rgba(238, 236, 229, .75); font-size: 7px; writing-mode: vertical-rl; transform: translateY(-50%); }
.hero-underbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; color: var(--muted); font-size: 8px; }
.hero-underbar > span:first-child { display: flex; align-items: center; gap: 9px; }

.manifesto { position: relative; display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; padding: clamp(120px, 17vw, 245px) var(--page-pad) clamp(125px, 16vw, 225px); overflow: hidden; background: var(--ink); color: var(--paper); }
.section-index { display: flex; gap: 17px; align-items: start; color: var(--muted); font-size: 8px; }
.section-index span:first-child { color: var(--rust); font: 400 38px/.8 var(--display); letter-spacing: -.03em; }
.manifesto-content { max-width: 860px; }
.manifesto-content > .eyebrow { margin: 5px 0 29px; color: rgba(240, 237, 229, .75); }
.manifesto-content > .eyebrow span { color: var(--rust); }
.manifesto h2, .work-heading h2, .contact h2 { margin: 0; font: 400 clamp(68px, 9vw, 132px)/.85 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.manifesto h2 em, .work-heading h2 em { color: var(--rust); }
.manifesto-foot { display: flex; align-items: end; justify-content: space-between; max-width: 660px; margin: 49px 0 0 auto; border-top: 1px solid rgba(240, 237, 229, .4); padding-top: 18px; }
.manifesto-foot p { margin: 0; color: rgba(240, 237, 229, .78); font-size: 13px; line-height: 1.65; }
.signature { font: italic 42px var(--serif); letter-spacing: -.05em; }
.manifesto-side { position: absolute; right: 21px; top: 50%; color: rgba(240, 237, 229, .52); font: 8px var(--mono); letter-spacing: .1em; writing-mode: vertical-rl; }

.work-section { padding: 0 var(--page-pad) clamp(140px, 18vw, 260px); }
.work-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 3vw; align-items: start; padding: 0 0 65px; border-bottom: 1px solid var(--rule); }
.work-title-wrap > .eyebrow { margin: 0 0 24px; }
.work-heading h2 { font-size: clamp(80px, 9vw, 132px); }
.work-intro { max-width: 225px; margin: 112px 0 0 auto; color: #66645e; font: 14px/1.7 var(--serif); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 12px; border-bottom: 1px solid var(--rule); }
.filter-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease, border-color .2s ease; }
.filter-button:hover, .filter-button:focus-visible { color: var(--rust); }
.filter-button.is-active { border-color: var(--rust); background: transparent; color: var(--rust); }
.filter-button span { color: #b8b5ae; font-size: 8px; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.4vw; row-gap: 115px; align-items: start; padding-top: 40px; }
.work-card { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.card-image { position: relative; display: block; width: 100%; overflow: hidden; background: var(--paper-deep); }
.card-image img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.work-card:hover .card-image img, .work-card:focus-visible .card-image img { transform: scale(1.035); }
.work-card:focus-visible { outline: 1px solid var(--rust); outline-offset: 7px; }
.card-open { position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); font: 15px var(--sans); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.work-card:hover .card-open, .work-card:focus-visible .card-open { opacity: 1; transform: translateY(0); }
.card-caption { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 6px; padding-top: 14px; }
.card-number { grid-column: 1 / -1; color: var(--rust); font-size: 8px; }
.card-name { font: 400 clamp(19px, 2vw, 26px)/1.2 var(--serif); letter-spacing: -.025em; }
.card-location { align-self: end; color: var(--muted); font-size: 7px; text-align: right; }
.card-portrait { grid-column: 2 / span 5; }
.card-portrait .card-image { aspect-ratio: .83; }
.card-editorial { grid-column: 8 / span 4; margin-top: 215px; }
.card-editorial .card-image { aspect-ratio: .78; }
.card-wedding { grid-column: 2 / span 6; margin-top: 35px; }
.card-wedding .card-image { aspect-ratio: 1.22; }
.card-laurea { grid-column: 9 / span 4; margin-top: 210px; }
.card-laurea .card-image { aspect-ratio: .94; }
.card-baptism { grid-column: 3 / span 4; margin-top: 10px; }
.card-baptism .card-image { aspect-ratio: 1.1; }
.card-stilllife { grid-column: 8 / span 4; margin-top: 180px; }
.card-stilllife .card-image { aspect-ratio: .9; }
.card-family { grid-column: 3 / span 7; margin-top: 10px; }
.card-family .card-image { aspect-ratio: 1.35; }
.work-grid.is-filtered .work-card { grid-column: span 5; margin-top: 0; }
.work-count { display: flex; gap: 14px; justify-content: center; margin: 88px 0 0; color: var(--muted); font-size: 8px; }
.work-count span { color: var(--rust); }

.interlude { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 690px; padding: 70px var(--page-pad); background: #181816; color: var(--paper); overflow: hidden; }
.interlude-image { position: relative; z-index: 0; width: min(100%, 730px); height: 520px; overflow: hidden; }
.interlude-image::after { position: absolute; inset: 0; background: rgba(60, 44, 30, .13); content: ""; mix-blend-mode: multiply; }
.interlude-image img { object-position: 44% center; }
.interlude-copy { position: relative; z-index: 1; margin: 0 0 0 -8vw; padding: 38px 34px 36px 42px; background: var(--paper); color: var(--ink); }
.interlude-copy .eyebrow { color: var(--rust); }
.interlude-copy > p { margin: 38px 0 46px; font: 400 clamp(37px, 5.1vw, 74px)/1.02 var(--serif); letter-spacing: -.055em; }
.interlude-sign { color: var(--muted); font-size: 8px; }
.interlude-label { position: absolute; bottom: 20px; right: var(--page-pad); color: rgba(240, 237, 229, .68); font-size: 7px; }

.contact { position: relative; display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; min-height: 640px; padding: 110px var(--page-pad) 50px; overflow: hidden; background: var(--rust); color: var(--paper); }
.contact .section-index, .contact .eyebrow { color: rgba(240, 237, 229, .82); }
.contact .section-index span:first-child { color: var(--ink); }
.contact-main { position: relative; z-index: 1; }
.contact-main .eyebrow { margin: 6px 0 28px; }
.contact h2 { font-size: clamp(78px, 10vw, 145px); }
.contact h2 em { color: var(--ink); }
.contact-link { display: inline-flex; align-items: center; gap: 45px; min-width: min(100%, 370px); justify-content: space-between; margin-top: 47px; padding: 0 0 13px; border-bottom: 1px solid rgba(238, 236, 229, .55); font: 14px var(--serif); transition: gap .2s ease; }
.contact-link:hover { gap: 55px; }
.contact-link span:last-child { font: 18px var(--sans); }
.contact-details { position: relative; z-index: 1; grid-column: 2; display: flex; flex-wrap: wrap; gap: 20px 45px; align-self: end; padding-top: 23px; border-top: 1px solid rgba(238, 236, 229, .3); color: rgba(238, 236, 229, .7); font-size: 8px; }
.contact-details a { color: var(--paper); }
.contact-stamp { position: absolute; right: -2vw; bottom: -16vw; width: 46vw; height: 46vw; opacity: .1; filter: brightness(0) invert(1); object-fit: contain; pointer-events: none; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; padding: 0 var(--page-pad); background: var(--ink); color: rgba(240, 237, 229, .72); font-size: 8px; }
.footer-mark { display: block; width: 33px; height: 33px; }
.back-top { color: var(--paper); }

.project-dialog { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: min(760px, calc(100% - 32px)); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px rgba(0, 0, 0, .28); }
.project-dialog::backdrop { background: rgba(20, 20, 18, .77); backdrop-filter: blur(5px); }
.dialog-layout { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 600px; max-height: inherit; }
.dialog-visual { min-height: 500px; background: var(--paper-deep); }
.dialog-visual img { object-fit: cover; }
.dialog-content { position: relative; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 5vw, 72px); }
.dialog-close { position: absolute; top: 23px; right: 26px; display: flex; align-items: center; gap: 14px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.dialog-close span { color: var(--rust); font: 24px var(--sans); }
.dialog-location { margin-bottom: 25px; color: var(--rust); }
.dialog-content h2 { margin: 0; font: 400 clamp(42px, 5vw, 70px)/1 var(--serif); letter-spacing: -.055em; }
.dialog-description { max-width: 360px; margin: 28px 0 50px; color: #625f58; font: 16px/1.7 var(--serif); }
.dialog-credit { padding-top: 15px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 7px; }
.cursor-label { position: fixed; z-index: 30; top: 0; left: 0; display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: var(--rust); color: var(--paper); font: 8px var(--mono); letter-spacing: .08em; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.7); transition: opacity .2s ease, transform .2s ease; }
.cursor-label.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.noscript-nav { display: none; }

.has-js .reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.25,1); }
.has-js .reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@keyframes image-arrive { from { transform: scale(1.035); filter: saturate(.55) brightness(.85); } to { transform: scale(1); filter: saturate(.88) brightness(1); } }

@media (max-width: 980px) {
  .header-note { display: none; }
  .work-heading { grid-template-columns: .8fr 2fr; }
  .work-intro { grid-column: 2; max-width: 360px; margin: 30px 0 0; }
  .work-grid { row-gap: 85px; }
  .card-editorial { margin-top: 140px; }
  .card-laurea { margin-top: 130px; }
  .card-stilllife { margin-top: 120px; }
  .interlude { min-height: 580px; }
  .interlude-image { height: 440px; }
}

@media (max-width: 700px) {
  :root { --page-pad: 18px; }
  html { scroll-padding-top: 77px; }
  .site-header, .site-header.is-scrolled { min-height: 70px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-monogram { width: 36px; height: 36px; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 8px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--rule); border-radius: 50%; background: transparent; }
  .menu-toggle span { height: 1px; width: 100%; background: var(--ink); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 18; inset: 70px 0 auto; display: flex; flex-direction: column; gap: 0; padding: 14px var(--page-pad) 26px; background: var(--paper); border-bottom: 1px solid var(--rule); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease; }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu a { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rule); font: 400 34px var(--display); text-transform: uppercase; }
  .mobile-menu a span { color: var(--rust); font: 8px var(--mono); }
  .mobile-menu > p { margin: 22px 0 0; color: var(--muted); font-size: 8px; }
  html:not(.has-js) .menu-toggle { display: none; }
  html:not(.has-js) .noscript-nav { position: fixed; z-index: 21; top: 70px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 13px var(--page-pad); border-bottom: 1px solid var(--rule); background: var(--paper); font: 8px var(--mono); letter-spacing: .08em; }
  .hero { padding-top: 8px; }
  .hero-image-wrap { height: min(77svh, 700px); min-height: 555px; }
  .hero-image { object-position: 62% center; }
  .hero-topline { top: 17px; left: 15px; right: 15px; font-size: 7px; }
  .hero-copy { top: 49%; left: 19px; transform: translateY(-10%); }
  .hero-copy .eyebrow { gap: 8px; margin-bottom: 17px; font-size: 8px; }
  .eyebrow-line { width: 18px; }
  .hero h1 { font-size: clamp(62px, 15vw, 98px); line-height: .79; }
  .hero-bottomline { inset: auto 15px 14px; font-size: 7px; }
  .hero-caption { max-width: 130px; }
  .scroll-arrow { width: 28px; height: 28px; }
  .image-credit { right: 7px; font-size: 6px; }
  .hero-underbar { min-height: 39px; font-size: 7px; }
  .hero-underbar > span:nth-child(2) { display: none; }
  .manifesto { display: block; padding: 120px var(--page-pad) 145px; }
  .manifesto > .section-index { margin-bottom: 54px; }
  .manifesto-content > .eyebrow { margin-bottom: 21px; font-size: 8px; }
  .manifesto h2 { font-size: clamp(56px, 15.5vw, 88px); }
  .manifesto-foot { margin-top: 34px; }
  .manifesto-foot p { font-size: 12px; }
  .signature { font-size: 34px; }
  .manifesto-side { right: 5px; font-size: 7px; }
  .work-section { padding-bottom: 135px; }
  .work-heading { display: block; padding-bottom: 38px; }
  .work-heading > .section-index { margin-bottom: 55px; }
  .work-title-wrap > .eyebrow { margin-bottom: 18px; font-size: 8px; }
  .work-heading h2 { font-size: clamp(66px, 14vw, 98px); }
  .work-intro { max-width: 260px; margin: 22px 0 0 auto; font-size: 13px; }
  .filters { flex-wrap: nowrap; gap: 4px; margin: 0 calc(var(--page-pad) * -1); padding: 13px var(--page-pad); overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; font-size: 9px; }
  .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 47px 12px; padding-top: 24px; }
  .work-card, .card-portrait, .card-editorial, .card-wedding, .card-laurea, .card-baptism, .card-stilllife, .card-family { grid-column: auto; margin: 0; }
  .card-image, .card-portrait .card-image, .card-editorial .card-image, .card-wedding .card-image, .card-laurea .card-image, .card-baptism .card-image, .card-stilllife .card-image, .card-family .card-image { aspect-ratio: .72; }
  .work-card:nth-child(even) { margin-top: 42px; }
  .card-family { grid-column: 1 / -1; width: 86%; margin: 0 auto !important; }
  .card-family .card-image { aspect-ratio: 1.15; }
  .work-grid.is-filtered .work-card { grid-column: auto; margin-top: 0; }
  .card-caption { grid-template-columns: 1fr; row-gap: 5px; padding-top: 10px; }
  .card-name { font-size: 20px; }
  .card-location { text-align: left; font-size: 7px; }
  .card-number { font-size: 7px; }
  .card-open { right: 9px; bottom: 9px; width: 31px; height: 31px; opacity: 1; transform: none; font-size: 13px; }
  .work-count { margin-top: 65px; }
  .interlude { display: flex; min-height: 680px; flex-direction: column; align-items: stretch; justify-content: center; padding: 55px var(--page-pad) 70px; }
  .interlude-image { width: 88%; height: 380px; }
  .interlude-copy { width: 88%; margin: -55px 0 0 auto; padding: 24px 21px 26px; }
  .interlude-copy .eyebrow { font-size: 7px; }
  .interlude-copy > p { margin: 25px 0 29px; font-size: clamp(37px, 8.8vw, 55px); }
  .interlude-label { right: var(--page-pad); bottom: 21px; font-size: 6px; }
  .contact { display: block; min-height: 620px; padding: 72px var(--page-pad) 30px; }
  .contact > .section-index { margin-bottom: 66px; }
  .contact-main .eyebrow { max-width: 240px; font-size: 8px; }
  .contact h2 { font-size: clamp(52px, 13vw, 86px); line-height: .86; }
  .contact-link { min-width: min(100%, 330px); gap: 20px; margin-top: 37px; font-size: 13px; }
  .contact-details { display: grid; gap: 13px; margin-top: 86px; font-size: 7px; }
  .contact-stamp { right: -4vw; bottom: -7vw; width: 68vw; height: 68vw; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; min-height: 100px; gap: 7px 15px; padding: 17px var(--page-pad); font-size: 7px; }
  .footer-mark { grid-row: 1 / span 2; }
  .site-footer > span:nth-child(2) { text-align: right; }
  .site-footer > span:nth-child(3) { text-align: right; }
  .back-top { display: none; }
  .project-dialog { width: calc(100% - 20px); max-height: calc(100% - 20px); }
  .dialog-layout { grid-template-columns: 1fr; grid-template-rows: minmax(260px, 42vh) auto; min-height: 0; }
  .dialog-visual { min-height: 0; }
  .dialog-content { min-height: 300px; padding: 34px 25px; }
  .dialog-close { top: 15px; right: 17px; }
  .dialog-location { margin-bottom: 15px; }
  .dialog-description { margin: 18px 0 28px; font-size: 14px; }
  .cursor-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal-ready { opacity: 1; transform: none; }
}
