:root {
    --ink: #092f35;
    --ink-soft: #244b50;
    --teal-950: #052f31;
    --teal-900: #073c3c;
    --teal-800: #075958;
    --teal-700: #0b7772;
    --teal-500: #24a89c;
    --mint: #a8dbc9;
    --mist: #e7f4f1;
    --paper: #f8fbfa;
    --white: #ffffff;
    --yellow: #f5c84b;
    --coral: #f2775c;
    --line: #c9ddda;
    --shadow: 0 22px 70px rgba(4, 54, 56, 0.18);
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--white); color: var(--ink); }

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 78px;
    padding: 12px max(24px, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid rgba(255,255,255,.16);
    background: rgba(5,47,49,.8);
    color: var(--white);
    backdrop-filter: blur(18px);
    transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(5,47,49,.96); box-shadow: 0 10px 34px rgba(0,0,0,.18); }
.site-brand { display: flex; gap: 10px; align-items: center; min-width: 195px; }
.site-brand img, .footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.site-brand span { display: grid; }
.site-brand strong { font-size: 17px; line-height: 1; }
.site-brand small { color: #c7e6e0; font-size: 10px; }
sup { color: var(--teal-500); }
.site-nav { display: flex; gap: 26px; justify-content: center; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--yellow); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta { padding: 11px 17px; border: 1px solid var(--mint); border-radius: 4px; font-size: 13px; font-weight: 800; }
.header-cta:hover { background: var(--mint); color: var(--teal-950); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.34); border-radius: 4px; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--white); }

.hero {
    position: relative;
    display: flex;
    min-height: min(860px, 92vh);
    align-items: end;
    overflow: hidden;
    background: var(--teal-950);
    color: var(--white);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% top; filter: saturate(.82) contrast(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,36,38,.98) 0%, rgba(4,47,48,.9) 36%, rgba(4,47,48,.42) 70%, rgba(4,47,48,.16) 100%); }
