/*
    The header of every brand surface, in the brand's own language.

    These are the landing page's rules for its strip and its nav, copied rather than rewritten, and
    namespaced under .brandhead so they style this header and nothing else — a copied page's `.wrap`
    is a grid inside a hero, and a header that imports that word would restyle the page under it.

    Every colour is a brand token with the landing's literal as fallback, so a brand that defines no
    tokens still gets a header that looks like the landing it was measured against.
*/
/* The bar's own height, named: the strip (30px) plus the nav (69px), measured in a browser at
   desktop width. The promo rail is positioned against this rather than the 66px the old surface
   hardcoded, and it is named here because this file is what makes the bar that tall. */
:root { --brand-head-h: 99px; }

.brandhead {
    --bh-navy: var(--b101-indigo-deep, #070A2B);
    --bh-nav: var(--b101-indigo, #0B0F3D);
    --bh-coral: var(--b101-coral, #E24B46);
    --bh-coral-hi: var(--b101-coral-hi, #FF6A5C);
    --bh-ivory: var(--b101-ivory, #F4E9D7);
    --bh-muted: var(--b101-muted, #AEB3DA);
    --bh-line: var(--b101-line, #26308A);
    --bh-electric: var(--b101-electric, #4C63FF);
    --bh-display: var(--bh-font, 'Archivo', system-ui, sans-serif);
}
.brandhead .topbar { background: var(--bh-coral); color: #fff; font: 700 .72rem/1 var(--bh-display); font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase; }
.brandhead .topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 9px; }
.brandhead nav.main { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11, 15, 61, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--bh-line); }
.brandhead nav.main .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: clamp(16px, 2.5vw, 40px); padding-block: 10px; }
.brandhead .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bh-ivory); text-decoration: none; }
.brandhead .brand img { height: 48px; width: auto; display: block; }
.brandhead .wordmark { font: 900 1.35rem/1 var(--bh-display); font-stretch: 118%; letter-spacing: .02em; text-transform: uppercase; }
.brandhead .links { display: flex; gap: 28px; font: 700 .78rem var(--bh-display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; }
.brandhead .links a { text-decoration: none; color: var(--bh-muted); }
.brandhead .links a:hover { color: var(--bh-coral); }
.brandhead .navcta { display: flex; align-items: center; gap: 14px; }
.brandhead .age { font: 800 .74rem var(--bh-display); border: 1.5px solid var(--bh-muted); color: var(--bh-muted); padding: 5px 7px; border-radius: 6px; }
.brandhead .signin { color: var(--bh-ivory); font: 700 .78rem var(--bh-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.brandhead .signin:hover { color: var(--bh-coral); }
.brandhead .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 800 .76rem/1 var(--bh-display); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
    background: var(--bh-coral); color: #fff; padding: 12px 18px; border: 0; border-radius: 10px;
    text-decoration: none; transition: transform .18s ease, background .18s ease;
}
.brandhead .btn:hover { background: var(--bh-coral-hi); transform: translateY(-1px); }
.brandhead .toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
.brandhead .toggle span { display: block; width: 22px; height: 2px; background: var(--bh-ivory); }
@media (max-width: 900px) {
    /* their own answer to a narrow screen was to drop the words and keep the drawer */
    .brandhead .links { display: none; }
    .brandhead .age { display: none; }
    .brandhead .toggle { display: flex; }
}
