

:root {
    /* Near-black cinematic scale */
    --navy-900: #050507;
    --navy-800: #0c0c10;
    --navy-700: #16161c;
    --navy-600: #24242e;
    --navy-500: #3a3a48;

    /* BrightFlixx brand red — used sparingly */
    --red-700: #8b1418;
    --red-600: #b01b1a;
    --red-500: #d12421;
    --red-400: #e8453d;
    --red-300: #f06d66;

    --ink: #0a0a0c;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --text-invert: #f5f5f7;
    --text-invert-muted: #a1a1a6;

    --bg: #fbfbfd;
    --bg-muted: #f5f5f7;
    --bg-soft: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: #24242e;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
    --shadow-red: 0 8px 24px rgba(209, 36, 33, 0.22);

    --container: 1120px;
    --header-h: 72px;

    /* Typography — overridden from SiteSettings (curated fonts) via bf-cms-branding */
    --font-sans: "Avenir Next", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Avenir Next", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: var(--font-display);
    --font-heading: var(--font-display);
    --font-body: var(--font-sans);
    --color-text: var(--text);
    --color-text-muted: var(--text-muted);
    --color-heading: var(--ink);
    --color-link: var(--red-600);
    --color-link-hover: var(--red-500);
    --color-background: var(--bg);
    --color-accent: var(--red-500);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 280ms var(--ease-spring);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body, var(--font-sans));
    color: var(--color-text, var(--text));
    background: var(--color-background, var(--bg));
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-link-hover); }

h1, h2, h3, h4 { font-family: var(--font-heading, var(--font-display)); line-height: 1.12; color: var(--color-heading, var(--ink)); font-weight: 700; letter-spacing: -0.02em; }

::selection { background: rgba(200, 31, 28, .2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
    position: absolute; inset-inline-start: -999px; top: 0; z-index: 300;
    background: var(--red-600); color: #fff; padding: 10px 16px;
    border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { inset-inline-start: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
    font-family: var(--font-sans);
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
    letter-spacing: .01em; white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--gold {
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: #fff; box-shadow: var(--shadow-red);
}
.btn--gold:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(200,31,28,.5); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--text-invert); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--red-400); color: #fff; background: rgba(200,31,28,.18); }
.btn--outline { border-color: var(--border); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--red-500); color: var(--red-600); background: rgba(200,31,28,.06); }

/* ---------- Disclaimer banner ---------- */
.disclaimer-banner {
    background: #050405; color: var(--text-invert-muted); font-size: 13px;
    border-block-end: 1px solid rgba(200,31,28,.28);
}
.disclaimer-banner[hidden] { display: none; }
.disclaimer-banner__inner { display: flex; align-items: center; gap: 16px; padding-block: 9px; }
.disclaimer-banner__text { margin: 0; flex: 1; }
.disclaimer-banner__link { color: var(--red-300); text-decoration: underline; white-space: nowrap; }
.disclaimer-banner__close {
    background: none; border: none; color: var(--text-invert-muted); font-size: 22px; line-height: 1;
    cursor: pointer; padding: 0 4px;
}
.disclaimer-banner__close:hover { color: #fff; }

/* ---------- CMS site banners ---------- */
.site-banners--top_sticky {
    position: sticky;
    top: 0;
    z-index: 110; /* above sticky header so the bar stays visible while scrolling */
}
.site-banner {
    --site-banner-bg: #0c0c10;
    --site-banner-fg: var(--text-invert-muted);
    --site-banner-accent: var(--red-300);
    background: var(--site-banner-bg);
    color: var(--site-banner-fg);
    font-size: 13.5px;
    border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}
.site-banner[hidden] { display: none; }
.site-banner--info {
    --site-banner-bg: #0c0c10;
    --site-banner-accent: #a1a1a6;
}
.site-banner--success {
    --site-banner-bg: #0a1410;
    --site-banner-accent: #6bbf8a;
    border-block-end-color: rgba(107, 191, 138, 0.28);
}
.site-banner--warning {
    --site-banner-bg: #16120a;
    --site-banner-accent: #d4a24c;
    border-block-end-color: rgba(212, 162, 76, 0.32);
}
.site-banner--promo {
    --site-banner-bg: #12090a;
    --site-banner-accent: var(--red-300);
    border-block-end-color: rgba(209, 36, 33, 0.35);
}
.site-banner__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-block: 10px;
}
.site-banner__content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    min-width: 0;
}
.site-banner__title {
    color: #f5f5f7;
    font-weight: 650;
    letter-spacing: -0.01em;
}
.site-banner__body { color: inherit; }
.site-banner__cta {
    color: var(--site-banner-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    font-weight: 600;
}
.site-banner__cta:hover { color: #fff; }
.site-banner__close {
    background: none;
    border: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.75;
}
.site-banner__close:hover { opacity: 1; color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    /* Transparent shell: blur lives on ::before so it does NOT create a
       containing block that collapses position:fixed mobile nav. */
    background: transparent;
    border-block-end: 1px solid rgba(255,255,255,.07);
    transition: box-shadow .3s, z-index 0s;
    overflow: visible;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: rgba(10, 9, 11, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.site-header.is-scrolled::before { background: rgba(10, 9, 11, 0.94); }
/* Open mobile nav must stack above language/cookie floaters (z-index 1040+). */
body.nav-open .site-header { z-index: 1200; }
.site-header__inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); position: relative; z-index: 1; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-invert); font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.brand:hover { color: var(--text-invert); }
.brand__logo { height: 30px; width: auto; display: block; }
.brand__mark {
    display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--red-500), var(--red-600)); color: #fff; font-size: 19px;
}
.brand--light .brand__name { color: var(--text-invert); }

.main-nav { margin-inline-start: auto; }
.main-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__link {
    display: block; padding: 9px 13px; border-radius: 8px; color: var(--text-invert-muted);
    font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; position: relative;
}
.main-nav__link:hover, .main-nav__link.is-active { color: #fff; background: rgba(255,255,255,.06); }
.main-nav__link.is-active::after {
    content: ""; position: absolute; inset-inline: 13px; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, var(--red-500), var(--red-400)); border-radius: 2px;
}
.main-nav__item--has-children { position: relative; }
.main-nav__link--parent { cursor: default; }
.main-nav__dropdown {
    display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 200px;
    margin: 4px 0 0; padding: 8px; list-style: none;
    background: #1a1214; border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.35); z-index: 40;
}
.main-nav__item--has-children:hover > .main-nav__dropdown,
.main-nav__item--has-children:focus-within > .main-nav__dropdown { display: grid; gap: 2px; }
.main-nav__dropdown-link {
    display: block; padding: 10px 12px; border-radius: 8px; color: var(--text-invert-muted);
    font-size: 14px; white-space: nowrap;
}
.main-nav__dropdown-link:hover, .main-nav__dropdown-link.is-active {
    color: #fff; background: rgba(255,255,255,.06);
}

.header-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.header-actions__cta { display: inline-flex; }

