/* ==========================================================================
   Balboa Line — Theme layer on top of Bootstrap 5.3.8
   Fonts: Barlow Condensed (display) + Inter (body), self-hosted in css/fonts
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-var.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
    --bl-ink: #0a1628;
    --bl-ink-2: #0f1d33;
    --bl-ink-3: #16284a;
    --bl-ink-4: #213a66;
    --bl-paper: #f5f7fa;
    --bl-white: #ffffff;
    --bl-signal: #2ee6a6;
    --bl-signal-soft: #5cf0bc;
    --bl-signal-deep: #0e9f72;
    --bl-amber: #f5b942;
    --bl-text: #1b2432;
    --bl-muted: #5b6878;
    --bl-muted-dark: #9aa7ba;
    --bl-line: #dce1e8;
    --bl-line-dark: rgba(255, 255, 255, 0.1);
    --bl-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --bl-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --bl-radius: 2px;
    --bl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --bl-nav-h: 66px;

    /* Bootstrap variable overrides */
    --bs-body-font-family: var(--bl-body);
    --bs-body-color: var(--bl-text);
    --bs-body-bg: #ffffff;
    --bs-link-color: var(--bl-signal-deep);
    --bs-link-hover-color: #0b7f5b;
    --bs-link-color-rgb: 14, 159, 114;
    --bs-link-hover-color-rgb: 11, 127, 91;
    --bs-border-color: var(--bl-line);
    --bs-primary: #0e9f72;
    --bs-primary-rgb: 14, 159, 114;
    --bs-dark: #0a1628;
    --bs-dark-rgb: 10, 22, 40;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bl-nav-h) + 1rem);
}
body {
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
::selection {
    background-color: var(--bl-signal);
    color: var(--bl-ink);
}
img,
video {
    max-width: 100%;
}
a {
    text-underline-offset: 0.18em;
}
:focus-visible {
    outline: 3px solid var(--bl-signal);
    outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4,
.display-bl {
    font-family: var(--bl-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.005em;
    color: inherit;
}
h5, h6 {
    font-family: var(--bl-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}
.display-bl-xl { font-size: clamp(3rem, 7.5vw, 6.5rem); }
.display-bl-lg { font-size: clamp(2.6rem, 5.5vw, 4.75rem); }
.display-bl-md { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.display-bl-sm { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.display-bl-xs { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--bl-muted);
}
.lead-lg { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.text-muted-bl { color: var(--bl-muted) !important; }
.text-signal { color: var(--bl-signal) !important; }
.text-signal-deep { color: var(--bl-signal-deep) !important; }
.text-amber { color: var(--bl-amber) !important; }
.max-ch-45 { max-width: 45ch; }
.max-ch-55 { max-width: 55ch; }
.max-ch-65 { max-width: 65ch; }
.max-ch-75 { max-width: 75ch; }
.fw-500 { font-weight: 500; }
.ls-1 { letter-spacing: 0.08em; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--bl-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bl-signal-deep);
    margin-bottom: 1.25rem;
}
.eyebrow::before {
    content: "";
    width: 2.25rem;
    height: 2px;
    background-color: currentColor;
    flex: none;
}
.section-dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow { color: var(--bl-signal); }

/* The "line" motif used as a divider */
.line-rule {
    width: 4.5rem;
    height: 3px;
    background-color: var(--bl-signal);
    border: 0;
    opacity: 1;
    margin: 0 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn-bl {
    --bs-btn-font-family: var(--bl-display);
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: 1.05rem;
    --bs-btn-padding-x: 1.6rem;
    --bs-btn-padding-y: 0.85rem;
    --bs-btn-border-radius: var(--bl-radius);
    --bs-btn-border-width: 1.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
    transition: transform 0.25s var(--bl-ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn-bl svg {
    width: 1.05em;
    height: 1.05em;
    flex: none;
    transition: transform 0.25s var(--bl-ease);
}
.btn-bl:hover svg { transform: translateX(4px); }
.btn-bl-sm {
    --bs-btn-font-size: 0.95rem;
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.7rem;
}
.btn-bl-primary {
    --bs-btn-color: var(--bl-ink);
    --bs-btn-bg: var(--bl-signal);
    --bs-btn-border-color: var(--bl-signal);
    --bs-btn-hover-color: var(--bl-ink);
    --bs-btn-hover-bg: var(--bl-signal-soft);
    --bs-btn-hover-border-color: var(--bl-signal-soft);
    --bs-btn-active-color: var(--bl-ink);
    --bs-btn-active-bg: #19d497;
    --bs-btn-active-border-color: #19d497;
    --bs-btn-focus-shadow-rgb: 46, 230, 166;
}
.btn-bl-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bl-ink);
    --bs-btn-border-color: var(--bl-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bl-ink-3);
    --bs-btn-hover-border-color: var(--bl-ink-3);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bl-ink-4);
    --bs-btn-active-border-color: var(--bl-ink-4);
    --bs-btn-focus-shadow-rgb: 10, 22, 40;
}
.btn-bl-outline {
    --bs-btn-color: var(--bl-ink);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bl-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bl-ink);
    --bs-btn-hover-border-color: var(--bl-ink);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bl-ink);
    --bs-btn-active-border-color: var(--bl-ink);
    --bs-btn-focus-shadow-rgb: 10, 22, 40;
}
.btn-bl-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.65);
    --bs-btn-hover-color: var(--bl-ink);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--bl-ink);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
}
.link-arrow {
    font-family: var(--bl-display);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bl-signal-deep);
}
.link-arrow svg {
    width: 1em;
    height: 1em;
    transition: transform 0.25s var(--bl-ease);
}
.link-arrow:hover svg { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--bl-signal); }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100%;
    z-index: 2000;
    background-color: var(--bl-signal);
    color: var(--bl-ink);
    padding: 0.65rem 1rem;
    font-weight: 600;
    border-radius: var(--bl-radius);
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Navbar ---------- */
.navbar-bl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.6rem 0;
    background-image: linear-gradient(to bottom, rgba(10, 22, 40, 0.78), rgba(10, 22, 40, 0));
    transition: background-color 0.35s, padding 0.35s, box-shadow 0.35s;
}
.navbar-bl.is-scrolled,
.navbar-bl.is-open {
    background-color: rgba(10, 22, 40, 0.96);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    padding: 0.6rem 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.navbar-bl .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    padding: 0;
    margin-right: 2rem;
}
.navbar-bl .navbar-brand svg {
    width: 38px;
    height: 38px;
    flex: none;
}
.navbar-bl .navbar-brand > img[src$=".svg"],
.footer .navbar-brand > img[src$=".svg"] {
    display: block;
    width: 100%;
    max-height: 38px;
}
.brand-word {
    font-family: var(--bl-display);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
}
.brand-word span {
    font-weight: 500;
    color: var(--bl-signal);
}
.navbar-bl .nav-link {
    font-family: var(--bl-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 0.95rem;
    position: relative;
}
.navbar-bl .nav-link:hover,
.navbar-bl .nav-link:focus,
.navbar-bl .nav-link.active,
.navbar-bl .dropdown.show > .nav-link { color: #fff; }
.navbar-bl .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.25rem;
    height: 2px;
    background-color: var(--bl-signal);
}
.navbar-bl .dropdown-toggle::after {
    vertical-align: 0.15em;
    margin-left: 0.4em;
    opacity: 0.7;
}
.navbar-bl .dropdown-menu {
    --bs-dropdown-bg: var(--bl-ink-2);
    --bs-dropdown-border-color: rgba(255, 255, 255, 0.08);
    --bs-dropdown-border-radius: var(--bl-radius);
    --bs-dropdown-link-color: rgba(255, 255, 255, 0.85);
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-hover-bg: rgba(46, 230, 166, 0.12);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: rgba(46, 230, 166, 0.22);
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-item-padding-y: 0.65rem;
    --bs-dropdown-item-padding-x: 1.15rem;
    --bs-dropdown-font-size: 0.95rem;
    min-width: 15rem;
    border-top: 2px solid var(--bl-signal);
    margin-top: 0;
}
.navbar-bl .dropdown-item { font-weight: 500; }
.navbar-bl .dropdown-item.active { font-weight: 600; }
.navbar-bl .btn-join { margin-left: 0.75rem; }
.navbar-toggler {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--bl-radius);
    padding: 0.45rem 0.6rem;
    color: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(46, 230, 166, 0.4); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .navbar-bl .dropdown-menu { margin-top: 0.35rem; }
    .navbar-bl .dropdown-menu::before {
        /* invisible bridge so the menu doesn't close while the cursor moves down */
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -0.6rem;
        height: 0.6rem;
    }
}
@media (max-width: 991.98px) {
    .navbar-bl .navbar-collapse {
        position: fixed;
        inset: var(--bl-nav-h) 0 0 0;
        background-color: var(--bl-ink);
        padding: 1.5rem 1.25rem 3rem;
        overflow-y: auto;
        border-top: 1px solid var(--bl-line-dark);
    }
    .navbar-bl .navbar-collapse.collapsing { transition: none; height: auto !important; }
    .navbar-bl .nav-link {
        font-size: 1.5rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--bl-line-dark);
    }
    .navbar-bl .nav-link.active::after { display: none; }
    .navbar-bl .dropdown-menu {
        border: 0;
        border-left: 2px solid var(--bl-signal);
        background-color: transparent;
        padding: 0.25rem 0 0.75rem 1rem;
        margin: 0.25rem 0 0.5rem;
    }
    .navbar-bl .dropdown-item { font-size: 1.05rem; padding-left: 0.5rem; }
    .navbar-bl .btn-join { margin: 1.5rem 0 0; width: 100%; justify-content: center; }
    .navbar-bl.is-open {
        padding: 0.6rem 0;
        /* no backdrop-filter here: it would become the containing block for the fixed menu panel */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: var(--bl-ink);
    }
    .navbar-bl .navbar-brand svg { width: 34px; height: 34px; }
    .brand-word { font-size: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
    background-color: var(--bl-ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero--tall { min-height: 100svh; }
.hero--short { min-height: 74svh; }
.hero--compact { min-height: 58svh; }
.hero--minimal { min-height: auto; }
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--bl-ink);
}
.hero__media video,
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__media--dim img,
.hero__media--dim video { filter: brightness(0.75); }
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(180deg, rgba(10, 22, 40, 0.35) 0%, rgba(10, 22, 40, 0.5) 50%, rgba(10, 22, 40, 0.94) 100%);
}
.hero__overlay--side {
    background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.65) 55%, rgba(10, 22, 40, 0.35) 100%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.1), rgba(10, 22, 40, 0.75));
}
.hero__content {
    position: relative;
    width: 100%;
    padding: calc(var(--bl-nav-h) + 4rem) 0 4.5rem;
}
.hero--minimal .hero__content { padding: calc(var(--bl-nav-h) + 3.5rem) 0 3.5rem; }
.hero h1 { max-width: 16ch; }
.hero .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 62ch;
}
.hero::after {
    /* the signature "line" */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 38%;
    background-color: var(--bl-signal);
}
.hero__scroll {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--bl-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    writing-mode: vertical-rl;
}
.hero__scroll::after {
    content: "";
    width: 1px;
    height: 3rem;
    background-color: currentColor;
    animation: scroll-hint 2.2s var(--bl-ease) infinite;
    transform-origin: top;
}
@keyframes scroll-hint {
    0% { transform: scaleY(0); opacity: 0; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(1rem); opacity: 0; }
}
@media (min-width: 992px) {
    .hero__scroll { display: flex; }
}

