/*!
 * Xiphias v5 theme — hand-written, no build step.
 * Mobile-first. Breakpoints: 600px (sm), 850px (md, header switches to desktop nav), 1100px (lg).
 * All classes are prefixed "xv5-" (BEM-ish: block__element--modifier).
 *
 * Sections:
 *   1. Fonts          2. Tokens         3. Reset & base    4. Typography
 *   5. Layout         6. Buttons/links  7. Eyebrow, chips  8. Section heading
 *   9. Cards         10. Header        11. Mega menu      12. Language switcher
 *  13. Drawer        14. Footer        15. Utilities      16. Editmode / reduced motion
 *  === Bricks ===  (added in Phase 2+)
 */

/* ---------------------------------------------------------------- 1. Fonts */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
         url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
         url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- 2. Tokens */
:root {
    /* brand */
    --xv5-orange: #f4511e;
    --xv5-orange-hover: #dd4316;       /* design hover; decorative only */
    --xv5-orange-fill: #cf3f12;        /* background behind WHITE text (buttons): 4.8:1 */
    --xv5-orange-fill-hover: #b8360e;  /* 5.9:1; also used for orange text hover */
    --xv5-orange-strong: #cc3a10;      /* orange TEXT at small sizes (4.7:1+ on white and panel; #f4511e is 3.5:1) */
    --xv5-orange-tint: #fff4ef;
    --xv5-blue: #29a9df;
    --xv5-blue-tint: #eaf8fe;

    /* text */
    --xv5-ink: #080e1e;                /* headings */
    --xv5-text: #171c2b;               /* body */
    --xv5-nav: #40536a;                /* nav links, pills */
    --xv5-muted: #586074;              /* paragraphs */
    --xv5-muted-2: #5b6b83;
    --xv5-subtle: #64748b;             /* small notes */

    /* surfaces */
    --xv5-bg: #ffffff;
    --xv5-panel: #f7f9fc;
    --xv5-panel-2: #f4f7fb;
    --xv5-dark: #0e1729;
    --xv5-dark-2: #14213a;
    --xv5-on-dark: #ffffff;
    --xv5-on-dark-muted: #c8d0df;

    /* lines */
    --xv5-line: #e2e5ee;
    --xv5-line-2: #dfe6f0;
    --xv5-card-line: #dce4ef;
    --xv5-pill-line: #c7d4df;
    --xv5-outline: #9baebe;

    /* gradients */
    --xv5-hero-bg: radial-gradient(ellipse at 8% 70%, #fbe4d7 0, transparent 46%), radial-gradient(ellipse at 88% 18%, #e7f2fb 0, transparent 52%), #fff;
    --xv5-cta-bg: linear-gradient(100deg, #fdeee6 0%, #f4f6f8 55%, #eaf5fb 100%);

    /* type */
    --xv5-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --xv5-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --xv5-fs-h1: clamp(40px, 5.6vw, 76px);
    --xv5-fs-h1-page: clamp(38px, 5vw, 64px);
    --xv5-fs-h2: clamp(30px, 3.6vw, 48px);
    --xv5-fs-h3: clamp(20px, 1.7vw, 23px);
    --xv5-fs-lead: clamp(17px, 1.5vw, 20px);
    --xv5-fs-body: 16px;
    --xv5-fs-small: 14px;
    --xv5-fs-xs: 12px;

    /* spacing scale */
    --xv5-space-1: 4px;
    --xv5-space-2: 8px;
    --xv5-space-3: 12px;
    --xv5-space-4: 16px;
    --xv5-space-5: 24px;
    --xv5-space-6: 32px;
    --xv5-space-7: 48px;
    --xv5-space-8: 64px;
    --xv5-space-9: 85px;
    --xv5-section-y: 56px;             /* 85px from md */
    --xv5-gap: 16px;                   /* grid gap */
    --xv5-card-pad: 23px;              /* 28px from sm */

    /* layout */
    --xv5-container: 1240px;
    --xv5-gutter: 20px;                /* 26px from sm */
    --xv5-header-h: 68px;              /* 86px from md */

    /* radii */
    --xv5-radius-sm: 8px;              /* buttons */
    --xv5-radius-md: 10px;             /* nav tiles */
    --xv5-radius-lg: 18px;             /* cards */
    --xv5-radius-xl: 28px;             /* panels */
    --xv5-radius-pill: 999px;

    /* shadows */
    --xv5-shadow-card: 0 14px 32px rgba(22, 35, 59, .07);
    --xv5-shadow-float: 0 20px 55px rgba(18, 36, 66, .14), 0 3px 10px rgba(18, 36, 66, .05);
    --xv5-shadow-drawer: -20px 0 55px rgba(9, 19, 35, .12);

    /* focus */
    --xv5-focus: 0 0 0 3px #fff, 0 0 0 5px var(--xv5-orange);

    --xv5-ease: cubic-bezier(.2, .7, .2, 1);
    --xv5-dur: .2s;
}
@media (min-width: 600px) {
    :root { --xv5-gutter: 26px; --xv5-card-pad: 28px; }
}
@media (min-width: 850px) {
    :root { --xv5-section-y: 85px; --xv5-header-h: 86px; }
}

/* ---------------------------------------------------------------- 3. Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--xv5-header-h) + 16px); }
body.xv5 {
    margin: 0;
    background: var(--xv5-bg);
    color: var(--xv5-text);
    font: 400 var(--xv5-fs-body)/1.6 var(--xv5-font);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* :where() keeps the reset at zero specificity so component classes always win */
:where(.xv5) :where(img, svg, video) { display: block; max-width: 100%; }
:where(.xv5) img { height: auto; }
:where(.xv5) a { color: inherit; text-decoration: none; }
:where(.xv5) button { font: inherit; color: inherit; }
:where(.xv5) :where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }
:where(.xv5) address { font-style: normal; }
:where(.xv5) ::selection { background: #fbd4c2; }
:where(.xv5) :focus:not(:focus-visible) { outline: none; }
:where(.xv5) :focus-visible { outline: 3px solid var(--xv5-orange); outline-offset: 2px; border-radius: 4px; }
.xv5-main:focus { outline: none; }
html.xv5-scroll-lock, html.xv5-scroll-lock body { overflow: hidden; }

/* ---------------------------------------------------------------- 4. Typography */
:where(.xv5) :where(h1, h2, h3, h4) { color: var(--xv5-ink); margin: 0; font-weight: 800; text-wrap: balance; }
.xv5-h1, .xv5-h2, .xv5-h3, .xv5-h4 { color: var(--xv5-ink); font-weight: 800; text-wrap: balance; }
:where(.xv5) h1, .xv5-h1 { font-size: var(--xv5-fs-h1); line-height: 1.05; letter-spacing: -.045em; }
.xv5-h1--page { font-size: var(--xv5-fs-h1-page); line-height: 1.07; letter-spacing: -.04em; }
:where(.xv5) h2, .xv5-h2 { font-size: var(--xv5-fs-h2); line-height: 1.13; letter-spacing: -.035em; }
:where(.xv5) h3, .xv5-h3 { font-size: var(--xv5-fs-h3); line-height: 1.22; letter-spacing: -.025em; font-weight: 750; }
:where(.xv5) h4, .xv5-h4 { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; font-weight: 750; }
:where(.xv5) p { margin: 0; }
.xv5-lead { font-size: var(--xv5-fs-lead); line-height: 1.6; color: var(--xv5-muted); max-width: 760px; }
.xv5-text { color: var(--xv5-muted); }
.xv5-small { font-size: var(--xv5-fs-small); }
.xv5-prose { color: var(--xv5-muted); max-width: 72ch; }
.xv5-prose > * + * { margin-top: 1em; }
.xv5-prose a { color: var(--xv5-orange-strong); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- 5. Layout */
.xv5-container { width: 100%; max-width: calc(var(--xv5-container) + 2 * var(--xv5-gutter)); margin-inline: auto; padding-inline: var(--xv5-gutter); }
.xv5-container--narrow { max-width: calc(760px + 2 * var(--xv5-gutter)); }
.xv5-section { padding-block: var(--xv5-section-y); }
.xv5-section--panel { background: var(--xv5-panel); }
.xv5-section--dark { background: var(--xv5-dark); color: var(--xv5-on-dark); }
.xv5-section--dark h1, .xv5-section--dark h2, .xv5-section--dark h3 { color: var(--xv5-on-dark); }
.xv5-section--dark .xv5-text, .xv5-section--dark .xv5-lead { color: var(--xv5-on-dark-muted); }
.xv5-section--dark .xv5-eyebrow { color: #ff6a3d; }
.xv5-section + .xv5-section:not(.xv5-section--panel):not(.xv5-section--dark) { border-top: 1px solid var(--xv5-line); }
.xv5-grid { display: grid; gap: var(--xv5-gap); grid-template-columns: minmax(0, 1fr); }
.xv5-stack > * + * { margin-top: var(--xv5-space-4); }
@media (min-width: 600px) {
    .xv5-grid--2, .xv5-grid--3, .xv5-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .xv5-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xv5-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- 6. Buttons & links */
.xv5-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 11px 19px;
    border: 1px solid transparent; border-radius: var(--xv5-radius-sm);
    font-size: 15px; font-weight: 750; line-height: 1.2; letter-spacing: -.01em;
    text-align: center; cursor: pointer; white-space: nowrap; max-width: 100%;
    transition: background-color var(--xv5-dur), border-color var(--xv5-dur), color var(--xv5-dur), transform var(--xv5-dur);
}
/* long (e.g. Croatian) labels wrap on phones instead of overflowing the viewport */
@media (max-width: 479px) { .xv5-btn { white-space: normal; } }
.xv5-btn .xv5-icon { flex: none; width: 15px; height: 15px; stroke-width: 2.4; }
/* #f4511e stays for logo/accents/large text; white-on-orange uses --xv5-orange-fill (AA) */
.xv5-btn--primary { background: var(--xv5-orange-fill); color: #fff; }
.xv5-btn--primary:hover { background: var(--xv5-orange-fill-hover); }
.xv5-btn--secondary { background: transparent; color: #17243a; border-color: var(--xv5-outline); }
.xv5-btn--secondary:hover { background: var(--xv5-blue-tint); color: #0b192a; }
.xv5-btn--ghost { background: transparent; color: var(--xv5-orange-strong); padding-inline: 4px; min-height: 0; }
.xv5-btn--ghost:hover { color: var(--xv5-orange-fill-hover); }
.xv5-btn--dark { background: var(--xv5-dark); color: #fff; }
.xv5-btn--dark:hover { background: var(--xv5-dark-2); }
.xv5-btn--lg { padding: 14px 22px; font-size: 16px; }
.xv5-btn--block { display: flex; width: 100%; }
.xv5-btn:focus-visible { outline: none; box-shadow: var(--xv5-focus); }
.xv5-section--dark .xv5-btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .45); }
.xv5-section--dark .xv5-btn--secondary:hover { background: rgba(255, 255, 255, .08); }
.xv5-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.xv5-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--xv5-orange-strong); font-weight: 750; font-size: 15px;
    transition: color var(--xv5-dur), gap var(--xv5-dur);
}
.xv5-link .xv5-icon { width: 15px; height: 15px; stroke-width: 2.4; flex: none; }
.xv5-link:hover { color: var(--xv5-orange-fill-hover); gap: 9px; }
.xv5-icon { display: inline-block; vertical-align: middle; }

/* ---------------------------------------------------------------- 7. Eyebrow, chips, tags */
.xv5-eyebrow {
    margin: 0 0 14px; color: var(--xv5-orange-strong);
    font-size: var(--xv5-fs-xs); font-weight: 800; line-height: 1.4;
    letter-spacing: .16em; text-transform: uppercase;
}
.xv5-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px; border: 1px solid var(--xv5-pill-line); border-radius: var(--xv5-radius-pill);
    background: #fff; color: var(--xv5-nav); font-size: var(--xv5-fs-xs); font-weight: 600; line-height: 1.5;
}
.xv5-chip--partner { border-color: #f6b9a3; background: var(--xv5-orange-tint); color: #b2380f; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.xv5-chip--expertise { border-color: #a9d9ee; background: var(--xv5-blue-tint); color: #17607f; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.xv5-chip--logo { border-radius: var(--xv5-radius-sm); border-color: #e1e7ef; padding: 6px 9px; color: #3b4c64; font-weight: 700; font-size: 11px; }
.xv5-chip--logo img { width: 31px; height: 24px; object-fit: contain; }
.xv5-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.xv5-tag { color: var(--xv5-orange-strong); font-size: var(--xv5-fs-xs); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- 8. Section heading (title left / intro right) */
.xv5-heading { display: grid; gap: 14px; margin-bottom: 32px; }
.xv5-heading__intro { color: var(--xv5-muted); font-size: 17px; line-height: 1.65; max-width: 560px; }
@media (min-width: 850px) {
    .xv5-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 45px; align-items: end; margin-bottom: 38px; }
    .xv5-heading__intro { justify-self: end; }
}
.xv5-heading--center { text-align: center; justify-items: center; grid-template-columns: minmax(0, 1fr); }

/* ---------------------------------------------------------------- 9. Cards */
.xv5-card {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    padding: var(--xv5-card-pad);
    background: var(--xv5-panel); border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-lg);
    transition: border-color var(--xv5-dur), transform var(--xv5-dur) var(--xv5-ease), box-shadow var(--xv5-dur);
}
.xv5-card--white { background: #fff; border-color: var(--xv5-card-line); }
.xv5-card--link:hover, .xv5-card--link:focus-within { border-color: var(--xv5-orange); transform: translateY(-2px); box-shadow: var(--xv5-shadow-card); }
.xv5-card__eyebrow { margin-bottom: 14px; }
.xv5-card__title { margin-bottom: 12px; }
.xv5-card__text { color: var(--xv5-muted); font-size: 15px; line-height: 1.65; }
.xv5-card__chips { margin-top: 18px; }
.xv5-card__footer { margin-top: auto; padding-top: 18px; }
.xv5-card__footer::before { content: ""; display: block; height: 1px; background: var(--xv5-line-2); margin-bottom: 15px; }
/* whole card clickable: put .xv5-card__cover on the main link */
.xv5-card__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------------------------------------------------------------- 10. Header */
.xv5-skip {
    position: fixed; top: 10px; left: 10px; z-index: 2000;
    padding: 10px 16px; border-radius: var(--xv5-radius-sm);
    background: var(--xv5-ink); color: #fff !important; font-weight: 700;
    transform: translateY(-160%); transition: transform .15s;
}
.xv5-skip:focus, .xv5-skip:focus-visible { transform: none; }

.xv5-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .93);
    -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--xv5-line);
}
.xv5-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--xv5-header-h); }
.xv5-header__logo { display: flex; align-items: center; flex: none; margin-right: auto; border-radius: 6px; }
.xv5-header__logo img { width: auto; height: 46px; }
.xv5-header__nav, .xv5-header .xv5-header__lang, .xv5-header__cta { display: none; }

.xv5-burger {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid #dce3ec; border-radius: var(--xv5-radius-md); background: #fff; cursor: pointer;
}
.xv5-burger__bars { display: grid; gap: 5px; }
.xv5-burger__bars span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #152037; }

@media (min-width: 850px) {
    .xv5-header__inner { gap: clamp(14px, 1.8vw, 28px); }
    .xv5-header__logo img { height: 56px; }
    .xv5-header__nav { display: block; margin-left: auto; }
    .xv5-header__logo { margin-right: 0; }
    .xv5-header .xv5-header__lang { display: flex; }
    .xv5-header__cta { display: inline-flex; }
    .xv5-burger { display: none; }
}
@media (min-width: 850px) and (max-width: 1099.98px) {
    /* tight range: longest (HR) labels must still fit on one row */
    .xv5-header__inner { gap: 12px; }
    .xv5-header__list { gap: 14px; }
    .xv5-header__link { font-size: 13.5px; }
    .xv5-mega__toggle { gap: 4px; }
    .xv5-header__cta { padding: 9px 13px; font-size: 14px; }
    .xv5-header__cta .xv5-icon { display: none; }
    .xv5-header .xv5-lang__link { min-width: 28px; padding-inline: 6px; }
}
@media (min-width: 1100px) {
    .xv5-header__logo img { height: 65px; }
}

.xv5-header__list { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 30px); }
.xv5-header__item { position: relative; }
.xv5-header__link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 0; border: 0; background: none; cursor: pointer;
    color: var(--xv5-nav); font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
    transition: color .16s;
}
button.xv5-header__link { font-weight: 700; color: #40516a; }
.xv5-header__link:hover, .xv5-header__link.is-active, .xv5-header__link[aria-expanded="true"] { color: var(--xv5-orange-strong); }
.xv5-header__link[aria-current="page"] { color: var(--xv5-orange-strong); }

/* ---------------------------------------------------------------- 11. Mega menu */
.xv5-mega__caret { flex: none; width: 15px; height: 15px; color: #6b7a92; stroke-width: 2.4; transition: transform .18s; }
.xv5-mega__toggle[aria-expanded="true"] .xv5-mega__caret { transform: rotate(180deg); color: currentColor; }
.xv5-mega__panel {
    position: absolute; top: calc(100% + 17px); left: 0; z-index: 900;
    width: 760px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); overflow: auto;
    background: #fff; border: 1px solid #e1e8f1; border-radius: 17px; box-shadow: var(--xv5-shadow-float);
    transform: translateX(var(--xv5-mega-shift, 0px));
}
.xv5-mega__panel[hidden] { display: none; }
.xv5-mega__panel--technologies { width: 660px; }
.xv5-mega__top {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
    padding: 20px 24px 14px; border-bottom: 1px solid #eef1f6;
}
.xv5-mega__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--xv5-orange-strong); }
.xv5-mega__overview { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #5f6d82; }
.xv5-mega__overview .xv5-icon { width: 13px; height: 13px; }
.xv5-mega__overview:hover { color: var(--xv5-orange-strong); }
.xv5-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding: 13px; }
.xv5-mega__grid--tech { gap: 4px 8px; padding: 12px 15px; }