/* Locale switcher */
.locale-switcher { position: relative; }
.locale-switcher__toggle {
    display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08);
    color: var(--text-invert); border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
    padding: 8px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s;
}
.locale-switcher__toggle:hover { border-color: var(--red-400); }
.locale-switcher__menu {
    position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; color: var(--text);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; min-inline-size: 190px;
    list-style: none; margin: 0; z-index: 120; max-block-size: 60vh; overflow: auto;
}
.locale-switcher__menu[hidden] { display: none; }
.locale-switcher__item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px;
}
.locale-switcher__item:hover { background: var(--bg-muted); color: var(--ink); }
.locale-switcher__item.is-active { background: var(--navy-800); color: #fff; }
.locale-switcher__code { font-size: 11px; color: var(--text-muted); letter-spacing: .06em; }
.locale-switcher__item.is-active .locale-switcher__code { color: var(--red-300); }

/* Burger */
.burger {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px; position: relative; z-index: 3;
}
.burger span { width: 24px; height: 2px; background: var(--text-invert); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.main { display: block; }
.section { padding-block: 96px; }
.section--muted { background: var(--bg-muted); }
.section--navy { background: radial-gradient(120% 120% at 80% -20%, #1c0d0e 0%, var(--navy-900) 55%); color: var(--text-invert); }
.section__head { max-width: 760px; margin-inline: auto; text-align: center; margin-block-end: 56px; }
.section__head--row { display: flex; align-items: center; justify-content: space-between; text-align: start; max-width: none; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__subtitle { color: var(--text-invert-muted); }
.section__title { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 16px; }
.section--navy .section__title { color: #fff; }
.section__subtitle { font-size: 18.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.section__text { font-size: 17px; color: var(--text); }
.section__text--lead { font-size: 21px; line-height: 1.7; color: var(--text); }
.section--navy .section__text { color: var(--text-invert-muted); }
.section__note { font-size: 13.5px; color: var(--text-muted); margin-block-start: 20px; }
.section__note--light { color: var(--text-invert-muted); }
.placeholder-note {
    font-size: 13px; font-weight: 600; color: var(--red-700);
    background: rgba(200, 31, 28, .08); border: 1px dashed rgba(200,31,28,.5);
    border-radius: 10px; padding: 11px 16px; margin: 0 0 22px;
}
.ipo-legal__notice { font-weight: 600; }
.ipo-legal__text { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; font-weight: 700;
    color: var(--red-600); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red-500); border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--red-300); }

.link-arrow { font-weight: 600; color: var(--color-link); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
[dir="rtl"] .link-arrow::after { content: "\2190"; }
.link-arrow:hover::after { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--text-invert); overflow: hidden; }
.hero__video {
    position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
    object-fit: cover; z-index: 0; pointer-events: none;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(70% 90% at 82% -10%, rgba(200,31,28,.34), transparent 58%),
        radial-gradient(55% 75% at 5% 110%, rgba(125,17,20,.42), transparent 60%),
        linear-gradient(160deg, rgba(10,9,11,.5) 0%, rgba(10,9,11,.82) 72%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .4;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 3px 3px; mix-blend-mode: overlay;
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(88px, 13vw, 150px); max-width: 860px; }
@media (prefers-reduced-motion: reduce) {
    .hero__video { display: none; }
    .hero { background: var(--navy-900) var(--bf-img-hero, url('/assets/img/hero-poster.webp')) center/cover no-repeat; }
}
.hero__title { font-size: clamp(38px, 6vw, 68px); margin: 0 0 22px; color: #fff; line-height: 1.05; }
.hero__subtitle { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-invert-muted); margin: 0 0 38px; max-width: 680px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero { position: relative; background: radial-gradient(110% 130% at 85% -20%, #1c0d0e 0%, var(--navy-900) 55%); color: var(--text-invert); padding-block: clamp(64px, 9vw, 108px); overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background: radial-gradient(45% 70% at 5% 120%, rgba(125,17,20,.4), transparent 60%);
}
.page-hero--accent { background: radial-gradient(110% 130% at 15% -20%, #24100f 0%, var(--navy-900) 55%); }
.page-hero > .container { position: relative; }
.page-hero__title { font-size: clamp(32px, 4.8vw, 52px); margin: 0 0 18px; color: #fff; max-width: 900px; }
.page-hero__subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--text-invert-muted); margin: 0; max-width: 740px; line-height: 1.65; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
    position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::before {
    content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--red-500), var(--red-400)); transform: scaleX(0); transform-origin: inline-start;
    transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,31,28,.35); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
    display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-block-end: 18px;
    box-shadow: var(--shadow-red);
}
.card__title { font-size: 20px; margin: 0 0 10px; }
.card__text { margin: 0; color: var(--text-muted); font-size: 15.5px; }

/* Person cards */
.person { text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person__avatar { inline-size: 74px; block-size: 74px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--red-400), var(--red-700)); box-shadow: var(--shadow-red); }
.person__name { font-size: 18px; margin: 0 0 4px; }
.person__role { color: var(--red-600); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.person__bio { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ---------- Meet our team — core management + expandable roster ---------- */
.team-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(88px, 12vw, 140px);
    color: var(--text-invert);
    background:
        radial-gradient(50% 60% at 100% 0%, rgba(176, 27, 26, 0.14), transparent 55%),
        linear-gradient(180deg, #07070a 0%, #0a0a0d 100%);
}
.team-section__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.team-section__inner { position: relative; z-index: 1; max-width: 920px; }
.team-section__head {
    max-width: 640px;
    margin: 0 0 56px;
    text-align: start;
}
.team-section__title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.team-section__subtitle {
    margin: 0;
    max-width: 520px;
    color: var(--text-invert-muted);
    font-size: clamp(16px, 1.7vw, 18.5px);
    line-height: 1.65;
}
.team-section__label {
    margin: 0 0 28px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
}

/* Core management — editorial rows, not cards */
.team-core { margin-block-end: 48px; }
.team-core__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}
.team-exec {
    display: grid;
    grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
    padding-block: clamp(28px, 4vw, 40px);
    border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}
.team-exec__portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #141418;
}
.team-exec__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.9) contrast(1.04);
    transition: transform 0.7s var(--ease-spring), filter 0.45s var(--ease);
}
.team-exec:hover .team-exec__photo {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.05);
}
.team-exec__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--red-600), var(--navy-800));
}
.team-exec__name {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.025em;
    line-height: 1.12;
}
.team-exec__role {
    margin: 0;
    color: var(--red-300);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.team-exec__bio {
    margin: 14px 0 0;
    max-width: 42ch;
    color: rgba(245, 245, 247, 0.62);
    font-size: 15.5px;
    line-height: 1.6;
}

/* Extended team — collapsed by default */
.team-extended {
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
    padding-block-start: 8px;
}
.team-extended__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    padding-block: 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    user-select: none;
    transition: color 0.2s var(--ease);
}
.team-extended__summary::-webkit-details-marker { display: none; }
.team-extended__summary::marker { content: ""; }
.team-extended__summary:hover { color: var(--red-300); }
.team-extended__summary-close { display: none; }
.team-extended[open] .team-extended__summary-open { display: none; }
.team-extended[open] .team-extended__summary-close { display: inline; }
.team-extended__chevron {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.28s var(--ease);
    opacity: 0.75;
}
.team-extended[open] .team-extended__chevron {
    transform: rotate(225deg) translateY(-2px);
}
.team-extended__panel {
    padding-block-end: 12px;
    animation: team-panel-in 0.35s var(--ease) both;
}
.team-roster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}
.team-roster__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 12px 18px 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}
.team-roster__item:nth-child(odd) { padding-inline-end: 20px; }
.team-roster__item:nth-child(even) {
    padding-inline-start: 20px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}