/* Ticker strip */
.ticker {
    background-color: var(--bl-ink-2);
    border-top: 1px solid var(--bl-line-dark);
    border-bottom: 1px solid var(--bl-line-dark);
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    font-family: var(--bl-display);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.95rem;
}
.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 0.85rem 1rem 0.85rem 2rem;
    white-space: nowrap;
}
.ticker__item::after {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--bl-signal);
    transform: rotate(45deg);
}
.ticker__item strong {
    color: var(--bl-signal);
    font-weight: 600;
}
@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-paper { background-color: var(--bl-paper); }
.section-dark {
    background-color: var(--bl-ink);
    color: #fff;
}
.section-dark .text-muted-bl,
.section-dark .lead { color: var(--bl-muted-dark) !important; }
.section-dark hr { border-color: var(--bl-line-dark); opacity: 1; }
.grid-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Pillars */
.pillar {
    position: relative;
    padding-top: 1.5rem;
    height: 100%;
}
.pillar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background-color: var(--bl-signal);
}
.pillar__num {
    font-family: var(--bl-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    color: var(--bl-muted);
}
.section-dark .pillar__num { color: var(--bl-muted-dark); }
.pillar h3 {
    font-size: 1.8rem;
    margin: 0.5rem 0 0.75rem;
}
.pillar p { margin: 0; color: var(--bl-muted); }
.section-dark .pillar p { color: var(--bl-muted-dark); }

/* Media blocks */
.media {
    position: relative;
    overflow: hidden;
    border-radius: var(--bl-radius);
    background-color: var(--bl-ink-2);
}
.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s var(--bl-ease), filter 0.6s;
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--5x6 { aspect-ratio: 5 / 6; }
.media--clip {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.25rem), calc(100% - 3.25rem) 100%, 0 100%);
}
.media--clip-tl {
    clip-path: polygon(3.25rem 0, 100% 0, 100% 100%, 0 100%, 0 3.25rem);
}
.media--tint::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(160deg, rgba(10, 22, 40, 0.65), rgba(46, 230, 166, 0.4));
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.6s;
}
.media--tint img { filter: grayscale(1) contrast(1.05); }
.media--tint:hover::after { opacity: 0.35; }
.media--tint:hover img { filter: grayscale(0.2) contrast(1.02); }
a.media:hover img,
.media--zoom:hover img { transform: scale(1.04); }
.media-frame {
    position: relative;
}
.media-frame::before {
    /* offset accent line behind the image */
    content: "";
    position: absolute;
    left: -1.25rem;
    bottom: -1.25rem;
    width: 55%;
    height: 3px;
    background-color: var(--bl-signal);
}
.media-frame--right::before {
    left: auto;
    right: -1.25rem;
}
.media-caption {
    font-size: 0.85rem;
    color: var(--bl-muted);
    margin-top: 0.75rem;
}

