:root {
  --red: #ee2f12;
  --red-dark: #cc240b;
  --ink: #151515;
  --ink-soft: #252525;
  --paper: #f2f0ea;
  --white: #fff;
  --line: rgba(21, 21, 21, .18);
  --line-light: rgba(255, 255, 255, .18);
  --muted: #686761;
  --project-title-leading: 1.16;
  --container: min(1220px, calc(100vw - 48px));
  --header-h: 88px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
body.menu-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 132px 0; }
section[id] { scroll-margin-top: 72px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-red { background: var(--red); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--white); padding: 12px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: var(--red); font-size: .72rem; line-height: 1; font-weight: 800; letter-spacing: .17em; }
.eyebrow.light { color: rgba(255, 255, 255, .72); }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h2 { max-width: 840px; margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: .98; font-weight: 800; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); padding: 0 max(24px, calc((100vw - 1220px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .16); transition: background .3s, height .3s, border-color .3s; }
.site-header.is-scrolled { height: 72px; background: rgba(21, 21, 21, .96); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(16px); }
.brand img { width: 177px; height: 58px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 34px; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.main-nav a { position: relative; color: var(--red); transition: color .2s, background .2s, border-color .2s; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.main-nav > a:hover, .main-nav > a:focus-visible { color: var(--white); }
.language-switch { display: flex; align-items: center; gap: 7px; padding-left: 6px; color: rgba(238,47,18,.58); font-size: .69rem; letter-spacing: .08em; }
.language-switch::before { content: ""; width: 1px; height: 17px; margin-right: 5px; background: rgba(238,47,18,.4); }
.language-switch span[aria-current="true"] { color: var(--red); }
.language-switch a { color: rgba(238,47,18,.68); }
.language-switch a:hover, .language-switch a:focus-visible { color: var(--white); }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(238,47,18,.8); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 7px 0; background: var(--white); transition: transform .25s; }

.hero { position: relative; min-height: 760px; height: 100svh; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.38) 45%, rgba(10,10,10,.1) 78%), linear-gradient(0deg, rgba(10,10,10,.48), transparent 48%); pointer-events: none; }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.1s ease-in-out; }
.hero-slide.is-active { opacity: 1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(255,255,255,.2) 25%, transparent calc(25% + 1px)), linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.2) 50%, transparent calc(50% + 1px)), linear-gradient(90deg, transparent calc(75% - 1px), rgba(255,255,255,.2) 75%, transparent calc(75% + 1px)); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 80px; }
.hero h1 { max-width: 980px; margin: 0 0 28px; font-size: clamp(4rem, 7.8vw, 8.3rem); line-height: .88; font-weight: 800; text-wrap: balance; }
.hero-lead { max-width: 720px; margin: 0 0 38px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; cursor: pointer; font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.hero-caption { position: absolute; right: 30px; bottom: 28px; z-index: 2; display: flex; max-width: 36%; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.hero-caption [data-hero-caption-location], .hero-attribution { color: rgba(255,255,255,.72); }
.hero-attribution { max-width: 390px; font-size: .6rem; letter-spacing: .025em; text-transform: none; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; border-radius: 2px; background: var(--white); transform: translateX(-50%); animation: scroll 1.7s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 15px); } }

