:root {
    --ink: #07141a;
    --ink-2: #0c2028;
    --paper: #f6f8f8;
    --white: #ffffff;
    --muted: #66757c;
    --line: rgba(7, 20, 26, 0.12);
    --teal: #10a9b8;
    --teal-bright: #27c2d2;
    --teal-dark: #04747a;
    --lime: #b8f24c;
    --max: 1180px;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(3, 17, 22, 0.12);
}

* { box-sizing: border-box; }

/* iPhone and mobile Safari stability */
html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
}
a,
button {
    -webkit-tap-highlight-color: transparent;
}
.site-header.scrolled,
.nav-links,
.contact-form,
.industry-image span {
    -webkit-backdrop-filter: blur(18px);
}
.hero-grid-lines {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 25%,
        #000 75%,
        transparent
    );
}
section[id] {
    scroll-margin-top: 92px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    font-size: 16px;
}
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;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.hidden, .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 999;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 800;
    transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-light { background: var(--paper); }
.section-dark { color: white; background: var(--ink); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding: 14px 0;
    transition: background .25s ease, padding .25s ease, border-color .25s ease;
}
.site-header.scrolled {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(7, 20, 26, .9);
    backdrop-filter: blur(20px);
}
.nav-shell {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
    text-decoration: none;
}
.brand-logo-shell {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #edf7f8);
    box-shadow: 0 9px 24px rgba(0,0,0,.2);
}
.brand-logo-shell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.brand-copy strong {
    overflow: hidden;
    font-size: 14px;
    letter-spacing: .1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-copy small {
    color: rgba(255,255,255,.55);
    font-size: 8px;
    letter-spacing: .9px;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.76); }
.nav-links > a:not(.button) { text-decoration: none; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.nav-links > a:not(.button):hover { color: white; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.05); }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: white; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #032229; box-shadow: 0 12px 30px rgba(16, 169, 184, .24); }
.button-primary:hover { box-shadow: 0 16px 38px rgba(16, 169, 184, .34); }
.button-ghost { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.34); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button-full { width: 100%; }

.hero { position: relative; min-height: 860px; overflow: hidden; padding: 165px 0 90px; }
.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -260px;
    top: -250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39,194,210,.22), rgba(39,194,210,0) 68%);
}
.hero::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    left: -250px;
    bottom: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,242,76,.12), rgba(184,242,76,0) 70%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 2px; background: var(--teal-bright); }
.eyebrow.dark { color: var(--muted); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -4px; font-weight: 780; }
.hero h1 em { color: var(--teal-bright); font-style: normal; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.hero-proof div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof strong { display: block; color: white; font-size: 20px; }
.hero-proof span { display: block; margin-top: 5px; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.45; }
.hero-proof .tsbc-proof {
    position: relative;
    display: block;
    padding: 18px 0 2px 18px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.hero-proof .tsbc-proof::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 2px;
    width: 4px;
    border-radius: 3px;
    background: #00497b;
}
.hero-proof .tsbc-proof strong {
    display: block;
    color: #55c7da;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: 1px;
}
.tsbc-number {
    display: block !important;
    margin-top: 9px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 750;
    letter-spacing: 0;
}
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.logo-stage {
    position: absolute;
    inset: 18px 32px auto 34px;
    z-index: 2;
    height: 250px;
    display: grid;
    place-items: center;
    padding: 22px 28px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,247,248,.93));
    box-shadow: 0 36px 90px rgba(0,0,0,.27);
    transform: rotate(2deg);
}
.logo-stage img {
    width: min(100%, 430px);
    max-height: 220px;
    object-fit: contain;
}
.logo-stage .intro-logo {
    animation: intro-logo-float 5s ease-in-out 3s infinite alternate;
}
.control-console {
    position: absolute;
    inset: auto 0 0 64px;
    z-index: 3;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(14,37,45,.97), rgba(6,22,28,.98));
    box-shadow: 0 36px 100px rgba(0,0,0,.4);
}
.console-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-top > div { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #66f28a; box-shadow: 0 0 0 5px rgba(102,242,138,.09), 0 0 14px rgba(102,242,138,.8); animation: pulse 2s infinite; }
.console-top small, .console-time { color: rgba(255,255,255,.53); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.console-time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.metric { padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 17px; background: rgba(255,255,255,.035); }
.metric.wide { grid-column: 1 / -1; }
.metric > span { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; }
.metric strong { display: block; margin-top: 7px; color: white; font-size: 25px; letter-spacing: -1px; }
.metric strong small { color: var(--teal-bright); font-size: 10px; letter-spacing: 0; }
.meter { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.09); }
.meter i { display: block; width: var(--level); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); animation: load 1.5s ease both; }
.network-row { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
.network-row b { padding: 7px 9px; border: 1px solid rgba(39,194,210,.25); border-radius: 9px; color: #a6edf3; background: rgba(39,194,210,.06); font-size: 9px; }
.network-row i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(39,194,210,.15), var(--teal-bright)); position: relative; }
.network-row i::after { content: ""; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 8px var(--teal-bright); }
.signal { position: absolute; border: 1px solid rgba(39,194,210,.13); border-radius: 50%; }
.signal-one { width: 420px; height: 420px; right: 16px; top: 42px; }
.signal-two { width: 520px; height: 520px; right: -34px; top: -8px; }
.hero-grid-lines { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }

