:root {
  --ink: #074781;
  --ink-soft: #355f7f;
  --paper: #f7f6f1;
  --paper-deep: #e9efe9;
  --white: #fffefa;
  --teal: #008787;
  --teal-dark: #006b74;
  --lime: #74b92f;
  --focus: #0b7aa3;
  --line: rgba(0, 64, 128, 0.16);
  --shadow: 0 24px 70px rgba(0, 64, 128, 0.12);
  --radius: 1.35rem;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--lime);
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  font-weight: 750;
}

.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  min-height: 74px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 1rem;
  z-index: 30;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 1rem;
  background: rgba(247, 246, 241, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 40px rgba(0, 64, 128, .12);
  background: rgba(255, 254, 250, 0.93);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-frame {
  width: 240px;
  height: 60px;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.footer-brand .brand-logo-frame {
  width: 260px;
  height: 65px;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--teal-dark); transition: right .2s ease; }
.site-nav > a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  padding: .72rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: .65rem;
}

.menu-button { display: none; }

.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: calc(100vh - 106px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0 5rem;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow > span { width: 24px; height: 2px; background: var(--teal-dark); }
.eyebrow.light { color: rgba(255,255,255,.64); }
.eyebrow.light > span { background: var(--lime); }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

h1 { max-width: 820px; margin-bottom: 1.7rem; font-size: clamp(3.8rem, 7.1vw, 7.15rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); }

.hero-lede { max-width: 650px; color: var(--ink-soft); font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.2rem;
  border: 0;
  border-radius: .7rem;
  text-decoration: none;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .menu-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 10px 24px rgba(0,64,128,.15); }
.button-accent { width: 100%; color: #04345f; background: var(--lime); }
.text-link { font-weight: 760; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: .15rem; }

.signal-panel {
  min-height: 610px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, #074781 0%, #04345f 100%);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.panel-topline, .panel-foot { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.panel-topline { border-bottom: 1px solid rgba(255,255,255,.12); }
.live-label { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.68); }
.live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(116,185,47,.16); }

.signal-map { position: relative; min-height: 460px; background: radial-gradient(circle at 50% 45%, rgba(0,135,135,.24), transparent 46%); }
.signal-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.signal-map path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; stroke-dasharray: 5 7; animation: flow 12s linear infinite; }

@keyframes flow { to { stroke-dashoffset: -96; } }

.signal-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 146px;
  height: 146px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: .5rem;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 18px rgba(0,135,135,.08), 0 0 0 38px rgba(0,135,135,.045);
}

.core-mark { width: 56px; height: 56px; display: grid; place-items: center; color: var(--ink); background: var(--teal); border-radius: 13px; font-family: Georgia, serif; font-size: 2rem; font-style: italic; }
.signal-core small { color: rgba(255,255,255,.67); }
.signal-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: .65rem; font-size: .75rem; }
.signal-node i { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--ink); background: var(--lime); font-style: normal; font-size: .62rem; font-weight: 800; }
.node-source { left: 6%; top: 12%; }
.node-model { right: 5%; top: 14%; }
.node-report { left: 5%; bottom: 13%; }
.node-action { right: 4%; bottom: 14%; }
.panel-foot { border-top: 1px solid rgba(255,255,255,.12); }
.panel-foot div:first-child { display: grid; gap: .16rem; }
.panel-foot strong { font-size: .72rem; }
.panel-foot span { color: rgba(255,255,255,.52); font-size: .6rem; }
.mini-bars { display: flex; align-items: end; gap: 3px; height: 30px; }
.mini-bars i { display: block; width: 5px; border-radius: 4px; background: var(--teal); }
.mini-bars i:nth-child(1) { height: 35%; }.mini-bars i:nth-child(2) { height: 58%; }.mini-bars i:nth-child(3) { height: 42%; }.mini-bars i:nth-child(4) { height: 76%; }.mini-bars i:nth-child(5) { height: 100%; background: var(--lime); }

