:root {
  --ink: #07131d;
  --ink-2: #0d2130;
  --steel: #4c5d69;
  --paper: #f3f5f3;
  --white: #ffffff;
  --line: #cad1d4;
  --cyan: #14c8d4;
  --cyan-2: #7ce8ed;
  --orange: #ff6a2a;
  --max: 1220px;
  --shadow: 0 20px 60px rgba(3, 17, 27, .14);
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-140%); background: var(--cyan); color: var(--ink); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 82px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); transition: .3s ease; }
.site-header.scrolled { height: 70px; background: rgba(7,19,29,.94); backdrop-filter: blur(16px); box-shadow: 0 8px 25px rgba(0,0,0,.16); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mark { width: 45px; height: 45px; fill: var(--cyan); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 1.6rem; letter-spacing: .08em; font-family: Impact, "Arial Narrow", sans-serif; font-weight: 800; }
.brand-copy span { color: var(--cyan-2); font-size: .63rem; font-weight: 900; letter-spacing: .29em; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .88rem; font-weight: 700; }
.site-nav > a { transition: color .2s; }
.site-nav > a:hover { color: var(--cyan); }
.nav-cta { border: 1px solid var(--cyan); padding: 10px 16px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: white; transition: .25s; }

.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 74% 36%, #12364a 0, var(--ink-2) 30%, var(--ink) 68%); min-height: 860px; padding-top: 82px; }
.hero-grid, .contact-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(124,232,237,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(124,232,237,.18) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-glow { position: absolute; width: 540px; height: 540px; right: 8%; top: 20%; border-radius: 50%; background: rgba(20,200,212,.10); filter: blur(30px); }
.hero-layout { position: relative; min-height: 700px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 70px; align-items: center; }
.hero-copy { padding: 75px 0 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan-2); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 900; }
.eyebrow span { width: 30px; height: 2px; background: var(--cyan); }
.eyebrow.dark { color: #39757b; }
.hero h1, .section-heading h2, .capability-copy h2, .about h2, .contact h2 { margin: 24px 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 800; letter-spacing: .01em; line-height: .98; text-transform: uppercase; }
.hero h1 { max-width: 780px; font-size: clamp(3.6rem, 6.5vw, 7.1rem); }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 670px; margin: 0; color: #c5d3dc; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; cursor: pointer; font-weight: 900; letter-spacing: .025em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); box-shadow: 0 12px 30px rgba(20,200,212,.18); }
.button-primary:hover { background: var(--cyan-2); box-shadow: 0 18px 38px rgba(20,200,212,.26); }
.button-ghost { color: white; border-color: rgba(255,255,255,.35); }
.button-ghost:hover { border-color: var(--cyan); }
.hero-points { display: flex; gap: 35px; margin: 55px 0 0; padding: 0; list-style: none; color: #cfdae0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.hero-points li { display: grid; gap: 4px; }
.hero-points span { color: var(--cyan); font-size: .68rem; }

.hero-visual { position: relative; }
.machine-card { position: relative; background: linear-gradient(145deg, rgba(19,47,64,.96), rgba(6,17,25,.98)); border: 1px solid rgba(124,232,237,.32); box-shadow: 0 40px 100px rgba(0,0,0,.4), inset 0 0 50px rgba(20,200,212,.04); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.machine-card::before, .machine-card::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--cyan); }
.machine-card::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.machine-card::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.machine-topbar, .machine-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; color: #84a6b8; font: 700 .65rem/1 ui-monospace, monospace; letter-spacing: .12em; border-bottom: 1px solid rgba(124,232,237,.16); }
.machine-topbar i, .machine-footer i { width: 8px; height: 8px; border-radius: 50%; background: #68ff9f; box-shadow: 0 0 12px #68ff9f; }
.machine-body { min-height: 365px; padding: 35px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.dial-wrap { text-align: center; }
.dial { width: 165px; aspect-ratio: 1; margin: auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--cyan) 0 98%, rgba(124,232,237,.1) 98%); position: relative; box-shadow: 0 0 40px rgba(20,200,212,.15); }
.dial::before { content: ""; position: absolute; inset: 11px; border-radius: inherit; background: #0b1b27; border: 1px solid rgba(124,232,237,.25); }
.dial-core { position: relative; font-family: Impact, sans-serif; font-size: 3.2rem; color: white; }
.dial-core span { color: var(--cyan); font-size: 1rem; }
.dial-wrap p { color: #81a1b2; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.signal-panel { min-width: 0; }
.signal-heading { display: flex; justify-content: space-between; align-items: center; color: #9bb5c3; font: 700 .7rem/1 ui-monospace, monospace; }
.signal-heading b { color: #68ff9f; }
.signal-bars { height: 150px; margin: 22px 0; padding: 15px; display: flex; align-items: end; gap: 8px; border: 1px solid rgba(124,232,237,.16); background-image: linear-gradient(rgba(124,232,237,.1) 1px, transparent 1px); background-size: 100% 25%; }
.signal-bars i { width: 100%; height: var(--h); background: linear-gradient(to top, rgba(20,200,212,.3), var(--cyan)); box-shadow: 0 0 12px rgba(20,200,212,.25); }
.machine-readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.machine-readouts span { padding: 11px 8px; color: white; font: 800 .85rem/1.3 ui-monospace, monospace; border-left: 2px solid var(--cyan); background: rgba(255,255,255,.035); }
.machine-readouts small { display: block; margin-bottom: 5px; color: #66899a; font-size: .55rem; }
.machine-footer { border-top: 1px solid rgba(124,232,237,.16); border-bottom: 0; }
.machine-footer span:first-child { display: flex; align-items: center; gap: 8px; color: #a5bdc9; }
.floating-tag { position: absolute; padding: 9px 14px; color: var(--ink); background: var(--cyan); box-shadow: var(--shadow); font: 900 .65rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.tag-one { top: -18px; right: -8px; }
.tag-two { bottom: 38px; left: -28px; background: var(--orange); color: white; }
.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,.12); background: rgba(3,14,22,.58); }
.strip-track { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; overflow: hidden; color: #b6c7d0; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; font-size: .72rem; font-weight: 800; }
.strip-track i { width: 5px; height: 5px; background: var(--cyan); transform: rotate(45deg); }

.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 55px; }
.section-heading h2, .capability-copy h2, .about h2, .contact h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.section-heading h2 { margin-bottom: 0; max-width: 700px; }
.section-heading p { color: var(--steel); margin: 0 0 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 420px; padding: 34px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); transition: transform .25s, background .25s, box-shadow .25s; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: white; box-shadow: var(--shadow); }
.service-card.accent { background: var(--ink); color: white; }
.service-number { color: #7d8a91; font: 700 .7rem/1 ui-monospace, monospace; }
.service-icon { width: 48px; height: 48px; margin: 55px 0 28px; display: grid; place-items: center; color: var(--cyan); border: 1px solid var(--cyan); font: 700 1.35rem/1 ui-monospace, monospace; }
.service-card h3 { margin: 0 0 15px; font-size: 1.35rem; line-height: 1.25; }
.service-card p { color: var(--steel); }
.service-card.accent p { color: #a9bec9; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 6px 9px; color: #54646d; border: 1px solid #d5dbde; font-size: .7rem; font-weight: 800; }
.service-card.accent li { color: #b5c7d1; border-color: #304655; }
.service-cta { display: flex; flex-direction: column; justify-content: flex-end; color: white; background: var(--orange); }
.service-cta:hover { background: #ff763d; }
.service-cta .mini-label { margin: 0 auto auto 0; color: #fff0e9; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 900; }
.service-cta h3 { font-size: 2rem; }
.service-cta p { color: #fff5f0; }
.service-cta a { margin-top: 25px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.4); font-weight: 900; }

.capabilities { position: relative; color: white; background: var(--ink); overflow: hidden; }
.capabilities::after { content: "RCA"; position: absolute; right: -30px; bottom: -125px; color: rgba(255,255,255,.025); font: 900 25rem/1 Impact, sans-serif; }
.capability-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.capability-copy p { color: #a7bac5; }
.capability-list { margin-top: 38px; border-top: 1px solid #2b404e; }
.capability-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #2b404e; }
.capability-list b { color: var(--cyan); font: 700 .72rem/1.4 ui-monospace, monospace; }
.capability-list span { color: #a7bac5; }
.capability-list strong { display: block; margin-bottom: 3px; color: white; }
.blueprint { padding: 24px; border: 1px solid rgba(124,232,237,.26); background: #081a27; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.blueprint-label, .blueprint-footer { color: #75a4b5; font: 700 .63rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.blueprint svg { margin: 22px 0; border: 1px solid rgba(124,232,237,.08); background-image: linear-gradient(rgba(124,232,237,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(124,232,237,.08) 1px, transparent 1px); background-size: 24px 24px; }
.bp-lines path { fill: none; stroke: #19c9d5; stroke-width: 2; stroke-dasharray: 8 5; }
.bp-nodes rect { fill: #0d2837; stroke: #76dbe1; stroke-width: 1.5; }
.bp-text text { fill: #b8e6e8; text-anchor: middle; font: 700 11px ui-monospace, monospace; }
.bp-dots circle { fill: #ff6a2a; }
.blueprint-footer { display: flex; justify-content: space-between; }

.stats { padding: 50px 0; color: white; background: var(--cyan); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stats-grid > div { padding: 8px 28px; border-right: 1px solid rgba(7,19,29,.25); }
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid > div:last-child { border: 0; }
.stats strong { display: block; color: var(--ink); font: 800 3.7rem/1 Impact, sans-serif; }
.stats strong span { font-size: 1.6rem; }
.stats span { color: #153a43; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

.process-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { min-height: 275px; padding: 32px; background: var(--paper); }
.process-step span { color: var(--cyan); font: 800 .75rem/1 ui-monospace, monospace; }
.process-step h3 { margin: 65px 0 8px; font-size: 1.4rem; }
.process-step p { margin: 0; color: var(--steel); font-size: .9rem; }
.process-step::after { content: "→"; position: absolute; margin-top: -117px; margin-left: calc(100% - 27px); width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); background: var(--cyan); }
.process-step:last-child::after { display: none; }

.about { background: white; }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: stretch; }
.about-panel { position: relative; min-height: 570px; overflow: hidden; padding: 55px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(145deg, #102b3c, #06121b); }
.about-panel::after { content: ""; position: absolute; width: 350px; height: 350px; top: 65px; left: 50%; transform: translateX(-50%); border: 40px solid rgba(20,200,212,.12); border-radius: 50%; box-shadow: 0 0 0 35px rgba(20,200,212,.04); }
.warning-lines { position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: repeating-linear-gradient(135deg, var(--orange) 0 12px, transparent 12px 24px); opacity: .8; clip-path: polygon(100% 0,0 0,100% 100%); }
.panel-kicker { position: absolute; top: 42px; left: 45px; z-index: 2; color: var(--cyan); font-size: .7rem; font-weight: 900; letter-spacing: .18em; }
.about-panel h2, .about-panel p { position: relative; z-index: 2; }
.about-panel h2 { font-size: clamp(2.5rem,4vw,4rem); }
.about-panel p { color: #b2c6d0; }
.about-copy { align-self: center; }
.about-copy > p { color: var(--steel); font-size: 1.04rem; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-grid > div { min-height: 145px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-grid span { color: #2b747b; font-size: .68rem; letter-spacing: .15em; font-weight: 900; }
.value-grid p { margin-bottom: 0; color: var(--steel); font-size: .86rem; }

.contact { position: relative; overflow: hidden; padding: 110px 0; color: white; background: var(--ink); }
.contact-grid { opacity: .10; mask-image: none; }
.contact-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-copy p { color: #aec0c9; }
.contact-details { margin-top: 34px; display: grid; gap: 12px; }
.contact-details > * { padding: 14px 16px; display: grid; gap: 4px; border: 1px solid rgba(124,232,237,.16); background: rgba(255,255,255,.035); }
.contact-details span { color: #7da0af; font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { color: white; font-size: 1rem; overflow-wrap: anywhere; }
.contact-details a { transition: border-color .2s, background .2s, transform .2s; }
.contact-details a:hover { border-color: var(--cyan); background: rgba(20,200,212,.08); transform: translateX(3px); }
.contact-note { margin-top: 24px; padding: 18px; display: grid; gap: 4px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.04); }
.contact-note b { color: white; }
.contact-note span { color: #91a8b4; font-size: .84rem; }
.contact-note a { color: var(--cyan-2); font-weight: 800; }
.contact-form { position: relative; padding: 36px; border: 1px solid #2a4352; background: rgba(10,30,43,.78); backdrop-filter: blur(10px); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 17px; color: #a7bbc5; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; color: white; border: 1px solid #385261; outline: none; background: #081923; padding: 13px 14px; text-transform: none; letter-spacing: 0; transition: border .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(20,200,212,.12); }
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--cyan-2); font-size: .85rem; }
.form-status.success { color: #68ff9f; }
.form-status.error { color: #ff9d83; }
.form-disclaimer { margin: 5px 0 0; color: #6f8895; font-size: .7rem; }
.form-disclaimer a { color: #94cbd0; text-decoration: underline; text-underline-offset: 2px; }

.site-footer { color: #9eb0ba; background: #030b11; }
.footer-top { min-height: 180px; display: grid; grid-template-columns: .7fr 1.3fr .5fr; gap: 60px; align-items: center; }
.footer-brand { color: white; }
.footer-top p { max-width: 590px; margin: 0; font-size: .86rem; }
.footer-contact { display: grid; gap: 18px; }
.footer-contact address { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #7f98a5; font-size: .78rem; font-style: normal; }
.footer-contact address a { color: #bcd0d9; }
.footer-contact address a:hover { color: var(--cyan); }
.back-top { justify-self: end; color: var(--cyan); font-size: .8rem; font-weight: 900; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #172630; font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .site-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr; padding-bottom: 70px; }
  .hero { min-height: auto; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { width: min(680px, 90%); margin: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .capability-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .capability-copy { max-width: 750px; }
  .about-panel { min-height: 460px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stats-grid > div:nth-child(2) { border: 0; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2)::after { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 70px 0 auto; padding: 30px 22px 38px; display: grid; gap: 5px; background: #07131d; transform: translateY(-130%); transition: transform .3s; box-shadow: 0 20px 35px rgba(0,0,0,.3); }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 13px; border-bottom: 1px solid #1f3542; }
  .nav-cta { text-align: center; margin-top: 12px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-layout { gap: 25px; }
  .hero-copy { padding-top: 55px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-actions, .hero-points { flex-direction: column; }
  .hero-points { gap: 12px; }
  .hero-points li { display: flex; gap: 8px; }
  .hero-visual { width: 100%; }
  .machine-card { transform: none; }
  .machine-body { min-height: 0; grid-template-columns: 1fr; padding: 25px; }
  .dial { width: 140px; }
  .floating-tag { display: none; }
  .strip-track { justify-content: flex-start; overflow-x: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .capability-layout, .about-layout, .contact-layout { gap: 48px; }
  .blueprint { padding: 14px; overflow-x: auto; }
  .blueprint svg { min-width: 580px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 8px 14px; }
  .stats strong { font-size: 2.8rem; }
  .process-track { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .process-step { min-height: 230px; }
  .about-panel { min-height: 500px; padding: 38px 28px; }
  .value-grid, .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 50px 0; }
  .back-top { justify-self: start; }
  .footer-bottom { padding: 20px 0; display: grid; gap: 8px; }
}

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


.hero-watermark { position: absolute; inset: 120px auto auto 50%; transform: translateX(-6%); color: rgba(20,200,212,.08); font: 900 clamp(18rem, 35vw, 36rem)/.8 Impact, sans-serif; pointer-events: none; }
.hero-brand-punch { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; }
.hero-brand-mark { width: 64px; height: 64px; fill: var(--cyan); }
.hero-brand-punch strong { display: block; color: white; font: 900 2.6rem/.88 Impact, sans-serif; letter-spacing: .05em; }
.hero-brand-punch span { display: block; color: var(--cyan-2); font-size: .85rem; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; }
.hero-photo-card { position: relative; min-height: 620px; border: 1px solid rgba(124,232,237,.18); overflow: hidden; background: #041019; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,29,.3) 0%, rgba(7,19,29,.08) 30%, rgba(7,19,29,.22) 100%); }
.hero-photo-card .machine-card { position: absolute; right: 34px; bottom: 34px; width: min(88%, 470px); transform: none; backdrop-filter: blur(3px); }
.service-image { position: relative; margin: 18px -34px 24px; height: 165px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card.accent .service-image::after, .service-card .service-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,19,29,.32), transparent 50%); }
.service-card.accent .service-image { margin-top: 18px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.8rem; line-height: 1; font-family: Impact, sans-serif; text-transform: uppercase; }
.service-card p { color: var(--steel); font-size: .95rem; }
.service-card.accent p, .service-card.accent .service-number { color: #b6c9d3; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 6px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.65); font-size: .72rem; font-weight: 700; color: #4f5e67; }
.service-card.accent li { border-color: rgba(124,232,237,.18); color: #e6f5f6; background: rgba(255,255,255,.05); }
.service-cta { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #ff7d39, var(--orange)); color: white; }
.service-cta .mini-label { color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 800; }
.service-cta p { color: rgba(255,255,255,.92); }
.service-cta a { margin-top: 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 0 20px; border: 1px solid rgba(255,255,255,.45); color: white; font-weight: 900; }
.capability-media { min-height: 100%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.capability-media img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.about-photo-panel { padding: 0; display: flex; justify-content: flex-end; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,18,27,.92) 0%, rgba(7,22,32,.78) 40%, rgba(10,32,46,.45) 100%); }
/* Keep only text content above the image overlay. Do not alter the positioning
   of the absolutely-positioned photo, overlay, kicker or warning graphic. */
.about-panel > h2,
.about-panel > p { position: relative; z-index: 2; }
.about-panel h2 { margin-top: auto; max-width: 430px; }
.about-panel p { max-width: 430px; }
@media (max-width: 1040px) {
  .hero-watermark { font-size: 16rem; inset: 130px auto auto 60%; }
  .hero-photo-card { min-height: 540px; }
}
@media (max-width: 760px) {
  .hero-brand-mark { width: 54px; height: 54px; }
  .hero-brand-punch strong { font-size: 2rem; }
  .hero-brand-punch span { font-size: .72rem; }
  .hero-watermark { font-size: 10rem; inset: 100px auto auto 40%; }
  .hero-photo-card { min-height: 500px; }
  .hero-photo-card .machine-card { right: 14px; left: 14px; width: auto; bottom: 14px; }
  .service-image { margin-left: -24px; margin-right: -24px; height: 190px; }
  .capability-media img { min-height: 380px; }
}


/* Safari/iOS positioning guard for the Practical Thinking panel */
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo-overlay { position: absolute; inset: 0; }
.about-panel .panel-kicker { position: absolute; z-index: 3; }
.about-panel .warning-lines { position: absolute; z-index: 3; }

/* Footer accreditation */
.footer-meta { display: flex; align-items: center; gap: 24px; }
.footer-meta a { color: var(--cyan-2); font-weight: 800; transition: color .2s; }
.footer-meta a:hover { color: var(--cyan); }

/* Compact mobile layout */
@media (max-width: 760px) {
  body { line-height: 1.5; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 54px 0; }

  .site-header, .site-header.scrolled { height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 1.35rem; }
  .brand-copy span { font-size: .54rem; }
  .site-nav { inset: 64px 0 auto; padding: 18px 18px 24px; }
  .site-nav a { padding: 10px 12px; }

  .hero { padding-top: 64px; }
  .hero-layout { gap: 18px; padding-bottom: 34px; }
  .hero-copy { padding: 34px 0 12px; }
  .hero-brand-punch { margin-top: 12px; gap: 10px; }
  .hero-brand-mark { width: 44px; height: 44px; }
  .hero-brand-punch strong { font-size: 1.75rem; }
  .hero-brand-punch span { font-size: .62rem; letter-spacing: .22em; }
  .hero h1 { margin: 16px 0; font-size: clamp(2.65rem, 12.5vw, 4.1rem); line-height: .96; }
  .hero-lead { font-size: .98rem; line-height: 1.5; }
  .hero-actions { margin-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 9px; }
  .hero-actions .button { min-height: 46px; padding: 0 15px; font-size: .82rem; flex: 1 1 150px; }
  .hero-points { margin-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; font-size: .68rem; }
  .hero-points li { display: flex; align-items: center; gap: 6px; }
  .hero-watermark { font-size: 8rem; inset: 92px auto auto 42%; }
  .hero-photo-card { min-height: 400px; }
  .hero-photo { object-position: 62% center; }
  .hero-photo-card .machine-card { right: 10px; left: 10px; bottom: 10px; width: auto; }
  .machine-topbar, .machine-footer { padding: 9px 11px; font-size: .52rem; }
  .machine-body { padding: 16px; grid-template-columns: .72fr 1.28fr; gap: 14px; }
  .dial { width: 94px; }
  .dial-core { font-size: 2rem; }
  .dial-wrap p { margin-bottom: 0; font-size: .55rem; }
  .signal-bars { height: 90px; margin: 12px 0; padding: 8px; gap: 5px; }
  .machine-readouts span { padding: 7px 5px; font-size: .65rem; }
  .machine-readouts small { font-size: .46rem; }
  .hero-strip .strip-track { min-height: 50px; gap: 16px; font-size: .62rem; }

  .section-heading { gap: 12px; margin-bottom: 28px; }
  .section-heading h2, .capability-copy h2, .about h2, .contact h2 { margin: 14px 0; font-size: clamp(2.2rem, 10.5vw, 3.25rem); }
  .section-heading p { font-size: .92rem; }

  .service-card { min-height: 0; padding: 22px; }
  .service-image { height: 145px; margin: 12px -22px 16px; }
  .service-icon { width: 38px; height: 38px; margin: 12px 0 14px; font-size: 1rem; }
  .service-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
  .service-card p { margin: 0; font-size: .88rem; }
  .service-card ul { margin-top: 13px; gap: 5px; }
  .service-card li { padding: 4px 7px; font-size: .62rem; }
  .service-cta { min-height: 260px; padding: 28px 22px; }
  .service-cta h3 { font-size: 1.75rem; }
  .service-cta a { margin-top: 16px; min-height: 46px; padding: 0 14px; border-top: 0; border: 1px solid rgba(255,255,255,.42); }

  .capability-layout, .about-layout, .contact-layout { gap: 28px; }
  .capability-list { margin-top: 22px; }
  .capability-list > div { grid-template-columns: 36px 1fr; gap: 10px; padding: 11px 0; font-size: .88rem; }
  .capability-media img { min-height: 285px; max-height: 330px; }

  .stats { padding: 26px 0; }
  .stats-grid { gap: 16px 0; }
  .stats-grid > div { padding: 4px 12px; }
  .stats strong { font-size: 2.35rem; }
  .stats strong span { font-size: 1.1rem; }
  .stats span { font-size: .62rem; }

  .process-step { min-height: 0; padding: 20px; }
  .process-step h3 { margin: 18px 0 5px; font-size: 1.15rem; }
  .process-step p { font-size: .84rem; }

  .about-panel { min-height: 370px; padding: 28px 22px; }
  .panel-kicker { top: 24px; left: 22px; }
  .about-panel h2 { font-size: 2.4rem; margin-bottom: 12px; }
  .about-panel p { margin-bottom: 0; font-size: .88rem; }
  .about-copy > p { font-size: .94rem; }
  .value-grid { margin-top: 24px; }
  .value-grid > div { min-height: 0; padding: 16px; }
  .value-grid p { font-size: .8rem; }

  .contact { padding: 56px 0; }
  .contact-copy > p { font-size: .92rem; }
  .contact-details { margin-top: 22px; gap: 8px; }
  .contact-details > * { padding: 10px 12px; }
  .contact-note { margin-top: 14px; padding: 13px; }
  .contact-form { padding: 18px 14px; }
  .contact-form label { margin-bottom: 12px; gap: 6px; font-size: .65rem; }
  .contact-form input, .contact-form textarea, .contact-form select { padding: 10px 11px; }
  .contact-form textarea { min-height: 105px; }

  .footer-top { min-height: 0; gap: 16px; padding: 30px 0 24px; }
  .footer-contact { gap: 10px; }
  .footer-contact address { gap: 6px 14px; }
  .footer-bottom { padding: 14px 0 18px; gap: 7px; }
  .footer-meta { display: grid; gap: 5px; }
}

/* Responsive stability fixes — keep hero status labels inside the media frame. */
.hero-photo-card .tag-one {
  top: 16px;
  right: 16px;
}
.hero-photo-card .tag-two {
  top: 16px;
  bottom: auto;
  left: 16px;
}

/* Prevent the status panel footer from compressing into overlapping text. */
.machine-footer {
  gap: 16px;
}
.machine-footer > span {
  min-width: 0;
}
.machine-footer > span:last-child {
  margin-left: auto;
  white-space: nowrap;
}

/* Additional tablet guard between the desktop and phone layouts. */
@media (min-width: 761px) and (max-width: 1040px) {
  .hero-visual { width: min(720px, 100%); }
  .hero-photo-card { min-height: 520px; }
  .hero-photo-card .machine-card {
    width: min(72%, 470px);
    right: 24px;
    bottom: 24px;
  }
  .hero-photo-card .tag-one { top: 14px; right: 14px; }
  .hero-photo-card .tag-two { top: 14px; left: 14px; }
}

/* Small-phone hardening. */
@media (max-width: 430px) {
  .hero-photo-card { min-height: 370px; }
  .machine-body { padding: 13px; gap: 10px; }
  .dial { width: 82px; }
  .dial-core { font-size: 1.75rem; }
  .signal-bars { height: 76px; }
  .machine-readouts { gap: 5px; }
  .machine-readouts span { font-size: .58rem; padding: 6px 4px; }
  .machine-footer { gap: 8px; }
  .machine-footer > span { font-size: .48rem; }
  .machine-footer > span:last-child { white-space: nowrap; }
}

/* Layout integrity fixes found during multi-viewport audit. */
.process-step { position: relative; }
.process-step::after {
  top: 50%;
  right: -15px;
  margin: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.machine-body {
  grid-template-columns: minmax(140px, .78fr) minmax(0, 1.22fr);
}
.signal-panel,
.machine-readouts,
.machine-readouts span { min-width: 0; }
.machine-readouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.machine-readouts small { overflow-wrap: anywhere; }

@media (max-width: 1180px) and (min-width: 761px) {
  .machine-body { grid-template-columns: minmax(125px, .72fr) minmax(0, 1.28fr); }
  .dial { width: 145px; }
}

@media (max-width: 760px) {
  .machine-body { grid-template-columns: minmax(88px, .72fr) minmax(0, 1.28fr); }
  .process-step::after { display: none; }
}

/* Avoid unexpected horizontal scrolling from decorative elements. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Prevent large headline intrinsic sizing from squeezing the hero visual on wide screens. */
.hero-layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
}
.hero-copy,
.hero-visual { min-width: 0; }
.dial { max-width: 100%; }

@media (max-width: 1040px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Collapse the main navigation before it becomes cramped on tablets/small laptops. */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    padding: 22px 22px 28px;
    display: grid;
    gap: 4px;
    background: #07131d;
    box-shadow: 0 20px 35px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a { padding: 11px 13px; border-bottom: 1px solid #1f3542; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .site-nav { inset: 64px 0 auto; padding: 18px 18px 24px; }
}

@media (max-width: 900px) {
  .site-nav { transition: opacity .22s ease, transform .22s ease; }
}

/* v4 mobile layout hardening: keep complex hero media and about panel in normal flow. */
@media (max-width: 760px) {
  /* The service taxonomy is repeated immediately below in the service cards.
     Removing it on phones avoids horizontal clipping and unnecessary page length. */
  .hero-strip { display: none; }

  /* Stack the hero photograph and system-status panel instead of absolutely
     overlaying a tall dashboard inside a short cropped photo frame. */
  .hero-photo-card {
    min-height: 0;
    overflow: hidden;
    display: block;
    border-color: rgba(124,232,237,.18);
  }
  .hero-photo {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: clamp(190px, 55vw, 260px);
    object-fit: cover;
    object-position: 66% center;
  }
  .hero-photo-overlay { display: none; }
  .hero-photo-card .machine-card {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
    border-width: 1px 0 0;
    box-shadow: none;
    transform: none;
  }
  .hero-photo-card .tag-one,
  .hero-photo-card .tag-two { display: none; }

  .machine-body {
    min-height: 0;
    grid-template-columns: minmax(92px, .72fr) minmax(0, 1.28fr);
    gap: 12px;
    padding: 16px;
  }
  .dial { width: min(96px, 100%); }
  .dial-core { font-size: 2rem; }
  .signal-bars { height: 86px; }
  .machine-footer {
    flex-wrap: wrap;
    row-gap: 5px;
  }
  .machine-footer > span:last-child { margin-left: auto; }

  /* Build the practical-thinking card as image + content in normal flow.
     This removes the iOS/Chrome absolute-position collision seen on phones. */
  .about-photo-panel {
    display: block;
    min-height: 0;
    padding: 0 0 24px;
    overflow: hidden;
    background: #07131d;
  }
  .about-photo {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: clamp(205px, 62vw, 285px);
    object-fit: cover;
    object-position: center;
  }
  .about-photo-overlay { display: none; }
  .about-panel::after { display: none; }
  .about-panel .warning-lines {
    top: 0;
    right: 0;
    width: 96px;
    height: 96px;
  }
  .about-panel .panel-kicker {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px 22px 0;
  }
  .about-panel h2 {
    max-width: none;
    margin: 8px 22px 12px;
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    line-height: .98;
  }
  .about-panel p {
    max-width: none;
    margin: 0 22px;
    font-size: .88rem;
    line-height: 1.5;
  }
}

@media (max-width: 430px) {
  .hero-photo { height: 205px; }
  .machine-body {
    grid-template-columns: minmax(82px, .7fr) minmax(0, 1.3fr);
    padding: 13px;
    gap: 9px;
  }
  .dial { width: 82px; }
  .signal-bars { height: 72px; }
  .machine-readouts span { padding: 6px 4px; }
  .about-photo { height: 220px; }
}

@media (max-width: 360px) {
  .machine-body { grid-template-columns: 1fr; }
  .dial { width: 92px; }
  .dial-wrap { display: grid; place-items: center; }
  .signal-bars { height: 70px; }
  .machine-readouts { gap: 4px; }
}

/* Fixed-header anchor safety. */
section[id] { scroll-margin-top: 82px; }
@media (max-width: 760px) {
  section[id] { scroll-margin-top: 64px; }
}
