@font-face { font-family: "Janczara Technical"; src: url("../fonts/nimbus-sans-narrow-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Janczara Technical"; src: url("../fonts/nimbus-sans-narrow-bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #171915;
  --graphite: #20221e;
  --paper: #f6f3ed;
  --cream: #ebe5db;
  --white: #fffefa;
  --accent: #d8682b;
  --accent-dark: #b94f1d;
  --muted: #696c65;
  --line: rgba(28, 31, 27, 0.14);
  --technical: "Janczara Technical", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 118px 0; }

.site-header { position: fixed; inset: 16px max(18px, calc((100vw - 1420px) / 2)) auto; z-index: 100; height: 76px; display: flex; align-items: stretch; gap: 8px; color: var(--ink); filter: drop-shadow(0 18px 28px rgba(11,13,10,.16)); }
.brand { width: 214px; flex: 0 0 214px; padding: 12px 20px; display: flex; align-items: center; background: rgba(18,20,17,.96); border: 1px solid rgba(255,255,255,.14); clip-path: polygon(0 0, 100% 0, calc(100% - 17px) 100%, 0 100%); backdrop-filter: blur(18px); transition: background .25s ease, transform .25s ease; }
.brand:hover { background: #0d0f0c; transform: translateY(-2px); }
.brand > img { width: 162px; height: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.12)); }
.header-island { position: relative; flex: 1; min-width: 0; display: flex; border: 1px solid rgba(255,255,255,.38); background: rgba(247,244,238,.91); box-shadow: inset 0 0 0 1px rgba(23,25,21,.04); backdrop-filter: blur(22px) saturate(125%); }
.header-island::before { content: ""; position: absolute; z-index: 5; top: -1px; left: 0; width: 58px; height: 2px; background: var(--accent); box-shadow: 0 0 18px rgba(216,104,43,.65); animation: header-scan 7s ease-in-out infinite; }
.desktop-nav { flex: 1; min-width: 0; display: flex; align-items: stretch; justify-content: flex-end; padding-left: 8px; font-size: 11px; }
.desktop-nav > a, .desktop-offer > summary { min-width: 99px; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; color: #343731; border-left: 1px solid rgba(28,31,27,.09); cursor: pointer; list-style: none; transition: color .2s ease, background .2s ease; }
.desktop-nav > a span, .desktop-offer > summary span { color: #969990; font-family: var(--technical); font-size: 9px; }
.desktop-nav > a::after, .desktop-offer > summary::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--accent); transition: right .32s ease; }
.desktop-nav > a:hover, .desktop-nav > a:focus-visible, .desktop-offer > summary:hover, .desktop-offer > summary:focus-visible, .desktop-offer[open] > summary { color: var(--ink); background: rgba(255,255,255,.76); }
.desktop-nav > a:hover::after, .desktop-nav > a:focus-visible::after, .desktop-offer > summary:hover::after, .desktop-offer[open] > summary::after { right: 0; }
.desktop-offer { position: static; display: flex; min-width: 105px; }
.desktop-offer > summary { flex: 1; min-width: 105px; }
.desktop-offer > summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker, .mobile-offer > summary::-webkit-details-marker { display: none; }
.desktop-offer > summary i { width: 6px; height: 6px; margin-left: 1px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.desktop-offer[open] > summary i { transform: rotate(225deg) translate(-1px,-1px); }
.offer-mega { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-height: 330px; display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); color: white; background: rgba(19,21,18,.985); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 28px 70px rgba(0,0,0,.3); backdrop-filter: blur(24px); animation: mega-in .34s cubic-bezier(.2,.7,.2,1) both; overflow: hidden; }
.offer-mega::after { content: "JANCZARA"; position: absolute; right: -20px; bottom: -34px; color: rgba(255,255,255,.027); font-family: var(--technical); font-size: 114px; line-height: .8; pointer-events: none; }
.mega-intro { position: relative; z-index: 1; padding: 38px 34px; display: flex; flex-direction: column; justify-content: space-between; background: var(--accent); }
.mega-intro small { color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.mega-intro strong { font-family: var(--technical); font-size: 34px; line-height: .9; text-transform: uppercase; }
.mega-intro a { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.mega-intro b, .mega-group b { font-size: 15px; font-weight: 400; transition: transform .2s ease; }
.mega-intro a:hover b, .mega-group a:hover b { transform: translate(3px,-3px); }
.mega-group { position: relative; z-index: 1; padding: 38px 24px; border-left: 1px solid rgba(255,255,255,.11); }
.mega-group > div { display: flex; gap: 12px; align-items: baseline; margin-bottom: 26px; }
.mega-group span { color: var(--accent); font-family: var(--technical); font-size: 11px; }
.mega-group h2 { color: white; font-size: 28px; line-height: 1; }
.mega-group > a { min-width: 0; padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.35; transition: color .2s ease, padding-left .2s ease; }
.mega-group > a:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.mega-group > a:hover { color: white; padding-left: 5px; background: transparent; }
.header-phone { min-width: 190px; padding: 0 22px 0 26px; display: flex; flex-direction: column; justify-content: center; color: white; background: var(--accent); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); text-align: right; transition: background .2s ease; }
.header-phone:hover { background: var(--accent-dark); }
.header-phone small { display: block; color: rgba(255,255,255,.74); font-size: 8px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .12em; }
.header-phone strong { font-family: var(--technical); font-size: 18px; letter-spacing: .07em; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu > summary { position: relative; z-index: 102; min-width: 92px; height: 100%; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 12px; color: white; background: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.mobile-menu > summary i { width: 21px; height: 14px; position: relative; display: block; }
.mobile-menu > summary i b { position: absolute; left: 0; width: 21px; height: 1px; background: white; transition: top .28s ease, transform .28s ease; }
.mobile-menu > summary i b:first-child { top: 3px; }
.mobile-menu > summary i b:last-child { top: 11px; }
.mobile-menu[open] > summary i b:first-child { top: 7px; transform: rotate(45deg); }
.mobile-menu[open] > summary i b:last-child { top: 7px; transform: rotate(-45deg); }
.mobile-panel { position: fixed; z-index: 101; top: -16px; right: -18px; width: min(100vw, 680px); height: 100dvh; padding: 126px 42px 32px; overflow-y: auto; color: white; background: #151714; box-shadow: -34px 0 90px rgba(0,0,0,.34); animation: mobile-panel-in .42s cubic-bezier(.18,.72,.22,1) both; }
.mobile-panel::before { content: ""; position: fixed; z-index: -1; inset: 0; background: rgba(8,10,8,.68); backdrop-filter: blur(8px); }
.mobile-panel::after { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(180deg, black, transparent 76%); }
.mobile-panel > * { position: relative; z-index: 1; }
.mobile-panel-top > span { color: #e6a17c; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.mobile-panel-top > strong { display: block; margin-top: 18px; font-family: var(--technical); font-size: clamp(45px, 10vw, 64px); line-height: .82; text-transform: uppercase; }
.mobile-panel-top em { color: var(--accent); font-style: normal; font-weight: 400; }
.mobile-primary { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.17); }
.mobile-primary > a, .mobile-offer > summary { min-height: 70px; padding: 0 4px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); list-style: none; cursor: pointer; }
.mobile-primary span { color: var(--accent); font-family: var(--technical); font-size: 11px; }
.mobile-primary strong { font-family: var(--technical); font-size: 27px; text-transform: uppercase; }
.mobile-primary b { color: rgba(255,255,255,.48); font-size: 19px; font-weight: 400; transition: transform .25s ease, color .25s ease; }
.mobile-primary > a:hover b { color: var(--accent); transform: translate(3px,-3px); }
.mobile-offer > summary b { font-size: 26px; }
.mobile-offer[open] > summary b { color: var(--accent); transform: rotate(45deg); }
.mobile-offer-grid { padding: 6px 0 24px 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-bottom: 1px solid rgba(255,255,255,.17); animation: panel-in .28s ease both; }
.mobile-offer-grid section { display: grid; align-content: start; }
.mobile-offer-grid small { min-height: 34px; color: #e6a17c; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-offer-grid a { padding: 8px 0; display: flex; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.66); font-size: 10px; line-height: 1.35; }
.mobile-offer-grid a b { font-size: 12px; }
.mobile-contact { margin-top: 28px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; background: #20231f; }
.mobile-contact > div { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.mobile-contact small { color: #e7a27c; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.mobile-contact > div:first-child a { font-family: var(--technical); font-size: 27px; font-weight: 700; }
.mobile-contact span, .mobile-contact > div:nth-child(2) a { color: rgba(255,255,255,.54); font-size: 10px; line-height: 1.45; }
.mobile-cta { grid-column: 1 / -1; min-height: 50px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--accent); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.mobile-cta b { color: white; }
html.menu-open, html.menu-open body { overflow: hidden; }

.hero { min-height: 900px; height: min(960px, 100svh); position: relative; overflow: hidden; background: var(--paper); }
.hero-visual { position: absolute; inset: 0 0 33%; overflow: hidden; background: #373a34; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -90px 90px rgba(18,20,17,.24); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; animation: hero-settle 18s cubic-bezier(.2,.7,.2,1) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,15,.3), transparent 42%, rgba(16,18,15,.07)), linear-gradient(0deg, rgba(14,16,13,.3), transparent 55%); }
.hero-mullions { position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr .86fr 1.7fr 1fr; opacity: .22; pointer-events: none; }
.hero-mullions i { border-left: 1px solid white; }
.hero-mullions i:nth-child(2) { border-left-color: var(--accent); }
.hero-stamp { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 34px; width: 240px; padding: 20px 22px; color: white; border-left: 4px solid var(--accent); background: rgba(18,20,17,.72); backdrop-filter: blur(10px); }
.hero-stamp span { display: block; color: rgba(255,255,255,.64); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.hero-stamp strong { display: block; margin-top: 6px; font-family: var(--technical); font-size: 27px; letter-spacing: .2em; }
.hero-editorial { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); min-height: 36%; padding: 56px 0 38px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: center; background: var(--paper); }
.hero-editorial::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--paper); }
.eyebrow { margin: 0 0 22px; color: var(--accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow.light { color: #efb28d; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 760px; margin: 0; color: var(--ink); font-family: var(--technical); font-size: clamp(58px, 6.5vw, 92px); font-weight: 700; letter-spacing: -.018em; line-height: .82; text-transform: uppercase; }
.hero h1 em { display: block; color: var(--accent); font-size: .9em; line-height: .88; font-style: normal; font-weight: 400; }
.hero-story > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 54px; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(255,255,255,.16); transform: translateX(-105%) skewX(-18deg); transition: transform .38s ease; }
.button:hover::before { transform: translateX(0) skewX(0); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-primary span { margin-left: 28px; font-size: 18px; }
.button-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-ink:hover { color: white; background: var(--ink); }
.button-ghost { border-color: rgba(255,255,255,.38); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.investment-paths { min-height: 126px; display: grid; grid-template-columns: repeat(3, 1fr); color: white; background: #171915; }
.investment-paths a { position: relative; padding: 26px max(32px, calc((100vw - 1380px) / 6)); display: grid; grid-template-columns: 32px 1fr auto; grid-template-rows: auto auto; column-gap: 18px; align-content: center; border-right: 1px solid rgba(255,255,255,.13); transition: background .25s ease; }
.investment-paths a:hover { background: #22251f; }
.investment-paths small { grid-row: 1 / 3; align-self: start; color: var(--accent); font-family: var(--technical); font-size: 12px; }
.investment-paths strong { font-family: var(--technical); font-size: 25px; line-height: 1; text-transform: uppercase; }
.investment-paths span { margin-top: 7px; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.45; }
.investment-paths b { grid-row: 1 / 3; align-self: center; color: rgba(255,255,255,.5); font-size: 24px; font-weight: 400; transition: color .2s ease, transform .2s ease; }
.investment-paths a:hover b { color: var(--accent); transform: translate(3px,-3px); }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: end; }
h2 { font-family: var(--technical); font-size: clamp(48px, 5.8vw, 78px); line-height: .9; letter-spacing: -.015em; font-weight: 700; text-transform: uppercase; margin-bottom: 0; }
.section-lead { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 2px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 72px; }
.offer-card { min-height: 500px; padding: 0; border: 1px solid var(--line); background: var(--white); position: relative; display: flex; flex-direction: column; overflow: hidden; transition: background .25s ease, transform .25s ease; }
.offer-card:hover { background: #fff; transform: translateY(-3px); z-index: 1; box-shadow: 0 15px 40px rgba(32,34,30,.08); }
.offer-media { height: 228px; position: relative; overflow: hidden; background: #2a2d29; }
.offer-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,16,.3), transparent 60%); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .5s ease; }
.offer-card:hover .offer-media img { transform: scale(1.035); }
.offer-number { position: absolute; z-index: 2; left: 18px; bottom: 14px; color: white; font-family: var(--technical); font-size: 34px; font-weight: 700; letter-spacing: .02em; }
.offer-body { padding: 26px 26px 0; }
.offer-card h3 { max-width: 430px; font-family: var(--technical); font-size: 30px; line-height: .94; text-transform: uppercase; font-weight: 700; margin: 0 0 16px; }
.offer-card p { max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.offer-footer { margin-top: auto; padding: 20px 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.offer-footer span { color: #888b84; }
.offer-footer a { color: var(--accent-dark); font-weight: 700; }

.expert { background: var(--graphite); color: white; }
.expert-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 110px; align-items: center; }
.expert-photo-wrap { position: relative; min-height: 650px; }
.expert-photo { width: 100%; height: 650px; object-fit: cover; filter: saturate(.8); }
.expert-badge { position: absolute; right: -42px; bottom: 42px; width: 190px; height: 150px; padding: 26px; background: var(--accent); display: flex; flex-direction: column; justify-content: flex-end; }
.expert-badge strong { font-family: var(--technical); font-size: 29px; line-height: .9; text-transform: uppercase; font-weight: 700; }
.expert-badge span { margin-top: 7px; color: rgba(255,255,255,.76); font-size: 11px; }
.expert-copy > p:not(.eyebrow) { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.8; margin-top: 26px; }
.steps { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.13); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.step > span { color: #dc8353; font-size: 11px; padding-top: 3px; }
.step h3 { font-size: 16px; margin: 0 0 5px; }
.step p { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.55; margin: 0; }

.quality { background: var(--white); }
.quality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.quality-copy .section-lead { margin-top: 28px; }
.quality-list { margin: 44px 0 32px; border-top: 1px solid var(--line); }
.quality-list > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.quality-list dt { color: var(--accent-dark); font-family: var(--technical); font-size: 28px; font-weight: 700; }
.quality-list dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 28px; color: var(--accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.text-link span { font-size: 20px; }
.quality-image-wrap { position: relative; padding: 0 0 66px 66px; }
.quality-image-wrap::before { content: ""; position: absolute; left: 0; bottom: 0; width: 50%; height: 70%; background: var(--cream); }
.quality-image-wrap img { position: relative; width: 100%; aspect-ratio: 1.05; object-fit: cover; }
.quality-image-wrap p { position: absolute; right: 0; bottom: 0; width: 62%; margin: 0; padding: 24px 30px; background: var(--accent); color: white; font-family: var(--technical); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.08; }

.system-lab { background: #151815; color: white; overflow: hidden; position: relative; }
.system-lab::before { content: "SYSTEM_LAB"; position: absolute; right: -28px; top: 20px; color: rgba(255,255,255,.035); font-family: var(--technical); font-size: clamp(110px, 16vw, 240px); font-weight: 700; line-height: .8; writing-mode: vertical-rl; }
.lab-heading { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .7fr; gap: 100px; align-items: end; }
.lab-heading > p { color: rgba(255,255,255,.52); line-height: 1.8; margin: 0 0 4px; }
.lab-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 280px 1fr 230px; min-height: 420px; margin-top: 62px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.025); }
.lab-radio { position: absolute; opacity: 0; pointer-events: none; }
.lab-tabs { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.18); }
.lab-tabs label { flex: 1; cursor: pointer; padding: 28px; display: flex; align-items: flex-start; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.38); font-family: var(--technical); font-size: 15px; transition: background .25s ease, color .25s ease; }
.lab-tabs label:last-child { border-bottom: 0; }
.lab-tabs label span { font-size: 24px; line-height: .95; text-transform: uppercase; }
#lab-new:checked ~ .lab-tabs label[for="lab-new"], #lab-replace:checked ~ .lab-tabs label[for="lab-replace"], #lab-renovation:checked ~ .lab-tabs label[for="lab-renovation"] { color: white; background: var(--accent); }
.lab-panels { position: relative; padding: 58px 64px; }
.lab-panel { display: none; animation: panel-in .42s ease both; }
#lab-new:checked ~ .lab-panels .panel-new, #lab-replace:checked ~ .lab-panels .panel-replace, #lab-renovation:checked ~ .lab-panels .panel-renovation { display: block; }
.lab-code { color: #ec996b; font-size: 11px; letter-spacing: .14em; }
.lab-panel h3 { margin: 24px 0 18px; max-width: 650px; font-family: var(--technical); font-size: clamp(42px, 4.4vw, 64px); text-transform: uppercase; line-height: .88; }
.lab-panel > p { max-width: 720px; color: rgba(255,255,255,.56); line-height: 1.7; }
.lab-panel ul { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.76); font-size: 13px; }
.lab-panel li::before { content: "+"; margin-right: 12px; color: var(--accent); }
.lab-cta { display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: var(--paper); color: var(--ink); font-family: var(--technical); font-size: 26px; line-height: .95; text-transform: uppercase; font-weight: 700; }
.lab-cta span { display: block; margin-top: 22px; color: var(--accent); font-size: 32px; }

.projects { background: #282a26; color: white; }
.projects-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 100px; align-items: end; margin-bottom: 60px; }
.projects-heading > p { color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: 310px 310px; gap: 16px; }
.project { position: relative; overflow: hidden; }
.project-large { grid-row: 1 / 3; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,17,15,.8), transparent 65%); }
.project:hover img { transform: scale(1.025); }
.project::before { content: "+"; position: absolute; z-index: 3; top: 18px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.54); color: white; font-size: 20px; transition: background .25s ease, transform .25s ease; }
.project:hover::before { background: var(--accent); transform: rotate(45deg); }
.project > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; }
.project span { color: #efb28d; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.project h3 { margin: 8px 0 0; font-family: var(--technical); font-size: 29px; line-height: .96; text-transform: uppercase; font-weight: 700; }
.project-large h3 { font-size: 35px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }
.about-copy > p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.brand-row { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.brand-row span { color: #73766f; font-size: 12px; font-weight: 700; letter-spacing: .1em; }

.area { background: var(--accent); color: white; padding-block: 90px; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.area .eyebrow { color: #f4c4a9; }
.area h2 { font-size: clamp(38px, 4vw, 56px); }
.place-list { display: flex; flex-wrap: wrap; gap: 10px; }
.place-list span { padding: 13px 18px; border: 1px solid rgba(255,255,255,.35); font-size: 12px; letter-spacing: .05em; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.faq-intro { color: var(--muted); line-height: 1.7; margin-top: 26px; max-width: 390px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 17px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 48px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact { background: #191b18; color: white; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.contact-copy > p:not(.eyebrow) { max-width: 490px; color: rgba(255,255,255,.56); line-height: 1.8; margin: 26px 0 38px; }
.contact-phone { display: block; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-phone small { display: block; color: #efb28d; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.contact-phone strong { display: block; margin-top: 8px; font-family: var(--technical); font-size: 48px; font-weight: 700; }
.contact-details { display: grid; gap: 8px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: 13px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 44px; background: #242622; }
.contact-form label { display: grid; gap: 9px; }
.contact-form label > span { color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0; padding: 10px 0 12px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 12px; }
.contact-form .consent input { margin-top: 2px; accent-color: var(--accent); }
.contact-form .consent span { text-transform: none; letter-spacing: 0; line-height: 1.5; }
.contact-form .consent a { color: #f2a477; text-decoration: underline; text-underline-offset: 3px; }
.contact-form button { border: 0; cursor: pointer; }

.map-section { min-height: 680px; display: grid; grid-template-columns: .72fr 1.28fr; background: #20231f; color: white; }
.map-copy { padding: 92px max(46px, calc((100vw - 1180px) / 2)); padding-right: 72px; display: flex; flex-direction: column; justify-content: center; }
.map-copy h2 { max-width: 520px; font-size: clamp(50px, 5vw, 72px); }
.map-copy > p:not(.eyebrow) { max-width: 500px; margin: 28px 0 34px; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; }
.map-address { margin-bottom: 30px; padding: 20px 0; display: grid; grid-template-columns: 110px 1fr; gap: 22px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.map-address span { color: #e9a581; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.map-address strong { font-family: var(--technical); font-size: 21px; line-height: 1.05; text-transform: uppercase; }
.map-copy .button { align-self: flex-start; }
.map-frame { min-height: 680px; position: relative; background: #d8d4ca; overflow: hidden; }
.map-frame:not(.map-loaded) { background-color: #d4d0c6; background-image: linear-gradient(rgba(31,35,30,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(31,35,30,.08) 1px, transparent 1px), radial-gradient(circle at 64% 38%, rgba(216,104,43,.36) 0 7px, transparent 8px); background-size: 64px 64px, 64px 64px, 100% 100%; }
.map-frame iframe { width: 100%; height: 100%; min-height: 680px; border: 0; filter: grayscale(1) contrast(.94) sepia(.08); }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 28px 0 70px rgba(26,29,25,.18); }
.map-label { position: absolute; z-index: 2; left: 28px; bottom: 28px; min-width: 210px; padding: 18px 20px; display: grid; gap: 4px; color: white; background: rgba(24,27,23,.92); border-left: 4px solid var(--accent); backdrop-filter: blur(12px); }
.map-label small { color: #e9a581; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.map-label strong { font-family: var(--technical); font-size: 23px; text-transform: uppercase; }
.map-consent { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(420px, calc(100% - 48px)); padding: 38px; transform: translate(-50%,-50%); color: white; background: rgba(31,34,29,.95); border-top: 3px solid var(--accent); box-shadow: 0 22px 60px rgba(19,21,18,.24); }
.map-consent > span { color: #e8a17a; font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.map-consent > strong { display: block; margin-top: 18px; font-family: var(--technical); font-size: 33px; line-height: .92; text-transform: uppercase; }
.map-consent > p { margin: 18px 0 22px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.65; }
.map-consent > button { width: 100%; min-height: 48px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: white; background: var(--accent); border: 0; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.map-consent > button b { font-size: 17px; font-weight: 400; }

.site-footer { padding: 70px 0 26px; background: #111310; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 60px; }
.footer-grid > div, .footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid strong { margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a, .footer-grid p { margin: 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.7; }
.footer-grid a:hover { color: white; }
.footer-brand > strong { font-size: 21px; letter-spacing: .26em; margin: 0; }
.footer-brand > span { font-size: 10px; letter-spacing: .38em; }
.footer-brand > img { width: 185px; height: auto; }
.footer-brand > p { margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.34); font-size: 10px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: white; }
.studio-credit { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .075em; }
.studio-credit a { color: white; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.studio-credit strong { color: rgba(255,255,255,.8); }

.legal-page { background: var(--paper); }
.legal-hero { min-height: 540px; padding: 210px 0 90px; color: white; background: #1a1c18; position: relative; overflow: hidden; }
.legal-hero::before { content: "PRYWATNOŚĆ"; position: absolute; right: -22px; bottom: -46px; color: rgba(255,255,255,.035); font-family: var(--technical); font-size: clamp(110px, 18vw, 270px); font-weight: 700; line-height: .8; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { max-width: 900px; margin: 0; font-family: var(--technical); font-size: clamp(70px, 10vw, 126px); line-height: .82; text-transform: uppercase; }
.legal-hero p:not(.eyebrow) { max-width: 640px; margin: 30px 0 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.75; }
.legal-hero .container > span { display: block; margin-top: 34px; color: #ef9b6c; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 110px; align-items: start; }
.legal-nav { position: sticky; top: 32px; display: grid; border-top: 3px solid var(--accent); }
.legal-nav strong { padding: 18px 0; font-family: var(--technical); font-size: 24px; text-transform: uppercase; }
.legal-nav a { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-nav a:hover { color: var(--accent-dark); }
.legal-grid article { max-width: 780px; }
.legal-grid article h2 { margin: 64px 0 20px; font-size: clamp(34px, 4vw, 50px); }
.legal-grid article h2:first-child { margin-top: 0; }
.legal-grid article p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.legal-grid article a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner { position: fixed; z-index: 100; left: 22px; right: 22px; bottom: 22px; max-width: 1120px; margin-inline: auto; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; color: white; background: rgba(20,22,19,.96); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 80px rgba(0,0,0,.34); backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-index { color: #ef9b6c; font-size: 9px; letter-spacing: .14em; }
.cookie-banner h2 { margin: 8px 0 7px; font-size: 28px; line-height: 1; }
.cookie-banner p { max-width: 680px; margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.6; }
.cookie-banner p a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { min-height: 48px; padding: 0 18px; cursor: pointer; color: white; border: 1px solid rgba(255,255,255,.28); background: transparent; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 700; }
.cookie-actions .cookie-accept { border-color: var(--accent); background: var(--accent); }
.cookie-actions button:hover { border-color: white; }

.service-page { background: var(--paper); }
.service-hero { min-height: 760px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: white; background: #171a16; }
.service-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-settle 18s cubic-bezier(.2,.7,.2,1) both; }
.service-hero::before { content: ""; position: absolute; z-index: 1; inset: 96px 0 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.service-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,15,.92), rgba(16,18,15,.6) 50%, rgba(16,18,15,.15)), linear-gradient(0deg, rgba(16,18,15,.66), transparent 60%); }
.service-hero-content { position: relative; z-index: 2; padding-bottom: 92px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 56px; color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a:hover { color: white; }
.service-hero h1 { max-width: 900px; margin: 0 0 26px; font-family: var(--technical); font-size: clamp(62px, 8vw, 112px); font-weight: 700; line-height: .84; letter-spacing: -.012em; text-transform: uppercase; }
.service-hero-content > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.service-specs { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 82px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: var(--accent); color: white; }
.service-specs span { display: flex; align-items: center; padding-inline: 22px; border-left: 1px solid rgba(255,255,255,.28); font-family: var(--technical); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.service-specs span:last-child { border-right: 1px solid rgba(255,255,255,.28); }
.service-intro-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 120px; align-items: end; }
.service-intro-grid > div:last-child > p { color: var(--muted); font-size: 17px; line-height: 1.85; }
.service-intro-grid .text-link { margin-top: 18px; }
.service-blocks { background: var(--white); }
.service-block { width: min(1320px, 100%); min-height: 660px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; border-top: 1px solid var(--line); }
.service-block-reverse { grid-template-columns: .92fr 1.08fr; }
.service-block-reverse .service-block-image { order: 2; }
.service-block-image { min-height: 660px; position: relative; overflow: hidden; }
.service-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,18,15,.36), transparent 50%); }
.service-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service-block:hover .service-block-image img { transform: scale(1.028); }
.service-block-image span { position: absolute; z-index: 2; left: 30px; bottom: 26px; color: white; font-family: var(--technical); font-size: 26px; font-weight: 700; }
.service-block-copy { padding: 78px 68px; align-self: center; }
.service-block-copy h2 { margin: 24px 0 28px; font-size: clamp(46px, 5vw, 68px); }
.service-block-copy > p { color: var(--muted); line-height: 1.8; }
.service-block-copy ul { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-block-copy li { padding: 15px 0; border-bottom: 1px solid var(--line); color: #4c5049; font-size: 13px; }
.service-block-copy li::before { content: "+"; margin-right: 14px; color: var(--accent); }
.service-area { background: #3e554f; color: white; }
.service-area h2 { max-width: 980px; }
.service-area .place-list { margin-top: 48px; }
.service-cta { padding: 100px 0; background: #181a17; color: white; }
.service-cta > .container { display: grid; grid-template-columns: 1fr .7fr; gap: 100px; align-items: end; }
.service-cta h2 { max-width: 760px; }
.service-cta .container > div:last-child > p { color: rgba(255,255,255,.56); line-height: 1.8; }
.service-cta .button { margin-top: 18px; }

@media (max-width: 1020px) {
  .header-island { display: none; }
  .mobile-menu { margin-left: auto; display: block; color: white; }
  .site-header { height: 70px; }
  .hero { height: auto; min-height: 980px; }
  .hero-visual { bottom: 42%; }
  .hero-editorial { min-height: 44%; grid-template-columns: 1.08fr .92fr; gap: 44px; }
  .intro-grid, .expert-grid { grid-template-columns: 1fr; gap: 50px; }
  .quality-grid, .projects-heading, .about-grid, .area-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .lab-heading { grid-template-columns: 1fr; gap: 32px; }
  .lab-shell { grid-template-columns: 210px 1fr; }
  .lab-cta { grid-column: 1 / -1; min-height: 120px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .expert-grid { gap: 70px; }
  .expert-photo-wrap, .expert-photo { min-height: 520px; height: 520px; }
  .expert-badge { right: 24px; }
  .quality-image-wrap { max-width: 720px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .investment-paths a { padding-inline: 26px; }
  .investment-paths strong { font-size: 21px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-grid { grid-template-columns: 210px 1fr; gap: 60px; }
  .cookie-banner { grid-template-columns: 1fr; gap: 20px; }
  .service-intro-grid, .service-cta > .container { grid-template-columns: 1fr; gap: 48px; }
  .service-block, .service-block-reverse { grid-template-columns: 1fr; }
  .service-block-reverse .service-block-image { order: 0; }
  .service-block-image { min-height: 520px; }
  .service-specs { grid-template-columns: repeat(2, 1fr); }
  .service-specs span { min-height: 64px; }
  .map-section { grid-template-columns: 1fr; }
  .map-copy { padding: 82px max(24px, calc((100vw - 760px) / 2)); }
  .map-frame, .map-frame iframe { min-height: 560px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 82px 0; }
  .site-header { inset: 12px 12px auto; height: 64px; gap: 6px; }
  .brand { width: 184px; flex-basis: 184px; padding-inline: 16px; }
  .brand > img { width: 142px; }
  .mobile-menu > summary { min-width: 84px; }
  .mobile-panel { top: -12px; right: -12px; width: 100vw; padding: 104px 18px 24px; }
  .mobile-panel-top > strong { font-size: 49px; }
  .mobile-primary { margin-top: 28px; }
  .mobile-primary > a, .mobile-offer > summary { min-height: 64px; }
  .mobile-primary strong { font-size: 25px; }
  .mobile-offer-grid { grid-template-columns: 1fr; gap: 16px; padding-left: 38px; }
  .mobile-offer-grid small { min-height: 24px; }
  .mobile-offer-grid a { padding: 7px 0; }
  .mobile-contact { grid-template-columns: 1fr; padding: 20px; }
  .mobile-cta { grid-column: auto; }
  .hero { min-height: 1010px; }
  .hero-visual { bottom: 55%; }
  .hero-image { object-position: 62% center; }
  .hero-stamp { left: 16px; bottom: 20px; width: 220px; }
  .hero-mullions { grid-template-columns: .7fr 1.2fr .8fr; }
  .hero-editorial { min-height: 58%; padding: 46px 0 34px; display: block; }
  .hero h1 { font-size: 58px; }
  .hero-story { margin-top: 26px; }
  .hero-story > p { font-size: 15px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .intro-grid { gap: 28px; }
  .offer-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .offer-card { min-height: 470px; }
  .investment-paths { grid-template-columns: 1fr; }
  .investment-paths a { min-height: 112px; padding: 24px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .expert-photo-wrap, .expert-photo { min-height: 420px; height: 420px; }
  .expert-badge { right: 14px; bottom: -28px; }
  .expert-copy { padding-top: 24px; }
  .quality-image-wrap { padding: 0 0 58px 20px; }
  .quality-image-wrap p { width: calc(100% - 40px); font-size: 16px; }
  .lab-shell { grid-template-columns: 1fr; }
  .lab-tabs { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .lab-tabs label { padding: 20px; }
  .lab-panels { padding: 40px 24px; }
  .lab-cta { grid-column: auto; min-height: 120px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 420px 280px 280px; }
  .project-large { grid-row: auto; }
  .project-large h3 { font-size: 28px; }
  .area { padding-block: 72px; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .contact-form label { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { min-height: 510px; padding: 170px 0 70px; }
  .legal-hero h1 { font-size: 66px; }
  .legal-grid { grid-template-columns: 1fr; gap: 54px; }
  .legal-nav { position: static; }
  .legal-grid article h2 { margin-top: 52px; font-size: 38px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 22px 18px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button { width: 100%; }
  .service-hero { min-height: 720px; }
  .service-hero-content { padding-bottom: 64px; }
  .service-hero h1 { font-size: 60px; }
  .service-specs { grid-template-columns: 1fr; padding: 0; }
  .service-specs span { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); padding-inline: 16px; }
  .service-block-image { min-height: 360px; }
  .service-block-copy { padding: 58px 20px; }
  .service-block-copy h2 { font-size: 46px; }
  .map-copy { padding: 76px 16px; }
  .map-copy h2 { font-size: 52px; }
  .map-frame, .map-frame iframe { min-height: 480px; }
  .map-label { left: 16px; bottom: 16px; }
}

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

@keyframes hero-settle { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mega-in { from { opacity: 0; transform: translateY(-9px) scale(.992); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes mobile-panel-in { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes header-scan { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(min(46vw, 610px)); } }

@supports (animation-timeline: view()) {
  .offer-card, .quality-copy, .project, .about-copy, .faq-list { animation: reveal-section linear both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
  .offer-card:nth-child(2), .project:nth-child(2) { animation-delay: 70ms; }
  .offer-card:nth-child(3), .project:nth-child(3) { animation-delay: 140ms; }
  @keyframes reveal-section { from { opacity: .12; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
}

/* WordPress integration */
.admin-bar .site-header { top: 54px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 14px 18px; clip: auto; color: #111; background: white; }
.form-message { grid-column: 1 / -1; margin: 0; padding: 13px 16px; font-size: 13px; }
.form-message.success { color: #d9f2df; background: rgba(62,135,77,.24); }
.form-message.error { color: #ffd9ce; background: rgba(191,73,42,.24); }
.content-shell { min-height: 65vh; padding: 180px 0 100px; background: var(--paper); }
.entry { max-width: 900px; margin-inline: auto; }
.entry > h1 { margin: 0 0 42px; font-family: var(--technical); font-size: clamp(58px, 8vw, 100px); line-height: .84; text-transform: uppercase; }
.entry-content { color: var(--muted); font-size: 16px; line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin: 56px 0 20px; color: var(--ink); font-family: var(--technical); text-transform: uppercase; }
.entry-content img { height: auto; }
.wp-block-image { margin: 38px 0; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 60px; }
}
