/* ==========================================================================
   AdvEntRetail — marketing site stylesheet
   Sypram Software LLC.

   Design tokens follow the AdvEnt brand system (CLAUDE.md section 12 and
   DESIGN.md): brand navy #022C78, lighter navy #0D47A1, highlight #8FB4FF,
   text in Archivo, numbers and codes in JetBrains Mono.

   Theme has three states: no stamp (follows the OS), [data-theme="light"]
   and [data-theme="dark"]. Every colour is a token declared in :root first,
   so no component can reference a colour that exists in only one theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand — fixed, identical in both themes */
    --ae-navy:        #022C78;
    --ae-navy-mid:    #06358A;
    --ae-navy-light:  #0D47A1;
    --ae-highlight:   #8FB4FF;
    --ae-accent:      #3D7BE0;

    /* Surfaces */
    --canvas:      #FFFFFF;
    --surface:     #FFFFFF;
    --surface-2:   #F3F6FC;
    --surface-3:   #E8EEFB;
    --surface-sunken: #F7F9FD;

    /* Ink */
    --ink:    #0B1F44;
    --ink-2:  #2A3346;
    --ink-3:  #5B6476;
    --ink-on-brand: #FFFFFF;

    /* Lines */
    --rule:   #E2E7F0;
    --rule-2: #CFD6E2;

    /* Accent as used on light ground */
    --brand:      var(--ae-navy);
    --brand-text: var(--ae-navy-light);
    --brand-soft: #E8EEFB;

    /* Semantic — kept separate from the brand accent */
    --good:     #1E6B3A;
    --good-bg:  #E9F5EE;
    --warn:     #9A5B00;
    --warn-bg:  #FFF6E8;
    --bad:      #C62828;
    --bad-bg:   #FCEEEE;

    /* Deep field — the navy sections, same in both themes */
    --deep:      #04102E;
    --deep-2:    #071A44;
    --deep-rule: #15306B;
    --deep-ink:  #EAF0FF;
    --deep-ink-2:#A9BCE4;

    /* Shape */
    --r-card: 14px;
    --r-ctl:  9px;
    --r-pill: 999px;

    /* Elevation */
    --shadow-1: 0 1px 2px rgba(2, 44, 120, .06), 0 1px 3px rgba(2, 44, 120, .04);
    --shadow-2: 0 4px 10px rgba(2, 44, 120, .07), 0 12px 28px rgba(2, 44, 120, .07);
    --shadow-3: 0 10px 24px rgba(2, 44, 120, .10), 0 30px 60px rgba(2, 44, 120, .12);

    /* Type */
    --font-display: 'Archivo', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
    --font-body:    'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

    /* Rhythm */
    --gutter: clamp(20px, 4vw, 56px);
    --section-y: clamp(64px, 8vw, 128px);
    --maxw: 1240px;
    --maxw-narrow: 820px;

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --canvas:      #070D1C;
        --surface:     #0E1628;
        --surface-2:   #131D33;
        --surface-3:   #1B2742;
        --surface-sunken: #0A1222;

        --ink:    #E9EEF8;
        --ink-2:  #C6CFE0;
        --ink-3:  #8B95A9;

        --rule:   #1F2B45;
        --rule-2: #2B3A58;

        --brand:      var(--ae-highlight);
        --brand-text: var(--ae-highlight);
        --brand-soft: #142143;

        --good:     #74CF99;
        --good-bg:  #12271C;
        --warn:     #E8A33D;
        --warn-bg:  #2A2114;
        --bad:      #FF9B9B;
        --bad-bg:   #2C181C;

        --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow-2: 0 4px 10px rgba(0, 0, 0, .45), 0 12px 28px rgba(0, 0, 0, .35);
        --shadow-3: 0 10px 24px rgba(0, 0, 0, .5), 0 30px 60px rgba(0, 0, 0, .45);

        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --canvas:      #070D1C;
    --surface:     #0E1628;
    --surface-2:   #131D33;
    --surface-3:   #1B2742;
    --surface-sunken: #0A1222;

    --ink:    #E9EEF8;
    --ink-2:  #C6CFE0;
    --ink-3:  #8B95A9;

    --rule:   #1F2B45;
    --rule-2: #2B3A58;

    --brand:      var(--ae-highlight);
    --brand-text: var(--ae-highlight);
    --brand-soft: #142143;

    --good:     #74CF99;
    --good-bg:  #12271C;
    --warn:     #E8A33D;
    --warn-bg:  #2A2114;
    --bad:      #FF9B9B;
    --bad-bg:   #2C181C;

    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 4px 10px rgba(0, 0, 0, .45), 0 12px 28px rgba(0, 0, 0, .35);
    --shadow-3: 0 10px 24px rgba(0, 0, 0, .5), 0 30px 60px rgba(0, 0, 0, .45);

    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink-2);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
    letter-spacing: -0.021em;
    line-height: 1.14;
    font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 1.4rem + 3.9vw, 4.1rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.85rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-text); text-decoration-color: color-mix(in srgb, var(--brand-text) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

strong, b { color: var(--ink); font-weight: 600; }

:focus-visible {
    outline: 3px solid var(--ae-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

code, kbd, samp { font-family: var(--font-mono); font-size: .88em; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

::selection { background: var(--surface-3); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-inline-end: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--sunken { background: var(--surface-sunken); }
.section--surface2 { background: var(--surface-2); }

/* The navy "deep field" sections. Tokens are fixed so they read the same
   in both themes — this is the brand's own navy, not a theme surface. */
.section--deep {
    background: linear-gradient(170deg, var(--deep) 0%, var(--deep-2) 60%, #0A2157 100%);
    color: var(--deep-ink-2);
    position: relative;
    overflow: hidden;
}
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: var(--deep-ink); }
.section--deep strong { color: #fff; }
.section--deep a { color: var(--ae-highlight); }
.section--deep .lede { color: var(--deep-ink-2); }

/* A faint engineered grid, so the navy is not a flat slab */
.section--deep::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 180, 255, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 180, 255, .055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
    pointer-events: none;
}
.section--deep > * { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.stack { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --------------------------------------------------------------------------
   4. Section headers
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-text);
    margin: 0 0 .9rem;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 2px;
    background: currentColor;
    flex: none;
    border-radius: 2px;
}
.section--deep .eyebrow { color: var(--ae-highlight); }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede {
    font-size: clamp(1.03rem, .98rem + .3vw, 1.2rem);
    color: var(--ink-3);
    max-width: 62ch;
    line-height: 1.6;
}
.section-head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ae-navy);
    --btn-fg: #fff;
    --btn-bd: var(--ae-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    min-height: 48px;
    border: 1px solid var(--btn-bd);
    border-radius: var(--r-ctl);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-display);
    font-size: .97rem;
    font-weight: 600;
    letter-spacing: -0.008em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); background: var(--ae-navy-light); border-color: var(--ae-navy-light); }
.btn:active { transform: translateY(0); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--rule-2);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand-text); box-shadow: none; }

