:root {
    --blue: #1176a5;
    --blue-dark: #0c567d;
    --orange: #fd8f14;
    --ink: #17242b;
    --muted: #5d6b72;
    --line: #dce4e8;
    --paper: #f4f7f8;
    --white: #fff;
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: 10px; left: -9999px; padding: 12px 16px; background: #fff; color: var(--ink); }
.skip-link:focus { left: 10px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid #e6ecef; background: #fff; }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 204px; max-height: 62px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); }
.primary-nav a { color: #3f5058; font-size: 13px; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border: 0; background: var(--orange); color: #1b2830; font-size: 13px; font-weight: 750; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); background: #f7a43c; }
.button span { font-size: 18px; font-weight: 400; }
.header-cta { flex: 0 0 auto; min-height: 44px; padding-inline: 16px; font-size: 12px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-menu nav { position: absolute; top: 52px; right: 0; display: grid; width: min(300px, calc(100vw - 36px)); padding: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px #102c3a20; }
.mobile-menu nav a { padding: 13px 12px; border-bottom: 1px solid #eef1f2; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.mobile-menu nav a:last-child { border: 0; }
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; min-height: 560px; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; padding-block: 54px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 22px; height: 2px; margin: 0 9px 3px 0; background: var(--orange); content: ""; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 640px; margin: 0; font-size: clamp(42px, 6.3vw, 76px); font-weight: 680; letter-spacing: -.055em; line-height: .98; }
.hero-description { max-width: 490px; margin: 23px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.quiet-link, .text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: 13px; font-weight: 750; text-decoration: none; }
.quiet-link:hover, .text-link:hover { color: var(--blue); }
.hero-image { position: relative; min-height: 440px; overflow: hidden; background: #b9cad2; }
.hero-image::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #0b253bbd); content: ""; }
.hero-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.hero-caption { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; color: #fff; }
.hero-caption span { display: block; margin-bottom: 6px; color: #e8f0f2; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero-caption strong { display: block; font-size: 20px; line-height: 1.2; }
.hero-caption small { font-size: 12px; }
.hero-index { position: absolute; right: 28px; bottom: 19px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.section { padding-block: 84px; }
.section-soft { background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading h2, .content-heading { max-width: 700px; margin: 0; font-size: clamp(30px, 4.5vw, 52px); font-weight: 680; letter-spacing: -.045em; line-height: 1.04; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { min-height: 198px; padding: 24px 22px 22px 0; border-right: 1px solid var(--line); }
.service-card + .service-card { padding-left: 24px; }
.service-card:last-child { border-right: 0; }
.service-card .number { color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin: 27px 0 8px; font-size: 19px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card { min-width: 0; color: inherit; text-decoration: none; }
.project-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d9e3e7; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-card-image img { transform: scale(1.04); }
.project-card-image .arrow { position: absolute; right: 10px; bottom: 10px; display: grid; width: 38px; height: 38px; place-items: center; background: var(--orange); color: var(--ink); font-size: 18px; }
.project-meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 13px; }
.project-meta small { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.project-meta h3 { margin: 5px 0 0; font-size: 16px; line-height: 1.3; }
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pagination { display: flex; justify-content: center; margin-top: 38px; }
.pagination nav { display: flex; gap: 7px; }
.pagination a, .pagination span { display: grid; min-width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.pagination [aria-current="page"] span { border-color: var(--blue); background: var(--blue); color: #fff; }
.about-band { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 32px; padding: 50px max(24px, calc((100% - 1200px) / 2)); background: #eaf1f4; }
.about-mark { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid #9bb8c7; border-radius: 50%; color: var(--blue); font-family: Georgia, serif; font-size: 34px; }
.about-band h2 { max-width: 690px; margin: 0; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.04em; line-height: 1.1; }
.about-band .eyebrow { margin-bottom: 10px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 62px max(24px, calc((100% - 1200px) / 2)); background: var(--blue-dark); color: #fff; }
.contact-band h2 { max-width: 630px; margin: 0; font-size: clamp(28px, 4.5vw, 52px); letter-spacing: -.045em; line-height: 1.04; }
.contact-band .eyebrow { color: #b9e2f1; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.contact-phone { color: #e4f4f9; font-size: 14px; font-weight: 750; text-decoration: none; }
.page-hero { padding: 74px 0 66px; background: var(--paper); }
.page-hero h1 { max-width: 900px; font-size: clamp(40px, 6vw, 68px); }
.page-hero p:last-child { max-width: 680px; margin: 21px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 64px; }
.prose { max-width: 790px; color: #36464e; font-size: 16px; line-height: 1.8; }
.prose h2 { margin: 37px 0 12px; color: var(--ink); font-size: 27px; letter-spacing: -.025em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 25px 0 8px; color: var(--ink); font-size: 19px; }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 21px; }
.prose li { margin-bottom: 8px; }
.info-card { align-self: start; padding: 28px; border-top: 4px solid var(--orange); background: var(--paper); }
.info-card h2 { margin: 0 0 16px; font-size: 21px; }
.info-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.info-card a { color: var(--blue-dark); font-weight: 700; }
.project-detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 52px; align-items: center; }
.project-detail-hero h1 { font-size: clamp(38px, 5.5vw, 64px); }
.project-cover-trigger { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.project-cover { max-height: 530px; width: 100%; object-fit: cover; background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.gallery .lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox-trigger { cursor: zoom-in; }
.photo-lightbox { position: fixed; width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: min(92vh, 1000px); padding: 48px 24px 20px; border: 1px solid rgba(255,255,255,.16); background: #171714; color: white; overflow: auto; }
.photo-lightbox::backdrop { background: rgba(10, 10, 9, .91); }
.lightbox-close { position: absolute; top: 8px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 0; background: transparent; color: white; font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; }
.lightbox-image { display: block; max-width: calc(100% - 112px); max-height: calc(92vh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox-nav { flex: 0 0 44px; width: 44px; height: 56px; border: 1px solid rgba(255,255,255,.42); border-radius: 2px; background: rgba(255,255,255,.08); color: white; font-size: 36px; line-height: 1; cursor: pointer; }
.lightbox-nav:disabled { opacity: .35; cursor: default; }
.lightbox-nav:hover, .lightbox-close:hover { color: var(--orange); }
.lightbox-caption { margin: 14px 0 0; color: rgba(255,255,255,.75); text-align: center; font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 58px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #34454d; font-size: 13px; font-weight: 700; }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #cbd7dc; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 22px; padding: 15px 18px; border-left: 4px solid var(--blue); background: #eef6f8; font-size: 14px; line-height: 1.55; }
.form-notice-error { border-color: #ad2f22; background: #fff1ef; }
.form-notice-success { border-color: #267547; background: #eff9f2; }
.vacancy-card { max-width: 840px; padding: 34px; border: 1px solid var(--line); border-top: 4px solid var(--orange); background: #fff; }
.vacancy-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.03em; }
.vacancy-card .vacancy-intro { color: var(--muted); font-size: 16px; line-height: 1.7; }
.site-footer { background: #152b38; color: #d9e4e8; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr .9fr; gap: 44px; padding-block: 60px; }
.footer-brand .brand img { width: 180px; max-height: 52px; }
.footer-brand p { max-width: 275px; margin: 21px 0 14px; color: #b7c6cd; font-size: 13px; line-height: 1.7; }
.footer-social { color: #ffd3a0; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; color: #c5d3d9; font-size: 12px; line-height: 1.5; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-legal p { margin-top: 18px; color: #aabcc4; font-size: 11px; }
.footer-bottom { border-top: 1px solid #ffffff1c; }
.footer-bottom > .wrap { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; color: #aabcc4; font-size: 11px; }
.cookie-settings-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings-link:hover { color: var(--orange); }
.privacy-cookie-settings { padding: 0; border: 0; background: transparent; color: var(--blue-dark); font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-consent[hidden] { display: none; }
.cookie-consent { position: fixed; z-index: 1000; right: 18px; bottom: 18px; left: 18px; display: flex; width: min(940px, calc(100% - 36px)); align-items: center; justify-content: space-between; gap: 28px; margin-inline: auto; padding: 22px 24px; border-top: 4px solid var(--orange); background: #fff; box-shadow: 0 12px 44px #071b28a8; }
.cookie-consent-copy { max-width: 620px; }
.cookie-consent h2 { margin: 0 0 6px; font-size: 18px; }
.cookie-consent p { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-consent a { color: var(--blue-dark); font-size: 12px; font-weight: 700; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.cookie-choice { min-height: 44px; padding: 0 15px; border: 1px solid var(--blue-dark); background: #fff; color: var(--blue-dark); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.cookie-choice-accept { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.cookie-choice:hover { filter: brightness(.96); }
.cookie-choice:focus-visible, .cookie-settings-link:focus-visible, .privacy-cookie-settings:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.empty-state { padding: 35px; border: 1px dashed #b8c8cf; color: var(--muted); }
.muted { color: var(--muted); font-size: 12px; }
.maintenance-page { display: flex; min-height: 100vh; flex-direction: column; align-items: flex-start; justify-content: center; width: min(760px, calc(100% - 48px)); margin-inline: auto; padding-block: 60px; }
.maintenance-page .brand { margin-bottom: 78px; }
.maintenance-page .brand img { width: 230px; }
.maintenance-page h1 { max-width: 650px; font-size: clamp(43px, 7vw, 70px); }
.maintenance-page > p:not(.eyebrow) { max-width: 560px; margin: 22px 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.maintenance-contact { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 16px; }
.maintenance-contact a { color: var(--blue-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
.maintenance-contact a:hover { color: var(--orange); }

@media (max-width: 980px) {
    .primary-nav, .header-cta { display: none; }
    .mobile-menu { display: block; }
    .hero-grid { min-height: 0; grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-image, .hero-image img { min-height: 380px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(2) { border-right: 0; }
    .service-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .service-card:nth-child(3) { padding-left: 0; }
    .project-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .project-list { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .wrap { width: min(100% - 36px, 520px); }
    .header-inner { min-height: 74px; }
    .brand img { width: 165px; max-height: 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 44px 55px; }
    h1 { font-size: clamp(41px, 12vw, 58px); }
    .hero-description { margin: 17px 0 22px; font-size: 15px; }
    .hero-image, .hero-image img { min-height: 295px; }
    .hero-caption { right: 16px; bottom: 16px; left: 16px; }
    .hero-index { right: 18px; bottom: 13px; }
    .section { padding-block: 58px; }
    .section-heading { display: block; margin-bottom: 26px; }
    .section-heading > p { margin-top: 15px; }
    .service-card { min-height: 173px; padding: 19px 13px; }
    .service-card + .service-card { padding-left: 13px; }
    .service-card:nth-child(3) { padding-left: 0; }
    .service-card h3 { margin-top: 22px; font-size: 16px; }
    .service-card p { font-size: 12px; }
    .project-grid { gap: 23px 12px; }
    .project-list { grid-template-columns: 1fr; }
    .project-meta h3 { font-size: 14px; }
    .about-band { grid-template-columns: 1fr; gap: 16px; padding: 36px 18px; }
    .about-mark { width: 54px; height: 54px; font-size: 25px; }
    .contact-band { display: block; padding: 44px 18px; }
    .contact-actions { margin-top: 22px; }
    .page-hero { padding: 50px 0 43px; }
    .page-hero p:last-child { font-size: 15px; }
    .content-layout, .project-detail-hero, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .project-detail-hero { gap: 25px; }
    .project-cover { max-height: 360px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .photo-lightbox { width: calc(100vw - 16px); padding: 48px 8px 16px; }
    .lightbox-stage { gap: 6px; }
    .lightbox-image { max-width: calc(100% - 84px); }
    .lightbox-nav { flex-basis: 36px; width: 36px; height: 48px; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form label.full { grid-column: auto; }
    .vacancy-card { padding: 24px 20px; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 42px; }
    .footer-bottom > .wrap { min-height: 64px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 12px; }
    .cookie-consent { right: 8px; bottom: 8px; left: 8px; display: block; width: calc(100% - 16px); padding: 18px; }
    .cookie-consent-actions { margin-top: 14px; }
    .cookie-choice { flex: 1 1 125px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
