:root {
  --graphite: #182126;
  --graphite-soft: #202c32;
  --base: #f7f9fa;
  --white: #ffffff;
  --cyan: #00a7b5;
  --led: #b8f24a;
  --slate: #4f5c63;
  --line: #d8e0e4;
  --font-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 52px);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.5rem, 7.3vw, 7.4rem); margin-bottom: 30px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.9rem); margin-bottom: 28px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
p { color: var(--slate); }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding: clamp(92px, 11vw, 160px) 0; }
.section-dark { background: var(--graphite); color: var(--white); }
.section-dark p { color: #aeb9be; }
.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: 999; left: 20px; top: -80px; background: var(--led); color: var(--graphite); padding: 12px 18px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .25s, box-shadow .25s, color .25s; }
.site-header.is-scrolled { background: rgba(247, 249, 250, .94); color: var(--graphite); box-shadow: 0 1px 0 rgba(24, 33, 38, .1); backdrop-filter: blur(14px); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: block; background: var(--base); padding: 8px 11px 7px; width: 142px; }
.brand img { width: 120px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); font-size: .84rem; font-weight: 650; }
.main-nav a { text-decoration: none; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--cyan); transition: right .2s; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid currentColor; padding: 11px 16px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--led); border-color: var(--led); color: var(--graphite); }
.menu-button { display: none; border: 0; background: transparent; color: currentColor; width: 44px; height: 44px; padding: 12px 6px; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--cyan); font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
.eyebrow-light { color: var(--led); }
.eyebrow-light > span { background: var(--led); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; text-decoration: none; font-size: .9rem; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--white); }
.button-primary:hover { background: #08b7c5; }
.text-link { display: inline-flex; gap: 15px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); padding: 10px 0; font-weight: 700; }
.text-link span { color: var(--cyan); }
.text-link-light { border-color: #425057; }
.lead { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; color: var(--graphite); }

.hero { min-height: 820px; padding: 140px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .72fr; align-items: center; gap: clamp(50px, 8vw, 130px); min-height: 590px; }
.hero h1 em { color: var(--led); font-style: normal; }
.hero-lead { max-width: 650px; font-size: clamp(1.15rem, 1.7vw, 1.42rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.hero-media { position: relative; height: 570px; margin: 0; }
.hero-media::before { content: ""; position: absolute; inset: -35px 36px 35px -36px; border: 1px solid #39474d; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: relative; filter: saturate(.86); }
.hero-media figcaption { position: absolute; inset: auto 0 0; background: rgba(24, 33, 38, .92); padding: 19px 22px; display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-media figcaption span { color: var(--led); }
.hero-pulse { position: absolute; right: -11px; top: 42px; width: 22px; height: 22px; background: var(--led); border: 6px solid var(--graphite); border-radius: 50%; }
.sector-strip { min-height: 90px; margin-top: 35px; border-top: 1px solid #344249; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #849198; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }

.problem-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(60px, 10vw, 160px); align-items: end; }
.problem-grid h2 { max-width: 680px; }
.big-statement { color: var(--graphite); font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1; }
.big-statement strong { color: var(--cyan); }
.problem-content { padding-bottom: 10px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 45px 0 0; }
.metric-row div { border-top: 2px solid var(--line); padding-top: 18px; }
.metric-row dt { font-family: var(--font-mono); color: var(--cyan); font-weight: 700; font-size: 1.2rem; }
.metric-row dd { margin: 5px 0 0; color: var(--slate); font-size: .84rem; }
.problem-image { position: relative; margin-top: clamp(70px, 9vw, 120px); height: clamp(390px, 54vw, 660px); overflow: hidden; }
.problem-image img { width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; left: 0; bottom: 0; width: min(520px, 85%); background: var(--base); padding: 27px 30px; }
.image-note span { display: block; margin-bottom: 8px; color: var(--cyan); font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; }
.image-note strong { font-size: 1.1rem; }

.section-intro-row { display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; align-items: end; margin-bottom: clamp(60px, 8vw, 100px); }
.section-intro-row h2 { margin-bottom: 0; }
.section-intro-row > p { font-size: 1.1rem; margin-bottom: 5px; }
.process-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; list-style: none; padding: 0; margin: 0; }
.process-list li { position: relative; padding-top: 2px; }
.step-number { color: var(--cyan); font-family: var(--font-mono); font-size: .7rem; font-weight: 700; }
.step-node { width: 13px; height: 13px; background: var(--cyan); border: 4px solid var(--graphite); box-shadow: 0 0 0 1px var(--cyan); border-radius: 50%; margin: 31px 0 32px; position: relative; }
.step-node-active { background: var(--led); box-shadow: 0 0 0 1px var(--led), 0 0 20px rgba(184, 242, 74, .35); }
.process-list h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.process-list p { font-size: .86rem; }
.process-closing { color: var(--white) !important; text-align: center; font-weight: 700; margin: 75px 0 0; padding-top: 30px; border-top: 1px solid #344249; }

.capabilities-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(70px, 10vw, 150px); }
.capabilities-heading { position: sticky; top: 130px; align-self: start; }
.capabilities-heading h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.capabilities-heading > p:last-child { font-size: 1.1rem; max-width: 500px; }
.capability { display: grid; grid-template-columns: 48px 1fr 1.15fr; align-items: baseline; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.capability:last-child { border-bottom: 1px solid var(--line); }
.capability span { color: var(--cyan); font-family: var(--font-mono); font-size: .75rem; }
.capability h3 { font-size: 1.25rem; margin-bottom: 0; }
.capability p { margin-bottom: 0; }

.cases-section { background: #edf1f3; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card { background: var(--white); min-height: 650px; display: flex; flex-direction: column; }
.case-card-wide { grid-column: 1 / -1; min-height: 520px; display: grid; grid-template-columns: 1.1fr .9fr; }
.case-card-wide:nth-of-type(4) { grid-template-columns: .9fr 1.1fr; }
.case-image { min-height: 380px; position: relative; overflow: hidden; }
.case-card-wide .case-image { min-height: 520px; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-image img { transform: scale(1.025); }
.case-index { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--graphite); color: var(--led); font-family: var(--font-mono); font-size: .7rem; }
.case-copy { padding: clamp(28px, 4vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.case-meta { color: var(--cyan); font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.case-copy h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 24px; }
.case-copy dl { margin-bottom: 0; }
.case-copy dl div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 100px 1fr; gap: 20px; }
.case-copy dt { color: var(--cyan); font-family: var(--font-mono); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.case-copy dd { color: var(--slate); }
.case-card-dark { background: var(--graphite); color: var(--white); }
.case-card-dark .case-copy dd { color: #aeb9be; }
.case-card-dark .case-copy dl div { border-color: #3a484f; }

.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.context-card { margin: 0; }
.context-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.75); transition: filter .3s, transform .3s; }
.context-card:hover img { filter: saturate(1); transform: translateY(-4px); }
.context-card figcaption { padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; }
.context-card figcaption span { color: #8d9aa0; font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; }

.fit-header { max-width: 930px; }
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; }
.fit-card { border-top: 3px solid var(--line); padding-top: 25px; }
.fit-card:first-child { border-color: var(--cyan); }
.fit-card:last-child { border-color: var(--led); }
.fit-card > span { display: block; min-height: 45px; color: var(--cyan); font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
.fit-card h3 { font-size: 1.45rem; }
.fit-question { max-width: 960px; margin: 100px auto 0; padding-top: 34px; border-top: 1px solid var(--line); text-align: center; font-size: 1.15rem; }
.fit-question strong { color: var(--graphite); }

.contact-section { overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; }
.contact-copy { width: min(100% - (var(--gutter) * 2), calc(var(--container) * .55)); margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 120px 7vw 110px 0; align-self: center; }
.contact-copy h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
.contact-copy > p { font-size: 1.12rem; max-width: 620px; }
.contact-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.phone-link { color: var(--white); font-family: var(--font-mono); text-decoration: none; font-weight: 700; }
.contact-image { min-height: 720px; border-left: 10px solid var(--led); }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { background: #10171a; color: #8e9a9f; padding: 34px 0; }
.footer-inner { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 35px; }
.footer-inner img { width: 130px; background: var(--base); padding: 7px 9px; }
.footer-inner p { margin: 0; color: #8e9a9f; font-size: .74rem; }
.footer-inner p:last-child { font-family: var(--font-mono); font-size: .62rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 86px 0 auto; display: none; flex-direction: column; align-items: flex-start; background: var(--base); color: var(--graphite); padding: 28px var(--gutter) 36px; box-shadow: 0 12px 24px rgba(24, 33, 38, .12); }
  .main-nav.is-open { display: flex; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 780px; }
  .hero-media { width: calc(100% - 42px); height: 620px; margin-left: 42px; }
  .hero-media::before { inset: -28px 28px 28px -28px; }
  .problem-grid, .capabilities-grid { grid-template-columns: 1fr; }
  .capabilities-heading { position: static; }
  .section-intro-row { gap: 45px; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 45px; }
  .process-list::before { display: none; }
  .step-node { margin: 20px 0; }
  .case-card-wide { grid-template-columns: 1fr 1fr; }
  .contact-copy { margin-left: var(--gutter); }
  .footer-inner { grid-template-columns: 150px 1fr; }
  .footer-inner p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .header-inner { height: 74px; }
  .brand { width: 128px; }
  .brand img { width: 106px; }
  .main-nav { inset-block-start: 74px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-media { height: 480px; margin-left: 26px; }
  .hero-media::before { inset: -20px 20px 20px -20px; }
  .hero-media figcaption { flex-direction: column; gap: 5px; }
  .sector-strip { justify-content: flex-start; flex-wrap: wrap; padding: 28px 0; }
  .problem-grid, .section-intro-row { grid-template-columns: 1fr; gap: 45px; }
  .problem-image { height: 490px; margin-top: 36px; }
  .metric-row { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { display: grid; grid-template-columns: 30px 26px 1fr; gap: 10px; align-items: start; }
  .process-list li p { grid-column: 3; }
  .step-node { margin: 0; }
  .capability { grid-template-columns: 36px 1fr; gap: 14px; }
  .capability p { grid-column: 2; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card, .case-card-wide, .case-card-wide:nth-of-type(4) { grid-column: auto; display: flex; min-height: 0; }
  .case-card-wide .case-image, .case-image { min-height: 390px; }
  .case-copy dl div { grid-template-columns: 1fr; gap: 6px; }
  .context-grid, .fit-grid { grid-template-columns: 1fr; }
  .context-card + .context-card { margin-top: 28px; }
  .fit-grid { margin-top: 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { width: auto; margin: 0; padding: 90px var(--gutter); }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .contact-image { min-height: 480px; border-left: 0; border-top: 9px solid var(--led); }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner p:last-child { grid-column: auto; }
}

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