/*
Theme Name: Papacciuoli Design
Description: Tema dedicato, HTML semantico, CSS e JavaScript nativi.
Version: 1.0.0
Author: Row Tech
Text Domain: papacciuoli
*/

:root {
    --paper: #f7f5ee;
    --background: #1c1c1c;
    --deep: #161616;
    --gold: #cabe9d;
    --content: 85%;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--background); color: var(--paper); font: 300 15px/1.5 Poppins, sans-serif; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button { border: 0; color: inherit; background: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; }
p + p { margin-top: 1em; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: #fff; color: #111; padding: 12px; }
.skip-link:focus { top: 10px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.content-width { width: var(--content); margin-inline: auto; }
.site-header { height: 96px; position: fixed; inset: 0 0 auto; z-index: 20; background: #000; }
.site-header + main { padding-top: 96px; }
.site-header.is-overlay { background: linear-gradient(#000, transparent); }
.site-header.is-overlay + main { padding-top: 0; }
.site-header.is-scrolled { background: #000; }
.header-inner { width: 85.6%; height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.brand { flex: 0 0 249px; }
.brand img { width: 249px; height: 86px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a { display: inline-flex; align-items: center; gap: 22px; font: 300 16px/1 'League Spartan', sans-serif; letter-spacing: 2px; white-space: nowrap; }
.primary-nav a::before { content: ''; display: block; height: 28px; width: 1px; background: #a7a7a7; transform: rotate(35deg); }
.language-switch { display: inline-flex; align-items: center; gap: 8px; padding: 8px; font-size: 17px; }
.language-flag { width: 22px; height: 15px; display: inline-block; background: linear-gradient(90deg,#009246 0 33.33%,#fff 33.33% 66.66%,#ce2b37 66.66%); }
.language-flag svg { display: block; width: 22px; height: 15px; }
.language-switch::before { display: none !important; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 7px; }
.nav-toggle span { display: block; width: 100%; height: 1px; margin: 7px 0; background: #fff; transition: transform .2s; }
.home-hero { height: 596px; background: #1c1c1c; position: relative; overflow: hidden; }
.home-hero picture, .home-hero .hero-video { width: 100%; height: 700px; object-fit: cover; position: absolute; top: -104px; left: 0; }
.home-hero img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .hero-video { z-index: 1; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 2; pointer-events: none; }
.home-hero h1 { display: none; }
.home-scroll-cue { display: none; }
.home-intro { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 40px 20px; }
.home-intro h2 { font: 300 40px/1 Quicksand, sans-serif; }
.home-intro p { font: 300 21px/1 'Cormorant Garamond', serif; }
.home-features { background: var(--deep); padding-top: 90px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-height: 635px; align-items: start; }
.feature:last-child { margin-bottom: 0; }
.feature-media { width: 100%; height: 530px; object-fit: cover; }
video.feature-media { height: auto; aspect-ratio: 16 / 9; }
.feature-copy { background: var(--background); min-height: 390px; padding: 137px 50px 25px; display: flex; flex-direction: column; gap: 20px; }
.feature-copy h2 { font: 300 40px/1 Quicksand, sans-serif; }
.feature-copy p { font: 300 15px/22px Poppins, sans-serif; width: calc(80% - 20px); }
.feature.is-reversed .feature-media { order: 2; }
.feature.is-reversed .feature-copy { order: 1; }
.arrow-link { position: relative; display: flex; align-items: center; gap: 25px; margin-top: 35px; font-size: 15px; }
.arrow-link::after { content: ''; width: 70px; height: 1px; background: currentColor; }
.arrow-link::before { content: ''; position: absolute; left: 156px; width: 9px; height: 9px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.home-about { padding: 90px 0; background: var(--deep); }
.home-about-inner { width: 80%; margin-inline: auto; display: grid; grid-template-columns: 27% 1fr; align-items: center; gap: 30px; }
.home-about-inner > img { width: 100%; }
.home-about-copy { padding: 25px 50px; text-align: center; }
.home-about h2 { font: 200 60px/1 Poppins, sans-serif; margin-bottom: 20px; }
.home-about p { font-size: 20px; line-height: 22px; }
.button { display: inline-block; background: #000; color: #fff; font-size: 15px; padding: 15px 25px; margin-top: 25px; text-align: center; transition: background .2s; }
.button:hover { color: #fff; background: #3c3830; }
.home-portfolio { background: var(--deep); padding: 65px 0 50px; }
.section-heading { font: 200 53px/1.15 Poppins, sans-serif; text-align: center; margin: 0 auto 75px; }
.project-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px)/3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.project-carousel::-webkit-scrollbar { display: none; }
.project-card { min-width: 0; height: 580px; position: relative; display: grid; overflow: hidden; scroll-snap-align: start; }
.project-card img { width: 100%; height: 100%; object-fit: cover; grid-area: 1/1; transition: transform .6s; }
.project-card-copy { grid-area: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 30px; background: #0009; z-index: 1; opacity: 0; transition: opacity .4s; }
.project-card:hover .project-card-copy, .project-card:focus-visible .project-card-copy { opacity: 1; }
.project-card:hover img { transform: scale(1.025); }
.project-card-copy p { font-size: 15px; font-weight: 200; text-transform: uppercase; }
.project-card-copy h2, .project-card-copy h3 { font: 300 34px/1.2 Quicksand, sans-serif; text-transform: uppercase; }
.project-card-copy span { background: #0009; padding: 15px 25px; color: #fff; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 25px; padding: 25px 20px; }
.carousel-controls button { font-size: 30px; width: 44px; }
.carousel-controls .button { font-size: 15px; width: auto; margin: 0; }
.home-services { padding: 90px 0; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; width: 85%; margin: auto; }
.service-card { height: 600px; position: relative; overflow: hidden; display: grid; }
.service-card img { grid-area: 1/1; width: 100%; height: 100%; object-fit: cover; }
.service-card > div { grid-area: 1/1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0006; }
.service-card h3 { font-size: 28px; }
.service-card .button { background: #0006; }
.home-cta { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 80px 0; gap: 30px; }
.home-cta > div { padding: 35px 9%; text-align: center; }
.home-cta h2 { font: 200 55px/1.2 Poppins, sans-serif; margin-bottom: 25px; }
.home-cta img { width: 100%; }
.page-heading { text-align: center; padding: 85px 20px 60px; }
.page-heading h1 { font: 200 50px/1.2 Poppins, sans-serif; }
.page-heading h1::after { content: ''; display: block; height: 1px; width: 60px; margin: 25px auto 0; background: var(--gold); }
.page-heading > p { max-width: 900px; margin: 35px auto 0; font-size: 18px; }
.page-video-hero { height: 70vh; min-height: 450px; display: grid; position: relative; overflow: hidden; }
.page-video-hero video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.page-video-hero .hero-title { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0007; text-align: center; padding: 100px 20px 35px; }
.hero-title h1 { font: 200 50px/1.2 Poppins, sans-serif; }
.scroll-cue { width: 20px; height: 20px; border-bottom: 1px solid; border-right: 1px solid; transform: rotate(45deg); margin-top: 50px; }
.about-rows { width: 85%; margin: 90px auto; display: grid; gap: 75px; }
.about-row { display: grid; grid-template-columns: 54% 46%; align-items: stretch; }
.about-row img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.about-row > div { padding: 10px 30px; }
.about-row h2 { font: 300 24px/1 Quicksand, sans-serif; margin-bottom: 20px; }
.about-row p { font: 400 16px/24px Quicksand, sans-serif; }
.page-kind-team { background: #000; }
.page-kind-team .page-heading { padding-bottom: 90px; }
.page-kind-team .page-heading h1::after { margin-top: 65px; width: 35px; }
.team-grid { width: 76%; margin: 0 auto 100px; display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.team-member { background: var(--deep); text-align: center; }
.team-member img { width: 100%; height: 334px; object-fit: cover; object-position: top center; }
.team-member > div { padding: 30px 25px; }
.team-member .role { font-size: 14px; min-height: 44px; }
.team-member h2 { font: 300 20px/1.2 Quicksand,sans-serif; text-transform: uppercase; margin: 10px 0 30px; }
.team-member .role, .team-member .bio { font: 400 16px/24px Quicksand,sans-serif; text-align: center; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 0 20px 100px; }
.project-hero { height: 100svh; min-height: 600px; background-size: cover; background-position: center; }
.project-hero-copy { width: 30%; height: 100%; background: #111c; padding: 140px 35px 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 25px; }
.project-hero-copy > p { font-size: 17px; text-transform: uppercase; }
.project-hero-copy h1 { font: 300 48px/1.2 Quicksand,sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
.project-intro { width: 85%; margin: 90px auto; display: grid; grid-template-columns: 65% 30%; gap: 5%; }
.project-intro h2 { font: 300 40px/1.2 Quicksand,sans-serif; margin-bottom: 30px; }
.project-intro p { font-size: 17px; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.project-facts p { font-size: 15px; }
.project-facts strong { font-weight: 400; }
.project-tabs { margin-bottom: 100px; }
.tab-list { display: flex; justify-content: center; gap: 60px; margin-bottom: 45px; }
.tab-list button { font-size: 20px; padding: 15px 8px; border-bottom: 1px solid transparent; }
.tab-list button[aria-selected=true] { border-color: var(--gold); }
.project-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin: 0 20px; }
.project-gallery a { display: block; overflow: hidden; }
.project-gallery img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .4s; }
.project-gallery a:hover img { transform: scale(1.03); }
.tour-frame { display: block; width: 100%; height: 80vh; min-height: 450px; border: 0; }
.embed-consent { text-align: center; padding: 90px 25px; background: var(--deep); }
.project-navigation { width: 85%; margin: 60px auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-family: Quicksand,sans-serif; font-size: 20px; }
.contact-content { padding-bottom: 100px; }
.careers-list { width: 63%; margin: 90px auto; display: grid; gap: 45px; }
.career-card { padding: 60px 50px; background-size: cover; background-position: center; }
.career-card.has-image { background-blend-mode: multiply; background-color: #0008; }
.career-card h2 { font: 300 40px/1.2 Quicksand,sans-serif; margin-bottom: 25px; }
.career-card p { font-size: 17px; }
.career-actions { display: flex; gap: 25px; }
.prose { width: min(85%,1000px); min-height: 35vh; margin: 40px auto 100px; }
.prose h2, .prose h3 { margin: 35px 0 20px; }
.prose ul { padding-left: 25px; }
.site-footer { background: #000; }
.footer-main { display: grid; grid-template-columns: 40% 30% 30%; min-height: 220px; align-items: center; width: 85%; margin: auto; gap: 25px; border-bottom: 1px solid #fff4; }
.footer-brand img { width: 170px; }
.footer-contact h2 { font: 300 24px/1.2 Quicksand,sans-serif; margin-bottom: 20px; }
.footer-contact p { font-size: 17px; }
.footer-social { display: flex; justify-content: center; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #000; background: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-credit { padding: 25px 15px; background: var(--background); font-size: 12px; text-align: center; }
.footer-credit a { text-decoration: underline; }
.privacy-controls { position: fixed; bottom: 0; right: 15px; z-index: 30; background: #fff; color: #333; border-radius: 10px 10px 0 0; font-size: 12px; padding: 9px 15px; }
.cookie-panel { position: fixed; right: 20px; bottom: 20px; width: 526px; max-width: calc(100% - 40px); z-index: 50; padding: 20px; background: #fff; color: #222; border-radius: 12px; box-shadow: 0 10px 40px #0004; font: 400 12px/1.5 Poppins,sans-serif; }
.cookie-panel h2 { font-size: 14px; text-align: center; margin-bottom: 22px; font-weight: 500; }
.cookie-panel p { margin-bottom: 22px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 10px; }
.cookie-actions button { padding: 13px 10px; border: 1px solid #eee; border-radius: 5px; color: #222; background: #fafafa; font-size: 13px; }
.cookie-actions button:first-child { background: #161616; color: #fff; }
.cookie-links { text-align: center; margin-top: 15px; text-decoration: underline; font-size: 11px; }
.dialog { border: 1px solid #777; color: var(--paper); background: var(--background); max-width: min(95vw,1000px); max-height: 95svh; padding: 35px; }
.dialog::backdrop { background: #000d; }
.dialog-close { position: absolute; right: 8px; top: 5px; font-size: 28px; }
.lightbox { border: 0; background: transparent; width: 96vw; max-width: 96vw; padding: 35px 50px; }
.lightbox img { max-width: 100%; max-height: 86svh; margin: auto; object-fit: contain; }
.lightbox button { position: fixed; font-size: 30px; padding: 15px; }
.lightbox .dialog-close { right: 12px; top: 10px; }
.lightbox-prev { left: 5px; top: 45%; }
.lightbox-next { right: 5px; top: 45%; }
.video-dialog video { width: 100%; max-height: 80vh; }
.application-form { display: grid; gap: 18px; width: min(75vw,600px); padding-top: 25px; }
.application-form label { display: grid; gap: 8px; }
.application-form input, .application-form textarea { width: 100%; border: 1px solid #777; padding: 12px; background: #222; color: #fff; }
.application-form input[type=checkbox] { width: auto; }
.application-form .consent-label { display: block; }
.form-notice { padding: 20px; text-align: center; border: 1px solid var(--gold); margin-bottom: 25px; }
.scene-preview { padding: 35px; background: #222; }
.scene-selector { display: flex; gap: 25px; align-items: center; font-size: 18px; }
.scene-selector select { width: 30%; min-width: 150px; padding: 10px; border: 0; color: #111; background: #fff; }
.scene-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; padding: 6%; }
.scene-room { width: 100%; border-radius: 12px; }
.scene-upload { text-align: center; }
.scene-upload h2 { font-size: 30px; margin-bottom: 25px; }
.scene-upload p { margin-bottom: 25px; }
.scene-upload input { display: block; max-width: 200px; margin-top: 10px; }
.scene-person { width: min(100%,300px); border-radius: 8px; margin: 25px auto; }
.scene-status { font-size: 14px; }
[hidden] { display: none !important; }

@media (min-width: 2400px) {
    .header-inner { width: 76.5%; }
    .brand { flex-basis: 225px; }
    .brand img { width: 225px; }
    .primary-nav, .primary-nav a { gap: 30px; }
    .primary-nav a { font-size: 20px; }
}

@media (max-width: 1366px) {
    .header-inner { width: 90%; gap: 25px; }
    .primary-nav { gap: 18px; }
    .primary-nav a { gap: 18px; font-size: 16px; }
    .brand, .brand img { width: 225px; flex-basis: 225px; }
    .home-hero { height: 296px; }
    .home-hero picture, .home-hero .hero-video { height: 400px; }
    .feature-copy { padding-right: 8%; }
    .feature-copy { padding-top: 50px; }
    .feature-copy p { font-size: 14px; width: calc(90% - 10px); }
    .feature-copy h2 { font-size: 31px; }
    .project-card { height: 500px; }
}

@media (max-width: 1100px) {
    .site-header { height: 100px; }
    .site-header + main { padding-top: 100px; }
    .primary-nav { gap: 13px; }
    .primary-nav a { font-size: 14px; gap: 13px; letter-spacing: 1px; }
    .brand, .brand img { width: 170px; flex-basis: 170px; }
    .nav-toggle { display: block; }
    .primary-nav { display: none; position: absolute; top: 100px; inset-inline: 0; padding: 35px; background: #000; flex-direction: column; align-items: flex-start; gap: 25px; }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { font-size: 23px; gap: 25px; }
    .home-hero { height: 316px; }
    .home-hero picture, .home-hero .hero-video { height: 420px; }
    .feature { min-height: 500px; }
    .feature-media { height: 450px; }
    .feature-copy { padding: 40px; }
    .feature-copy h2 { font-size: 30px; }
    .home-about-copy { padding: 20px; }
    .home-about h2 { font-size: 45px; }
    .home-about p { font-size: 17px; line-height: 1.5; }
    .team-grid { grid-template-columns: repeat(2,1fr); width: 85%; }
    .service-card { height: 450px; }
    .service-card h3 { font-size: 22px; }
    .project-hero-copy { width: 40%; }
    .project-hero-copy h1 { font-size: 38px; }
    .about-row > div { padding: 30px; }
    .about-row h2 { font-size: 30px; }
    .careers-list { width: 80%; }
}

@media (max-width: 767px) {
    :root { --content: 90%; }
    .header-inner { width: 90%; }
    .header-inner { justify-content: flex-end; }
    .brand { position: absolute; left: 50%; top: -5px; transform: translateX(-50%); width: 150px; }
    .brand img { width: 150px; height: 96px; }
    .nav-toggle { display: block; }
    .primary-nav { display: none; position: absolute; top: 100px; inset-inline: 0; padding: 35px; background: #000f; flex-direction: column; align-items: flex-start; gap: 25px; }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { font-size: 23px; gap: 25px; }
    .primary-nav a::before { height: 25px; }
    .home-hero { height: 100svh; min-height: 500px; }
    .home-hero picture { height: 100%; top: 0; }
    .home-hero::after { background: #1c1c1c96; }
    .home-hero .hero-video { display: block; height: 100%; top: 0; }
    .home-hero h1 { display: block; position: absolute; z-index: 3; inset: 43.4% 20px auto; font: 200 30px/1.2 Poppins,sans-serif; text-align: center; color: #f7f5eea6; }
    .home-scroll-cue { display: block; position: absolute; z-index: 3; top: 60%; left: calc(50% - 8px); width: 16px; height: 16px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; transform: rotate(45deg); }
    .home-intro { min-height: 210px; gap: 20px; padding: 35px 20px; }
    .home-intro h2 { font-size: 28px; line-height: 1.2; }
    .home-intro p { font-size: 19px; line-height: 1.25; }
    .home-features { padding-top: 40px; }
    .feature { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; min-height: 0; }
    .feature-media { height: 400px; object-fit: cover; }
    .feature-copy { min-height: 0; padding: 45px 25px; width: 100%; }
    .feature-copy h2 { font-size: 28px; line-height: 1.25; }
    .feature-copy p { font-size: 12px; line-height: 22px; width: 100%; text-align: center; }
    .feature-copy h2 { text-align: center; }
    .feature.is-reversed .feature-media, .feature.is-reversed .feature-copy { order: initial; }
    .home-about { padding: 50px 0; }
    .home-about-inner { width: 90%; display: flex; flex-direction: column; gap: 25px; }
    .home-about-inner > img { width: 100%; }
    .home-about-copy { padding: 10px 0; }
    .home-about h2 { font-size: 40px; }
    .home-about p { font-size: 15px; }
    .home-portfolio { padding-top: 40px; }
    .section-heading { font-size: 34px; line-height: 1.2; margin: 0 20px 45px; }
    .project-carousel { grid-auto-columns: 100%; gap: 15px; }
    .project-card { height: 550px; }
    .project-card-copy { opacity: 1; background: #0005; padding: 25px; }
    .project-card-copy h2, .project-card-copy h3 { font-size: 30px; }
    .home-services { padding: 45px 0; }
    .service-grid { grid-template-columns: 1fr; width: 90%; }
    .service-card { height: 500px; }
    .service-card h3 { font-size: 30px; }
    .home-cta { grid-template-columns: 1fr; padding: 40px 0; gap: 25px; }
    .home-cta > div { padding: 25px; }
    .home-cta h2 { font-size: 37px; }
    .page-heading { padding: 65px 20px 45px; }
    .page-heading h1, .hero-title h1 { font-size: 30px; }
    .page-heading > p { font-size: 15px; }
    .page-video-hero { min-height: 450px; height: 70svh; }
    .about-rows { width: 90%; margin: 45px auto; gap: 50px; }
    .about-row { grid-template-columns: 1fr; }
    .about-row img { min-height: 0; height: 350px; }
    .about-row > div { padding: 35px 10px; }
    .about-row p { font-size: 15px; }
    .team-grid { width: 90%; grid-template-columns: 1fr; gap: 40px; }
    .team-member img { aspect-ratio: auto; height: 350px; }
    .team-member > div { padding: 35px 25px; }
    .team-member .role { min-height: 0; }
    .portfolio-grid { grid-template-columns: 1fr; margin: 0 0 60px; gap: 20px; }
    .project-hero { min-height: 550px; }
    .project-hero-copy { width: 100%; background: #1117; padding-inline: 25px; }
    .project-hero-copy h1 { font-size: 38px; }
    .project-intro { width: 90%; margin: 50px auto; grid-template-columns: 1fr; gap: 40px; }
    .project-intro h2 { font-size: 30px; }
    .project-intro p { font-size: 15px; }
    .project-facts { grid-template-columns: 1fr 1fr; }
    .project-tabs { margin-bottom: 50px; }
    .tab-list { gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
    .tab-list button { font-size: 16px; }
    .project-gallery { grid-template-columns: 1fr; gap: 10px; margin-inline: 10px; }
    .project-navigation { font-size: 16px; width: 90%; }
    .careers-list { width: 90%; margin: 45px auto; }
    .career-card { padding: 35px 25px; }
    .career-card h2 { font-size: 30px; }
    .career-card p { font-size: 15px; }
    .career-actions { flex-direction: column; gap: 0; align-items: flex-start; }
    .footer-main { width: 90%; grid-template-columns: 1fr; gap: 35px; padding: 50px 0; justify-items: center; text-align: center; }
    .footer-brand img { width: 160px; }
    .footer-contact p { font-size: 15px; }
    .footer-credit { font-size: 10px; }
    .cookie-panel { width: calc(100% - 20px); max-width: none; right: 10px; bottom: 10px; padding: 18px; }
    .cookie-actions { gap: 5px; }
    .cookie-actions button { font-size: 11px; padding: 12px 5px; }
    .cookie-panel p { font-size: 11px; }
    .dialog { padding: 35px 20px; }
    .application-form { width: min(80vw,600px); }
    .lightbox { padding: 45px 20px; }
    .scene-preview { padding: 20px; }
    .scene-selector { flex-wrap: wrap; gap: 15px; }
    .scene-columns { grid-template-columns: 1fr; gap: 35px; padding: 30px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
