:root {
  --paper: #f1f1ed;
  --surface: #ffffff;
  --ink: #12181b;
  --muted: #66706d;
  --line: #e1e2dd;
  --night: #10161b;
  --night-soft: #192127;
  --night-line: rgba(244, 247, 241, 0.16);
  --lime: #b8ff58;
  --lime-soft: #dbffae;
  --blue: #b9d7e3;
  --radius-card: 20px;
  --radius-panel: 28px;
  --container: 1180px;
  --display: "Trebuchet MS", "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(18, 24, 27, 0.1);
  background: var(--paper);
  transition: border-color 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 720; letter-spacing: -0.02em; }
.brand-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--lime); color: var(--ink); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #4e5a57; font-size: 14px; }
.site-nav a:not(.nav-cta) { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 0; transition: color 160ms ease; }
.site-nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); transition: background 160ms ease, color 160ms ease; }
.nav-cta:hover { background: #e4e4e1; color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform 160ms ease; }

.hero { position: relative; overflow: hidden; background: var(--night); color: #f4f6f1; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0H80M0 0V80' fill='none' stroke='%23ffffff' stroke-opacity='.2'/%3E%3C/svg%3E"); }
.hero-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr); align-items: center; gap: clamp(50px, 8vw, 120px); min-height: 650px; padding-top: 90px; padding-bottom: 92px; }
.hero-copy { max-width: 640px; }
.eyebrow { margin: 0 0 22px; color: #53605d; font-size: 12px; font-weight: 760; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.eyebrow--lime { color: var(--lime); }
.eyebrow--dark { color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.055em; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 760px; margin-bottom: 26px; font-family: var(--display); font-size: clamp(3.2rem, 6.2vw, 6.4rem); line-height: 0.98; }
h2 { margin-bottom: 24px; font-family: var(--display); font-size: clamp(2.45rem, 4vw, 4.5rem); line-height: 0.99; }
h2 em { color: var(--muted); font-style: normal; }
.section--dark h2 em { color: var(--lime); }
.contact-cta h2 em { color: #31510e; }
.hero-lede { max-width: 575px; margin-bottom: 32px; color: #c0cbc7; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 720; line-height: 1.2; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.button--lime { background: var(--lime); color: var(--ink); }
.button--lime:hover { background: #d4ff9c; }
.button--quiet { border-color: rgba(244, 246, 241, 0.35); color: #eff5ec; }
.button--quiet:hover { border-color: rgba(244, 246, 241, 0.35); background: #1b272d; color: #eff5ec; }
.hero-note { margin: 32px 0 0; color: #83918c; font-size: 13px; }
.hero-visual { min-width: 0; }
.visual-frame { position: relative; min-height: 500px; overflow: hidden; border: 1px solid var(--night-line); border-radius: var(--radius-panel); background: #151d23; }
.visual-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--night-line); color: #c1cec9; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.visual-status { display: inline-flex; align-items: center; gap: 9px; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); }
.status-dot--dark { background: #2f8c4a; }
.visual-index { color: #96a79f; }
.visual-map { position: absolute; inset: 72px 0 42px; width: 100%; height: calc(100% - 114px); color: #9aaba4; }
.visual-label { position: absolute; display: grid; gap: 2px; padding: 10px 13px; border-left: 2px solid var(--lime); background: #151d23; }
.visual-label span { color: var(--lime); font-size: 12px; letter-spacing: 0.1em; }
.visual-label strong { font-size: 14px; letter-spacing: 0.05em; }
.visual-label small { color: #8b9b95; font-size: 12px; }
.visual-label--one { top: 34%; left: 10%; }
.visual-label--two { top: 48%; right: 8%; }
.visual-label--three { bottom: 16%; left: 22%; }
.visual-caption { position: absolute; right: 24px; bottom: 24px; color: #81908a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; text-align: right; text-transform: uppercase; }

.facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { min-width: 0; display: grid; gap: 5px; padding: 25px 28px 26px 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact-kicker { color: #5f6964; font-size: 12px; font-weight: 760; letter-spacing: 0.11em; text-transform: uppercase; }
.fact strong { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.3; }

.section { padding: clamp(90px, 11vw, 160px) 0; }
.section--light { background: var(--paper); }
.section--dark { background: var(--night); color: #f4f6f1; }
.section-heading { max-width: 690px; }
.section-heading > p:last-child, .approach-intro > p:last-child { max-width: 540px; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.section--dark .approach-intro > p:last-child { color: #aebbb6; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.capability-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.card-number { position: absolute; top: 25px; right: 26px; color: #52605b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 48px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); }
.card-icon svg { width: 24px; height: 24px; }
.capability-card h3 { max-width: 220px; margin-bottom: 12px; font-size: 25px; line-height: 1.04; }
.capability-card p { max-width: 330px; margin-bottom: 26px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.card-tag { margin-top: auto; color: #577c25; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.approach-shell { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(50px, 10vw, 150px); }
.approach-intro { max-width: 460px; }
.steps { padding-top: 10px; }
.step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding: 0 0 38px; }
.step:last-child { padding-bottom: 0; }
.step-line { position: absolute; top: 35px; bottom: 0; left: 15px; border-left: 1px dashed rgba(184, 255, 88, 0.38); }
.step:last-child .step-line { display: none; }
.step-index { position: relative; z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(184, 255, 88, 0.7); border-radius: 50%; color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.step h3 { margin: 1px 0 8px; font-size: 25px; }
.step p { max-width: 360px; margin: 0; color: #aebbb6; font-size: 15px; text-wrap: pretty; }

.profile-section { padding-bottom: clamp(95px, 12vw, 170px); }
.profile-shell { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.profile-panel { border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.profile-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line); color: #69736f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.profile-check { display: inline-flex; align-items: center; gap: 8px; color: #24763c; }
.profile-list { margin: 0; padding: 6px 28px 10px; }
.profile-list > div { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-list > div:last-child { border-bottom: 0; }
.profile-list dt { color: #66706d; font-size: 13px; }
.profile-list dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.45; text-wrap: pretty; }
.profile-source { margin: 0; padding: 18px 28px 23px; border-top: 1px solid var(--line); color: #61706a; font-size: 12px; }

.contact-cta { padding: clamp(85px, 10vw, 135px) 0; background: var(--lime); color: var(--ink); }
.contact-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr); gap: 60px; align-items: end; }
.contact-cta h2 { margin-bottom: 0; }
.contact-details { max-width: 370px; justify-self: end; }
.contact-details > p:first-child { max-width: 320px; margin-bottom: 28px; color: #34432c; font-size: 16px; text-wrap: pretty; }
.contact-link { min-height: 40px; display: inline-flex; align-items: center; gap: 14px; padding: 4px 0; border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1.2; }
.contact-link span { font-family: var(--body); font-size: 0.9em; font-weight: 400; }
.contact-address { margin: 22px 0 0; color: #526244; font-size: 14px; }

.site-footer { padding: 28px 0 35px; background: var(--night); color: #dbe4de; }
.footer-shell { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.brand--footer { color: #f4f6f1; }
.footer-shell p { max-width: 360px; margin: 0; color: #899691; font-size: 13px; text-wrap: pretty; }
.footer-meta { color: #93a39b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; text-align: right; }

.reveal { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-short { transition-delay: 80ms; }
.reveal--delay { transition-delay: 150ms; }
.reveal--delay-long { transition-delay: 220ms; }

@media (max-width: 980px) {
  .hero-shell { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(100%, 650px); }
  .capability-grid { grid-template-columns: 1fr; max-width: 720px; }
  .capability-card { min-height: 270px; }
  .profile-shell { grid-template-columns: 1fr; }
  .profile-panel { width: min(100%, 760px); }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; right: 18px; left: 18px; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 160ms ease, transform 160ms ease; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a:not(.nav-cta) { padding: 12px; }
  .nav-cta { justify-content: center; margin-top: 4px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 18px 14px 19px 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .fact strong { font-size: 14px; }
  .approach-shell, .contact-shell { grid-template-columns: 1fr; gap: 48px; }
  .contact-details { justify-self: start; }
  .footer-shell { grid-template-columns: 1fr; gap: 12px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-shell { padding-top: 70px; padding-bottom: 70px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .visual-frame { min-height: 430px; }
  .visual-label--one { left: 7%; }
  .visual-label--two { right: 5%; }
  .visual-label--three { left: 12%; }
  .visual-caption { right: 16px; bottom: 16px; }
  .section { padding: 82px 0; }
  .section-heading > p:last-child, .approach-intro > p:last-child { font-size: 16px; }
  .capability-grid { margin-top: 45px; }
  .capability-card { min-height: 300px; padding: 24px; }
  .card-icon { margin-bottom: 45px; }
  .profile-panel-head { padding: 18px 20px; }
  .profile-list { padding-inline: 20px; }
  .profile-list > div { grid-template-columns: 1fr; gap: 5px; padding: 15px 0; }
  .profile-source { padding-inline: 20px; }
  .contact-cta { padding: 82px 0; }
}

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