/* Stats */
.stat {
    border-left: 2px solid var(--bl-signal);
    padding-left: 1.25rem;
}
.stat__value {
    font-family: var(--bl-display);
    font-weight: 700;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 1;
    color: #fff;
}
.stat__value small {
    font-size: 0.5em;
    color: var(--bl-signal);
    margin-left: 0.1em;
}
.stat__label {
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bl-muted-dark);
}

/* Values / qualities */
.value {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.value__icon {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border: 1.5px solid var(--bl-signal-deep);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--bl-signal-deep);
}
.value__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}
.section-dark .value__icon {
    border-color: var(--bl-signal);
    color: var(--bl-signal);
}
.value h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.value p {
    margin: 0;
    color: var(--bl-muted);
}
.section-dark .value p { color: var(--bl-muted-dark); }

/* Feature list with check marks */
.list-signal {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-signal li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: 0.75rem;
}
.list-signal li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 1rem;
    height: 2px;
    background-color: var(--bl-signal-deep);
}
.section-dark .list-signal li::before { background-color: var(--bl-signal); }

/* Cards */
.card-bl {
    height: 100%;
    background-color: #fff;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius);
    padding: 2rem;
    transition: transform 0.3s var(--bl-ease), box-shadow 0.3s;
}
.card-bl:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -28px rgba(10, 22, 40, 0.35);
}
.card-bl h3 { font-size: 1.6rem; }
.section-dark .card-bl {
    background-color: var(--bl-ink-2);
    border-color: var(--bl-line-dark);
    color: #fff;
}
.card-bl--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-bl--media .card-bl__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card-bl--media .media { border-radius: 0; }

