:root {
  color-scheme: light dark;
  --ink: #15352d;
  --muted: #557069;
  --page: #f4faf6;
  --surface: #ffffff;
  --surface-2: #e5f3ea;
  --line: #c7ddd2;
  --brand: #147a55;
  --brand-strong: #0d6244;
  --accent: #168b9b;
  --sun: #e7a72c;
  --header: rgba(244, 250, 246, .88);
  --shadow: 0 18px 50px rgba(20, 73, 55, .11);
  --radius: 18px;
  --max: 1180px;
}

[data-theme="dark"] {
  --ink: #eef2f0;
  --muted: #a5afab;
  --page: #0c1110;
  --surface: #121816;
  --surface-2: #19211e;
  --line: #303936;
  --brand: #55bd85;
  --brand-strong: #75cf9f;
  --accent: #61aaa6;
  --sun: #f3bd4f;
  --header: rgba(12, 17, 16, .9);
  --shadow: 0 18px 50px rgba(0, 0, 0, .24);
}
[data-theme="dark"] .sectors-section { background: #111715; }
[data-theme="dark"] .sectors-grid article { background: #111715; }
[data-theme="dark"] .local-statement { background: #171f1c; }
[data-theme="dark"] .site-footer { background: #080d0c; }
[data-theme="dark"] .site-footer::before { opacity: .45; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--surface); border-radius: 8px; }
.skip:focus { top: 1rem; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px); background: var(--header); border-bottom: 1px solid var(--line);
}
.site-header .container { width: min(calc(100% - 2.5rem), 1320px); }
.nav { min-height: 82px; display: flex; align-items: center; gap: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-width: max-content; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { display: flex; align-items: center; gap: .38rem; color: var(--ink); font-size: 1.03rem; font-weight: 800; letter-spacing: .055em; }
.brand-copy b { display: inline-grid; place-items: center; min-width: 35px; height: 32px; padding: 0 .38rem; border-radius: 8px; background: var(--ink); color: var(--page); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.brand-copy small { margin-top: .35rem; color: var(--muted); font-size: .51rem; font-weight: 600; letter-spacing: .012em; white-space: nowrap; }
.brand-copy small i { color: var(--brand); font-style: normal; padding-inline: .15rem; }
.nav-links { display: flex; gap: 1rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 650; text-decoration: none; font-size: .875rem; white-space: nowrap; }
.nav-links a:hover { color: var(--brand); }
.nav-links a[aria-current="location"] { color: var(--brand); }
.nav-links a[aria-current="location"]::after { content: ""; display: block; height: 2px; margin-top: .22rem; border-radius: 2px; background: currentColor; }
.controls { display: flex; align-items: center; gap: .5rem; }
.controls { padding: .25rem; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); }
.control {
  border: 0; color: var(--ink); background: transparent; border-radius: 8px;
  min-height: 38px; padding: .4rem .7rem; font: inherit; font-weight: 700; cursor: pointer;
}
.control:hover { background: var(--surface-2); }
.theme-control {
  position: relative; width: 40px; padding: 0; overflow: hidden;
  display: inline-grid; place-items: center;
  background: var(--surface-2);
  box-shadow: none;
}
.theme-control svg { position: absolute; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease, transform .25s ease; }
.theme-control .icon-auto, .theme-control .icon-light, .theme-control .icon-dark { opacity: 0; transform: scale(.55) rotate(-20deg); }
[data-theme-mode="auto"] .theme-control .icon-auto,
[data-theme-mode="light"] .theme-control .icon-light,
[data-theme-mode="dark"] .theme-control .icon-dark { opacity: 1; transform: scale(1) rotate(0); }
[data-theme-mode="light"] .theme-control { color: #8b6508; border-color: color-mix(in srgb, var(--sun) 65%, var(--line)); }
[data-theme-mode="dark"] .theme-control { color: var(--accent); }
.theme-control::after { content: ""; position: absolute; inset: auto 7px 3px; height: 2px; border-radius: 3px; background: var(--brand); opacity: .65; }

.hero { position: relative; min-height: 0; height: clamp(500px, calc(100svh - 156px), 590px); padding: 2.5rem 0 2.25rem; overflow: hidden; color: #f3fbf6; background: #06120e url("hero-aguilarcr.webp") center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,15,11,.95) 0%, rgba(4,22,16,.84) 43%, rgba(4,20,15,.23) 76%, rgba(4,20,15,.08) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; z-index: -1; background: linear-gradient(transparent, rgba(2,12,9,.68)); }
.hero-grid { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.hero-copy { align-self: center; max-width: 800px; transform: translateY(-.35rem); }
.eyebrow { margin: 0 0 1rem; color: var(--brand); font-size: .79rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #78d8a5; }
h1 { margin: 0; max-width: 820px; font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: .99; letter-spacing: -.046em; font-weight: 700; text-wrap: balance; }
.hero-lead { max-width: 700px; margin: 1.3rem 0 0; color: rgba(239,249,243,.78); font-size: clamp(1rem, 1.65vw, 1.17rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.55rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.15rem; border-radius: 10px; text-decoration: none; font-weight: 750; }
.button-primary { background: #4bc983; color: #06150f; box-shadow: 0 10px 28px rgba(32,171,102,.22); }
.button-primary:hover { background: #6cdda0; }
.button-secondary { border: 1px solid rgba(255,255,255,.32); background: rgba(8,28,21,.42); color: #f4fbf7; backdrop-filter: blur(12px); }
.hero-panel { position: relative; padding: 1.55rem; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(5,24,17,.38); box-shadow: 0 18px 48px rgba(0,0,0,.22); backdrop-filter: blur(8px); }
.panel-kicker { display: block; margin-bottom: .8rem; color: #78d8a5; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-panel strong { display: block; font-size: 1.28rem; line-height: 1.28; }
.hero-panel p { margin: .7rem 0 0; color: rgba(239,249,243,.7); font-size: .94rem; line-height: 1.55; }
.capability-strip { background: #081b14; color: rgba(239,249,243,.75); border-top: 1px solid rgba(255,255,255,.1); }
.capability-strip .container { min-height: 74px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 1rem; }
.capability-strip span { position: relative; padding-left: 1rem; font-size: .77rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.capability-strip span::before { content: ""; position: absolute; left: 0; top: .42em; width: 5px; height: 5px; border-radius: 50%; background: #4bc983; box-shadow: 0 0 14px #4bc983; }

section { padding: clamp(3.7rem, 6.3vw, 5.15rem) 0; scroll-margin-top: 82px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.035em; }
.section-head p { margin: .35rem 0 0; color: var(--muted); font-size: 1.08rem; max-width: 700px; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service { padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 58%, var(--line)); box-shadow: var(--shadow); }
.service-num { color: var(--brand); font: 800 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.service h3 { margin: 1rem 0 .45rem; font-size: 1.3rem; line-height: 1.25; }
.service p { margin: 0; color: var(--muted); }
.service ul { margin: .8rem 0 0; padding-left: 1.15rem; color: var(--muted); columns: 2; column-gap: 2rem; }
.service li { margin-bottom: .3rem; break-inside: avoid; }
.custom-need { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: 1rem; padding: clamp(1.5rem, 4vw, 2.35rem); border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line)); border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 8%, var(--page)), var(--page)); }
.custom-need span { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.custom-need h3 { margin: .45rem 0 .55rem; font-size: clamp(1.35rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.custom-need p { max-width: 760px; margin: 0; color: var(--muted); }
.custom-need > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1rem; border: 1px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 760; text-decoration: none; white-space: nowrap; }
.custom-need > a:hover { color: #f4fbf7; background: var(--brand); }
.w2-section { padding: .65rem 0 clamp(4rem, 7vw, 5.5rem); background: var(--surface); }
.solutions-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); padding-top: clamp(3rem, 6vw, 5rem); }
.capability-label { margin: 0 0 .75rem; }
.capability-intro { max-width: 760px; margin: 0 0 1.2rem; color: var(--muted); }
.in-house-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.w2-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid transparent; border-radius: 22px; color: #edf8f2; background: #0d2a20; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.w2-mark { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; color: #111; background: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; }
[data-theme="dark"] .w2-mark { color: #fff; background: #050505; border-color: rgba(255,255,255,.2); }
.w2-copy h2 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; }
.w2-copy p:last-child { max-width: 760px; margin: .8rem 0 0; color: rgba(237,248,242,.7); }
.w2-capabilities { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .45rem; }
.w2-capabilities span { padding: .52rem .72rem; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: rgba(237,248,242,.76); font-size: .76rem; font-weight: 700; white-space: nowrap; }

.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric { padding: 1.5rem; border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease; }
.metric:hover { transform: translateY(-6px); box-shadow: 0 18px 38px color-mix(in srgb, var(--ink) 12%, transparent); }
.reveal-card { opacity: 0; transform: translateY(18px); }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }
.metric strong { display: block; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.metric span { display: block; margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.proof-note { margin: 2rem 0 0; color: var(--muted); max-width: 850px; }
.case-studies { padding: clamp(4rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); background: var(--page); }
.case-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem 2rem; margin-bottom: 2rem; }
.case-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.case-heading h2 { margin: 0; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.04em; }
.case-heading > p:last-child { max-width: 640px; margin: .2rem 0 0; color: var(--muted); font-size: 1.02rem; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1rem; }
.case-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.case-primary { color: #edf8f2; background: #0d2a20; border-color: rgba(120,216,165,.2); }
.case-context { color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.case-primary .case-context { color: #78d8a5; }
.case-card h3 { margin: .8rem 0 .65rem; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; }
.case-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.case-primary p { color: rgba(237,248,242,.72); }
.case-card > strong { margin-top: 1.25rem; color: rgba(237,248,242,.9); font-size: .83rem; }
.case-tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.35rem; }
.case-tech span { padding: .4rem .58rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; font-weight: 750; }
.case-primary .case-tech span { color: rgba(237,248,242,.78); border-color: rgba(255,255,255,.15); }

.sectors-section { color: #edf8f2; background: #081b14; }
.sectors-section .section-head p { color: rgba(237,248,242,.68); }
.sectors-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid rgba(255,255,255,.16); }
.sectors-grid article { position: relative; min-height: 230px; padding: 2rem 1.35rem 1.55rem 0; border-right: 1px solid rgba(255,255,255,.12); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.sectors-grid article:not(:first-child) { padding-left: 1.35rem; }
.sectors-grid article:last-child { border-right: 0; }
.sectors-grid span, .project-type { color: #78d8a5; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sectors-grid h3 { margin: 2rem 0 .55rem; font-size: 1.08rem; line-height: 1.3; }
.sectors-grid p { margin: 0; color: rgba(237,248,242,.62); font-size: .88rem; line-height: 1.58; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: project-stage; }
.project-grid article { position: relative; counter-increment: project-stage; display: flex; flex-direction: column; min-height: 285px; padding: 2.2rem 1.65rem 1.65rem; border: 1px solid var(--line); border-top: 3px solid color-mix(in srgb, var(--brand) 76%, var(--line)); border-radius: var(--radius); background: var(--page); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.project-grid article::before { content: "0" counter(project-stage); position: absolute; top: -.82rem; right: 1.2rem; display: grid; place-items: center; min-width: 2.1rem; height: 1.55rem; padding-inline: .35rem; border-radius: 999px; color: var(--page); background: var(--brand); font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.project-grid h3 { margin: 1.2rem 0 .75rem; font-size: 1.28rem; line-height: 1.3; }
.project-grid p { margin: 0; color: var(--muted); }
.project-grid strong { margin-top: auto; padding-top: 1.4rem; color: var(--brand); font-size: .9rem; letter-spacing: .04em; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: steps; }
.step { counter-increment: steps; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.step::before { content: "0" counter(steps); color: var(--accent); font: 800 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.step h3 { margin: .9rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); }

.contact-card { width: min(calc(100% - 2.5rem), 1040px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; margin-inline: auto; padding: clamp(2rem, 5vw, 3.6rem); border-radius: 24px; background: var(--ink); color: var(--page); }
.contact-card h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.04; letter-spacing: -.045em; }
.contact-card p { max-width: 700px; margin: 1.2rem 0 0; opacity: .8; }
.contact-editorial { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--surface); }
.contact-editorial-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.contact-editorial h2 { max-width: 680px; margin: 0; color: var(--ink); font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.03; letter-spacing: -.045em; }
.contact-editorial-actions { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.contact-editorial-actions > p { max-width: 580px; margin: 0 0 2rem; color: var(--muted); line-height: 1.7; }
.contact-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.15rem; border-radius: 10px; color: #f4fbf7; background: var(--brand); font-weight: 760; text-decoration: none; box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 24%, transparent); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.contact-cta:hover { background: var(--brand-strong); transform: translateY(-2px); }
.contact-email { display: block; width: fit-content; margin-top: 1.5rem; color: var(--ink); font-size: clamp(1.05rem, 1.55vw, 1.3rem); font-weight: 760; text-decoration: none; border-bottom: 2px solid var(--brand); }
.contact-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; margin-top: 2rem; color: var(--muted); font-size: .86rem; }
.contact-meta a { color: inherit; text-decoration: none; }
.contact-meta a:hover, .contact-email:hover { color: var(--brand); }
.assistant-widget { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 19; }
.assistant-launch { min-height: 52px; display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .9rem .55rem .7rem; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: 999px; color: #f4fbf7; background: #0d2a20; box-shadow: 0 14px 36px rgba(4,31,21,.24); font: inherit; font-size: .76rem; font-weight: 760; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.assistant-launch:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(4,31,21,.3); }
.assistant-launch svg { width: 26px; height: 26px; fill: none; stroke: #78d8a5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assistant-panel { position: absolute; right: 0; bottom: calc(100% + .8rem); width: min(340px, calc(100vw - 2rem)); padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 22px 60px rgba(4,31,21,.24); backdrop-filter: blur(18px); }
.assistant-panel[hidden] { display: none; }
.assistant-panel h2 { margin: .65rem 2rem .45rem 0; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.025em; }
.assistant-panel p { margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.assistant-panel > a { display: inline-flex; min-height: 42px; align-items: center; padding: .6rem .85rem; border-radius: 9px; color: #f4fbf7; background: var(--brand); font-size: .84rem; font-weight: 760; text-decoration: none; }
.assistant-status { color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.assistant-close { position: absolute; top: .75rem; right: .75rem; width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-2); font: 400 1.35rem/1 sans-serif; cursor: pointer; }
.back-to-top { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(5.5rem, 8vw, 6.2rem); z-index: 18; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 10px 28px rgba(9, 47, 34, .16); backdrop-filter: blur(12px); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, color .2s ease, border-color .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.contact-links { display: grid; gap: .75rem; }
.contact-links a { padding: .85rem 1rem; border: 1px solid currentColor; border-radius: 10px; text-decoration: none; font-weight: 750; overflow-wrap: anywhere; }
.contact-links a:hover { background: var(--page); color: var(--ink); }
.technology-ecosystem { padding: clamp(4.5rem, 8vw, 6.5rem) 0; background: var(--surface); border-top: 1px solid var(--line); }
.technology-heading { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.technology-heading .eyebrow { margin-bottom: 1rem; }
.technology-heading h2 { margin: 0; max-width: 520px; font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; }
.technology-heading > p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 650px; }
.brand-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2.5rem; }
.brand-tile { min-height: 104px; display: flex; align-items: center; justify-content: center; padding: 1rem; color: #15352d; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.brand-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 52%, var(--line)); box-shadow: var(--shadow); }
.brand-tile img { width: auto; height: 34px; max-width: 108px; object-fit: contain; }
.brand-tile img.brand-logo-wide { width: min(142px, 92%); height: 34px; max-width: 142px; }
.brand-tile img.brand-logo-xl { width: min(164px, 94%); height: 46px; max-width: 164px; }
.technology-note { margin: 1.2rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.leadership-section { background: var(--page); }
.leadership-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1rem; }
.principal-card, .credentials-copy { min-height: 100%; padding: clamp(1.7rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.principal-card { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.principal-mark { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 18px; background: var(--ink); color: var(--page); font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; }
.principal-card h2, .credentials-copy h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.03em; }
.principal-card strong { display: block; margin-top: .55rem; color: var(--brand); }
.principal-card p:last-child, .credentials-copy > p:last-of-type { margin: 1rem 0 0; color: var(--muted); line-height: 1.65; }
.credentials-copy ul { margin: 1.2rem 0 0; padding-left: 1.2rem; color: var(--muted); columns: 2; column-gap: 2rem; }
.credentials-copy li { margin-bottom: .5rem; break-inside: avoid; }
.profile-main { padding: clamp(4rem, 8vw, 7rem) 0; }
.profile-intro { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 1050px; }
.profile-photo-frame { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 64% 26%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 32%), linear-gradient(145deg, var(--surface), var(--page)); box-shadow: var(--shadow); }
.profile-photo-frame .principal-mark { width: 96px; height: 96px; border-radius: 22px; }
.profile-intro h1 { color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.25rem); }
.profile-role { display: block; margin-top: .8rem; color: var(--brand); font-size: 1.05rem; }
.profile-lead { max-width: 780px; margin: 1.3rem 0 0; color: var(--muted); font-size: 1.08rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin-top: .8rem; }
.profile-links a { color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.profile-links a:hover { color: var(--ink); }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.profile-panel { padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.profile-panel h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.03em; }
.profile-panel p { color: var(--muted); }
.profile-panel ul { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.profile-panel-wide { grid-column: 1 / -1; }
.credential-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.35rem; }
.credential-group { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.credential-group h3 { margin: 0 0 .75rem; font-size: 1rem; }
.credential-group ul { margin: 0; font-size: .9rem; }
.legal-main { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.legal-document { max-width: 850px; }
.legal-document h1 { color: var(--ink); font-size: clamp(2.15rem, 4vw, 3.4rem); }
.legal-document h2 { margin: 2.2rem 0 .55rem; font-size: 1.35rem; }
.legal-document p, .legal-document li { color: var(--muted); }
.legal-document .legal-updated { margin-top: .4rem; font-size: .85rem; }
.profile-back { display: inline-flex; margin-top: 2.5rem; color: var(--brand); font-weight: 750; text-decoration: none; }
.profile-back:hover { text-decoration: underline; }
.local-statement { padding: 2rem 0; color: #edf8f2; background: #0d2a20; border-block: 1px solid rgba(255,255,255,.1); }
.local-statement .container { display: flex; align-items: center; justify-content: center; gap: 1.2rem; text-align: center; }
.local-statement span { color: rgba(237,248,242,.58); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.local-statement i { width: 38px; height: 1px; background: #4bc983; }
.local-statement strong { max-width: 760px; font-size: 1.05rem; }
.contact-editorial-intro > p:not(.eyebrow) { max-width: 610px; margin: 1.5rem 0 0; color: var(--muted); line-height: 1.7; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .45rem; color: var(--ink); font-size: .78rem; font-weight: 760; letter-spacing: .02em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: .75rem .85rem; color: var(--ink); background-color: var(--surface); font: inherit; font-size: .92rem; outline: none; }
.contact-form input, .contact-form select { min-height: 56px; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.15rem) calc(50% - 3px), calc(100% - .85rem) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 118px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.contact-form .form-consent { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; color: var(--muted); font-size: .73rem; font-weight: 500; line-height: 1.45; }
.form-consent input { width: 17px; height: 17px; margin-top: .1rem; }
.form-consent a { color: var(--brand); }
.contact-form .contact-cta { border: 0; cursor: pointer; font: inherit; }
.form-note { margin: -.35rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.site-footer { position: relative; padding: 5rem 0 1.6rem; color: rgba(239,249,243,.68); background: #06150f; font-size: .9rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(48,153,99,.16), transparent 40%), linear-gradient(130deg, transparent 55%, rgba(28,107,76,.13)); pointer-events: none; }
.footer-grid, .footer-bottom { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .75fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); }
.brand-footer .brand-copy strong { color: #f2faf5; }
.brand-footer .brand-copy b { background: #4bc983; color: #06150f; }
.brand-footer .brand-copy small { color: rgba(239,249,243,.55); }
.footer-brand p { max-width: 390px; margin: 1.5rem 0 0; line-height: 1.7; }
.footer-profile { display: inline-block; margin-top: .85rem; color: #78d8a5 !important; font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-profile:hover { text-decoration: underline; }
.footer-grid h3 { margin: .35rem 0 1.2rem; color: #f2faf5; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: .48rem; line-height: 1.4; }
.footer-grid a { color: rgba(239,249,243,.7); text-decoration: none; }
.footer-grid a:hover { color: #78d8a5; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .28rem 1rem; margin-top: 3.2rem; padding-top: 1.05rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(239,249,243,.48); font-size: .72rem; }
.footer-bottom > span:nth-child(2) { text-align: right; }
.legal-links { grid-column: 1 / -1; justify-self: center; display: flex; justify-content: center; gap: .9rem; margin-top: .12rem; font-size: .68rem; text-align: center; }
.legal-links a { color: rgba(239,249,243,.52); text-decoration: none; }
.legal-links a:hover { color: #78d8a5; }

@media (max-width: 1200px) {
  .nav-links { display: none; }
}

@media (max-width: 850px) {
  .nav-links { display: none; }
  .controls { margin-left: auto; }
  .hero-grid, .section-head, .contact-card, .contact-editorial-grid, .custom-need { grid-template-columns: 1fr; }
  .in-house-grid { grid-template-columns: 1fr; }
  .w2-card { grid-template-columns: auto 1fr; }
  .technology-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leadership-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-panel { max-width: 600px; }
  .hero-copy { transform: none; }
  .capability-strip .container { grid-template-columns: repeat(2, 1fr); padding-block: 1.4rem; }
  .evidence, .process { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); border: 0; gap: 1px; background: rgba(255,255,255,.12); }
  .sectors-grid article, .sectors-grid article:not(:first-child) { padding: 1.5rem; border: 0; background: #081b14; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid article { min-height: 250px; }
  .case-heading, .case-grid { grid-template-columns: 1fr; }
  .case-grid { grid-auto-rows: auto; }
}
@media (max-width: 580px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav { min-height: 66px; }
  .hero { height: auto; min-height: auto; padding: 5.5rem 0 3.5rem; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,15,11,.96), rgba(4,22,16,.73)); }
  .hero-grid { height: auto; min-height: 590px; }
  .hero-panel { padding: 1.25rem; }
  .capability-strip .container { grid-template-columns: 1fr 1fr; }
  .control { padding-inline: .62rem; }
  .brand-copy small { display: none; }
  .services, .evidence, .process { grid-template-columns: 1fr; }
  .service ul { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .w2-card { grid-template-columns: 1fr; }
  .w2-mark { width: 68px; height: 68px; }
  .w2-capabilities { grid-column: auto; }
  .brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tile { min-height: 92px; }
  .principal-card { grid-template-columns: 1fr; }
  .credentials-copy ul { columns: 1; }
  .profile-intro, .profile-grid { grid-template-columns: 1fr; }
  .profile-photo-frame { width: min(210px, 58vw); }
  .credential-groups { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom > span:nth-child(2) { text-align: center; }
  .legal-links { grid-column: auto; }
  .local-statement .container { flex-direction: column; gap: .65rem; }
  .local-statement i { width: 1px; height: 24px; }
  .assistant-launch span { display: none; }
  .assistant-launch { width: 52px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (hover: hover) {
  .w2-card:hover { transform: translateY(-4px); border-color: rgba(120,216,165,.38); box-shadow: 0 24px 54px rgba(4,31,21,.24); }
  .sectors-grid article:hover { transform: translateY(-4px); background: rgba(255,255,255,.035); box-shadow: 0 20px 38px rgba(0,0,0,.14); }
  .project-grid article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 58%, var(--line)); box-shadow: var(--shadow); }
  .case-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 58%, var(--line)); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) { .metric, .reveal-card, .w2-card, .sectors-grid article, .project-grid article, .case-card, .back-to-top { transition: none; transform: none; opacity: 1; } }