.xv5-mega__entry, .xv5-mega__tech {
    display: flex; align-items: flex-start; gap: 10px; height: 100%;
    padding: 13px 12px; border-radius: var(--xv5-radius-md); color: #111b2d; line-height: 1.3;
    transition: background-color .16s;
}
.xv5-mega__entry { min-height: 87px; }
.xv5-mega__tech { align-items: center; min-height: 68px; padding: 9px 11px; }
.xv5-mega__entry:hover, .xv5-mega__tech:hover, .xv5-mega__entry:focus-visible, .xv5-mega__tech:focus-visible { background: #f3f6fa; }
.xv5-mega__entry[aria-current="page"], .xv5-mega__tech[aria-current="page"] { background: #f3f6fa; }
.xv5-mega__entry--highlight { background: linear-gradient(110deg, #fff4ef, #f1f8fd); }
.xv5-mega__entry--highlight:hover, .xv5-mega__entry--highlight:focus-visible { background: linear-gradient(110deg, #ffece3, #e7f4fc); }
.xv5-mega__num { flex: 0 0 22px; padding-top: 2px; font-size: 11px; font-weight: 750; color: var(--xv5-orange-strong); }
.xv5-mega__copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.xv5-mega__name { font-size: 13.5px; font-weight: 700; letter-spacing: -.02em; }
.xv5-mega__tech .xv5-mega__name { font-size: 14px; font-weight: 750; }
.xv5-mega__desc { font-size: 11.5px; font-weight: 400; line-height: 1.45; color: #66748a; }
.xv5-mega__arrow { flex: none; align-self: center; width: 15px; height: 15px; margin-left: auto; color: #a2aec0; opacity: 0; transition: opacity .15s, color .15s; }
.xv5-mega__entry:hover .xv5-mega__arrow, .xv5-mega__tech:hover .xv5-mega__arrow,
.xv5-mega__entry:focus-visible .xv5-mega__arrow, .xv5-mega__tech:focus-visible .xv5-mega__arrow { opacity: 1; color: var(--xv5-orange-strong); }
.xv5-mega__mark {
    /* wide box so the partner wordmarks stay legible (design tiles show the full logo) */
    display: grid; place-items: center; flex: 0 0 96px; width: 96px; height: 40px; padding: 5px 8px; overflow: hidden;
    border: 1px solid #e8edf3; border-radius: 9px; background: #fff; color: #344a68; font-size: 12px; font-weight: 800;
}
.xv5-mega__mark img { width: 100%; height: 28px; object-fit: contain; } /* explicit height: SVGs without intrinsic size */
.xv5-mega__mark img[src$="dotnet.svg"] { height: 24px; }

.xv5-mega__hosting { padding: 17px 25px 21px; border-top: 1px solid #e9edf4; background: #fbfcfe; }
.xv5-mega__hosting-title { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--xv5-orange-strong); }
.xv5-mega__hosting-title .xv5-icon { width: 12px; height: 12px; stroke-width: 2.6; }
a.xv5-mega__hosting-title:hover { color: var(--xv5-orange-fill-hover); text-decoration: underline; text-underline-offset: 3px; }
.xv5-mega__hosting-intro { margin: 6px 0 12px; font-size: 12px; line-height: 1.4; color: #5f6d82; }
.xv5-mega__providers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }

/* ---------------------------------------------------------------- 12. Language switcher */
.xv5-lang { display: flex; align-items: center; gap: 2px; margin: 0; padding: 3px; list-style: none; border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-pill); background: #fff; }
.xv5-lang__link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 28px; padding: 2px 8px;
    border-radius: var(--xv5-radius-pill); color: var(--xv5-nav); font-size: 12px; font-weight: 750; letter-spacing: .04em;
    transition: background-color .16s, color .16s;
}
.xv5-lang__link:hover { color: var(--xv5-orange-strong); }
.xv5-lang__link.is-active { background: var(--xv5-ink); color: #fff; }
.xv5-lang__link:focus-visible { border-radius: var(--xv5-radius-pill); }

/* ---------------------------------------------------------------- 13. Mobile drawer */
.xv5-drawer { position: fixed; inset: 0; z-index: 1100; }
.xv5-drawer[hidden] { display: none; }
.xv5-drawer__overlay { position: absolute; inset: 0; background: rgba(9, 19, 35, .45); opacity: 0; transition: opacity .25s; }
.xv5-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column;
    width: min(390px, 100vw); padding: 14px 22px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; box-shadow: var(--xv5-shadow-drawer);
    transform: translateX(105%); transition: transform .25s var(--xv5-ease);
}
.xv5-drawer.is-open .xv5-drawer__overlay { opacity: 1; }
.xv5-drawer.is-open .xv5-drawer__panel { transform: none; }
.xv5-drawer__panel:focus { outline: none; }
.xv5-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; margin-bottom: 12px; }
.xv5-drawer__close {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto;
    border: 1px solid #dce3ec; border-radius: var(--xv5-radius-md); background: #fff; cursor: pointer; color: #152037;
}
.xv5-drawer__close .xv5-icon { width: 22px; height: 22px; }
.xv5-drawer__nav > ul { list-style: none; margin: 0; padding: 0; }
.xv5-drawer__section, .xv5-drawer__nav > ul > li { border-bottom: 1px solid #e5eaf1; }
.xv5-drawer__trigger, .xv5-drawer__direct {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px;
    padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left;
    color: #111a2b; font-size: 19px; font-weight: 750; line-height: 1.3; letter-spacing: -.02em;
}
.xv5-drawer__direct[aria-current="page"] { color: var(--xv5-orange-strong); }
.xv5-drawer__chevron { width: 22px; height: 22px; color: var(--xv5-orange); transition: transform .2s; }
.xv5-drawer__trigger[aria-expanded="true"] .xv5-drawer__chevron { transform: rotate(180deg); }
.xv5-drawer__sub { list-style: none; margin: 0; padding: 0 0 16px 4px; }
.xv5-drawer__sub[hidden] { display: none; }
.xv5-drawer__sub a { display: block; min-height: 44px; padding: 10px 8px; border-radius: var(--xv5-radius-sm); color: #17243a; font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.xv5-drawer__sub a:hover { background: #f3f6fa; }
.xv5-drawer__sub a[aria-current="page"] { color: var(--xv5-orange-strong); }
.xv5-drawer__sub small { display: block; margin-top: 2px; color: #66748a; font-size: 12px; font-weight: 400; }
.xv5-drawer__sub .xv5-drawer__overview { display: flex; align-items: center; gap: 6px; color: var(--xv5-orange-strong); font-size: 13px; font-weight: 750; }
.xv5-drawer__sub .xv5-drawer__overview .xv5-icon { width: 14px; height: 14px; }
.xv5-drawer__cta { margin-top: 25px; min-height: 52px; border-radius: var(--xv5-radius-md); }
@media (min-width: 850px) {
    .xv5-drawer { display: none !important; }
}

/* ---------------------------------------------------------------- 14. Footer */
.xv5-footer { border-top: 1px solid var(--xv5-line); color: var(--xv5-muted); font-size: 15px; line-height: 1.7; }
.xv5-footer__inner { display: grid; gap: 22px; padding-block: 45px 28px; }
.xv5-footer__logo { display: inline-block; border-radius: 6px; }
.xv5-footer__logo img { width: auto; height: 65px; }
.xv5-footer__tagline { margin-top: 18px; }
.xv5-footer__contact strong { color: var(--xv5-nav); font-weight: 700; }
.xv5-footer a { transition: color .16s; }
.xv5-footer a:hover { color: var(--xv5-orange-strong); }
.xv5-footer__nav ul { display: grid; gap: 0; }
.xv5-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
    padding-block: 18px 30px; border-top: 1px solid var(--xv5-line); font-size: 13px; color: var(--xv5-subtle);
}
.xv5-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.xv5-footer__lang { margin-left: auto; }
@media (min-width: 600px) {
    .xv5-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 850px) {
    .xv5-footer__inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 30px; padding-block: 45px 40px; }
}

/* ---------------------------------------------------------------- 15. Utilities */
.xv5-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.xv5-hidden { display: none !important; }
.xv5-text-center { text-align: center; }
.xv5-mt-0 { margin-top: 0 !important; }

/* ---------------------------------------------------------------- 16. Editmode & reduced motion */
.xv5--editmode .xv5-header { position: relative; }
.xv5-editmode { min-height: 240px; }

@media (prefers-reduced-motion: reduce) {
    .xv5 *, .xv5 *::before, .xv5 *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    .xv5-card--link:hover, .xv5-card--link:focus-within { transform: none; }
}

/* ================================================================ Styleguide (dev page only) */
.xv5-sg__swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.xv5-sg__swatch { border: 1px solid var(--xv5-line); border-radius: 12px; overflow: hidden; font-size: 12px; }
.xv5-sg__swatch span { display: block; height: 64px; }
.xv5-sg__swatch code { display: block; padding: 8px 10px; font-family: var(--xv5-font-mono); color: var(--xv5-muted); overflow-wrap: anywhere; }
.xv5-sg__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.xv5-sg__block + .xv5-sg__block { margin-top: 56px; }
.xv5-sg__label { margin-bottom: 16px; font: 600 12px/1.4 var(--xv5-font-mono); color: var(--xv5-subtle); }

/* === Bricks === */
/* Phase 2+: one commented section per brick (.xv5-<brick>__*), below this marker. */

/* ---------------------------------------------------------------- Bricks: shared */
.xv5-section--joined { padding-top: 0; }
.xv5-section + .xv5-section--joined { border-top: 0 !important; }
.xv5-brick .xv5-heading__title { margin: 0; }
.xv5-heading__main .xv5-eyebrow { margin-bottom: 13px; }
.xv5-heading--single { grid-template-columns: minmax(0, 1fr) !important; row-gap: 16px; }
.xv5-heading__lead { margin-top: 16px; max-width: 560px; color: var(--xv5-muted); font-size: 16px; line-height: 1.6; }
@media (min-width: 850px) {
    .xv5-heading--lead { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
.xv5-provider__row > .xv5-icon { flex: none; width: 15px; height: 15px; margin-left: auto; color: var(--xv5-orange-strong); stroke-width: 2.4; }
.xv5-edit-warn { margin: 8px 0; padding: 8px 12px; border: 1px solid #f59e0b; border-radius: 8px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.45; }
.xv5-heading--single .xv5-heading__intro { justify-self: start; max-width: 860px; }
.xv5-heading--stack { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; margin-bottom: 0; }
.xv5-heading--stack .xv5-heading__intro { justify-self: start; font-size: 14px; line-height: 1.6; }
.xv5-section--dark .xv5-heading__intro { color: var(--xv5-on-dark-muted); }
.xv5-section__actions { margin-top: 28px; }
.xv5-note { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--xv5-subtle); max-width: 860px; }
.xv5-section--dark .xv5-note { color: var(--xv5-on-dark-muted); }
.xv5-link--small { font-size: 13px; }
.xv5-link--small .xv5-icon { width: 13px; height: 13px; }
/* "• LABEL ———" line above a card grid */
.xv5-rule-label {
    display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
    color: var(--xv5-orange-strong); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.xv5-rule-label::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--xv5-orange); }
.xv5-rule-label::after { content: ""; flex: 1; height: 1px; background: #f2c8b8; }
.xv5-container--article { max-width: calc(720px + 2 * var(--xv5-gutter)); }

/* ---------------------------------------------------------------- Brick: xv5-hero */
.xv5-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--xv5-line); background: radial-gradient(ellipse at 85% 85%, #eaf4fd 0, transparent 52%), linear-gradient(130deg, #fff, #f7f9fc); padding-block: 48px 52px; }
.xv5-hero--home { background: var(--xv5-hero-bg); padding-block: 56px 60px; }
.xv5-hero__inner { position: relative; }
.xv5-hero__eyebrow { margin-bottom: 18px; }
.xv5-hero__title { margin: 0 0 22px; max-width: 980px; font-size: clamp(40px, 5.1vw, 76px); line-height: 1.055; letter-spacing: -.05em; }
.xv5-hero--home .xv5-hero__title { max-width: 1160px; text-wrap: pretty; font-size: var(--xv5-fs-h1); letter-spacing: -.045em; }
.xv5-hero--large .xv5-hero__title { font-size: clamp(44px, 6vw, 86px); letter-spacing: -.055em; }
.xv5-hero__lead { max-width: 800px; font-size: clamp(17px, 1.65vw, 22px); line-height: 1.55; color: #52627a; }
.xv5-hero--home .xv5-hero__lead { max-width: 780px; color: var(--xv5-muted); font-size: var(--xv5-fs-lead); }
.xv5-hero__actions { margin-top: 30px; gap: 14px 18px; }
.xv5-hero__textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 4px; color: #172239; font-size: 15px; font-weight: 700; }
.xv5-hero__textlink:hover { color: var(--xv5-orange-strong); }
.xv5-hero__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: #50627a; font-size: 13px; font-weight: 650; }
.xv5-hero__back .xv5-icon { width: 14px; height: 14px; }
.xv5-hero__back:hover { color: var(--xv5-orange-strong); }
.xv5-hero__back--bottom { margin: 34px 0 0; color: var(--xv5-orange-strong); font-size: 14px; }
.xv5-hero__partner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -2px 0 26px; }
.xv5-hero__logo { display: inline-grid; place-items: center; min-width: 130px; height: 60px; padding: 8px 14px; border: 1px solid var(--xv5-card-line); border-radius: 12px; background: #fff; }
.xv5-hero__logo img, .xv5-hero__logo picture { display: block; width: auto; max-width: 150px; max-height: 40px; object-fit: contain; }
.xv5-hero__badge { padding: 6px 12px; font-weight: 700; color: #3d4f69; }
.xv5-hero__chips { margin-top: 36px; gap: 10px; }
.xv5-hero__chip { padding: 8px 14px; font-size: 12.5px; font-weight: 650; color: #41526b; border-color: #d9e2ee; }
.xv5-hero__visual { margin-top: 40px; }
/* plain: overview pages (What we do, Technologies, About) — white, no divider, the next section
   (joinPrevious) follows right under the lead */
.xv5-hero--plain { background: #fff; border-bottom: 0; padding-bottom: 30px; }
.xv5-hero--plain .xv5-hero__lead { max-width: 680px; font-size: clamp(17px, 1.4vw, 20px); }
.xv5-hero--plain.xv5-hero--large .xv5-hero__title { max-width: 820px; }
@media (min-width: 850px) {
    .xv5-hero { padding-block: 92px 90px; }
    .xv5-hero--plain { padding-bottom: 34px; }
    .xv5-hero--home { padding-block: 105px 85px; }
    .xv5-hero--product .xv5-hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
    .xv5-hero--product .xv5-hero__title { font-size: clamp(40px, 4.6vw, 68px); }
    .xv5-hero--product .xv5-hero__visual { margin-top: 0; }
}

/* ---------------------------------------------------------------- Visuals (hero product, split) */
.xv5-visual--card {
    padding: 26px 24px 28px; border: 1px solid #e3e9f1; border-radius: 22px; background: #fff;
    box-shadow: 0 24px 55px rgba(16, 33, 59, .09);
}
.xv5-visual--card > .xv5-eyebrow { font-size: 10.5px; margin-bottom: 22px; }
.xv5-visual--flow > .xv5-eyebrow { margin-bottom: 64px; }
.xv5-visual__caption { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--xv5-subtle); }
.xv5-visual__link { margin-top: 22px; }
.xv5-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
.xv5-flow__item { display: inline-flex; align-items: center; gap: 8px; }
.xv5-flow__chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #d9e4f0; border-radius: 9px; background: #f4f8fc; color: #1d2c45; font-size: 13px; font-weight: 700; }
.xv5-flow__arrow { color: var(--xv5-orange); }
.xv5-flow__item:last-child .xv5-flow__arrow { display: none; }
.xv5--editmode .xv5-flow__item:last-child .xv5-flow__arrow { display: inline; }
.xv5-flow__arrow .xv5-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.xv5-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.xv5-figure-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border: 1px solid #e3e9f1; border-radius: 16px; background: #fff; }
.xv5-figure-tile__value { color: var(--xv5-ink); font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.xv5-figure-tile__unit { font-size: .82em; }
.xv5-figure-tile__label { color: var(--xv5-muted-2); font-size: 13px; line-height: 1.4; }
.xv5-figure-tile__bar { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: #edf1f6; overflow: hidden; }
.xv5-figure-tile__bar > span { display: block; width: var(--xv5-bar, 0%); height: 100%; border-radius: inherit; background: var(--xv5-orange); transition: width .6s var(--xv5-ease); }
.xv5-figure-tile + .xv5-figure-tile .xv5-figure-tile__bar > span { background: var(--xv5-blue); }
.xv5-visual--image { overflow: hidden; border-radius: 22px; background: var(--xv5-panel-2); }
.xv5-visual--image img { width: 100%; height: auto; }
.xv5-visual--panel {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 34px;
    border-radius: 22px; background: linear-gradient(135deg, #141f38 0%, #1e3157 100%); color: #fff; overflow: hidden;
}
.xv5-visual__mark { position: absolute; top: 34px; left: 34px; display: flex; align-items: flex-start; gap: 0; font-size: 92px; font-weight: 900; line-height: .8; letter-spacing: -.06em; }
.xv5-visual__bar { display: block; width: 78px; height: 26px; margin-left: -6px; background: var(--xv5-orange); }
.xv5-visual__panel-title { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.xv5-visual__panel-sub { margin-top: 8px; color: #9fb3d1; font-size: 11px; font-weight: 800; letter-spacing: .16em; }

/* ---------------------------------------------------------------- Brick: xv5-teasers */
.xv5-teasers__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
    .xv5-teasers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .xv5-teasers__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xv5-teasers__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xv5-teasers__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 850px) and (max-width: 1099.98px) {
    .xv5-teasers__grid--4, .xv5-teasers__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.xv5-teaser { padding: 24px 23px 22px; }
.xv5-teaser__eyebrow { margin-bottom: 18px; font-size: 11px; letter-spacing: .14em; }
.xv5-teaser__title { margin-bottom: 12px; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.2; }
.xv5-teaser__pain { margin-bottom: 8px; color: var(--xv5-ink); font-size: 15px; font-weight: 750; line-height: 1.4; }
.xv5-teaser__text { color: var(--xv5-muted); font-size: 15px; line-height: 1.6; }
.xv5-teaser__tags { margin-top: 20px; flex-direction: column; align-items: flex-start; gap: 7px; }
.xv5-teaser__tags .xv5-chip { font-size: 11.5px; font-weight: 500; }
.xv5-teaser .xv5-card__footer { padding-top: 22px; }
.xv5-teaser__more { margin-top: auto; padding-top: 22px; }
/* wide capability card (has steps): spans the full row, steps column on the right */
.xv5-teaser--wide { grid-column: 1 / -1; }
.xv5-teaser__steps { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--xv5-line-2); }
.xv5-teaser__steps .xv5-eyebrow { font-size: 10px; margin-bottom: 10px; }
.xv5-teaser__steps ul { margin: 0; padding: 0; list-style: none; }
.xv5-teaser__steps li { border-bottom: 1px solid var(--xv5-line-2); }
.xv5-teaser__steps a, .xv5-teaser__steps li > span {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; padding: 9px 0; color: var(--xv5-ink); font-size: 14px; font-weight: 700;
}
.xv5-teaser__steps a .xv5-icon { width: 14px; height: 14px; color: var(--xv5-orange-strong); }
.xv5-teaser__steps a:hover { color: var(--xv5-orange-strong); }
@media (min-width: 850px) {
    .xv5-teaser--wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
    .xv5-teaser--wide .xv5-teaser__main { display: flex; flex-direction: column; }
    .xv5-teaser--wide .xv5-teaser__title { font-size: clamp(24px, 2.2vw, 30px); }
    .xv5-teaser__steps { margin: 0; padding: 32px 0 0 34px; border-top: 0; border-left: 1px solid var(--xv5-line-2); }
}
/* technology */
.xv5-teaser--technology { padding: 22px 18px 20px; border-top: 4px solid var(--xv5-orange); box-shadow: 0 10px 26px rgba(22, 35, 59, .05); }
.xv5-teaser--technology.xv5-teaser--expertise { border-top-color: var(--xv5-blue); background: linear-gradient(180deg, #f4fbff 0, #fff 40%); border-color: #cfe9f6; }
.xv5-teaser--technology.xv5-teaser--partner { border-color: #f6cdbd; border-top-color: var(--xv5-orange); }
.xv5-teaser__logo { display: flex; align-items: center; min-height: 52px; margin-bottom: 14px; font-size: 22px; }
.xv5-teaser__logo picture { display: block; }
.xv5-teaser__logo img { display: block; width: 100%; max-width: 160px; height: 44px; object-fit: contain; object-position: left center; }
.xv5-teaser__badge { margin-bottom: 16px; align-self: flex-start; font-size: 10px; padding: 5px 10px; line-height: 1.35; }
.xv5-teaser--technology .xv5-teaser__text { font-size: 14px; }
/* product */
.xv5-teaser--product { padding: 26px 26px 24px; }
.xv5-teaser__name { margin-bottom: 18px; font-size: clamp(20px, 1.7vw, 23px); }
.xv5-teaser__type { margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.xv5-teaser__subtitle { margin-bottom: 8px; color: var(--xv5-ink); font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.xv5-teaser--product .xv5-teaser__tags { flex-direction: row; margin-top: 14px; }
.xv5-teaser--product .xv5-teaser__more { padding-top: 20px; }
/* compact */
.xv5-teaser--compact { min-height: 86px; padding: 20px 52px 20px 20px; justify-content: center; }
.xv5-teaser--compact .xv5-teaser__eyebrow { margin-bottom: 8px; font-size: 10px; }
.xv5-teaser--compact .xv5-teaser__title { margin: 0; font-size: 17px; font-weight: 750; }
.xv5-teaser__arrow { position: absolute; right: 22px; bottom: 22px; color: var(--xv5-orange-strong); }
.xv5-teaser__arrow .xv5-icon { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---------------------------------------------------------------- Brick: xv5-cards */
.xv5-cards__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
    .xv5-cards__grid--2, .xv5-cards__grid--3, .xv5-cards__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
    .xv5-cards__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xv5-cards__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.xv5-cards .xv5-card { background: #fff; border-color: var(--xv5-card-line); }
.xv5-cards--tone-panel .xv5-card { background: var(--xv5-panel); border-color: var(--xv5-line); }
.xv5-card--challenge .xv5-card__text:last-child { margin-bottom: 0; }
.xv5-card__eyebrow { margin-bottom: 0; font-size: 11.5px; letter-spacing: .12em; }
.xv5-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 15px; }
.xv5-card__badge { padding: 6px 12px; font-size: 11.5px; font-weight: 700; color: #586a80; border-color: var(--xv5-card-line); }
.xv5-cards .xv5-card__title { margin: 14px 0 10px; font-size: clamp(20px, 1.7vw, 23px); }
.xv5-card__sub { margin-bottom: 6px; color: #263851; font-size: 15px; font-weight: 700; line-height: 1.45; }
.xv5-cards .xv5-card__text { color: var(--xv5-muted-2); font-size: 15px; line-height: 1.6; }
.xv5-card__text > * + * { margin-top: .7em; }
.xv5-card__text a { color: var(--xv5-orange-strong); text-decoration: underline; text-underline-offset: 3px; }
.xv5-card__list { margin: 16px 0 0; padding-left: 20px; color: #263650; font-size: 15px; line-height: 1.6; }
.xv5-card__list li { padding: 3px 0; }
.xv5-card__list li::marker { color: #263650; }
.xv5-card__best { margin-top: 20px; padding-top: 15px; border-top: 1px solid #e2e9f1; color: #263851; font-size: 14px; font-weight: 700; line-height: 1.5; }
.xv5-card__fit { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e4eaf1; color: var(--xv5-orange-strong); font-size: 13px; font-weight: 800; line-height: 1.5; }
.xv5-card__more { margin-top: auto; padding-top: 18px; }
/* challenge: auto-fit height so dividers line up per row */
.xv5-card--challenge .xv5-card__best { margin-top: auto; }
.xv5-card--challenge .xv5-card__text { margin-bottom: 20px; }
/* feature */
.xv5-card--feature { padding: clamp(24px, 2.6vw, 35px); border-radius: 22px; }
.xv5-cards--feature .xv5-card__title { margin: 22px 0 12px; font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -.035em; }
.xv5-card--feature .xv5-card__fit { margin-top: auto; }
.xv5-card--feature .xv5-card__list { margin-bottom: 20px; }
/* columns */
.xv5-card--columns { padding: clamp(22px, 2.3vw, 30px); border-radius: 20px; }
.xv5-card--columns .xv5-card__eyebrow { font-size: 10px; letter-spacing: .15em; }
.xv5-cards--columns .xv5-card__title { margin: 16px 0 10px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
/* numbered: no card, top rule */
.xv5-cards--numbered .xv5-card--numbered { padding: 22px 14px 20px; border: 0; border-top: 2px solid #e4eaf2; border-radius: 0; background: transparent; }
.xv5-cards--numbered .xv5-card__eyebrow { color: var(--xv5-orange-strong); font-size: 12px; letter-spacing: .02em; }
.xv5-cards--numbered .xv5-card__title { margin: 12px 0 8px; font-size: 18px; }
/* stat */
.xv5-card--stat { padding: 24px 22px; }
.xv5-card__value { color: var(--xv5-ink); line-height: 1.1; }
.xv5-cards--stat .xv5-card__title { margin: 0 0 8px; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.045em; }
.xv5-cards--stat .xv5-card__text { font-size: 13.5px; }

/* ---------------------------------------------------------------- Brick: xv5-split */
.xv5-split__grid { display: grid; gap: 40px; align-items: center; }
.xv5-split__title { margin: 0 0 18px; }
.xv5-split__text { font-size: 16px; line-height: 1.7; }
.xv5-split__pills { margin-top: 22px; }
.xv5-split__actions { margin-top: 30px; }
@media (min-width: 900px) {
    .xv5-split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
    .xv5-split--reverse .xv5-split__copy { order: 2; }
}

/* ---------------------------------------------------------------- Brick: xv5-steps */
.xv5-steps__list { display: grid; gap: 4px 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
.xv5-steps__item { padding: 18px 4px 16px; border-top: 2px solid var(--xv5-orange-fill); }
.xv5-steps__num { display: block; color: var(--xv5-orange-strong); font-size: 12.5px; font-weight: 800; }
.xv5-steps__title { margin: 12px 0 8px; font-size: 17px; letter-spacing: -.015em; }
.xv5-steps__text { color: var(--xv5-muted-2); font-size: 14px; line-height: 1.6; }
@media (min-width: 600px) {
    .xv5-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
    .xv5-steps__list { grid-template-columns: repeat(var(--xv5-steps, 5), minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- Brick: xv5-faq */
.xv5-faq__list { max-width: 950px; border-top: 1px solid var(--xv5-line-2); }
.xv5-faq__item { border-bottom: 1px solid var(--xv5-line-2); }
.xv5-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    min-height: 44px; padding: 18px 2px; cursor: pointer; list-style: none;
    color: var(--xv5-ink); font-size: clamp(16px, 1.3vw, 18px); font-weight: 750; line-height: 1.4;
}
.xv5-faq__q::-webkit-details-marker { display: none; }
.xv5-faq__q:hover { color: var(--xv5-orange-strong); }
.xv5-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid #d5deea; border-radius: 50%; background: #fff; }
.xv5-faq__icon::before, .xv5-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--xv5-orange-strong); transition: transform var(--xv5-dur); }
.xv5-faq__icon::after { transform: rotate(90deg); }
details[open] > .xv5-faq__q .xv5-faq__icon::after { transform: rotate(0deg); }
.xv5-faq__a { padding: 0 2px 22px; color: #596a80; line-height: 1.7; max-width: 850px; }
.xv5-faq__item.is-edit .xv5-faq__q { cursor: text; }
@media (min-width: 1000px) {
    .xv5-faq--side .xv5-faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 60px; align-items: start; }
    .xv5-faq--side .xv5-heading { margin-bottom: 0; }
}
.xv5-section--dark .xv5-faq__q { color: #fff; }
.xv5-section--dark .xv5-faq__a { color: var(--xv5-on-dark-muted); }
.xv5-section--dark .xv5-faq__list, .xv5-section--dark .xv5-faq__item { border-color: rgba(255, 255, 255, .14); }

/* ---------------------------------------------------------------- Brick: xv5-cta */
.xv5-cta--dark { padding-block: clamp(56px, 6vw, 77px); }
.xv5-cta__title { margin: 0 0 16px; max-width: 760px; }
.xv5-cta__text { max-width: 700px; color: var(--xv5-muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; }
.xv5-cta--dark .xv5-cta__text { color: #c1ccdc; }
.xv5-cta__actions { margin-top: 30px; }
.xv5-cta--light { padding-block: clamp(48px, 6vw, 85px); }
.xv5-cta--light .xv5-cta__panel { padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4.5vw, 64px); border-radius: var(--xv5-radius-xl); background: var(--xv5-cta-bg); }
.xv5-cta--light .xv5-cta__title { max-width: none; font-size: clamp(30px, 3.4vw, 46px); }
.xv5-cta--dark .xv5-cta__title { color: #fff; }
.xv5-cta--dark .xv5-eyebrow { color: #ff6a3d; }
.xv5-main > .xv5-cta--dark:last-child, .xv5-editmode .xv5-cta--dark { margin-bottom: 0; }

/* ---------------------------------------------------------------- Brick: xv5-providers */
.xv5-providers__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.xv5-provider__logo { display: inline-grid; place-items: center; flex: none; }
.xv5-provider__logo img, .xv5-provider__logo picture { display: block; width: auto; height: auto; object-fit: contain; }
/* strip */
.xv5-providers__strip { display: grid; gap: 22px; padding: 24px 23px; border: 1px solid var(--xv5-card-line); border-radius: var(--xv5-radius-lg); background: #fff; }
.xv5-providers__strip .xv5-heading__title { font-size: 20px; letter-spacing: -.02em; line-height: 1.35; }
.xv5-providers__strip .xv5-heading__main .xv5-eyebrow { font-size: 10.5px; margin-bottom: 10px; }
.xv5-providers--strip .xv5-providers__list { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.xv5-provider--strip { display: inline-flex; align-items: center; gap: 7px; color: #3b4c64; font-size: 14px; font-weight: 750; }
/* wordmark logos: readable width, aligned with the name; the whole item links to the provider (new tab) */
.xv5-provider--strip .xv5-provider__logo img, .xv5-provider--strip .xv5-provider__logo picture { max-width: 84px; max-height: 20px; }
.xv5-provider__strip-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.xv5-provider__strip-link:hover .xv5-provider__name, .xv5-provider__strip-link:hover > span:not(.xv5-provider__logo) { color: var(--xv5-orange-strong); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 850px) {
    .xv5-providers__strip { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px 23px; }
}
/* cards */
.xv5-providers--cards .xv5-providers__list { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .xv5-providers--cards .xv5-providers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .xv5-providers--cards .xv5-providers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xv5-provider--cards { display: flex; }
.xv5-provider__card {
    position: relative; display: flex; flex-direction: column; width: 100%; padding: 24px 20px 20px;
    border: 1px solid #dce3ed; border-radius: 18px; background: #fff; transition: border-color var(--xv5-dur), transform var(--xv5-dur) var(--xv5-ease);
}
.xv5-provider__card.xv5-card--link:hover, .xv5-provider__card.xv5-card--link:focus-within { border-color: var(--xv5-orange); transform: translateY(-2px); }
.xv5-provider__head { display: flex; align-items: center; gap: 12px; margin: 0 30px 12px 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.xv5-provider--cards .xv5-provider__logo img, .xv5-provider--cards .xv5-provider__logo picture { max-width: 44px; max-height: 26px; }
.xv5-provider__arrow { position: absolute; top: 24px; right: 20px; color: var(--xv5-orange-strong); }
.xv5-provider__arrow .xv5-icon { width: 15px; height: 15px; stroke-width: 2.4; }
.xv5-provider__meta { margin-bottom: 12px; color: var(--xv5-orange-strong); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xv5-provider__text { color: var(--xv5-muted-2); font-size: 14.5px; line-height: 1.6; }
.xv5-provider__footer { margin-top: auto; padding-top: 18px; }
.xv5-provider__footer::before { content: ""; display: block; height: 1px; margin-bottom: 14px; background: var(--xv5-line-2); }
.xv5-provider__note { margin-bottom: 10px; color: #42536b; font-size: 12.5px; }
/* rows */
.xv5-providers--rows .xv5-providers__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 600px) { .xv5-providers--rows .xv5-providers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .xv5-providers--rows .xv5-providers__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.xv5-provider__row {
    display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 14px 18px 14px 14px;
    border: 1px solid #dce3ed; border-radius: 14px; background: #fff; color: #142036; font-size: 14px; font-weight: 750;
    transition: border-color var(--xv5-dur), color var(--xv5-dur);
}
a.xv5-provider__row:hover { border-color: var(--xv5-orange); }
.xv5-provider--rows .xv5-provider__logo { width: 40px; height: 40px; padding: 5px; border-radius: 10px; background: var(--xv5-panel-2); }
.xv5-provider--rows .xv5-provider__logo img, .xv5-provider--rows .xv5-provider__logo picture { max-width: 30px; max-height: 26px; }
.xv5-provider--rows .xv5-provider__arrow { position: static; margin-left: auto; }
/* systems panel (e.g. "Selected systems we have worked with") */
.xv5-providers__panel { border: 1px solid var(--xv5-card-line); border-radius: var(--xv5-radius-lg); background: var(--xv5-panel); overflow: hidden; }
.xv5-providers__panel-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 18px 22px; border-bottom: 1px solid var(--xv5-line-2); }
.xv5-providers__panel-top .xv5-eyebrow { margin: 0; font-size: 10px; }
.xv5-providers__panel-meta { color: var(--xv5-muted-2); font-size: 12.5px; }
.xv5-providers--systems .xv5-providers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding: 24px 22px; }
@media (min-width: 760px) { .xv5-providers--systems .xv5-providers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .xv5-providers--systems .xv5-providers__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 26px 32px; } }
.xv5-provider--systems { display: grid; gap: 3px; min-width: 0; }
.xv5-provider--systems .xv5-provider__name { color: var(--xv5-ink); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.xv5-provider--systems .xv5-provider__meta { margin: 0; color: var(--xv5-muted-2); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.xv5-providers__panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 22px; border-top: 1px solid var(--xv5-line-2); background: #fff; }
.xv5-providers__panel-label { margin: 0; color: var(--xv5-ink); font-size: 13px; font-weight: 750; }
.xv5-providers__panel-foot .xv5-chips { margin: 0; }
/* download as a page section */
.xv5-download-section .xv5-heading { margin-bottom: clamp(20px, 2.4vw, 28px); }
.xv5-provider.is-edit { padding: 12px; border: 1px dashed #b9c6d6; border-radius: 12px; background: #fff; }

/* ---------------------------------------------------------------- Brick: xv5-insights (+ carousel) */
.xv5-insights__grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 610px) { .xv5-insights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .xv5-insights__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xv5-insights__item { display: flex; min-width: 0; }
.xv5-insight { width: 100%; padding: 0 0 20px; overflow: hidden; }
.xv5-insight > :not(.xv5-insight__cover) { margin-inline: 20px; }
.xv5-insight__cover { aspect-ratio: 16 / 7; margin-bottom: 18px; overflow: hidden; background: #0e1728; }
.xv5-insight__cover img, .xv5-insight__cover picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.xv5-insight__meta { margin-bottom: 10px; font-size: 10.5px; letter-spacing: .12em; }
.xv5-insight__title { margin-bottom: 12px; font-size: 17px; line-height: 1.32; letter-spacing: -.015em; }
.xv5-insight__summary { color: var(--xv5-muted-2); font-size: 13.5px; line-height: 1.55; }
.xv5-insight .xv5-card__footer { padding-top: 16px; }
/* carousel */
.xv5-carousel__controls { display: flex; justify-content: flex-end; gap: 10px; margin: -12px 0 16px; }
.xv5-carousel__btn {
    display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
    border: 1px solid #d5deea; border-radius: 12px; background: #fff; color: var(--xv5-ink); cursor: pointer;
    transition: border-color var(--xv5-dur), color var(--xv5-dur), opacity var(--xv5-dur);
}
.xv5-carousel__btn .xv5-icon { width: 18px; height: 18px; }
.xv5-carousel__btn:hover:not(:disabled) { border-color: var(--xv5-orange); color: var(--xv5-orange-strong); }
.xv5-carousel__btn:disabled { opacity: .4; cursor: default; }
.xv5-carousel__track {
    --xv5-visible: 1;
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--xv5-visible) - 1) * 16px) / var(--xv5-visible));
    gap: 16px; margin: 0; padding: 2px 2px 6px; list-style: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none;
}
.xv5-carousel__track::-webkit-scrollbar { display: none; }
.xv5-carousel__track:focus-visible { outline: 3px solid var(--xv5-orange); outline-offset: 4px; border-radius: 12px; }
.xv5-carousel__slide { scroll-snap-align: start; }
@media (min-width: 610px) { .xv5-carousel__track { --xv5-visible: 2; } }
@media (min-width: 900px) { .xv5-carousel__track { --xv5-visible: 3; } }
.xv5-insights__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.xv5-carousel__status { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.xv5-carousel__dots { display: flex; align-items: center; gap: 6px; }
.xv5-carousel__dots i { display: block; width: 8px; height: 8px; border-radius: 99px; background: #cad4e2; transition: width var(--xv5-dur), background-color var(--xv5-dur); }
.xv5-carousel__dots i.is-active { width: 24px; background: var(--xv5-orange); }
.xv5-insights.is-static .xv5-carousel__controls, .xv5-insights.is-static .xv5-carousel__status { display: none; }
.xv5-carousel__count { min-width: 44px; color: #384a63; font-size: 12px; font-weight: 750; text-align: right; }
@media (max-width: 609.98px) { .xv5-carousel__dots { display: none; } }

/* ---------------------------------------------------------------- Brick: xv5-video */
.xv5-video {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(14px, 1.8vw, 22px);
    background: radial-gradient(ellipse at 72% 40%, #273b62 0, transparent 60%), linear-gradient(135deg, #0c1527 0%, #16223b 100%); color: #fff;
}
.xv5-video__poster, .xv5-video picture, .xv5-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xv5-video picture img { width: 100%; height: 100%; object-fit: cover; }
.xv5-video__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(180deg, rgba(8, 14, 30, .1), rgba(8, 14, 30, .45)); }
.xv5-video__label { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(16px, 2vw, 24px); color: #9fb3d1; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.xv5-video__play {
    display: grid; place-items: center; width: clamp(60px, 7vw, 76px); height: clamp(60px, 7vw, 76px); padding: 0;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer;
    transition: background-color var(--xv5-dur), transform var(--xv5-dur);
}
.xv5-video__play:hover { background: var(--xv5-orange-fill); transform: scale(1.04); }
.xv5-video__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.xv5-video__triangle { width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.xv5-video__title { color: #fff; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.xv5-video__text { max-width: 560px; color: #c1ccdc; font-size: 13px; }
/* with a poster: copy + button at the bottom on a dark scrim, so it stays readable on light posters */
.xv5-video--poster .xv5-video__overlay { justify-content: flex-end; padding-bottom: clamp(20px, 3vw, 36px); background: linear-gradient(180deg, rgba(8, 14, 30, .22) 0%, rgba(8, 14, 30, .55) 30%, rgba(8, 14, 30, .93) 58%, #080e1e 100%); }
/* calmer poster under the overlay copy (Phase 4 review M6): softened, slightly desaturated */
.xv5-video--poster .xv5-video__poster, .xv5-video--poster picture img { filter: blur(2.5px) saturate(.7); transform: scale(1.03); }
.xv5-video--poster .xv5-video__label { color: #42536b; }
@media (max-width: 599px) { .xv5-video--poster .xv5-video__text { display: none; } }
/* Keel film: the poster is a frame of the film, so it stays sharp */
#keel-video .xv5-video__poster, #keel-video picture img { filter: none; transform: none; }
#keel-hero .xv5-visual--image { overflow: visible; border-radius: 0; background: none; }
#keel-hero .xv5-hero__visual { display: flex; justify-content: center; }
#keel-hero .xv5-visual--image img { max-width: 520px; margin-inline: auto; }
#keel-video .xv5-video__label { color: #fff; }
#keel-video .xv5-video__play { position: absolute; inset: 0; margin: auto; }
.xv5-video-section__actions { justify-content: center; margin-top: 24px; }
#keel-video .xv5-video--poster .xv5-video__overlay { background: linear-gradient(180deg, transparent 55%, rgba(7, 10, 28, .8) 100%); }
.xv5-video iframe, .xv5-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.xv5-video.is-playing .xv5-video__overlay, .xv5-video.is-playing .xv5-video__poster, .xv5-video.is-playing picture { display: none; }

/* ---------------------------------------------------------------- Brick: xv5-text */
.xv5-textblock__title { margin: 0 0 22px; }
.xv5-textblock__body { max-width: none; font-size: 17px; line-height: 1.75; }
.xv5-prose h2 { margin-top: 1.6em; font-size: clamp(26px, 2.6vw, 34px); }
.xv5-prose h3 { margin-top: 1.4em; font-size: clamp(20px, 1.8vw, 24px); }
.xv5-prose ul, .xv5-prose ol { padding-left: 1.3em; }
.xv5-prose li + li { margin-top: .35em; }
.xv5-prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--xv5-orange); color: var(--xv5-ink); font-weight: 600; }
.xv5-prose strong { color: var(--xv5-ink); }
.xv5-section--dark .xv5-prose { color: var(--xv5-on-dark-muted); }
.xv5-section--dark .xv5-prose strong { color: #fff; }

/* ---------------------------------------------------------------- Article bricks (callout, compare, figure, download) */
.xv5-block { margin-block: 28px; }
.xv5-callout { padding: clamp(24px, 3vw, 34px); border-radius: 18px; background: var(--xv5-dark-2); color: #fff; }
.xv5-callout__eyebrow { margin-bottom: 12px; color: #ff6a3d; }
.xv5-callout__text { font-size: clamp(18px, 1.7vw, 22px); font-weight: 750; line-height: 1.45; letter-spacing: -.01em; }
.xv5-compare { display: grid; gap: 14px; }
@media (min-width: 700px) { .xv5-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xv5-compare__col { padding: clamp(22px, 2.5vw, 30px); border: 1px solid var(--xv5-card-line); border-radius: 18px; background: var(--xv5-panel-2); }
.xv5-compare__col--after { border-color: transparent; background: var(--xv5-dark-2); color: #fff; }
.xv5-compare__col--after .xv5-eyebrow { color: #ff6a3d; }
.xv5-compare__col--after .xv5-compare__title { color: #fff; }
.xv5-compare__col--after .xv5-prose { color: #c8d2e2; }
.xv5-compare__col--after .xv5-prose strong { color: #fff; }
.xv5-compare__title { margin: 0 0 10px; font-size: 20px; }
.xv5-figure { margin: 0; }
.xv5-figure__media { overflow: hidden; border-radius: 18px; background: #edf3f8; }
.xv5-figure__media img { width: 100%; height: auto; }
.xv5-figure__caption { margin-top: 10px; color: var(--xv5-subtle); font-size: 13px; line-height: 1.5; }
.xv5-download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 26px); border: 1px solid var(--xv5-card-line); border-radius: 18px; background: #fff; }
.xv5-download__copy { flex: 1 1 320px; min-width: 0; }
.xv5-download__title { margin: 0 0 6px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; font-weight: 750; color: var(--xv5-ink); }
.xv5-download__meta { color: var(--xv5-muted-2); font-size: 14px; }
.xv5-download__btn { flex: none; }

/* ---------------------------------------------------------------- Bricks: editmode helpers */
.xv5--editmode .xv5-repeat > .pimcore_editable_block { display: contents; }
.xv5--editmode .xv5-repeat > .pimcore_editable_block > .pimcore_block_entry { position: relative; min-width: 0; }
.xv5--editmode .xv5-chips.xv5-repeat > .pimcore_editable_block > .pimcore_block_entry,
.xv5--editmode .xv5-flow.xv5-repeat > .pimcore_editable_block > .pimcore_block_entry { display: inline-flex; align-items: center; }
.xv5--editmode .xv5-card__list.xv5-repeat > .pimcore_editable_block > .pimcore_block_entry { display: list-item; }
.xv5--editmode .xv5-cards__grid > .pimcore_editable_block > .pimcore_block_entry,
.xv5--editmode .xv5-insights__grid > .pimcore_editable_block > .pimcore_block_entry { display: flex; flex-direction: column; }
.xv5--editmode .xv5-cards__grid > .pimcore_editable_block > .pimcore_block_entry > .xv5-card { flex: 1; }
.xv5--editmode .xv5-cover { min-height: 80px; }
.xv5-edit-note, .xv5-edit-panel { margin: 12px 0; padding: 12px 16px; border: 1px dashed #9baebe; border-radius: 10px; background: #fffbe8; color: #4b5563; font-size: 13px; line-height: 1.5; }
.xv5-edit-panel__title { margin-bottom: 10px; font-weight: 700; }
.xv5-edit-hint { margin: 8px 0; padding: 6px 10px; border: 1px dashed #c7d4df; border-radius: 8px; background: #f8fafc; color: #4b5563; font-size: 12px; }
.xv5-edit-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 120px; }
.xv5-edit-link::before { content: attr(data-hint); color: #94a3b8; font: 600 10px/1.2 var(--xv5-font); text-transform: uppercase; letter-spacing: .06em; }
.xv5--editmode .xv5-section--dark .xv5-edit-link::before { color: #94a3b8; }
.xv5--editmode .xv5-video__overlay { position: relative; min-height: 100%; }
.xv5-teaser-panel { max-width: calc(var(--xv5-container) + 2 * var(--xv5-gutter)); margin: 16px auto; padding: 0 var(--xv5-gutter); font-size: 13px; }
.xv5-teaser-panel > summary { padding: 12px 16px; border: 1px solid #c7d4df; border-radius: 10px; background: #f1f5f9; cursor: pointer; font-weight: 800; color: #17243a; }
.xv5-teaser-panel > summary small { font-weight: 500; color: #64748b; }
.xv5-teaser-panel__body { padding: 16px; border: 1px solid #c7d4df; border-top: 0; border-radius: 0 0 10px 10px; background: #fff; }
.xv5-teaser-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.xv5-teaser-panel__grid label, .xv5-teaser-panel__label { display: block; font-weight: 700; color: #334155; }
.xv5-teaser-panel__grid label small, .xv5-teaser-panel__label small { font-weight: 400; color: #64748b; }
.xv5-teaser-panel__grid .pimcore_editable { margin-top: 4px; }
.xv5-teaser-panel__grid label > .pimcore_editable_select { display: block; margin-bottom: 10px; }
.xv5-teaser-panel__wide { grid-column: 1 / -1; }
.xv5-teaser-panel__step { display: flex; gap: 10px; align-items: center; }


/* ---------------------------------------------------------------- Brick: xv5-flow (article diagram) */
.xv5-diagram { margin: 0; }
.xv5-diagram__label { margin-bottom: 12px; }
.xv5-diagram__list { display: grid; width: 100%; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.xv5-diagram__item { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 84px; padding: 18px 20px; border-radius: 14px; background: var(--xv5-dark-2); color: #fff; text-align: center; }
.xv5-diagram__item.is-focus { background: var(--xv5-orange-fill); }
.xv5-diagram__num { color: #ff8a63; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.xv5-diagram__item.is-focus .xv5-diagram__num { color: #fff; }
.xv5-diagram__title { font-size: 15.5px; font-weight: 750; line-height: 1.3; }
.xv5-diagram__sub { color: #b9c6d8; font-size: 12px; line-height: 1.45; }
.xv5-diagram__item.is-focus .xv5-diagram__sub { color: #fff; }
/* arrows between the boxes: ↓ on mobile, → in a row from 700px */
.xv5-diagram--row .xv5-diagram__item + .xv5-diagram__item::before {
    content: ""; position: absolute; left: 50%; top: -17px; width: 9px; height: 9px; margin-left: -5px;
    border-right: 2px solid var(--xv5-orange); border-bottom: 2px solid var(--xv5-orange); transform: rotate(45deg);
}
@media (min-width: 700px) {
    .xv5-diagram--row .xv5-diagram__list { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 30px; }
    .xv5-diagram--row .xv5-diagram__item + .xv5-diagram__item::before { left: -21px; top: 50%; margin: -5px 0 0; transform: rotate(-45deg); }
}
.xv5-diagram--stack .xv5-diagram__list { gap: 8px; }
.xv5-diagram--stack .xv5-diagram__item { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 0; padding: 16px 20px; border: 1px solid var(--xv5-card-line); background: var(--xv5-panel); color: var(--xv5-ink); text-align: left; }
.xv5-diagram--stack .xv5-diagram__title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.xv5-diagram--stack .xv5-diagram__sub { color: var(--xv5-muted-2); font-size: 13.5px; }
.xv5-diagram--stack .xv5-diagram__item.is-focus { border-color: transparent; background: var(--xv5-dark-2); color: #fff; }
.xv5-diagram--stack .xv5-diagram__item.is-focus .xv5-diagram__title { color: #ff8a63; }
.xv5-diagram--stack .xv5-diagram__item.is-focus .xv5-diagram__sub { color: #d5deea; }
.xv5-diagram__caption { margin-top: 10px; color: var(--xv5-subtle); font-size: 13px; line-height: 1.5; }
.xv5--editmode .xv5-diagram__list > .pimcore_editable_block > .pimcore_block_entry { margin-bottom: 8px; }

/* ================================================================ Phase 5: insights list */
.xv5-insights-hero { padding-block: clamp(48px, 7vw, 92px) 28px; }
.xv5-insights-hero__title { max-width: 820px; margin: 14px 0 22px; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.055em; }
.xv5-insights-hero__lead { max-width: 640px; color: var(--xv5-muted); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; }
.xv5-filter { margin-top: 26px; }
.xv5-filter__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xv5-filter__pill {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid #bdcbd5; border-radius: 30px;
    background: #fff; color: #17243a; font-size: 13px; font-weight: 650; line-height: 1.2; transition: background .15s, border-color .15s, color .15s;
}
.xv5-filter__pill:hover { border-color: var(--xv5-orange); color: var(--xv5-orange-strong); }
.xv5-filter__pill.is-active { border-color: var(--xv5-orange-fill); background: var(--xv5-orange-fill); color: #fff; }
.xv5-insights-results { padding-top: 0; }
.xv5-insights-page .xv5-section + .xv5-section { border-top: 0; }
.xv5-insights-page [data-xv5-filter-results] { transition: opacity .2s; }
.xv5-insights-page.is-loading [data-xv5-filter-results] { opacity: .45; }
.xv5-insights-empty { display: grid; justify-items: start; gap: 10px; padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--xv5-card-line); border-radius: 18px; background: #fff; }
.xv5-insights-empty__title { color: var(--xv5-ink); font-size: 20px; font-weight: 750; }
.xv5-insights-empty__text { max-width: 560px; color: var(--xv5-muted); }
.xv5-insights-empty .xv5-btn { margin-top: 8px; }
.xv5-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; }
.xv5-pager__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.xv5-pager__num, .xv5-pager__step {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 14px;
    border: 1px solid var(--xv5-card-line); border-radius: 10px; background: #fff; color: #17243a; font-size: 14px; font-weight: 700;
}
.xv5-pager__num:hover, .xv5-pager__step:hover { border-color: var(--xv5-orange); color: var(--xv5-orange-strong); }
.xv5-pager__num.is-active { border-color: var(--xv5-orange-fill); background: var(--xv5-orange-fill); color: #fff; }
.xv5-pager .xv5-icon { width: 15px; height: 15px; }
.xv5-insight .xv5-insight__meta { font-size: 10.5px; }

/* ================================================================ Phase 5: insight (post) */
.xv5-post { --xv5-article: 884px; padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.xv5-post__head, .xv5-post__column { max-width: calc(var(--xv5-article) + 2 * var(--xv5-gutter)); }
/* every brick in the article column uses the reading width (section bricks included) */
.xv5-post__body .xv5-container, .xv5-post__body .xv5-container--article { max-width: calc(var(--xv5-article) + 2 * var(--xv5-gutter)); }
.xv5-post__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--xv5-orange-strong); font-size: 15px; font-weight: 750; }
.xv5-post__back .xv5-icon { width: 15px; height: 15px; }
.xv5-post__back:hover { color: var(--xv5-orange-fill-hover); }
.xv5-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 34px 0 18px; color: var(--xv5-orange-strong); letter-spacing: .14em; }
.xv5-post__sep { color: #e3a48e; }
.xv5-post__title { max-width: 980px; margin: 0 0 22px; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -.045em; text-wrap: pretty; overflow-wrap: break-word; hyphens: auto; }
.xv5-post__lead { max-width: 800px; color: var(--xv5-muted); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.6; }
.xv5-post__lead p, .xv5-post__lead h2 { font: inherit; color: inherit; letter-spacing: normal; margin: 0; }
.xv5-post__hero { margin: clamp(28px, 4vw, 42px) 0 8px; }
.xv5-post__hero .xv5-figure__media { border-radius: 18px; }
.xv5-post__hero--cover { overflow: hidden; aspect-ratio: 900 / 360; border-radius: 18px; }

/* legacy blocks (blog_blocks, video_demo_blocks, highlight_blocks) in v5 article styling */
.xv5-post__legacy { margin-block: 34px; }
.xv5-post__h2, .xv5-post__body .xv5-textblock__title, .xv5-post__body .xv5-heading__title { margin: 0 0 14px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.xv5-post .xv5-prose { max-width: none; color: #3b4659; font-size: 16.5px; line-height: 1.85; }
.xv5-post .xv5-prose h3 { font-size: 20px; }
.xv5-post__figure { margin-top: 26px; }
.xv5-post__video { margin-top: 18px; }
.xv5-post__intro { margin-top: 16px; color: #3b4659; font-size: 16.5px; line-height: 1.75; }
.xv5-post__checks { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.xv5-post__checks li { position: relative; padding-left: 28px; color: #3b4659; line-height: 1.6; }
.xv5-post__checks li::before { content: ""; position: absolute; left: 4px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--xv5-orange); border-bottom: 2.5px solid var(--xv5-orange); transform: rotate(-45deg); }
.xv5-post__highlight { padding: clamp(24px, 3.4vw, 40px); border-radius: 18px; background: var(--xv5-dark-2); color: #fff; }
.xv5-post__highlight-title { margin: 0 0 12px; color: #fff; font-size: clamp(22px, 2.2vw, 30px); }
.xv5-post__highlight .xv5-prose { color: #d0d9e6; }
.xv5-post__highlight .xv5-prose strong { color: #fff; }
.xv5-post__highlight .xv5-prose a { color: #ffb59c; }
.xv5-post__highlight .xv5-actions { margin-top: 22px; }

/* the `article` areablock: section bricks become blocks of the reading column */
.xv5-post__body > .xv5-section, .xv5-post__body > .xv5-cta { padding-block: 0; margin-block: 34px; border: 0 !important; background: none; }
.xv5-post__body .xv5-block { margin-block: 30px; }
.xv5-post__body .xv5-textblock + .xv5-block, .xv5-post__body .xv5-textblock + .xv5-section { margin-top: 22px; }
.xv5-post__body .xv5-textblock__body { max-width: none; }
.xv5-post__body .xv5-textblock .xv5-eyebrow { margin-bottom: 10px; }
.xv5-post__body .xv5-heading { margin-bottom: 18px; }
/* panel text block = boxed checklist / source note */
.xv5-post__body > .xv5-section--panel .xv5-container > * { position: relative; }
.xv5-post__body > .xv5-section--panel > .xv5-container { padding-block: clamp(22px, 3vw, 32px); border: 1px solid var(--xv5-card-line); border-radius: 18px; background: var(--xv5-panel-2); padding-inline: clamp(20px, 3vw, 32px); max-width: var(--xv5-article); }
@media (max-width: 939px) { .xv5-post__body > .xv5-section--panel > .xv5-container { width: auto; margin-inline: var(--xv5-gutter); } }
.xv5-post__body > .xv5-section--panel .xv5-textblock__title { font-size: clamp(20px, 2vw, 24px); }
.xv5-post .xv5-prose ol { counter-reset: xv5-ol; padding-left: 0; list-style: none; }
.xv5-post .xv5-prose ol > li { position: relative; padding-left: 40px; counter-increment: xv5-ol; }
.xv5-post .xv5-prose ol > li::before { content: counter(xv5-ol, decimal-leading-zero); position: absolute; left: 0; color: var(--xv5-orange-strong); font-weight: 800; font-size: 14px; }
/* tables (inside text bricks) */
.xv5-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.xv5-prose th, .xv5-prose td { padding: 12px 14px; border-bottom: 1px solid var(--xv5-line); text-align: left; vertical-align: top; }
.xv5-prose thead th { background: var(--xv5-dark-2); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.xv5-prose thead th:first-child { border-top-left-radius: 10px; }
.xv5-prose thead th:last-child { border-top-right-radius: 10px; }
.xv5-prose tbody tr:nth-child(even) td { background: var(--xv5-panel); }
.xv5-prose td strong { color: var(--xv5-ink); }
.xv5-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 599px) { .xv5-prose table { font-size: 13.5px; } .xv5-prose th, .xv5-prose td { padding: 10px 8px; overflow-wrap: anywhere; } .xv5-prose thead th { letter-spacing: .02em; font-size: 11px; } }
.xv5-prose code { padding: 2px 6px; border-radius: 6px; background: #eef2f7; color: #14213a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.xv5-compare__col--after .xv5-prose code { background: rgba(255, 255, 255, .1); color: #fff; }
/* cards in the article: 2–3 compact columns, panel tone */
.xv5-post__body .xv5-cards .xv5-card { padding: 22px; border-radius: 14px; background: var(--xv5-panel-2); border-color: var(--xv5-card-line); }
.xv5-post__body .xv5-cards:not(.xv5-cards--stat) .xv5-card__title { font-size: 18px; }
.xv5-post__body .xv5-card__text { font-size: 14.5px; line-height: 1.65; }
.xv5-post__body .xv5-cards--stat .xv5-card { background: #fff; }
@media (min-width: 900px) { .xv5-post__body .xv5-cards__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* steps in the article: numbered vertical list */
.xv5-post__body .xv5-steps__list { grid-template-columns: minmax(0, 1fr) !important; gap: 0; }
.xv5-post__body .xv5-steps__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 4px; padding: 18px 0; border-top: 0; border-bottom: 1px solid var(--xv5-line); }
.xv5-post__body .xv5-steps__num { grid-row: span 2; color: var(--xv5-orange-strong); font-size: 22px; line-height: 1.2; }
.xv5-post__body .xv5-steps__title { margin: 0 0 6px; font-size: 18px; }
.xv5-post__body .xv5-steps__text { font-size: 14.5px; }
/* closing CTA brick in the article: dark rounded box in the column */
.xv5-post__body > .xv5-cta .xv5-cta__panel { padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--xv5-dark-2); }
.xv5-post__body > .xv5-cta--light .xv5-cta__panel { background: var(--xv5-cta-bg); }
.xv5-post__body > .xv5-cta--dark { background: none; }
.xv5-post__body > .xv5-cta .xv5-cta__title { font-size: clamp(26px, 3vw, 40px); }
.xv5-post__body .xv5-faq .xv5-faq__inner { display: block; }
.xv5-post__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--xv5-line); }
.xv5-post__related { border-top: 0; }
.xv5-post__editpanel { margin: 20px auto; max-width: calc(884px + 2 * var(--xv5-gutter)); }
.xv5-post__editlist { margin: 6px 0 10px 18px; font-size: 13px; line-height: 1.6; }
.xv5-post .xv5-compare__col--after .xv5-prose { color: #c8d2e2; }
.xv5-post .xv5-compare__col--after .xv5-prose strong { color: #fff; }
.xv5-post .xv5-compare .xv5-prose { font-size: 15px; line-height: 1.7; }
.xv5-post__body .xv5-textblock__title, .xv5-post__body > .xv5-cta .xv5-cta__title { max-width: none; }

.xv5-post__body > .xv5-textblock { margin-top: 46px; }
.xv5-post__body > .xv5-textblock:first-child { margin-top: 34px; }

/* ================================================================ Phase 6: forms (contact brick, career application) */
.xv5-form { --xv5-error: #b42318; --xv5-error-bg: #fef3f2; --xv5-success: #067647; --xv5-success-bg: #ecfdf3; }
.xv5-form[hidden] { display: none; }
.xv5-form__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
    .xv5-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
    .xv5-field--wide { grid-column: 1 / -1; }
}
.xv5-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.xv5-field__label { color: var(--xv5-ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.xv5-field__req { color: var(--xv5-orange-strong); }
.xv5-field__opt { color: var(--xv5-subtle); font-weight: 500; }
.xv5-field__hint { margin: -2px 0 2px; color: var(--xv5-subtle); font-size: 13px; line-height: 1.45; }
.xv5-field__input {
    width: 100%; min-height: 48px; padding: 11px 14px;
    border: 1px solid var(--xv5-outline); border-radius: 10px; background: #fff;
    color: var(--xv5-text); font: 400 16px/1.45 var(--xv5-font);
    transition: border-color var(--xv5-dur), box-shadow var(--xv5-dur);
}
textarea.xv5-field__input { min-height: 150px; resize: vertical; }
.xv5-field__input::placeholder { color: #7a8597; opacity: 1; }
.xv5-field__input:hover { border-color: #6f8296; }
.xv5-field__input:focus { outline: none; border-color: var(--xv5-orange-fill); box-shadow: 0 0 0 3px rgba(244, 81, 30, .25); }
.xv5-field--file .xv5-field__input { padding: 9px 10px; font-size: 15px; cursor: pointer; }
.xv5-field--file .xv5-field__input::file-selector-button {
    margin-right: 12px; padding: 7px 14px; border: 1px solid var(--xv5-outline); border-radius: 8px;
    background: var(--xv5-panel); color: #17243a; font: 700 14px/1.2 var(--xv5-font); cursor: pointer;
}
.xv5-field__error { display: none; align-items: flex-start; gap: 6px; margin: 0; color: var(--xv5-error); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.xv5-field__error .xv5-icon { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.xv5-field.is-invalid .xv5-field__error { display: flex; }
.xv5-field.is-invalid .xv5-field__input { border-color: var(--xv5-error); box-shadow: inset 0 0 0 1px var(--xv5-error); }
.xv5-field.is-invalid .xv5-field__input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .22); }

.xv5-check { display: flex; align-items: flex-start; gap: 12px; }
.xv5-check__input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--xv5-orange-fill); cursor: pointer; }
.xv5-check__label { color: var(--xv5-text); font-size: 15px; line-height: 1.5; cursor: pointer; }
.xv5-check__label a { color: var(--xv5-orange-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.xv5-field--check.is-invalid .xv5-check__input { outline: 2px solid var(--xv5-error); outline-offset: 2px; }

/* spam trap: off-screen for people and assistive technology (aria-hidden), bots fill it in */
.xv5-form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.xv5-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.xv5-form__req { color: var(--xv5-subtle); font-size: 13px; }
.xv5-form__submit[disabled] { opacity: .7; cursor: progress; }
.xv5-form[aria-busy="true"] .xv5-form__submit .xv5-icon { animation: xv5-nudge 1s var(--xv5-ease) infinite; }
@keyframes xv5-nudge { 50% { transform: translateX(4px); } }
.xv5-form__status:empty { display: none; }
.xv5-form__status { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.xv5-form__status:focus { outline: none; }
.xv5-form__status:focus-visible { box-shadow: var(--xv5-focus); }
.xv5-form__status .xv5-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.xv5-form__status.is-success { border: 1px solid #abefc6; background: var(--xv5-success-bg); color: var(--xv5-success); }
.xv5-form__status.is-error { border: 1px solid #fecdca; background: var(--xv5-error-bg); color: var(--xv5-error); }
.xv5-form__noscript { margin: 8px 0 0; padding: 16px 18px; border: 1px solid var(--xv5-card-line); border-left: 4px solid var(--xv5-orange); border-radius: 12px; background: #fff; color: var(--xv5-text); font-size: 15px; }
.xv5-form__noscript[hidden] { display: none; }
.xv5-form__noscript a { color: var(--xv5-orange-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.xv5-section--panel .xv5-form--card, .xv5-form--card { padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--xv5-card-line); border-radius: var(--xv5-radius-lg); background: #fff; box-shadow: var(--xv5-shadow-card); }

/* ---------------------------------------------------------------- Brick: xv5-contact-form */
.xv5-contact__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.xv5-contact__title { margin: 0 0 14px; max-width: 760px; }
.xv5-contact__intro { max-width: 640px; margin-bottom: 30px; color: var(--xv5-muted); font-size: 17px; line-height: 1.65; }
.xv5-contact__side { align-self: start; padding: var(--xv5-card-pad); border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-lg); background: var(--xv5-panel); }
.xv5-section--panel .xv5-contact__side { background: #fff; border-color: var(--xv5-card-line); }
.xv5-contact__side-title { margin: 0 0 18px; font-size: 20px; }
.xv5-contact__list { display: grid; gap: 18px; margin: 0; }
.xv5-contact__item dt { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--xv5-orange-strong); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xv5-contact__item dt .xv5-icon { width: 16px; height: 16px; }
.xv5-contact__item dd { margin: 0; color: var(--xv5-text); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.xv5-contact__item dd a { color: var(--xv5-ink); font-weight: 650; text-decoration: underline; text-decoration-color: #f2c8b8; text-underline-offset: 4px; }
.xv5-contact__item dd a:hover { color: var(--xv5-orange-strong); text-decoration-color: currentColor; }
.xv5-contact__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--xv5-line-2); color: var(--xv5-subtle); font-size: 14px; line-height: 1.55; }
@media (min-width: 1100px) {
    .xv5-contact__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 72px; }
    .xv5-contact__side { position: sticky; top: calc(var(--xv5-header-h) + 24px); margin-top: 58px; }
    .xv5-contact--no-heading .xv5-contact__side { margin-top: 0; }
}

/* ================================================================ Phase 6: careers */
.xv5-careers__list { display: grid; gap: var(--xv5-gap); margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 850px) { .xv5-careers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xv5-job__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--xv5-nav); font-size: 13px; font-weight: 650; }
.xv5-job__meta li { display: inline-flex; align-items: center; gap: 6px; }
.xv5-job__meta .xv5-icon { width: 15px; height: 15px; color: var(--xv5-orange-strong); }
.xv5-job__title { margin: 0 0 6px; font-size: clamp(21px, 1.9vw, 26px); }
.xv5-job__title a:focus-visible { outline: none; }
.xv5-job:focus-within { box-shadow: var(--xv5-focus), var(--xv5-shadow-card); }
.xv5-job__company { margin-bottom: 12px; color: var(--xv5-muted-2); font-size: 14px; font-weight: 600; }
.xv5-job__tech { margin-top: 16px; }
.xv5-job__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.xv5-job__footer::before { flex: 0 0 100%; margin-bottom: 7px; }
.xv5-job__date { color: var(--xv5-subtle); font-size: 13px; }
.xv5-careers__empty { margin-top: 4px; }
.xv5-job-hero .xv5-hero__chips { margin-top: 30px; }
.xv5-job-hero .xv5-hero__chip { display: inline-flex; align-items: center; gap: 7px; }
.xv5-job-hero .xv5-hero__chip .xv5-icon, .xv5-hero__chip .xv5-icon { width: 15px; height: 15px; color: var(--xv5-orange-strong); }
.xv5-job-hero__title { max-width: 900px; font-size: clamp(38px, 4.8vw, 66px); }
.xv5-job__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.xv5-job__h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 38px); }
.xv5-job__prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.xv5-job__prose h3 { margin-top: 1.6em; color: var(--xv5-ink); font-size: 21px; }
.xv5-job__prose > :first-child { margin-top: 0; }
.xv5-job__prose strong { color: var(--xv5-text); }
.xv5-job__facts { align-self: start; padding: var(--xv5-card-pad); border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-lg); background: var(--xv5-panel); }
.xv5-job__facts-title { margin: 0 0 16px; font-size: 18px; letter-spacing: -.015em; }
.xv5-facts { display: grid; gap: 14px; margin: 0 0 22px; }
.xv5-facts dt { color: var(--xv5-subtle); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.xv5-facts dd { margin: 2px 0 0; color: var(--xv5-ink); font-size: 16px; font-weight: 650; }
.xv5-facts dd .xv5-chips { margin-top: 6px; }
@media (min-width: 1100px) {
    .xv5-job__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; }
    .xv5-job__facts { position: sticky; top: calc(var(--xv5-header-h) + 24px); }
}
.xv5-apply:focus { outline: none; }
.xv5-apply__inner > * { max-width: 860px; }
.xv5-apply__title { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 42px); }
.xv5-apply__intro { max-width: 640px; margin-bottom: 28px; color: var(--xv5-muted); font-size: 17px; }

/* ================================================================ Phase 6: privacy / legal */
.xv5-legal-hero .xv5-hero__title { font-size: clamp(38px, 4.6vw, 64px); }
.xv5-legal { padding-top: 8px; }
.xv5-legal__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.xv5-legal__toc { padding: 18px 20px; border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-md); background: var(--xv5-panel); }
.xv5-legal__toc-title { margin: 0 0 10px; color: var(--xv5-subtle); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xv5-legal__toc-list { display: grid; gap: 4px; counter-reset: xv5-toc; }
.xv5-legal__toc-list a { display: flex; align-items: baseline; gap: 10px; min-height: 40px; padding: 8px 4px; color: #17243a; font-size: 15px; font-weight: 650; }
.xv5-legal__toc-list a::before { counter-increment: xv5-toc; content: counter(xv5-toc, decimal-leading-zero); color: var(--xv5-orange-strong); font-size: 12px; font-weight: 800; }
.xv5-legal__toc-list a:hover { color: var(--xv5-orange-strong); }
.xv5-legal__body { max-width: 760px; min-width: 0; }
.xv5-legal__part { scroll-margin-top: calc(var(--xv5-header-h) + 16px); }
.xv5-legal__part + .xv5-legal__part { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--xv5-line); }
.xv5-legal__anchor { display: block; position: relative; top: calc(-1 * (var(--xv5-header-h) + 16px)); visibility: hidden; }
.xv5-legal__title { margin: 0 0 20px; font-size: clamp(28px, 3vw, 38px); }
.xv5-legal__action { margin: 0 0 22px; }
.xv5-legal__prose { max-width: none; font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; }
.xv5-legal__prose h2, .xv5-legal__prose h3, .xv5-legal__prose h4 { margin-top: 1.6em; color: var(--xv5-ink); font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }
.xv5-legal__prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.xv5-legal__prose th, .xv5-legal__prose td { padding: 8px 10px; border: 1px solid var(--xv5-line); text-align: left; vertical-align: top; }
.xv5-legal__top { margin-top: 28px; }
.xv5-legal__empty { color: var(--xv5-muted); font-size: 17px; }
@media (min-width: 1100px) {
    .xv5-legal__grid { grid-template-columns: 260px minmax(0, 760px); gap: 72px; }
    .xv5-legal__toc { position: sticky; top: calc(var(--xv5-header-h) + 24px); align-self: start; }
}

/* ================================================================ Phase 6: 404 */
.xv5-notfound .xv5-hero__title { max-width: 820px; }
.xv5-notfound__search { max-width: 640px; margin-top: 32px; }
.xv5-notfound__search-label { display: block; margin-bottom: 8px; color: var(--xv5-ink); font-size: 14px; font-weight: 700; }
.xv5-notfound__search-row { display: flex; flex-wrap: wrap; gap: 10px; }
.xv5-notfound__search-input { flex: 1 1 240px; }
.xv5-notfound__search-row .xv5-btn { flex: none; min-height: 48px; }
.xv5-notfound__search-row .xv5-icon { width: 17px; height: 17px; }
.xv5-notfound__links-title { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 30px); }
.xv5-notfound__grid { display: grid; gap: var(--xv5-gap); margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .xv5-notfound__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .xv5-notfound__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.xv5-notfound__tile { min-height: 150px; }
.xv5-notfound__tile-title { margin: 0 0 8px; font-size: 20px; }
.xv5-notfound__tile-title a:focus-visible { outline: none; }
.xv5-notfound__tile:focus-within { box-shadow: var(--xv5-focus), var(--xv5-shadow-card); }
.xv5-notfound__tile-arrow { margin-top: auto; padding-top: 14px; color: var(--xv5-orange-strong); }
.xv5-notfound__tile-arrow .xv5-icon { width: 18px; height: 18px; }

/* ================================================================ Phase 7: site search
 * Header opener (.xv5-header__search, desktop), drawer opener (.xv5-drawer__search), overlay dialog
 * (.xv5-search, partials/_search.html.twig), suggestions (.xv5-search-suggest) and the results page
 * (.xv5-search-page, .xv5-search-hit; search/results.html.twig).
 */
.xv5-header__search {
    display: none; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; border: 1px solid var(--xv5-line); border-radius: var(--xv5-radius-pill);
    background: #fff; color: var(--xv5-nav); transition: color .16s, border-color .16s;
}
.xv5-header__search .xv5-icon { width: 18px; height: 18px; }
.xv5-header__search:hover, .xv5-header__search[aria-expanded="true"] { color: var(--xv5-orange-strong); border-color: var(--xv5-pill-line); }
.xv5-header__search:focus-visible { border-radius: var(--xv5-radius-pill); }
@media (min-width: 850px) {
    .xv5-header__search { display: inline-flex; }
}
@media (min-width: 850px) and (max-width: 1099.98px) {
    /* the icon needs ~44px in the tightest range: slightly smaller icon and nav gaps (longest HR labels still fit at 850) */
    .xv5-header__search { width: 32px; height: 32px; }
    .xv5-header__search .xv5-icon { width: 16px; height: 16px; }
    .xv5-header__list { gap: 11px; }
}
@media (min-width: 850px) and (max-width: 959.98px) {
    .xv5-header__inner { gap: 9px; }
    .xv5-header__list { gap: 8px; }
}

.xv5-drawer__search {
    display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 6px; padding: 10px 14px;
    border: 1px solid var(--xv5-outline); border-radius: var(--xv5-radius-md); background: #fff;
    color: var(--xv5-muted); font-size: 16px;
}
.xv5-drawer__search .xv5-icon { flex: none; width: 19px; height: 19px; color: var(--xv5-orange-strong); }
.xv5-drawer__search:hover { border-color: #6f8296; color: var(--xv5-text); }

/* overlay */
.xv5-search { position: fixed; inset: 0; z-index: 1200; display: flex; justify-content: center; align-items: flex-start; }
.xv5-search[hidden] { display: none; }
.xv5-search__overlay { position: absolute; inset: 0; background: rgba(9, 19, 35, .5); opacity: 0; transition: opacity .2s; }
.xv5-search__panel {
    position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; height: 100dvh;
    background: #fff; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--xv5-ease);
}
.xv5-search.is-open .xv5-search__overlay { opacity: 1; }
.xv5-search.is-open .xv5-search__panel { opacity: 1; transform: none; }
@media (min-width: 850px) {
    .xv5-search { padding: 9vh 24px 24px; }
    .xv5-search__panel { width: min(760px, 100%); height: auto; max-height: min(720px, 82vh); border-radius: var(--xv5-radius-lg); box-shadow: var(--xv5-shadow-float); overflow: hidden; }
}
.xv5-search__form {
    display: flex; align-items: center; gap: 10px; flex: none;
    padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--xv5-line);
}
.xv5-search__form:focus-within { box-shadow: inset 0 -2px 0 var(--xv5-orange); }
.xv5-search__icon { flex: none; width: 22px; height: 22px; color: var(--xv5-orange-strong); }
.xv5-search__input {
    flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent;
    color: var(--xv5-ink); font: 500 18px/1.3 var(--xv5-font); letter-spacing: -.01em;
}
.xv5-search__input::placeholder { color: #7a8597; opacity: 1; font-weight: 400; }
.xv5-search__input:focus, .xv5-search__input:focus-visible { outline: none; }
.xv5-search__spinner {
    flex: none; width: 18px; height: 18px; border: 2px solid #f6d3c5; border-top-color: var(--xv5-orange-fill);
    border-radius: 50%; opacity: 0; transition: opacity .15s;
}
.xv5-search.is-loading .xv5-search__spinner { opacity: 1; animation: xv5-search-spin .7s linear infinite; }
@keyframes xv5-search-spin { to { transform: rotate(360deg); } }
.xv5-search__close {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
    border: 1px solid #dce3ec; border-radius: var(--xv5-radius-md); background: #fff; color: #152037; cursor: pointer;
}
.xv5-search__close:hover { border-color: var(--xv5-pill-line); color: var(--xv5-orange-strong); }
.xv5-search__close .xv5-icon { width: 20px; height: 20px; }
.xv5-search__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 10px 14px; }
.xv5-search__status { margin: 6px 10px 8px; color: var(--xv5-subtle); font-size: 13px; line-height: 1.5; }
.xv5-search__list:empty { display: none; }
.xv5-search.is-loading .xv5-search__list { opacity: .6; }
.xv5-search__group + .xv5-search__group { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--xv5-line); }
.xv5-search__group-label { padding: 6px 12px 4px; color: var(--xv5-orange-strong); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xv5-search__option {
    display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--xv5-radius-md);
    color: var(--xv5-text); scroll-margin: 8px;
}
.xv5-search__option:hover { background: #f5f7fb; }
.xv5-search__option.is-active { background: #f0f4f9; box-shadow: inset 3px 0 0 var(--xv5-orange-fill); }
.xv5-search__opt-meta { color: var(--xv5-subtle); font-size: 12px; font-weight: 600; }
.xv5-search__opt-title { color: var(--xv5-ink); font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.xv5-search__opt-snippet {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: var(--xv5-muted); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere;
}
.xv5-search__empty { padding: 0 10px 4px; }
.xv5-search__empty[hidden] { display: none; }
.xv5-search__empty-text { margin: 0; color: var(--xv5-muted); font-size: 15px; }
.xv5-search__footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; flex: none;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--xv5-line); background: var(--xv5-panel); font-size: 13px;
}
.xv5-search__keys { margin: 0; color: var(--xv5-subtle); }
.xv5-search__all { margin-left: auto; font-size: 14px; }
.xv5-search__all[hidden] { display: none; }
@media (max-width: 849.98px) {
    .xv5-search__keys { display: none; }
}
.xv5-search mark, .xv5-search-hit mark { padding: 0 .08em; border-radius: 3px; background: #ffe2d4; color: inherit; }

/* suggestions (overlay and results page) */
.xv5-search-suggest { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .xv5-search-suggest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xv5-search-suggest__link {
    position: relative; display: grid; gap: 2px; height: 100%; padding: 13px 42px 13px 16px;
    border: 1px solid var(--xv5-card-line); border-radius: var(--xv5-radius-md); background: #fff; color: var(--xv5-text);
    transition: border-color .16s;
}
.xv5-search-suggest__link:hover { border-color: var(--xv5-orange); }
.xv5-search-suggest__title { color: var(--xv5-ink); font-size: 15px; font-weight: 700; }
.xv5-search-suggest__text { color: var(--xv5-muted); font-size: 13px; line-height: 1.45; }
.xv5-search-suggest__arrow { position: absolute; top: 50%; right: 14px; width: 17px; height: 17px; margin-top: -8.5px; color: var(--xv5-orange-strong); }

/* results page */
.xv5-search-page__hero { padding-block: clamp(44px, 6vw, 80px) 36px; }
.xv5-search-page__title { max-width: 820px; margin: 14px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.05em; }
.xv5-search-page__intro { max-width: 640px; margin: 0; color: var(--xv5-muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }
.xv5-search-page__form { max-width: 720px; margin-top: 28px; }
.xv5-search-page__row { display: flex; flex-wrap: wrap; gap: 10px; }
.xv5-search-page__input { flex: 1 1 240px; font-size: 17px; }
.xv5-search-page__row .xv5-btn { flex: none; min-height: 48px; }
.xv5-search-page__row .xv5-icon { width: 17px; height: 17px; }
.xv5-search-page__status { margin: 16px 0 0; color: var(--xv5-nav); font-size: 15px; font-weight: 600; }
.xv5-search-page__status--error { color: var(--xv5-error, #b42318); }
.xv5-search-page__results { padding-block: 40px var(--xv5-section-y); }
.xv5-search-page__group { max-width: 880px; }
.xv5-search-page__group + .xv5-search-page__group { margin-top: 40px; }
.xv5-search-page__group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; }
.xv5-search-page__group-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px;
    border-radius: var(--xv5-radius-pill); background: var(--xv5-panel-2); color: var(--xv5-nav); font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.xv5-search-page__list { margin: 0; padding: 0; list-style: none; }
.xv5-search-hit { position: relative; padding: 18px 0; border-bottom: 1px solid var(--xv5-line); }
.xv5-search-hit__meta { margin: 0 0 4px; color: var(--xv5-subtle); font-size: 12.5px; font-weight: 600; }
.xv5-search-hit__title { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xv5-search-hit__title a { color: var(--xv5-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .16s, text-decoration-color .16s; }
.xv5-search-hit__title a:hover { color: var(--xv5-orange-strong); text-decoration-color: currentColor; }
.xv5-search-hit__snippet { margin: 6px 0 0; max-width: 760px; color: var(--xv5-muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.xv5-search-hit__url { margin: 6px 0 0; color: #5c6b80; font-size: 12.5px; overflow-wrap: anywhere; }
.xv5-search-page__limited { margin: 28px 0 0; color: var(--xv5-subtle); font-size: 14px; }
.xv5-search-page__empty { max-width: 880px; padding: clamp(24px, 4vw, 44px); border: 1px dashed var(--xv5-card-line); border-radius: var(--xv5-radius-lg); background: #fff; }
.xv5-search-page__empty-title { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; overflow-wrap: anywhere; }
.xv5-search-page__empty-text { margin: 0; color: var(--xv5-muted); }
@media (prefers-reduced-motion: reduce) {
    .xv5-search__overlay, .xv5-search__panel { transition: none; }
    .xv5-search.is-loading .xv5-search__spinner { animation-duration: 1.6s; }
}
.xv5-search__input::-webkit-search-cancel-button, .xv5-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
@media (max-width: 849.98px) {
    .xv5-search__footer:not(:has(.xv5-search__all:not([hidden]))) { display: none; }
}

/* ==========================================================================
   Phase 8: tap targets (Lighthouse SEO / mobile). Footer links get a 48px
   touch height below the desktop breakpoint, so neighbours do not overlap.
   ========================================================================== */
@media (max-width: 849.98px) {
    .xv5-footer__nav a, .xv5-footer__legal a, .xv5-footer__contact a { display: inline-flex; align-items: center; min-height: 48px; }
    .xv5-footer__contact { line-height: 1.5; }
}
/* The carousel track has 2px inline padding; without a matching scroll-padding the first slide's
   snap position is 2px, so Chrome snaps (scrolls) the track on load — that "scroll" ends Largest
   Contentful Paint reporting (home: no LCP in Lighthouse mobile). Snap position 0 = no load scroll. */
.xv5-carousel__track { scroll-padding-inline: 2px; }

/* ==========================================================================
   v5.1 PAGES (package 2) — About, Products & Extensions, product depth sections,
   platform logos. Keep everything of this package inside this block.
   ========================================================================== */
/* --- xv5-hero, variant statement (About) */
.xv5-hero--statement { padding-block: 58px 0; background: linear-gradient(120deg, #fff 55%, #f4f8fc); }
.xv5-hero--statement .xv5-hero__eyebrow { margin-bottom: 0; }
.xv5-hero__grid { display: grid; gap: 25px; margin: 22px 0 40px; }
.xv5-hero--statement .xv5-hero__title { margin: 0; max-width: 850px; font-size: clamp(42px, 6.2vw, 88px); line-height: 1.04; letter-spacing: -.06em; }
.xv5-hero__accent { color: var(--xv5-orange); }
.xv5-hero--statement .xv5-hero__lead { max-width: 620px; margin: 0 0 24px; color: #4f5d72; font-size: 17px; line-height: 1.75; }
.xv5-hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 26px 0 35px; border-top: 1px solid #dce5ee; list-style: none; }
.xv5-hero__fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xv5-hero__fact-value { color: var(--xv5-ink); font-size: clamp(23px, 2.4vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; }
.xv5-hero__fact-label { color: #5b6a80; font-size: 13px; line-height: 1.45; }
@media (min-width: 600px) {
    .xv5-hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .xv5-hero--statement .xv5-hero__lead { font-size: 19px; }
}
@media (min-width: 900px) {
    .xv5-hero--statement { padding-top: 96px; }
    .xv5-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 60px; align-items: end; margin: 24px 0 65px; }
}

/* --- xv5-text, layout split (+ highlight box, links, flow diagram) */
.xv5-textblock__grid { display: grid; gap: 16px; }
.xv5-textblock--split .xv5-textblock__title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); }
.xv5-textblock--split .xv5-textblock__body { font-size: 17px; line-height: 1.75; }
.xv5-textblock__box { margin: 22px 0 0; padding: 17px 20px; border: 1px solid #dce5ef; border-radius: 12px; background: #f6f9fc; }
.xv5-section--panel .xv5-textblock__box { background: #fff; }
.xv5-textblock__box strong { display: block; color: var(--xv5-ink); font-weight: 800; }
.xv5-textblock__box span { display: block; margin-top: 5px; color: var(--xv5-muted-2); font-size: 12.5px; }
.xv5-textblock__links { display: grid; gap: 12px; justify-items: start; margin: 20px 0 0; padding: 0; list-style: none; }
.xv5-textblock__links .xv5-link { font-size: 14px; min-height: 24px; }
@media (min-width: 850px) {
    .xv5-textblock__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
}
.xv5-archflow { display: flex; flex-direction: column; gap: 10px; margin: 36px 0 0; padding: 22px; border: 1px solid #dce5f0; border-radius: 19px; background: #f5f8fc; list-style: none; }
.xv5-section--panel .xv5-archflow { background: #fff; }
.xv5-archflow__item { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 10px; min-width: 0; }
.xv5-archflow__arrow { display: inline-flex; align-self: center; color: var(--xv5-orange); transform: rotate(90deg); }
.xv5-archflow__arrow .xv5-icon { width: 18px; height: 18px; stroke-width: 2.4; }
.xv5-archflow__box { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 17px 16px; border: 1px solid #dce5ef; border-radius: 11px; background: #fff; color: var(--xv5-ink); font-size: 14px; font-weight: 750; line-height: 1.4; text-align: center; }
.xv5-section--panel .xv5-archflow__box { background: #f8fafc; }
.xv5-archflow__item.is-focus .xv5-archflow__box { border-color: #ffc8b3; background: #fff0e9; }
.xv5-archflow__sub { display: block; color: #586479; font-size: 11.5px; font-weight: 500; }
@media (min-width: 760px) {
    .xv5-archflow { flex-direction: row; align-items: stretch; padding: 26px; }
    .xv5-archflow__item { flex-direction: row; align-items: stretch; }
    .xv5-archflow__arrow { transform: none; }
}

/* --- xv5-steps, layout list (About "How we work") */
.xv5-steps--list .xv5-heading { display: block; margin-bottom: 28px; }
.xv5-steps--list .xv5-heading__lead { max-width: 400px; margin-top: 22px; font-size: 17px; line-height: 1.7; }
.xv5-steps--list .xv5-steps__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.xv5-steps--list .xv5-steps__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 23px 0; border-top: 0; border-bottom: 1px solid #e1e6ed; }
.xv5-steps--list .xv5-steps__item:first-child { padding-top: 0; }
.xv5-steps--list .xv5-steps__num { grid-row: 1 / span 2; padding-top: 4px; font-size: 13px; }
.xv5-steps--list .xv5-steps__title { grid-column: 2; margin: 0 0 7px; font-size: 21px; }
.xv5-steps--list .xv5-steps__text { grid-column: 2; font-size: 15px; line-height: 1.65; }
@media (min-width: 900px) {
    .xv5-steps--list > .xv5-container { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 115px); align-items: start; }
    .xv5-steps--list .xv5-heading { margin-bottom: 0; }
}

/* --- xv5-logos (About "Platform experience") */
.xv5-logos__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.xv5-logos__item { display: flex; min-width: 0; }
.xv5-logos__card { display: flex; flex-direction: column; gap: 20px; width: 100%; padding: 25px 18px; border: 1px solid #dce5ee; border-radius: 14px; background: #fff; transition: border-color var(--xv5-dur), transform var(--xv5-dur) var(--xv5-ease); }
a.xv5-logos__card:hover { border-color: var(--xv5-orange); transform: translateY(-2px); }
a.xv5-logos__card:focus-visible { outline: none; box-shadow: var(--xv5-focus); }
.xv5-logos__brand { display: flex; align-items: center; min-height: 48px; }
.xv5-logos__brand picture { display: block; }
.xv5-logos__brand img { display: block; width: auto; max-width: 100%; height: 40px; object-fit: contain; object-position: left center; }
.xv5-logos__name { color: var(--xv5-ink); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.xv5-logos__label { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--xv5-orange-strong); font-size: 12.5px; font-weight: 650; }
.xv5-logos__label .xv5-icon { flex: none; width: 13px; height: 13px; stroke-width: 2.4; }
.xv5-logos__item.is-edit { flex-direction: column; gap: 8px; padding: 12px; border: 1px dashed #b9c6d6; border-radius: 12px; background: #fff; }
@media (min-width: 600px) {
    .xv5-logos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xv5-logos__brand { min-height: 56px; }
    .xv5-logos__brand img { height: 48px; }
}
@media (min-width: 1000px) {
    .xv5-logos__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* --- logo chip (product cards, catalog) */
.xv5-logo-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 67px; height: 36px; padding: 5px 10px; border: 1px solid #e1e7ef; border-radius: 7px; background: #fff; }
.xv5-logo-chip picture { display: block; }
.xv5-logo-chip img { display: block; width: auto; max-width: 110px; height: auto; max-height: 25px; object-fit: contain; }
.xv5-logo-chip strong { color: #27354c; font-size: 11px; white-space: nowrap; }
.xv5-logo-chip.is-edit { flex-direction: column; align-items: flex-start; height: auto; gap: 6px; }

/* --- xv5-cards: logo in the card heading, whole-card links, product variant */
.xv5-card__title--logo { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.xv5-card__logo { display: flex; align-items: center; min-height: 54px; }
.xv5-card__logo picture { display: block; }
.xv5-card__logo img { display: block; width: auto; max-width: min(100%, 210px); height: 43px; object-fit: contain; object-position: left center; }
.xv5-card--challenge .xv5-card__logo { min-height: 0; }
.xv5-card--challenge .xv5-card__logo img { height: 30px; }
.xv5-card__logo.is-edit { flex-direction: column; align-items: flex-start; margin-top: 14px; }
@media (min-width: 650px) {
    .xv5-card__logo img { height: 52px; }
    .xv5-card--challenge .xv5-card__logo img { height: 34px; }
}
.xv5-cards .xv5-card--link .xv5-card__text a { position: relative; z-index: 1; }
.xv5-cards--product .xv5-cards__grid { gap: 20px; }
.xv5-cards .xv5-card--product { padding: 0; border-color: #dbe4ef; border-radius: 20px; overflow: hidden; }
.xv5-card__main { flex: 1; padding: 25px; }
.xv5-cards--product .xv5-card__title { margin: 15px 0 3px; font-size: clamp(34px, 3.3vw, 47px); font-weight: 850; line-height: 1.12; letter-spacing: -.055em; }
.xv5-card--product .xv5-card__sub { margin: 0 0 17px; color: #24334c; font-size: 16px; font-weight: 750; }
.xv5-cards .xv5-card--product .xv5-card__text { max-width: 480px; font-size: 16px; line-height: 1.65; }
.xv5-card--product .xv5-card__chips { margin-top: 22px; }
.xv5-card--product .xv5-card__chips .xv5-chip { padding: 6px 11px; border-color: #dbe4ee; background: #f8fafc; color: #43536d; font-weight: 650; }
.xv5-card__bar { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 20px 25px; border-top: 1px solid #e3eaf1; background: #fbfcfe; }
.xv5-card__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 42px; }
.xv5-card__logos-label { margin: 0 5px 0 0; color: #5d6a80; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.xv5-card__logos-list { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) {
    .xv5-card__main { padding: 32px 34px 28px; }
    .xv5-card__bar { min-height: 122px; padding: 22px 34px; }
}

/* --- xv5-catalog (Products & Extensions) */
.xv5-catalog__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 13px; }
.xv5-catalog__filters[hidden] { display: none; }
.xv5-catalog__filter { min-height: 44px; padding: 10px 17px; border: 1px solid #d5dfeb; border-radius: var(--xv5-radius-pill); background: #fff; color: #324158; font: inherit; font-size: 13px; font-weight: 750; line-height: 1.2; cursor: pointer; transition: background-color var(--xv5-dur), border-color var(--xv5-dur), color var(--xv5-dur); }
.xv5-catalog__filter:hover { border-color: #152037; }
.xv5-catalog__filter[aria-pressed="true"] { border-color: #152037; background: #152037; color: #fff; }
.xv5-catalog__filter:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--xv5-panel), 0 0 0 5px var(--xv5-orange); }
.xv5-catalog__count { margin: 0 0 22px; color: #5d6b82; font-size: 13px; }
.xv5-catalog__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; margin: 0; padding: 0; list-style: none; }
.xv5-catalog__item { display: flex; min-width: 0; }
.xv5-catalog__item[hidden] { display: none; }
.xv5-catalog__card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 24px; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; transition: border-color var(--xv5-dur), transform var(--xv5-dur) var(--xv5-ease), box-shadow var(--xv5-dur); }
.xv5-catalog__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 19px; }
.xv5-catalog__type { margin: 0; color: var(--xv5-orange-strong); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.xv5-catalog__title { margin: 0 0 11px; font-size: 23px; line-height: 1.22; letter-spacing: -.035em; }
.xv5-catalog__text { flex: 1; margin: 0 0 22px; color: #58677c; font-size: 14px; line-height: 1.65; }
.xv5-catalog__more { margin-top: auto; padding-top: 15px; border-top: 1px solid #e4eaf1; }
.xv5-catalog__more .xv5-link { font-size: 14px; }
.xv5-catalog .xv5-note { max-width: none; }
.xv5-catalog__strip { margin-top: 34px; padding: 23px; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; }
.xv5-catalog__strip .xv5-eyebrow { margin: 0; }
.xv5-catalog__strip-title { margin: 8px 0; font-size: 20px; }
.xv5-catalog__strip-text { color: var(--xv5-muted-2); font-size: 14px; line-height: 1.6; }
.xv5-catalog__strip > .xv5-link { margin-top: 16px; font-size: 14px; }
@media (min-width: 680px) {
    .xv5-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xv5-catalog__card { min-height: 265px; padding: 26px; }
    .xv5-catalog__strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 27px 32px; }
    .xv5-catalog__strip > .xv5-link { flex: none; margin-top: 0; }
}
@media (min-width: 950px) {
    .xv5-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    a.xv5-logos__card:hover { transform: none; }
}

/* --- xv5-cta, layout split + note (About closing band) */
.xv5-cta__note { margin-top: 20px; color: var(--xv5-subtle); font-size: 13px; line-height: 1.5; }
.xv5-cta--dark .xv5-cta__note { color: #b8c1cf; }
.xv5-cta--split .xv5-cta__panel { display: grid; gap: 18px; }
.xv5-cta--split .xv5-cta__title { margin-bottom: 0; }
.xv5-cta--split .xv5-cta__actions { margin-top: 22px; }
@media (min-width: 900px) {
    .xv5-cta--split .xv5-cta__panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 70px; align-items: start; }
    .xv5-cta--split .xv5-cta__body { padding-top: 30px; }
}
/* ========================================================================== end v5.1 PAGES (package 2) */

/* >>> v5.1 SHELL (package 1): logo, header search pill, mobile drawer, contact dialog + form fields, search overlay / results page */
/* Sources: design-v5.1/css/xiphias-horizontal-logo-only.css, xs-upgraded-styles.css, xs-search-tabs-refinement.css,
   xs-mobile-dialog-definitive-fix.css, mobile-header-navigation-final-fix.css, x-contact-style.css.
   This block comes after the Phase 1–8 rules on purpose: it overrides header / drawer / search rules above. */

/* ---- logo: swordfish mark (lines thickened for small sizes, `logos/xiphias-mark.png`) + wordmark as text.
   The delivered lock-up (`logos/xiphias-digital.png`) has hairline strokes that vanish at header size and a
   wordmark in a different typeface; it stays in use for JSON-LD only. Sizes follow the space left next to
   the longest (HR) nav labels plus the EN/HR switcher. */
.xv5-header__logo, .xv5-footer__logo { display: inline-flex; align-items: center; gap: var(--xv5-brand-gap, 4px); color: var(--xv5-ink); text-decoration: none; }
.xv5-header__logo img, .xv5-footer__logo img { flex: none; width: auto; height: var(--xv5-brand-mark, 44px); }
.xv5-header__logo img.xv5-brand__logo, .xv5-footer__logo img.xv5-brand__logo { height: calc(var(--xv5-brand-mark, 44px) * 1.2); max-width: min(268px, 56vw); object-fit: contain; object-position: left center; }
.xv5-logo-field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 16px auto; padding: 14px 18px; max-width: 1200px; border: 2px dashed #9fb3c8; border-radius: 10px; background: #f5f8fb; }
.xv5-logo-field__label { font-weight: 800; font-size: 18px; color: var(--xv5-ink); }
.xv5-logo-field__hint { font-size: 14px; color: #4a5b6c; }
.xv5-brand__name { font-size: var(--xv5-brand-text, 20px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.xv5-brand__name span { color: var(--xv5-orange); }
.xv5-footer__logo { --xv5-brand-mark: 58px; --xv5-brand-text: 26px; --xv5-brand-gap: 6px; }
@media (max-width: 420px) { .xv5-header__logo { --xv5-brand-mark: 40px; --xv5-brand-text: 18px; --xv5-brand-gap: 4px; } }
@media (max-width: 849.98px) { :root { --xv5-header-h: 72px; } }
@media (min-width: 850px) and (max-width: 959.98px) {
    .xv5-header__logo { --xv5-brand-mark: 40px; --xv5-brand-text: 14px; --xv5-brand-gap: 3px; }
    .xv5-header__logo .xv5-brand__name { white-space: normal; width: min-content; }
    .xv5-header__link { font-size: 13px; }
    .xv5-header__cta { padding-inline: 11px; }
}
@media (min-width: 960px) and (max-width: 1099.98px) { .xv5-header__logo { --xv5-brand-mark: 36px; --xv5-brand-text: 14.5px; --xv5-brand-gap: 3px; } }
@media (min-width: 1100px) and (max-width: 1279.98px) { .xv5-header__logo { --xv5-brand-mark: 44px; --xv5-brand-text: 18.5px; } }
@media (min-width: 1280px) { .xv5-header__logo { --xv5-brand-mark: 46px; --xv5-brand-text: 19px; --xv5-brand-gap: 5px; } }
@media (min-width: 1440px) { .xv5-header__logo { --xv5-brand-mark: 48px; --xv5-brand-text: 20px; --xv5-brand-gap: 5px; } }

/* ---- header: search pill (icon + "Search") left of the language switcher / "Let's talk" */
.xv5-header__search {
    gap: 8px; width: auto; height: auto; min-height: 38px; padding: 8px 14px;
    border-color: #dce4ee; background: #f5f8fc; color: #19263c;
    font-size: 13px; font-weight: 750; line-height: 1.2; white-space: nowrap;
}
.xv5-header__search .xv5-icon { flex: none; width: 17px; height: 17px; }
.xv5-header__search:hover, .xv5-header__search[aria-expanded="true"] { border-color: var(--xv5-orange); color: #19263c; }
@media (min-width: 850px) and (max-width: 1279.98px) {
    /* tight range (longest HR labels): icon only */
    .xv5-header__search { width: 36px; height: 36px; min-height: 0; padding: 0; }
    .xv5-header__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---- mobile drawer: search pill on top, roomier accordion, full-width CTA */
.xv5-drawer__panel { width: min(400px, 90vw); padding-inline: 24px; padding-bottom: max(38px, env(safe-area-inset-bottom)); }
.xv5-drawer__top { margin-bottom: 14px; }
.xv5-drawer__search {
    justify-content: center; gap: 8px; min-height: 48px; margin: 0 0 18px; padding: 10px 16px;
    border-color: #dce4ee; border-radius: var(--xv5-radius-pill); background: #f5f8fc;
    color: #19263c; font-size: 15px; font-weight: 750;
}
.xv5-drawer__search .xv5-icon { width: 17px; height: 17px; color: inherit; }
.xv5-drawer__search:hover { border-color: var(--xv5-orange); color: #19263c; }
.xv5-drawer__trigger { min-height: 62px; padding: 16px 0; font-size: 18px; line-height: 1.35; }
.xv5-drawer__direct { min-height: 62px; padding: 17px 0; font-size: 18px; }
.xv5-drawer__sub { padding: 0 0 14px 10px; }
.xv5-drawer__sub a { font-size: 14px; }
.xv5-drawer__cta { margin-top: 24px; }
@media (max-width: 380px) { .xv5-drawer__panel { padding-inline: 18px; } }

/* ---- contact form: fields shared by the contact page and the dialog (forms/_contact-form.html.twig) */
.xv5-topics { margin: 0; padding: 0; border: 0; }
.xv5-topics > legend { padding: 0; margin-bottom: 9px; }
.xv5-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.xv5-topics__item { position: relative; display: inline-flex; }
.xv5-topics__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.xv5-topics__chip {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px;
    border: 1px solid #b9c6d6; border-radius: 9px; background: #fff;
    color: #40536a; font-size: 13px; font-weight: 650; line-height: 1.3;
    transition: background-color var(--xv5-dur), border-color var(--xv5-dur), color var(--xv5-dur);
}
.xv5-topics__input:hover + .xv5-topics__chip { border-color: #6f8296; color: var(--xv5-text); }
/* selected: tint + orange text AND a thicker border (not colour alone) */
.xv5-topics__input:checked + .xv5-topics__chip { border-color: var(--xv5-orange-fill); box-shadow: inset 0 0 0 1px var(--xv5-orange-fill); background: #fff0e9; color: #b8360e; font-weight: 750; }
.xv5-topics__input:focus-visible + .xv5-topics__chip { box-shadow: var(--xv5-focus); }
.xv5-form--compact .xv5-form__grid { gap: 17px; }
.xv5-form--compact .xv5-field__label { font-size: 13px; }
.xv5-form--compact textarea.xv5-field__input { min-height: 120px; }
.xv5-form--compact .xv5-check__label { font-size: 13px; }
.xv5-form--compact .xv5-check__input { width: 18px; height: 18px; }
.xv5-form--compact .xv5-form__footer { margin-top: 22px; }
.xv5-form--compact .xv5-form__status { margin-top: 16px; }

/* ---- contact dialog (partials/_contact-dialog.html.twig; JS module `contact`) */
.xv5-cdialog { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.xv5-cdialog[hidden] { display: none; }
.xv5-cdialog__overlay { position: fixed; inset: 0; background: rgba(10, 19, 35, .68); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .2s; }
.xv5-cdialog__panel {
    position: relative; display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    width: min(100%, 1020px); max-height: min(92dvh, 980px); margin: auto; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 24px; background: #fff; box-shadow: 0 35px 110px rgba(0, 0, 0, .27);
    opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s var(--xv5-ease);
}
.xv5-cdialog__panel:focus { outline: none; }
.xv5-cdialog.is-open .xv5-cdialog__overlay { opacity: 1; }
.xv5-cdialog.is-open .xv5-cdialog__panel { opacity: 1; transform: none; }
.xv5-cdialog__close {
    position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 1px solid #dce4ed; border-radius: 50%; background: #fff; color: #263349; cursor: pointer;
}
.xv5-cdialog__close:hover { border-color: var(--xv5-orange); color: var(--xv5-orange-strong); }
.xv5-cdialog__close .xv5-icon { width: 18px; height: 18px; stroke-width: 2.4; }
.xv5-cdialog__aside { display: flex; flex-direction: column; gap: 22px; padding: 52px 38px; background: #111c30; color: #fff; }
.xv5-cdialog__kicker { margin: 0; color: #ff7651; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.xv5-cdialog__title { margin: 0; color: #fff; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.12; letter-spacing: -.035em; }
.xv5-cdialog__intro { margin: 0; color: #c4cddd; font-size: 16px; line-height: 1.7; }
.xv5-cdialog__steps { display: grid; gap: 14px; margin: auto 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .19); }
.xv5-cdialog__steps li { display: flex; align-items: flex-start; gap: 12px; color: #d5dce8; font-size: 13px; line-height: 1.55; }
.xv5-cdialog__steps b { flex: none; color: #ff7651; font-weight: 800; }
.xv5-cdialog__main { min-width: 0; padding: 47px 45px 40px; }
.xv5-cdialog__heading { margin: 0 0 6px; padding-right: 44px; font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.xv5-cdialog__sub { margin: 0 0 24px; color: #5b6b83; font-size: 14px; line-height: 1.5; }
.xv5-cdialog__regarding { margin: -12px 0 22px; padding: 9px 12px; border-radius: 9px; background: var(--xv5-panel); color: var(--xv5-nav); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.xv5-cdialog__regarding[hidden] { display: none; }
.xv5-cdialog__regarding strong { color: var(--xv5-ink); }
.xv5-cdialog__success[hidden], .xv5-cdialog [data-xv5-contact-formwrap][hidden] { display: none; }
.xv5-cdialog__success { padding-top: 8px; }
.xv5-cdialog__success:focus { outline: none; }
.xv5-cdialog__success-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: #ecfdf3; color: #067647; }
.xv5-cdialog__success-icon .xv5-icon { width: 26px; height: 26px; stroke-width: 2.4; }
.xv5-cdialog__success .xv5-cdialog__heading { font-size: 29px; }
.xv5-cdialog__success p { margin: 10px 0 24px; max-width: 460px; color: var(--xv5-muted); line-height: 1.7; }
@media (max-width: 760px) {
    .xv5-cdialog { display: block; padding: 0; }
    .xv5-cdialog__overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .xv5-cdialog__panel { display: block; width: 100%; min-height: 100dvh; max-height: none; margin: 0; border-radius: 0; overflow: visible; }
    /* stays reachable while the form scrolls */
    .xv5-cdialog__close { position: fixed; top: 12px; right: 12px; box-shadow: 0 2px 10px rgba(10, 19, 35, .18); }
    .xv5-cdialog__aside { gap: 12px; padding: 28px 24px 24px; }
    .xv5-cdialog__title { font-size: 29px; padding-right: 44px; }
    .xv5-cdialog__intro { max-width: 480px; padding-right: 30px; font-size: 14px; }
    .xv5-cdialog__steps { display: none; }
    .xv5-cdialog__main { padding: 26px 22px 35px; }
    .xv5-cdialog__heading { padding-right: 0; }
}
@media (max-width: 599.98px) {
    .xv5-cdialog .xv5-form__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .xv5-cdialog__overlay { -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
    .xv5-cdialog__panel { transition: none; transform: none; }
}

/* ---- search overlay: wider panel, head with "Close", explore state, grouped results + side column */
.xv5-search { padding: 12px; }
.xv5-search__overlay { background: rgba(8, 18, 36, .28); }
.xv5-search__panel { height: auto; max-height: calc(100dvh - 24px); border: 1px solid #dce5ef; border-radius: 18px; box-shadow: 0 25px 80px rgba(16, 32, 59, .22); overflow: hidden; }
@media (max-width: 849.98px) {
    .xv5-search__panel { height: calc(100dvh - 24px); }
}
@media (max-width: 380px) {
    .xv5-search { padding: 6px; }
    .xv5-search__panel { height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); }
}
@media (min-width: 850px) {
    .xv5-search { padding: 82px 16px 16px; }
    .xv5-search__panel { width: min(920px, 100%); max-height: min(84vh, 840px); border-radius: 18px; }
}
.xv5-search__form { gap: 10px; min-height: 76px; padding: 14px 16px; border-bottom-color: #e6eaf1; }
.xv5-search__form:focus-within { box-shadow: none; }
.xv5-search__icon { width: 22px; height: 22px; color: #111c31; }
.xv5-search__input { height: 44px; color: #111c31; font-size: 16px; font-weight: 400; }
@media (min-width: 850px) {
    .xv5-search__form { padding: 20px 24px; }
    .xv5-search__input { font-size: 19px; }
}
.xv5-search__clear {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 9px; background: none; color: #33528c; cursor: pointer;
}
.xv5-search__clear[hidden] { display: none; }
.xv5-search__clear:hover { background: #f4f6fa; color: var(--xv5-orange-strong); }
.xv5-search__clear .xv5-icon { width: 18px; height: 18px; stroke-width: 2.6; }
.xv5-search__close { width: auto; height: auto; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 9px; background: #f4f6fa; color: #47556b; font-size: 13px; font-weight: 700; }
.xv5-search__close:hover { background: #e9edf3; color: #17243a; }
.xv5-search__body { padding: 18px; }
@media (min-width: 850px) { .xv5-search__body { padding: 16px 24px 22px; } }
/* the count is announced (live region) but not shown; errors are shown */
.xv5-search__status:not(.is-error) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.xv5-search__status.is-error { margin: 4px 0 12px; padding: 12px 14px; border: 1px solid #fecdca; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: 14px; font-weight: 600; }
.xv5-search__heading, .xv5-search__group-label {
    margin: 10px 0 12px; padding: 0; color: var(--xv5-orange-strong);
    font-size: 11px; font-weight: 850; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase;
}
.xv5-search__explore[hidden], .xv5-search__layout[hidden], .xv5-search__side[hidden] { display: none; }
.xv5-search__explore-text { margin: 0; color: #61718a; font-size: 14px; }
.xv5-search__topics { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0 26px; padding: 0; list-style: none; }
.xv5-search__topic {
    display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 9px 15px;
    border: 1px solid #dce4ee; border-radius: 30px; background: #f7f9fc; color: #1a2a43;
    font: 700 13px/1.2 var(--xv5-font); cursor: pointer; transition: border-color .16s;
}
.xv5-search__topic:hover { border-color: var(--xv5-orange); }
.xv5-search__topic .xv5-icon { width: 12px; height: 12px; stroke-width: 2.4; }
.xv5-search__expertise { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 850px) { .xv5-search__expertise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xv5-search__expertise a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; min-height: 46px; padding: 12px;
    border: 1px solid #e4e9f0; border-radius: 9px; color: #18263c; font-size: 13px; font-weight: 700; line-height: 1.35; transition: border-color .16s;
}
.xv5-search__expertise a:hover { border-color: var(--xv5-orange); }
.xv5-search__expertise .xv5-icon, .xv5-search__related .xv5-icon { flex: none; width: 13px; height: 13px; color: var(--xv5-orange); stroke-width: 2.4; }
.xv5-search__layout { display: block; }
@media (min-width: 850px) {
    .xv5-search__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr); gap: 24px; }
    .xv5-search__layout:has(.xv5-search__side[hidden]) { display: block; }
    .xv5-search__side { padding: 10px 0 0 24px; border-left: 1px solid #e8edf3; }
}
@media (max-width: 849.98px) { .xv5-search__side { margin-top: 20px; padding-top: 14px; border-top: 1px solid #e8edf3; } }
.xv5-search__group { margin: 4px 0 14px; }
.xv5-search__group + .xv5-search__group { margin-top: 4px; padding-top: 0; border-top: 0; }
.xv5-search__group-label { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; }
.xv5-search__option { position: relative; gap: 3px; padding: 10px 40px 10px 12px; border-radius: 10px; }
.xv5-search__opt-arrow { position: absolute; top: 13px; right: 12px; width: 13px; height: 13px; color: var(--xv5-orange); stroke-width: 2.4; }
.xv5-search__opt-title { color: #14213a; font-size: 15px; }
.xv5-search__opt-snippet { color: #5b6b83; font-size: 13px; }
.xv5-search__related { margin: 0; padding: 0; list-style: none; }
.xv5-search__related a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 12px 0;
    border-bottom: 1px solid #edf0f5; color: #24324a; font-size: 13px; font-weight: 700; line-height: 1.35;
}
.xv5-search__related a:hover { color: var(--xv5-orange-strong); }
.xv5-search__side .xv5-search__heading + .xv5-search__related { margin-top: -4px; }
.xv5-search__side .xv5-search__recommended-title { margin-top: 25px; }
.xv5-search__recommended { display: flex; flex-direction: column; gap: 9px; padding: 18px; border-radius: 12px; background: #112038; color: #fff; }
.xv5-search__recommended:hover { background: #16294a; }
.xv5-search__recommended-kicker { color: #ff7d59; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.xv5-search__recommended strong { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; }
.xv5-search__recommended mark { background: none; color: inherit; padding: 0; }
.xv5-search__recommended small { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 13px; }
.xv5-search__recommended small .xv5-icon { width: 12px; height: 12px; }
.xv5-search__recommended:focus-visible { box-shadow: var(--xv5-focus); }
.xv5-search__empty { padding: 6px 0 0; }
.xv5-search__empty-title { margin: 0 0 6px; color: var(--xv5-ink); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.xv5-search__empty .xv5-search__topics { margin-bottom: 4px; }
.xv5-search__footer { padding-inline: 24px; background: #f7f9fc; }
.xv5-search__all { font-weight: 800; }

/* ---- search results page: type tabs + groups with a count */
.xv5-search-page__tabs { margin: 0 0 30px; }
.xv5-search-page__tabs ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.xv5-search-page__tab {
    display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 10px 15px;
    border: 1px solid #dce4ee; border-radius: var(--xv5-radius-pill); background: #fff;
    color: #26344c; font-size: 13px; font-weight: 750; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s;
}
.xv5-search-page__tab:hover { border-color: var(--xv5-orange); color: var(--xv5-orange-strong); }
.xv5-search-page__tab.is-active, .xv5-search-page__tab.is-active:hover { border-color: #102039; background: #102039; color: #fff; }
.xv5-search-page__tab:focus-visible { border-radius: var(--xv5-radius-pill); }
.xv5-search-page__tab-count { font-size: 11px; opacity: .75; }
.xv5-search-page__group-title { justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 0; padding-bottom: 10px; border-bottom: 1px solid var(--xv5-line); }
.xv5-search-page__group-count { min-width: 0; height: auto; padding: 0; background: none; color: var(--xv5-orange-strong); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 640px) { .xv5-search-page__tab { min-height: 40px; padding: 9px 11px; font-size: 12px; } }
/* <<< v5.1 SHELL (package 1) */

/* ================================================================ v5.1 package 3: insights — BEGIN
   Unified cover per expertise area (replaces the single v5.0 cover), list cards, pager.
   Geometry of the cover = the prototype's 960×540 SVG, in % / container units so it scales. */
.xv5-insight__cover { aspect-ratio: 16 / 9; background: #0e1c31; }
.xv5-cover {
    --xv5-cover-accent: #b7d5e9;
    position: relative; display: block; width: 100%; height: 100%; overflow: hidden; container-type: inline-size;
    background: linear-gradient(135deg, #203853 0%, #0e1c31 100%);
    color: #fff; font-family: Arial, Helvetica, sans-serif; line-height: 1; text-transform: uppercase;
}
.xv5-cover::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0 1px, transparent 1.5px) 0 0 / 12px 12px;
    background-size: 2.6cqw 2.6cqw;
}
.xv5-cover--digital-commerce { --xv5-cover-accent: #65c5d7; }
.xv5-cover--product-data { --xv5-cover-accent: #8bd3b6; }
.xv5-cover--platform-engineering { --xv5-cover-accent: #a2bce8; }
.xv5-cover--ai-automation { --xv5-cover-accent: #ad9ee8; }
.xv5-cover--business-applications { --xv5-cover-accent: #f0bc87; }
.xv5-cover--architecture { --xv5-cover-accent: #9ac5e5; }
.xv5-cover--sovereign-cloud { --xv5-cover-accent: #85d0c6; }
.xv5-cover > span { position: absolute; left: 6.77%; display: block; }
.xv5-cover__bar { top: 14.4%; width: 8.33%; height: 3px; height: max(2px, .52cqw); border-radius: 2px; background: var(--xv5-orange); }
.xv5-cover__brand { top: 22.8%; color: var(--xv5-cover-accent); font-size: 9px; font-size: 2.3cqw; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.xv5-cover__name { top: 52.8%; max-width: 57%; transform: translateY(-50%); font-size: 24px; font-size: 6.67cqw; font-weight: 800; line-height: 1.06; }
.xv5-cover__name--long { font-size: 19px; font-size: 5.1cqw; }
.xv5-cover__tagline { top: 80%; font-size: 8px; font-size: 2.08cqw; letter-spacing: .15em; opacity: .65; white-space: nowrap; }
.xv5-cover__art { position: absolute; top: 7.78%; right: 1.77%; width: auto; height: 80.74%; aspect-ratio: 1; color: var(--xv5-cover-accent); }
/* post hero (2.5 : 1): same cover, type a step smaller */
.xv5-cover--large .xv5-cover__brand { font-size: 1.7cqw; }
.xv5-cover--large .xv5-cover__name { font-size: 5cqw; }
.xv5-cover--large .xv5-cover__name--long { font-size: 4cqw; }
.xv5-cover--large .xv5-cover__tagline { font-size: 1.5cqw; }
.xv5--editmode .xv5-cover { min-height: 80px; }
/* list / related cards (CATEGORY · MONTH YEAR): larger type, as in the v5.1 list */
.xv5-insight--list { padding-bottom: 0; border-radius: 17px; }
.xv5-insight--list > :not(.xv5-insight__cover) { margin-inline: 24px; }
.xv5-insight--list .xv5-insight__cover { margin-bottom: 22px; }
.xv5-insight--list .xv5-insight__meta { margin-bottom: 12px; font-size: 11px; font-weight: 800; line-height: 1.6; letter-spacing: .07em; }
.xv5-insight--list .xv5-insight__title { margin-bottom: 12px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.27; letter-spacing: -.035em; }
.xv5-insight--list .xv5-insight__summary { margin-bottom: 22px; color: #617086; font-size: 14px; line-height: 1.65; }
.xv5-insight--list .xv5-card__footer { padding-top: 0; padding-bottom: 22px; }
.xv5-insight--list .xv5-card__footer::before { margin-bottom: 18px; background: #e5eaf1; }
.xv5-insight--list .xv5-card__footer .xv5-link { font-size: 15px; }
.xv5-insights-page .xv5-insights__grid { gap: 20px; }
/* pager: Previous / numbers / Next; the ends stay visible but disabled */
.xv5-pager { gap: 12px; margin-top: 38px; }
.xv5-pager__list { gap: 7px; }
.xv5-pager__num, .xv5-pager__step { border-color: #dce4ee; border-radius: 9px; color: #1c2a3d; }
.xv5-pager__step.is-disabled { opacity: .45; cursor: default; }
.xv5-pager__step.is-disabled:hover { border-color: #dce4ee; color: #1c2a3d; }
/* editorial note under the sources of an article (wysiwyg: <p class="xv5-note">) */
.xv5-prose .xv5-note { color: var(--xv5-muted-2); font-size: .86em; line-height: 1.6; }
/* v5.1 package 3: insights — END */

/* >>> Card grids aligned (2026-11-17): cards side by side share their row heights, so eyebrows, headings,
   sub-headings, texts, lists and the links / buttons start at the same height in every card of a row, whatever the
   length of the heading above. CSS subgrid: each card spans one grid row per part; a missing part leaves its row
   empty. Covers the cards brick (xv5-cards, all variants except the product card), the teaser cards (capability,
   technology, product) and the insight cards (grid and carousel). Browsers without subgrid keep the stacked cards.
   Not in editmode (editables change the markup). */
@supports (grid-template-rows: subgrid) {
    /* xv5-cards: eyebrow/top, title, sub, text, list, best, fit, more */
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) {
        display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start;
    }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__top,
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__eyebrow { grid-row: 1; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__title { grid-row: 2; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__sub { grid-row: 3; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__text { grid-row: 4; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__list { grid-row: 5; align-self: start; }
    /* best / fit / more: fixed top margin instead of "auto" (an auto margin would push a one-line text lower
       than a two-line one in the same row) */
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__best { grid-row: 6; margin-top: 20px; align-self: start; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__fit { grid-row: 7; margin-top: 20px; align-self: start; }
    body:not(.xv5--editmode) .xv5-cards__grid > .xv5-card:not(.xv5-card--product) > .xv5-card__more { grid-row: 8; margin-top: 0; align-self: start; }

    /* teasers (not the wide capability card, not the one-line compact card) */
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser:not(.xv5-teaser--wide):not(.xv5-teaser--compact) {
        display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start;
    }
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser--capability:not(.xv5-teaser--wide) > .xv5-teaser__main { display: contents; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__eyebrow,
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__logo,
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__name { grid-row: 1; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__title,
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__badge,
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__type { grid-row: 2; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__pain,
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__subtitle { grid-row: 3; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__text { grid-row: 4; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__tags { grid-row: 5; align-self: start; }
    body:not(.xv5--editmode) .xv5-teasers__grid .xv5-teaser__more,
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser:not(.xv5-teaser--wide) .xv5-card__footer { grid-row: 6 / span 2; margin-top: 0; align-self: end; }
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser--wide .xv5-teaser__eyebrow,
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser--wide .xv5-teaser__title,
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser--wide .xv5-teaser__pain,
    body:not(.xv5--editmode) .xv5-teasers__grid > .xv5-teaser--wide .xv5-teaser__text { grid-row: auto; }

    /* insight cards: cover, meta, title, summary, footer (list item and card both follow the rows) */
    body:not(.xv5--editmode) .xv5-insights__grid > .xv5-insights__item,
    body:not(.xv5--editmode) .xv5-carousel__track > .xv5-insights__item {
        display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0;
    }
    body:not(.xv5--editmode) .xv5-carousel__track { grid-template-rows: repeat(5, auto); row-gap: 0; }
    body:not(.xv5--editmode) .xv5-insights__item > .xv5-insight {
        display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 0;
    }
    body:not(.xv5--editmode) .xv5-insights__item .xv5-insight__cover { grid-row: 1; }
    body:not(.xv5--editmode) .xv5-insights__item .xv5-insight__meta { grid-row: 2; }
    body:not(.xv5--editmode) .xv5-insights__item .xv5-insight__title { grid-row: 3; }
    body:not(.xv5--editmode) .xv5-insights__item .xv5-insight__summary { grid-row: 4; }
    body:not(.xv5--editmode) .xv5-insights__item .xv5-card__footer { grid-row: 5; margin-top: 0; align-self: end; }
}
/* <<< Card grids aligned */