/* News cards */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background-color: #fff;
    border: 1px solid var(--bl-line);
    border-radius: var(--bl-radius);
    overflow: hidden;
    transition: transform 0.3s var(--bl-ease), box-shadow 0.3s;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -28px rgba(10, 22, 40, 0.4);
}
.news-card .media { aspect-ratio: 10 / 7; border-radius: 0; }
.news-card:hover .media img { transform: scale(1.04); }
.news-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}
.news-card h3 {
    font-family: var(--bl-body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0.25rem 0 0;
}
.news-card h3 a {
    color: inherit;
    text-decoration: none;
}
.news-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.news-card__date {
    font-size: 0.85rem;
    color: var(--bl-muted);
}
.section-dark .news-card {
    background-color: var(--bl-ink-2);
    border-color: var(--bl-line-dark);
    color: #fff;
}
.section-dark .news-card__date { color: var(--bl-muted-dark); }
.tag {
    font-family: var(--bl-display);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--bl-signal-deep);
}
.section-dark .tag { color: var(--bl-signal); }

/* Leaders */
.leader .media { aspect-ratio: 5 / 6; }
.leader__name {
    font-family: var(--bl-display);
    font-weight: 700;
    font-size: 1.65rem;
    text-transform: uppercase;
    margin: 1.1rem 0 0.15rem;
    line-height: 1;
}
.leader__title {
    color: var(--bl-signal-deep);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.leader p {
    font-size: 0.95rem;
    color: var(--bl-muted);
    margin: 0.75rem 0 0;
}
.leader .btn-link {
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.leader .btn-link[aria-expanded="true"] .more,
.leader .btn-link[aria-expanded="false"] .less { display: none; }

/* CTA band */
.cta-band {
    position: relative;
    color: #fff;
    background-color: var(--bl-ink);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.cta-band__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) brightness(0.55);
}
.cta-band__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.75) 55%, rgba(10, 22, 40, 0.45) 100%);
}
.cta-band .lead { color: rgba(255, 255, 255, 0.8); }
.cta-band::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 3px;
    width: 28%;
    background-color: var(--bl-signal);
}

