:root {
    --bg: #f8f8f5;
    --paper: #fbfaf7;
    --white: #ffffff;
    --ink: #0a377d;
    --ink-soft: #244880;
    --muted: #53627f;
    --line: rgba(10, 55, 125, 0.18);
    --cyan: #19b7ff;
    --red: #ff314f;
    --shadow: 0 18px 40px rgba(14, 42, 88, 0.08);
    --container: 1440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fdfcf9 0%, #f8f8f5 100%);
}

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

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 58px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(10, 55, 125, 0.08);
    box-shadow: 0 8px 24px rgba(18, 39, 75, 0.05);
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 0;
    min-height: 110px;
}

.brand {
    text-decoration: none;
}

.brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    min-height: 110px;
    padding: 0 18px;
    background: #ffffff;
    border-right: 1px solid rgba(10, 55, 125, 0.08);
    box-shadow: inset 0 -3px 0 rgba(25, 183, 255, 0.18);
}

.brand-box img,
.footer-logo {
    filter: none;
}

.brand-box img {
    width: 248px;
}

.nav-cluster {
    display: flex;
    align-items: center;
    justify-self: end;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: end;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
    text-transform: uppercase;
}

.nav-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 164px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--ink);
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    background: transparent;
    border: 1px solid var(--ink);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
}

.menu-toggle span + span {
    margin-top: 7px;
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 500px) 1fr;
    gap: 36px;
    align-items: center;
    min-height: 720px;
    overflow: hidden;
}

.hero-copy,
.hero-visual,
.statement-copy,
.feature-frame,
.emergency-card,
.editorial-card,
.dark-media-card,
.sector-card,
.contact-form,
.contact-copy {
    position: relative;
}

.hero-copy {
    z-index: 2;
    max-width: 520px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.section-kicker-light {
    color: #bfe5ff;
}

.section-kicker-cyan {
    color: var(--cyan);
}

.hero-copy h1,
.statement-copy h2,
.section-heading h2,
.dark-copy h2,
.contact-copy h2,
.emergency-overlay h2 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.hero-copy h1 {
    font-size: clamp(4rem, 7vw, 6.6rem);
    max-width: 7ch;
}

.hero-copy p,
.statement-copy p,
.section-heading p,
.dark-copy p,
.contact-copy p,
.emergency-overlay p,
.editorial-copy p,
.sector-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: var(--ink);
}

.btn-link {
    border: 0;
    padding: 0;
    color: var(--ink);
    min-height: auto;
}

.hero-visual {
    min-height: 620px;
}

.hero-image-wrap {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
}

.curve {
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    pointer-events: none;
}

.curve-a {
    width: 920px;
    height: 260px;
    right: -180px;
    bottom: 18px;
    border-color: var(--ink);
    border-left: 0;
    border-top: 0;
}

.curve-b {
    width: 860px;
    height: 220px;
    left: 320px;
    bottom: 66px;
    border-color: rgba(10, 55, 125, 0.82);
}

.statement-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 54px;
    align-items: start;
}

.statement-copy h2,
.section-heading h2,
.dark-copy h2,
.contact-copy h2 {
    font-size: clamp(3rem, 5.2vw, 5rem);
    margin-bottom: 22px;
    max-width: 13ch;
}

.statement-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: end;
}

.statement-notes {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.note-card {
    padding: 18px 20px;
    border-left: 2px solid var(--ink);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.note-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.note-card span {
    color: var(--muted);
    line-height: 1.7;
}

.feature-frame img,
.dark-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-frame {
    min-height: 440px;
    padding: 44px;
}

.feature-frame img {
    height: 100%;
}

.feature-frame-left {
    transform: translateY(44px);
}

.feature-summary,
.sector-card {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.feature-summary {
    padding: 34px;
    align-self: center;
    border-top: 2px solid var(--ink);
}

.feature-summary h3 {
    margin: 0 0 16px;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
}

.summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.summary-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.7;
}

.summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
}

.frame-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.frame-corners::before,
.frame-corners::after {
    content: "";
    position: absolute;
    width: 62%;
    height: 62%;
    border: 8px solid var(--ink);
}

.frame-corners::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.frame-corners::after {
    right: 0;
    bottom: 0;
    border-left: 0;
    border-top: 0;
}

.frame-corners.large::before,
.frame-corners.large::after {
    width: 24%;
    height: 66%;
}

.frame-corners.red::before,
.frame-corners.red::after {
    border-color: var(--red);
}

.emergency-section {
    padding-top: 18px;
}

.emergency-card {
    min-height: 560px;
    padding: 68px 96px;
}

.emergency-card > img {
    position: absolute;
    inset: 68px 96px;
    width: calc(100% - 192px);
    height: calc(100% - 136px);
    object-fit: cover;
}

.emergency-overlay {
    position: absolute;
    right: 136px;
    top: 132px;
    width: min(34vw, 470px);
    padding: 34px;
    color: #fff;
    background: rgba(10, 55, 125, 0.9);
}

.emergency-overlay h2 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    margin-bottom: 16px;
}