.outcome-strip {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  font-size: .76rem;
  font-weight: 730;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.outcome-strip p { color: var(--ink-soft); }
.outcome-strip div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-label { padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.about-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.about-heading h2 { max-width: 600px; }
.about-copy { padding-top: 3rem; }
.about-copy > p { color: var(--ink-soft); font-size: 1.05rem; }
.about-copy .lead-copy { color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.35; }
.principles { margin-top: 3rem; }
.principles > div { display: grid; grid-template-columns: 135px 1fr; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.principles span { color: var(--ink-soft); font-size: .92rem; }

.services { width: 100%; max-width: none; padding-inline: max(1rem, calc((100vw - var(--max)) / 2)); background: var(--paper-deep); }
.section-intro { display: grid; grid-template-columns: 1.2fr 1.8fr 1fr; align-items: end; gap: 2rem; margin: 4rem 0 3rem; }
.section-intro .eyebrow { align-self: start; }
.section-intro h2 { margin-bottom: 0; font-size: clamp(2.8rem, 4.6vw, 5rem); }
.section-intro > p:last-child { margin-bottom: .5rem; color: var(--ink-soft); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card { min-height: 430px; padding: 1.6rem; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,250,.64); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 18px 44px rgba(0,64,128,.11); }
.service-number { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { align-self: end; grid-column: 1 / -1; max-width: 360px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.service-card p { grid-column: 1 / -1; max-width: 540px; margin: 0; color: var(--ink-soft); }
.service-card ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.service-card li { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 99px; font-size: .7rem; font-weight: 700; }

.impact { padding-bottom: 0; }
.impact-card { padding: clamp(2rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; color: var(--white); background: linear-gradient(145deg, #074781 0%, #04345f 100%); border-radius: 1.8rem; }
.impact-card h2 { max-width: 620px; }
.impact-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.impact-list > div > span { color: var(--teal); font-size: .72rem; font-weight: 800; }
.impact-list p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }
.impact-list strong { display: block; margin-bottom: .35rem; color: var(--white); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }

.approach .section-intro { grid-template-columns: 1fr 2fr; }
.approach .section-intro h2 { max-width: 850px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: steps; }
.step { min-height: 300px; padding: 1.4rem; display: flex; flex-direction: column; border-top: 3px solid var(--ink); background: rgba(255,255,255,.24); }
.step > span { margin-bottom: auto; color: var(--teal-dark); font-size: .72rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.step h3 { margin-bottom: .65rem; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.step p { margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }

.contact { width: 100%; max-width: none; padding-inline: max(1rem, calc((100vw - var(--max)) / 2)); background: linear-gradient(135deg, #007a78 0%, #075986 100%); }
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy { position: sticky; top: 9rem; color: var(--white); }
.contact-copy h2 { max-width: 600px; }
.contact-copy > p { max-width: 540px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.contact-copy > a { display: inline-flex; gap: 1rem; margin-top: 1.2rem; padding-bottom: .3rem; border-bottom: 1px solid rgba(255,255,255,.55); text-decoration: none; font-weight: 750; }

.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(0,64,128,.22); }
.contact-form label { display: grid; gap: .5rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 780; letter-spacing: .04em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .9rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: inherit; }
.contact-form textarea { resize: vertical; }
.form-note { margin: .85rem 0 0; color: var(--ink-soft); font-size: .72rem; text-align: center; }

.site-footer { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 3rem 0 2rem; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.site-footer > p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 1rem; }
.site-footer > div a { font-size: .8rem; font-weight: 700; text-decoration: none; }
.site-footer > small { grid-column: 1 / -1; padding-top: 1rem; color: var(--ink-soft); font-size: .68rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  h1 { font-size: clamp(3.7rem, 9vw, 6.4rem); }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .signal-panel { min-height: 540px; transform: none; }
  .about-grid, .impact-card, .contact-shell { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .section-intro, .approach .section-intro { grid-template-columns: 1fr; }
  .section-intro { gap: .7rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-copy { position: static; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { text-align: right; }
  .site-footer > div { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 720px) {
  .site-header { top: .5rem; margin-top: .5rem; }
  .brand-logo-frame { width: 195px; height: 49px; }
  .footer-brand .brand-logo-frame { width: 230px; height: 58px; }
  .menu-button { width: 44px; height: 44px; display: grid; align-content: center; gap: 6px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + .5rem); padding: 1rem; align-items: stretch; flex-direction: column; gap: .2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .signal-panel { min-height: 490px; }
  .signal-map { min-height: 360px; }
  .signal-core { width: 120px; height: 120px; }
  .signal-node { padding: .5rem; }
  .outcome-strip { grid-template-columns: 1fr; gap: .5rem; }
  .outcome-strip div { display: grid; grid-template-columns: 1fr 1fr; }
  .about-grid { margin-top: 2.5rem; }
  .principles > div { grid-template-columns: 1fr; gap: .4rem; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .step { min-height: 235px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { text-align: left; }
}

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