.btn--on-deep {
    --btn-bg: #fff;
    --btn-fg: var(--ae-navy);
    --btn-bd: #fff;
}
.btn--on-deep:hover { background: var(--ae-highlight); border-color: var(--ae-highlight); color: var(--deep); }

.btn--ghost-deep {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .34);
}
.btn--ghost-deep:hover { background: rgba(255, 255, 255, .09); border-color: #fff; color: #fff; }

.btn--lg { padding: 16px 30px; min-height: 56px; font-size: 1.03rem; }
.btn--sm { padding: 9px 16px; min-height: 40px; font-size: .9rem; }

.btn .ico { width: 17px; height: 17px; flex: none; }

/* Text link with a travelling arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    color: var(--brand-text);
    text-decoration: none;
}
.link-arrow .ico { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--canvas) 86%, transparent);
    backdrop-filter: saturate(170%) blur(14px);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex: none;
    margin-inline-end: auto;
}
.brand__tile {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--ae-navy), var(--ae-navy-light));
    display: grid;
    place-items: center;
    flex: none;
    box-shadow: var(--shadow-1);
}
.brand__tile svg { width: 21px; height: auto; }
.brand__tile svg path { fill: #fff; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.028em;
    color: var(--ink);
    line-height: 1.1;
}
.brand__name em { font-style: normal; color: var(--brand-text); }
.brand__sub {
    display: block;
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-top: 1px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(2px, .6vw, 10px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px;
    border-radius: var(--r-ctl);
    font-family: var(--font-display);
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease;
}
.nav__link:hover { background: var(--surface-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand-text); font-weight: 600; }
.nav__link .caret { width: 12px; height: 12px; opacity: .55; transition: transform .2s ease; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Dropdown */
.has-menu { position: relative; }
.nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, -6px);
    min-width: 290px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-3);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-menu:hover .nav__menu,
.has-menu:focus-within .nav__menu,
.nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.has-menu:hover .nav__link .caret { transform: rotate(180deg); }
.nav__menu a {
    display: block;
    padding: 10px 13px;
    border-radius: var(--r-ctl);
    text-decoration: none;
    color: var(--ink);
    font-size: .93rem;
    font-weight: 500;
    font-family: var(--font-display);
}
.nav__menu a span {
    display: block;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 400;
    color: var(--ink-3);
    margin-top: 2px;
    line-height: 1.45;
}
.nav__menu a:hover { background: var(--surface-2); }

/* Icon button (theme toggle, burger) */
.icon-btn {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--rule-2); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .ico-sun { display: none; }
:root[data-theme="dark"] .icon-btn .ico-sun { display: block; }
:root[data-theme="dark"] .icon-btn .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .icon-btn .ico-sun { display: block; }
    :root:not([data-theme="light"]) .icon-btn .ico-moon { display: none; }
}

.nav__burger { display: none; }

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 74px 0 0;
    background: var(--canvas);
    z-index: 99;
    padding: 20px var(--gutter) 48px;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid var(--rule); }
.drawer a {
    display: block;
    padding: 15px 2px;
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}
.drawer .drawer__group { padding: 6px 0 14px; }
.drawer .drawer__group a { font-size: .95rem; font-weight: 500; color: var(--ink-3); padding: 9px 0 9px 16px; border-left: 2px solid var(--rule); }
.drawer .drawer__cta { margin-top: 26px; display: grid; gap: 10px; }

