:root {
  --red: #ed1c24;
  --red-dark: #c71017;
  --ink: #202124;
  --muted: #66686d;
  --white: #ffffff;
  --soft: #f6f6f4;
  --pink: #fff0f0;
  --line: #dedede;
  --max: 1500px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; }
body.menu-open, body.dialog-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--red); background: var(--white); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 16px; }
.section-pad { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 104px 0; }
.section-index { grid-column: 1 / -1; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.section-index.light { color: rgba(255,255,255,.72); }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: .78rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: var(--white); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: .99; }
h1 { margin-bottom: 28px; font-size: clamp(3.8rem, 7.2vw, 8.3rem); font-weight: 800; letter-spacing: -.074em; }
h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5.7rem); font-weight: 760; letter-spacing: -.06em; }
h3 { letter-spacing: -.035em; }
.section-heading { max-width: 1080px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 1px solid var(--red); border-radius: 999px; padding: 13px 26px; color: var(--white); background: var(--red); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); background: var(--red-dark); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.button-outline { margin-top: 38px; color: var(--red); background: transparent; }
.button-outline:hover { color: var(--white); }
.button-white { border-color: var(--white); color: var(--red); background: var(--white); }
.button-white:hover { color: var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.text-link { font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link span { color: var(--red); }
.text-link-light { color: var(--white); border-bottom-color: rgba(255,255,255,.65); }
.text-link-light span { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(20,20,20,.07); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.header-inner { width: min(var(--max), calc(100% - 64px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 34px; }
.brand { width: 176px; margin-right: auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; font-size: .9rem; font-weight: 720; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--red); transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 6px auto; background: var(--ink); transition: .2s ease; }

.hero { position: relative; min-height: calc(100svh - 76px); overflow: hidden; color: var(--white); background: var(--red); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .22; background-image: radial-gradient(circle, rgba(255,255,255,.7) 1.5px, transparent 1.7px); background-size: 28px 28px; mask-image: linear-gradient(100deg, #000, transparent 68%); }
.hero::after { content: ""; position: absolute; width: 52vw; height: 52vw; left: -27vw; bottom: -37vw; z-index: -1; border: 3px solid rgba(255,255,255,.38); border-radius: 45% 55% 48% 52%; box-shadow: 0 0 0 5vw rgba(255,255,255,.045), 0 0 0 10vw rgba(255,255,255,.03); animation: blob-spin 18s linear infinite; }
@keyframes blob-spin { to { transform: rotate(360deg); } }
.hero-inner { width: min(var(--max), calc(100% - 64px)); min-height: calc(100svh - 76px); margin: 0 auto; padding: 42px 0 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .52fr); align-items: center; gap: 54px 7vw; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 1000px; color: var(--white); }
.hero h1 .hero-word { display: inline-block; color: transparent; -webkit-text-stroke: 2px var(--white); transform: rotate(1deg); }
.hero h1 .hero-accent { display: block; width: max-content; max-width: 100%; margin-top: .05em; padding: .01em .13em .09em; border-radius: .2em; color: var(--red); background: var(--white); transform: rotate(-1.8deg); transform-origin: left center; }
.hero-intro { max-width: 760px; margin-bottom: 34px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.5vw, 1.38rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.showreel { position: relative; width: min(100%, 390px); justify-self: end; transform: rotate(2.6deg); }
.video-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 0; border-radius: 30px 12px 30px 12px; background: transparent; box-shadow: none; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-mark { position: absolute; right: 36vw; bottom: -7vw; z-index: -1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.18); font-size: clamp(14rem, 31vw, 36rem); font-weight: 900; line-height: .7; letter-spacing: -.12em; user-select: none; }

.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .7fr); gap: 22px 9vw; }
.about .section-heading { position: relative; }
.about-copy { padding-top: 8px; font-size: 1.08rem; }
.about-copy p { color: var(--muted); }
.about-copy p:first-child { color: var(--ink); font-size: 1.3rem; font-weight: 720; }
.services-merged { grid-column: 1 / -1; margin-top: 54px; padding-top: 54px; border-top: 1px dashed var(--line); scroll-margin-top: 96px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.service-card { position: relative; min-height: 212px; overflow: hidden; padding: 24px; border: 0; border-radius: 30px 12px 30px 12px; color: var(--white); background: var(--red); transition: transform .28s cubic-bezier(.2,.8,.2,1), border-radius .28s ease; }
.service-card:nth-child(2n) { border-radius: 12px 30px 12px 30px; }
.service-card:nth-child(1) { transform: rotate(-.5deg); }
.service-card:nth-child(3) { transform: rotate(.55deg); }
.service-card:nth-child(5) { transform: rotate(-.35deg); }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -92px; top: -92px; border: 1px solid currentColor; border-radius: 50%; opacity: .22; }
.service-card:hover { z-index: 2; transform: translateY(-8px) rotate(1deg); border-radius: 14px 34px 14px 34px; }
.service-card > span { color: rgba(255,255,255,.74); font-size: .74rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { max-width: 430px; margin: 42px 0 12px; font-size: clamp(1.35rem, 1.8vw, 1.85rem); }
.service-card p { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); }

.work { position: relative; width: 100%; max-width: none; padding-inline: max(32px, calc((100% - var(--max)) / 2)); background: var(--white); }
.work::before { content: ""; position: absolute; right: -120px; top: 90px; width: 300px; height: 180px; border: 3px solid var(--red); border-radius: 52% 48% 61% 39%; transform: rotate(18deg); opacity: .17; }
.work > .section-heading { max-width: 1040px; }
.project-categories { margin-top: 66px; counter-reset: category; }
.project-category { position: relative; padding: 38px 0 52px; border-top: 1px dashed #c8c8c8; counter-increment: category; }
.project-category::before { content: "0" counter(category); position: absolute; right: 0; top: 24px; width: clamp(62px, 7vw, 92px); height: clamp(62px, 7vw, 92px); display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); font-size: clamp(1.3rem, 2.2vw, 2.2rem); font-weight: 900; line-height: 1; letter-spacing: -.06em; transform: rotate(7deg); }
.project-category:nth-child(even)::before { transform: rotate(-8deg); }
.project-category:last-child { border-bottom: 1px dashed #c8c8c8; }
.category-heading { position: relative; z-index: 2; margin-bottom: 26px; padding-right: 11vw; }
.category-heading h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 3.3rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.portrait-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.food-photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.food-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exteriors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; }
.product-grid .portrait { grid-column: span 3; }
.product-grid .landscape { grid-column: span 4; }
.project-card { position: relative; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; border-radius: 28px 10px 28px 10px; background: #dedede; text-align: left; cursor: pointer; text-decoration: none; isolation: isolate; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-radius .3s ease; }
.project-card:nth-child(2n) { border-radius: 10px 28px 10px 28px; }
.project-card.landscape { aspect-ratio: 16 / 10; }
.project-card.portrait { aspect-ratio: 3 / 4; }
.portrait-grid .project-card.portrait, .food-video-grid .project-card.portrait { aspect-ratio: 9 / 16; }
.food-photo-grid .project-card.portrait { aspect-ratio: 2 / 3; }
.project-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78)); transition: opacity .25s ease; }
.project-card:hover { z-index: 3; transform: translateY(-6px) rotate(.45deg); border-radius: 18px; }
.project-card:nth-child(2n):hover { transform: translateY(-6px) rotate(-.45deg); }
.project-card:hover img { transform: scale(1.055); }
.project-card:focus-visible { outline: 4px solid var(--red); outline-offset: 3px; }
.project-overlay { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; color: var(--white); }
.project-overlay small { grid-column: 1 / -1; color: rgba(255,255,255,.72); font-size: .7rem; font-style: normal; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-overlay strong { font-size: clamp(1.02rem, 1.4vw, 1.45rem); line-height: 1.08; letter-spacing: -.025em; }
.project-overlay i { align-self: end; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: .66rem; font-style: normal; }
.clean-card::after { opacity: 0; background: rgba(237,28,36,.14); }
.clean-card:hover::after { opacity: 1; }
.play-orb { position: absolute; right: 13px; bottom: 13px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--white); background: transparent; font-size: .66rem; font-style: normal; font-weight: 600; transition: transform .2s ease; }
.clean-card:hover .play-orb { transform: scale(1.06); }

.contact { width: 100%; max-width: none; padding-inline: max(32px, calc((100% - var(--max)) / 2)); color: var(--white); background: var(--red); }
.contact-intro { max-width: 900px; }
.contact-intro h2 { margin: 0 0 24px; color: var(--white); font-size: clamp(3.7rem, 6.5vw, 7rem); }
.contact-intro > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.82); font-size: 1.16rem; }
.contact-cta { margin-top: 22px; }
.site-footer { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 60px 0 28px; display: grid; grid-template-columns: 1.2fr .6fr .7fr; gap: 28px 6vw; }
.footer-brand img { width: 190px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.site-footer nav, .socials { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer nav a, .socials a { width: fit-content; padding: 2px 0; font-size: .9rem; font-weight: 720; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.footer-link { width: fit-content; padding: 2px 0; border: 0; color: inherit; background: transparent; font-size: .9rem; font-weight: 720; text-align: left; cursor: pointer; transition: color .2s ease; }
.footer-link:hover { color: var(--red); }
.socials a:nth-child(2n):hover { transform: rotate(2deg); }
.socials a:nth-child(2n+1):hover { transform: rotate(-2deg); }
.site-footer a:hover { color: var(--red); }
.footer-bottom { grid-column: 1 / -1; margin-top: 34px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

.media-dialog { width: min(1100px, calc(100% - 30px)); max-height: 92vh; padding: 16px; border: 0; border-radius: 20px; overflow: hidden; background: #111; color: var(--white); }
.media-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.media-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 14px; top: 8px; z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: rgba(0,0,0,.52); font-size: 2rem; cursor: pointer; }
#dialog-title { margin: 4px 52px 14px 4px; font-weight: 720; }
.dialog-video { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.media-dialog.is-portrait { width: min(450px, calc(100% - 30px)); }
.media-dialog.is-portrait .dialog-video { width: min(100%, 439px, 43.875vh); height: auto; max-width: 100%; aspect-ratio: 9 / 16; justify-self: center; }
.dialog-video iframe, .dialog-video video { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.dialog-video video { object-fit: contain; }
.dialog-external { width: fit-content; margin: 12px 2px 0; color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 720; text-underline-offset: 3px; }
.dialog-external[hidden] { display: none; }
.media-dialog.is-photo { width: min(1220px, calc(100% - 30px)); }
.media-dialog.is-photo .dialog-video { display: grid; place-items: center; aspect-ratio: auto; max-height: 82vh; background: #111; }
.dialog-image { width: auto; max-width: 100%; max-height: 79vh; object-fit: contain; }
.cookie-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 24px; border: 1px solid var(--ink); border-radius: 28px 12px 28px 12px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 10px 10px 0 rgba(32,33,36,.22); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.cookie-banner[hidden] { display: none; }
.cookie-copy .eyebrow { margin-bottom: 7px; }
.cookie-copy p:not(.eyebrow) { max-width: 760px; margin-bottom: 6px; color: var(--muted); font-size: .9rem; }
.cookie-copy a { font-size: .82rem; font-weight: 760; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-actions .button { min-height: 46px; padding: 10px 18px; font-size: .82rem; }
.cookie-essential { color: var(--ink); background: var(--white); border-color: var(--ink); }
.cookie-essential:hover { color: var(--white); background: var(--ink); }

.legal-page { background: var(--soft); }
.legal-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.legal-header-inner { width: min(980px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header .brand { width: 176px; margin: 0; }
.legal-back { font-size: .9rem; font-weight: 760; text-decoration: none; }
.legal-main { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-intro { margin-bottom: 52px; padding: 44px; border-radius: 34px 14px 34px 14px; color: var(--white); background: var(--red); }
.legal-intro h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(3.1rem, 7vw, 6.8rem); }
.legal-intro p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.legal-content { max-width: 820px; }
.legal-content section { padding: 30px 0; border-top: 1px dashed #bbb; }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.legal-content h3 { margin: 24px 0 8px; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: #4f5156; }
.legal-content ul { padding-left: 21px; }
.legal-content a { color: var(--red-dark); text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.legal-table th, .legal-table td { padding: 14px 12px; border: 1px solid #d2d2d2; vertical-align: top; text-align: left; }
.legal-table th { color: var(--ink); background: var(--white); }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .section-pad { padding: 92px 0; }
  .main-nav { position: fixed; inset: 76px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 32px 28px; background: var(--white); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu-toggle { display: block; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); gap: 44px; }
  .about { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .food-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .food-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid .portrait { grid-column: span 4; }
  .product-grid .landscape { grid-column: span 4; }
}

@media (max-width: 720px) {
  .section-pad, .header-inner, .hero-inner, .site-footer { width: min(100% - 30px, var(--max)); }
  .section-pad { padding: 76px 0; }
  .header-inner { min-height: 68px; }
  .brand { width: 148px; }
  .header-cta { display: none; }
  .main-nav { top: 68px; padding-inline: 15px; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding: 38px 0 70px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .hero-intro { font-size: 1.03rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .showreel { width: min(82vw, 330px); justify-self: center; margin-top: 18px; transform: rotate(1deg); }
  .hero-mark { right: -8vw; bottom: 31vw; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .service-card h3 { margin-top: 42px; }
  .work, .contact { width: 100%; padding-inline: 15px; }
  .category-heading { padding-right: 52px; }
  .project-category::before { top: 38px; }
  .portrait-grid, .food-photo-grid, .food-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exteriors-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid .portrait { grid-column: span 1; }
  .product-grid .landscape { grid-column: span 2; }
  .media-dialog {
    inset: 0;
    width: min(calc(100% - 20px), 118vh, 680px);
    width: min(calc(100% - 20px), 118dvh, 680px);
    max-width: calc(100% - 20px);
    height: auto;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    margin: auto;
    padding: max(14px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
    border-radius: 18px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .media-dialog[open] { display: grid; grid-template-rows: auto auto auto; }
  .media-dialog.is-portrait {
    width: min(calc(100% - 20px), 42vh, 430px);
    width: min(calc(100% - 20px), 42dvh, 430px);
  }
  .media-dialog.is-photo { width: min(calc(100% - 20px), 720px); }
  .dialog-close { right: max(10px, env(safe-area-inset-right)); top: max(8px, env(safe-area-inset-top)); }
  #dialog-title { min-height: 44px; margin: 7px 54px 10px 5px; display: flex; align-items: center; font-size: .92rem; line-height: 1.25; }
  .dialog-video {
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    max-height: none;
    aspect-ratio: 16 / 9;
    display: block;
  }
  .media-dialog.is-portrait .dialog-video { width: 100%; height: auto; max-height: none; aspect-ratio: 9 / 16; }
  .dialog-video iframe,
  .dialog-video video,
  .media-dialog.is-portrait .dialog-video iframe,
  .media-dialog.is-portrait .dialog-video video { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; background: #000; }
  .dialog-external { justify-self: center; margin: 11px 0 0; padding: 7px 10px; font-size: .82rem; }
  .media-dialog.is-photo .dialog-video { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); aspect-ratio: auto; display: grid; }
  .dialog-image { max-height: 100%; }
  .project-overlay { left: 15px; right: 15px; bottom: 14px; }
  .project-overlay small { font-size: .63rem; }
  .project-overlay strong { font-size: 1rem; }
  .project-overlay i { min-width: 34px; min-height: 34px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-bottom { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 15px; right: 15px; bottom: 15px; width: calc(100% - 30px); grid-template-columns: 1fr; gap: 18px; padding: 19px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .button { flex: 1 1 180px; }
  .legal-header-inner, .legal-main { width: min(100% - 30px, 980px); }
  .legal-main { padding-top: 46px; }
  .legal-intro { padding: 30px 22px; }
  .legal-header .brand { width: 145px; }
  .legal-table { display: block; overflow-x: auto; }
}

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