:root {
    --navy-950: #04111f;
    --navy-900: #071a2d;
    --navy-850: #0a223a;
    --navy-800: #0d2a46;
    --blue-500: #2da9ff;
    --blue-400: #58bbff;
    --green-500: #31d37c;
    --green-400: #62e69a;
    --green-100: #dff9ea;
    --ink: #102338;
    --muted: #5d6c7b;
    --line: #dce5eb;
    --paper: #f4f8f9;
    --white: #fff;
    --max: 1200px;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(7, 26, 45, .12);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: Bahnschrift, "Segoe UI Variable Display", "Segoe UI", sans-serif;
    font-weight: 560;
    line-height: 1.08;
    letter-spacing: -.035em;
}
h2 { font-size: clamp(2rem, 3.6vw, 3.55rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
em { color: var(--green-400); font-style: normal; }
::selection { background: var(--green-500); color: var(--navy-950); }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(80px, 9vw, 132px) 0; position: relative; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 2000; padding: 10px 16px; background: var(--green-500); color: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #158652; font-size: .76rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 19px; }
.eyebrow i { width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--green-400); }
.section-heading { max-width: 800px; margin-bottom: 52px; }
.section-heading > p { max-width: 640px; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 72px; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin-bottom: 8px; font-size: 1.05rem; }
.prose p { font-size: 1.08rem; }
.prose p:first-child { color: var(--ink); }

.icon { width: 23px; height: 23px; flex: 0 0 auto; }
.icon--tiny { width: 13px; height: 13px; }
.icon--small { width: 18px; height: 18px; }
.icon--large { width: 56px; height: 56px; }
.icon--service { width: 64px; height: 64px; }

.button { min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--navy-950); font-size: .88rem; font-weight: 750; letter-spacing: .025em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, border-color .35s ease; }
.button:hover { transform: translateY(-3px); }
.button--primary { background: var(--green-500); box-shadow: 0 14px 36px rgba(49, 211, 124, .2); }
.button--primary:hover { background: var(--green-400); box-shadow: 0 18px 44px rgba(49, 211, 124, .33); }
.button--glass { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); backdrop-filter: blur(12px); }
.button--glass:hover, .button--outline-light:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.25); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 84px; color: var(--white); background: linear-gradient(to bottom, rgba(4,17,31,.58), rgba(4,17,31,.12)); transition: height .35s var(--ease), background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { height: 72px; background: rgba(4,17,31,.94); box-shadow: 0 15px 40px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.nav-wrap { width: min(calc(100% - 48px), 1370px); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2; filter: drop-shadow(0 2px 10px rgba(0,0,0,.38)); }
.brand-mark { width: 39px; height: 39px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark__energy { fill: var(--green-500); stroke: none; }
.brand-type { display: grid; line-height: 1; }
.brand-type strong { font-family: Bahnschrift, sans-serif; font-size: 1.18rem; letter-spacing: .16em; }
.brand-type small { color: var(--green-400); font-size: .57rem; letter-spacing: .39em; margin-top: 5px; }
.primary-nav { height: 100%; display: flex; align-items: center; gap: 34px; font-size: .87rem; font-weight: 650; text-shadow: 0 1px 9px rgba(0,0,0,.28); }
.primary-nav > a, .nav-dropdown > button { position: relative; display: flex; align-items: center; gap: 6px; height: 100%; color: rgba(255,255,255,.82); background: transparent; border: 0; padding: 0; }
.primary-nav > a:not(.nav-contact)::after, .nav-dropdown > button::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 0; background: var(--green-500); transition: right .35s var(--ease); }
.primary-nav > a:hover, .primary-nav > a.is-active, .nav-dropdown > button:hover { color: var(--white); }
.primary-nav > a:hover::after, .primary-nav > a.is-active::after, .nav-dropdown:hover > button::after { right: 0; }
.nav-contact { height: 44px !important; padding: 0 18px !important; background: var(--green-500) !important; color: var(--navy-950) !important; border-radius: 2px; }
.nav-contact:hover { background: var(--green-400) !important; transform: translateY(-2px); }
.nav-dropdown { height: 100%; position: relative; }
.nav-submenu { position: absolute; top: calc(100% - 2px); right: -80px; width: 390px; padding: 12px; color: var(--ink); background: rgba(255,255,255,.98); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.nav-dropdown:hover .nav-submenu, .nav-dropdown.is-open .nav-submenu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-submenu a { display: flex; gap: 15px; padding: 16px; border-radius: 10px; }
.nav-submenu a:hover, .nav-submenu a.is-active { background: var(--paper); }
.nav-submenu .icon { color: #199a5e; margin-top: 2px; }
.nav-submenu span { display: grid; gap: 4px; }
.nav-submenu strong { font-size: .9rem; }
.nav-submenu small { color: var(--muted); font-weight: 400; font-size: .76rem; }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: 760px; height: 100svh; max-height: 940px; position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-950); }
.hero--inner { min-height: 640px; height: 82svh; max-height: 780px; }
.hero-media { position: absolute; inset: -6%; z-index: -3; background-size: cover; background-position: center; transform: scale(1.07) translate3d(0, var(--parallax-y, 0), 0); will-change: transform; }
.hero--home .hero-media { background-image: linear-gradient(90deg, rgba(4,17,31,.92) 0%, rgba(4,17,31,.63) 46%, rgba(4,17,31,.18) 82%), url('../images/hero-home.webp'); background-position: center; }
.hero--design .hero-media { background-image: linear-gradient(90deg, rgba(4,17,31,.92) 0%, rgba(4,17,31,.7) 47%, rgba(4,17,31,.16)), url('../images/hero-design.webp'); }
.hero--build .hero-media { background-image: linear-gradient(270deg, rgba(4,17,31,.95) 0%, rgba(4,17,31,.66) 46%, rgba(4,17,31,.1) 80%), url('../images/hero-build.webp'); }
.hero--about .hero-media { background-image: linear-gradient(90deg, rgba(4,17,31,.94) 0%, rgba(4,17,31,.7) 47%, rgba(4,17,31,.12)), url('../images/hero-about.webp'); }
.hero--contact .hero-media { background-image: linear-gradient(270deg, rgba(4,17,31,.96) 0%, rgba(4,17,31,.72) 49%, rgba(4,17,31,.18)), url('../images/hero-contact.webp'); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 82%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(4,17,31,.68)); z-index: -1; }
.hero-content { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 80px; }
.hero-content--right { justify-content: flex-end; }
.hero-content--right .hero-copy { margin-left: auto; }
.hero-copy { width: min(720px, 64%); }
.hero-copy h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); max-width: 860px; margin-bottom: 25px; letter-spacing: -.055em; }
.hero--inner .hero-copy h1 { font-size: clamp(2.55rem, 4.4vw, 4.25rem); }
.hero-copy > p { max-width: 645px; margin-bottom: 32px; color: rgba(255,255,255,.79); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-signal { width: 270px; aspect-ratio: 1; margin: 95px 20px 0 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-signal::before, .signal-orbit { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(98,230,154,.38); }
.hero-signal::before { inset: 15%; }
.signal-orbit { inset: 0; border-style: dashed; animation: spin 26s linear infinite; }
.signal-orbit::after { content: ""; position: absolute; width: 11px; height: 11px; top: 20px; left: 42px; background: var(--green-500); border-radius: 50%; box-shadow: 0 0 24px var(--green-500); }
.signal-label { color: rgba(255,255,255,.6); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-signal strong { font-family: Bahnschrift, sans-serif; font-size: 3.5rem; line-height: 1; margin: 10px 0 8px; }
.hero-signal sup { color: var(--green-400); font-size: .45em; }
.hero-signal small { max-width: 125px; color: rgba(255,255,255,.72); font-size: .7rem; line-height: 1.4; }
.hero-scroll { position: absolute; left: max(24px, calc((100vw - var(--max)) / 2)); bottom: 24px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll span { display: block; width: 1px; height: 44px; background: linear-gradient(transparent, var(--green-500)); }
.hero-tech-card { position: absolute; right: 1%; bottom: -90px; width: 260px; padding: 28px; color: var(--white); background: rgba(7,26,45,.75); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hero-tech-card--left { right: auto; left: 1%; }
.hero-tech-card .icon { color: var(--green-400); margin-bottom: 42px; }
.hero-tech-card span, .hero-tech-card small { display: block; color: rgba(255,255,255,.58); }
.hero-tech-card span { font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; }
.hero-tech-card strong { display: block; margin: 8px 0; font-size: 1.1rem; }
.hero-tech-card small { line-height: 1.5; }

/* Stats */
.stats-band { position: relative; z-index: 3; margin-top: -1px; padding: 0 0 32px; background: var(--navy-900); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 34px 30px 28px; position: relative; border-right: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.stat > .icon { color: var(--green-400); margin-bottom: 20px; }
.stat strong { display: block; font-family: Bahnschrift, sans-serif; font-size: clamp(2.3rem, 4vw, 3.45rem); line-height: 1; letter-spacing: -.04em; }
.stat sup { color: var(--green-400); font-size: .45em; }
.stat p { margin: 11px 0 0; color: rgba(255,255,255,.6); font-size: .77rem; }
.stats-note { color: rgba(255,255,255,.38); font-size: .67rem; padding-top: 18px; }

/* Home services */
.services-intro { background: linear-gradient(160deg, var(--white) 55%, var(--paper)); }
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { min-height: 510px; display: grid; grid-template-columns: 42% 58%; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 45px rgba(7,26,45,.07); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service-card:hover { transform: translateY(-9px); box-shadow: var(--shadow); }
.service-card__art { position: relative; padding: 38px; color: var(--white); background: var(--navy-850); overflow: hidden; display: flex; align-items: flex-end; }
.service-card--build .service-card__art { background: #0c3d3a; }
.service-card__art .icon { position: relative; z-index: 2; color: var(--green-400); }
.service-card__number { position: absolute; top: 28px; left: 30px; z-index: 2; color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .15em; }
.blueprint-lines, .build-lines { position: absolute; inset: 0; opacity: .32; transition: transform .8s var(--ease); }
.blueprint-lines { background-image: linear-gradient(rgba(45,169,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(45,169,255,.35) 1px, transparent 1px); background-size: 24px 24px; transform: rotate(-14deg) scale(1.5); }
.build-lines { background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(98,230,154,.25) 24px 25px); transform: scale(1.3); }
.service-card:hover .blueprint-lines, .service-card:hover .build-lines { transform: scale(1.7) rotate(-9deg); }
.service-card__body { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.service-card__body h3 { font-size: clamp(1.65rem, 2.3vw, 2.35rem); margin-bottom: 20px; }
.service-card__body p { margin-bottom: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #148150; font-size: .82rem; font-weight: 750; margin-top: auto; }

/* Expertise */
.expertise-section { overflow: hidden; color: var(--white); background: radial-gradient(circle at 12% 22%, #0d3a53, var(--navy-950) 48%); }
.expertise-orbit { position: absolute; width: 700px; height: 700px; left: -340px; top: 8%; border: 1px solid rgba(98,230,154,.15); border-radius: 50%; }
.expertise-orbit::before, .expertise-orbit::after { content: ""; position: absolute; border: 1px solid rgba(45,169,255,.11); border-radius: inherit; }
.expertise-orbit::before { inset: 100px; }
.expertise-orbit::after { inset: 210px; }
.expertise-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: start; }
.expertise-copy { position: sticky; top: 130px; padding-top: 46px; }
.expertise-copy h2 { font-size: clamp(2.2rem, 3.7vw, 3.7rem); }
.expertise-copy p { color: rgba(255,255,255,.66); margin-bottom: 32px; }
.project-stack { display: grid; gap: 15px; }
.project-card { position: relative; padding: 34px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.project-card--feature { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(49,211,124,.16), rgba(45,169,255,.08)); }
.project-card__index { color: var(--green-400); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { font-size: clamp(1.7rem, 3vw, 2.65rem); margin: 18px 0 15px; }
.project-card p { color: rgba(255,255,255,.62); }
.project-card strong { color: var(--white); }
.project-card dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; border-top: 1px solid rgba(255,255,255,.13); }
.project-card dl div { padding: 18px 12px 0 0; }
.project-card dt { color: rgba(255,255,255,.42); font-size: .63rem; }
.project-card dd { margin: 4px 0 0; font-family: Bahnschrift, sans-serif; font-size: 1.15rem; }

/* Video */
.video-section { background: var(--paper); }
.video-shell { min-height: 620px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background-image: var(--video-poster); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(10deg, rgba(4,17,31,.95), rgba(4,17,31,.2) 62%); transition: background .5s; }
.video-copy { position: relative; z-index: 2; max-width: 640px; padding: 58px; }
.video-copy h3 { font-size: clamp(2rem, 4vw, 3.5rem); }
.video-play { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; color: var(--white); background: transparent; font-weight: 700; }
.icon--play { width: 56px; height: 56px; color: var(--green-400); transition: transform .35s var(--ease); }
.video-play:hover .icon { transform: scale(1.1); }
.video-copy small { display: block; margin-top: 16px; color: rgba(255,255,255,.52); }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }

/* Process */
.process-section { overflow: hidden; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-list li { position: relative; padding: 32px 28px 20px 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 28px; }
.process-list li > span { color: #168d57; font-size: .68rem; letter-spacing: .14em; }
.process-list .icon { width: 36px; height: 36px; color: #15945a; margin: 58px 0 38px; }
.process-list li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.process-list p { font-size: .87rem; }

.cta-panel { margin-bottom: clamp(80px, 9vw, 130px); padding: 54px 58px; display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 45px; align-items: center; color: var(--white); background: linear-gradient(115deg, var(--navy-900), #0b3d4a); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; width: 330px; height: 330px; right: -180px; top: -200px; border: 1px solid rgba(98,230,154,.32); border-radius: 50%; }
.cta-panel h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin: 0; }
.cta-panel p { color: rgba(255,255,255,.63); margin: 0; }
.cta-panel .button { white-space: nowrap; }

/* Generic inner page content */
.intro-panel { background: var(--white); }
.intro-panel__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; }
.deliverables-section { background: var(--paper); }
.feature-grid { display: grid; gap: 18px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 300px; padding: 32px; position: relative; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(49,211,124,.65); box-shadow: var(--shadow); }
.feature-card > .icon { width: 40px; height: 40px; color: #139258; margin-bottom: 56px; }
.feature-card > span { position: absolute; top: 32px; right: 32px; color: #9aabb6; font-size: .66rem; letter-spacing: .13em; }
.feature-card p { font-size: .9rem; }
.engineering-flow { color: var(--white); background: var(--navy-900); overflow: hidden; }
.engineering-flow::after { content: ""; position: absolute; width: 500px; height: 500px; right: -280px; top: -200px; border: 1px dashed rgba(98,230,154,.25); border-radius: 50%; }
.horizontal-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.horizontal-flow::before { content: ""; position: absolute; left: 2%; right: 2%; top: 18px; height: 1px; background: linear-gradient(90deg, var(--green-500), var(--blue-500)); }
.horizontal-flow li { position: relative; padding: 55px 38px 0 0; }
.horizontal-flow li::before { content: ""; position: absolute; top: 13px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 7px var(--navy-900); }
.horizontal-flow b { color: var(--green-400); font-size: .67rem; letter-spacing: .13em; }
.horizontal-flow p { color: rgba(255,255,255,.55); font-size: .86rem; }
.outcomes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.outcomes-grid .section-heading { margin-bottom: 0; }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.check-list .icon { color: #159258; }
.check-list span { display: grid; color: var(--muted); font-size: .9rem; }
.check-list strong { color: var(--ink); }

/* Build */
.site-capabilities { background: var(--paper); }
.capability-list { border-top: 1px solid #cddbe3; }
.capability { display: grid; grid-template-columns: 70px 70px 1fr; gap: 25px; align-items: center; padding: 30px 10px; border-bottom: 1px solid #cddbe3; transition: padding .35s var(--ease), background .35s; }
.capability:hover { padding-left: 25px; padding-right: 25px; background: var(--white); }
.capability > span { color: #7e909e; font-size: .68rem; letter-spacing: .13em; }
.capability > .icon { width: 38px; height: 38px; color: #138e55; }
.capability div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.capability h3, .capability p { margin: 0; }
.capability p { font-size: .9rem; }
.field-proof { padding: 100px 0; color: var(--white); background: linear-gradient(120deg, #0b3e3b, var(--navy-900)); }
.field-proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.field-proof__numbers > strong { display: block; font-family: Bahnschrift, sans-serif; font-size: clamp(5rem, 10vw, 9rem); line-height: .85; letter-spacing: -.06em; }
.field-proof__numbers > strong small { color: var(--green-400); font-size: .18em; letter-spacing: 0; }
.field-proof__numbers p, .field-proof__quote span { color: rgba(255,255,255,.6); }
.field-proof__quote { padding-left: 45px; border-left: 1px solid rgba(255,255,255,.18); }
.field-proof__quote blockquote { margin: 0 0 25px; font-family: Bahnschrift, sans-serif; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.25; letter-spacing: -.025em; }
.field-proof__quote span { font-size: .72rem; }

/* About */
.company-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.founder-section { color: var(--white); background: var(--navy-950); }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.founder-visual { min-height: 540px; position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 50%, rgba(45,169,255,.14), transparent 55%); }
.founder-monogram { position: relative; z-index: 2; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); font-family: Bahnschrift, sans-serif; font-size: clamp(6rem, 13vw, 11rem); letter-spacing: -.1em; }
.founder-arc, .founder-arc::before { position: absolute; border-radius: 50%; border: 1px solid rgba(49,211,124,.32); }
.founder-arc { inset: 9%; animation: spin 34s linear infinite; }
.founder-arc::before { content: ""; inset: 18%; border-color: rgba(45,169,255,.24); border-style: dashed; }
.founder-data { position: absolute; right: 0; bottom: 14%; z-index: 3; padding: 18px 22px; background: var(--green-500); color: var(--navy-950); box-shadow: var(--shadow); }
.founder-data strong { display: block; font-family: Bahnschrift, sans-serif; font-size: 2.2rem; line-height: 1; }
.founder-data sup { font-size: .45em; }
.founder-data span { display: block; max-width: 125px; font-size: .67rem; line-height: 1.4; }
.founder-copy p { color: rgba(255,255,255,.64); }
.founder-copy strong { color: var(--white); }
.history-section { background: var(--paper); }
.history-line { list-style: none; padding: 0; margin: 0; position: relative; }
.history-line::before { content: ""; position: absolute; left: 145px; top: 0; bottom: 0; width: 1px; background: #c7d5dd; }
.history-line li { display: grid; grid-template-columns: 120px 1fr; gap: 56px; padding: 0 0 42px; position: relative; }
.history-line li::before { content: ""; position: absolute; left: 140px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 6px var(--paper); }
.history-line time { color: #188451; font-family: Bahnschrift, sans-serif; font-size: 1.05rem; text-align: right; }
.history-line h3 { margin-bottom: 8px; }
.history-line p { max-width: 650px; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.values-grid article { min-height: 280px; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.values-grid .icon { width: 42px; height: 42px; color: #139259; margin-bottom: 65px; }
.values-grid p { font-size: .88rem; }

/* Contact */
.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy > p { font-size: 1.03rem; }
.contact-details { margin-top: 45px; border-top: 1px solid #ccdae2; }
.contact-details > a, .contact-details > span { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid #ccdae2; }
.contact-details .icon { color: #148a54; margin-top: 4px; }
.contact-details span span, .contact-details a span { display: grid; }
.contact-details small { color: #758693; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { font-size: .88rem; font-weight: 600; line-height: 1.5; }
.response-note { display: flex; gap: 15px; margin-top: 28px; padding: 18px; color: var(--white); background: var(--navy-900); }
.response-note .icon { color: var(--green-400); }
.response-note span { display: grid; }
.response-note small { color: rgba(255,255,255,.55); }
.contact-form-wrap { padding: clamp(30px, 5vw, 58px); background: var(--white); box-shadow: var(--shadow); }
.form-alert { display: flex; gap: 15px; padding: 18px; margin-bottom: 25px; border: 1px solid; }
.form-alert .icon { margin-top: 4px; }
.form-alert strong, .form-alert p { display: block; }
.form-alert p { margin: 2px 0 0; font-size: .85rem; }
.form-alert--success { color: #0f7042; background: #e8f9ef; border-color: #a6e6c1; }
.form-alert--error { color: #9b3d34; background: #fff0ee; border-color: #f3bbb5; }
.form-heading { display: flex; justify-content: space-between; padding-bottom: 20px; margin-bottom: 27px; border-bottom: 1px solid var(--line); font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.form-heading strong { color: #168953; }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label:not(.checkbox):not(.honeypot) { display: grid; gap: 7px; color: #46596a; font-size: .75rem; font-weight: 700; letter-spacing: .035em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #b9c8d1; border-radius: 0; padding: 12px 2px; color: var(--ink); background: transparent; outline: none; transition: border-color .25s, box-shadow .25s; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #168f57; box-shadow: 0 1px #168f57; }
.contact-form [aria-invalid="true"] { border-color: #c6473b; }
.contact-form label > small[data-error] { color: #b33b31; font-weight: 500; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.checkbox input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--green-500); flex: 0 0 auto; }
.checkbox a { color: #117f4c; text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button--submit { justify-self: start; border: 0; }
.form-privacy { margin: -8px 0 0; font-size: .68rem; }

/* Legal pages */
.tech-hero { min-height: 500px; padding: 150px 0 80px; position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.tech-hero .container { position: relative; z-index: 2; }
.tech-hero h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); margin-bottom: 18px; }
.tech-hero p { color: rgba(255,255,255,.65); font-size: 1.05rem; }
.tech-hero time { display: inline-block; margin-top: 35px; color: rgba(255,255,255,.45); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.tech-hero__pattern { position: absolute; inset: 0; }
.tech-hero--privacy { background: radial-gradient(circle at 80% 30%, #0e4f4b, var(--navy-950) 50%); }
.tech-hero--privacy .tech-hero__pattern { background-image: radial-gradient(circle at 75% 50%, transparent 0 130px, rgba(98,230,154,.2) 131px 132px, transparent 133px 190px, rgba(45,169,255,.15) 191px 192px, transparent 193px), linear-gradient(90deg, transparent 74%, rgba(255,255,255,.06) 74% 74.1%, transparent 74.1%); }
.tech-hero--cookies { background: linear-gradient(125deg, var(--navy-950), #0a3252); }
.tech-hero--cookies .tech-hero__pattern { opacity: .8; background-image: radial-gradient(circle at 78% 45%, rgba(49,211,124,.7) 0 5px, transparent 6px), radial-gradient(circle at 83% 35%, rgba(45,169,255,.7) 0 4px, transparent 5px), radial-gradient(circle at 88% 54%, rgba(98,230,154,.45) 0 7px, transparent 8px), linear-gradient(135deg, transparent 70%, rgba(255,255,255,.08) 70% 70.2%, transparent 70.2%); background-size: 120px 120px, 165px 165px, 220px 220px, auto; }
.tech-hero--terms { background: linear-gradient(110deg, var(--navy-950) 30%, #102d42); }
.tech-hero--terms .tech-hero__pattern { right: -10%; left: auto; width: 60%; opacity: .5; background: repeating-linear-gradient(90deg, transparent 0 59px, rgba(49,211,124,.18) 60px 61px), repeating-linear-gradient(0deg, transparent 0 59px, rgba(45,169,255,.16) 60px 61px); transform: perspective(600px) rotateY(-25deg) rotateZ(-8deg) scale(1.2); }
.legal-layout { display: grid; grid-template-columns: 245px 1fr; gap: 85px; padding-top: 90px; padding-bottom: 120px; align-items: start; }
.legal-layout aside { position: sticky; top: 110px; display: grid; gap: 8px; padding: 25px; background: var(--paper); border-left: 3px solid var(--green-500); }
.legal-layout aside strong { margin-bottom: 8px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-layout aside a { color: var(--muted); font-size: .78rem; padding: 4px 0; }
.legal-layout aside a:hover { color: #138c55; }
.legal-content { max-width: 780px; }
.legal-content section { position: relative; padding-bottom: 45px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.legal-content section > span { color: #148a54; font-size: .68rem; letter-spacing: .12em; }
.legal-content h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 7px 0 20px; }
.legal-content p { font-size: .95rem; }
.legal-content a { color: #117e4b; text-decoration: underline; }
.legal-content code { padding: 2px 5px; background: var(--paper); }
.legal-table { display: grid; gap: 14px; margin-bottom: 20px; }
.legal-table > div { padding: 22px; border: 1px solid var(--line); }
.legal-table strong, .legal-table span { display: block; }
.legal-table span { color: #158653; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-table p { margin: 10px 0 0; }

/* Footer */
.site-footer { position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.footer-glow { position: absolute; width: 600px; height: 600px; right: -350px; bottom: -380px; border: 1px solid rgba(49,211,124,.16); border-radius: 50%; box-shadow: 0 0 140px rgba(45,169,255,.07); }
.footer-main { padding-top: 82px; padding-bottom: 65px; display: grid; grid-template-columns: 1.6fr .7fr .9fr 1.2fr; gap: 50px; }
.brand--footer { margin-bottom: 25px; }
.footer-brand p { max-width: 330px; color: rgba(255,255,255,.55); font-size: .87rem; }
.site-footer h2 { margin: 7px 0 24px; color: rgba(255,255,255,.45); font-family: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.footer-link { display: flex; align-items: center; gap: 9px; padding: 6px 0; color: rgba(255,255,255,.72); font-size: .81rem; }
.footer-link:hover { color: var(--white); }
.footer-link--accent { color: var(--green-400); margin-top: 20px; }
.footer-contact { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,.67); font-size: .77rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green-400); margin-top: 2px; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.38); font-size: .67rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { color: rgba(255,255,255,.55); font-size: .68rem; }
.footer-bottom a:hover { color: var(--green-400); }
.cookie-notice { position: fixed; z-index: 1200; left: 24px; bottom: 24px; width: min(540px, calc(100% - 48px)); padding: 17px 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; color: var(--white); background: rgba(7,26,45,.97); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 18px 60px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
.cookie-notice[hidden] { display: none; }
.cookie-notice strong { font-size: .82rem; }
.cookie-notice p { margin: 3px 0 0; color: rgba(255,255,255,.57); font-size: .68rem; line-height: 1.45; }
.cookie-notice a { color: var(--green-400); font-size: .7rem; }
.cookie-notice button { padding: 8px 11px; border: 0; background: var(--green-500); color: var(--navy-950); font-size: .7rem; font-weight: 700; }

/* Motion */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .primary-nav { gap: 20px; }
    .hero-signal { width: 220px; margin-right: 0; }
    .service-card { grid-template-columns: 35% 65%; }
    .service-card__body { padding: 32px; }
    .expertise-grid, .founder-grid { gap: 50px; }
    .cta-panel { grid-template-columns: 1fr auto; }
    .cta-panel p { grid-column: 1 / 2; }
    .cta-panel .button { grid-row: 1 / 3; grid-column: 2; }
    .footer-main { grid-template-columns: 1.3fr .7fr .8fr; }
    .footer-main > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .footer-main > div:last-child h2 { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
    .container, .nav-wrap { width: min(calc(100% - 34px), var(--max)); }
    .site-header, .site-header.is-scrolled { height: 70px; }
    .menu-toggle { position: relative; z-index: 2; width: 45px; height: 40px; display: grid; place-content: center; gap: 5px; border: 0; color: var(--white); background: transparent; }
    .menu-toggle span { width: 24px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
    .menu-toggle b { position: absolute; left: -9999px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 0; padding: 110px 28px 35px; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--navy-950); opacity: 0; transform: translateX(100%); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); }
    .primary-nav.is-open { opacity: 1; transform: translateX(0); pointer-events: auto; }
    .primary-nav > a, .nav-dropdown > button { width: 100%; min-height: 62px; height: auto; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.08rem; }
    .primary-nav > a::after, .nav-dropdown > button::after { display: none; }
    .nav-contact { margin-top: 22px; justify-content: center !important; border: 0 !important; }
    .nav-dropdown { width: 100%; height: auto; }
    .nav-submenu { position: static; width: 100%; padding: 8px 0; display: none; color: var(--white); background: transparent; border-radius: 0; opacity: 1; transform: none; box-shadow: none; pointer-events: auto; }
    .nav-dropdown.is-open .nav-submenu { display: block; }
    .nav-submenu a { padding: 13px 5px; }
    .nav-submenu a:hover, .nav-submenu a.is-active { background: rgba(255,255,255,.06); }
    .nav-submenu small { color: rgba(255,255,255,.45); }
    .split-heading, .intro-panel__grid, .company-intro__grid, .outcomes-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
    .split-heading > p { max-width: 650px; }
    .hero { min-height: 700px; height: 90svh; }
    .hero--inner { min-height: 630px; height: 76svh; }
    .hero-content { padding-top: 70px; }
    .hero-copy { width: min(100%, 690px); }
    .hero-signal, .hero-tech-card { display: none; }
    .hero--build .hero-media, .hero--contact .hero-media { background-position: center; }
    .hero--build .hero-media { background-image: linear-gradient(90deg, rgba(4,17,31,.9), rgba(4,17,31,.52)), url('../images/hero-build.webp'); }
    .hero--contact .hero-media { background-image: linear-gradient(90deg, rgba(4,17,31,.93), rgba(4,17,31,.58)), url('../images/hero-contact.webp'); }
    .hero-content--right { justify-content: flex-start; }
    .hero-content--right .hero-copy { margin-left: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 1px solid rgba(255,255,255,.12); }
    .service-cards { grid-template-columns: 1fr; }
    .service-card { min-height: 400px; }
    .expertise-grid { grid-template-columns: 1fr; gap: 50px; }
    .expertise-copy, .contact-copy { position: static; }
    .process-list, .horizontal-flow { grid-template-columns: repeat(2, 1fr); }
    .horizontal-flow::before { display: none; }
    .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .field-proof__grid { grid-template-columns: 1fr; gap: 50px; }
    .founder-grid { grid-template-columns: 1fr; }
    .founder-visual { min-height: 450px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { gap: 60px; }
    .legal-layout { grid-template-columns: 1fr; gap: 40px; }
    .legal-layout aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
    .legal-layout aside strong { width: 100%; }
    .footer-main { grid-template-columns: 1.3fr .7fr; }
    .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .container, .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
    .brand-mark { width: 35px; height: 35px; }
    .brand-type strong { font-size: 1rem; }
    .section { padding: 72px 0; }
    .section-heading { margin-bottom: 36px; }
    h2 { font-size: 2rem; }
    .hero, .hero--inner { min-height: 660px; height: 92svh; max-height: 780px; }
    .hero-copy h1, .hero--inner .hero-copy h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
    .hero-copy > p { font-size: .96rem; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .hero-scroll { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 25px 19px; }
    .stat strong { font-size: 2.35rem; }
    .stat p { line-height: 1.4; }
    .stats-note { line-height: 1.4; }
    .service-card { min-height: 0; display: block; }
    .service-card__art { min-height: 190px; }
    .service-card__body { padding: 28px; }
    .project-card dl { grid-template-columns: repeat(2, 1fr); }
    .video-shell { min-height: 500px; }
    .video-copy { padding: 28px; }
    .process-list, .horizontal-flow, .feature-grid--3, .values-grid { grid-template-columns: 1fr; }
    .process-list li, .process-list li:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .process-list .icon { margin: 26px 0 20px; }
    .cta-panel { width: calc(100% - 28px); padding: 32px 27px; grid-template-columns: 1fr; gap: 20px; }
    .cta-panel p, .cta-panel .button { grid-column: 1; grid-row: auto; }
    .feature-card { min-height: 270px; }
    .horizontal-flow li { padding: 40px 0 10px; }
    .capability { grid-template-columns: 45px 45px 1fr; gap: 12px; align-items: start; }
    .capability div { grid-template-columns: 1fr; gap: 7px; }
    .field-proof { padding: 75px 0; }
    .field-proof__quote { padding-left: 25px; }
    .founder-visual { min-height: 350px; }
    .history-line::before { left: 6px; }
    .history-line li { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
    .history-line li::before { left: 1px; }
    .history-line time { text-align: left; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 27px 20px; }
    .tech-hero { min-height: 440px; padding-top: 130px; }
    .legal-layout { padding-top: 60px; padding-bottom: 80px; }
    .legal-layout aside { display: none; }
    .footer-main { grid-template-columns: 1fr 1fr; padding-top: 65px; gap: 40px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-main > div:last-child { display: block; }
    .footer-bottom { padding: 25px 0; align-items: flex-start; flex-direction: column; }
    .cookie-notice { left: 14px; bottom: 14px; width: calc(100% - 28px); grid-template-columns: 1fr auto; }
    .cookie-notice > div { grid-column: 1 / -1; }
}

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