/* Photo strip */
.photo-strip .media { aspect-ratio: 4 / 3; }

/* Roles list */
.role {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 1.5rem;
    align-items: center;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--bl-line);
}
.role:first-child { border-top: 1px solid var(--bl-line); }
.role__title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}
.role__meta {
    color: var(--bl-muted);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-top: 0.25rem;
}
.role__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.role__meta svg {
    width: 1em;
    height: 1em;
    flex: none;
}
@media (max-width: 575.98px) {
    .role { grid-template-columns: 1fr; }
}

/* Process steps */
.step {
    position: relative;
    padding-left: 4rem;
}
.step__num {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 1.5px solid var(--bl-signal);
    color: var(--bl-signal);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--bl-display);
    font-weight: 700;
    font-size: 1.15rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--bl-muted-dark); }

/* Perks grid */
.perk {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bl-line);
}
.perk svg {
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
    color: var(--bl-signal-deep);
    margin-top: 0.1rem;
}

/* News list page */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-btn {
    --bs-btn-font-family: var(--bl-display);
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: 0.95rem;
    --bs-btn-padding-x: 1.1rem;
    --bs-btn-padding-y: 0.55rem;
    --bs-btn-border-radius: 999px;
    --bs-btn-color: var(--bl-text);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--bl-line);
    --bs-btn-hover-color: var(--bl-ink);
    --bs-btn-hover-bg: #e9fbf4;
    --bs-btn-hover-border-color: var(--bl-signal-deep);
    --bs-btn-active-color: var(--bl-ink);
    --bs-btn-active-bg: var(--bl-signal);
    --bs-btn-active-border-color: var(--bl-signal);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.post {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--bl-line);
}
.post.is-hidden { display: none; }
.post__date {
    font-family: var(--bl-display);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1;
    color: var(--bl-ink);
}
.post h3 {
    font-family: var(--bl-body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.3;
}
.post__body {
    color: var(--bl-muted);
}
.post__body p:last-child { margin-bottom: 0; }
.post .btn-link {
    padding: 0;
    font-weight: 600;
    text-decoration: none;
}
.post .btn-link[aria-expanded="true"] .more,
.post .btn-link[aria-expanded="false"] .less { display: none; }
.post:target { scroll-margin-top: calc(var(--bl-nav-h) + 1rem); }

/* Offices */
.jump-nav {
    position: sticky;
    top: var(--bl-nav-h);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bl-line);
}
.jump-nav a {
    display: inline-block;
    padding: 1rem 1.25rem 0.9rem;
    font-family: var(--bl-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bl-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.jump-nav a:hover,
.jump-nav a.active {
    color: var(--bl-ink);
    border-bottom-color: var(--bl-signal);
}
.office { scroll-margin-top: calc(var(--bl-nav-h) + 4rem); }
.office__meta dt {
    font-family: var(--bl-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--bl-muted);
}
.office__meta dd { margin-bottom: 1rem; }

/* Notice */
.notice {
    border-left: 3px solid var(--bl-amber);
    background-color: #fff8e8;
    padding: 1.35rem 1.5rem;
    border-radius: var(--bl-radius);
    color: #4a3a12;
}
.notice h2,
.notice h3 { color: var(--bl-ink); }
.notice p:last-child { margin: 0; }
.section-dark .notice {
    background-color: rgba(245, 185, 66, 0.08);
    color: #f6e7c4;
}
.section-dark .notice h3 { color: #fff; }

/* Forms */
.form-control,
.form-select {
    border-radius: var(--bl-radius);
    border-color: var(--bl-line);
    padding: 0.85rem 1rem;
    font-size: 1rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--bl-signal-deep);
    box-shadow: 0 0 0 0.25rem rgba(46, 230, 166, 0.28);
}
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
}
.form-check-input:checked {
    background-color: var(--bl-signal-deep);
    border-color: var(--bl-signal-deep);
}
.form-check-input:focus { box-shadow: 0 0 0 0.25rem rgba(46, 230, 166, 0.28); }

/* Prose (legal pages, articles) */
.prose {
    max-width: 74ch;
}
.prose h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 0.85rem;
}
.prose h3 {
    font-size: 1.3rem;
    margin: 1.75rem 0 0.6rem;
}
.prose p,
.prose li { color: var(--bl-muted); }
.prose p strong,
.prose li strong { color: var(--bl-text); }
.prose ul { padding-left: 1.25rem; }
.prose .meta {
    font-size: 0.9rem;
    color: var(--bl-muted);
}

