:root {
    --bg: #f4f7f8;
    --bg-strong: #e8f0f2;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: rgba(255, 255, 255, 0.9);
    --surface-contrast: #07131a;
    --ink: #08131a;
    --muted: #5d6d76;
    --line: rgba(8, 19, 26, 0.09);
    --accent: #0aa8c8;
    --accent-strong: #0a73d8;
    --accent-soft: rgba(10, 115, 216, 0.12);
    --success: #14735f;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shadow-lg: 0 30px 80px rgba(8, 19, 26, 0.12);
    --shadow-md: 0 16px 36px rgba(8, 19, 26, 0.08);
    --container: min(1180px, calc(100vw - 40px));
    --header-height: 88px;
    --font-sans: "Manrope", "SF Pro Display", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.012em;
    background:
        linear-gradient(180deg, #fbfdfe 0%, var(--bg) 56%, #eef3f5 100%);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 28px 100%;
    opacity: 0.22;
    mask-image: radial-gradient(circle at center, black 46%, transparent 92%);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.ambient {
    position: fixed;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.ambient--left {
    left: -12rem;
    top: -8rem;
    background: rgba(10, 115, 216, 0.14);
}

.ambient--right {
    right: -10rem;
    top: 8rem;
    background: rgba(10, 168, 200, 0.18);
}

.site-shell {
    position: relative;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

p,
h1,
h2,
h3 {
    overflow-wrap: break-word;
}

p {
    margin: 0;
    max-width: 66ch;
}

.section {
    padding: 5.5rem 0;
}

.section--compact {
    padding: 2rem 0;
}

.section--contrast {
    position: relative;
}

.section--contrast::before {
    content: "";
    position: absolute;
    inset: 3rem 0;
    border-block: 1px solid rgba(8, 19, 26, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(228, 239, 242, 0.64));
    z-index: -1;
}

.eyebrow,
.detail-label {
    margin: 0 0 1rem;
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.4rem;
}

.section-heading h2,
.footer-copy h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.section-heading p,
.footer-copy > p,
.hero-copy__lede,
.service-card p,
.industry-card p,
.knowledge-card p,
.process-card p,
.excellence-card p,
.contact-panel__card p {
    color: var(--muted);
    line-height: 1.7;
}

.glass-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding-top: 1rem;
}

.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-height);
    padding: 1rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .header-bar {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(8, 19, 26, 0.07);
    box-shadow: var(--shadow-md);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.brand__logo {
    width: auto;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand__descriptor {
    white-space: nowrap;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-nav {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.35rem;
    color: var(--muted);
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.3rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #fff;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(10, 115, 216, 0.22);
}

.button:disabled {
    cursor: wait;
    opacity: 0.8;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border: 1px solid rgba(8, 19, 26, 0.08);
    box-shadow: none;
}

.menu-toggle {
    display: none;
    justify-self: end;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(8, 19, 26, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1rem;
    height: 2px;
    margin: 0.35rem auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    position: relative;
    padding-top: 2rem;
    min-height: calc(100vh - 1rem);
}

.hero-orbit {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 28%, rgba(10, 168, 200, 0.22), transparent 18%),
        radial-gradient(circle at 30% 20%, rgba(10, 115, 216, 0.14), transparent 20%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 2rem;
    min-height: calc(100vh - var(--header-height) - 4rem);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.6rem, 8vw, 7rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
    max-width: 10ch;
}

.hero-copy__lede {
    max-width: 640px;
    font-size: 1.06rem;
    margin: 1.4rem 0 0;
    line-height: 1.72;
}

.hero-copy,
.section-heading,
.footer-copy,
.contact-panel__card,
.contact-form,
.service-card,
.industry-card,
.knowledge-card,
.process-card,
.excellence-card {
    text-align: left;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-metrics article {
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(8, 19, 26, 0.06);
}

.hero-metrics article,
.service-card,
.knowledge-card,
.industry-card,
.process-card,
.excellence-card {
    min-width: 0;
}

.hero-metrics strong {
    display: block;
    font-size: 0.97rem;
    letter-spacing: -0.025em;
}

.hero-metrics span {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.58;
}

.hero-panel__frame {
    padding: 1rem;
    border-radius: var(--radius-xl);
}

.hero-panel__screen {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: calc(var(--radius-xl) - 8px);
    background:
        radial-gradient(circle at top left, rgba(10, 168, 200, 0.2), transparent 18%),
        linear-gradient(180deg, #0a1821 0%, #08131a 100%);
}

.hero-panel__image {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.hero-panel__scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9ae8fb, transparent);
    box-shadow: 0 0 24px rgba(154, 232, 251, 0.8);
    animation: scan 6s linear infinite;
}

.hero-panel__status {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-panel__status p,
.hero-panel__status strong {
    margin: 0;
    color: #eff5f8;
}

.hero-panel__status p {
    opacity: 0.72;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-panel__status strong {
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.ticker {
    overflow: hidden;
    border-block: 1px solid rgba(8, 19, 26, 0.08);
    background: rgba(255, 255, 255, 0.56);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    width: max-content;
    padding: 1rem 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    animation: marquee 28s linear infinite;
}

.ticker-track span {
    position: relative;
    padding-left: 1.25rem;
}

.ticker-track span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.service-grid,
.industry-grid,
.knowledge-grid,
.process-strip,
.footer-grid,
.excellence-layout {
    display: grid;
    gap: 1rem;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.knowledge-card,
.excellence-card,
.contact-form,
.contact-panel__card {
    border-radius: var(--radius-lg);
}

.service-card,
.knowledge-card,
.excellence-card {
    padding: 1.5rem;
}

.service-card,
.knowledge-card,
.industry-card,
.process-card,
.excellence-card,
.contact-panel__card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10, 115, 216, 0.16), rgba(10, 168, 200, 0.18));
    color: var(--accent-strong);
    font-weight: 800;
}

.service-card h3,
.industry-card h3,
.knowledge-card h3,
.process-card h3,
.excellence-card h3,
.contact-panel__card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.3rem;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.excellence-grid {
    display: grid;
    gap: 2rem;
}

.excellence-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.excellence-card {
    min-height: 100%;
}

.industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-card {
    min-height: 220px;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(8, 19, 26, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 244, 0.84));
    box-shadow: var(--shadow-md);
}

.process-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(8, 19, 26, 0.06);
}

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

.knowledge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.knowledge-card a {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--accent-strong);
    font-weight: 700;
}

.site-footer {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.footer-grid {
    grid-template-columns: 0.95fr 1fr 0.95fr;
    align-items: start;
}

.contact-stack {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.8rem;
}

.contact-stack a {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: -0.01em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid rgba(8, 19, 26, 0.08);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.form-note,
.form-status {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-note {
    color: var(--muted);
}

.form-status {
    color: var(--success);
    font-weight: 700;
}

.contact-panel__card {
    padding: 1.4rem;
}

.map-frame {
    margin-top: 1.2rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(8, 19, 26, 0.08);
    min-height: 320px;
}

.map-frame iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scan {
    0%,
    100% {
        transform: translateY(-24px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(220px);
        opacity: 1;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
