/* PBGL site stylesheet */

:root {
    --brand: #00026f;
    --brand-dark: #000148;
    --ink: #15172e;
    --body: #444;
    --muted: #777;
    --line: #e5e5e5;
    --bg-soft: #fafafa;
    --radius: 6px;
    --wrap: 1200px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--body);
    background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ============================================================
   HEADER
============================================================ */

.hdr { position: relative; z-index: 60; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }

.hdr__top { background: var(--brand); color: #fff; font-size: 13px; padding: 6px 0; }
.hdr__top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hdr__welcome { margin: 0; }

.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; text-decoration: none;
    transition: background .2s;
}
.social a:hover { background: rgba(255,255,255,.28); }

.hdr__brand { padding: 14px 0; }
.hdr__brand-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo img { display: block; max-height: 64px; width: auto; }

.hdr__contact { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; color: #222; }
.hdr__contact-item { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.hdr__contact-item .icon {
    flex: 0 0 38px; height: 38px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.hdr__contact-item a { color: #222; text-decoration: none; }
.hdr__contact-item a:hover { color: var(--brand); }
.hdr__contact-item .value { display: block; font-weight: 600; font-size: 14px; }

.burger {
    display: none; align-items: center; gap: 6px;
    background: var(--brand); color: #fff; border: 0;
    padding: 9px 12px; font-size: 18px; cursor: pointer; border-radius: 4px;
}

.hdr__nav {
    background: #f5f5f5; border-top: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
    transition: background .2s, box-shadow .2s;
}
.hdr__nav.is-stuck {
    background: #fff;
    border-top-color: transparent;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0,0,0,.13);
}
.hdr__nav-in { display: flex; align-items: center; justify-content: center; }

.nav { display: flex; list-style: none; padding: 0; margin: 0; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 14px 14px; color: #222; font-weight: 600;
    text-decoration: none; font-size: 13px; text-transform: uppercase;
    letter-spacing: .02em; border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s; white-space: nowrap;
}
.nav > li > a:hover, .nav > li > a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.nav .has-children > a:after { content: " \25BE"; font-size: 10px; opacity: .6; }

.nav .submenu {
    position: absolute; top: 100%; left: 0; min-width: 250px;
    background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12);
    list-style: none; padding: 6px 0; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s; z-index: 110;
}
.nav > li:hover > .submenu, .nav > li:focus-within > .submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .submenu a { display: block; padding: 10px 16px; color: #222; text-decoration: none; font-size: 13px; }
.nav .submenu a:hover { background: var(--brand); color: #fff; }

.nav__close { display: none; }
.nav-overlay { display: none; }

@media (min-width: 1200px) {
    .nav > li > a { padding: 14px 18px; font-size: 14px; }
}

@media (max-width: 1023px) {
    .hdr__contact { display: none; }
    .burger { display: inline-flex; }
    .hdr__nav, .hdr__nav.is-stuck { background: transparent; border: 0; padding: 0; height: 0; overflow: visible; position: static; box-shadow: none; }

    .nav {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 88%; max-width: 340px;
        background: #fff; flex-direction: column; padding: 60px 0 24px;
        box-shadow: -4px 0 14px rgba(0,0,0,.18); overflow-y: auto;
        transition: right .3s; z-index: 200;
    }
    .nav.is-open { right: 0; }
    .nav > li { width: 100%; border-bottom: 1px solid #eee; }
    .nav > li > a { padding: 14px 22px; border: 0; font-size: 15px; }
    .nav > li > a.is-active { background: #f5f5f5; }

    .nav .has-children > a:after { content: "+"; float: right; font-weight: bold; }
    .nav .has-children.is-expanded > a:after { content: "\2212"; }

    .nav .submenu {
        position: static; box-shadow: none; padding: 0;
        opacity: 1; visibility: visible; transform: none;
        max-height: 0; overflow: hidden; transition: max-height .3s;
    }
    .nav .has-children.is-expanded > .submenu { max-height: 1200px; }
    .nav .submenu a { padding: 12px 32px; background: var(--bg-soft); font-size: 14px; border-bottom: 1px solid #eee; }

    .nav__close {
        display: block; position: absolute; top: 12px; right: 14px;
        background: transparent; border: 0; font-size: 28px; color: #222;
        cursor: pointer; line-height: 1; padding: 4px 10px;
    }
    .nav-overlay {
        display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150;
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav-overlay.is-visible { opacity: 1; visibility: visible; }
}

@media (max-width: 767px) {
    .hdr__top-in { justify-content: center; text-align: center; }
    .hdr__brand { padding: 10px 0; }
    .hdr__logo img { max-height: 46px; }
}

/* ============================================================
   PAGE HEADER
============================================================ */

.page-hd { background: #f5f5f5; padding: 32px 0 18px; border-bottom: 1px solid #e6e6e6; }
.page-hd__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.page-hd h1 { font-size: 28px; margin: 0; color: var(--ink); font-weight: 700; }

.crumb { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: #666; }
.crumb a { color: var(--brand); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb li:not(:first-child):before { content: "\203A"; margin-right: 6px; color: #aaa; }
.crumb li[aria-current="page"] { color: #222; font-weight: 600; }

@media (max-width: 599px) { .page-hd h1 { font-size: 22px; } }

/* ============================================================
   SECTIONS AND SHARED BLOCKS
============================================================ */

.section { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }

.section-title { text-align: center; max-width: 800px; margin: 0 auto 36px; }
.section-title h2 { font-size: 26px; color: var(--ink); margin: 0 0 8px; font-weight: 700; }
.section-title h2 span { color: var(--brand); }
.section-title p { color: var(--muted); margin: 0; }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden;
}

.grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
.grid > * { flex: 0 0 calc(33.333% - 14px); }
.grid--4 > * { flex: 0 0 calc(25% - 15px); }
.grid--5 > * { flex: 0 0 calc(20% - 16px); }
.grid--2 > * { flex: 0 0 calc(50% - 10px); }

@media (max-width: 1199px) { .grid--5 > * { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 999px) { .grid > *, .grid--4 > *, .grid--5 > * { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 599px) { .grid > *, .grid--4 > *, .grid--5 > *, .grid--2 > * { flex: 0 0 100%; } }

.btn {
    display: inline-block; background: var(--brand); color: #fff; border: 0;
    padding: 12px 28px; border-radius: 4px; font: inherit; font-size: 13px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); color: #fff; }

.empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed #ddd; border-radius: var(--radius); color: #888; }

.rte { line-height: 1.75; }
.rte > *:last-child { margin-bottom: 0; }
.rte br:last-child { display: none; }
.rte p { margin: 0 0 12px; }
.rte p:last-child { margin-bottom: 0; }
.rte ul, .rte ol { padding-left: 22px; margin: 0 0 14px; }
.rte li { margin-bottom: 6px; }
.rte img { border-radius: 4px; max-width: 100%; height: auto; }
.rte table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.rte th, .rte td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.rte th { background: var(--bg-soft); }

.rte h2, .rte h3, .rte h4, .rte h5, .rte h6 {
    color: var(--ink); font-weight: 700; line-height: 1.3; margin: 22px 0 10px;
}
.rte h2:first-child, .rte h3:first-child, .rte h4:first-child { margin-top: 0; }
.rte h2 { font-size: 22px; }
.rte h3 { font-size: 19px; }
.rte h4 { font-size: 17px; }
.rte h5 { font-size: 15px; }
.rte h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.rte blockquote {
    margin: 0 0 16px; padding: 12px 18px;
    border-left: 3px solid var(--brand); background: var(--bg-soft);
    color: var(--ink); font-style: italic;
}
.rte blockquote p:last-child { margin-bottom: 0; }

.rte hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.rte a { color: var(--brand); text-decoration: underline; }
.rte sup, .rte sub { font-size: 75%; }
.rte pre { background: var(--bg-soft); padding: 12px 14px; border-radius: 4px; overflow-x: auto; }

.rte iframe, .rte .note-video-clip, .rte video {
    width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0;
    border-radius: 4px; display: block; margin: 0 0 16px;
}
.rte .table-responsive, .rte figure { overflow-x: auto; margin: 0 0 16px; }

/* ============================================================
   BANNER SLIDER
============================================================ */

.hero { position: relative; overflow: hidden; background: #eee; }
.hero__slide { display: none; position: relative; }
.hero__slide.is-active { display: block; }
.hero__slide img { width: 100%; display: block; object-fit: cover; max-height: 560px; }
.hero__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 0;
    background: linear-gradient(to top, rgba(0,2,111,.85), rgba(0,2,111,0)); color: #fff;
}
.hero__cap h2 { margin: 0 0 6px; font-size: 30px; }
.hero__cap p { margin: 0 0 12px; }
.hero__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero__dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.5);
}
.hero__dots button.is-active { background: #fff; }

@media (max-width: 767px) { .hero__cap h2 { font-size: 20px; } .hero__cap { padding: 16px 0; } }


/* Gear artwork, shared by the homepage intro and the About page.
   The PNG carries its own transparency, so it sits over any section colour. */
.section--gears {
    background-image: url("../img/about-bg.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    background-attachment: fixed;
}

@media (max-width: 899px) {
    .section--gears { background-size: auto 70%; background-position: right top; }
}
@media (max-width: 599px) {
    .section--gears { background-image: none; }
}

/* ============================================================
   HOMEPAGE INTRO
============================================================ */

.home-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.home-intro__img img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.home-intro__body h2 { font-size: 26px; color: var(--ink); margin: 0 0 14px; font-weight: 700; }
.home-intro__body .rte { margin-bottom: 10px; }

.home-intro--noimg { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; text-align: center; }

@media (max-width: 899px) {
    .home-intro { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   ALTERNATING CONTENT ROWS
============================================================ */

.row-block {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
    background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04); margin-bottom: 24px;
}
.row-block:nth-child(even) .row-block__img { order: 2; }
.row-block:nth-child(even) .row-block__body { order: 1; }
.row-block__img { border-radius: var(--radius); overflow: hidden; background: #f0f0f0; }
.row-block__img img {
    width: 100%; height: auto;
    display: block; border-radius: var(--radius);
}
.row-block__body { padding: 8px 0; }
.row-block__body h3 {
    font-size: 20px; color: var(--ink); margin: 0 0 12px; font-weight: 700;
    border-left: 3px solid var(--brand); padding-left: 12px;
}

@media (max-width: 767px) {
    .row-block, .row-block:nth-child(even) { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
    .row-block:nth-child(even) .row-block__img { order: 1; }
    .row-block:nth-child(even) .row-block__body { order: 2; }
    .row-block__body { padding: 0; }
}

/* ============================================================
   TILE CARDS
============================================================ */

.tile { text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.tile__media { aspect-ratio: 3/2; overflow: hidden; background: #fff; padding: 8px; }
.tile__media img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { padding: 12px 14px 14px; text-align: center; }
.tile__body h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.35; color: var(--ink); }
.tile__body h3:last-child { margin-bottom: 0; }
.tile__body p { margin: 0; font-size: 13px; color: var(--muted); }

/* Natural ratio media, used by gallery and trainings */
.tile--natural .tile__media { aspect-ratio: auto; padding: 0; }
.tile--natural .tile__media img { height: auto; }


/* ============================================================
   LOGO MARQUEE
============================================================ */

.marquee { overflow: hidden; }
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 18px; }

.marquee__track {
    display: flex; gap: 18px; width: max-content;
    animation: marquee-scroll 45s linear infinite;
}
.marquee__row--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }

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

.marquee__item {
    flex: 0 0 200px; height: 110px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.marquee__item img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.marquee__item strong { color: var(--ink); font-size: 14px; text-align: center; }

@media (max-width: 599px) {
    .marquee__item { flex: 0 0 150px; height: 90px; padding: 12px; }
    .marquee__track { gap: 12px; }
    .marquee__row + .marquee__row { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
    .marquee__row { overflow-x: auto; }
}

/* ============================================================
   FORMS
============================================================ */

.form { display: grid; gap: 14px; }
.form .row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form label { font-size: 13px; color: #444; font-weight: 600; display: block; margin-bottom: 5px; }
.form input, .form textarea, .form select {
    width: 100%; padding: 10px 12px; border: 1px solid #d9dbe0; border-radius: 4px;
    background: #fafbfc; color: #222; font: inherit; font-size: 14px;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.form input:hover, .form textarea:hover { border-color: #b8bbc4; background: #fff; }
.form input:focus, .form textarea:focus {
    outline: none; border-color: var(--brand); background: #fff;
    box-shadow: 0 0 0 3px rgba(0,2,111,.12);
}
.form textarea { min-height: 130px; resize: vertical; }
.honeypot { position: fixed; top: -9999px; left: -9999px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }

.notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 14px; }
.notice--ok { background: #e8f6ec; border: 1px solid #b7e0c3; color: #1c6b33; }
.notice--err { background: #fdecec; border: 1px solid #f3bcbc; color: #a12626; }

@media (max-width: 599px) { .form .row2 { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
============================================================ */

.contact-grid { display: grid; gap: 24px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; align-items: start; }
.loc-card { text-align: center; padding: 24px; }
.loc-card .pin {
    width: 46px; height: 46px; margin: 0 auto 10px; background: var(--brand); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.loc-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }

.depts { display: grid; gap: 12px; }
.dept { padding: 12px 14px; background: var(--bg-soft); border-left: 3px solid var(--brand); border-radius: 0 4px 4px 0; }
.dept .role { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #666; }
.dept .name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.dept a { display: block; font-size: 13px; color: #333; text-decoration: none; padding: 1px 0; }
.dept a:hover { color: var(--brand); }
.dept a i { width: 16px; color: var(--brand); margin-right: 6px; }

.map { margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 1023px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .loc-grid { grid-template-columns: 1fr; } .map iframe { height: 300px; } }

/* ============================================================
   LINKTREE
============================================================ */

.linktree { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; }
.linktree a {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    text-decoration: none; color: var(--ink); font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.linktree a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); border-color: var(--brand); }
.linktree .ico {
    flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.linktree .txt { flex: 1; min-width: 0; }
.linktree .txt small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* ============================================================
   DOWNLOADS
============================================================ */

.dl-list { display: grid; gap: 12px; }
.dl-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.dl-item .ico { flex: 0 0 44px; height: 44px; border-radius: 4px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.dl-item .meta { flex: 1; min-width: 0; }
.dl-item .meta h3 { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
.dl-item .meta p { margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 599px) { .dl-item { flex-wrap: wrap; } }

/* ============================================================
   LIGHTBOX
============================================================ */

.lb { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 500; display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 90vh; display: block; border-radius: 4px; }
.lb__close { position: absolute; top: 16px; right: 20px; background: transparent; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ============================================================
   FOOTER
============================================================ */

.ftr { background: var(--brand); color: #cfd2e6; font-size: 14px; line-height: 1.6; }
.ftr a { color: #cfd2e6; text-decoration: none; transition: color .15s; }
.ftr a:hover { color: #fff; }
.ftr__in { max-width: 1280px; margin: 0 auto; padding: 48px 16px 0; }
.ftr__grid { display: grid; gap: 28px; grid-template-columns: 1.25fr 0.75fr 0.8fr 1.6fr; }
.ftr__col h3 {
    font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #fff;
    margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18);
}
.ftr__logo { display: inline-block; background: #fff; padding: 6px; border-radius: 4px; margin-bottom: 14px; }
.ftr__logo img { display: block; max-width: 150px; }
.ftr__links { list-style: none; padding: 0; margin: 0; }
.ftr__links li { padding: 5px 0; }
.ftr__links a:before { content: "\203A"; margin-right: 8px; color: rgba(255,255,255,.45); }
.ftr__contact { list-style: none; padding: 0; margin: 14px 0 0; }
.ftr__contact li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.ftr__contact i { width: 16px; text-align: center; color: rgba(255,255,255,.6); flex: 0 0 16px; }
.ftr__contact a { color: #fff; font-weight: 600; word-break: break-word; }
.ftr__contact a:hover { text-decoration: underline; }

.ftr__social { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ftr__social a {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,.12); color: #fff; font-size: 15px;
    transition: background .15s, color .15s;
}
.ftr__social a:hover { background: #fff; color: var(--brand); }
.ftr__bar { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.16); padding: 16px 0; font-size: 13px; }
.ftr__bar-in { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1023px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
    .ftr__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .ftr__grid > .ftr__col:first-child,
    .ftr__grid > .ftr__col:last-child { grid-column: 1 / -1; }
    .ftr__bar-in { justify-content: center; text-align: center; }
}

/* Rich text nested inside cards and the footer */
.tile__body .rte { font-size: 13px; color: var(--muted); }
.tile__body .rte p { margin: 0 0 6px; }
.tile__body .rte p:last-child { margin-bottom: 0; }
.tile__body .rte:last-child { margin-bottom: 0; }
.tile__body .rte ul, .tile__body .rte ol { text-align: left; margin: 0 0 6px; }

.loc-card .rte p { margin: 0 0 8px; }
.loc-card .rte p:last-child { margin-bottom: 0; }

.ftr__plant { margin-bottom: 16px; }
.ftr__plant strong { color: #fff; display: block; margin-bottom: 2px; }
.ftr__plant .rte p { margin: 0 0 4px; }
.ftr__plant .rte p:last-child { margin-bottom: 0; }

.section-title .rte { color: var(--muted); font-size: 15px; }
.section-title .rte p:last-child { margin-bottom: 0; }

.dl-item .rte { font-size: 13px; color: var(--muted); }
.dl-item .rte p { margin: 0; }

/* Enquiry form on product and industry pages */
.enquiry-box { max-width: 760px; margin: 0 auto; }

/* 404 */
.notfound { text-align: center; }
.notfound__code { font-size: 84px; line-height: 1; color: var(--brand); margin: 0; font-weight: 700; letter-spacing: -.03em; }
.notfound h2 { color: var(--ink); margin: 10px 0 12px; font-size: 26px; }
.notfound__lead { max-width: 560px; margin: 0 auto 28px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.notfound__links a {
    display: inline-block; padding: 8px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: 20px;
    color: var(--ink); text-decoration: none; font-size: 14px;
    transition: background .15s, color .15s, border-color .15s;
}
.notfound__links a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 599px) { .notfound__code { font-size: 60px; } }

/* ============================================================
   VIDEO SECTION
============================================================ */

.videoblock {
    position: relative;
    background: var(--brand) center/cover no-repeat fixed;
    min-height: 460px; display: flex; align-items: center; justify-content: center;
}
.videoblock:before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(0,2,111,.55), rgba(0,2,111,.7));
}
.videoblock__inner { position: relative; text-align: center; padding: 60px 16px; width: 100%; }
.videoblock__inner h2 {
    color: #fff; font-size: 30px; margin: 0 0 8px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
}
.videoblock__inner h2:after {
    content: ""; display: block; width: 220px; max-width: 60%; height: 2px;
    background: rgba(255,255,255,.45); margin: 16px auto 30px;
}
.videoblock__play {
    width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.9); color: var(--brand); font-size: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    padding-left: 6px; transition: transform .2s, background .2s;
    box-shadow: 0 0 0 14px rgba(255,255,255,.18);
}
.videoblock__play:hover { transform: scale(1.07); background: #fff; }
.videoblock__frame { position: relative; width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 16/9; }
.videoblock__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.videoblock.is-playing { background-attachment: scroll; }
.videoblock.is-playing:before { background: rgba(0,0,0,.85); }

@media (max-width: 767px) {
    .videoblock { min-height: 300px; }
    .videoblock__inner { padding: 40px 16px; }
    .videoblock__inner h2 { font-size: 22px; }
    .videoblock__play { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 10px rgba(255,255,255,.18); }
}

/* Footer column with no heading, spacer keeps it aligned */
.ftr__col--nolabel { visibility: hidden; }

/* Back to top */
.totop {
    position: fixed; right: 22px; bottom: 22px; z-index: 300;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--brand); color: #fff; font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s, visibility .25s, transform .25s, background .15s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--brand-dark); }
.totop:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 599px) {
    .totop { right: 14px; bottom: 14px; width: 40px; height: 40px; font-size: 19px; }
}

/* reCAPTCHA notice under submit buttons */
.form-notice { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.form-notice a { color: var(--muted); text-decoration: underline; }
.form-notice a:hover { color: var(--brand); }
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================
   PRODUCT AND INDUSTRY LEAD
============================================================ */

.detail-lead { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; }
.detail-lead__img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.detail-lead__img img { width: 100%; height: auto; display: block; }
.detail-lead__lead { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.detail-lead--noimg { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }

@media (max-width: 899px) {
    .detail-lead { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   CAROUSEL
============================================================ */

.carousel { position: relative; }

.carousel__track {
    display: flex; gap: 20px;
    overflow-x: auto; scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 8px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; }

.carousel__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--brand); font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.12); z-index: 5;
    transition: background .15s, color .15s, opacity .15s;
}
.carousel__nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.carousel__nav--prev { left: -18px; }
.carousel__nav--next { right: -18px; }
.carousel__nav[hidden] { display: none; }

@media (max-width: 1279px) {
    .carousel__nav--prev { left: 4px; }
    .carousel__nav--next { right: 4px; }
}
@media (max-width: 999px) { .carousel__item { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 599px) {
    .carousel__item { flex: 0 0 78%; }
    .carousel__nav { width: 36px; height: 36px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* background-attachment: fixed is unreliable on touch devices */
@media (max-width: 1023px), (hover: none) {
    .videoblock,
    .section--gears { background-attachment: scroll; }
}

/* ============================================================
   REVEAL ON SCROLL
   Only applied when JavaScript is running, so content stays
   visible if the script fails or is blocked.
============================================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease-out, transform .55s ease-out;
    will-change: opacity, transform;
}
.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* Side entrances for the two column blocks */
.js [data-reveal="left"]  { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal="left"].is-revealed,
.js [data-reveal="right"].is-revealed { transform: none; }

/* Anyone who has asked for less motion gets none of it */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal],
    .js [data-reveal="left"],
    .js [data-reveal="right"] {
        opacity: 1; transform: none; transition: none;
    }
}