.team-roster__portrait {
    flex: 0 0 56px;
    width: 56px;
    height: 70px;
    overflow: hidden;
    background: #141418;
}
.team-roster__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.92);
}
.team-roster__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(145deg, var(--red-600), var(--navy-800));
}
.team-roster__name {
    margin: 0 0 4px;
    color: #fff;
    font-size: 15.5px;
    letter-spacing: -0.015em;
    line-height: 1.2;
}
.team-roster__role {
    margin: 0;
    color: rgba(245, 245, 247, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes team-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .team-section__head { margin-block-end: 40px; }
    .team-exec {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 18px;
        padding-block: 24px;
    }
    .team-exec__bio { font-size: 14.5px; }
    .team-roster { grid-template-columns: 1fr; }
    .team-roster__item:nth-child(odd),
    .team-roster__item:nth-child(even) {
        padding-inline: 0;
        border-inline-start: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .team-exec__photo { transition: none; }
    .team-exec:hover .team-exec__photo { transform: none; }
    .team-extended__panel { animation: none; }
    .team-extended__chevron { transition: none; }
}


/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s; }
.stat:hover { border-color: rgba(200,31,28,.4); background: rgba(200,31,28,.06); }
.stat__value { display: block; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, #fff, var(--red-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; color: var(--text-invert-muted); font-size: 14px; margin-block-start: 10px; }

/* ---------- IPO teaser ---------- */
.ipo-teaser { display: grid; place-items: center; text-align: center; }
.ipo-teaser__content { max-width: 740px; }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; margin-block-start: 20px; }
.data-table th, .data-table td { text-align: start; padding: 15px 8px; border-block-end: 1px solid var(--border); }
.data-table th { color: var(--text-muted); font-weight: 600; width: 45%; }
.data-table td { font-weight: 600; color: var(--ink); }

.cta-box { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--text-invert); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.cta-box__title { color: #fff; margin: 0 0 12px; font-size: 22px; }
.cta-box__text { color: var(--text-invert-muted); font-size: 15px; margin: 0 0 20px; }

/* ---------- Calendar / timeline ---------- */
.calendar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.calendar-item { display: flex; gap: 20px; align-items: baseline; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 17px 22px; transition: border-color .2s; }
.calendar-item:hover { border-color: rgba(200,31,28,.35); }
.calendar-item__date { font-weight: 700; color: var(--red-600); min-inline-size: 160px; }
.calendar-item__event { color: var(--text); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; border-inline-start: 2px solid var(--border); padding-inline-start: 28px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; inset-inline-start: -35px; top: 4px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px rgba(200,31,28,.2); }
.timeline__date { font-weight: 700; color: var(--red-600); font-size: 14px; }
.timeline__title { margin: 4px 0 6px; font-size: 19px; }
.timeline__text { margin: 0; color: var(--text-muted); }

/* ---------- Offer grid ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), border-color .25s; }
.offer-item:hover { transform: translateY(-3px); border-color: rgba(200,31,28,.35); }
.offer-item__label { display: block; color: var(--text-muted); font-size: 14px; margin-block-end: 6px; }
.offer-item__value { display: block; font-family: var(--font-display); font-size: 23px; color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 22px; transition: border-color .2s; }
.faq__item[open] { border-color: rgba(200,31,28,.4); }
.faq__q { cursor: pointer; font-weight: 600; padding-block: 15px; font-size: 16.5px; color: var(--ink); }
.faq__a { margin: 0 0 15px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; text-align: center; background: radial-gradient(120% 160% at 80% -30%, #24100f, var(--navy-900) 60%); color: #fff; border-radius: var(--radius); padding: 64px 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); }
.cta-banner__title { color: #fff; margin: 0 0 12px; font-size: clamp(24px,3vw,34px); }
.cta-banner__text { color: var(--text-invert-muted); max-width: 640px; margin: 0 auto 28px; }

/* ---------- Downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download-item { display: flex; align-items: center; gap: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s, transform .2s; }
.download-item:not(.download-item--pending):hover { border-color: var(--red-400); transform: translateY(-2px); }
.download-item--pending { opacity: .72; }
.download-item__icon { display: grid; place-items: center; inline-size: 46px; block-size: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #fff; font-size: 12px; font-weight: 700; }
.download-item__title { display: block; font-weight: 600; color: var(--ink); }
.download-item__meta { display: block; font-size: 13px; color: var(--text-muted); }

/* ---------- News ---------- */
.news-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,31,28,.3); }
.news-card__meta { display: flex; align-items: center; gap: 12px; }
.news-card__date { color: var(--text-muted); font-size: 13px; }
.news-card__title { font-size: 19px; margin: 0; }
.news-card__excerpt { color: var(--text-muted); font-size: 15px; margin: 0; flex: 1; }
.tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px; background: var(--bg-muted); color: var(--red-700); }
.tag--ipo { background: rgba(200,31,28,.12); color: var(--red-600); }
.tag--corporate { background: rgba(42,38,48,.08); color: var(--navy-600); }
.tag--product { background: rgba(30,120,90,.12); color: #1e785a; }
.tag--research { background: rgba(120,60,140,.12); color: #7a3c8c; }

/* News card thumbnails (bleed to card edges) */
.news-card--media { padding-block-start: 0; overflow: hidden; }
.news-card__media { margin: -26px -26px 4px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-muted); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.news-card--media:hover .news-card__media img { transform: scale(1.05); }

/* News detail lead image */
.article-media { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.article-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- About mission (two-column) ---------- */
.mission { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.mission__content { min-width: 0; }
.mission__media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.mission__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Home catalogue grid ---------- */
.catalogue__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalogue__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-md); }
.catalogue__item img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.catalogue__item:hover img { transform: scale(1.06); }
.catalogue__caption { position: absolute; inset-inline: 0; inset-block-end: 0; margin: 0; padding: 30px 16px 13px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(to top, rgba(10,9,11,.88), rgba(10,9,11,.45) 55%, transparent); }

/* ---------- Press portal ---------- */
.page-hero__feeds { margin-block-start: 18px; font-size: 14px; }
.presse-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 48px; align-items: start; }
.presse-aside { position: sticky; top: 96px; display: grid; gap: 28px; }
.presse-filters { display: grid; gap: 10px; }
.presse-filters__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.presse-filters__input, .presse-filters__select {
    width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text); padding: 10px 12px; font: inherit;
}
.presse-filters__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.presse-archive__title { font-size: 15px; margin: 0 0 10px; }
.presse-archive__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.presse-archive__list ul { list-style: none; margin: 6px 0 0; padding-inline-start: 14px; display: grid; gap: 4px; color: var(--text-muted); }
.presse-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-block-start: 1px solid var(--border); }
.presse-list__item { border-block-end: 1px solid var(--border); }
.presse-list__link {
    display: grid; gap: 8px; padding: 22px 4px; text-decoration: none; color: inherit;
    transition: background .2s var(--ease), padding-inline-start .2s var(--ease);
}
.presse-list__link:hover { background: rgba(200,31,28,.04); padding-inline-start: 8px; }
.presse-list__date { color: var(--text-muted); font-size: 13px; }
.presse-list__title { margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.presse-list__excerpt { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.presse-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 28px; }
.presse-tags__tag { color: var(--red-600); text-decoration: none; font-size: 14px; }
.presse-tags__tag:hover { text-decoration: underline; }
.presse-contact { margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid var(--border); }
.presse-contact__title { font-size: 16px; margin: 0 0 8px; }
.presse-contact__name { margin: 0 0 6px; font-weight: 600; }
.presse-attachment { margin-block-start: 24px; }
@media (max-width: 900px) {
    .presse-layout { grid-template-columns: 1fr; gap: 32px; }
    .presse-aside { position: static; }
}

/* ---------- Prose / legal ---------- */
.prose-block { max-width: 840px; margin-inline: auto; }
.legal-section { margin-block-end: 30px; }
.legal-section__heading { font-size: 20px; margin: 0 0 8px; }
.legal-section__body { color: var(--text); margin: 0; white-space: pre-line; }

.legal-privacy-cta { padding-block: 28px; }
.legal-privacy-cta__box { margin: 0; }
.legal-privacy-cta__actions,
.legal-privacy-cta__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.legal-privacy-cta__footer {
    margin-block-start: 36px;
    padding-block-start: 28px;
    border-block-start: 1px solid var(--border);
}
.legal-privacy-cta .btn--ghost {
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.legal-privacy-cta .btn--ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.08);
}