/* Breadcrumb-ish page label */
.page-label {
    font-family: var(--bl-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--bl-signal);
}

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bl-line-dark);
}
.contact-list svg {
    flex: none;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--bl-signal);
    margin-top: 0.2rem;
}
.contact-list strong {
    display: block;
    font-family: var(--bl-display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--bl-muted-dark);
    font-weight: 600;
}
.contact-list a {
    color: #fff;
    text-decoration: none;
}
.contact-list a:hover { color: var(--bl-signal); }

/* ---------- Footer ---------- */
.footer {
    background-color: #071020;
    color: rgba(255, 255, 255, 0.72);
    padding: 4.5rem 0 2rem;
    font-size: 0.95rem;
}
.footer .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
.footer .navbar-brand svg { width: 38px; height: 38px; }
.footer h4 {
    font-size: 1rem;
    letter-spacing: 0.16em;
    color: #fff;
    margin-bottom: 1.1rem;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer li { margin-bottom: 0.55rem; }
.footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover { color: var(--bl-signal); }
.footer__tagline {
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.6);
}
.social {
    display: flex;
    gap: 0.6rem;
}
.social a {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.social a:hover {
    border-color: var(--bl-signal);
    color: var(--bl-ink);
    background-color: var(--bl-signal);
}
.social svg {
    width: 1.1rem;
    height: 1.1rem;
}
.footer__legal {
    border-top: 1px solid var(--bl-line-dark);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer__legal a { color: rgba(255, 255, 255, 0.6); }
.footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.footer__legal li { margin: 0; }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    border: 0;
    background-color: var(--bl-signal);
    color: var(--bl-ink);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--bl-ease);
}
.back-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.back-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--bl-ease), transform 0.8s var(--bl-ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ticker__track {
        animation: none;
        width: auto;
        flex-wrap: wrap;
    }
    .ticker__track[aria-hidden="true"] { display: none; }
    .hero__scroll::after { animation: none; }
    .media img,
    .btn-bl,
    .btn-bl svg,
    .news-card,
    .card-bl { transition: none; }
}

/* ---------- Utilities ---------- */
.bg-ink { background-color: var(--bl-ink) !important; }
.bg-ink-2 { background-color: var(--bl-ink-2) !important; }
.bg-paper { background-color: var(--bl-paper) !important; }
.border-line { border-color: var(--bl-line) !important; }
.border-line-dark { border-color: var(--bl-line-dark) !important; }
.rounded-bl { border-radius: var(--bl-radius) !important; }
.z-1 { z-index: 1; }
.vr-signal {
    width: 2px;
    background-color: var(--bl-signal);
    opacity: 1;
}

/* Print */
@media print {
    .navbar-bl,
    .back-to-top,
    .hero__media video,
    .ticker { display: none !important; }
    .hero { min-height: auto; color: #000; background-color: #fff; }
    .hero__overlay { display: none; }
    .section-dark,
    .cta-band,
    .footer { background-color: #fff !important; color: #000 !important; }
}