@media (max-width: 1080px) {
    .nav__list { display: none; }
    .nav__burger { display: grid; }
    .nav__actions .btn--nav { display: none; }
}
@media (min-width: 1081px) {
    .drawer { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(165deg, #04102E 0%, #071A44 52%, #0A2157 100%);
    color: var(--deep-ink-2);
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 116px) clamp(64px, 8vw, 110px);
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 180, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 180, 255, .06) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 80% 65% at 30% 10%, #000 10%, transparent 80%);
    z-index: -1;
}
/* The aurora: a slow, very low-contrast wash. Pauses under reduced-motion. */
.hero::after {
    content: "";
    position: absolute;
    width: 820px; height: 820px;
    top: -340px; right: -200px;
    background: radial-gradient(circle, rgba(61, 123, 224, .30) 0%, rgba(13, 71, 161, .13) 42%, transparent 68%);
    filter: blur(14px);
    z-index: -1;
    animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-90px, 70px, 0) scale(1.14); }
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { color: #fff; }
.hero h1 .grad {
    background: linear-gradient(100deg, #8FB4FF 0%, #BBD2FF 40%, #5B8DE8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lede {
    font-size: clamp(1.06rem, 1rem + .42vw, 1.3rem);
    color: #B6C8EC;
    max-width: 58ch;
    margin-top: 1.25rem;
    line-height: 1.6;
}
.hero__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 13px; }

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 9px;
    border-radius: var(--r-pill);
    background: rgba(143, 180, 255, .11);
    border: 1px solid rgba(143, 180, 255, .26);
    color: #CFDEFF;
    font-family: var(--font-mono);
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero__pill b {
    background: var(--ae-highlight);
    color: var(--deep);
    padding: 2px 8px;
    border-radius: var(--r-pill);
    font-size: .68rem;
    letter-spacing: .08em;
}

.hero__proof {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(143, 180, 255, .17);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}
.hero__proof li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: #9FB5DF;
    list-style: none;
}
.hero__proof svg { width: 15px; height: 15px; color: var(--ae-highlight); flex: none; }
.hero__proof ul { display: contents; }

/* Device frame holding a screenshot */
.device {
    border-radius: 16px;
    background: #0B1733;
    border: 1px solid rgba(143, 180, 255, .22);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 2px 0 rgba(255, 255, 255, .06) inset;
    overflow: hidden;
}
.device__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(143, 180, 255, .16);
    background: rgba(255, 255, 255, .03);
}
.device__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.device__url {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: .7rem;
    color: #7C93C4;
    letter-spacing: .02em;
}
.device img { width: 100%; display: block; background: #fff; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    padding: clamp(20px, 2.4vw, 28px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--rule-2); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-3); font-size: .95rem; }

.card__icon {
    width: 46px; height: 46px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-text);
    margin-bottom: 1.05rem;
    flex: none;
}
.card__icon svg { width: 22px; height: 22px; }

.section--deep .card {
    background: rgba(255, 255, 255, .038);
    border-color: rgba(143, 180, 255, .17);
}
.section--deep .card p { color: var(--deep-ink-2); }
.section--deep .card__icon { background: rgba(143, 180, 255, .13); color: var(--ae-highlight); }
.section--deep .card--lift:hover { border-color: rgba(143, 180, 255, .4); box-shadow: 0 20px 48px rgba(0, 0, 0, .4); }

/* Tag chips inside cards */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 1.05rem; }
.chip {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--ink-3);
    border: 1px solid var(--rule);
}
.section--deep .chip { background: rgba(143, 180, 255, .1); color: #B6C8EC; border-color: rgba(143, 180, 255, .2); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 5px;
    border: 1px solid currentColor;
}
.badge--good { color: var(--good); background: var(--good-bg); }
.badge--warn { color: var(--warn); background: var(--warn-bg); }
.badge--brand { color: var(--brand-text); background: var(--brand-soft); }

/* --------------------------------------------------------------------------
   9. Feature rows (alternating image / copy)
   -------------------------------------------------------------------------- */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: clamp(30px, 4.5vw, 70px);
    align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 104px); }
.feature-row--flip .feature-row__media { order: -1; }
@media (max-width: 760px) {
    .feature-row--flip .feature-row__media { order: 0; }
}

.feature-row__media {
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--surface-2);
    box-shadow: var(--shadow-2);
}
.feature-row__media img { width: 100%; }

.ticks { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    align-items: start;
    font-size: .96rem;
    color: var(--ink-2);
}
.ticks svg { width: 19px; height: 19px; color: var(--good); margin-top: 3px; }
.section--deep .ticks li { color: var(--deep-ink-2); }
.section--deep .ticks svg { color: var(--ae-highlight); }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    overflow: hidden;
}
.stat { background: var(--surface); padding: clamp(20px, 2.4vw, 30px); text-align: center; }
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat__label {
    font-size: .83rem;
    color: var(--ink-3);
    margin-top: .55rem;
    letter-spacing: .01em;
}
.section--deep .stats { background: rgba(143, 180, 255, .18); border-color: rgba(143, 180, 255, .2); }
.section--deep .stat { background: rgba(7, 26, 68, .72); }
.section--deep .stat__value { color: #fff; }
.section--deep .stat__label { color: var(--deep-ink-2); }

/* --------------------------------------------------------------------------
   11. Tables
   -------------------------------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    background: var(--surface);
    -webkit-overflow-scrolling: touch;
}
table.data {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: .93rem;
}
table.data th, table.data td {
    text-align: left;
    padding: 13px 18px;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
}
table.data thead th {
    background: var(--surface-2);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    font-size: .88rem;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-sunken); }
table.data td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --------------------------------------------------------------------------
   12. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 10px; }
.acc {
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    background: var(--surface);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.acc[open] { border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.acc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 21px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
    content: "";
    width: 11px; height: 11px;
    flex: none;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .22s ease;
}
.acc[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.acc summary:hover { background: var(--surface-2); }
.acc__body { padding: 0 21px 19px; color: var(--ink-3); font-size: .96rem; border-top: 1px solid var(--rule); padding-top: 15px; }

/* --------------------------------------------------------------------------
   13. Tabs (regions)
   -------------------------------------------------------------------------- */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(26px, 3vw, 38px);
}
.tab {
    padding: 10px 19px;
    border-radius: var(--r-pill);
    border: 1px solid var(--rule);
    background: var(--surface);
    color: var(--ink-2);
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .17s ease;
    white-space: nowrap;
}
.tab:hover { border-color: var(--rule-2); background: var(--surface-2); }
.tab[aria-selected="true"] {
    background: var(--ae-navy);
    border-color: var(--ae-navy);
    color: #fff;
    font-weight: 600;
}
.tabpanel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   14. Video placeholder — a real slot the team drops a link into
   -------------------------------------------------------------------------- */