.legal-rights__list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.legal-rights__item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.legal-rights__title { color: var(--ink); font-size: 15px; }
.legal-rights__text { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.rich-text h2 { font-size: 25px; margin-block: 26px 12px; }
.rich-text h3 { font-size: 19px; margin-block: 22px 10px; }
.rich-text p { margin-block: 0 16px; }
.rich-text ul { padding-inline-start: 22px; }

/* ---------- Contact ---------- */
.contact-info__list { display: grid; grid-template-columns: auto; gap: 4px 0; margin: 16px 0 0; }
.contact-info__list dt { font-weight: 700; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-block-start: 14px; }
.contact-info__list dd { margin: 0; color: var(--ink); }
.form__row { margin-block-end: 18px; }
.form__label { display: block; font-weight: 600; margin-block-end: 6px; font-size: 14px; }
.form__input { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 15px; background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form__input:focus { outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(200,31,28,.18); }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-block-end: 20px; }
.alert--success { background: rgba(30,120,90,.1); color: #1e785a; border: 1px solid rgba(30,120,90,.3); }
.alert--error { background: rgba(200,31,28,.08); color: var(--red-600); border: 1px solid rgba(200,31,28,.3); }
.form__input[aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(200,31,28,.15); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact form (enhanced) ---------- */
.contact-info__note { margin-block-start: 22px; color: var(--text-muted); font-size: 14.5px; border-inline-start: 2px solid rgba(200,31,28,.4); padding-inline-start: 14px; }
.form__intro { color: var(--text-muted); margin: 0 0 24px; font-size: 15.5px; }

.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.form__row { margin-block-end: 0; min-inline-size: 0; }
.form__row--full { grid-column: 1 / -1; }
.form__label { display: flex; align-items: baseline; gap: 8px; }
.form__req { color: var(--red-500); font-weight: 700; }
.form__optional { font-weight: 500; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.form__textarea { resize: vertical; min-block-size: 140px; line-height: 1.6; }
.form__select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding-inline-end: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23a01916' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
[dir="rtl"] .form__select { background-position: left 16px center; padding-inline-end: 15px; padding-inline-start: 44px; }
.form__select:invalid { color: var(--text-muted); }

.form__error { margin: 7px 0 0; color: var(--red-600); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.form__error::before { content: "\26A0"; font-size: 13px; }

.form__consent { margin-block-start: 4px; }
.form__check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 14.5px; color: var(--text); line-height: 1.55; }
.form__check input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; flex: 0 0 auto;
    inline-size: 20px; block-size: 20px; margin-block-start: 1px;
    border: 1.5px solid var(--border); border-radius: 6px; background: var(--bg);
    cursor: pointer; transition: border-color .2s, background .2s; position: relative;
}
.form__check input[type="checkbox"]:hover { border-color: var(--red-400); }
.form__check input[type="checkbox"]:checked { background: var(--red-600); border-color: var(--red-600); }
.form__check input[type="checkbox"]:checked::after {
    content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 6px;
    inline-size: 5px; block-size: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.form__check input[type="checkbox"]:focus-visible { outline: 3px solid var(--red-400); outline-offset: 2px; }
.form__check input[type="checkbox"][aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(200,31,28,.15); }
.form__check a { color: var(--red-600); text-decoration: underline; }

.form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-block-start: 26px; }
.form__submit { position: relative; }
.form__submit[disabled], .form__submit.is-busy { opacity: .75; cursor: progress; transform: none; }
.form__spinner { display: none; inline-size: 17px; block-size: 17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: bfx-spin .6s linear infinite; }
.form__submit.is-busy .form__spinner { display: inline-block; }
@keyframes bfx-spin { to { transform: rotate(360deg); } }
.form__required-note { margin: 0; font-size: 13px; color: var(--text-muted); }

.form__status:empty { display: none; }
.alert--success { display: flex; flex-direction: column; gap: 2px; }
.alert--success strong { font-weight: 700; }
.form__row.has-error .form__input { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(200,31,28,.15); }

@media (max-width: 560px) {
    .form__grid { grid-template-columns: 1fr; }
}

/* ---------- Error pages ---------- */
.error-page { padding: clamp(60px, 12vw, 140px) 0; text-align: center; }
.error-page__code { font-family: var(--font-display); font-size: clamp(56px, 12vw, 130px); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--red-400), var(--red-700)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.error-page__title { font-size: clamp(24px, 4vw, 38px); margin: 12px 0 10px; }
.error-page__text { color: var(--text-muted); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Offices (map + slider) ---------- */
.offices__map-wrap { max-width: 980px; margin: 0 auto 48px; }
.world-map { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.world-map__earth image { image-rendering: auto; }
.marker { cursor: pointer; outline: none; }
.marker__dot { fill: var(--red-500); stroke: #fff; stroke-width: 2; transition: r .2s, fill .2s; }
.marker__glow { opacity: 0; transition: opacity .3s; }
.marker__pulse { fill: none; stroke: var(--red-400); stroke-width: 2; opacity: 0; }
.marker__label { fill: #fff; font-family: var(--font-sans); font-size: 15px; font-weight: 600; opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: rgba(10,9,11,.85); stroke-width: 4px; }
.marker:hover .marker__label, .marker:focus .marker__label, .marker.is-active .marker__label { opacity: 1; }
.marker:hover .marker__glow, .marker.is-active .marker__glow { opacity: 1; }
.marker.is-active .marker__dot { fill: var(--red-300); r: 9; }
.marker.is-active .marker__pulse { opacity: 1; animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0% { r: 7; opacity: .8; } 100% { r: 22; opacity: 0; } }

.offices__slider { display: flex; align-items: stretch; gap: 12px; }
.offices__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-block: 6px; flex: 1; scrollbar-width: thin; }
.offices__track::-webkit-scrollbar { height: 8px; }
.offices__track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 8px; }
.office-card {
    scroll-snap-align: center; flex: 0 0 clamp(260px, 32%, 350px); background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; color: var(--text-invert);
    transition: border-color .25s, transform .25s, background .25s, box-shadow .25s; outline: none;
}
.office-card.is-active { border-color: var(--red-400); background: rgba(200,31,28,.12); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.office-card__logo {
    display: flex; align-items: center; justify-content: flex-start;
    min-height: 48px; margin-block-end: 14px;
}
.office-card__logo img {
    max-width: 140px; max-height: 48px; width: auto; height: auto;
    object-fit: contain;
}
.office-card__region { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--red-300); margin-block-end: 10px; }
.office-card__company { color: #fff; font-size: 22px; margin: 0 0 4px; }
.office-card__city { color: var(--text-invert-muted); margin: 0 0 16px; font-weight: 600; }
.office-card__details { margin: 0 0 18px; display: grid; gap: 4px; }
.office-card__details dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--red-300); margin-block-start: 10px; }
.office-card__details dd { margin: 0; color: var(--text-invert-muted); font-size: 14.5px; }
.office-card__locate { background: none; border: 1px solid rgba(255,255,255,.25); color: var(--text-invert); border-radius: 999px; padding: 9px 17px; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.office-card__locate:hover { border-color: var(--red-400); color: #fff; background: rgba(200,31,28,.18); }

.slider-nav { flex: 0 0 auto; align-self: center; inline-size: 46px; block-size: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s, border-color .2s; }
.slider-nav:hover { border-color: var(--red-400); background: rgba(200,31,28,.18); color: #fff; }

.offices__dots { display: flex; justify-content: center; gap: 8px; margin-block-start: 22px; }
.offices__dot { inline-size: 9px; block-size: 9px; padding: 0; border-radius: 50%; border: none; background: rgba(255,255,255,.25); cursor: pointer; transition: background .2s, transform .2s; }
.offices__dot.is-active { background: var(--red-400); transform: scale(1.35); }

/* ---------- Footer ---------- */
.site-footer { background: #060506; color: var(--text-invert-muted); padding-block: 64px 0; border-block-start: 1px solid rgba(255,255,255,.06); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-block-end: 48px; }
.site-footer .brand__logo { height: 28px; }
.site-footer__tagline { margin: 18px 0 8px; color: var(--text-invert-muted); max-width: 320px; }
.site-footer__address { font-size: 14px; color: var(--text-invert-muted); }
.site-footer__heading { color: #fff; font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer__col a { color: var(--text-invert-muted); font-size: 15px; }
.site-footer__col a:hover { color: var(--red-300); }
.site-footer__bottom { border-block-start: 1px solid rgba(255,255,255,.08); padding-block: 26px; }
.site-footer__disclaimer { font-size: 12.5px; color: var(--text-invert-muted); margin: 0 0 8px; opacity: .8; }
.site-footer__rights { font-size: 13px; margin: 0; }

/* ---------- Social links (footer) ---------- */
.social-links { margin-block-start: 22px; }
.social-links__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 10px;
}
.social-links__item {
    display: inline-flex; align-items: center; justify-content: center;
    inline-size: 40px; block-size: 40px;
    border-radius: 10px;
    color: #f5f5f7;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social-links__item:hover,
.social-links__item:focus-visible {
    color: #fff;
    background: rgba(209, 36, 33, .22);
    border-color: rgba(240, 109, 102, .45);
    transform: translateY(-1px);
}
.social-links__icon { display: flex; line-height: 0; }
.social-links__icon svg { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .main-nav, .header-actions__cta { display: none; }
    .burger { display: inline-flex; }
    /* Fixed to the viewport. Safe because header blur is on ::before, not on
       .site-header itself (backdrop-filter on an ancestor would collapse this
       panel to zero height: top:header-h + bottom:0 inside a ~72px box). */
    .main-nav.is-open {
        display: block;
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        inset-block-end: 0;
        background: var(--navy-900);
        padding: 20px;
        overflow: auto;
        z-index: 110;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.is-open .main-nav__list { flex-direction: column; gap: 6px; }
    .main-nav.is-open .main-nav__link { font-size: 18px; padding: 14px; }
    .main-nav.is-open .main-nav__dropdown {
        display: grid; gap: 4px; position: static; margin: 0 0 8px 12px;
        padding: 0; background: transparent; border: 0; box-shadow: none;
    }
    .main-nav.is-open .main-nav__dropdown-link { font-size: 16px; padding: 10px 14px; }
    body.nav-open .bf-lang-float,
    body.nav-open .cookie-reopen {
        visibility: hidden;
        pointer-events: none;
    }
    .two-col { grid-template-columns: 1fr; }
    .section__head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .mission { grid-template-columns: 1fr; gap: 30px; }
    .catalogue__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .section { padding-block: 64px; }
    .card-grid--3, .card-grid--4, .downloads, .offer-grid { grid-template-columns: 1fr; }
    .catalogue__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .catalogue__caption { padding: 22px 12px 10px; font-size: 13px; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .calendar-item { flex-direction: column; gap: 2px; }
    .calendar-item__date { min-inline-size: 0; }
    .disclaimer-banner__text { font-size: 12px; }
    .site-banner { font-size: 12.5px; }
    .site-banner__inner { gap: 10px; padding-block: 9px; }
    .site-banner__cta { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, .form__input:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--red-400); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Cookie consent ---------- */
.btn--ghost-dark { border-color: rgba(255,255,255,.4); color: var(--text-invert); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--red-400); color: #fff; background: rgba(200,31,28,.18); }
.cookie-consent {
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 210;
    background: var(--navy-900); color: var(--text-invert);
    border-block-start: 2px solid var(--red-500); box-shadow: 0 -8px 30px rgba(0,0,0,.5);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; flex-wrap: wrap; }
.cookie-consent__body { flex: 1; min-inline-size: 260px; }
.cookie-consent__title { color: #fff; font-size: 17px; margin: 0 0 4px; }
.cookie-consent__text { margin: 0; font-size: 14px; color: var(--text-invert-muted); }
.cookie-consent__link { color: var(--red-300); text-decoration: underline; }
.cookie-consent__sep { margin-inline: .35em; opacity: .55; }
.cookie-consent__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookie-consent__settings { color: var(--text-invert-muted); font-size: 13px; text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }
.cookie-consent__settings:hover { color: var(--red-300); }
.cookie-consent__panel {
    display: grid; gap: 10px; margin-block-start: 14px;
    padding: 12px 14px; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.cookie-consent__panel[hidden] { display: none; }
.cookie-consent__opt {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; color: var(--text-invert-muted); cursor: pointer;
}
.cookie-consent__opt input { margin-block-start: 3px; accent-color: var(--red-500); }
.cookie-consent__opt strong { display: block; color: #fff; font-size: 14px; }
.cookie-consent__opt small { display: block; opacity: .85; }
.cookie-reopen {
    /* Bottom-right by default; side/offset from admin via modifiers + CSS vars. */
    position: fixed;
    bottom: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    left: auto;
    z-index: 205;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
    background: var(--navy-900); color: var(--text-invert); font-size: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.35); cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease), padding .2s var(--ease), border-radius .2s var(--ease), max-width .2s var(--ease);
}
.cookie-reopen--side-left {
    left: calc(1rem + env(safe-area-inset-left, 0px));
    right: auto;
}
.cookie-reopen:hover { border-color: var(--red-400); color: #fff; }
.cookie-reopen[hidden] { display: none; }
.cookie-reopen__icon { display: none; line-height: 0; color: var(--red-400); }
body.bf-cookie-open { padding-block-end: 0; }

/* Edge-peek: collapsed cookie tab */
body.floater-mode-edge_peek .cookie-reopen--edge_peek {
    bottom: auto;
    top: auto;
    inset-block-end: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem 0.45rem;
    writing-mode: horizontal-tb;
    max-width: 2.75rem;
    overflow: hidden;
}
body.floater-mode-edge_peek .cookie-reopen--edge_peek.cookie-reopen--side-right {
    right: 0;
    left: auto;
    border-radius: 12px 0 0 12px;
}
body.floater-mode-edge_peek .cookie-reopen--edge_peek.cookie-reopen--side-left {
    left: 0;
    right: auto;
    border-radius: 0 12px 12px 0;
}
body.floater-mode-edge_peek .cookie-reopen--edge_peek .cookie-reopen__icon { display: flex; }
body.floater-mode-edge_peek .cookie-reopen--edge_peek.is-compact:not(.is-expanded):not(:hover):not(:focus-visible) .cookie-reopen__label {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
body.floater-mode-edge_peek .cookie-reopen--edge_peek.is-expanded,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:hover,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:focus-visible,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:not(.is-compact) {
    max-width: 14rem;
    padding: 0.55rem 0.9rem;
    flex-direction: row;
}
body.floater-mode-edge_peek .cookie-reopen--edge_peek.is-expanded .cookie-reopen__label,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:hover .cookie-reopen__label,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:focus-visible .cookie-reopen__label,
body.floater-mode-edge_peek .cookie-reopen--edge_peek:not(.is-compact) .cookie-reopen__label {
    position: static;
    width: auto; height: auto;
    margin: 0; padding: 0;
    overflow: visible; clip: auto;
    white-space: nowrap;
}

.site-footer__text-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}
.site-footer__text-btn:hover { color: var(--red-300); }

/* ---------- YouTube embeds ---------- */
.video-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.video-embed {
    position: relative; aspect-ratio: 16 / 9;
    border-radius: 12px; overflow: hidden;
    background: var(--navy-900); box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.video-embed__placeholder,
.video-embed__frame {
    position: absolute; inset: 0;
}
.video-embed__thumb {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: brightness(.55);
}
.video-embed__note {
    position: absolute; inset-inline: 16px; inset-block-end: 56px;
    margin: 0; text-align: center; color: #fff; font-size: 14px;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.video-embed__placeholder .btn {
    position: absolute; inset-inline-start: 50%; inset-block-end: 18px;
    transform: translateX(-50%);
}
.video-embed__frame iframe {
    width: 100%; height: 100%; border: 0; display: block;
}
@media (max-width: 640px) {
    .cookie-consent__actions { inline-size: 100%; justify-content: flex-end; }
    .cookie-reopen:not(.cookie-reopen--edge_peek) {
        bottom: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    }
}

body {
    font-size: 17px;
    letter-spacing: -0.011em;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(209, 36, 33, 0.04), transparent 50%),
        var(--bg);
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.btn {
    border-radius: var(--radius-sm);
    padding: 15px 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
.btn--gold {
    background: var(--red-500);
    box-shadow: none;
}
.btn--gold:hover {
    background: var(--red-600);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}
.btn--ghost {
    border-radius: var(--radius-sm);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.site-header {
    border-block-end: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header::before {
    background: rgba(5, 5, 7, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.site-header.is-scrolled::before { background: rgba(5, 5, 7, 0.9); }
.brand__logo { height: 34px; width: auto; }
.main-nav__link {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Official BrightFlixx logo (brightflixx.com) — never stretch */
.bf-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: min(100%, 220px);
    object-fit: contain;
    object-position: left center;
}
.bf-logo--header { height: 28px; }
.bf-logo--footer { height: 26px; }
.bf-logo--hero {
    height: 32px;
    margin-block-end: 1.5rem;
}
.bf-logo--hero-lg {
    height: clamp(36px, 5vw, 44px);
    max-width: min(100%, 280px);
    margin-block-end: 1.75rem;
}
.brand:hover { color: inherit; }

/* Professional locale switcher */
.locale-switcher { position: relative; }
.locale-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.4rem 0.7rem 0.4rem 0.45rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #f5f5f7;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.locale-switcher__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}
.locale-switcher.is-open .locale-switcher__toggle {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}
.locale-switcher__code-badge {
    display: inline-grid;
    place-items: center;
    min-inline-size: 2rem;
    block-size: 1.6rem;
    padding-inline: 0.35rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.locale-switcher__current {
    max-inline-size: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.locale-switcher__caret {
    opacity: 0.7;
    transition: transform 0.2s var(--ease);
}
.locale-switcher.is-open .locale-switcher__caret { transform: rotate(180deg); }

.locale-switcher__panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    z-index: 140;
    width: min(22rem, calc(100vw - 2rem));
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 18, 22, 0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    color: #f5f5f7;
}
.locale-switcher__panel[hidden] { display: none; }
.locale-switcher__label {
    margin: 0 0 0.55rem;
    padding-inline: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 245, 247, 0.55);
}
.locale-switcher__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    max-block-size: min(60vh, 22rem);
    overflow: auto;
    position: static;
    inset: auto;
    min-inline-size: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.locale-switcher__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    color: rgba(245, 245, 247, 0.88);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.15s var(--ease);
}
.locale-switcher__item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.locale-switcher__item.is-active {
    background: rgba(209, 36, 33, 0.18);
    color: #fff;
}
.locale-switcher__item-code {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(245, 245, 247, 0.45);
}
.locale-switcher__item.is-active .locale-switcher__item-code { color: var(--red-300); }
.locale-switcher__item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.locale-switcher__check { color: var(--red-300); }

@media (max-width: 720px) {
    .locale-switcher__current { display: none; }
    .locale-switcher__panel { width: min(18.5rem, calc(100vw - 1.5rem)); }
}

.section { padding-block: clamp(72px, 10vw, 120px); }
.section__title {
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: -0.035em;
}
.section__subtitle {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 560px;
    margin-inline: auto;
}
.section--navy {
    background:
        radial-gradient(90% 80% at 80% -10%, rgba(209, 36, 33, 0.18), transparent 55%),
        radial-gradient(70% 60% at 0% 100%, rgba(209, 36, 33, 0.08), transparent 50%),
        var(--navy-900);
}

/* Hero — full-bleed cinematic, brand-first */
.hero {
    min-height: min(92vh, 880px);
    display: flex;
    align-items: flex-end;
}
.hero__inner {
    padding-block: clamp(100px, 14vw, 160px) clamp(72px, 10vw, 120px);
    max-width: 720px;
    animation: hero-rise 0.9s var(--ease-spring) both;
}
.hero__brand {
    height: 36px;
    width: auto;
    margin-block-end: 28px;
    filter: brightness(1.05);
}
.hero__title {
    font-size: clamp(40px, 6.5vw, 72px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0 0 20px;
}
.hero__subtitle {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 400;
    color: rgba(245, 245, 247, 0.78);
    margin: 0 0 36px;
    max-width: 540px;
    line-height: 1.45;
}
.hero__bg {
    background:
        linear-gradient(180deg, rgba(5, 5, 7, 0.15) 0%, rgba(5, 5, 7, 0.55) 45%, rgba(5, 5, 7, 0.92) 100%),
        radial-gradient(60% 50% at 70% 20%, rgba(209, 36, 33, 0.22), transparent 70%);
}
.hero__bg::after { opacity: 0.15; }
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Inner page heroes */
.page-hero {
    padding-block: clamp(80px, 12vw, 128px);
    background:
        radial-gradient(80% 90% at 90% -20%, rgba(209, 36, 33, 0.22), transparent 55%),
        var(--navy-900);
}
.page-hero__brand {
    height: 28px;
    width: auto;
    margin-block-end: 24px;
    opacity: 0.95;
}
.page-hero__title {
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.035em;
}
.page-hero__subtitle {
    font-size: 19px;
    max-width: 520px;
    color: rgba(245, 245, 247, 0.72);
}

/* Feature rail (replaces card clutter on home) */
.feature-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-block: 1px solid var(--border);
}
.feature {
    padding: 36px 28px;
    border-inline-end: 1px solid var(--border);
    transition: background var(--transition);
}
.feature:last-child { border-inline-end: none; }
.feature:hover { background: rgba(209, 36, 33, 0.03); }
.feature__title {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 10px;
    letter-spacing: -0.025em;
}
.feature__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.55;
}
@media (max-width: 1024px) {
    .feature-rail { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(2n) { border-inline-end: none; }
    .feature:nth-child(-n+2) { border-block-end: 1px solid var(--border); }
}
@media (max-width: 640px) {
    .feature-rail { grid-template-columns: 1fr; }
    .feature { border-inline-end: none; border-block-end: 1px solid var(--border); }
    .feature:last-child { border-block-end: none; }
}

/* Soften cards sitewide */
.card, .news-card, .person, .offer-item, .download-item, .calendar-item, .faq__item {
    border-radius: var(--radius);
    box-shadow: none;
    border-color: var(--border);
    background: var(--bg-soft);
}
.card:hover, .news-card:hover, .person:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.12);
}
.card::before { display: none; }
.card__icon {
    background: var(--bg-muted);
    color: var(--red-600);
    box-shadow: none;
    border-radius: 12px;
    font-weight: 600;
}

.stat {
    border: none;
    background: transparent;
    padding: 20px 12px;
}
.stat:hover { background: transparent; border: none; }
.stat__value {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.catalogue__item {
    border-radius: 14px;
    border: none;
    box-shadow: none;
}
.catalogue__item img {
    transition: transform 0.7s var(--ease-spring);
}

.form__input, .form__select, .form__textarea {
    border-radius: 12px;
    border-color: rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 14px 16px;
}
.form__input:focus {
    border-color: var(--red-500);
    box-shadow: 0 0 0 4px rgba(209, 36, 33, 0.12);
}

.office-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}
.office-card.is-active {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}
.office-card__locate, .slider-nav {
    border-radius: 12px;
}

.site-footer {
    background: #030304;
    padding-block: 80px 0;
}
.site-footer .brand__logo { height: 32px; }

.eyebrow {
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
}
.eyebrow::before { background: var(--text-muted); width: 16px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--text-invert-muted); }
.section--navy .eyebrow::before, .page-hero .eyebrow::before { background: var(--text-invert-muted); }

@media (prefers-reduced-motion: reduce) {
    .hero__inner { animation: none; }
}

.bf-lang-float {
    position: fixed;
    bottom: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    left: calc(1.25rem + env(safe-area-inset-left, 0px));
    right: auto;
    z-index: 1040;
    font-size: 14px;
}
.bf-lang-float--side-right {
    left: auto;
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
}
.bf-lang-float--side-right .bf-lang-float__panel {
    left: auto;
    right: 0;
}
.bf-lang-float__details { position: relative; }
.bf-lang-float__trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    margin: 0;
    font-family: inherit;
    color: var(--text-invert);
    background: rgba(12, 12, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    min-height: 44px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.bf-lang-float__trigger::-webkit-details-marker { display: none; }
.bf-lang-float__trigger::marker { content: ""; }
.bf-lang-float__trigger:hover,
.bf-lang-float__details[open] > .bf-lang-float__trigger {
    color: #fff;
    border-color: rgba(209, 36, 33, 0.55);
    box-shadow: 0 10px 28px rgba(209, 36, 33, 0.22);
}
.bf-lang-float__trigger:focus-visible {
    outline: 2px solid var(--red-500);
    outline-offset: 2px;
}
.bf-lang-float__globe {
    display: flex;
    flex-shrink: 0;
    color: var(--red-400);
    line-height: 1;
}
.bf-lang-float__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
    min-width: 0;
}
.bf-lang-float__title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-invert-muted);
    font-weight: 600;
}
.bf-lang-float__current {
    font-weight: 600;
    font-size: 0.88rem;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bf-lang-float__chevron {
    display: flex;
    flex-shrink: 0;
    opacity: 0.65;
    line-height: 1;
    transition: transform 0.2s ease;
}
.bf-lang-float__details[open] .bf-lang-float__chevron { transform: rotate(180deg); }
.bf-lang-float__panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    min-width: min(260px, calc(100vw - 2.5rem));
    max-height: min(70vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: rgba(12, 12, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    padding: 0.45rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 36, 33, 0.55) transparent;
}
.bf-lang-float__panel::-webkit-scrollbar { width: 6px; }
.bf-lang-float__panel::-webkit-scrollbar-thumb {
    background: rgba(209, 36, 33, 0.55);
    border-radius: 999px;
}
.bf-lang-float__list { list-style: none; margin: 0; padding: 0; }
.bf-lang-float__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.15rem;
    color: var(--text-invert);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.bf-lang-float__option:hover,
.bf-lang-float__option:focus-visible {
    background: rgba(209, 36, 33, 0.14);
    color: #fff;
    outline: none;
}
.bf-lang-float__option.is-active {
    color: var(--red-300);
    font-weight: 600;
}
.bf-lang-float__option-label { flex: 1; min-width: 0; }
.bf-lang-float--style-codes .bf-lang-float__option-label {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}
.bf-lang-float__code {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--red-300);
    min-width: 1.6rem;
}
.bf-lang-float__name { opacity: 0.9; }
.bf-lang-float--style-codes .bf-lang-float__current {
    font-variant: all-small-caps;
    letter-spacing: 0.06em;
}
.bf-lang-float__option[dir="rtl"] {
    flex-direction: row-reverse;
    text-align: right;
}
.bf-lang-float__option[dir="rtl"] .bf-lang-float__option-label { unicode-bidi: plaintext; }
.bf-lang-float__check {
    color: var(--red-400);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
body.bf-cookie-open .bf-lang-float {
    bottom: calc(var(--bf-floater-offset, 8%) + 5.5rem + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 767px) {
    .bf-lang-float {
        bottom: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    }
    .bf-lang-float--side-left {
        left: calc(0.75rem + env(safe-area-inset-left, 0px));
    }
    .bf-lang-float--side-right {
        right: calc(0.75rem + env(safe-area-inset-right, 0px));
    }
    .bf-lang-float__trigger { padding: 0.4rem 0.65rem 0.4rem 0.5rem; }
    .bf-lang-float__current { font-size: 0.82rem; max-width: 7.5rem; }
    .bf-lang-float__panel { min-width: min(260px, calc(100vw - 2rem)); }
    .bf-lang-float__option { padding: 0.65rem 1rem; font-size: 0.88rem; }
    body.bf-cookie-open .bf-lang-float {
        bottom: calc(var(--bf-floater-offset, 8%) + 7.5rem + env(safe-area-inset-bottom, 0px));
    }
}
html[dir="rtl"] .bf-lang-float--side-left {
    left: calc(1.25rem + env(safe-area-inset-left, 0px));
    right: auto;
}
html[dir="rtl"] .bf-lang-float--side-right {
    left: auto;
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
}
html[dir="rtl"] .bf-lang-float__trigger { direction: ltr; }

/* Edge-peek: thin language tab when compact/idle */
body.floater-mode-edge_peek .bf-lang-float--edge_peek {
    bottom: calc(var(--bf-floater-offset, 8%) + env(safe-area-inset-bottom, 0px));
    top: auto;
    transform: none;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-left {
    left: 0;
    right: auto;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-right {
    left: auto;
    right: 0;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-left .bf-lang-float__trigger {
    border-radius: 0 14px 14px 0;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-right .bf-lang-float__trigger {
    border-radius: 14px 0 0 14px;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek .bf-lang-float__trigger {
    padding: 0.65rem 0.55rem;
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.35);
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.is-compact:not(.is-expanded):not(:hover):not(:focus-within) .bf-lang-float__details:not([open]) .bf-lang-float__label,
body.floater-mode-edge_peek .bf-lang-float--edge_peek.is-compact:not(.is-expanded):not(:hover):not(:focus-within) .bf-lang-float__details:not([open]) .bf-lang-float__chevron {
    display: none;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.is-expanded .bf-lang-float__trigger,
body.floater-mode-edge_peek .bf-lang-float--edge_peek:hover .bf-lang-float__trigger,
body.floater-mode-edge_peek .bf-lang-float--edge_peek:focus-within .bf-lang-float__trigger,
body.floater-mode-edge_peek .bf-lang-float--edge_peek .bf-lang-float__details[open] > .bf-lang-float__trigger,
body.floater-mode-edge_peek .bf-lang-float--edge_peek:not(.is-compact) .bf-lang-float__trigger {
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek .bf-lang-float__panel {
    bottom: calc(100% + 10px);
    top: auto;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-left .bf-lang-float__panel {
    left: 0;
    right: auto;
}
body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-right .bf-lang-float__panel {
    left: auto;
    right: 0;
}
body.floater-mode-edge_peek.bf-cookie-open .bf-lang-float--edge_peek {
    bottom: calc(var(--bf-floater-offset, 8%) + 5.5rem + env(safe-area-inset-bottom, 0px));
}
html[dir="rtl"] body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-left {
    left: 0;
    right: auto;
}
html[dir="rtl"] body.floater-mode-edge_peek .bf-lang-float--edge_peek.bf-lang-float--side-right {
    left: auto;
    right: 0;
}
@media (max-width: 767px) {
    body.floater-mode-edge_peek .bf-lang-float--edge_peek .bf-lang-float__trigger {
        padding: 0.55rem 0.45rem;
    }
}

.page-hero,
.section--navy,
.cta-banner,
.site-footer {
    --bf-dark-image: var(--bf-img-hero, url('/assets/img/hero-poster.webp'));
    --bf-dark-position: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-900);
}

.page-hero::before,
.section--navy::before,
.cta-banner::before,
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 5, 7, 0.58) 0%, rgba(5, 5, 7, 0.82) 48%, rgba(5, 5, 7, 0.94) 100%),
        radial-gradient(75% 70% at 88% -8%, rgba(209, 36, 33, 0.26), transparent 58%),
        var(--bf-dark-image) var(--bf-dark-position) / cover no-repeat;
}

.page-hero > *,
.section--navy > *,
.cta-banner > *,
.site-footer > * {
    position: relative;
    z-index: 1;
}

.section--navy-plain,
.section--navy.stats {
    --bf-dark-image: none;
}
.section--navy-plain::before,
.section--navy.stats::before {
    background:
        radial-gradient(90% 80% at 80% -10%, rgba(209, 36, 33, 0.18), transparent 55%),
        radial-gradient(70% 60% at 0% 100%, rgba(209, 36, 33, 0.08), transparent 50%),
        var(--navy-900);
}

/* Globe — Standorte */
.page-hero--globe,
.section--navy.offices,
.section--navy-globe {
    --bf-dark-image: var(--bf-img-world, url('/assets/img/world-earth.webp'));
    --bf-dark-position: center 42%;
}

.page-hero--globe::before,
.section--navy.offices::before,
.section--navy-globe::before {
    background:
        linear-gradient(180deg, rgba(5, 5, 7, 0.5) 0%, rgba(5, 5, 7, 0.78) 50%, rgba(5, 5, 7, 0.93) 100%),
        radial-gradient(90% 80% at 50% 110%, rgba(209, 36, 33, 0.18), transparent 55%),
        var(--bf-dark-image) var(--bf-dark-position) / cover no-repeat;
}

/* Brand / about */
.page-hero--brand {
    --bf-dark-image: var(--bf-img-mission, url('/assets/img/brand/mission.webp'));
    --bf-dark-position: center 35%;
}

/* Contact / people */
.page-hero--contact {
    --bf-dark-image: var(--bf-img-contact, url('/assets/img/news/founders.webp'));
    --bf-dark-position: center 28%;
}

/* IPO accent */
.page-hero--accent {
    --bf-dark-image: var(--bf-img-ipo, url('/assets/img/news/launch.webp'));
    --bf-dark-position: center 40%;
}

/* Catalogue cinema band */
.section--navy-cinema,
.section--navy.catalogue {
    --bf-dark-image: var(--bf-img-hero, url('/assets/img/hero-poster.webp'));
    --bf-dark-position: center 58%;
}

/* Footer — subtle earth, darker wash */
.site-footer {
    --bf-dark-image: var(--bf-img-footer, url('/assets/img/world-earth.webp'));
    --bf-dark-position: center 70%;
}
.site-footer::before {
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.88) 0%, rgba(3, 3, 4, 0.96) 100%),
        var(--bf-dark-image) var(--bf-dark-position) / cover no-repeat;
}

/* Rounded CTA keeps clip from overflow:hidden */
.cta-banner {
    --bf-dark-image: var(--bf-img-cta, url('/assets/img/news/platform.webp'));
    --bf-dark-position: center;
}

.stock-quotes { margin-block-start: 2rem; }
.stock-quotes--compact { margin-block-start: 0; }
.stock-quotes__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-block-start: 1.25rem;
}
.stock-quote {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface, #fff) 92%, var(--red-300, #e85a57) 8%);
}
.stock-quote__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}
.stock-quote__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.stock-quote__venue {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.stock-quote__price {
    margin: 0.85rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
}
.stock-quote__price--pending { color: var(--text-muted); font-weight: 600; }
.stock-quote__value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.stock-quote__currency { font-weight: 700; color: var(--text-muted); }
.stock-quote__change {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
}
.stock-quote__change--up { color: #1a7f4b; background: color-mix(in srgb, #1a7f4b 12%, transparent); }
.stock-quote__change--down { color: #b42318; background: color-mix(in srgb, #b42318 12%, transparent); }
.stock-quote__meta {
    display: grid;
    gap: 0.35rem;
    margin: 1rem 0 0;
    font-size: 0.85rem;
}
.stock-quote__meta div { display: flex; gap: 0.5rem; }
.stock-quote__meta dt {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 3.2rem;
}
.stock-quote__meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.stock-quote__asof {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.stock-quotes__note {
    margin-block-start: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.stock-quotes__note--light { color: var(--text-invert-muted); }


/* —— Investor auth / portal —— */
.investor-auth { padding-block: 48px 72px; }
.investor-auth__wrap { max-width: 560px; margin-inline: auto; }
.investor-auth__panel {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px 28px;
    box-shadow: var(--shadow-sm);
}
.investor-auth__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 28px 0 0;
    font-size: 14.5px;
    color: var(--text-muted);
}
.investor-auth__links a { font-weight: 600; }
.investor-auth__note {
    margin: 18px 0 0;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}
.investor-auth__stub {
    margin: 8px 0 0;
    word-break: break-all;
    font-size: 13px;
}
.header-actions__investor {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    margin-inline-end: 4px;
}
.header-actions__investor:hover { color: var(--red-600); }
@media (max-width: 720px) {
    .header-actions__investor { display: none; }
    .investor-auth__panel { padding: 28px 20px 22px; }
}

/* --- Investor portal panel --- */
.page-hero--investor {
    background:
        radial-gradient(90% 80% at 10% 0%, rgba(209, 36, 33, 0.18), transparent 55%),
        linear-gradient(180deg, #0c0c10 0%, #16161c 100%);
    color: var(--text-invert);
}
.page-hero--investor .page-hero__title,
.page-hero--investor .page-hero__subtitle { color: var(--text-invert); }
.page-hero--investor .eyebrow { color: var(--red-300); }

.investor-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: rgba(251, 251, 253, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.investor-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.25rem;
}
.investor-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
}
.investor-nav__link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.investor-nav__link:hover,
.investor-nav__link.is-active {
    color: var(--ink);
}
.investor-nav__link.is-active {
    box-shadow: inset 0 -2px 0 var(--red-500);
}
.investor-nav__logout {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.investor-nav__logout:hover { color: var(--red-600); }

.investor-panel { padding-block-start: 2.5rem; }
.investor-panel__narrow { max-width: 560px; }

.investor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (max-width: 800px) {
    .investor-grid { grid-template-columns: 1fr; }
}
.investor-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(165deg, #fff 0%, #f7f7f9 100%);
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.investor-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(209, 36, 33, 0.25);
    color: inherit;
}
.investor-tile__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
}
.investor-tile__value {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.investor-tile__hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.investor-empty { color: var(--text-muted); }
.investor-more {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block-start: 1.75rem;
}
.investor-downloads { margin-block-start: 0.5rem; }
.investor-form__password {
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    border: 0;
    border-top: 1px solid var(--border);
}
.investor-form__password legend {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0;
    margin-block-end: 0.35rem;
}
.investor-press-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}
.investor-press-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: baseline;
    padding-block: 0.65rem;
    border-bottom: 1px solid var(--border);
}
.investor-press-list__source {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---------- Compliance gate (IR downloads) ---------- */
.compliance-gate { max-width: 720px; }
.compliance-gate__steps {
  display: flex; gap: 10px; list-style: none; margin: 0 0 28px; padding: 0; flex-wrap: wrap;
}
.compliance-gate__step {
  flex: 1 1 140px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center;
}
.compliance-gate__step.is-active { border-color: var(--red-500); color: var(--ink); background: rgba(200,31,28,.06); }
.compliance-gate__step.is-done { border-color: var(--navy-700); color: var(--navy-800); }
.compliance-gate__counsel {
  margin: 0 0 22px; font-size: 13px; color: var(--text-muted); line-height: 1.5;
  padding: 12px 14px; border-inline-start: 3px solid var(--red-400); background: rgba(200,31,28,.04);
}
.compliance-gate__panel {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm);
}
.compliance-gate__heading { margin: 0 0 12px; font-size: clamp(22px, 3vw, 28px); color: var(--ink); }
.compliance-gate__lead { margin: 0 0 18px; color: var(--text-muted); line-height: 1.6; }
.compliance-gate__disclaimer {
  margin: 0 0 22px; padding: 16px 18px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--text-invert); border-radius: var(--radius-sm);
}
.compliance-gate__disclaimer h3 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.compliance-gate__body { font-size: 14.5px; line-height: 1.65; color: var(--text-invert-muted); }
.compliance-gate__form .form__check { margin-block-end: 14px; }
.compliance-gate__certified {
  margin: 0 0 16px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(30, 120, 70, .08); color: var(--ink); font-size: 14px; font-weight: 600;
}
.download-item--gated { cursor: pointer; }

/* US / SEC compliance gates */
.compliance-legend { margin: 0 0 28px; padding: 24px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-muted, var(--bg)); }
.compliance-legend__body { color: var(--text); font-size: 15px; line-height: 1.65; }
.compliance-legend__body p { margin: 0 0 12px; }
.form__label--check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.form__label--check input { margin-top: 3px; flex-shrink: 0; }

/* —— Compliance gate (EU/DE/LU) —— */
.compliance-gate { max-inline-size: 42rem; }
.compliance-gate__counsel {
    margin: .75rem 0 0;
    font-size: .85rem;
    color: var(--text-muted);
    font-style: italic;
}
.compliance-gate__panel {
    padding: 1.75rem 0;
}
.compliance-gate__panel--blocked {
    border-inline-start: 3px solid var(--color-accent, var(--red-500));
    padding-inline-start: 1.25rem;
}
.compliance-gate__body { margin-block-end: 1.25rem; line-height: 1.55; }
.compliance-gate__hint { font-size: .95rem; margin-block-end: 1rem; }
.compliance-gate__meta { font-size: .9rem; color: var(--text-muted); }
.compliance-gate__aside {
    margin-block: 1.25rem;
    padding: 1rem 0;
    border-block: 1px solid var(--border);
}
.compliance-gate__aside h3 { font-size: 1rem; margin: 0 0 .5rem; }
.compliance-gate__form { display: grid; gap: 1rem; }
.compliance-gate__field { display: grid; gap: .4rem; }
.compliance-gate__field select {
    font: inherit;
    padding: .65rem .75rem;
    border: 1px solid var(--border);
    background: var(--color-background, #fff);
    color: inherit;
    max-inline-size: 100%;
}
.compliance-gate__check {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    font-size: .95rem;
    line-height: 1.45;
}
.compliance-gate__check input { margin-block-start: .2rem; accent-color: var(--color-accent, var(--red-500)); }
.compliance-gate__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: .5rem; }
.compliance-gate__flash { padding: .75rem 0; }
.compliance-gate__flash--error { color: var(--color-accent, var(--red-500)); }
.compliance-gate__inline-notice { margin-block-start: .75rem; }
.compliance-gate__inline-notice a { text-decoration: underline; }
.download-item--gated { opacity: .92; }
.download-item--gated .download-item__meta { color: var(--color-accent, var(--red-500)); }

.compliance-watermarked { position: relative; }
.compliance-watermark {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    opacity: .12;
}
.compliance-watermark__label {
    position: absolute;
    inset-block-start: 40%;
    inset-inline-start: -10%;
    inline-size: 120%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: rotate(-18deg);
    color: var(--color-heading, #111);
    white-space: nowrap;
}

/* --- AI chat action cards (allowlisted deep-links / human handoff) --- */
.ai-chat-actions { margin-block-start: .85rem; }
.ai-chat-actions__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}
.ai-chat-action-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: .75rem;
    row-gap: .15rem;
    align-items: center;
    padding: .7rem .85rem;
    border: 1px solid var(--border, rgba(0,0,0,.1));
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,248,250,.96));
    color: var(--color-text, var(--text, #1d1d1f));
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ai-chat-action-card:hover,
.ai-chat-action-card:focus-visible {
    border-color: rgba(200, 31, 28, .4);
    box-shadow: 0 8px 22px rgba(20, 20, 30, .08);
    transform: translateY(-1px);
    outline: none;
}
.ai-chat-action-card__label {
    grid-column: 1;
    grid-row: 1;
    font-weight: 650;
    font-size: .95rem;
    letter-spacing: .01em;
}
.ai-chat-action-card__desc {
    grid-column: 1;
    grid-row: 2;
    font-size: .8rem;
    line-height: 1.35;
    color: var(--color-text-muted, var(--text-muted, #6e6e73));
}
.ai-chat-action-card__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--color-accent, var(--red-500));
    font-size: 1.1rem;
    font-weight: 600;
}
.ai-chat-action-card--handoff {
    border-color: rgba(200, 31, 28, .28);
    background: linear-gradient(135deg, rgba(209, 36, 33, .06), rgba(255,255,255,.95));
}
.form__handoff-note {
    margin: 0 0 1rem;
    padding: .75rem .9rem;
    border-inline-start: 3px solid var(--color-accent, var(--red-500));
    background: rgba(209, 36, 33, .06);
    color: var(--color-text-muted, var(--text-muted, #6e6e73));
    font-size: .92rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .ai-chat-action-card { transition: none; }
    .ai-chat-action-card:hover,
    .ai-chat-action-card:focus-visible { transform: none; }
}