.hero-content { position: relative; z-index: 1; width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 150px 0 68px; }
.eyebrow { margin: 0 0 14px; color: var(--teal-700); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow, .light .eyebrow, .contact-section .eyebrow { color: #8fe2d4; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 9vw, 126px); line-height: .86; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: #d5eeea; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--yellow); color: var(--teal-950); }
.button.primary:hover { background: #ffda68; }
.button.secondary { border-color: rgba(255,255,255,.6); color: var(--white); }
.button.secondary:hover { background: var(--white); color: var(--teal-950); }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; margin: 38px 0 0; padding: 0; color: #b9dbd6; list-style: none; font-size: 13px; font-weight: 750; }
.hero-points li { padding-left: 16px; border-left: 3px solid var(--teal-500); }

.proof-band { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); max-width: var(--content); margin: -1px auto 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-band div { display: grid; gap: 2px; padding: 28px; border-left: 1px solid var(--line); }
.proof-band strong { color: var(--teal-800); font-size: 32px; line-height: 1; }
.proof-band span { color: var(--ink-soft); font-size: 12px; font-weight: 750; }

.section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 750px; }
.section-heading.wide { max-width: 900px; }
.section-heading h2, .standards-copy h2, .contact-section h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.section-heading > p:last-child { max-width: 760px; color: var(--ink-soft); font-size: 18px; }
.intro { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(290px,.65fr); gap: 90px; align-items: end; }
.intro-copy p { margin: 0 0 20px; color: var(--ink-soft); font-size: 18px; }
.text-link { color: var(--teal-700); font-weight: 850; }
.text-link::after { content: "  >"; }

.capability-section { padding-top: 40px; }
.capability-switcher { margin-top: 42px; border-top: 1px solid var(--line); }
.capability-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-left: 1px solid var(--line); }
.capability-tabs button { min-height: 62px; padding: 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); color: var(--ink-soft); font-weight: 850; cursor: pointer; }
.capability-tabs button[aria-selected="true"] { border-bottom-color: var(--teal-800); background: var(--teal-800); color: var(--white); }
.capability-panel { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(290px,.8fr); gap: 70px; min-height: 360px; padding: 58px; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.capability-panel[hidden] { display: none; }
.panel-index { color: var(--coral); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.capability-panel h3 { max-width: 650px; margin: 12px 0 18px; font-size: clamp(28px,4vw,48px); line-height: 1.1; }
.capability-panel p { max-width: 650px; color: var(--ink-soft); font-size: 17px; }
.capability-panel ul { display: grid; align-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.capability-panel li { padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 750; }
.capability-panel li::before { content: ""; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; background: var(--teal-500); }

.workflow-section { background: var(--teal-950); color: var(--white); }
.workflow-inner { padding-top: 110px; padding-bottom: 110px; }
.light h2 { color: var(--white); }
.light > p:last-child { color: #b9dbd6; }
.workflow-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 48px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.workflow-steps li { min-width: 0; padding: 24px 22px 10px 0; border-right: 1px solid rgba(255,255,255,.16); }
.workflow-steps span { color: var(--yellow); font-size: 12px; font-weight: 900; }
.workflow-steps strong { display: block; margin-top: 34px; font-size: 20px; }
.workflow-steps p { color: #b9dbd6; font-size: 13px; }

.product-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.product-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.product-shot-wide { grid-column: 1 / -1; }
.product-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--mist); }
.product-shot figcaption { display: grid; gap: 4px; padding: 18px; }
.product-shot figcaption strong { font-size: 18px; }
.product-shot figcaption span { color: var(--ink-soft); font-size: 13px; }

.standards-section { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.9fr); gap: 90px; align-items: center; }
.standards-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.standards-note { padding-left: 14px; border-left: 3px solid var(--coral); font-size: 12px !important; }
.standards-list { border-top: 1px solid var(--line); }
.standards-list div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.standards-list strong { font-size: 18px; }
.standards-list span { color: var(--ink-soft); font-size: 13px; }

.contact-section { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 60px; align-items: end; padding: 80px max(24px, calc((100vw - var(--content)) / 2)); background: var(--teal-800); color: var(--white); }
.contact-actions { display: grid; gap: 16px; justify-items: start; }
.contact-email { border-bottom: 1px solid #8fe2d4; color: #d5eeea; overflow-wrap: anywhere; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; padding: 48px max(24px, calc((100vw - var(--content)) / 2)); background: #031f22; color: #b9dbd6; }
.footer-brand { display: flex; gap: 10px; align-items: center; color: var(--white); font-size: 20px; }
.site-footer p, .site-footer small { margin: 0; }
.site-footer div { display: flex; gap: 20px; }
.site-footer small { grid-column: 1 / -1; color: #7da5a2; }

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .site-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 16px 24px 24px; background: var(--teal-950); }
    .site-nav.open { display: grid; gap: 4px; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .hero { min-height: 780px; }
    .hero-overlay { background: linear-gradient(180deg, rgba(3,36,38,.78) 0%, rgba(3,36,38,.96) 58%, rgba(3,36,38,.99) 100%); }
    .hero-content { padding-bottom: 48px; }
    .proof-band { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .intro, .capability-panel, .standards-section, .contact-section { grid-template-columns: 1fr; gap: 34px; }
    .capability-panel { padding: 36px; }
    .workflow-steps { grid-template-columns: 1fr; }
    .workflow-steps li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .workflow-steps strong { margin-top: 10px; }
}

@media (max-width: 620px) {
    .site-header { min-height: 70px; padding: 10px 16px; }
    .site-brand img { width: 38px; height: 38px; }
    .site-brand small { display: none; }
    .site-nav { top: 70px; }
    .hero { min-height: 720px; }
    .hero-media { object-position: 58% top; }
    .hero-content, .section { width: min(100% - 32px, var(--content)); }
    .hero h1 { font-size: 54px; }
    .hero-lead { font-size: 19px; }
    .hero-actions { display: grid; }
    .hero-points { display: grid; gap: 10px; }
    .proof-band { margin: 0; }
    .proof-band div { padding: 20px 16px; }
    .section { padding: 76px 0; }
    .section-heading h2, .standards-copy h2, .contact-section h2 { font-size: 36px; }
    .capability-section { padding-top: 12px; }
    .capability-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .capability-panel { padding: 26px 20px; }
    .product-gallery { grid-template-columns: 1fr; }
    .product-shot-wide { grid-column: auto; }
    .contact-section { padding: 64px 16px; }
    .site-footer { grid-template-columns: 1fr; padding: 40px 16px; }
    .site-footer div { flex-wrap: wrap; }
    .site-footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
