:root {
  --green-950: #042f25;
  --green-900: #064c39;
  --green-800: #075e45;
  --green-700: #087a57;
  --green-600: #0b9b6c;
  --green-400: #45d39d;
  --green-200: #a9ecd2;
  --green-100: #dff8ee;
  --green-50: #f2fbf7;
  --ink: #10231d;
  --muted: #5c6f67;
  --line: #d6e7df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 47, 37, 0.11);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--green-200); color: var(--green-950); }
.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; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--green-950); color: white; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  width: var(--page);
  min-height: 68px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(214,231,223,.9);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(4,47,37,.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 18px 50px rgba(4,47,37,.14); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 12px; font-size: .83rem; font-weight: 800; letter-spacing: -.02em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: .98rem; }
.brand-copy span { margin-top: 3px; color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: #385048; text-decoration: none; font-size: .9rem; font-weight: 650; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 2px; background: var(--green-600); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-cta { padding: 12px 18px; color: white; background: var(--green-800); border-radius: 12px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--green-50); cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--green-900); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  padding: 152px max(20px, calc((100vw - 1180px)/2)) 88px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fbfffd 0%, var(--green-50) 62%, #e5f8f0 100%);
}
.hero-copy { max-width: 960px; }
.hero-grid { position: absolute; z-index: -3; inset: 0; opacity: .38; background-image: linear-gradient(rgba(7,94,69,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(7,94,69,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 65%); }
.hero-orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { width: 480px; height: 480px; top: -260px; right: 9%; border: 70px solid rgba(69,211,157,.13); }
.hero-orb-two { width: 260px; height: 260px; bottom: -180px; left: 38%; background: rgba(169,236,210,.28); }
.eyebrow, .kicker { margin: 0 0 20px; color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .09em; }
.signal-dot { width: 9px; height: 9px; background: var(--green-500, #13b87f); border-radius: 50%; box-shadow: 0 0 0 6px rgba(11,155,108,.12); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(11,155,108,0); } }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 940px; font-size: clamp(4rem, 8vw, 7.8rem); }
h1 em, h2 em { color: var(--green-700); font-weight: 500; }
.hero-intro { max-width: 630px; margin: 30px 0 0; color: #496158; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.65; }
.hero-intro strong { color: var(--green-800); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; padding: 14px 21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }
.button-primary { color: white; background: var(--green-800); box-shadow: 0 12px 28px rgba(7,94,69,.22); }
.button-primary:hover { background: var(--green-900); box-shadow: 0 16px 34px rgba(7,94,69,.28); }
.button-secondary { color: var(--green-900); background: rgba(255,255,255,.72); border-color: var(--line); }
.hero-proof { margin-top: 48px; display: flex; gap: 38px; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { color: var(--green-900); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.hero-proof span { margin-top: 6px; color: var(--muted); font-size: .78rem; }

.hero-visual { position: relative; padding: 18px; color: white; background: linear-gradient(150deg, #073e30, #042f25 60%, #03241c); border: 1px solid rgba(255,255,255,.1); border-radius: 30px; box-shadow: 0 35px 90px rgba(4,47,37,.28); transform: rotate(1.5deg); }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -12px 18px 18px -12px; background: var(--green-200); border-radius: 30px; opacity: .7; }
.visual-topbar { padding: 3px 3px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #b7d9cd; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; background: rgba(255,255,255,.22); border-radius: 50%; }
.live-pill { justify-self: end; padding: 4px 8px; color: #aaf5d8; background: rgba(69,211,157,.12); border: 1px solid rgba(69,211,157,.24); border-radius: 999px; font-size: .58rem; letter-spacing: .12em; }
.workflow { padding: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; }
.workflow-step { display: flex; align-items: center; gap: 16px; }
.workflow-step > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: var(--green-200); border: 1px solid rgba(169,236,210,.22); border-radius: 12px; font-family: ui-monospace, monospace; font-size: .75rem; }
.workflow-step.active > span { color: var(--green-950); background: var(--green-400); border-color: var(--green-400); }
.workflow-step div { display: flex; flex-direction: column; }
.workflow-step b { font-size: .95rem; }
.workflow-step small { color: #94afa5; font-size: .75rem; }
.workflow-line { width: 42px; height: 25px; display: grid; place-items: center; }
.workflow-line i { width: 1px; height: 100%; background: linear-gradient(var(--green-400), rgba(69,211,157,.12)); }
.impact-card { margin-top: 12px; padding: 18px; display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; background: var(--green-400); color: var(--green-950); border-radius: 16px; }
.impact-card div:not(.impact-route) { display: flex; flex-direction: column; }
.impact-card span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.impact-card b { font-family: Georgia, serif; font-size: 1.5rem; }
.impact-route { position: relative; height: 1px; background: rgba(4,47,37,.3); }
.impact-route i { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; background: var(--green-950); border-radius: 50%; }
.tech-ticker { padding: 18px 4px 2px; display: flex; justify-content: space-between; gap: 10px; color: #78998d; font-family: ui-monospace, monospace; font-size: .6rem; letter-spacing: .1em; }

.intro-band { padding: 28px max(20px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: var(--green-800); }
.intro-band p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.intro-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.intro-tags span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: var(--green-100); font-size: .72rem; }

.section { width: var(--page); margin: 0 auto; padding: 130px 0; }
.section-heading { margin-bottom: 64px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; }
.section-heading h2, .capabilities-intro h2, .credentials-card h2, .contact-content h2 { font-size: clamp(3.25rem, 5.7vw, 5.6rem); }
.section-heading > p, .capabilities-intro > p { margin: 0 0 6px; color: var(--muted); font-size: 1.05rem; }
.case-study { padding: 38px; background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.case-featured { min-height: 460px; padding: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; background: white; box-shadow: var(--shadow); }
.case-meta { margin-bottom: 35px; display: flex; align-items: center; gap: 13px; color: var(--green-700); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-meta span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--green-200); border-radius: 50%; font-size: .67rem; }
.case-study h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.case-study p { max-width: 660px; margin: 20px 0 0; color: var(--muted); }
.case-tags { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.case-tags li { padding: 7px 11px; color: var(--green-800); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .71rem; font-weight: 700; }
.case-metric { min-height: 340px; padding: 35px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, var(--green-900), var(--green-950)); border-radius: 22px; color: white; box-shadow: 18px 20px 0 var(--green-100); }
.case-metric > span { color: var(--green-200); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-metric .metric-before, .case-metric .metric-after { font-family: Georgia, serif; line-height: 1; }
.metric-before { margin-top: 24px; color: #89a69b; font-size: 2rem; text-decoration: line-through; text-decoration-thickness: 2px; }
.metric-after { color: var(--green-400); font-size: clamp(3.8rem, 7vw, 6.6rem); }
.case-metric small { font-family: Inter, sans-serif; font-size: .22em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.metric-divider { height: 26px; padding-left: 15px; }
.metric-divider i { display: block; width: 1px; height: 100%; background: var(--green-400); }
.case-metric p { margin-top: 22px; color: #97b6aa; font-size: .72rem; }
.case-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-grid .case-study { min-height: 480px; display: flex; flex-direction: column; }
.case-grid .case-study h3 { font-size: clamp(2rem, 3vw, 3rem); }
.mini-result { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; }
.mini-result strong { color: var(--green-800); font-family: Georgia, serif; font-size: 2rem; }
.mini-result span { color: var(--muted); font-size: .78rem; }
.case-dark { color: white; background: var(--green-950); border-color: var(--green-950); }
.case-dark p { color: #a7c2b8; }
.case-dark .case-tags li { color: var(--green-200); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.model-visual { margin-top: auto; padding: 28px 0 8px; display: flex; align-items: center; gap: 8px; color: var(--green-200); font-size: .67rem; text-transform: uppercase; letter-spacing: .05em; }
.model-visual i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--green-400), rgba(69,211,157,.15)); }

.experience-section { position: relative; }
.experience-section::before { content: ""; position: absolute; z-index: -1; top: 40px; right: calc((100vw - 1180px)/-2); bottom: 40px; left: calc((100vw - 1180px)/-2); background: var(--green-50); }
.section-heading.compact { margin-bottom: 80px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; bottom: 0; left: calc(24% + 24px); width: 1px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 64px; display: grid; grid-template-columns: 24% 48px 1fr; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { padding-top: 5px; color: var(--green-700); font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.timeline-dot { position: relative; z-index: 1; width: 15px; height: 15px; margin: 6px auto 0; background: var(--green-600); border: 4px solid var(--green-50); border-radius: 50%; box-shadow: 0 0 0 1px var(--green-600); }
.timeline-content { padding-left: 26px; }
.timeline-content h3 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; letter-spacing: -.02em; }
.timeline-content .company { margin: 4px 0 15px; color: var(--green-800); font-weight: 800; }
.timeline-content .company span { color: var(--muted); font-weight: 500; }
.timeline-content > p:last-child { max-width: 720px; margin: 0; color: var(--muted); }

.capabilities-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.capabilities-intro { position: sticky; top: 120px; }
.capabilities-intro > p { margin-top: 28px; }
.capability-list { border-top: 1px solid var(--line); }
.capability-card { padding: 34px 0; display: grid; grid-template-columns: 64px 1fr; gap: 26px; border-bottom: 1px solid var(--line); }
.capability-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--green-800); background: var(--green-50); border: 1px solid var(--line); border-radius: 16px; font-family: ui-monospace, monospace; font-size: .88rem; font-weight: 800; }
.capability-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.capability-card p { margin: 8px 0 0; color: var(--muted); }

.credentials-section { width: var(--page); margin: 0 auto 130px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.credentials-card, .publication-card { padding: 48px; border-radius: var(--radius-lg); }
.credentials-card { background: var(--green-50); border: 1px solid var(--line); }
.credential-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.credential-grid span, .publication-label { color: var(--green-700); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.credential-grid h3 { margin: 10px 0 3px; font-family: Georgia, serif; font-size: 1.22rem; font-weight: 500; line-height: 1.2; }
.credential-grid p { margin: 0; color: var(--muted); font-size: .8rem; }
.publication-card { display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--green-800); }
.publication-card .publication-label { color: var(--green-200); }
.publication-card blockquote { margin: 44px 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.25; letter-spacing: -.025em; }
.publication-card p { margin: 0; color: #bce1d3; font-size: .78rem; }

.contact-section { position: relative; min-height: 610px; padding: 100px max(20px, calc((100vw - 1180px)/2)); display: flex; align-items: center; color: white; background: var(--green-950); overflow: hidden; }
.contact-glow { position: absolute; width: 600px; height: 600px; right: -160px; bottom: -350px; border: 90px solid rgba(69,211,157,.12); border-radius: 50%; }
.contact-content { position: relative; z-index: 2; max-width: 760px; }
.contact-content .kicker { color: var(--green-400); }
.contact-content h2 em { color: var(--green-400); }
.contact-content > p:not(.kicker) { max-width: 680px; margin: 28px 0 0; color: #acd0c2; font-size: 1.08rem; }
.contact-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.button-light { color: var(--green-950); background: var(--green-400); }
.button-outline-light { color: white; border-color: rgba(255,255,255,.26); }
.contact-monogram { position: absolute; right: 4%; color: rgba(255,255,255,.025); font-family: Georgia, serif; font-size: min(28vw, 420px); font-weight: 700; letter-spacing: -.12em; line-height: 1; }

footer { width: var(--page); margin: 0 auto; padding: 36px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p, footer > a { color: var(--muted); font-size: .78rem; }
footer > a { font-weight: 750; text-underline-offset: 4px; }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; }

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

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(640px, 100%); margin: auto; transform: rotate(0); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 680px; }
  .capabilities-section { grid-template-columns: 1fr; gap: 60px; }
  .capabilities-intro { position: static; }
  .credentials-section { grid-template-columns: 1fr; }
  .timeline::before { left: calc(29% + 24px); }
  .timeline-item { grid-template-columns: 29% 48px 1fr; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 28px, 1180px); }
  .site-header { top: 10px; }
  .brand-copy span { display: none; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; padding: 14px; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; padding: 126px 20px 70px; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-proof { gap: 18px; justify-content: space-between; }
  .hero-proof strong { font-size: 1.6rem; }
  .hero-proof span { font-size: .68rem; }
  .hero-visual { padding: 11px; border-radius: 22px; }
  .workflow { padding: 20px; }
  .impact-card { grid-template-columns: 1fr 30px 1fr; padding: 14px; }
  .impact-card b { font-size: 1.15rem; }
  .tech-ticker span:nth-child(even) { display: none; }
  .intro-band { align-items: flex-start; flex-direction: column; }
  .intro-tags { justify-content: flex-start; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .capabilities-intro h2, .credentials-card h2, .contact-content h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .case-featured { min-height: auto; padding: 24px; grid-template-columns: 1fr; gap: 42px; }
  .case-metric { min-height: 300px; box-shadow: 9px 10px 0 var(--green-100); }
  .case-grid { grid-template-columns: 1fr; }
  .case-grid .case-study { min-height: 430px; padding: 26px; }
  .model-visual { align-items: flex-start; flex-direction: column; }
  .model-visual i { width: 1px; height: 18px; flex: 0 0 18px; margin-left: 8px; }
  .experience-section::before { right: -14px; left: -14px; }
  .timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 24px 1fr; padding-bottom: 54px; }
  .timeline-date { grid-column: 2; padding: 0 0 10px 18px; }
  .timeline-dot { grid-column: 1; grid-row: 1 / span 2; width: 13px; height: 13px; margin-top: 5px; }
  .timeline-content { grid-column: 2; padding-left: 18px; }
  .capability-card { grid-template-columns: 52px 1fr; gap: 16px; }
  .capability-icon { width: 50px; height: 50px; border-radius: 13px; }
  .credentials-section { margin-bottom: 90px; }
  .credentials-card, .publication-card { padding: 28px; }
  .credential-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .publication-card { min-height: 420px; }
  .contact-section { min-height: 650px; padding-top: 80px; padding-bottom: 80px; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-actions .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
}

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