.video-slot {
    border: 2px dashed var(--rule-2);
    border-radius: var(--r-card);
    background:
        linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
    padding: clamp(24px, 3.4vw, 44px);
    display: grid;
    gap: 18px;
    align-content: start;
}
.video-slot__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.video-slot__play {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ae-navy);
    display: grid;
    place-items: center;
    flex: none;
    box-shadow: var(--shadow-2);
}
.video-slot__play svg { width: 20px; height: 20px; color: #fff; margin-left: 3px; }
.video-slot h3 { margin: 0; }
.video-slot__meta {
    font-family: var(--font-mono);
    font-size: .71rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.video-slot__script {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    padding: 18px 20px;
}
.video-slot__script h4 { font-size: .86rem; text-transform: uppercase; letter-spacing: .09em; font-family: var(--font-mono); color: var(--ink-3); margin-bottom: .7rem; font-weight: 600; }
.video-slot__script ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 7px; }
.video-slot__script li { font-size: .92rem; color: var(--ink-2); }
.video-slot__embed {
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    padding: 15px 18px;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--ink-3);
    word-break: break-all;
}
.video-slot__embed b { display: block; color: var(--brand-text); font-size: .71rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }

/* A real embedded video, once the link is in */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--deep);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   15. Screenshot figures
   -------------------------------------------------------------------------- */
figure.shot { margin: 0; }
figure.shot img {
    width: 100%;
    border-radius: var(--r-card);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-2);
    background: var(--surface);
}
figure.shot figcaption {
    margin-top: .8rem;
    font-size: .84rem;
    color: var(--ink-3);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
figure.shot figcaption b {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-text);
    flex: none;
}

/* --------------------------------------------------------------------------
   16. Industry / region cards with photography
   -------------------------------------------------------------------------- */
.photo-card {
    position: relative;
    border-radius: var(--r-card);
    overflow: hidden;
    min-height: 290px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--rule);
    isolation: isolate;
    text-decoration: none;
}
.photo-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(2, 16, 46, .93) 0%, rgba(2, 16, 46, .64) 42%, rgba(2, 16, 46, .14) 100%);
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card__body { padding: 22px 24px; color: #D9E4FA; }
.photo-card__body h3 { color: #fff; margin-bottom: .35rem; }
.photo-card__body p { font-size: .9rem; color: #B6C8EC; margin: 0; }

/* --------------------------------------------------------------------------
   17. Logo / integration wall
   -------------------------------------------------------------------------- */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    overflow: hidden;
}
.logo-wall__cell {
    background: var(--surface);
    padding: 26px 16px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    min-height: 118px;
    transition: background .18s ease;
}
.logo-wall__cell:hover { background: var(--surface-2); }
.logo-wall__mark {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.logo-wall__name { font-size: .85rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   18. Pricing / comparison "before and after"
   -------------------------------------------------------------------------- */
.compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}
.compare__col { border-radius: var(--r-card); padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--rule); }
.compare__col--old { background: var(--surface-2); }
.compare__col--new { background: var(--surface); border-color: var(--brand); box-shadow: var(--shadow-2); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.compare__col li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: .94rem; align-items: start; }
.compare__col li svg { width: 18px; height: 18px; margin-top: 3px; }
.compare__col--old li svg { color: var(--bad); }
.compare__col--new li svg { color: var(--good); }
.compare__col--old li { color: var(--ink-3); }

/* --------------------------------------------------------------------------
   19. Timeline / numbered process
   -------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 30px); }
.steps li {
    counter-increment: s;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 4px 20px;
    align-items: start;
}
/* The marker, the heading and the body are three grid items in a two-column
   track, so the columns are pinned: without this the body auto-places into
   row 2 of the 54px marker column and wraps one word per line. */
.steps li::before { grid-column: 1; grid-row: 1 / span 2; }
.steps li > * { grid-column: 2; }
.steps li::before {
    content: counter(s, decimal-leading-zero);
    width: 54px; height: 54px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-text);
    background: var(--brand-soft);
    border: 1px solid var(--rule);
}
.steps h4 { margin-bottom: .3rem; }
.steps p { font-size: .94rem; color: var(--ink-3); }
.section--deep .steps li::before { background: rgba(143, 180, 255, .13); color: var(--ae-highlight); border-color: rgba(143, 180, 255, .24); }

/* --------------------------------------------------------------------------
   20. Call to action band
   -------------------------------------------------------------------------- */
.cta-band {
    border-radius: clamp(16px, 2.4vw, 26px);
    background: linear-gradient(140deg, var(--ae-navy) 0%, var(--ae-navy-light) 58%, #1559C4 100%);
    padding: clamp(36px, 5vw, 68px);
    color: #CFDEFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 10%, rgba(143, 180, 255, .3) 0%, transparent 46%),
        radial-gradient(circle at 88% 92%, rgba(255, 255, 255, .17) 0%, transparent 44%);
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #CFDEFF; margin-inline: auto; margin-top: 1rem; }
.cta-band .row { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--bad); }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--rule-2);
    border-radius: var(--r-ctl);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .97rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .81rem; color: var(--ink-3); }

