:root {
    color-scheme: light;
    --surface: #faf8ff;
    --surface-soft: #f3f3fb;
    --surface-card: rgba(255, 255, 255, 0.78);
    --surface-white: #ffffff;
    --surface-dark: #1a1b21;
    --text: #1a1b21;
    --text-muted: #434652;
    --text-soft: #737783;
    --border: #e2e8f0;
    --border-strong: #c3c6d4;
    --primary: #003178;
    --primary-bright: #0070f3;
    --spectrum-start: #180788;
    --spectrum-mid: #078aa1;
    --spectrum-end: #4ba0fa;
    --industrial-blue: #1a365d;
    --shadow: 0 24px 70px rgba(13, 71, 161, 0.12);
    --shadow-soft: 0 12px 32px rgba(13, 71, 161, 0.08);
    --radius-sm: 4px;
    --radius: 8px;
    --container: 1280px;
    --gutter: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(115deg, rgba(127, 179, 232, 0.706), rgba(14, 2, 106, 0.507) 42%, transparent 68%),
        var(--surface);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(0, 112, 243, 0.35);
    outline-offset: 3px;
}

.container {
    width: calc(100% - 64px);
    max-width: var(--container);
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section--white {
    background: var(--surface-white);
    border-block: 1px solid var(--border);
}

.section--compact {
    padding: 72px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: rgba(250, 248, 255, 0.88);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(26, 27, 33, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(250, 248, 255, 0.96);
    box-shadow: 0 10px 32px rgba(26, 27, 33, 0.09);
}

.site-nav {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 162px;
    height: auto;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    flex: 1;
}

.site-nav__links,
.site-actions,
.site-footer nav,
.services-list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__links a,
.site-footer a {
    color: var(--text-muted);
    font-size: 0.94rem;
    transition: color 160ms ease, background 160ms ease;
}

.site-nav__links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius-sm);
}

.site-nav__links a:hover,
.site-footer a:hover {
    color: var(--primary);
}

.site-nav__links a:hover {
    background: rgba(211, 225, 244, 0.58);
}

.site-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-actions__user {
    max-width: 220px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary);
    cursor: pointer;
}

.site-nav__toggle-bars,
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.site-nav__toggle-bars {
    position: relative;
}

.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
    position: absolute;
    left: 0;
}

.site-nav__toggle-bars::before {
    top: -7px;
}

.site-nav__toggle-bars::after {
    top: 7px;
}

.btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: linear-gradient(90deg, var(--spectrum-start), var(--spectrum-mid), var(--spectrum-end));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 112, 243, 0.18);
}

.btn--primary:hover {
    box-shadow: 0 18px 36px rgba(0, 112, 243, 0.24);
}

.btn--ghost,
.btn--outline {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.48);
    color: var(--primary);
}

.btn--ghost:hover,
.btn--outline:hover {
    border-color: var(--border-strong);
    background: rgba(211, 225, 244, 0.42);
}

.btn--large {
    min-height: 56px;
    padding: 15px 28px;
}

.hero {
    padding-top: 150px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 72px;
    align-items: center;
}

.hero__grid > *,
.tech-grid > *,
.product-grid > *,
.services-band > *,
.cta-panel > *,
.location-band > * {
    min-width: 0;
}

.hero__content,
.section-heading,
.cta-panel > div,
.location-band > div {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-muted);
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--spectrum-end);
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.55rem, 5vw, 4.9rem);
    overflow-wrap: break-word;
}

h1 span {
    background: linear-gradient(90deg, var(--spectrum-start), var(--spectrum-mid), var(--spectrum-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: 1.35rem;
}

.hero__lead,
.section-heading p,
.cta-panel p,
.location-band p {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
}

.hero__visual {
    position: relative;
}

.media-frame {
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.media-cover {
    display: block;
    width: 100%;
    min-height: 240px;
    border-radius: var(--radius-sm);
    background-color: #d9d9e1;
    object-fit: cover;
    object-position: center;
}

.media-cover--hero {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 360px;
}

.media-cover--laser {
    margin-top: auto;
    height: 212px;
    min-height: 212px;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading--center {
    justify-items: center;
    text-align: center;
}

.section-heading--center p {
    margin-inline: auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.glass-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-card);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tech-card {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 300px;
    padding: 32px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tech-card:hover,
.product-card:hover {
    border-color: var(--primary-bright);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.tech-card--wide {
    grid-column: span 2;
}

.tech-card p,
.product-card p,
.site-footer p {
    color: var(--text-muted);
}

.tech-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.image-card-fluid {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.image-350x350 {
    width: 350px;
    height: 350px;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.image-500x500 {
    width: 500px;
    height: 500px;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    display: grid;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    object-fit: contain;
}

.services-band,
.cta-panel,
.location-band {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: center;
}

.services-list {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.services-list span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-muted);
    font-weight: 700;
}

.cta-panel {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(150, 225, 255, 0.594), rgba(17, 0, 255, 0.399)),
        rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

.cta-panel .btn {
    justify-self: end;
}

.site-footer {
    padding: 56px 0 28px;
    background: var(--surface-dark);
    color: #f0f0f8;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(120px, 1fr));
    gap: 36px;
}

.site-footer strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.site-footer p,
.site-footer a {
    color: #c3c6d4;
    font-size: 0.9rem;
}

.site-footer nav {
    align-items: flex-start;
    flex-direction: column;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(195, 198, 212, 0.16);
    text-align: center;
}

@media (max-width: 980px) {
    .site-nav__toggle {
        display: inline-flex;
    }

    .site-nav__menu {
        position: fixed;
        top: 78px;
        left: 0;
        display: none;
        width: 100%;
        max-height: calc(100vh - 78px);
        overflow: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 22px 16px 28px;
        border-bottom: 1px solid var(--border);
        background: rgba(250, 248, 255, 0.98);
        box-shadow: 0 20px 40px rgba(26, 27, 33, 0.1);
    }

    .site-nav[data-open="true"] .site-nav__menu {
        display: flex;
    }

    .site-nav__links,
    .site-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .site-nav__links a,
    .site-actions .btn,
    .site-actions__user {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .site-actions__user {
        max-width: none;
        padding: 8px 0;
    }

    .hero__grid,
    .services-band,
    .cta-panel,
    .location-band {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 46px;
    }

    .hero {
        padding-top: 126px;
    }

    .tech-grid,
    .product-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .tech-card--wide {
        grid-column: auto;
    }

    .services-list {
        justify-content: flex-start;
    }

    .cta-panel .btn {
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100vw - 56px);
        max-width: calc(100vw - 56px);
    }

    h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .hero__lead,
    .section-heading p,
    .cta-panel p,
    .location-band p {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .hero__content,
    .hero__visual,
    .media-frame,
    .media-cover,
    .btn {
        max-width: 100%;
    }

    .hero__actions .btn,
    .media-frame,
    .tech-card,
    .product-card,
    .cta-panel {
        width: 100%;
    }

    .btn--large {
        padding-inline: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .section--compact {
        padding: 56px 0;
    }

    .brand img {
        width: 138px;
    }

    .hero {
        padding-top: 112px;
    }

    .hero__actions,
    .hero__actions .btn {
        width: 100%;
    }

    .media-cover--hero {
        min-height: 260px;
    }

    .tech-card {
        padding: 24px;
    }

    .product-card__image {
        height: auto;
        min-height: 0;
    }

    .cta-panel {
        padding: 24px;
    }
}