.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: end; }
.intro-copy { padding-bottom: 4px; }
.intro-copy p { margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.text-link span { color: var(--red); font-size: 1rem; }
.stats { margin-top: 76px; display: grid; grid-template-columns: .8fr 1.2fr; border-block: 1px solid var(--line); }
.stat { min-width: 0; padding: 40px clamp(24px, 5vw, 76px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.5rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.stat > span { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stat-projects strong { color: var(--red); font-size: clamp(6rem, 11vw, 10rem); letter-spacing: -.07em; }
.stat-projects > span { margin-top: 8px; }
.stat-projects .text-link { margin-top: 26px; }
.stat-turnkey strong { margin: 20px 0; max-width: 480px; text-wrap: balance; }
.stat-turnkey p { max-width: 380px; margin: 0; color: var(--muted); }

.split-heading { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 5px; color: var(--muted); }
.section-dark .split-heading > p { color: rgba(255,255,255,.6); }
.service-list { margin-top: 76px; border-top: 1px solid var(--line-light); }
.service-item { display: grid; grid-template-columns: 70px 1fr 40px; gap: 30px; align-items: center; min-height: 150px; padding: 28px 0; border-bottom: 1px solid var(--line-light); transition: color .25s, padding .25s; }
.service-item:hover { color: var(--red); padding-left: 12px; }
.service-number { align-self: start; padding-top: 5px; color: rgba(255,255,255,.4); font-size: .7rem; }
.service-item h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 2.45rem); }
.service-item p { max-width: 680px; margin: 0; color: rgba(255,255,255,.55); }
.service-mark { font-size: 1.5rem; color: rgba(255,255,255,.4); }

.project-grid { margin-top: 76px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 630px 500px; grid-auto-rows: 500px; gap: 18px; }
.project-card { position: relative; min-height: 0; overflow: hidden; background: #2e2e2e; }
.project-card-wide { grid-column: 1 / -1; min-height: 0; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.project-card-wide img { object-position: center 58%; }
.project-card:hover img { transform: scale(1.035); filter: saturate(.82); }
.project-overlay { position: absolute; inset: auto 0 0; padding: 70px 30px 28px; display: flex; align-items: end; justify-content: space-between; gap: 24px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.86)); }
.project-overlay span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.65); font-size: .67rem; font-weight: 700; letter-spacing: .11em; }
.project-overlay h3 { margin: 0; max-width: 650px; font-size: clamp(1.5rem, 2.8vw, 3rem); line-height: var(--project-title-leading); }
.round-button { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15); color: var(--white); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.round-button:hover { background: var(--white); color: var(--ink); transform: rotate(45deg); }