.emergency-overlay p {
    color: rgba(255, 255, 255, 0.86);
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 12px 16px;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
}

.contact-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    font-weight: 800;
}

.services-section {
    padding-top: 34px;
}

.section-heading {
    max-width: 920px;
    margin-bottom: 30px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.editorial-card {
    min-height: 250px;
    padding: 34px;
    border-top: 2px solid var(--ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.editorial-copy {
    padding: 0;
}

.editorial-copy h3,
.dark-media-card h3,
.sector-card h3 {
    margin: 0 0 10px;
    font-size: 1.7rem;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: var(--ink);
}

.card-index {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--cyan);
    font-size: 0.92rem;
    font-weight: 800;
}

.dark-section {
    background: var(--ink);
}

.dark-layout {
    display: grid;
    gap: 46px;
}

.dark-copy h2,
.dark-copy p,
.dark-media-card h3 {
    color: #fff;
}

.dark-copy p {
    max-width: 88%;
    color: rgba(255, 255, 255, 0.9);
}

.dark-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.dark-media-card {
    min-height: 330px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.03);
}

.dark-media-copy {
    position: relative;
    z-index: 1;
    max-width: 30ch;
}

.dark-media-card h3 {
    margin-top: 4px;
    margin-bottom: 12px;
}

.dark-media-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.applications-section {
    background: var(--paper);
}

.related-section {
    padding-top: 22px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    position: relative;
    display: block;
    min-height: 526px;
    overflow: hidden;
    text-decoration: none;
    background: var(--ink);
}

.related-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 55, 125, 0.24), rgba(10, 55, 125, 0.54)),
        url("../assets/security-hero.png") center/cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.related-media-one {
    background-position: left center;
}

.related-media-two {
    background-position: center center;
}

.related-media-three {
    background:
        linear-gradient(180deg, rgba(10, 55, 125, 0.82), rgba(10, 55, 125, 0.92)),
        url("../assets/security-hero.png") center/cover;
}

.related-media-four {
    background-position: right center;
}

.related-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 30px;
    text-align: center;
}

.related-overlay h3 {
    margin: 0;
    max-width: 10ch;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.12;
}

.related-card-featured .frame-corners {
    inset: 48px 36px;
}

.related-card-featured .frame-corners::before,
.related-card-featured .frame-corners::after {
    width: 92%;
    height: 92%;
    border-color: #ffffff;
    border-width: 6px;
}

.related-card:hover .related-media,
.related-card:focus-visible .related-media {
    transform: scale(1.04);
}

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

.sector-card {
    padding: 34px 28px;
    border-top: 2px solid var(--ink);
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.summary-list-contact {
    margin-top: 24px;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

input,
select,
textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.site-footer {
    padding: 36px 0 46px;
    background: var(--paper);
    border-top: 1px solid rgba(10, 55, 125, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-logo {
    width: 130px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    text-decoration: none;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1180px) {
    .hero-shell,
    .statement-grid,
    .contact-shell,
    .dark-media,
    .sector-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: auto;
    }

    .hero-visual {
        min-height: 560px;
    }

    .curve-a,
    .curve-b {
        display: none;
    }

    .statement-media,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .emergency-card {
        padding: 34px;
    }

    .emergency-card > img {
        position: relative;
        inset: auto;
        width: 100%;
        height: 460px;
    }

    .emergency-overlay {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 920px) {
    .header-shell {
        grid-template-columns: auto auto;
        padding: 16px 0;
    }

    .brand-box {
        width: 260px;
        min-height: 82px;
        padding: 0 14px;
    }

    .brand-box img {
        width: 204px;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .nav-cluster {
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 10px;
    }

    .nav-cluster.is-open {
        display: flex;
    }

    .site-nav {
        justify-content: start;
        gap: 12px;
    }

    .nav-outline {
        min-width: 100%;
        justify-content: start;
    }

    .hero-copy h1,
    .statement-copy h2,
    .section-heading h2,
    .dark-copy h2,
    .contact-copy h2,
    .emergency-overlay h2 {
        max-width: none;
    }

    .related-card {
        min-height: 360px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .feature-frame,
    .editorial-card,
    .dark-media-card {
        padding: 24px;
    }

    .feature-frame-left {
        transform: none;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 42px 0;
    }

    .hero-copy h1 {
        font-size: 3.4rem;
    }

    .brand-box {
        width: 240px;
        min-height: 76px;
        padding: 0 12px;
    }

    .brand-box img {
        width: 188px;
    }

    .statement-copy h2,
    .section-heading h2,
    .dark-copy h2,
    .contact-copy h2 {
        font-size: 2.6rem;
    }

    .hero-actions,
    .footer-inner,
    .footer-links {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .editorial-card,
    .dark-media-card {
        min-height: auto;
    }

    .related-card {
        min-height: 300px;
    }
}
