:root {
    --home-ink: #051a2b;
    --home-navy: #061e31;
    --home-blue: #0099cc;
    --home-cyan: #4bd7ef;
    --home-teal: #008b8b;
    --home-mist: #edf5f7;
    --home-line: rgba(5, 26, 43, .12);
}

html { scroll-behavior: smooth; }

body { background: #f8fbfc; }

/* Premium header treatment, isolated to the homepage stylesheet. */
body > .container-fluid.bg-dark {
    min-height: 40px;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    background: var(--home-navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.topbar {
    min-height: 25px;
    gap: 28px;
    font-size: 12.5px;
    line-height: 1.4;
}

.topbar .top-info {
    flex-wrap: nowrap;
    gap: 24px;
    min-width: 0;
    letter-spacing: .035em;
}

.topbar .top-info small {
    margin-right: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    white-space: nowrap;
}

.topbar .top-info a,
.topbar .top-info i,
.topbar .top-link i {
    color: var(--home-cyan) !important;
}

.topbar .top-link {
    margin-left: auto;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12.5px;
    letter-spacing: .025em;
    white-space: nowrap;
}

.topbar .top-link small { color: inherit !important; }

/* The moving slogan competed for space and could leave a clipped character visible. */
#note { display: none !important; }

.container-fluid.bg-primary:has(.navbar) {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(5, 26, 43, .08);
    box-shadow: 0 10px 35px rgba(5, 26, 43, .07);
}

.navbar {
    min-height: 88px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand { padding-top: 6px; padding-bottom: 6px; }
.navbar-brand .site-logo { height: 62px; }

.navbar .navbar-nav .nav-link {
    color: #16384d !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--home-teal) !important; }

.header-rfq-btn {
    border-radius: 3px;
    background: var(--home-ink);
    box-shadow: none;
    font-size: 14px;
    letter-spacing: .03em;
}

.premium-home { color: var(--home-ink); overflow: clip; }
.premium-home h1,
.premium-home h2,
.premium-home h3 { font-family: "Saira", sans-serif; }

.section-pad { padding: 120px 0; }

.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--home-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.section-kicker--light { color: #6fe4f4; }

.display-heading {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 56px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: transform .35s ease, color .35s ease, background .35s ease, border-color .35s ease;
}

.premium-btn:hover { transform: translateY(-3px); }
.premium-btn i { font-size: 11px; transition: transform .35s ease; }
.premium-btn:hover i { transform: translateX(5px); }
.premium-btn--solid { color: #fff; background: linear-gradient(135deg, var(--home-blue), var(--home-teal)); box-shadow: 0 16px 35px rgba(0, 153, 204, .23); }
.premium-btn--solid:hover { color: #fff; }
.premium-btn--glass { color: #fff; border-color: rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); }
.premium-btn--glass:hover { color: var(--home-ink); background: #fff; }
.premium-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .28); }
.premium-btn--outline:hover { color: var(--home-ink); background: #fff; border-color: #fff; }

/* Hero */
.home-hero {
    position: relative;
    min-height: min(900px, calc(100svh - 60px));
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--home-navy) url(../img/slider1.png) center/cover no-repeat;
    isolation: isolate;
}

.home-hero__video,
.home-hero__shade,
.home-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__video { z-index: -3; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.home-hero__shade { z-index: -2; background: linear-gradient(90deg, rgba(2, 17, 30, .95) 0%, rgba(3, 26, 44, .78) 43%, rgba(3, 26, 44, .2) 76%, rgba(3, 26, 44, .43) 100%), linear-gradient(0deg, rgba(1, 18, 31, .55), transparent 45%); }
.home-hero__grid { z-index: -1; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(90deg, #000, transparent 78%); }

.home-hero__content { padding-top: 80px; padding-bottom: 145px; }
.home-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: rgba(255,255,255,.83); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--home-cyan); box-shadow: 0 0 0 6px rgba(75, 215, 239, .12), 0 0 24px rgba(75, 215, 239, .8); animation: statusPulse 2.4s ease-in-out infinite; }

.home-hero h1 { max-width: 970px; margin: 0 0 30px; color: #fff; font-size: clamp(54px, 7.3vw, 108px); font-weight: 600; letter-spacing: -.055em; line-height: .94; text-shadow: 0 12px 38px rgba(0,0,0,.24); }
.home-hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.home-hero__lead { max-width: 670px; margin-bottom: 38px; color: rgba(255,255,255,.78); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.home-hero__rail { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-left: max(24px, calc((100vw - 1320px) / 2)); padding-right: max(24px, calc((100vw - 1320px) / 2)); background: rgba(1, 17, 29, .62); border-top: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(16px); }
.home-hero__rail > div { min-height: 102px; display: flex; flex-direction: column; justify-content: center; padding: 18px 34px; border-right: 1px solid rgba(255,255,255,.12); }
.home-hero__rail > div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.home-hero__rail strong { color: #fff; font-family: "Saira", sans-serif; font-size: 25px; font-weight: 600; }
.home-hero__rail span { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.home-hero__scroll { position: absolute; right: 34px; top: 50%; z-index: 3; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.64); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
.home-hero__scroll:hover { color: #fff; }
.home-hero__scroll span { display: block; width: 45px; height: 1px; background: currentColor; }

.reveal-up { opacity: 0; animation: heroReveal .9s cubic-bezier(.22,.7,.2,1) forwards; }
.reveal-delay-1 { animation-delay: .12s; }
.reveal-delay-2 { animation-delay: .24s; }
.reveal-delay-3 { animation-delay: .36s; }

/* Intro */
.home-intro { background: #fff; }
.home-intro__copy { margin: 0 0 34px; color: #496273; font-size: 19px; line-height: 1.85; }
.home-intro__links { display: flex; flex-wrap: wrap; gap: 34px; }
.home-intro__links a { padding-bottom: 7px; color: var(--home-ink); border-bottom: 1px solid var(--home-ink); font-size: 13px; font-weight: 700; }
.home-intro__links i { margin-left: 12px; font-size: 10px; transition: transform .3s ease; }
.home-intro__links a:hover { color: var(--home-teal); border-color: var(--home-teal); }
.home-intro__links a:hover i { transform: translateX(4px); }

/* Capabilities */
.capability-showcase { position: relative; background: var(--home-navy); }
.capability-showcase::before { content: ""; position: absolute; inset: 0; opacity: .15; background: radial-gradient(circle at 80% 0%, var(--home-blue), transparent 36%); pointer-events: none; }
.section-head { position: relative; display: grid; grid-template-columns: 1.45fr .55fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.section-head > p { margin: 0 0 5px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.8; }
.capability-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr .85fr; min-height: 590px; }
.capability-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 38px; color: #fff; border-right: 1px solid rgba(255,255,255,.14); isolation: isolate; }
.capability-panel:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.capability-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,22,37,.06) 20%, rgba(3,22,37,.94) 82%); }
.capability-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.08) saturate(.92) contrast(1.03); transition: transform .8s cubic-bezier(.2,.65,.2,1), filter .5s ease; }
.capability-panel__number { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.7); font-family: "Saira", sans-serif; font-size: 13px; }
.capability-panel__content > span:first-child { color: var(--home-cyan); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.capability-panel h3 { margin: 12px 0; color: #fff; font-size: clamp(27px, 2.5vw, 38px); letter-spacing: -.03em; }
.capability-panel p { max-width: 400px; margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; transform: translateY(12px); opacity: 0; transition: transform .45s ease, opacity .45s ease; }
.capability-panel__link { display: inline-block; margin-top: 22px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transform: translateY(12px); opacity: 0; transition: transform .45s .05s ease, opacity .45s .05s ease; }
.capability-panel__link i { margin-left: 10px; }
.capability-panel:hover { color: #fff; }
.capability-panel:hover img { transform: scale(1.07); filter: grayscale(0) saturate(1.05) contrast(1.04); }
.capability-panel:hover p,
.capability-panel:hover .capability-panel__link { transform: none; opacity: 1; }

/* Sectors */
.sector-section { background: var(--home-mist); }
.section-summary { margin: 0; color: #587181; font-size: 16px; line-height: 1.8; }
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sector-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 34px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(5,26,43,.1);
    box-shadow: 0 18px 42px rgba(5,26,43,.06);
    isolation: isolate;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.sector-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--home-blue), var(--home-teal));
    transform: scaleX(.22);
    transform-origin: left;
    transition: transform .45s ease;
}
.sector-card::after {
    content: "";
    position: absolute;
    top: -145px;
    right: -145px;
    z-index: -1;
    width: 310px;
    height: 310px;
    background: radial-gradient(circle, rgba(0,153,204,.1), transparent 68%);
    border-radius: 50%;
    transition: transform .55s ease;
}
.sector-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sector-card__meta span { color: #8194a1; font-family: "Saira", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.sector-card__meta i { color: var(--home-teal); transform: rotate(45deg); transition: transform .35s ease; }
.sector-card__visual {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    background: linear-gradient(145deg, #f6fbfc, #e3f0f3);
    border: 1px solid rgba(0,139,139,.13);
    border-radius: 50%;
}
.sector-card__visual img { width: 68px; height: 68px; object-fit: contain; filter: grayscale(.18) saturate(.85); opacity: .82; transition: filter .35s ease, opacity .35s ease, transform .45s ease; }
.sector-card h3 { margin: 0 0 14px; color: var(--home-ink); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.035em; }
.sector-card > p { margin: 0 0 26px; color: #5b7281; font-size: 15px; line-height: 1.75; }
.sector-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.sector-card__features li { padding: 7px 11px; color: #426170; background: #edf5f7; border: 1px solid rgba(5,26,43,.08); font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.sector-card:hover { transform: translateY(-8px); border-color: rgba(0,139,139,.34); box-shadow: 0 28px 65px rgba(5,26,43,.13); }
.sector-card:hover::before { transform: scaleX(1); }
.sector-card:hover::after { transform: scale(1.18); }
.sector-card:hover .sector-card__visual img { filter: none; opacity: 1; transform: scale(1.08) rotate(-2deg); }
.sector-card:hover .sector-card__meta i { transform: rotate(90deg); }

/* Facility */
.facility-story { background: #fff; }
.facility-story__frame { position: relative; min-height: 690px; overflow: hidden; display: flex; align-items: flex-end; padding: 70px; isolation: isolate; }
.facility-story__frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 115%; object-fit: cover; object-position: center 45%; transition: transform .2s linear; }
.facility-story__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,21,35,.92), rgba(3,21,35,.5) 55%, rgba(3,21,35,.08)); }
.facility-story__content { max-width: 650px; color: #fff; }
.facility-story__content h2 { margin: 0 0 24px; color: #fff; font-size: clamp(43px, 5vw, 72px); line-height: 1.03; letter-spacing: -.045em; }
.facility-story__content > p:not(.section-kicker) { max-width: 550px; margin-bottom: 30px; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.75; }
.facility-story__badge { position: absolute; top: 0; right: 0; width: 190px; height: 155px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; background: linear-gradient(135deg, var(--home-blue), var(--home-teal)); }
.facility-story__badge strong { font-family: "Saira", sans-serif; font-size: 39px; line-height: 1; }
.facility-story__badge span { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

/* Quality */
.quality-story { position: relative; overflow: hidden; color: #fff; background: #041725; }
.quality-story::after { content: "AS9100-D"; position: absolute; right: -40px; bottom: -60px; color: rgba(255,255,255,.025); font-family: "Saira", sans-serif; font-size: min(20vw, 290px); font-weight: 700; letter-spacing: -.08em; }
.quality-story__lead { max-width: 620px; margin: 30px 0 34px; color: rgba(255,255,255,.62); font-size: 18px; line-height: 1.8; }
.quality-steps { border-top: 1px solid rgba(255,255,255,.14); }
.quality-step { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.quality-step > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--home-cyan); border: 1px solid rgba(75,215,239,.35); border-radius: 50%; font: 600 11px "Saira", sans-serif; }
.quality-step h3 { margin: 0 0 8px; color: #fff; font-size: 21px; }
.quality-step p { margin: 0; color: rgba(255,255,255,.52); font-size: 14px; }
.quality-orbit { position: absolute; top: 50%; left: 82%; width: 600px; height: 600px; transform: translate(-50%, -50%); opacity: .25; }
.quality-orbit span { position: absolute; inset: 0; border: 1px solid rgba(75,215,239,.24); border-radius: 50%; animation: orbitPulse 6s ease-in-out infinite; }
.quality-orbit span:nth-child(2) { inset: 90px; animation-delay: -2s; }
.quality-orbit span:nth-child(3) { inset: 180px; animation-delay: -4s; }

/* CTA */
.home-cta { position: relative; overflow: hidden; padding: 130px 0; color: #fff; background: #08263b; isolation: isolate; }
.home-cta__media { position: absolute; inset: 0; z-index: -2; background: url(../img/slider4.png) center/cover no-repeat; transform: scale(1.04); }
.home-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,18,31,.94), rgba(2,18,31,.66), rgba(2,18,31,.25)); }
.home-cta h2 { max-width: 900px; margin: 0 0 20px; color: #fff; font-size: clamp(52px, 7vw, 96px); letter-spacing: -.055em; line-height: 1; }
.home-cta .container > p:not(.section-kicker) { max-width: 660px; color: rgba(255,255,255,.7); font-size: 18px; }
.home-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 34px; }
.home-cta__email { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 14px; font-weight: 600; }
.home-cta__email:hover { color: var(--home-cyan); border-color: var(--home-cyan); }

/* Scroll reveal */
.js-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,.7,.2,1), transform .8s cubic-bezier(.22,.7,.2,1); }
.js-reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroReveal { to { opacity: 1; transform: none; } from { opacity: 0; transform: translateY(28px); } }
@keyframes statusPulse { 50% { box-shadow: 0 0 0 10px rgba(75,215,239,.04), 0 0 32px rgba(75,215,239,.9); } }
@keyframes orbitPulse { 50% { transform: scale(1.05); opacity: .45; } }

@media (max-width: 1199.98px) {
    .section-pad { padding: 95px 0; }
    .home-hero__scroll { display: none; }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .capability-panel:first-child { grid-column: 1 / -1; min-height: 510px; }
    .capability-panel { min-height: 470px; }
}

@media (max-width: 991.98px) {
    .topbar { display: none !important; }
    body > .container-fluid.bg-dark { display: none !important; }
    .navbar { min-height: 72px; }
    .navbar-brand .site-logo { height: 50px; }
    .home-hero { min-height: 780px; }
    .home-hero__content { padding-top: 60px; padding-bottom: 180px; }
    .home-hero__rail { grid-template-columns: repeat(2, 1fr); }
    .home-hero__rail > div { min-height: 75px; padding: 12px 20px; }
    .home-hero__rail strong { font-size: 20px; }
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .sector-card { min-height: 450px; padding: 30px; }
    .facility-story__frame { min-height: 630px; padding: 50px 42px; }
    .quality-orbit { left: 70%; }
}

@media (max-width: 767.98px) {
    .section-pad { padding: 72px 0; }
    .display-heading { font-size: 40px; }
    .home-hero { min-height: 760px; align-items: flex-start; }
    .home-hero__content { padding-top: 100px; padding-bottom: 180px; }
    .home-hero h1 { font-size: clamp(48px, 14vw, 66px) !important; }
    .home-hero h1 span { -webkit-text-stroke-width: .7px; }
    .home-hero__lead { font-size: 16px; }
    .home-hero__actions { align-items: stretch; flex-direction: column; max-width: 310px; }
    .home-hero__rail { padding: 0; }
    .home-hero__rail > div { border-top: 1px solid rgba(255,255,255,.1); }
    .home-hero__rail > div:first-child { border-left: 0; }
    .capability-grid { display: block; }
    .capability-panel,
    .capability-panel:first-child { min-height: 470px; border: 1px solid rgba(255,255,255,.14); }
    .capability-panel + .capability-panel { margin-top: 18px; }
    .capability-panel p,
    .capability-panel__link { opacity: 1; transform: none; }
    .sector-list { grid-template-columns: 1fr; }
    .sector-card { min-height: 0; }
    .facility-story { padding-left: 0; padding-right: 0; }
    .facility-story .container { padding: 0; }
    .facility-story__frame { min-height: 650px; padding: 48px 24px; }
    .facility-story__badge { width: 135px; height: 110px; }
    .facility-story__badge strong { font-size: 28px; }
    .home-cta { padding: 90px 0; }
    .home-cta h2 { font-size: 52px; }
}

@media (max-width: 575.98px) {
    .home-hero__eyebrow { max-width: 300px; font-size: 9px; line-height: 1.5; }
    .home-hero__rail strong { font-size: 18px; }
    .home-hero__rail span { font-size: 8px; }
    .home-intro__copy { font-size: 17px; }
    .capability-panel { padding: 28px 24px; }
    .facility-story__content h2 { font-size: 43px; }
    .quality-step { grid-template-columns: 48px 1fr; gap: 15px; }
    .home-cta__actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-hero__video { display: none; }
    .reveal-up,
    .js-reveal { opacity: 1; transform: none; animation: none; transition: none; }
    .status-dot,
    .quality-orbit span { animation: none; }
    .capability-panel img,
    .premium-btn,
    .facility-story__frame > img { transition: none; }
}
