@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --bg: #f2f7f8;
    --surface: #ffffff;
    --ink: #102a36;
    --ink-soft: #526b76;
    --night: #041b2d;
    --night-soft: #073653;
    --night-line: rgba(184, 215, 225, 0.16);
    --accent: #29d5ff;
    --accent-soft: #e6faff;
    --light: #f7fbfc;
    --line: #cbdce2;
    --font-display: "Sora", "Arial Narrow", Arial, sans-serif;
    --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
    --radius: 18px;
    --radius-sm: 10px;
    --shell: min(1180px, calc(100vw - 48px));
    --section: clamp(76px, 9vw, 132px);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--night); }

:where(h1, h2, h3, p, ul, figure) { margin-top: 0; }
h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.045em;
    text-wrap: balance;
}
h1 { line-height: .98; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 5vw, 4.9rem); line-height: 1.02; }
h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.08; }
p { margin-bottom: 0; }

.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;
}
.skip-link {
    position: fixed; z-index: 9999; left: 12px; top: 12px;
    transform: translateY(-160%); background: var(--accent); color: var(--night);
    padding: 10px 16px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow {
    margin-bottom: 22px; color: var(--accent); font-size: .75rem; font-weight: 800;
    letter-spacing: .16em; line-height: 1.3; text-transform: uppercase;
}
.button {
    display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
    padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius-sm);
    font-weight: 800; line-height: 1; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--accent); color: #032238; }
.button-primary:hover { background: #7ae7ff; }
.button-ghost { border-color: rgba(255,255,255,.34); color: var(--light); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.56); }
.button-light { background: var(--light); color: var(--night); }

.site-header {
    position: fixed; z-index: 1000; inset: 0 0 auto; color: var(--light);
    transition: background-color .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(7,26,38,.88); border-color: var(--night-line); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 50%;
    background-image: var(--brand-image); background-repeat: no-repeat;
    background-size: contain; background-position: center;
    box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; letter-spacing: -.04em; }
.brand-name span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: .91rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { position: relative; color: rgba(247,251,252,.8); }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid rgba(255,255,255,.28); border-radius: 9px; padding: 11px 16px; }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--night); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.25); background: transparent; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle > span:not(.screen-reader-text) { width: 20px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }

.hero {
    position: relative; min-height: min(860px, 100svh); overflow: hidden;
    display: grid; align-items: center; padding: 118px 0 72px;
    color: var(--light); background:
        linear-gradient(90deg, rgba(4,27,45,.98) 0%, rgba(4,27,45,.90) 42%, rgba(4,27,45,.32) 100%),
        var(--hero-photo) center / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
    background-size: 78px 78px; mask-image: linear-gradient(to right, rgba(0,0,0,.5), transparent 72%); opacity: .42;
}
#water-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .82; }
.hero-glow { position: absolute; width: 44vw; height: 44vw; right: -8vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(41,213,255,.18), transparent 67%); filter: blur(18px); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.hero-copy { max-width: 770px; }
.hero h1 { margin-bottom: 28px; font-size: clamp(3.25rem, 7.4vw, 7.4rem); font-weight: 850; }
.hero h1 span { color: var(--accent); }
.hero-lead { max-width: 650px; color: rgba(247,251,252,.76); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-symbol { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-symbol::before { content: ""; position: absolute; width: 69%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); box-shadow: inset 0 0 80px rgba(41,213,255,.08); backdrop-filter: blur(4px); }
.hero-mark { position: relative; z-index: 2; width: 46%; aspect-ratio: 1; border-radius: 50%; background-image: var(--brand-image); background-repeat: no-repeat; background-size: contain; background-position: center; box-shadow: 0 24px 80px rgba(41,213,255,.26); }
.orbit { position: absolute; border: 1px solid rgba(41,213,255,.32); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); left: 50%; top: -5px; }
.orbit-one { width: 88%; aspect-ratio: 1; animation: orbit 16s linear infinite; }
.orbit-two { width: 52%; aspect-ratio: 1; animation: orbit 11s linear infinite reverse; border-color: rgba(255,255,255,.12); }
.orbit-two::after { width: 7px; height: 7px; top: -4px; background: #64f0ff; box-shadow: 0 0 18px #64f0ff; }
@keyframes orbit { to { transform: rotate(360deg); } }

.proof { position: relative; z-index: 3; margin-top: -1px; background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-grid { min-height: 128px; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 26px clamp(12px, 3vw, 38px); border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { color: var(--accent); font-family: var(--font-display); font-size: clamp(1.85rem, 3vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.proof-item span { color: var(--ink-soft); max-width: 145px; font-size: .91rem; line-height: 1.35; }

.section-heading { max-width: 850px; margin-bottom: clamp(48px, 7vw, 82px); }
.section-heading > p:not(.eyebrow) { max-width: 660px; color: var(--ink-soft); font-size: 1.12rem; }
.section-heading.compact { max-width: 760px; margin-bottom: 52px; }
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.service-card { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { color: var(--ink-soft); max-width: 44ch; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 13px; color: var(--accent); background: var(--accent-soft); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-featured { grid-column: span 7; grid-row: span 2; min-height: 480px; display: grid; align-content: space-between; background: var(--night); color: var(--light); }
.service-featured::before { content: ""; position: absolute; width: 330px; height: 330px; right: -90px; top: -70px; border: 1px solid rgba(41,213,255,.34); border-radius: 50%; box-shadow: 0 0 0 60px rgba(41,213,255,.04), 0 0 0 120px rgba(41,213,255,.025); }
.service-featured .service-icon { color: var(--night); background: var(--accent); }
.service-featured h3 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.service-featured p { color: rgba(247,251,252,.68); font-size: 1.08rem; }
.service-featured a { display: inline-block; margin-top: 26px; color: var(--accent); font-weight: 800; }
.service-air { grid-column: span 5; }
.service-analysis { grid-column: span 5; }
.service-photo { grid-column: span 6; min-height: 340px; display: flex; align-items: end; color: var(--light); background: linear-gradient(to top, rgba(7,26,38,.95), rgba(7,26,38,.08)), var(--service-photo) center/cover; }
.service-photo p { color: rgba(247,251,252,.72); }
.service-photo .service-icon { background: rgba(255,255,255,.12); color: var(--accent); backdrop-filter: blur(8px); }
.service-energy { grid-column: span 3; }
.service-electric { grid-column: span 3; }

.about { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(50px, 8vw, 112px); align-items: center; }
.about-visual { position: relative; }
.about-visual::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--accent); border-radius: var(--radius); opacity: .32; }
.about-visual img { position: relative; z-index: 1; min-height: 590px; width: 100%; object-fit: cover; border-radius: var(--radius); filter: saturate(.92) contrast(1.03); }
.about-badge { position: absolute; z-index: 2; right: -34px; bottom: 42px; max-width: 250px; padding: 24px; border-radius: var(--radius-sm); background: var(--accent); color: var(--night); box-shadow: 0 20px 50px rgba(16,42,54,.2); }
.about-badge strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.035em; }
.about-badge span { display: block; font-size: .92rem; line-height: 1.45; }
.about-copy h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.about-copy > p { color: var(--ink-soft); font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 18px; }
.check-list li { position: relative; padding: 0 0 17px 32px; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.pmoc { position: relative; overflow: hidden; background: var(--accent); color: var(--night); }
.pmoc-word { position: absolute; right: -2vw; top: 46%; transform: translateY(-50%); color: rgba(7,26,38,.065); font-family: var(--font-display); font-size: min(34vw, 520px); font-weight: 900; line-height: .7; letter-spacing: -.09em; pointer-events: none; }
.pmoc-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(52px, 9vw, 126px); align-items: start; }
.pmoc .eyebrow { color: var(--night); opacity: .66; }
.pmoc-copy { position: sticky; top: 130px; }
.pmoc-copy h2 { font-size: clamp(2.5rem, 5.3vw, 5.3rem); }
.pmoc-copy > p:not(.eyebrow) { max-width: 55ch; font-size: 1.08rem; }
.pmoc-copy .button { margin-top: 34px; }
.pmoc-points { display: grid; }
.pmoc-points > div { display: grid; grid-template-columns: 74px 1fr; padding: 34px 0; border-top: 1px solid rgba(7,26,38,.3); }
.pmoc-points > div:last-child { border-bottom: 1px solid rgba(7,26,38,.3); }
.pmoc-points span { grid-row: span 2; font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; }
.pmoc-points strong { font-family: var(--font-display); font-size: 1.65rem; letter-spacing: -.035em; }
.pmoc-points p { margin-top: 8px; max-width: 46ch; line-height: 1.55; }

.process { background: var(--night); color: var(--light); }
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }
.process-list article { min-height: 260px; padding: clamp(28px, 4vw, 50px); border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.process-list span { display: block; margin-bottom: 34px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.process-list h3 { font-size: clamp(1.55rem, 3vw, 2.7rem); }
.process-list p { max-width: 42ch; color: rgba(247,251,252,.63); }

.contact { padding-block: clamp(76px, 10vw, 150px); background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 10vw, 150px); align-items: start; }
.contact-copy h2 { max-width: 650px; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: var(--ink-soft); font-size: 1.08rem; }
.contact-actions { display: grid; border-top: 1px solid var(--line); }
.contact-actions a, .contact-hours { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease), color .25s; }
.contact-actions a:hover { padding-inline: 14px; color: var(--accent); }
.contact-actions span { color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-actions strong { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: -.025em; text-align: right; }

.site-footer { padding: 70px 0 24px; background: #04111a; color: var(--light); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 48px; padding-bottom: 54px; }
.brand-footer { margin-bottom: 18px; }
.footer-grid p { max-width: 42ch; color: rgba(247,251,252,.55); }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 9px; }
.footer-grid strong { margin-bottom: 5px; color: var(--accent); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { color: rgba(247,251,252,.7); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--night-line); color: rgba(247,251,252,.4); font-size: .78rem; }

.fallback-main { min-height: 72vh; padding: 150px 0 90px; background: var(--bg); }
.prose { max-width: 850px; }
.prose h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
.prose p, .prose li { max-width: 70ch; }
.not-found { text-align: left; }
.not-found .button { margin-top: 30px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.services-grid .reveal:nth-child(2), .proof-grid .reveal:nth-child(2), .process-list .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3), .proof-grid .reveal:nth-child(3), .process-list .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid .reveal:nth-child(4), .process-list .reveal:nth-child(4) { transition-delay: .24s; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 980px) {
    :root { --shell: min(100% - 36px, 760px); }
    .menu-toggle { display: flex; z-index: 1002; }
    .site-nav { position: fixed; inset: 0; z-index: 1001; padding: 110px 28px 36px; background: rgba(7,26,38,.98); display: flex; flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); transition: transform .35s var(--ease); }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav > a { padding: 18px 0; border-bottom: 1px solid var(--night-line); font-size: 1.25rem; }
    .site-nav > .nav-cta { margin-top: 24px; text-align: center; border-color: var(--accent); }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { min-height: auto; padding: 138px 0 88px; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-symbol { position: absolute; width: 430px; right: -190px; bottom: -180px; opacity: .42; }
    .hero-copy { position: relative; z-index: 2; }
    .proof-grid { min-height: auto; }
    .proof-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 18px; }
    .proof-item:first-child { padding-left: 0; }
    .services-grid { grid-template-columns: repeat(6, 1fr); }
    .service-featured, .service-photo { grid-column: span 6; }
    .service-air, .service-analysis { grid-column: span 3; }
    .service-energy, .service-electric { grid-column: span 3; }
    .service-featured { min-height: 420px; }
    .about-layout, .pmoc-layout, .contact-layout { grid-template-columns: 1fr; }
    .about-visual { max-width: 690px; }
    .about-visual img { min-height: 470px; }
    .about-badge { right: 20px; }
    .pmoc-copy { position: static; }
    .pmoc-word { top: 22%; }
    .footer-grid { grid-template-columns: 1.3fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
    :root { --shell: min(100% - 28px, 620px); --section: 72px; --radius: 14px; }
    html { scroll-padding-top: 72px; }
    .header-inner { min-height: 72px; }
    .brand-mark { width: 39px; height: 39px; }
    .brand-name { font-size: 1rem; }
    .hero { padding: 116px 0 70px; }
    .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
    .hero-lead { font-size: 1.02rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-symbol { width: 330px; right: -170px; bottom: -150px; }
    .proof-grid { grid-template-columns: 1fr; padding-block: 4px; }
    .proof-item { grid-template-columns: 112px 1fr; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
    .proof-item:last-child { border-bottom: 0; }
    .proof-item span { max-width: none; }
    .section-heading { margin-bottom: 42px; }
    .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
    .services-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; }
    .service-card, .service-featured, .service-air, .service-analysis, .service-photo, .service-energy, .service-electric { grid-column: 1; grid-row: auto; min-height: 0; }
    .service-featured { min-height: 390px; }
    .service-photo { min-height: 390px; }
    .about-visual::before { inset: -10px 10px 10px -10px; }
    .about-visual img { min-height: 400px; }
    .about-badge { position: relative; right: auto; bottom: auto; z-index: 2; max-width: calc(100% - 30px); margin: -60px 0 0 30px; }
    .pmoc-word { font-size: 54vw; top: 18%; }
    .pmoc-points > div { grid-template-columns: 54px 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .process-list article { min-height: 220px; }
    .contact-actions a, .contact-hours { display: grid; gap: 6px; }
    .contact-actions strong { text-align: left; overflow-wrap: anywhere; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-grid > div:last-child { grid-column: 1; }
    .footer-bottom { flex-direction: column; }
}

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

@media print {
    .site-header, #water-canvas, .hero-symbol, .contact { display: none !important; }
    body, .hero, .process, .site-footer { background: #fff !important; color: #111 !important; }
    .hero { min-height: auto; padding: 40px 0; }
    .js .reveal { opacity: 1; transform: none; }
}
