:root {
  --blue: #087abb;
  --cyan: #00a8df;
  --navy: #12344d;
  --ink: #18232b;
  --muted: #66737b;
  --paper: #f4f0e9;
  --warm: #fbf8f3;
  --terracotta: #c87548;
  --terracotta-dark: #97502f;
  --white: #fff;
  --line: #dde3e6;
  --shadow: 0 18px 55px rgba(11, 38, 56, .14);
  --radius: 3px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--warm); font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 96px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,52,77,.1); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(13,43,61,.1); }
.header-inner { width: var(--shell); height: 100%; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { width: 124px; height: 92px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand img { width: 116px; height: auto; max-height: 91px; object-fit: contain; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a, .header-phone { text-decoration: none; font-size: .88rem; font-weight: 700; letter-spacing: .025em; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--cyan); transition: right .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-phone { color: white; background: var(--blue); padding: 12px 18px; border-radius: var(--radius); }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px auto; background: var(--navy); }

.hero { position: relative; min-height: 760px; height: 100svh; color: #fff; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,42,.91) 0%, rgba(8,41,59,.72) 42%, rgba(8,35,48,.19) 78%), linear-gradient(0deg, rgba(4,20,28,.35), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: var(--shell); margin: 70px auto 0; }
.eyebrow { margin: 0 0 18px; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(3rem, 6.5vw, 6.4rem); line-height: .98; letter-spacing: -.045em; }
.hero-text { max-width: 640px; margin: 28px 0 34px; font-size: clamp(1.08rem, 1.6vw, 1.35rem); color: rgba(255,255,255,.87); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #fff; }
.button-ghost { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.scroll-cue { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1180px)/2)); bottom: 35px; color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue span { display: inline-block; margin-left: 8px; color: var(--cyan); font-size: 1.2rem; }

.section { padding: 105px 0; }
.section-shell { width: var(--shell); margin: auto; }
.intro { position: relative; background: var(--warm); }
.intro::before { position: absolute; top: 0; right: 0; width: min(34vw, 480px); height: 8px; content: ""; background: linear-gradient(90deg, var(--terracotta), #e0a17b); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.intro-copy { padding-top: 10px; font-size: 1.1rem; color: var(--muted); }
.intro-copy p:first-child { margin-top: 0; }

.trust-strip { color: #fff; background: var(--navy); }
.trust-shell { display: grid; width: var(--shell); margin: auto; grid-template-columns: repeat(3, 1fr); }
.trust-shell > div { display: grid; min-height: 150px; padding: 34px 38px; grid-template-columns: 42px 1fr; gap: 15px; align-items: center; border-right: 1px solid rgba(255,255,255,.12); }
.trust-shell > div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.trust-shell span { color: #e3a078; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.trust-shell p { margin: 0; }
.trust-shell strong, .trust-shell small { display: block; }
.trust-shell strong { font-size: 1.02rem; line-height: 1.25; }
.trust-shell small { margin-top: 7px; color: rgba(255,255,255,.62); font-size: .78rem; line-height: 1.4; }

.services { background: radial-gradient(circle at 92% 12%, rgba(200,117,72,.1), transparent 24%), radial-gradient(circle at 5% 85%, rgba(8,122,187,.08), transparent 27%), var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-heading h2 { max-width: 700px; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 270px; padding: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(23,118,178,.14); border-radius: 18px; box-shadow: 0 10px 30px rgba(11,38,55,.055); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card::after { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(23,118,178,.3); box-shadow: 0 20px 45px rgba(11,38,55,.12); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 24px; color: var(--blue); background: linear-gradient(145deg, rgba(23,118,178,.12), rgba(0,166,219,.06)); border: 1px solid rgba(23,118,178,.14); border-radius: 50%; }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card span { position: absolute; top: 34px; right: 30px; color: rgba(11,38,55,.28); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.portfolio { background: #fffdf9; }
.portfolio-heading { margin-bottom: 90px; }
.project { position: relative; margin: 0 0 70px; padding: 48px; background: var(--warm); border: 1px solid rgba(151,80,47,.1); border-radius: 24px; box-shadow: 0 18px 55px rgba(72,53,39,.07); }
.project:nth-of-type(even) { background: #f0f6f8; border-color: rgba(8,122,187,.11); }
.project-intro { display: grid; grid-template-columns: 110px minmax(300px, 1fr) minmax(280px, 480px); gap: 35px; align-items: start; margin-bottom: 35px; }
.project-number { margin: 5px 0 8px; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.project-intro .project-number { display: inline-flex; width: fit-content; padding: 9px 11px; flex-direction: column; gap: 4px; color: var(--terracotta-dark); background: rgba(200,117,72,.11); border-radius: 8px; }
.project-intro .project-number span { color: var(--navy); font-size: .62rem; letter-spacing: .08em; }
.project:nth-of-type(even) .project-intro .project-number { color: var(--blue); background: rgba(8,122,187,.1); }
.project-intro h3, .gallery-title h3, .feature-project h3 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.15; }
.project-intro > p:last-child { margin: 4px 0 0; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phase { padding: 20px; background: #fff; border: 1px solid rgba(18,52,77,.08); border-radius: 14px; }
.phase-before { background: #fff9f5; border-color: rgba(200,117,72,.18); }
.phase-after { background: #f7fbfd; border-color: rgba(8,122,187,.16); }
.phase h4 { display: flex; align-items: center; width: fit-content; gap: 10px; margin: 0 0 16px; padding: 7px 11px; color: var(--navy); background: #fff; border-radius: 999px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.phase-before h4 { color: var(--terracotta-dark); }
.phase h4::before { content: ""; width: 24px; height: 2px; background: var(--terracotta); }
.phase-after h4::before { background: var(--cyan); }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photo { position: relative; display: block; min-width: 0; padding: 0; border: 0; border-radius: 7px; background: #dce2e5; overflow: hidden; cursor: zoom-in; }
.photo::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: rgba(5,35,51,.78); opacity: 0; transform: translateY(8px); transition: .2s; }
.photo:hover::after, .photo:focus-visible::after { opacity: 1; transform: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.photo:hover img { transform: scale(1.025); }
.compact .photo { aspect-ratio: 4 / 3; }
.compact .photo.portrait { aspect-ratio: 4 / 3; }
.masonry-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 10px; }
.masonry-grid .tall { grid-row: span 2; }
.masonry-grid .wide { grid-column: span 2; }
.gallery-group { margin: 0 0 110px; }
.gallery-title { margin-bottom: 24px; }
.gallery-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.gallery-pair .gallery-group { min-width: 0; }
.kitchen-grid .photo:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.kitchen-grid .photo:not(:first-child) { aspect-ratio: 4 / 3; }
.technical-grid { grid-template-columns: 1fr 1fr; }
.technical-grid .photo { aspect-ratio: 3 / 4; }
.feature-project { display: grid; grid-template-columns: 1.45fr .7fr; min-height: 570px; background: var(--navy); color: white; }
.feature-project img { width: 100%; height: 100%; object-fit: cover; }
.feature-project > div { align-self: end; padding: 55px 45px; }
.feature-project > div { border-top: 5px solid var(--terracotta); }
.feature-project h3 { color: #fff; }
.feature-project p:last-child { color: rgba(255,255,255,.72); }

.contact { position: relative; overflow: hidden; color: #fff; background: var(--blue); text-align: center; }
.contact-backdrop { position: absolute; inset: 0; opacity: .13; background: radial-gradient(circle at 50% 0, #fff, transparent 42%), linear-gradient(120deg, transparent 35%, var(--cyan)); }
.contact-inner { position: relative; }
.contact h2 { color: #fff; }
.contact-inner > p:not(.eyebrow) { margin: 20px 0 42px; color: rgba(255,255,255,.82); font-size: 1.1rem; }
.contact-links { display: flex; justify-content: center; gap: 14px; }
.contact-links a { min-width: 300px; padding: 20px 26px; color: #fff; border: 1px solid rgba(255,255,255,.4); text-decoration: none; text-align: left; transition: background .2s; }
.contact-links a:hover { background: rgba(255,255,255,.12); }
.contact-links small, .contact-links strong { display: block; }
.contact-links small { opacity: .72; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-links strong { font-size: 1.15rem; }

.site-footer { padding: 28px max(20px, calc((100vw - 1180px)/2)) 14px; color: #d7e0e5; background: #0b2637; }
.footer-inner { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; }
.footer-inner img { width: 64px; height: auto; padding: 3px; background: #fff; opacity: .96; }
.footer-inner strong { color: #fff; font-size: 1rem; }
.footer-inner p { margin: 2px 0 0; color: #9eb0ba; font-size: .82rem; line-height: 1.4; }
.footer-contact { display: flex; flex-direction: column; gap: 1px; text-align: right; font-size: .88rem; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 11px; color: #8298a4; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }
.footer-bottom button { padding: 0; color: inherit; border: 0; background: none; cursor: pointer; }

dialog { color: var(--ink); border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(4,16,23,.88); backdrop-filter: blur(5px); }
.lightbox { width: min(94vw, 1200px); max-height: 92vh; padding: 0; background: transparent; overflow: visible; }
.lightbox img { max-width: 100%; max-height: 83vh; margin: auto; object-fit: contain; }
.lightbox p { margin: 10px 0 0; color: #fff; text-align: center; }
.lightbox-close { position: absolute; z-index: 2; top: -42px; right: 0; width: 38px; height: 38px; color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.2); font-size: 1.8rem; cursor: pointer; }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 56px; display: grid; place-items: center; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.42); font-size: 3rem; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .2s, opacity .2s; }
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: rgba(8,122,187,.88); }
.lightbox-nav:disabled { opacity: .3; cursor: default; }
.lightbox-previous { left: 12px; }
.lightbox-next { right: 12px; }
.legal { width: min(92vw, 720px); max-height: 85vh; padding: 45px; }
.legal h2 { margin-bottom: 30px; font-size: 2rem; }
.legal p { color: var(--muted); }
.legal .lightbox-close { top: 8px; right: 8px; color: var(--navy); border-color: var(--line); }

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .header-inner { gap: 15px; }
  .brand { height: 78px; width: 102px; }
  .brand img { width: 92px; max-height: 76px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: none; flex-direction: column; gap: 0; padding: 25px 20px; background: #fff; box-shadow: 0 20px 30px rgba(0,0,0,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-phone { padding: 9px 12px; font-size: .78rem; }
  .hero { min-height: 690px; }
  .hero-content { margin-top: 40px; }
  .intro-grid, .project-intro { grid-template-columns: 1fr; gap: 18px; }
  .intro-grid { gap: 35px; }
  .trust-shell { grid-template-columns: 1fr; }
  .trust-shell > div { min-height: 115px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-intro { margin-bottom: 28px; }
  .gallery-pair { grid-template-columns: 1fr; gap: 0; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-project { grid-template-columns: 1fr; }
  .feature-project img { max-height: 550px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-phone { display: none; }
  .section { padding: 78px 0; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,29,42,.9), rgba(8,41,59,.5)), linear-gradient(0deg, rgba(4,20,28,.4), transparent); }
  .scroll-cue { display: none; }
  .button { width: 100%; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading > p { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .trust-shell > div { padding: 25px 22px; }
  .project { padding: 26px 18px; border-radius: 16px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .masonry-grid { grid-auto-rows: 180px; }
  .masonry-grid .tall { grid-row: span 1; }
  .masonry-grid .wide { grid-column: span 2; }
  .feature-project { min-height: auto; }
  .feature-project > div { padding: 35px 24px; }
  .contact-links { flex-direction: column; }
  .contact-links a { min-width: 0; }
  .site-footer { padding-top: 22px; }
  .footer-inner { grid-template-columns: 58px 1fr; gap: 13px; }
  .footer-inner img { width: 52px; }
  .footer-contact { grid-column: 1 / -1; gap: 0; margin-top: 2px; text-align: left; }
  .footer-bottom { margin-top: 14px; }
  .lightbox-nav { width: 42px; height: 50px; font-size: 2.5rem; }
  .lightbox-previous { left: 4px; }
  .lightbox-next { right: 4px; }
  .legal { padding: 36px 24px 24px; }
}

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