.trust-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; }
.trust-grid span { min-height: 34px; display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--line); color: #47575e; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-align: center; text-transform: uppercase; }
.trust-grid span:last-child { border-right: 0; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; gap: 80px; margin-bottom: 50px; }
.section-heading h2, .capabilities h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -2.5px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 410px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(16,169,184,.35); box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -95px; top: -95px; border-radius: 50%; background: rgba(16,169,184,.08); transition: transform .3s ease; }
.service-card:hover::after { transform: scale(1.6); }
.service-number { position: absolute; right: 24px; top: 22px; color: #a6b0b4; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 800; }
.service-card svg { width: 46px; height: 46px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 28px 0 12px; font-size: 22px; letter-spacing: -.5px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card ul { margin: 25px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.service-card li { position: relative; padding-left: 17px; color: #405158; font-size: 12px; font-weight: 650; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.capabilities { position: relative; overflow: hidden; }
.capabilities::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(39,194,210,.12), transparent 36%); }
.capabilities-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 85px; }
.capabilities-copy > p:not(.eyebrow) { max-width: 590px; margin: 25px 0 0; color: rgba(255,255,255,.62); line-height: 1.75; }
.check-list { display: grid; gap: 14px; margin: 35px 0; }
.check-list div { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 650; }
.check-list i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: rgba(39,194,210,.12); color: var(--teal-bright); font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 800; }
.text-link span { color: var(--teal-bright); font-size: 21px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.system-diagram { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.diagram-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.diagram-title b { padding: 5px 8px; border-radius: 8px; color: #7cf19c; background: rgba(124,241,156,.08); font-size: 8px; }
.diagram-stage { position: relative; aspect-ratio: 1.38; margin-top: 16px; }
.diagram-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-lines path { fill: none; stroke: rgba(39,194,210,.45); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 12s linear infinite; }
.diagram-lines circle { fill: var(--teal-bright); filter: drop-shadow(0 0 6px var(--teal-bright)); }
.diagram-node { position: absolute; z-index: 2; width: 104px; height: 74px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: #0a222b; box-shadow: 0 15px 30px rgba(0,0,0,.2); }
.diagram-node small { color: rgba(255,255,255,.42); font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.diagram-node strong { color: white; font-size: 20px; }
.diagram-node.plc { left: 3%; top: 4%; }
.diagram-node.hmi { right: 3%; top: 4%; }
.diagram-node.drive { left: 3%; bottom: 4%; }
.diagram-node.cloud { right: 3%; bottom: 4%; }
.diagram-node.field { display: none; }
.diagram-node.core { left: 50%; top: 50%; width: 124px; height: 94px; transform: translate(-50%,-50%); border-color: rgba(39,194,210,.35); background: linear-gradient(145deg, #0b303b, #082029); box-shadow: 0 0 0 10px rgba(39,194,210,.04), 0 20px 50px rgba(0,0,0,.35); }
.diagram-node.core strong { color: var(--teal-bright); font-size: 30px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.industry-image { position: relative; height: 250px; overflow: hidden; background-color: var(--ink-2); }
.industry-image::before, .industry-image::after { content: ""; position: absolute; }
.industry-image span { position: absolute; left: 22px; top: 20px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; color: white; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; backdrop-filter: blur(10px); }
.industry-image.food { background: radial-gradient(circle at 72% 32%, rgba(39,194,210,.25), transparent 36%), linear-gradient(145deg, #0d2933, #07141a); }
.industry-image.food::before { width: 75%; height: 110px; left: 13%; top: 73px; border: 3px solid rgba(255,255,255,.18); border-radius: 55px 55px 25px 25px; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(39,194,210,.2) 22px 24px); }
.industry-image.food::after { width: 70%; height: 14px; left: 15%; bottom: 42px; border-radius: 99px; background: linear-gradient(90deg, var(--teal-dark), var(--teal-bright)); box-shadow: 0 -55px 0 rgba(255,255,255,.05); }
.industry-image.agriculture { background: linear-gradient(165deg, #102b31 0 50%, #0b6f69 50% 62%, #0d4145 62%); }
.industry-image.agriculture::before { width: 86px; height: 86px; right: 48px; top: 62px; border: 8px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: inset 0 0 0 16px rgba(39,194,210,.16), 0 0 0 20px rgba(255,255,255,.03); }
.industry-image.agriculture::after { width: 130px; height: 5px; right: 26px; top: 102px; background: var(--teal-bright); transform: rotate(-8deg); transform-origin: right; box-shadow: 0 0 18px rgba(39,194,210,.6); }
.industry-image.manufacturing { background: linear-gradient(145deg, #101d23, #07141a); }
.industry-image.manufacturing::before { width: 75%; height: 95px; left: 13%; bottom: 40px; border: 3px solid rgba(255,255,255,.17); background: repeating-linear-gradient(90deg, rgba(39,194,210,.12) 0 34px, transparent 34px 52px); clip-path: polygon(0 35%, 14% 35%, 14% 0, 32% 25%, 32% 0, 50% 25%, 50% 0, 68% 25%, 68% 0, 86% 25%, 86% 0, 100% 35%, 100% 100%, 0 100%); }
.industry-image.manufacturing::after { width: 8px; height: 110px; right: 55px; top: 24px; background: linear-gradient(var(--teal-bright), transparent); box-shadow: -44px 20px 0 rgba(39,194,210,.38), -88px 4px 0 rgba(39,194,210,.2); }
.industry-card > div:last-child { padding: 27px; }
.industry-card h3 { margin: 0 0 11px; font-size: 21px; }
.industry-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.approach-section { background: #edf1f1; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--teal-dark); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; }
.process-list h3 { margin: 0; font-size: 23px; }
.process-list p { max-width: 780px; margin: 8px 0 0; color: var(--muted); line-height: 1.65; }

.contact-section { position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 720px; height: 720px; right: -300px; bottom: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(39,194,210,.16), transparent 65%); }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-copy > p:not(.eyebrow) { margin: 28px 0 0; color: rgba(255,255,255,.63); line-height: 1.75; }
.contact-facts { display: grid; gap: 18px; margin-top: 42px; }
.contact-facts div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-facts small { display: block; color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.contact-facts strong { display: block; margin-top: 6px; color: rgba(255,255,255,.85); font-size: 14px; }
.contact-facts strong a { color: inherit; text-decoration: none; transition: color .2s ease; }
.contact-facts strong a:hover { color: var(--teal-bright); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-email-button { border-color: rgba(255,255,255,.24); color: white; }
.contact-email-button:hover { border-color: var(--teal-bright); color: white; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: rgba(255,255,255,.55); font-size: 11px; }
.footer-contact a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-contact a:hover { color: var(--teal-bright); }
.contact-form { display: grid; gap: 16px; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(255,255,255,.055); box-shadow: 0 35px 80px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; outline: none; background: rgba(0,0,0,.18); color: white; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { min-height: 130px; padding: 14px; resize: vertical; }
.contact-form select option { color: var(--ink); background: white; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.3); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal-bright); background: rgba(0,0,0,.28); box-shadow: 0 0 0 4px rgba(39,194,210,.1); }
.form-note { color: rgba(255,255,255,.36); font-size: 9px; line-height: 1.5; text-align: center; }

.site-footer { padding: 36px 0; color: white; background: #041015; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-shell {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 5px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #edf7f8);
}
.footer-logo-shell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-brand > div { display: grid; gap: 4px; }
.footer-brand strong { font-size: 14px; }
.footer-brand > div span { color: rgba(255,255,255,.45); font-size: 10px; }
.footer-links { display: flex; justify-content: center; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.56); text-decoration: none; font-size: 11px; font-weight: 700; }
.footer-links a:hover { color: white; }
.site-footer p { margin: 0; color: rgba(255,255,255,.35); font-size: 9px; white-space: nowrap; }

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

@keyframes pulse { 50% { opacity: .45; } }
@keyframes intro-logo-float {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}
@keyframes load { from { width: 0; } }
@keyframes dash { to { stroke-dashoffset: -120; } }

@media (max-width: 1020px) {
    .nav-links { gap: 18px; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 70px; }
    .hero-copy { max-width: 820px; }
    .hero-visual { min-height: 600px; max-width: 650px; width: 100%; margin: auto; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 0; }
    .trust-grid span:nth-child(3) { border-right: 0; }
    .service-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .capabilities-grid, .contact-grid { grid-template-columns: 1fr; }
    .capabilities-copy { max-width: 760px; }
    .system-diagram { max-width: 760px; width: 100%; margin: auto; }
    .contact-copy { max-width: 760px; }
    .footer-grid { grid-template-columns: 1fr auto; }
    .footer-links { display: none; }
}

@media (max-width: 780px) {
    :root {
        --radius: 20px;
    }

    .section {
        padding: 76px 0;
    }

    .site-header {
        padding:
            calc(8px + env(safe-area-inset-top))
            0
            8px;
        background: rgba(7, 20, 26, .94);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .site-header.scrolled {
        padding:
            calc(6px + env(safe-area-inset-top))
            0
            6px;
    }

    .nav-shell {
        width: calc(100% - 24px);
        min-height: 56px;
        gap: 12px;
    }

    .brand {
        flex: 1 1 auto;
        gap: 9px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-logo-shell {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        padding: 3px;
        border-radius: 13px;
    }

    .brand-copy strong {
        max-width: min(190px, 46vw);
        font-size: 12px;
    }

    .menu-toggle {
        display: block;
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        touch-action: manipulation;
    }

    .nav-links {
        position: fixed;
        z-index: 120;
        top: calc(72px + env(safe-area-inset-top));
        left: 12px;
        right: 12px;
        display: none;
        max-height: calc(100dvh - 92px - env(safe-area-inset-top));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 18px;
        background: rgba(7, 20, 26, .99);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .38);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a:not(.button) {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 10px;
        font-size: 15px;
    }

    .nav-links .button {
        min-height: 50px;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding:
            calc(112px + env(safe-area-inset-top))
            0
            68px;
    }

    .hero::before {
        width: 430px;
        height: 430px;
        right: -240px;
        top: -120px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .eyebrow span {
        width: 24px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(38px, 11.2vw, 52px);
        line-height: 1.02;
        letter-spacing: -2.2px;
    }

    .hero-lead {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.62;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 28px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 54px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 36px;
    }

    .hero-proof > div {
        min-height: 72px;
        display: grid;
        grid-template-columns: minmax(104px, 128px) 1fr;
        align-items: center;
        gap: 14px;
        padding: 15px 0;
    }

    .hero-proof strong {
        font-size: 17px;
    }

    .hero-proof span {
        margin: 0;
        font-size: 11px;
    }

    .hero-proof .tsbc-proof {
        display: block;
        min-height: 72px;
        padding: 17px 0 9px 17px;
    }

    .hero-proof .tsbc-proof::before {
        top: 17px;
        bottom: 9px;
    }

    .hero-proof .tsbc-proof strong {
        font-size: 11px;
        letter-spacing: .8px;
    }

    .tsbc-number {
        margin-top: 8px !important;
        font-size: 14px !important;
    }

    /* Stack the hero artwork instead of overlapping it on narrow screens. */
    .hero-visual {
        min-height: 0;
        display: block;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .logo-stage,
    .control-console {
        position: relative;
        inset: auto;
        width: 100%;
        transform: none;
    }

    .logo-stage {
        height: 190px;
        padding: 18px 22px;
        border-radius: 24px;
    }

    .logo-stage img {
        max-height: 160px;
    }

    .control-console {
        margin-top: 14px;
        padding: 17px;
        border-radius: 22px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    }

    .signal {
        display: none;
    }

    .console-grid {
        gap: 10px;
        margin-top: 14px;
    }

    .metric {
        padding: 14px;
        border-radius: 14px;
    }

    .metric strong {
        font-size: 22px;
    }

    .network-row {
        gap: 4px;
    }

    .network-row b {
        padding: 6px 7px;
        font-size: 8px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .trust-grid span {
        min-height: 52px;
        padding: 8px 9px;
        border-bottom: 1px solid var(--line);
        font-size: 9px;
        letter-spacing: .35px;
    }

    .trust-grid span:nth-child(2n) {
        border-right: 0;
    }

    .trust-grid span:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 34px;
    }

    .section-heading h2,
    .capabilities h2,
    .contact-copy h2 {
        font-size: clamp(34px, 9vw, 42px);
        line-height: 1.07;
        letter-spacing: -1.7px;
    }

    .section-heading > p {
        font-size: 15px;
    }

    .service-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 24px;
    }

    .service-card h3 {
        margin-top: 24px;
        font-size: 21px;
    }

    .capabilities-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .system-diagram {
        width: 100%;
        padding: 15px;
        border-radius: 22px;
    }

    .diagram-title {
        gap: 12px;
        font-size: 8px;
        letter-spacing: .7px;
    }

    .diagram-stage {
        min-height: 330px;
        aspect-ratio: 1 / 1;
    }

    .diagram-node {
        width: 78px;
        height: 58px;
        border-radius: 14px;
    }

    .diagram-node strong {
        font-size: 16px;
    }

    .diagram-node.core {
        width: 98px;
        height: 76px;
    }

    .diagram-node.core strong {
        font-size: 25px;
    }

    .industry-image {
        height: 220px;
    }

    .process-list li {
        grid-template-columns: 52px 1fr;
        gap: 12px;
        padding: 24px 0;
    }

    .process-list h3 {
        font-size: 20px;
    }

    .contact-facts {
        margin-top: 32px;
    }

    .contact-facts strong,
    .contact-facts a {
        overflow-wrap: anywhere;
    }

    .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .contact-actions .button {
        width: 100%;
        min-height: 54px;
    }

    .contact-form {
        padding: 20px;
        border-radius: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form input,
    .contact-form select {
        min-height: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 22px;
    }

    .footer-brand {
        justify-content: center;
        text-align: left;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer {
        padding-bottom: calc(32px + env(safe-area-inset-bottom));
    }

    .site-footer p {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .wrap {
        width: calc(100% - 24px);
    }

    .brand-copy strong {
        max-width: 142px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: clamp(36px, 11.4vw, 44px);
        letter-spacing: -1.8px;
    }

    .hero-proof > div {
        grid-template-columns: 106px 1fr;
    }

    .logo-stage {
        height: 168px;
        padding: 15px;
    }

    .logo-stage img {
        max-height: 142px;
    }

    .control-console {
        padding: 14px;
    }

    .console-grid {
        grid-template-columns: 1fr;
    }

    .metric.wide {
        grid-column: auto;
    }

    .network-row b {
        padding: 6px;
        font-size: 7px;
    }

    .section-heading h2,
    .capabilities h2,
    .contact-copy h2 {
        font-size: 34px;
    }

    .service-card,
    .industry-card > div:last-child {
        padding: 22px;
    }

    .diagram-stage {
        min-height: 300px;
    }

    .diagram-node {
        width: 70px;
        height: 54px;
    }

    .diagram-node.core {
        width: 90px;
        height: 70px;
    }
}

@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; }
}