.references { padding-top: 20px; }
.reference-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; padding-bottom: 32px; border-bottom: 2px solid var(--ink); }
.reference-head h2 { max-width: 720px; font-size: clamp(2.5rem, 4.3vw, 4.7rem); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter { padding: 9px 13px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter.is-active, .filter:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.reference-list article { display: grid; grid-template-columns: 55px 1.4fr .7fr 1fr; gap: 24px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); transition: opacity .25s, transform .25s, background .25s; }
.reference-list article:hover { background: rgba(255,255,255,.45); }
.reference-list article.is-hidden { display: none; }
.reference-list span { padding-left: 12px; color: var(--muted); font-size: .67rem; }
.reference-list h3, .reference-list p, .reference-list small { margin: 0; }
.reference-list h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.reference-list p, .reference-list small { color: var(--muted); }
.reference-open { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.reference-open:hover { color: var(--red); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.about-statement { position: sticky; top: 110px; align-self: start; }
.about-copy > p { max-width: 690px; margin-bottom: 40px; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.principles { border-top: 1px solid rgba(255,255,255,.35); }
.principles > div { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.principles span { grid-row: 1 / 3; color: rgba(255,255,255,.55); font-size: .68rem; }
.principles h3 { margin-bottom: 7px; font-size: 1.35rem; }
.principles p { margin: 0; color: rgba(255,255,255,.74); }

.coverage-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: center; }
.coverage-grid h2 { font-size: clamp(2.7rem, 4.7vw, 5rem); }
.coverage-grid > div:first-child > p:not(.eyebrow) { max-width: 520px; margin: 32px 0; color: var(--muted); }
.coverage-map { position: relative; min-height: 560px; overflow: hidden; border: 1px solid var(--line); background: #d8d5cc; box-shadow: 0 22px 65px rgba(21,21,21,.12); isolation: isolate; }
.coverage-map-canvas { position: absolute; inset: 0; z-index: 0; background: #e8e5df; font-family: inherit; }
.coverage-map-canvas .leaflet-tile-pane { filter: saturate(.2) contrast(.97); }
.coverage-map-canvas .leaflet-control-attribution { font-size: 10px; }
.coverage-map-canvas .coverage-city-label { padding: 4px 7px; border: 0; border-radius: 3px; background: rgba(255,255,255,.93); color: var(--ink); box-shadow: 0 2px 8px rgba(21,21,21,.1); font-family: inherit; font-size: 12px; font-weight: 800; }
.coverage-map-canvas .coverage-city-label::before { display: none; }
.coverage-map-canvas .coverage-area-label { border: 0; background: none; box-shadow: none; color: #625c56; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-shadow: 0 1px 4px #fff, 0 -1px 4px #fff; }
.map-legend { position: absolute; z-index: 2; left: 16px; bottom: 26px; max-width: calc(100% - 32px); padding: 11px 14px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.map-legend i { width: 18px; height: 12px; border: 2px solid var(--red); border-radius: 50%; background: rgba(238,47,18,.22); }
.map-fallback { position: absolute; z-index: 1; inset: 40% 24px auto; padding: 20px; background: var(--paper); color: var(--muted); text-align: center; pointer-events: none; }
.coverage-map.is-ready .map-fallback { display: none; }
.map-reset { position: absolute; z-index: 2; top: 12px; right: 12px; max-width: calc(100% - 70px); padding: 10px 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .65rem; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(21,21,21,.1); }
.map-reset:hover, .map-reset:focus-visible { background: var(--ink); color: var(--white); }

.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 9vw; }
.contact-grid h2 { font-size: clamp(3rem, 5.6vw, 6.4rem); }
.contact-grid > div > p:not(.eyebrow) { max-width: 600px; margin: 32px 0 50px; color: rgba(255,255,255,.62); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 28px 50px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.contact-meta div { display: flex; flex-direction: column; gap: 5px; }
.contact-meta span { color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-meta strong { font-size: .86rem; }
.contact-meta a { transition: color .2s; }
.contact-meta a:hover, .contact-meta a:focus-visible { color: var(--red); }
.contact-form { padding: 34px; background: var(--white); color: var(--ink); }
.contact-form label { display: block; margin-bottom: 22px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.label-optional { color: var(--muted); font-weight: 400; text-transform: none; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(21,21,21,.38); border-radius: 0; background: transparent; outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form .consent-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.contact-form .consent-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.contact-form .consent-field a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.contact-form .button { width: 100%; }
.contact-form .button:disabled { cursor: wait; opacity: .62; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .67rem; }
.form-status { margin: 8px 0 0; color: var(--red); font-size: .78rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-success { color: #16713c; }
.form-status.is-error { color: var(--red); }

.site-footer { background: #0b0b0b; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { min-height: 120px; display: grid; grid-template-columns: 210px 1fr auto auto; gap: 34px; align-items: center; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid img { width: 180px; }
.footer-grid p { margin: 0; }
.footer-link { padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.35); transition: color .2s, border-color .2s; }
.footer-link:hover, .footer-link:focus-visible { color: var(--white); border-color: var(--red); }
.footer-links { display: flex; gap: 16px; align-items: center; }

.legal-page { background: var(--paper); }
.legal-hero { padding: 180px 0 92px; background: var(--ink); color: var(--white); }
.legal-hero h1 { max-width: 960px; margin: 0; font-size: clamp(3.4rem, 8vw, 7.8rem); line-height: .9; letter-spacing: -.055em; }
.legal-updated { margin: 30px 0 0; color: rgba(255,255,255,.55); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 9vw; align-items: start; }
.legal-aside { position: sticky; top: 105px; }
.legal-aside p { margin-bottom: 22px; color: var(--muted); font-size: .87rem; }
.legal-aside a { color: var(--red); }
.legal-copy { font-size: 1rem; }
.legal-copy section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-copy h2 { margin-bottom: 18px; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.05; }
.legal-copy p, .legal-copy li { color: #4f4e49; }
.legal-copy ul { margin: 18px 0 0; padding-left: 22px; }
.legal-copy li + li { margin-top: 8px; }
.legal-draft { margin-bottom: 50px; padding: 22px 24px; border-left: 4px solid var(--red); background: #fff; box-shadow: 0 12px 32px rgba(21,21,21,.08); }
.legal-draft strong { display: block; margin-bottom: 7px; }
.legal-draft p { margin: 0; }
.company-data { margin: 22px 0 0; padding: 0; list-style: none; }
.company-data li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.company-data strong { color: var(--ink); }
.placeholder { color: var(--red); font-weight: 700; }

.not-found-page { min-height: 100svh; background: var(--ink); color: var(--white); }
.not-found { min-height: 100svh; padding: 48px 0; display: grid; align-items: center; position: relative; overflow: hidden; }
.not-found::before { content: "404"; position: absolute; right: -2vw; top: 50%; color: rgba(255,255,255,.035); font-size: clamp(15rem, 38vw, 42rem); font-weight: 800; line-height: .75; letter-spacing: -.09em; transform: translateY(-50%); pointer-events: none; }
.not-found-inner { position: relative; z-index: 1; }
.not-found-logo { width: 184px; margin-bottom: clamp(70px, 11vh, 130px); }
.not-found-code { margin: 0 0 18px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.not-found-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 8vw, 120px); }
.not-found-panel h1 { max-width: 570px; margin: 0 0 24px; font-size: clamp(3.1rem, 6.2vw, 7rem); line-height: .9; }
.not-found-panel p { max-width: 520px; margin: 0 0 32px; color: rgba(255,255,255,.62); font-size: 1.02rem; }
.not-found-panel + .not-found-panel { padding-left: clamp(30px, 5vw, 70px); border-left: 1px solid var(--line-light); }
.not-found-panel .button { min-width: 190px; }

.project-modal { position: fixed; inset: 0; z-index: 300; padding: clamp(18px, 3vw, 48px); place-items: center; overflow: hidden; background: rgba(8,8,8,.82); color: var(--ink); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s; }
.project-modal[hidden] { display: none; }
.project-modal.is-open { display: grid; opacity: 1; }
.project-modal-panel { position: relative; width: min(1320px, calc(100vw - 36px)); height: min(800px, calc(100vh - 36px)); height: min(800px, calc(100dvh - 36px)); display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(390px, .78fr); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: var(--paper); box-shadow: 0 35px 110px rgba(0,0,0,.58); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .25s, transform .35s var(--ease); }
.project-modal.is-open .project-modal-panel { opacity: 1; transform: none; }
.modal-media { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #202020; isolation: isolate; }
.modal-media::before { content: ""; position: absolute; inset: -50px; z-index: 0; background-image: var(--modal-image, radial-gradient(circle at center, #353535 0%, var(--ink) 72%)); background-position: center; background-size: cover; filter: blur(30px) saturate(.8) brightness(.56); transform: scale(1.12); }
.modal-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.34)); pointer-events: none; }
.modal-media img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: clamp(16px, 2.1vw, 30px); object-fit: contain; object-position: center; filter: drop-shadow(0 18px 36px rgba(0,0,0,.32)); }
.modal-media img.is-placeholder { padding: clamp(70px, 10vw, 130px); object-fit: contain; filter: brightness(.65); }
.modal-gallery-button { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(21,21,21,.92); color: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; transform: translateY(-50%); transition: background .2s, color .2s, transform .2s; }
.modal-gallery-button:hover, .modal-gallery-button:focus-visible { background: var(--red); color: var(--white); transform: translateY(-50%) scale(1.05); }
.modal-gallery-prev { left: 16px; }.modal-gallery-next { right: 16px; }
.modal-counter { position: absolute; left: 24px; bottom: 22px; z-index: 3; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(18,18,18,.56); color: var(--white); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(9px); }
.modal-content { min-width: 0; min-height: 0; padding: 64px clamp(34px, 3.5vw, 56px) 48px; overflow: auto; background: linear-gradient(160deg, #f8f6ef 0%, var(--paper) 72%); scrollbar-color: rgba(21,21,21,.28) transparent; }
/* Leave room for descenders and Croatian diacritics between title lines. */
.modal-content h2 { max-width: 650px; font-size: clamp(2.45rem, 3.6vw, 4.5rem); line-height: var(--project-title-leading); overflow-wrap: break-word; }
.modal-summary { margin: 24px 0 34px; color: var(--muted); }
.modal-content dl { margin: 0; }
.modal-content dl > div { padding: 15px 0; border-top: 1px solid var(--line); }
.modal-content dt { margin-bottom: 3px; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.modal-content dd { margin: 0; font-size: .92rem; font-weight: 700; }
.company-contact { display: inline-flex; align-items: center; max-width: 100%; border-bottom: 1px dashed rgba(238,47,18,.55); color: var(--ink); }
.company-contact-email { max-width: 0; margin-left: 0; overflow: hidden; color: var(--red); font-weight: 800; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: max-width .3s var(--ease), margin-left .3s var(--ease), opacity .2s, transform .3s var(--ease); }
.company-contact:hover .company-contact-email, .company-contact:focus-within .company-contact-email { max-width: 180px; margin-left: 10px; opacity: 1; transform: none; }
.modal-close { position: absolute; right: 18px; top: 18px; z-index: 4; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(21,21,21,.92); color: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; font-size: 1.45rem; transition: transform .2s, background .2s; }
.modal-close:hover, .modal-close:focus-visible { background: var(--red); transform: rotate(90deg); }

.footer-cookie-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-cookie-button:hover { color: var(--red); }
.cookie-banner { position: fixed; z-index: 500; right: clamp(14px, 3vw, 42px); bottom: clamp(14px, 3vw, 42px); width: min(590px, calc(100vw - 28px)); padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(20,20,20,.97); color: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.42); backdrop-filter: blur(16px); }
.cookie-banner-copy strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.cookie-banner-copy p { margin: 0; color: rgba(255,255,255,.68); font-size: .84rem; line-height: 1.55; }
.cookie-banner-copy a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-direction: column-reverse; gap: 8px; }
.cookie-banner .button { min-width: 160px; padding: 13px 16px; font-size: .68rem; white-space: nowrap; }

@media (max-width: 900px) {
  :root { --container: min(100% - 34px, 760px); --header-h: 74px; }
  .section { padding: 92px 0; }
  .brand img { width: 145px; }
  .site-header.is-scrolled { backdrop-filter: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; z-index: -1; padding: 110px 24px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; background: var(--ink); font-size: 1.6rem; opacity: 0; visibility: hidden; transform: translateY(-18px); transition: opacity .25s, visibility .25s, transform .25s; }
  body.menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-cta { padding: 0; border: 0; }
  .language-switch { padding: 10px 0 0; font-size: .9rem; }
  .language-switch::before { display: none; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 95px; }
  .hero h1 { font-size: clamp(3.6rem, 13vw, 6.2rem); }
  .hero-caption { display: none; }
  .intro-grid, .split-heading, .about-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-heading > p { max-width: 600px; }
  .project-grid { grid-template-rows: 540px 450px; grid-auto-rows: 450px; }.project-card-wide { min-height: 0; }
  .reference-head { align-items: flex-start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .reference-list article { grid-template-columns: 42px 1fr 1fr; }.reference-list small { grid-column: 2 / -1; padding-bottom: 15px; }
  .about-statement { position: static; }
  .coverage-grid { display: flex; flex-direction: column; }.coverage-grid > div { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-aside { position: static; }
  .not-found-grid { grid-template-columns: 1fr; }
  .not-found-panel + .not-found-panel { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .project-modal { padding: 10px; }
  .project-modal-panel { width: min(720px, calc(100vw - 20px)); height: calc(100vh - 20px); height: calc(100dvh - 20px); grid-template-columns: 1fr; grid-template-rows: minmax(280px, 42vh) minmax(0, 1fr); border-radius: 18px; }
  .modal-media { min-height: 0; max-height: none; }
  .modal-content { padding: 40px 28px 44px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 28px); }
  .section { padding: 76px 0; }
  h2 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .site-header { padding-inline: 15px; }
  .hero-image { object-position: center; }
  .hero-content { justify-content: flex-end; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { width: 100%; }.hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .stats { margin-top: 60px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 30px 0; border-right: 0; }
  .stat:first-child { border-bottom: 1px solid var(--line); }
  .stat-projects strong { font-size: 7rem; }
  .stat-turnkey strong { font-size: 3rem; }
  .service-item { grid-template-columns: 38px 1fr; gap: 12px; }.service-mark { display: none; }.service-item p { font-size: .9rem; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 430px; }.project-card-wide { grid-column: auto; min-height: 0; }.project-overlay { padding-inline: 20px; }
  .reference-list article { grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; }.reference-list p, .reference-list small { grid-column: 2; }.reference-list small { padding-bottom: 0; }
  .about-copy > p { margin-bottom: 40px; }
  .principles > div { grid-template-columns: 35px 1fr; }
  .coverage-map { min-height: 440px; }
  .contact-meta { flex-direction: column; gap: 20px; }
  .contact-form { padding: 25px 20px; }
  .legal-hero { padding: 145px 0 70px; }
  .legal-content { padding-top: 62px; }
  .company-data li { grid-template-columns: 1fr; gap: 3px; }
  .not-found { padding: 28px 0 52px; }
  .not-found-logo { width: 148px; margin-bottom: 72px; }
  .not-found-panel h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .project-modal { padding: 7px; }
  .project-modal-panel { width: calc(100vw - 14px); height: calc(100vh - 14px); height: calc(100dvh - 14px); grid-template-rows: minmax(230px, 38vh) minmax(0, 1fr); border-radius: 14px; }
  .modal-media img { padding: 10px; }
  .modal-gallery-button { width: 42px; height: 42px; }
  .modal-gallery-prev { left: 10px; }.modal-gallery-next { right: 10px; }
  .modal-counter { left: 14px; bottom: 12px; }
  .modal-content { padding: 36px 22px 40px; }
  .modal-content h2 { padding-right: 28px; font-size: 2.2rem; }
  .modal-close { right: 12px; top: 12px; width: 40px; height: 40px; }
  .company-contact { display: inline; border-bottom: 0; }
  .company-contact-email { display: block; max-width: none; margin: 5px 0 0; opacity: 1; transform: none; }
  .cookie-banner { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .cookie-banner-actions { flex-direction: column-reverse; }
  .cookie-banner .button { width: 100%; }
}

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