.contact-card {
    background: var(--surface-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    padding: clamp(22px, 2.6vw, 30px);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.contact-list .ico-box {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--rule);
    display: grid;
    place-items: center;
    color: var(--brand-text);
}
.contact-list .ico-box svg { width: 19px; height: 19px; }
.contact-list dt {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 3px;
}
.contact-list dd { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 500; }
.contact-list dd a { font-weight: 600; }
.contact-list dd span { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--deep);
    color: var(--deep-ink-2);
    padding-block: clamp(50px, 6vw, 82px) 30px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 180, 255, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 180, 255, .05) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000 10%, transparent 72%);
}
.site-footer > * { position: relative; }

.footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) repeat(auto-fit, minmax(146px, 1fr));
    gap: clamp(26px, 3.4vw, 50px);
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: .71rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 1.05rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9FB5DF; text-decoration: none; font-size: .91rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #7C93C4; }
.footer-brand p { font-size: .89rem; color: #8FA6D3; margin-top: 1.1rem; max-width: 34ch; }

.footer-bottom {
    margin-top: clamp(34px, 4vw, 56px);
    padding-top: 24px;
    border-top: 1px solid var(--deep-rule);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    align-items: center;
    justify-content: space-between;
    font-size: .84rem;
    color: #7C93C4;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* --------------------------------------------------------------------------
   23. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(168deg, #04102E 0%, #071A44 72%, #0A2157 100%);
    color: var(--deep-ink-2);
    padding-block: clamp(56px, 6.5vw, 96px);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 180, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 180, 255, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 80% at 20% 0%, #000 10%, transparent 76%);
}
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #B6C8EC; margin-top: 1.1rem; }
.page-hero .eyebrow { color: var(--ae-highlight); }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: .82rem;
    color: #7C93C4;
    margin-bottom: 1.3rem;
    font-family: var(--font-mono);
}
.crumbs a { color: #9FB5DF; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* --------------------------------------------------------------------------
   24. Anchor navigation (sticky in-page)
   -------------------------------------------------------------------------- */
.anchor-nav {
    position: sticky;
    top: 74px;
    z-index: 40;
    background: color-mix(in srgb, var(--canvas) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
}
.anchor-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}
.anchor-nav a {
    display: block;
    padding: 14px 15px;
    font-family: var(--font-display);
    font-size: .89rem;
    font-weight: 500;
    color: var(--ink-3);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.anchor-nav a:hover { color: var(--ink); }
.anchor-nav a.is-active { color: var(--brand-text); border-bottom-color: var(--brand); font-weight: 600; }

/* --------------------------------------------------------------------------
   25. Reveal on scroll — starts visible, animates only as an enhancement
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; }
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   26. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 10px; top: -60px;
    z-index: 1000;
    background: var(--ae-navy);
    color: #fff;
    padding: 11px 18px;
    border-radius: var(--r-ctl);
    text-decoration: none;
    font-weight: 600;
    transition: top .18s ease;
}
.skip-link:focus { top: 10px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: clamp(14px, 1.6vw, 22px); }
.mt-2 { margin-top: clamp(24px, 3vw, 40px); }
.mt-3 { margin-top: clamp(36px, 4.4vw, 60px); }
.mb-2 { margin-bottom: clamp(24px, 3vw, 40px); }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

.note {
    border: 1px solid var(--rule);
    border-left: 3px solid var(--brand);
    background: var(--surface-2);
    border-radius: var(--r-ctl);
    padding: 16px 20px;
    font-size: .93rem;
    color: var(--ink-3);
}
.note strong { color: var(--ink); }

@media print {
    .site-header, .drawer, .anchor-nav, .cta-band, .video-slot { display: none !important; }
    body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   27. Store-type cards with a screenshot gallery (regions page)
   -------------------------------------------------------------------------- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: clamp(20px, 2.6vw, 34px);
}
@media (max-width: 560px) {
    .store-grid { grid-template-columns: 1fr; }
}

.store-card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.store-card:hover { box-shadow: var(--shadow-2); border-color: var(--rule-2); }

.store-card__main {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--surface-2);
    display: block;
}

.store-card__thumbs {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--rule);
}
.store-card__thumbs button {
    flex: 1 1 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    line-height: 0;
    transition: border-color .16s ease, opacity .16s ease;
    opacity: .62;
}
.store-card__thumbs button:hover { opacity: .88; }
.store-card__thumbs button.is-active { border-color: var(--brand); opacity: 1; }
.store-card__thumbs img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.store-card__body { padding: clamp(18px, 2.2vw, 26px); flex: 1; }
.store-card__body h3 { margin-bottom: .3rem; }
.store-card__sub {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    color: var(--brand-text);
    margin-bottom: .7rem;
}
.store-card__body > p:not(.store-card__sub) { color: var(--ink-3); font-size: .95rem; }
.store-card__body .ticks { margin-top: 1rem; }
.store-card__body .ticks li { font-size: .91rem; }
/* --------------------------------------------------------------------------
   28. Banner hero — the AdvEnt campaign layout rebuilt as live HTML
       Real text rather than words baked into a picture, so it is responsive,
       selectable, translatable and readable by a screen reader.
       Keeps the campaign's gold accent on the brand's own navy ground.
   -------------------------------------------------------------------------- */
:root {
    --gold:      #F6C445;
    --gold-deep: #E0A91F;
    --gold-soft: #FFE6A3;
}

.banner-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 90% at 78% 46%, rgba(13, 71, 161, .55) 0%, transparent 62%),
        linear-gradient(152deg, #050B1A 0%, #07152F 46%, #0A1E45 100%);
    color: #D8E3F7;
    padding-block: clamp(22px, 2.6vw, 38px) clamp(30px, 3.6vw, 52px);
}

/* The dot matrix that reads as "worldwide" without a literal map */
.banner-hero__dots {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(circle, rgba(143, 180, 255, .10) 1.1px, transparent 1.1px);
    background-size: 15px 15px;
    mask-image: radial-gradient(ellipse 72% 78% at 38% 44%, #000 12%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 72% 78% at 38% 44%, #000 12%, transparent 76%);
    pointer-events: none;
}
.banner-hero__glow {
    position: absolute;
    z-index: -2;
    width: 760px; height: 760px;
    top: -290px; left: -200px;
    background: radial-gradient(circle, rgba(246, 196, 69, .14) 0%, transparent 66%);
    pointer-events: none;
}

.banner-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(26px, 3.4vw, 56px);
    align-items: start;
}
.banner-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 1000px) { .banner-hero__grid { grid-template-columns: 1fr; } }

/* ---- copy ---- */
.banner-hero h1 {
    color: #fff;
    font-size: clamp(1.7rem, 1rem + 2.15vw, 2.72rem);
    line-height: 1.2;
    letter-spacing: -0.022em;
    font-weight: 700;
    text-wrap: pretty;
    max-width: 21ch;
}
@supports not (text-wrap: pretty) { .banner-hero h1 { text-wrap: balance; } }
.banner-hero h1 .g { color: var(--gold); }
.banner-hero h1 .w { color: var(--gold-soft); letter-spacing: .01em; }

.banner-hero__rule {
    width: 100%;
    max-width: 480px;
    height: 1px;
    background: linear-gradient(to right, rgba(246, 196, 69, .55), rgba(143, 180, 255, .18) 60%, transparent);
    margin: clamp(14px, 1.7vw, 20px) 0;
    border: 0;
}

.banner-hero__years {
    font-size: clamp(1rem, .95rem + .4vw, 1.22rem);
    color: #C3D2EE;
    max-width: 44ch;
}
.banner-hero__years b { color: var(--gold); font-weight: 700; }

/* ---- award badge ---- */
.award {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 11px 20px 11px 13px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, rgba(246, 196, 69, .17), rgba(246, 196, 69, .05));
    border: 1px solid rgba(246, 196, 69, .42);
    margin-bottom: clamp(12px, 1.5vw, 18px);
}
.award svg { width: 34px; height: 34px; flex: none; color: var(--gold); }
.award__t {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .98rem;
    color: var(--gold-soft);
    line-height: 1.2;
}
.award__s {
    display: block;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #B9C9E8;
    font-weight: 500;
    margin-top: 3px;
}

