:root {
  --petrol-950: #082f33;
  --petrol-900: #0e4146;
  --petrol-700: #276369;
  --sand-500: #d7b276;
  --sand-300: #ead7b7;
  --cream: #f7f4ed;
  --white: #fffefa;
  --charcoal: #202626;
  --muted: #647071;
  --border: rgba(14, 65, 70, 0.17);
  --shadow: 0 24px 64px rgba(8, 47, 51, 0.15);
  --header-height: 86px;
  --container: min(1180px, calc(100% - 40px));
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: var(--font-body); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sand-500); outline-offset: 4px; }
.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; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; color: var(--white); background: var(--petrol-950); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 100; display: grid; grid-template-columns: 230px 1fr 250px; min-height: var(--header-height); background: var(--white); box-shadow: 0 1px 0 var(--border); transition: min-height .25s ease, box-shadow .25s ease; }
.site-header.is-compact { position: sticky; top: 0; min-height: 72px; box-shadow: 0 8px 30px rgba(8,47,51,.12); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 24px; color: var(--white); background: var(--petrol-950); text-decoration: none; }
.brand__monogram { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; border: 2px solid var(--sand-500); color: var(--sand-500); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.brand__name { min-width: 0; font-weight: 800; font-size: 22.5px; letter-spacing: -.03em; }
.brand__name small { display: block; color: var(--sand-300); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 46px); padding: 0 24px; }
.main-nav a { position: relative; font-size: 13px; font-weight: 750; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--sand-500); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-contact { display: flex; flex-direction: column; justify-content: center; padding: 0 28px; color: var(--white); background: var(--petrol-700); text-decoration: none; }
.header-contact span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.header-contact strong { font-size: 15px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: calc(100vh - var(--header-height)); overflow: hidden; color: var(--white); background: var(--petrol-950); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,31,34,.9) 0%, rgba(5,31,34,.63) 44%, rgba(5,31,34,.13) 75%); }
.hero__content { position: relative; z-index: 2; width: var(--container); margin: 0 auto; padding: clamp(110px, 15vh, 170px) min(4vw, 48px) 130px; }
.hero__content h1 { max-width: 800px; margin: 12px 0 22px; font-family: var(--font-display); font-size: clamp(54px, 7.3vw, 106px); line-height: .91; letter-spacing: -.065em; }
.hero__content > p:not(.eyebrow) { max-width: 660px; margin: 0 0 34px; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.5; }
.eyebrow { margin: 0; color: var(--sand-500); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 56px; padding: 0 25px; border: 1px solid transparent; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--sand { color: var(--petrol-950); background: var(--sand-500); }
.button--sand:hover { background: var(--white); }
.hero__feature { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(340px, 30vw); padding: 32px 38px 35px; color: var(--petrol-950); background: var(--sand-500); }
.hero__feature span { display: block; margin-bottom: 25px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.hero__feature strong { display: block; margin-bottom: 22px; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.13; }
.hero__feature a { font-size: 12px; font-weight: 800; text-transform: uppercase; text-underline-offset: 5px; }
.hero__caption { position: absolute; z-index: 2; right: 20px; top: 20px; padding: 5px 8px; background: rgba(5,31,34,.72); font-size: 10px; }
.intro-preview { width: var(--container); margin: 0 auto; padding: 100px 0; }
.intro-preview h2 { max-width: 900px; margin: 14px 0 25px; color: var(--petrol-950); font-size: clamp(38px, 5vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
.intro-preview > p:last-child { max-width: 680px; font-size: 19px; color: var(--muted); }

.section { width: var(--container); margin: 0 auto; padding: clamp(82px, 10vw, 145px) 0; }
.section--wide { width: var(--container); }
.section--petrol { color: var(--white); background: var(--petrol-950); }
.section-heading h2, .page-hero h1, .contact-panel h2, .cta-band h2 { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 74px); line-height: 1.01; letter-spacing: -.055em; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .55fr); align-items: end; gap: clamp(40px, 7vw, 100px); }
.section-heading--split > p { margin: 0 0 8px; color: rgba(255,255,255,.7); font-size: 17px; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(50px, 9vw, 135px); align-items: start; }
.intro__body { padding-top: 34px; color: var(--muted); }
.intro__body .lead { margin-top: 0; color: var(--petrol-950); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.4; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--border); }
.values div { min-height: 130px; padding: 19px 14px 10px 0; border-right: 1px solid var(--border); }
.values div:last-child { border: 0; padding-left: 14px; }
.values div:nth-child(2) { padding-left: 14px; }
.values strong, .values span { display: block; }
.values strong { margin-bottom: 22px; color: var(--sand-500); font-size: 12px; letter-spacing: .14em; }
.values span { color: var(--petrol-950); font-size: 13px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }

.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 70px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.service-card { grid-column: span 2; min-height: 380px; padding: 35px; background: var(--petrol-950); transition: background .25s ease, transform .25s ease; }
.service-card--featured { color: var(--petrol-950); background: var(--sand-500); }
.service-card:hover { position: relative; z-index: 1; background: var(--petrol-900); transform: translateY(-5px); }
.service-card--featured:hover { background: var(--sand-300); }
.service-card__number { display: block; margin-bottom: 75px; color: var(--sand-500); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service-card--featured .service-card__number { color: var(--petrol-700); }
.service-card h3 { max-width: 360px; margin: 0 0 20px; font-size: clamp(24px, 2.3vw, 33px); line-height: 1.08; }
.service-card p { max-width: 470px; margin: 0; color: rgba(255,255,255,.67); }
.service-card--featured p { color: rgba(8,47,51,.78); }
.service-card a { display: inline-block; margin-top: 28px; font-size: 12px; font-weight: 800; text-transform: uppercase; text-underline-offset: 5px; }

.process { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1fr); gap: clamp(55px, 9vw, 135px); }
.process__steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.process__steps li { display: grid; grid-template-columns: 70px minmax(180px,.55fr) minmax(200px,1fr); gap: 22px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--border); }
.process__steps span { color: var(--sand-500); font-size: 12px; font-weight: 800; }
.process__steps h3 { margin: 0; color: var(--petrol-950); font-size: 20px; line-height: 1.25; }
.process__steps p { margin: 0; color: var(--muted); font-size: 15px; }