/* ---- feature bullets ---- */
.banner-feats {
    list-style: none;
    margin: clamp(30px, 4vw, 52px) 0 0;
    padding: clamp(24px, 3vw, 38px) 0 0;
    border-top: 1px solid rgba(143, 180, 255, .16);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: clamp(18px, 2.2vw, 30px);
}
.banner-feats li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}
.banner-feats .ft {
    width: 42px; height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid rgba(143, 180, 255, .26);
    background: rgba(143, 180, 255, .11);
    color: var(--gold);
}
.banner-feats .ft svg { width: 20px; height: 20px; }
.banner-feats p { margin: 0; font-size: .98rem; color: #DCE6F8; line-height: 1.45; padding-top: 6px; font-family: var(--font-display); font-weight: 500; }
.banner-feats b { color: var(--gold); font-weight: 700; }
.banner-feats small { display: block; color: #93A8CC; font-size: .84rem; margin-top: 4px; font-family: var(--font-body); font-weight: 400; line-height: 1.5; }

/* ---- the photo + phone composition ---- */
.banner-shot {
    margin: 0;
    position: relative;
    display: flex;
    justify-content: center;
}
.banner-shot img {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .55));
}

/* phone */
.phone {
    position: absolute;
    right: -10px;
    bottom: -26px;
    width: clamp(150px, 17vw, 196px);
    border-radius: 22px;
    background: #0B1326;
    border: 5px solid #1B2740;
    box-shadow: 0 26px 54px rgba(0, 0, 0, .6);
    overflow: hidden;
}
@media (max-width: 1000px) { .phone { position: static; width: 190px; margin: -40px auto 0; } }
.phone__bar {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .64rem;
    text-align: center;
    padding: 9px 6px;
    letter-spacing: .01em;
}
.phone__body { padding: 9px; display: grid; gap: 7px; background: #F4F6FB; }
.phone__date { font-family: var(--font-mono); font-size: .45rem; color: #5B6476; text-align: center; }
.phone__sales { text-align: center; }
.phone__sales span { display: block; font-size: .5rem; color: #5B6476; }
.phone__sales b { font-family: var(--font-display); font-size: 1.02rem; color: #0B1F44; letter-spacing: -0.02em; }
.phone__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.phone__tile { border-radius: 5px; padding: 5px 3px; text-align: center; color: #fff; }
.phone__tile span { display: block; font-size: .42rem; opacity: .92; }
.phone__tile b { font-size: .66rem; font-family: var(--font-display); }
.phone__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.phone__app { background: #fff; border: 1px solid #E2E7F0; border-radius: 5px; height: 26px; }
.phone__ai {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #fff;
    border-radius: 6px;
    padding: 7px 5px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .56rem;
    line-height: 1.3;
}

@media (max-width: 1000px) {
    .banner-hero__grid { text-align: left; }
    .banner-shot { margin-top: 10px; }
}
/* Live-store markers. Position comes from --x/--y, stagger from --d. */
.pulse {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(246, 196, 69, .85);
}
.pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: 0;
    animation: ae-ping 3.6s cubic-bezier(.2, .7, .3, 1) infinite;
    animation-delay: var(--d, 0s);
}
@keyframes ae-ping {
      0% { transform: scale(.5);  opacity: .85; }
     70% { opacity: 0; }
    100% { transform: scale(3.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pulse::after { animation: none; opacity: .5; transform: scale(1.6); }
}

/* ---- worldwide panel -----------------------------------------------------
   The dotted map as its own element rather than a watermark: an oval plate
   carrying live-store markers and the routes between them. The map is inset
   to 84% of the plate so the ellipse crops ocean, not Alaska or New Zealand. */


/* The photo and the map share the right-hand column, map underneath. */
.banner-shot-col {
    display: grid;
    gap: clamp(20px, 2.4vw, 32px);
    align-content: start;
}
.banner-shot-col .banner-shot { justify-self: center; }
.banner-shot-col .banner-feats {
    margin: 0;
    padding: 0;
    border-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}
.worldpanel {
    margin: clamp(6px, 1vw, 12px) 0 0;
    width: 100%;
    max-width: 520px;
}
.worldpanel__cap { text-align: center; }
.worldpanel__map {
    position: relative;
    aspect-ratio: 2 / 1;
    border-radius: 50%;
    background:
        url("../img/hero/world-dots.svg") center / 86% auto no-repeat,
        radial-gradient(ellipse at 50% 40%, #FFFFFF 0%, #F2F6FD 58%, #E4EBF8 100%);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, .42),
        0 0 0 6px rgba(143, 180, 255, .07);
    overflow: hidden;
}

/* routes */
.worldpanel__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    opacity: .78;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    animation: ae-route 9s linear infinite;
}
@keyframes ae-route { to { stroke-dashoffset: -64; } }

.worldpanel__cap {
    margin-top: 11px;
    text-align: center;
    font-size: .88rem;
    color: #9FB5DF;
}
.worldpanel__cap b {
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 700;
}

/* The bullet ticks read as status marks here, so they take a filled disc. */
.banner-shot-col .ft {
    background: rgba(246, 196, 69, .14);
    border-color: rgba(246, 196, 69, .4);
    color: var(--gold);
    border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
    .worldpanel__arcs { animation: none; }
}
/* The "30 years" line now sits in the right column, reading as a statement
   between the till image and the four benefits. */
.banner-shot-col .banner-hero__years {
    max-width: none;
    margin: 0;
    text-align: center;
    font-size: clamp(.98rem, .94rem + .3vw, 1.12rem);
    padding-bottom: clamp(4px, .8vw, 10px);
    border-bottom: 1px solid rgba(143, 180, 255, .16);
}
/* ---- award medallion, beside the world map -------------------------------
   Replaces the old pill badge above the headline. Sitting next to the map
   puts it near the horizontal centre of the hero, where it reads as an
   accolade on the "worldwide" claim rather than a label on the headline.   */
.worldrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(14px, 2vw, 28px);
    align-items: center;
    width: 100%;
    margin-top: clamp(6px, 1vw, 12px);
}
.worldrow .worldpanel { margin-top: 0; }

.medal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: none;
    width: clamp(104px, 11vw, 132px);
}
.medal__art {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}
.medal__t {
    margin-top: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    color: var(--gold-soft);
    line-height: 1.2;
}
.medal__s {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #9FB5DF;
    margin-top: 3px;
}

@media (max-width: 620px) {
    .worldrow { grid-template-columns: 1fr; justify-items: center; }
}
/* --------------------------------------------------------------------------
   29. UI template gallery
   -------------------------------------------------------------------------- */
.tpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(20px, 2.6vw, 32px);
}
.tpl-grid--wide { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
@media (max-width: 520px) {
    .tpl-grid, .tpl-grid--wide { grid-template-columns: 1fr; }
}

.tpl {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.tpl:hover { box-shadow: var(--shadow-2); border-color: var(--rule-2); transform: translateY(-3px); }

.tpl__shot {
    position: relative;
    display: block;
    line-height: 0;
    background: #0B1326;
    border-bottom: 1px solid var(--rule);
}
.tpl__shot img { width: 100%; height: auto; display: block; }
.tpl__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(2, 16, 46, .82);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .18s ease;
    backdrop-filter: blur(4px);
}
.tpl__shot:hover .tpl__zoom,
.tpl__shot:focus-visible .tpl__zoom { opacity: 1; }

.tpl__body { padding: clamp(16px, 1.9vw, 22px); flex: 1; }
.tpl__body h3 { font-size: 1.04rem; margin-bottom: .25rem; }
.tpl__meta {
    font-family: var(--font-display);
    font-size: .86rem;
    font-weight: 600;
    color: var(--brand-text);
    margin-bottom: .4rem;
}
.tpl__spec {
    font-size: .86rem;
    color: var(--ink-3);
    margin-bottom: 0;
}
.tpl__body .chips { padding-top: .85rem; }
/* --------------------------------------------------------------------------
   30. Demo video library
   -------------------------------------------------------------------------- */

/* the anchor index: titles and icons only */
.vidx__head {
    font-size: 1.02rem;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1.1rem;
}
.vidx {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}
.vidx a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    background: var(--surface);
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .93rem;
    line-height: 1.3;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.vidx a:hover { border-color: var(--brand); background: var(--surface-2); transform: translateY(-2px); }
.vidx__ico {
    width: 36px; height: 36px;
    flex: none;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-text);
}
.vidx__ico svg { width: 18px; height: 18px; }

/* horizontal cards: media beside the copy, one card per row */
.vlist { display: grid; gap: clamp(26px, 3.4vw, 44px); }

.vcard {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(20px, 2.8vw, 40px);
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    padding: clamp(18px, 2.2vw, 26px);
    scroll-margin-top: 96px;
}
@media (max-width: 860px) {
    .vcard { grid-template-columns: 1fr; }
}

.vcard__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    overflow: hidden;
    background: #0B1326;
    cursor: pointer;
    line-height: 0;
}
.vcard__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), opacity .25s ease;
}
.vcard__media:hover img { transform: scale(1.04); opacity: .85; }

.vcard__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(2, 16, 46, .74);
    border: 2px solid rgba(255, 255, 255, .85);
    display: grid;
    place-items: center;
    transition: transform .2s ease, background .2s ease;
    backdrop-filter: blur(3px);
}
.vcard__play svg { width: 26px; height: 26px; color: #fff; margin-left: 4px; }
.vcard__media:hover .vcard__play { transform: scale(1.1); background: var(--ae-navy); }

.vcard__body h2 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); margin-bottom: .6rem; }
.vcard__short {
    font-size: 1.02rem;
    color: var(--ink-2);
    border-left: 3px solid var(--brand);
    padding-left: 14px;
    margin-bottom: 1rem;
}
.vcard__body p { color: var(--ink-3); font-size: .96rem; }
.vcard__sub {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brand-text);
    margin: 1.3rem 0 .7rem;
}
.vcard__body .ticks li { align-items: start; }

.vsteps {
    counter-reset: vs;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}
.vsteps li {
    counter-increment: vs;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: center;
    font-size: .95rem;
    color: var(--ink-2);
}
.vsteps li::before {
    content: counter(vs);
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-text);
    font-family: var(--font-mono);
    font-size: .74rem;
    font-weight: 600;
}

/* ---- the player ---------------------------------------------------------- */
.vmodal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-left, 0px));
}
.vmodal[hidden] { display: none; }
.vmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 28, .82);
    backdrop-filter: blur(6px);
    animation: ae-fade .2s ease;
}
@keyframes ae-fade { from { opacity: 0; } to { opacity: 1; } }

.vmodal__box {
    position: relative;
    width: min(1080px, 100%);
    background: var(--surface);
    border: 1px solid var(--rule-2);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    animation: ae-pop .22s cubic-bezier(.2, .7, .3, 1);
}
@keyframes ae-pop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

.vmodal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--rule);
    background: var(--surface-2);
}
.vmodal__head h2 { font-size: 1rem; margin: 0; }
.vmodal__x {
    width: 38px; height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--rule);
    border-radius: var(--r-ctl);
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
}
.vmodal__x:hover { background: var(--bad-bg); color: var(--bad); border-color: currentColor; }
.vmodal__x svg { width: 18px; height: 18px; }