.portfolio { padding: 1px 0; color: var(--white); background: var(--petrol-900); }
.compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 65px; }
.project-card { overflow: hidden; color: var(--charcoal); background: var(--white); }
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d6cf; }
.compare > img, .compare__after, .compare__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--position)); }
.compare__label { position: absolute; z-index: 3; top: 16px; padding: 6px 9px; color: var(--white); background: rgba(8,47,51,.78); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; }
.compare__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--position); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.compare__line::after { content: "↔"; position: absolute; top: 50%; left: 50%; display: grid; width: 46px; height: 46px; place-items: center; border: 2px solid var(--white); border-radius: 50%; color: var(--petrol-950); background: var(--sand-500); font-weight: 800; transform: translate(-50%,-50%); }
.compare__range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 4px solid var(--sand-500); outline-offset: -4px; }
.project-card__copy { padding: 23px 25px 27px; }
.project-card__copy span { color: var(--petrol-700); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-card__copy h3 { margin: 8px 0 0; color: var(--petrol-950); font-size: 22px; }
.gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; margin: 18px 0 0; }
.gallery__item { position: relative; min-height: 330px; padding: 0; overflow: hidden; border: 0; background: var(--petrol-950); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item span { position: absolute; right: 15px; bottom: 15px; padding: 7px 9px; color: var(--white); background: rgba(8,47,51,.82); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lightbox { width: min(920px, calc(100% - 28px)); max-height: 90vh; padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(3,23,25,.88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; margin: auto; object-fit: contain; }
.lightbox__close { position: absolute; z-index: 2; top: -18px; right: -12px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: var(--petrol-950); background: var(--sand-500); font-size: 27px; cursor: pointer; }

.cta-band { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr); gap: 70px; padding: clamp(75px, 9vw, 120px) max(20px, calc((100% - 1180px) / 2)); color: var(--white); background: var(--petrol-950); }
.cta-band h2 { font-size: clamp(39px,5vw,68px); }
.cta-band__actions { align-self: end; }
.cta-band__actions ul { margin: 0 0 29px; padding: 0; list-style: none; }
.cta-band__actions li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.cta-band__actions li::before { content: "✓"; margin-right: 10px; color: var(--sand-500); }

.site-footer { position: relative; display: grid; grid-template-columns: 1.2fr .8fr .65fr 1.35fr; gap: 36px; padding: 70px max(20px, calc((100% - 1180px) / 2)) 95px; color: rgba(255,255,255,.7); background: #041f22; }
.site-footer__brand strong, .site-footer__brand span { display: block; }
.site-footer__brand strong { color: var(--white); font-size: 31px; letter-spacing: -.04em; }
.site-footer__brand span { color: var(--sand-500); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-footer h2 { margin: 0 0 15px; color: var(--white); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer a { text-underline-offset: 4px; }
.site-footer__bottom { position: absolute; right: max(20px, calc((100% - 1180px) / 2)); bottom: 28px; left: max(20px, calc((100% - 1180px) / 2)); padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); }

.page-hero { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); gap: 70px; align-items: end; padding: clamp(80px,10vw,140px) max(20px, calc((100% - 1180px) / 2)); color: var(--white); background: var(--petrol-900); }
.page-hero h1 { font-size: clamp(48px,7vw,92px); }
.page-hero > p { margin: 0 0 12px; color: rgba(255,255,255,.72); font-size: 19px; }
.page-hero--compact { min-height: 320px; grid-template-columns: 1fr; }
.contact-layout { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(50px,8vw,110px); }
.contact-panel h2 { margin-bottom: 42px; font-size: clamp(36px,4.5vw,58px); }
.contact-benefits { margin: 0 0 46px; padding: 0; list-style: none; }
.contact-benefits li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-benefits strong, .contact-benefits span { display: block; }
.contact-benefits strong { color: var(--petrol-950); }
.contact-benefits span { color: var(--muted); font-size: 14px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 0; }
.contact-details div { padding-left: 13px; border-left: 2px solid var(--sand-500); }
.contact-details dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: 5px 0 0; color: var(--petrol-950); font-size: 15px; font-weight: 700; }
.form-panel { min-width: 0; }
.google-form { min-height: 620px; background: var(--white); box-shadow: var(--shadow); }
.google-form__placeholder { padding: clamp(34px,6vw,70px); }
.google-form__number { color: var(--sand-500); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.google-form__placeholder h2 { margin: 42px 0 18px; color: var(--petrol-950); font-size: clamp(31px,4vw,48px); line-height: 1.1; }
.google-form__placeholder p, .google-form__placeholder ul { color: var(--muted); }
.google-form__placeholder ul { margin: 26px 0 35px; padding: 0; list-style: none; }
.google-form__placeholder li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.google-form__placeholder li::before { content: "—"; margin-right: 11px; color: var(--sand-500); }
.button--disabled { color: var(--muted); background: #e9e9e5; cursor: not-allowed; }
.google-form button.button { cursor: pointer; }
.google-form iframe { width: 100%; min-height: 760px; border: 0; }
.form-fallback { display: block; padding: 16px 20px; color: var(--white); background: var(--petrol-700); text-align: center; }
.cookie-preferences-link { display: block; margin: 8px 0 0; padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 150; right: 0; bottom: 0; left: 0; max-height: 80vh; overflow-y: auto; padding: 20px; color: var(--white); background: var(--petrol-950); box-shadow: 0 -8px 30px rgba(8,47,51,.22); }
.cookie-banner__content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; width: min(1180px, 100%); margin: auto; }
.cookie-banner__content > div:first-child { flex: 1 1 420px; }
.cookie-banner h2 { margin: 0 0 4px; font-size: 20px; }
.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--sand-500); color: var(--petrol-950); background: var(--sand-500); font-weight: 700; cursor: pointer; }
.cookie-banner__actions button:first-child { color: var(--white); background: transparent; }
.privacy-note { color: var(--muted); font-size: 12px; }
.privacy-note a { color: var(--petrol-700); }

.legal { max-width: 840px; }
.legal .notice { margin-bottom: 60px; padding: 25px; border-left: 4px solid var(--sand-500); background: var(--sand-300); }
.legal .notice strong { color: var(--petrol-950); text-transform: uppercase; letter-spacing: .08em; }
.legal .notice p { margin-bottom: 0; }
.legal h2 { margin: 45px 0 12px; color: var(--petrol-950); font-size: 26px; }
.legal p { color: var(--muted); }
.legal__updated { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --header-height: 74px; --container: min(100% - 32px, 720px); }
  .site-header { grid-template-columns: minmax(0, 1fr) 74px; min-height: var(--header-height); background: var(--petrol-950); }
  .brand { width: 100%; padding: 0 18px; }
  .header-contact { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; border: 0; color: var(--white); background: var(--petrol-700); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 22px 22px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .hero__content { padding-top: 110px; padding-inline: 0; }
  .hero__feature { width: min(300px, 68vw); }
  .section-heading--split, .intro, .process, .page-hero, .contact-layout, .cta-band { grid-template-columns: 1fr; }
  .section-heading--split { align-items: start; }
  .intro__body { padding-top: 0; }
  .service-card { grid-column: span 3; }
  .process__steps { margin-top: 0; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:first-child { grid-row: span 2; }
  .page-hero { gap: 30px; }
  .contact-layout { gap: 55px; }
}

@media (max-width: 600px) {
  .brand__name { font-size: 20.4px; }
  .hero { min-height: 760px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(5,31,34,.89), rgba(5,31,34,.44)); }
  .hero__content { padding: 105px 0 230px; }
  .hero__content h1 { font-size: clamp(50px, 17vw, 74px); }
  .hero__feature { right: 16px; left: 16px; width: auto; padding: 24px; }
  .section { padding: 76px 0; }
  .section-heading h2 { font-size: 40px; }
  .values { grid-template-columns: 1fr; }
  .values div, .values div:nth-child(2), .values div:last-child { min-height: 0; padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .values strong { display: inline-block; margin: 0 17px 0 0; }
  .values span { display: inline-block; }
  .service-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .service-card { grid-column: auto; min-height: 0; padding: 28px; }
  .service-card__number { margin-bottom: 45px; }
  .process__steps li { grid-template-columns: 45px 1fr; gap: 12px; }
  .process__steps p { grid-column: 2; }
  .compare-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; width: auto; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item { min-height: 410px; }
  .gallery__item:first-child { grid-row: auto; }
  .cta-band { padding: 75px 20px; gap: 45px; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 75px 20px; }
  .page-hero h1 { font-size: 48px; }
  .contact-details { grid-template-columns: 1fr; }
  .google-form { min-height: 0; }
}

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