.vmodal__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}
.vmodal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    .vmodal__backdrop, .vmodal__box { animation: none; }
}
/* The globe plate is light, so its routes and live markers take their own
   colours rather than the gold used against the navy elsewhere. */
.worldpanel__map .worldpanel__arcs {
    stroke: #B8860B;
    stroke-width: 1.6;
    opacity: .85;
}
.worldpanel__map .pulse {
    background: #E8820C;
    border: 1.5px solid #7A3E02;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.worldpanel__map .pulse::after {
    border-color: #E8820C;
    border-width: 2px;
}
/* A tighter icon for the dense h4 feature grids, so adding one to every card
   does not add 70px of height to each of them. */
.card__icon--sm {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: .8rem;
}
.card__icon--sm svg { width: 18px; height: 18px; }
/* --------------------------------------------------------------------------
   31. Office locations (contact page)
   -------------------------------------------------------------------------- */
.office {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-card);
    padding: clamp(20px, 2.4vw, 28px);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.office:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--rule-2); }

.office__region {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: .9rem;
}
.office__flag {
    flex: none;
    min-width: 34px;
    padding: 4px 7px;
    border-radius: 5px;
    background: linear-gradient(145deg, var(--ae-navy), var(--ae-navy-light));
    color: #fff;
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.office h3 { font-size: 1.08rem; margin-bottom: .7rem; }

.office__addr {
    font-style: normal;
    font-size: .95rem;
    color: var(--ink-3);
    line-height: 1.65;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}

.office__lines {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    align-items: baseline;
    margin-top: auto;
}
.office__lines dt {
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.office__lines dd {
    margin: 0;
    font-size: .95rem;
    font-weight: 500;
    word-break: break-word;
}
.office__lines dd a { font-weight: 600; text-decoration: none; }
.office__lines dd a:hover { text-decoration: underline; text-underline-offset: 3px; }