/* BlueAgency — Cobalt glaze on porcelain */

/* Schibsted Grotesk (variable, OFL), self-hosted, unmodified.
   Never set tabular-nums on running text: its tabular comma and period are figure-width. */
@font-face {
    font-family: "Schibsted Grotesk";
    src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Schibsted Grotesk";
    src: url("../fonts/schibsted-grotesk-latin.woff2?v=3") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    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;
}

:root {
    --porcelain: #f8f9fb;
    --porcelain-hi: #ffffff;
    --porcelain-lo: #edf2f7;
    --ink: #090d24;
    --ink-soft: #475569;
    --cobalt: #1636b8;
    --cobalt-hi: #3b5cff;
    --cobalt-deep: #0a1a63;
    --glaze-night: #050d36;
    --on-glaze: #f6f4ef;
    --on-glaze-soft: #d6ddfb;
    --rule: rgba(15, 23, 42, 0.08);
    --rule-strong: rgba(15, 23, 42, 0.16);
    --rule-glaze: rgba(246, 244, 239, 0.24);
    --error: #a3122a;

    --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --rim: clamp(10px, 1.4vw, 20px);
    --pad: clamp(1.25rem, 4.5vw, 4.5rem);
    --block: clamp(4rem, 9vw, 8rem);
    --radius: clamp(20px, 2vw, 30px);
    --wrap: 1320px;

    --shadow-tile: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 3px rgba(3, 8, 40, 0.18), 0 22px 40px -18px rgba(3, 8, 40, 0.7);
    --shadow-slab: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 -50px 90px -30px rgba(2, 6, 30, 0.55) inset, 0 30px 60px -40px rgba(10, 20, 70, 0.55);

    /* Hairline crackle in the porcelain body. */
    --crackle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%230b1440' stroke-width='.6' stroke-opacity='.13'%3E%3Cpath d='M0 38l46 9 31-22 52 16 40-30 51 12 40-9'/%3E%3Cpath d='M77 25l-6 61 38 47-11 56 29 71'/%3E%3Cpath d='M0 150l58-14 51-3 61 28 42-16 48 9'/%3E%3Cpath d='M169 54l-9 63 10 50-26 49 22 44'/%3E%3Cpath d='M58 136l-19 62 21 62'/%3E%3Cpath d='M212 145l7 57-31 58'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
    scroll-padding-top: 4.5rem;
    scrollbar-color: var(--cobalt) var(--porcelain-lo);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--porcelain);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.7s cubic-bezier(0.16,1,0.3,1), color 0.5s cubic-bezier(0.16,1,0.3,1);
}

::selection { background: var(--cobalt); color: var(--on-glaze); }
.slab ::selection { background: var(--on-glaze); color: var(--cobalt-deep); }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.slab :focus-visible { outline-color: var(--on-glaze); }

input, textarea { caret-color: var(--cobalt); }

body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-track { background: var(--porcelain-lo); }
body::-webkit-scrollbar-thumb { background: var(--cobalt); border: 3px solid var(--porcelain-lo); border-radius: 12px; }

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: var(--rim); top: 0; z-index: 30;
    transform: translateY(-120%);
    background: var(--cobalt); color: var(--on-glaze);
    padding: 0.6rem 0.9rem; border-radius: 0 0 10px 10px;
}
.skip:focus { transform: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.arrow {
    width: 1em; height: 1em; flex: none;
    transition: transform 320ms var(--ease);
}
a:hover .arrow, a:focus-visible .arrow, button:hover .arrow { transform: translateX(0.22em); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; gap: 0.65rem;
    padding: 1rem 1.55rem 1.05rem;
    border: 0; border-radius: 999px;
    background: linear-gradient(180deg, var(--porcelain-hi), var(--porcelain-lo));
    color: var(--cobalt-deep);
    font: 600 1.06rem/1 var(--font);
    letter-spacing: -0.01em;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 1px 0 #fff inset, 0 10px 24px -12px rgba(2, 6, 30, 0.7);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 16px 30px -14px rgba(2, 6, 30, 0.75); }
.btn:active { transform: translateY(1px); }

.btn--cobalt {
    background: linear-gradient(180deg, #2a4ad6, var(--cobalt) 55%, #10288f);
    color: var(--on-glaze);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 22px -12px rgba(10, 26, 99, 0.8);
}
.btn--cobalt:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 28px -14px rgba(10, 26, 99, 0.85); }
.btn--small { padding: 0.65rem 1.05rem 0.7rem; font-size: 0.95rem; }

.link-quiet {
    color: var(--on-glaze); font-weight: 600;
    text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: 0.3em; text-decoration-color: rgba(246, 244, 239, 0.5);
}
.link-quiet:hover { text-decoration-color: var(--on-glaze); }

.text-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    color: var(--cobalt); font-weight: 600;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em;
}
.text-link--quiet { color: var(--ink-soft); }

/* ---------- Slabs (cobalt glaze) ---------- */

.slab {
    position: relative; isolation: isolate; overflow: hidden;
    margin: 0 var(--rim);
    border-radius: var(--radius);
    color: var(--on-glaze);
    background:
        radial-gradient(42% 34% at 20% 14%, rgba(150, 175, 255, 0.55), transparent 70%),
        radial-gradient(120% 90% at 22% 10%, #3456e6 0%, #1a3cc4 22%, #10288f 48%, #0a1a63 72%, #050d36 100%);
    box-shadow: var(--shadow-slab);
}

.glaze {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%;
    opacity: 0; transition: opacity 900ms var(--ease);
}
.glaze.is-live { opacity: 1; }

.slab-inner {
    position: relative;
    max-width: calc(var(--wrap) + 2 * var(--pad));
    margin: 0 auto;
    padding: var(--block) var(--pad);
}

/* Home hero */

.slab--hero { min-height: calc(100svh - 4.25rem - var(--rim)); display: flex; }
.slab--hero .slab-inner { width: 100%; align-self: center; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 5.5rem);
}

.hero h1 {
    font-size: clamp(2.7rem, 5.3vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 13.5ch;
    font-weight: 680;
}

.hero-sub {
    margin: 1.6rem 0 0; max-width: 40ch;
    font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.45;
    color: var(--on-glaze-soft);
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }

.hero-meta {
    margin: 2.6rem 0 0; padding-top: 1rem;
    border-top: 1px solid var(--rule-glaze);
    max-width: 26rem;
    font-size: 0.95rem; color: var(--on-glaze-soft);
}

/* Porcelain tiles set into the glaze */

.tiles {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(0.8rem, 1.4vw, 1.25rem);
    align-self: center;
    transform: translate3d(calc(var(--tx, 0) * -6px), calc(var(--ty, 0) * -6px), 0);
    transition: transform 600ms var(--ease);
}
.tiles .tile:nth-child(even) { margin-top: clamp(1.5rem, 3.5vw, 3.25rem); margin-bottom: calc(-1 * clamp(1.5rem, 3.5vw, 3.25rem)); }

.tile {
    position: relative; display: flex; flex-direction: column; gap: 0.85rem;
    padding: clamp(0.9rem, 1.2vw, 1.15rem);
    border-radius: 18px;
    background: var(--crackle), linear-gradient(165deg, var(--porcelain-hi) 0%, var(--porcelain) 55%, var(--porcelain-lo) 100%);
    color: var(--ink); text-decoration: none;
    box-shadow: var(--shadow-tile);
    transition: transform 380ms var(--ease), box-shadow 380ms var(--ease);
}
.tile::after {
    /* Gloss on the glaze-facing edge, lit from the upper left. */
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 28%);
    mix-blend-mode: soft-light;
}
.tile:hover { transform: translateY(-5px); box-shadow: 0 1px 0 #fff inset, 0 3px 5px rgba(3, 8, 40, 0.18), 0 34px 50px -22px rgba(3, 8, 40, 0.75); }
.tile:focus-visible { outline: 2px solid var(--on-glaze); outline-offset: 4px; }

.tile-head { display: flex; flex-direction: column; gap: 0.15rem; }
.tile-title { font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tile-ticket { font-size: 0.9rem; color: var(--ink-soft); }

/* Mini interfaces */

.ui {
    flex: 1; min-height: 8.5rem;
    border-radius: 11px; overflow: hidden;
    background: #fff; border: 1px solid rgba(11, 20, 64, 0.12);
    font-size: 0.68rem; line-height: 1.3; color: var(--ink);
    display: flex; flex-direction: column;
}
.ui b { display: block; border-radius: 4px; background: #dfe5fb; }
.ui-l { height: 6px; margin-top: 6px; }
.ui-l--short { width: 60%; }
.ui-btn {
    display: inline-block; align-self: flex-start;
    padding: 0.35rem 0.6rem; border-radius: 999px;
    background: var(--cobalt); color: #fff; font-weight: 600; font-size: 0.64rem;
    white-space: nowrap;
}

.ui-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: var(--porcelain); border-bottom: 1px solid rgba(11, 20, 64, 0.08); }
.ui-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(11, 20, 64, 0.2); }
.ui-bar span { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--ink-soft); font-size: 0.6rem; }
.ui-web { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.ui-web .ui-h { height: 12px; width: 78%; background: var(--ink); }
.ui-web .ui-btn { margin-top: 10px; }
.ui-cols { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; border-top: 1px solid rgba(11, 20, 64, 0.08); color: var(--ink-soft); font-size: 0.62rem; font-weight: 600; }
.ui-cols span:first-child { color: var(--cobalt); }

.ui-shop { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.ui-product { display: grid; place-items: center; height: 64px; border-radius: 8px; background: linear-gradient(160deg, #eef1fd, #dfe5fb); }
.ui-row { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ui-qty { padding: 0.3rem 0.45rem; border-radius: 999px; border: 1px solid rgba(11, 20, 64, 0.2); font-weight: 600; font-size: 0.6rem; white-space: nowrap; }

.ui-search { padding: 8px 10px 0; }
.ui-search span { display: block; height: 14px; border-radius: 999px; border: 1px solid rgba(11, 20, 64, 0.18); }
.ui-ad { padding: 8px 10px 0; display: flex; flex-direction: column; }
.ui-ad small { font-size: 0.58rem; font-weight: 700; color: var(--ink-soft); }
.ui-ad strong { color: var(--cobalt); font-size: 0.72rem; font-weight: 650; }
.ui-chart { margin-top: auto; height: 34px; padding: 6px 10px 8px; display: flex; align-items: flex-end; gap: 5px; }
.ui-chart b { flex: 1; background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt)); border-radius: 3px 3px 1px 1px; }

.ui-chat { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ui-chat p { margin: 0; padding: 6px 8px; border-radius: 10px; max-width: 88%; }
.ui-q { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 3px; }
.ui-a { background: #eef1fd; border-bottom-left-radius: 3px; }
.ui-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 5px 5px 5px 9px; border-radius: 999px; border: 1px solid rgba(11, 20, 64, 0.16); color: var(--ink-soft); }
.ui-input i { width: 14px; height: 14px; border-radius: 50%; background: var(--cobalt); }

.tile--big { padding: 1.4rem; border-radius: 22px; }
.tile--big .tile-title { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.tile--big .ui { min-height: 15rem; font-size: 0.85rem; }
.tile--big .ui-l { height: 9px; margin-top: 9px; }
.tile--big .ui-web .ui-h { height: 18px; }
.tile--big .ui-btn { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
.tile--big .ui-product { height: 120px; }
.tile--big .ui-product svg { width: 140px; height: 112px; }
.tile--big .ui-cols { font-size: 0.8rem; gap: 16px; }
.tile--big .ui-chart { height: 80px; }
.tile--big .ui-ad strong { font-size: 0.95rem; }
.tile--big .ui-search span { height: 22px; }

/* Inner page heads */

.slab--head .slab-inner { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5.5rem); }
.head h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); letter-spacing: -0.04em; max-width: 14ch; font-weight: 680; }
.head-lede { margin: 1.4rem 0 0; max-width: 52ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; color: var(--on-glaze-soft); }

.head--split {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.head-object { transform: translate3d(calc(var(--tx, 0) * -6px), calc(var(--ty, 0) * -6px), 0) rotate(-1.5deg); transition: transform 600ms var(--ease); }

.crumbs { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; font-size: 0.95rem; color: var(--on-glaze-soft); }
.crumbs a { color: var(--on-glaze); text-underline-offset: 0.25em; }

/* Glaze bands between porcelain sections */

.slab--band .slab-inner { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.band-title { font-size: clamp(2.1rem, 4.2vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.band-title--second { margin-top: clamp(3.5rem, 7vw, 6rem); }

.stamps {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
}
.stamps li { position: relative; padding-top: 0.25rem; }
.stamps li:not(:last-child)::after {
    content: ""; position: absolute; top: 32px; left: 80px; right: calc(-1 * clamp(1.5rem, 3vw, 3rem) + 12px);
    border-top: 1px dashed var(--rule-glaze);
}
.stamp { display: block; width: 64px; height: 64px; color: var(--on-glaze); margin-bottom: 1.3rem; transform: rotate(-8deg); }
.stamp text { font: 700 22px var(--font); }
.stamps h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin-bottom: 0.5rem; }
.stamps p { margin: 0; color: var(--on-glaze-soft); max-width: 30ch; }

.checklist {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem);
}
.checklist li {
    display: flex; gap: 0.9rem; align-items: baseline;
    padding: 1rem 0; border-top: 1px solid var(--rule-glaze);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}
.checklist li::before {
    content: ""; flex: none; width: 0.55em; height: 0.55em; border-radius: 50%;
    transform: translateY(-0.05em);
    background: radial-gradient(circle at 35% 30%, #fff, var(--on-glaze-soft) 60%);
    box-shadow: 0 1px 2px rgba(2, 6, 30, 0.5);
}
.checklist--porcelain li { border-top-color: var(--rule); font-size: 1.05rem; }
.checklist--porcelain li::before { background: radial-gradient(circle at 35% 30%, var(--cobalt-hi), var(--cobalt-deep)); box-shadow: none; }

/* Closing slab */

.slab--closing { margin-top: var(--block); }

/* Closing slab with authentic team backdrop */
.slab--closing-team {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #091338;
}
.closing-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.closing-backdrop-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    filter: saturate(1.15) brightness(0.88);
}
.closing-backdrop-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        rgba(8, 17, 72, 0.92) 0%,
        rgba(12, 26, 118, 0.82) 36%,
        rgba(18, 38, 168, 0.6) 70%,
        rgba(10, 20, 85, 0.88) 100%
    );
}
.slab--closing-team .slab-inner {
    position: relative;
    z-index: 3;
}
@media (max-width: 860px) {
    .closing-backdrop-img {
        object-position: 65% center;
    }
    .closing-backdrop-overlay {
        background: linear-gradient(
            180deg,
            rgba(8, 17, 72, 0.92) 0%,
            rgba(12, 26, 118, 0.86) 50%,
            rgba(8, 17, 72, 0.95) 100%
        );
    }
}
.closing { text-align: left; }
.closing h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); letter-spacing: -0.04em; max-width: 16ch; }
.closing-copy p { margin: 1.3rem 0 2.2rem; max-width: 50ch; font-size: clamp(1.1rem, 1.35vw, 1.25rem); color: var(--on-glaze-soft); }

/* ---------- Porcelain sections ---------- */

.section { padding-block: var(--block); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem) 0; }

.section-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 3rem; align-items: end;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); letter-spacing: -0.035em; }
.section-head p { margin: 0; max-width: 48ch; color: var(--ink-soft); font-size: 1.125rem; justify-self: end; }
.section-head--spaced { margin-top: var(--block); }

.ledger { margin: 0; }
.ledger div {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0.5rem 3rem; align-items: baseline;
    padding: 1.4rem 0; border-top: 1px solid var(--rule);
}
.ledger div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.ledger dd { margin: 0; max-width: 60ch; color: var(--ink-soft); font-size: 1.1rem; }

.slab .ledger div { border-color: var(--rule-glaze); }
.slab .ledger dd { color: var(--on-glaze-soft); }

.ledger--facts dt { color: var(--cobalt); }

/* Work */

.frame {
    display: block; position: relative; overflow: hidden;
    padding: 10px; border-radius: 20px;
    background: var(--crackle), linear-gradient(165deg, var(--porcelain-hi), var(--porcelain-lo));
    box-shadow: var(--shadow-tile);
}
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--rule); }

.work-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.work-card { text-decoration: none; display: flex; flex-direction: column; gap: 1rem; }
.work-card .frame { transition: transform 420ms var(--ease), box-shadow 420ms var(--ease); }
.work-card:hover .frame { transform: translateY(-5px); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 0.25rem; }
.work-name { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 680; letter-spacing: -0.03em; }
.work-kind { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.case {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.case + .case { margin-top: var(--block); }
.case:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.case:nth-of-type(even) .frame { order: 2; }
.case-copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.035em; margin: 0.3rem 0 1rem; }
.case-copy > p { margin: 0 0 1rem; font-size: 1.125rem; max-width: 52ch; }
.case-links { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; margin-top: 1.6rem; }

.minor { margin: 1.6rem 0 0.4rem; font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }

/* Services index */

.offers .offer { padding: clamp(2rem, 4vw, 3.25rem) 0; border-top: 1px solid var(--rule); }
.offer-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; align-items: start; }
.offer-copy > * { grid-column: 2; }
.offer-copy > h2 { grid-column: 1; grid-row: 1 / span 3; }
.offers .offer:first-child { border-top: 0; padding-top: 0; }
.offer-object { padding: clamp(1rem, 2vw, 1.75rem); border-radius: var(--radius); background: radial-gradient(120% 90% at 22% 10%, #2848d8, #10288f 55%, #050d36); box-shadow: var(--shadow-slab); }
.offer-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); letter-spacing: -0.035em; }
.offer-copy h2 a { text-decoration: none; }
.offer-copy h2 a:hover { color: var(--cobalt); }
.offer-copy > p { margin: 0.2rem 0 1.2rem; max-width: 56ch; font-size: 1.125rem; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.5rem; padding: 0; }
.tags li { padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(22, 54, 184, 0.07); color: var(--cobalt-deep); font-size: 0.92rem; font-weight: 500; }

.note { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }

.prose p { margin: 0 0 1.1rem; max-width: 60ch; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; }
.prose p:first-child { font-weight: 550; color: var(--ink); }

/* FAQ */

.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
    padding: 1.35rem 0; cursor: pointer; list-style: none;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobalt); }
.faq summary:focus-visible { outline-offset: 4px; }
.plus {
    position: relative; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: rgba(22, 54, 184, 0.08);
    transition: background-color 220ms var(--ease);
}
.plus::before, .plus::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 0.8rem; height: 2px; margin: -1px 0 0 -0.4rem; border-radius: 2px;
    background: var(--cobalt); transition: transform 360ms var(--ease);
}
.plus::after { transform: rotate(90deg); }
details[open] .plus { background: var(--cobalt); }
details[open] .plus::before, details[open] .plus::after { background: var(--on-glaze); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { margin: -0.2rem 0 1.6rem; max-width: 66ch; color: var(--ink-soft); font-size: 1.1rem; }

.next {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
    padding: 1.25rem 1.5rem; border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px -12px rgba(11, 20, 64, 0.08);
    text-decoration: none;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease, box-shadow 240ms ease;
}
.next:hover { transform: translateY(-2px); border-color: rgba(59, 92, 255, 0.4); box-shadow: 0 12px 24px -8px rgba(11, 20, 64, 0.1); }
.next-label { color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.next-title { display: inline-flex; align-items: center; gap: 0.55rem; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 650; letter-spacing: -0.025em; color: var(--cobalt); }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-main { min-width: 0; }

.brief { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }

.field {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin: 0; padding: 0 0 1.4rem; border: 0; min-width: 0;
    font-weight: 600; font-size: 0.98rem;
}
.field small { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input, .field textarea {
    width: 100%; padding: 0.85rem 1rem;
    border: 1px solid var(--rule-strong); border-radius: 12px;
    background: var(--porcelain-hi); color: var(--ink);
    font: 400 1.05rem/1.4 var(--font);
    box-shadow: 0 1px 2px rgba(11, 20, 64, 0.06) inset;
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:hover, .field textarea:hover { border-color: rgba(11, 20, 64, 0.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(22, 54, 184, 0.18); }
.field textarea { resize: vertical; min-height: 8.5rem; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { font-style: normal; font-weight: 500; font-size: 0.92rem; color: var(--error); }

.choice legend { padding: 0; margin-bottom: 0.6rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices label { position: relative; font-weight: 500; }
.choices input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choices span {
    display: block; padding: 0.65rem 1.05rem; border-radius: 12px;
    border: 1px solid var(--rule-strong); background: var(--porcelain-hi);
    transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.choices label:hover span { border-color: var(--cobalt); }
.choices input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: var(--on-glaze); }
.choices input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }

.form-alert { margin: 0 0 1.4rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: rgba(163, 18, 42, 0.07); color: var(--error); font-weight: 500; }
.form-privacy { margin: 0.2rem 0 1.2rem; font-size: 0.92rem; color: var(--ink-soft); }
.btn--submit { font-size: 1.1rem; padding: 1.1rem 1.8rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sent { padding: 2rem; border-radius: var(--radius); background: var(--crackle), var(--porcelain-hi); box-shadow: var(--shadow-tile); font-size: 1.25rem; }
.sent p { margin: 0 0 1rem; max-width: 46ch; }

.contact-aside {
    position: sticky; top: 6rem;
    padding: 1.6rem; border-radius: var(--radius);
    background: var(--crackle), linear-gradient(165deg, var(--porcelain-hi), var(--porcelain-lo));
    box-shadow: var(--shadow-tile);
}
.contact-aside .minor:first-child { margin-top: 0; }
.landing-case .text-link { color: var(--on-glaze); }
.contact-aside > p { margin: 0.2rem 0; color: var(--ink-soft); }
.next-steps { margin: 0.6rem 0 0.4rem; padding-left: 1.3rem; }
.next-steps li { padding: 0.3rem 0; }
.next-steps li::marker { color: var(--cobalt); font-weight: 700; }
.direct a { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; color: var(--cobalt); text-decoration: none; }
.direct a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Footer ---------- */

.foot { margin: var(--block) var(--rim) 0; padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem; border-radius: var(--radius) var(--radius) 0 0; background: var(--crackle), var(--porcelain-lo); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 2rem; }
.foot-brand p { margin: 0.3rem 0; color: var(--ink-soft); }
.foot-brand .brand { margin-bottom: 0.9rem; }
.foot-mail { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.foot-head { margin: 0 0 0.8rem; font-weight: 650; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 0.4rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cobalt); text-decoration: underline; text-underline-offset: 0.2em; }
.foot-base { max-width: var(--wrap); margin: 3rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--ink-soft); }
.foot-base p { margin: 0; }
.foot-lang { display: flex; gap: 1.2rem; }

.section + .slab--closing { margin-top: 0; }
.section--tight + .slab--closing { margin-top: var(--block); }

/* Closing slab with authentic team backdrop */
.slab--closing-team {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #091338;
}
.closing-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.closing-backdrop-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    filter: saturate(1.15) brightness(0.88);
}
.closing-backdrop-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        rgba(8, 17, 72, 0.92) 0%,
        rgba(12, 26, 118, 0.82) 36%,
        rgba(18, 38, 168, 0.6) 70%,
        rgba(10, 20, 85, 0.88) 100%
    );
}
.slab--closing-team .slab-inner {
    position: relative;
    z-index: 3;
}
@media (max-width: 860px) {
    .closing-backdrop-img {
        object-position: 65% center;
    }
    .closing-backdrop-overlay {
        background: linear-gradient(
            180deg,
            rgba(8, 17, 72, 0.92) 0%,
            rgba(12, 26, 118, 0.86) 50%,
            rgba(8, 17, 72, 0.95) 100%
        );
    }
}
main:has(> .slab--closing:last-child) + .foot { margin-top: var(--rim); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; }
    .hero h1 { max-width: 16ch; }
    .tiles { max-width: 44rem; }
    .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .stamps li:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {

    .head--split, .case, .offers .offer, .contact, .section-head, .work-pair { grid-template-columns: 1fr; }
    .case:nth-of-type(even) .frame { order: 0; }
    .section-head p { justify-self: start; }
    .head-object { max-width: 30rem; }
    .contact-aside { position: static; }
    .ledger div { grid-template-columns: 1fr; gap: 0.35rem; }
    .checklist { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .slab--hero { min-height: 0; }
    .slab-inner { padding-inline: 1.25rem; }
    .tiles { gap: 0.65rem; }
    .tiles .tile:nth-child(even) { margin-top: 1.25rem; margin-bottom: -1.25rem; }
    .tile .ui { min-height: 6.5rem; }
    .tile-ticket { display: none; }
    .ui-cols, .ui-chart, .ui-input, .ui-qty { display: none; }
    .ui-row { justify-content: flex-end; }
    .stamps { grid-template-columns: 1fr; }
    .stamps li::after { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .actions .btn { width: 100%; justify-content: space-between; }
    .next { flex-direction: column; align-items: flex-start; }
}

/* ---------- Review round additions ---------- */


.slab::after {
    /* The lit lip of the slab: a thin highlight along the top edge, brightest under the light. */
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 45%, transparent 75%) top / 100% 1.5px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 12%);
}

.ui-title { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.ui-text { display: block; margin-top: 4px; color: var(--ink-soft); }
.ui-name { display: block; margin-top: 7px; font-weight: 650; }
.ui-variants { display: flex; gap: 4px; margin-top: 5px; }
.ui-variants span { padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(11, 20, 64, 0.2); font-size: 0.6rem; }
.ui-variants .is-on { border-color: var(--cobalt); color: var(--cobalt); font-weight: 650; }
.ui-price { font-weight: 750; font-size: 0.8rem; letter-spacing: -0.02em; }
.ui-search span { display: block; padding: 0 8px; line-height: 16px; height: auto; font-size: 0.58rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile--big .ui-title { font-size: 1.15rem; }
.tile--big .ui-price { font-size: 1.05rem; }
.tile--big .ui-variants span { font-size: 0.78rem; padding: 2px 8px; }
.tile--big .ui-search span { line-height: 22px; font-size: 0.75rem; }

.tiles--head { transform: none; }
.tiles--head .tile .ui { min-height: 7rem; }

.stack { position: relative; min-height: clamp(16rem, 28vw, 24rem); }
.stack .frame { position: absolute; width: 78%; }
.stack .frame:first-child { right: 0; top: 0; transform: rotate(2deg); }
.stack .frame:last-child { left: 0; bottom: 0; transform: rotate(-2.5deg); }

.card {
    margin: 0; padding: clamp(1.2rem, 2vw, 1.7rem);
    border-radius: 20px; color: var(--ink);
    background: var(--crackle), linear-gradient(165deg, var(--porcelain-hi), var(--porcelain) 55%, var(--porcelain-lo));
    box-shadow: var(--shadow-tile);
}
.card-title { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.mini-stamps { list-style: none; margin: 0; padding: 0; }
.mini-stamps li { display: grid; grid-template-columns: 36px 1fr; gap: 0.8rem; align-items: center; padding: 0.55rem 0; border-top: 1px solid var(--rule); }
.mini-stamps li:first-child { border-top: 0; }
.stamp--small { width: 36px; height: 36px; margin: 0; color: var(--cobalt); transform: rotate(-8deg); }
.stamp--small text { font: 700 24px var(--font); }
.card-direct { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; color: var(--ink-soft); }
.card-direct a { color: var(--cobalt); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.card-direct a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.facts-card div { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.facts-card div:first-child { border-top: 0; padding-top: 0; }
.facts-card dt { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.03em; color: var(--cobalt); }
.facts-card dt a { text-decoration: none; }
.facts-card dd { margin: 0.15rem 0 0; color: var(--ink-soft); }

.closing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.closing .card { max-width: 28rem; justify-self: end; transform: none; }

/* Senior Design Upgrade: Onboarding Roadmap Card */
.next-roadmap-card {
    background: #ffffff !important;
    border-radius: 22px !important;
    padding: clamp(1.6rem, 2.8vw, 2.25rem) !important;
    box-shadow: 0 24px 50px -12px rgba(11, 20, 64, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.85) inset !important;
    border: 1px solid rgba(22, 43, 197, 0.1) !important;
    color: var(--ink) !important;
}
.next-roadmap-head { margin-bottom: 1.35rem; }
.next-roadmap-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cobalt);
    margin-bottom: 0.35rem;
}
.next-roadmap-title {
    font-size: clamp(1.3rem, 1.6vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0b1440;
    margin: 0;
}
.next-roadmap-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.next-roadmap-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1.1rem;
    align-items: flex-start;
    position: relative;
}
.next-roadmap-item:not(:last-child) {
    padding-bottom: 1.25rem;
}
.next-roadmap-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.next-roadmap-num > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eef2ff;
    border: 1.5px solid #dbeafe;
    color: var(--cobalt);
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--font-mono, ui-monospace, monospace);
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(22, 43, 197, 0.08);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.next-roadmap-item:hover .next-roadmap-num > span:first-child {
    background: var(--cobalt);
    color: #ffffff;
    border-color: var(--cobalt);
    transform: scale(1.08);
}
.next-roadmap-line {
    position: absolute;
    top: 36px;
    bottom: -6px;
    width: 2px;
    background: linear-gradient(to bottom, #cbd5e1 0%, #e2e8f0 100%);
    border-radius: 2px;
}
.next-roadmap-body {
    padding-top: 0.25rem;
}
.next-roadmap-body p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.48;
    color: #1e293b;
    font-weight: 500;
    letter-spacing: -0.015em;
}
.next-roadmap-direct {
    margin-top: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.next-roadmap-direct:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.next-roadmap-direct .direct-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}
.next-roadmap-direct .direct-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cobalt);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.next-roadmap-direct .direct-link .arrow {
    width: 1.05rem;
    transition: transform 0.2s ease;
}
.next-roadmap-direct .direct-link:hover .arrow {
    transform: translateX(3px);
}

@media (max-width: 860px) {
    .closing { grid-template-columns: 1fr; }
    .closing .card { justify-self: start; transform: none; }
    .offer-copy { grid-template-columns: 1fr; }
    .offer-copy > *, .offer-copy > h2 { grid-column: 1; grid-row: auto; }
    .offer-copy > h2 { margin-bottom: 0.6rem; }
    .case:nth-of-type(even) { grid-template-columns: 1fr; }
    .stack { min-height: 15rem; }
}

@media (max-width: 560px) {
    /* Tiles become one swipeable row at near-full width. */
    .tiles {
        display: flex; gap: 0.75rem; overflow-x: auto;
        scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
        margin: 0 -1.25rem; padding: 0.5rem 1.25rem 1.25rem;
        scrollbar-width: none;
    }
    .tiles::-webkit-scrollbar { display: none; }
    .tiles .tile { flex: 0 0 82%; scroll-snap-align: center; }
    .tiles .tile:nth-child(even) { margin: 0; }
    .tile .ui { min-height: 9rem; font-size: 0.75rem; }
    .tile-ticket { display: block; }
    .ui-cols { display: flex; }
    .ui-chart, .ui-input { display: flex; }
    .ui-qty { display: none; }
    .stack .frame { width: 86%; }
}

.brand {
    display: inline-flex; align-items: center; gap: 0.6rem;
    text-decoration: none; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.03em;
}
.brand b { font-weight: 750; }
.brand .mark { flex: none; }

/* Original wordmark: blue version on light grounds, white version on glaze or video. */
.logo { display: inline-grid; line-height: 0; max-width: 100%; }
.logo img {
    grid-area: 1 / 1;
    height: var(--logo-h, 30px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: opacity 400ms var(--ease);
}
.logo-white { opacity: 0; }
.on-dark .logo-white, .logo--white .logo-white { opacity: 1; }
.on-dark .logo-color, .logo--white .logo-color { opacity: 0; }
.menu-open .bar .logo-white { opacity: 0; }
.menu-open .bar .logo-color { opacity: 1; }
.foot-brand .logo { --logo-h: 38px; max-width: 100%; }
.foot-brand .logo img {
    height: auto;
    max-height: var(--logo-h, 38px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}
@media (max-width: 560px) { .logo { --logo-h: 26px; } }

/* ---------- Bar: the fixed header (logo · MENI on the centre line · start + language) ---------- */

:root { --edge: clamp(14px, 1.7vw, 28px); --bar: 3.5rem; --menu-ease: cubic-bezier(0.76, 0, 0.24, 1); }

.bar {
    position: fixed; inset: 0 0 auto; z-index: 40;
    color: var(--ink);
    transition: color 400ms var(--ease), background-color 400ms var(--ease), transform 420ms var(--ease), opacity 350ms ease;
}
.bar.bar--hidden { transform: translateY(-120%); opacity: 0; pointer-events: none; }
}
.bar.on-light { background: rgba(243, 241, 236, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.bar.on-dark { color: var(--on-glaze); }
.menu-open .bar { color: var(--ink); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.bar-in {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    height: var(--bar); padding: 0 var(--edge);
}
.bar .brand { font-size: 1.05rem; }
.bar-mid { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.bar-end { display: flex; align-items: center; gap: 1.6rem; }

.bar-btn {
    padding: 0.6rem 0; border: 0; background: none; color: inherit; cursor: pointer;
    font: 650 0.8rem/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.bar-btn:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.menu-btn { display: grid; }
.menu-btn > span { grid-area: 1 / 1; transition: opacity 250ms var(--ease), transform 450ms var(--ease); }
.menu-btn .when-open { opacity: 0; transform: translateY(60%); }
.menu-open .menu-btn .when-closed { opacity: 0; transform: translateY(-60%); }
.menu-open .menu-btn .when-open { opacity: 1; transform: none; }

.bar-lang { display: flex; align-items: center; gap: 0.35rem; font: 650 0.8rem/1 var(--font); letter-spacing: 0.06em; }
.bar-lang a { text-decoration: none; opacity: 0.5; padding: 0.4rem 0; }
.bar-lang a.is-on, .bar-lang a:hover { opacity: 1; }

/* ---------- Menu: a porcelain panel that drops from the top ---------- */

.menu {
    position: fixed; inset: 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
    background: var(--porcelain); color: var(--ink);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 800ms var(--menu-ease), visibility 0s linear 800ms;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 800ms var(--menu-ease), visibility 0s; }

.menu-in {
    display: grid; grid-template-columns: 1fr minmax(0, 0.62fr) minmax(0, 0.38fr);
    column-gap: clamp(1rem, 1.5vw, 1.5rem);
    min-height: 100vh; min-height: 100dvh; align-content: center; padding: calc(var(--bar) + clamp(2.5rem, 6vh, 4.5rem)) var(--edge) clamp(2.5rem, 6vh, 4rem);
}
.menu-pages { grid-column: 2; }
.menu-side { grid-column: 3; }

.menu-label {
    position: relative; margin: 0 0 1rem; padding-bottom: 0.6rem;
    font-size: 0.95rem; color: var(--ink);
}
.menu-label::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
    transform: scaleX(0); transform-origin: left;
    transition: transform 900ms var(--ease) 200ms;
}
.menu-open .menu-label::after { transform: scaleX(1); }
.menu-side ul + .menu-label { margin-top: clamp(2rem, 5vh, 3.5rem); }
.menu-languages { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-link, .menu-sub { display: block; overflow: hidden; text-decoration: none; color: var(--ink); transition: color 300ms var(--ease); }
.menu-link > span, .menu-sub > span {
    display: inline-block; transform: translateY(110%);
    transition: transform 900ms var(--ease) calc(280ms + var(--i, 0) * 60ms);
}
.menu-open .menu-link > span, .menu-open .menu-sub > span { transform: none; }
body:not(.menu-open) .menu-link > span, body:not(.menu-open) .menu-sub > span { transition-delay: 0ms; transition-duration: 400ms; }

.menu-link { font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; }
.menu-sub { font-size: clamp(1.15rem, 1.5vw, 1.45rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.menu-plain { color: var(--ink-soft); font-weight: 500; }

/* Hover one, the rest step back. */
.menu-pages ul:hover .menu-link, .menu-pages ul:has(.menu-link:focus-visible) .menu-link,
.menu-side ul:hover .menu-sub { color: rgba(11, 20, 64, 0.32); }
.menu-pages ul .menu-link:hover, .menu-pages ul .menu-link:focus-visible,
.menu-side ul .menu-sub:hover { color: var(--ink); }
.menu-link[aria-current="page"] > span, .menu-sub[aria-current="page"] > span { box-shadow: inset 0 -0.08em 0 var(--cobalt); }
.menu-link:focus-visible, .menu-sub:focus-visible { outline-offset: -2px; }

.menu-scrim {
    position: fixed; inset: 0; z-index: 38;
    background: rgba(5, 13, 54, 0.6);
    opacity: 0; pointer-events: none;
    transition: opacity 700ms var(--menu-ease);
}
.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }

/* Page change: the screen goes to glaze night, the next page lifts out of it. */
.veil { position: fixed; inset: 0; z-index: 60; background: var(--glaze-night); opacity: 0; pointer-events: none; transition: opacity 450ms var(--ease); }
.is-leaving .veil { opacity: 1; pointer-events: auto; }
.arrive .veil { animation: veil-out 900ms var(--ease) 80ms both; }
@keyframes veil-out { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Cover: the full-bleed home hero ---------- */

.cover {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100svh; color: var(--on-glaze);
    background: radial-gradient(120% 90% at 22% 10%, #3456e6 0%, #1a3cc4 22%, #10288f 48%, #0a1a63 72%, #050d36 100%);
    display: flex; flex-direction: column; justify-content: center;
}
.cover-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Video cover: the poster paints first (same frame as the video start), never the old gradient. */
.cover--video { background: #030303 var(--cover-poster, none) center / cover no-repeat; }
.cover--video .cover-media { opacity: 0; transition: opacity 1200ms linear; }
.cover--video .cover-media.is-on { opacity: 1; }
.cover-shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 8, 36, 0) 35%, rgba(3, 8, 36, 0.45) 100%),
        linear-gradient(180deg, rgba(3, 8, 36, 0.35) 0%, rgba(3, 8, 36, 0) 20%, rgba(3, 8, 36, 0) 70%, rgba(3, 8, 36, 0.5) 100%);
}
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 0 var(--edge); }
.cover-copy { grid-column: 2; max-width: 40rem; }
.cover h1 {
    font-size: clamp(2.3rem, 3.7vw, 3.9rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02;
    max-width: 17ch;
}
.cover-sub { margin: 1.25rem 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--on-glaze-soft); }
.cover-cta {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2rem;
    font: 650 0.8rem/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--on-glaze); text-decoration: none;
    padding: 0.95rem 1.3rem; border: 1px solid rgba(246, 244, 239, 0.55); border-radius: 999px;
    transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.cover-cta:hover { background: var(--on-glaze); color: var(--cobalt-deep); border-color: var(--on-glaze); }
.cover-scroll {
    position: absolute; bottom: 1.6rem; left: 50%;
    font-size: 0.85rem; color: var(--on-glaze-soft); text-decoration: none;
}
.cover-scroll:hover { color: var(--on-glaze); }

.slab--offers { margin-top: var(--rim); }
.offers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.offers-head .band-title { margin-bottom: 0; }
.offers-head p { margin: 0; color: var(--on-glaze-soft); font-size: 1.125rem; max-width: 44ch; justify-self: end; }
.tiles--row { grid-template-columns: repeat(4, minmax(0, 1fr)); transform: none; }
.tiles--row .tile:nth-child(even) { margin: 0; }
.slab--offers .hero-meta { max-width: none; margin-top: clamp(2rem, 4vw, 3rem); }

/* Inner page heads run full-bleed under the bar. */
.slab--head { margin: 0; border-radius: 0 0 var(--radius) var(--radius); }
.slab--head .slab-inner { padding-top: calc(var(--bar) + clamp(3rem, 7vw, 6rem)); }

@media (max-width: 1100px) {
    .tiles--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .bar-cta { display: none; }
    .cover-grid { grid-template-columns: 1fr; }
    .cover-copy { grid-column: 1; }
    .cover { justify-content: flex-end; padding-bottom: 6rem; }
    .cover-shade { background: linear-gradient(180deg, rgba(3, 8, 36, 0.35) 0%, rgba(3, 8, 36, 0) 25%, rgba(3, 8, 36, 0.6) 100%); }
    .offers-head { grid-template-columns: 1fr; }
    .offers-head p { justify-self: start; }
    .menu { inset: 0; overflow-y: auto; }
    .menu-in { grid-template-columns: 1fr; row-gap: 2.5rem; min-height: 100%; }
    .menu-pages, .menu-side { grid-column: 1; }
}

@media (max-width: 560px) {
    .bar-in { grid-template-columns: auto 1fr; }
    .bar-mid { justify-content: flex-end; gap: 1.4rem; }
    .cover-scroll { left: var(--edge); }
    .tiles--row { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .menu, .menu-open .menu { transition: visibility 0s; clip-path: none; }
    .menu-link > span, .menu-sub > span { transform: none; }
    .menu-label::after { transform: none; }
    .arrive .veil { animation: none; }
}

/* =================================================================
   v2 — pill header, centred cover, and the Concept7-level page parts
   ================================================================= */

/* No crackle texture anywhere (client decision, 2026-11-09). */
:root { --crackle: none; }

/* ---------- Pill header ---------- */

:root { --bar: 4.75rem; }

.bar {
    display: flex; justify-content: center;
    padding: 14px var(--edge) 0;
    pointer-events: none;
    background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.bar .logo-white { opacity: 0 !important; }
.bar .logo-color { opacity: 1 !important; }

.pill {
    pointer-events: auto;
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 1.25rem;
    width: min(1360px, 100%); height: 62px;
    padding: 0 0.7rem 0 1.5rem;
    border-radius: 40px;
    background: var(--porcelain-hi); color: var(--ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 32px -14px rgba(5, 13, 54, 0.45);
    transition: width 700ms var(--menu-ease), padding 700ms var(--menu-ease), box-shadow 400ms var(--ease);
}
.pill .brand { flex: none; }
.pill .logo { --logo-h: 35px; }

.pill-links {
    display: flex; gap: 0.2rem; list-style: none; margin: 0 0 0 auto; padding: 0;
    transition: opacity 300ms var(--ease);
}
.pill-links a {
    display: block; padding: 0.55rem 0.85rem; border-radius: 999px;
    font-size: 0.98rem; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.pill-links a:hover { background: rgba(11, 20, 64, 0.06); }
.pill-links a[aria-current="page"] { color: var(--cobalt); }

.pill-end { display: flex; align-items: center; gap: 1rem; flex: none; transition: opacity 300ms var(--ease); }
.pill .bar-lang a { opacity: 0.45; }
.pill .bar-lang a.is-on, .pill .bar-lang a:hover { opacity: 1; }
.pill-cta { white-space: nowrap; }

.pill-burger {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border: 0; border-radius: 999px;
    display: grid; place-items: center;
    background: transparent; color: var(--ink); cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: opacity 300ms var(--ease), background-color 160ms var(--ease);
}
.pill-burger:hover { background: rgba(11, 20, 64, 0.06); }
.burger { position: relative; width: 22px; height: 14px; }
.burger i {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform 450ms var(--ease), opacity 200ms var(--ease), top 450ms var(--ease);
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Compact: logo + menu only. */
.bar.is-compact .pill, .menu-open .bar .pill { width: 268px; padding: 0 0.5rem 0 1.25rem; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 30px -12px rgba(5, 13, 54, 0.5); }
.bar.is-compact .pill-links, .bar.is-compact .pill-end,
.menu-open .bar .pill-links, .menu-open .bar .pill-end { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s 200ms; }
.bar.is-compact .pill-burger, .menu-open .bar .pill-burger { opacity: 1; pointer-events: auto; }

/* The drop menu sits below the pill. */
.menu-in { padding-top: calc(14px + 62px + clamp(2.5rem, 6vh, 4.5rem)); }

/* ---------- Cover, centred ---------- */

.cover { justify-content: center; text-align: center; }
.cover-grid { grid-template-columns: 1fr; justify-items: center; padding: 6rem var(--edge) 4rem; }
.cover-copy { grid-column: 1; max-width: 62rem; display: flex; flex-direction: column; align-items: center; }
.cover h1 {
    font-size: clamp(2.6rem, 5.6vw, 5.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
    max-width: 15ch; text-wrap: balance;
}
.cover-sub {
    margin: 1.6rem auto 0; max-width: 56ch;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; text-wrap: balance;
}
.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.cover .cover-cta {
    margin: 0; border: 0; background: var(--cobalt-hi); color: #fff;
    text-transform: none; letter-spacing: -0.01em; font-size: 1.05rem; font-weight: 600; padding: 1rem 1.5rem;
    box-shadow: 0 12px 28px -12px rgba(59, 92, 255, 0.8);
}
.cover .cover-cta:hover { background: #fff; color: var(--cobalt-deep); }
.cover-link { color: var(--on-glaze); font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(246, 244, 239, 0.55); }
.cover-link:hover { text-decoration-color: var(--on-glaze); }
.cover-shade {
    background:
        radial-gradient(70% 60% at 50% 50%, rgba(3, 6, 18, 0.55), rgba(3, 6, 18, 0.15) 70%, rgba(3, 6, 18, 0) 100%),
        linear-gradient(180deg, rgba(3, 6, 18, 0.35) 0%, rgba(3, 6, 18, 0) 25%, rgba(3, 6, 18, 0) 75%, rgba(3, 6, 18, 0.55) 100%) !important;
}
.cover-scroll { left: 50%; transform: translateX(-50%); }

/* ---------- Shared: split layout, row heads, headings ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-copy h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.split-copy p { margin: 1.25rem 0 2rem; max-width: 46ch; font-size: 1.125rem; line-height: 1.55; }
.split--venn { align-items: center; }
.split--faq h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; }

.row-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.row-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; }

/* ---------- Services band: big ruled words ---------- */

.band-night {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(4.5rem, 10vw, 9rem);
    background: var(--glaze-night); color: var(--on-glaze);
}
.band-night::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url("../images/bg/silk-dark.webp") right center / cover no-repeat;
    opacity: 0.45;
}
.band-night .split-copy p { color: var(--on-glaze-soft); }
.band-night .split-copy { position: sticky; top: 7rem; }

.bigwords { list-style: none; margin: 0; padding: 0; }
.bigwords li { border-bottom: 1px solid var(--rule-glaze); }
.bigwords a {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem;
    padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(0.9rem, 1.8vw, 1.4rem);
    text-decoration: none; color: rgba(246, 244, 239, 0.32);
    transition: color 500ms var(--ease);
}
.bigwords-word { font-size: clamp(2.1rem, 3.9vw, 4.1rem); white-space: nowrap; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.bigwords-ticket {
    display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
    font-size: 0.98rem; color: var(--on-glaze-soft);
    opacity: 0; transform: translateY(-0.3rem);
    transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.bigwords li.is-lit a, .bigwords a:hover, .bigwords a:focus-visible { color: var(--on-glaze); }
.bigwords a:hover .bigwords-ticket, .bigwords a:focus-visible .bigwords-ticket, .bigwords li.is-lit .bigwords-ticket { opacity: 1; transform: none; }

/* ---------- Three circles ---------- */

.venn { position: relative; margin: 4rem auto; width: min(100%, 36rem); aspect-ratio: 1 / 0.94; isolation: isolate; }
.venn-c {
    position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 0 9%; gap: 0.35rem;
    transition: transform 480ms cubic-bezier(0.16,1,0.3,1), box-shadow 480ms cubic-bezier(0.16,1,0.3,1);
}
.venn-c:hover { transform: scale(1.035); z-index: 10; }
.venn-c strong { font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 650; letter-spacing: -0.02em; }
.venn-c span { font-size: clamp(0.85rem, 1.1vw, 1rem); line-height: 1.35; }
.venn-c--people { left: 22%; top: 0; background: linear-gradient(145deg, #1636b8, #0a1a63); color: var(--on-glaze); z-index: 2; padding-bottom: 12%; border: 1.5px solid rgba(255,255,255,0.18); box-shadow: 0 20px 50px -15px rgba(10,26,99,0.55), 0 0 0 1px rgba(59,92,255,0.15); }
.venn-c--people span { color: rgba(214,221,251,0.85); }
.venn-c--business { left: 0; bottom: 0; background: linear-gradient(145deg, #f8ebe4, #efd4c6); color: var(--ink); padding-top: 14%; padding-right: 16%; border: 1.5px solid rgba(200,140,110,0.22); box-shadow: 0 20px 40px -15px rgba(180,100,70,0.2); }
.venn-c--tech { right: 0; bottom: 0; background: linear-gradient(145deg, #e8ecfd, #d4dbf9); color: var(--ink); padding-top: 14%; padding-left: 16%; border: 1.5px solid rgba(100,120,220,0.2); box-shadow: 0 20px 40px -15px rgba(59,92,255,0.18); }
.venn-core {
    position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); z-index: 4;
    width: 24%; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center; text-align: center; padding: 0.4rem;
    background: linear-gradient(145deg, #3b5cff, #1636b8); color: #fff;
    font-size: clamp(0.68rem, 0.9vw, 0.82rem); font-weight: 700; line-height: 1.15;
    border: 2px solid rgba(255,255,255,0.35);
    box-shadow: 0 12px 30px -8px rgba(59, 92, 255, 0.85), 0 0 0 4px rgba(59,92,255,0.15);
}

/* ---------- Case cards ---------- */

.cases-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.cases-grid > .case-card:first-child { grid-column: 1 / -1; }

.case-card {
    display: flex; flex-direction: column; overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem) 0;
    border-radius: 22px; color: var(--ink);
}
.case-card--warm { background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.08); }
.case-card--cool { background: #f0f4ff; border: 1px solid rgba(59, 92, 255, 0.12); }
.case-card-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 2.5rem; align-items: start; }
.case-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 550; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 0.8rem; }
.case-card-tags p { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.chips li { padding: 0.4rem 0.75rem; border-radius: 8px; background: #fff; font-size: 0.88rem; font-weight: 600; box-shadow: 0 1px 2px rgba(11, 20, 64, 0.08); }
.case-card-shot { display: block; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.case-card-shot img {
    width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top;
    border-radius: 14px 14px 0 0; box-shadow: 0 -2px 30px -10px rgba(11, 20, 64, 0.35);
    transition: transform 600ms var(--ease);
}
.case-card:hover .case-card-shot img { transform: translateY(-6px); }
.case-card--compact .case-card-top { grid-template-columns: 1fr; }

/* ---------- Contact card ---------- */

.contact-card {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 0.25rem;
    min-height: 22rem; padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: 22px; background: var(--glaze-night); color: var(--on-glaze);
}
.contact-card-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.contact-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 550; letter-spacing: -0.03em; line-height: 1.12; }
.contact-card p { margin: 0.6rem 0 0; color: var(--on-glaze-soft); max-width: 40ch; }
.contact-card-mail a { color: var(--on-glaze); font-weight: 600; }
.contact-card .btn { align-self: flex-start; margin-top: 1.5rem; }

/* ---------- Logo wall, quote, final ---------- */

.logos { padding-block: clamp(5rem, 10vw, 9rem); background: var(--glaze-night); color: var(--on-glaze); text-align: center; }
.logos h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.logos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.5rem 2rem; align-items: center; }
.logos img { max-height: 42px; max-width: 150px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); opacity: 0.8; transition: opacity 200ms var(--ease); }
.logos img:hover { opacity: 1; }

.quote { padding-block: clamp(4rem, 9vw, 8rem); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; max-width: 28ch; }
.quote footer { margin-top: 1.5rem; color: var(--ink-soft); }

.final { padding: clamp(5rem, 11vw, 9rem) var(--pad); text-align: center; }
.final h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 550; letter-spacing: -0.04em; }
.final p { margin: 1rem auto 2rem; max-width: 46ch; color: var(--ink-soft); font-size: 1.15rem; }
main:has(> .final:last-child) + .foot { margin-top: 0; }

/* ---------- Expandable list and checks ---------- */

.acc { border-top: 1px solid var(--rule); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 1.05rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--cobalt); }
.acc-icon { flex: none; color: var(--cobalt); transition: transform 350ms var(--ease); }
.acc details[open] .acc-icon { transform: rotate(180deg); }
.acc details p { margin: -0.2rem 0 1.1rem; max-width: 60ch; color: var(--ink-soft); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; }
.checks svg { flex: none; margin-top: 0.15rem; color: var(--cobalt); }

/* ---------- Stages (services overview) and the service page body ---------- */

.stage { padding-block: clamp(3.5rem, 8vw, 7rem); }
.stage + .stage { border-top: 1px solid var(--rule); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.stage--flip .stage-main { order: 2; }
.stage-main h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.stage-main h2 a { text-decoration: none; }
.stage-main h2 a:hover { color: var(--cobalt); }
.stage-main h2 + .acc, .stage-main h2 + .checks, .stage-main h2 + .stamps, .stage-main h2 + .faq { margin-top: 1.5rem; }
.stage-main > h2:not(:first-child) { margin-top: clamp(3rem, 6vw, 4.5rem); }
.stage-lede { margin: 1rem 0 0; max-width: 56ch; font-size: 1.15rem; line-height: 1.55; }
.stage-main .minor { margin: 2.2rem 0 0.9rem; font-size: 1.05rem; color: var(--cobalt-deep); }
.stage-more { margin-top: 2rem; }
.stage-aside { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }
.page-services .stage { padding-block: clamp(2.75rem, 5vw, 4.5rem); scroll-margin-top: 7rem; }
.page-services .stage-aside { position: static; gap: 1rem; }
.page-services .stage-aside .minor { margin: 0; font-size: 1.05rem; color: var(--cobalt-deep); }

.photos { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
.photos--two { grid-template-columns: 1fr 1fr; }
.photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

.stamps--light { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
.stamps--light .stamp { color: var(--cobalt); }
.stamps--light p { color: var(--ink-soft); }
.stamps--light li::after { display: none; }

/* Inner page heads: title left, intro + action right. */
.head--intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.head--intro h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); font-weight: 600; max-width: 13ch; }
.head-intro .head-lede { margin: 0 0 1.75rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .pill-links a { padding-inline: 0.6rem; }
    .pill-cta { display: none; }
}

@media (max-width: 960px) {
    .stage-grid, .split, .head--intro { grid-template-columns: 1fr; }
    .stage--flip .stage-main { order: 0; }
    .stage-aside { position: static; }
    .band-night .split-copy { position: static; }
    .cases-grid { grid-template-columns: 1fr; }
    .logos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .pill { width: 100%; }
    /* Hidden desktop controls must not keep their flex width on small screens. */
    .pill-links, .pill-end { display: none; }
    .pill-burger { opacity: 1; pointer-events: auto; }
    .bar.is-compact .pill, .menu-open .bar .pill { width: 100%; }
}

@media (max-width: 560px) {
    .pill .logo { --logo-h: 24px; }
    .cover-grid { padding: 6rem 1.25rem 5rem; }
    .case-card-top { grid-template-columns: 1fr; }
    .photos--two { grid-template-columns: 1fr; }
    .stamps--light { grid-template-columns: 1fr; }
    .stamps--light li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1.25rem; align-content: start; }
    .stamps--light .stamp { grid-row: 1 / span 2; margin-bottom: 0; }
    .stamps--light h3 { margin-top: 0; }
    .logos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bigwords-ticket { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pill, .bigwords a, .case-card-shot img { transition: none; }
}

/* ---------- Pill links: underline grows from the left on hover, stays on the current page ---------- */

.pill { overflow: visible; }
.bar.is-compact .pill, .menu-open .bar .pill { overflow: hidden; }
/* Expanding: let the pill widen first, then bring the links back. */
.bar:not(.is-compact) .pill-links, .bar:not(.is-compact) .pill-end { transition: opacity 300ms var(--ease) 380ms, visibility 0s; }

.pill-links { gap: 1.6rem; margin-right: 0.6rem; }
.pill-links a {
    position: relative; padding: 0.35rem 0; border-radius: 0;
    font-size: 1rem; font-weight: 450; color: var(--ink);
}
.pill-links a:hover { background: none; }
.pill-links a::before {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--cobalt-hi);
    transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pill-links a:hover::before, .pill-links a:focus-visible::before, .pill-links a[aria-current="page"]::before { width: 100%; }
.pill-links a[aria-current="page"] { color: var(--ink); }
.pill-links a:focus-visible { outline-offset: 4px; }

/* ---------- Language dropdown ---------- */

.lang-dd { position: relative; }
.lang-dd-btn {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.35rem 0.2rem; border: 0; background: none; cursor: pointer;
    font: 450 1rem/1 var(--font); color: var(--ink);
}
.lang-dd-chev { transition: transform 150ms var(--ease); }
.lang-dd.is-open .lang-dd-chev { transform: rotate(180deg); }
.lang-dd-list {
    position: absolute; top: calc(100% + 0.55rem); left: -0.4rem; z-index: 5;
    min-width: 9.5rem; margin: 0; padding: 0.3rem 0; list-style: none;
    border-radius: 10px; background: #e7ecff;
    box-shadow: 0 10px 24px -10px rgba(5, 13, 54, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s linear 250ms;
}
.lang-dd.is-open .lang-dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s; }
.lang-dd-list a {
    display: flex; align-items: baseline; gap: 0.5rem;
    padding: 0.55rem 1rem; text-decoration: none;
    font-weight: 600; color: var(--cobalt-deep);
}
.lang-dd-list a span { font-weight: 400; color: var(--ink-soft); }
.lang-dd-list a:hover, .lang-dd-list a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
    .pill-links { gap: 1.1rem; }
}

/* ---------- Clean buttons: flat blue pill, no shadow, no lift; links carry the blue arrow ---------- */

:root { --action: #3559fe; --action-ink: #0b1440; }

.btn, .btn--cobalt, .cover .cover-cta, .pill-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 1.7rem; border: 0; border-radius: 999px;
    background: var(--action); color: #fff;
    font: 600 1.05rem/1.1 var(--font); letter-spacing: -0.005em; text-transform: none;
    text-decoration: none; cursor: pointer;
    box-shadow: none; transform: none;
    transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.btn .arrow, .cover .cover-cta .arrow { display: none; }
.btn:hover, .btn:focus-visible, .btn--cobalt:hover, .btn--cobalt:focus-visible { background: var(--action-ink); color: #fff; box-shadow: none; transform: none; }
.btn:active { transform: none; }
.btn--small, .pill-cta { padding: 0.62rem 1.15rem; font-size: 0.95rem; }
.btn--submit { padding: 1rem 1.9rem; font-size: 1.08rem; }

/* On dark grounds the hover goes white. */
.cover .cover-cta:hover, .cover .cover-cta:focus-visible,
.slab .btn:hover, .slab .btn:focus-visible,
.band-night .btn:hover, .band-night .btn:focus-visible,
.contact-card .btn:hover, .contact-card .btn:focus-visible {
    background: #fff; color: var(--action-ink);
}

/* Secondary links: text + blue arrow, underline only on hover. */
.text-link, .cover-link, .link-quiet {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-weight: 600; text-decoration: none;
}
.text-link { color: var(--ink); }
.text-link--quiet { color: var(--ink-soft); }
.cover-link, .link-quiet { color: var(--on-glaze); }
.text-link .arrow, .cover-link .arrow, .link-quiet .arrow, .next-title .arrow, .bigwords-ticket .arrow { width: 18px; height: 18px; color: var(--action); }
.text-link:hover, .cover-link:hover, .link-quiet:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.cover .cover-link .arrow, .band-night .arrow { color: #7d95ff; }

/* ---------- About page ---------- */

.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.about-photo { margin: clamp(2rem, 5vw, 4rem) 0 0; position: relative; overflow: hidden; border-radius: 22px; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.about-photo--band img { aspect-ratio: 16 / 5; }
.about-photo figcaption {
    position: absolute; left: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1rem, 2.5vw, 2rem);
    color: var(--on-glaze); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 550; letter-spacing: -0.02em;
}

.band-night--about { margin-top: clamp(3rem, 7vw, 6rem); }
.band-night--about::before { opacity: 0.25; }
.split--about { align-items: start; }
.split--about .split-copy { position: static; }
.split--about .split-copy h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }

.about-sub { margin: 1.75rem 0 0.9rem; font-weight: 600; }
.band-night .about-sub { color: var(--on-glaze); }
.dots { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.dots li::marker { color: #7d95ff; }
.band-night .dots li { color: var(--on-glaze-soft); }
.about-more { margin: 1rem 0 0; color: var(--on-glaze-soft); }
.about-doubt { margin: 2rem 0 0; color: var(--on-glaze); font-weight: 600; line-height: 1.9; }

.six-heading { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 550; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.six { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-glaze); }
.six li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule-glaze); }
.six-n { color: #7d95ff; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.six p { margin: 0; color: var(--on-glaze-soft); line-height: 1.55; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.two-lists h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -0.035em; }
.about-door { margin: 2rem 0 0; max-width: 40ch; color: var(--ink-soft); }

.team { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.team p { margin: 0.7rem 0 0; display: flex; flex-direction: column; }
.team span { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 960px) {
    .two-lists { grid-template-columns: 1fr; }
    .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .about-photo--band img { aspect-ratio: 16 / 8; }
}

/* ---------- About: teamwork photo mosaic (staggered, like a contact sheet on the wall) ---------- */

.mosaic {
    margin-top: clamp(2rem, 5vw, 4rem);
    display: grid; gap: clamp(0.6rem, 1.4vw, 1.25rem);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(5rem, 9vw, 8.5rem);
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
/* Six-up layout: two tall sides, a wide centre, two small under it. */
.mosaic img:nth-child(1) { grid-column: 1 / 5;  grid-row: 1 / 3; }
.mosaic img:nth-child(2) { grid-column: 2 / 5;  grid-row: 3 / 5; }
.mosaic img:nth-child(3) { grid-column: 5 / 10; grid-row: 1 / 4; }
.mosaic img:nth-child(4) { grid-column: 10 / 13; grid-row: 1 / 3; }
.mosaic img:nth-child(5) { grid-column: 5 / 8;  grid-row: 4 / 6; }
.mosaic img:nth-child(6) { grid-column: 8 / 13; grid-row: 3 / 6; }
.mosaic--3 img:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; }
.mosaic--3 img:nth-child(2) { grid-column: 5 / 10; grid-row: 1 / 4; }
.mosaic--3 img:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 4; }
.mosaic--4 img:nth-child(4), .mosaic--5 img:nth-child(4) { grid-column: 10 / 13; grid-row: 1 / 4; }
.mosaic--5 img:nth-child(5) { grid-column: 5 / 10; grid-row: 4 / 6; }

@media (max-width: 760px) {
    .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 9rem; }
    .mosaic img:nth-child(n) { grid-column: auto; grid-row: auto; }
    .mosaic img:nth-child(3n + 1) { grid-column: 1 / -1; grid-row: span 2; }
}

/* ---------- Three circles: a slow drift, each on its own orbit; the core breathes ---------- */

@keyframes venn-drift-a {
    0%   { translate: 0 0; }
    25%  { translate: 6px -7px; }
    50%  { translate: 11px 2px; }
    75%  { translate: 4px 8px; }
    100% { translate: 0 0; }
}
@keyframes venn-drift-b {
    0%   { translate: 0 0; }
    30%  { translate: -9px 5px; }
    60%  { translate: -3px 11px; }
    100% { translate: 0 0; }
}
@keyframes venn-drift-c {
    0%   { translate: 0 0; }
    35%  { translate: 8px 6px; }
    70%  { translate: 2px -9px; }
    100% { translate: 0 0; }
}
@keyframes venn-breathe {
    0%, 100% { scale: 1; box-shadow: 0 0 0 0 rgba(59, 92, 255, 0.35); }
    50%      { scale: 1.06; box-shadow: 0 0 0 14px rgba(59, 92, 255, 0); }
}

.venn-c--people   { animation: venn-drift-a 19s ease-in-out infinite; }
.venn-c--business { animation: venn-drift-b 23s ease-in-out infinite; }
.venn-c--tech     { animation: venn-drift-c 21s ease-in-out infinite; animation-delay: -6s; }
.venn-core        { animation: venn-breathe 6s ease-in-out infinite; }


@media (prefers-reduced-motion: reduce) {
    .venn-c, .venn-core { animation: none !important; }
}

/* Client logos: a soft circle in the top-right corner, logos in white. */
.logos { position: relative; isolation: isolate; overflow: hidden; }
.logos::after {
    content: ""; position: absolute; z-index: -1; right: -14vw; top: -22vw;
    width: 42vw; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 30% 70%, #1a2c8f, #101d6b 70%);
    opacity: 0.85;
}
.logos h2 { font-weight: 400; }
.logos ul { max-width: 64rem; margin: 0 auto; row-gap: 3.25rem; }

/* Logo lockup (wordmark | strateški digitalni partner). The compact pill and phones show the wordmark only. */
.logo-short { display: none; }
.bar.is-compact .logo--lockup .logo-color, .menu-open .bar .logo--lockup .logo-color { display: none; }
.bar.is-compact .logo--lockup .logo-short, .menu-open .bar .logo--lockup .logo-short { display: block; opacity: 1; }
@media (max-width: 860px) {
    .bar .logo--lockup .logo-color { display: none; }
    .bar .logo--lockup .logo-short { display: block; opacity: 1; }
}
@media (max-width: 1180px) and (min-width: 861px) {
    .pill .logo--lockup { --logo-h: 28px; }
}

/* Inner page heads: the silk stills from the hero video instead of the live glaze. */
.slab--head {
    background:
        linear-gradient(90deg, rgba(3, 4, 10, 0.82) 0%, rgba(3, 4, 10, 0.55) 45%, rgba(3, 4, 10, 0.15) 100%),
        #030303 url("../images/bg/silk-2.webp") right center / cover no-repeat;
    box-shadow: none;
}
.slab--head::after { display: none; }
.page-services .slab--head, .page-work .slab--head { background-image:
        linear-gradient(90deg, rgba(3, 4, 10, 0.82) 0%, rgba(3, 4, 10, 0.55) 45%, rgba(3, 4, 10, 0.15) 100%),
        url("../images/bg/silk-1.webp"); }
@media (max-width: 860px) {
    .slab--head { background-image:
        linear-gradient(180deg, rgba(3, 4, 10, 0.55) 0%, rgba(3, 4, 10, 0.8) 100%),
        url("../images/bg/silk-2.webp"); }
}

/* Services band on the home page: the hero loop, quieter, behind the big words. */
.band-video {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1200ms var(--ease);
}
.band-video.is-on { opacity: 0.55; }
.band-night--video::before { z-index: -2; }
.band-night--video::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 13, 54, 0.85) 0%, rgba(5, 13, 54, 0.55) 40%, rgba(5, 13, 54, 0.35) 100%);
}
@media (prefers-reduced-motion: reduce) {
    .band-video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
    .tiles, .head-object { transform: none !important; }
}


/* ===== Scroll reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal][data-reveal-scale] {
    transform: translateY(24px) scale(0.97);
}
[data-reveal][data-reveal-scale].is-visible {
    transform: none;
}

/* Venn ambient glow behind diagram */
.venn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 55%, rgba(59,92,255,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Modern Agency Micro-Typography & Badges ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin-bottom: 0.85rem;
}
.eyebrow--cobalt {
    color: #4b6fff;
}

/* ===== Homepage Services Bento Grid ===== */
.split--services {
 align-items: start;
 gap: clamp(2rem, 4vw, 4.5rem);
}
.bento-services {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 1.25rem;
 width: 100%;
}
.bento-card {
 position: relative;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: clamp(1.5rem, 2.4vw, 2.2rem);
 border-radius: 20px;
 background: rgba(14, 25, 77, 0.45);
 border: 1px solid rgba(255, 255, 255, 0.08);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 text-decoration: none;
 color: var(--on-glaze);
 transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
 border-color 380ms cubic-bezier(0.16, 1, 0.3, 1),
 background 380ms cubic-bezier(0.16, 1, 0.3, 1),
 box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1);
 isolation: isolate;
 overflow: hidden;
}
.bento-card::before {
 content: "";
 position: absolute;
 inset: 0;
 border-radius: inherit;
 background: radial-gradient(circle at 80% 20%, rgba(59, 92, 255, 0.18), transparent 70%);
 opacity: 0;
 transition: opacity 400ms ease;
 z-index: -1;
 pointer-events: none;
}
.bento-card:hover {
 transform: translateY(-5px);
 border-color: rgba(94, 134, 255, 0.4);
 background: rgba(19, 34, 99, 0.65);
 box-shadow: 0 20px 40px -15px rgba(5, 13, 54, 0.8), 0 0 0 1px rgba(94, 134, 255, 0.25);
}
.bento-card:hover::before {
 opacity: 1;
}
.bento-top {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 1.25rem;
}
.bento-num {
 font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
 font-size: 0.88rem;
 font-weight: 700;
 color: #7d95ff;
 letter-spacing: 0.08em;
}
.bento-badge {
 font-size: 0.72rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 padding: 0.25rem 0.65rem;
 border-radius: 999px;
 background: rgba(255, 255, 255, 0.07);
 color: rgba(255, 255, 255, 0.85);
 border: 1px solid rgba(255, 255, 255, 0.1);
}
.bento-title {
 font-size: clamp(1.35rem, 1.8vw, 1.65rem);
 font-weight: 600;
 letter-spacing: -0.025em;
 line-height: 1.2;
 margin: 0 0 0.75rem;
 color: #ffffff;
}
.bento-desc {
 font-size: 0.95rem;
 line-height: 1.5;
 color: rgba(214, 221, 251, 0.82);
 margin: 0 0 1.5rem;
 flex-grow: 1;
}
.bento-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 1rem;
 padding-top: 1rem;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bento-ticket {
 font-size: 0.84rem;
 color: rgba(255, 255, 255, 0.55);
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.bento-action {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 font-size: 0.86rem;
 font-weight: 600;
 color: #7d95ff;
 transition: color 240ms ease, transform 240ms ease;
 white-space: nowrap;
}
.bento-action .arrow {
 width: 15px;
 height: 15px;
 transition: transform 240ms ease;
}
.bento-card:hover .bento-action {
 color: #ffffff;
}
.bento-card:hover .bento-action .arrow {
 transform: translate(3px, -3px);
}
@media (max-width: 900px) {
 .bento-services {
 grid-template-columns: 1fr;
 }
}

/* ===== Tri-Axis Strategy Matrix ===== */
.split--venn {
 align-items: center;
 gap: clamp(2rem, 5vw, 5rem);
}
.matrix-venn {
 position: relative;
 margin: 2.5rem auto;
 width: min(100%, 36rem);
 aspect-ratio: 1 / 0.96;
 isolation: isolate;
}
.matrix-orbit {
 position: absolute;
 inset: 4%;
 border-radius: 50%;
 border: 1px dashed rgba(59, 92, 255, 0.16);
 pointer-events: none;
 z-index: 0;
}
.matrix-lens {
 position: absolute;
 width: 58%;
 aspect-ratio: 1;
 border-radius: 50%;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 0 10%;
 gap: 0.4rem;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
 box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1),
 border-color 450ms ease;
 cursor: default;
}
.matrix-lens:hover {
 transform: scale(1.035);
 z-index: 12 !important;
}
.matrix-lens-head {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 margin-bottom: 0.25rem;
}
.matrix-lens-dot {
 width: 5px;
 height: 5px;
 border-radius: 50%;
 background: currentColor;
 opacity: 0.75;
}
.matrix-lens-coord {
 font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
 font-size: 0.7rem;
 font-weight: 700;
 letter-spacing: 0.08em;
 opacity: 0.75;
}
.matrix-lens strong {
 font-size: clamp(1.1rem, 1.8vw, 1.45rem);
 font-weight: 650;
 letter-spacing: -0.025em;
 line-height: 1.15;
}
.matrix-lens span {
 font-size: clamp(0.85rem, 1.05vw, 0.96rem);
 line-height: 1.35;
}

/* Pillar 1: Demand / Customers */
.matrix-lens--people {
 left: 21%;
 top: 0;
 background: linear-gradient(145deg, #1636b8, #0a1a63);
 color: var(--on-glaze);
 z-index: 2;
 padding-bottom: 11%;
 border: 1.5px solid rgba(255, 255, 255, 0.2);
 box-shadow: 0 25px 60px -15px rgba(10, 26, 99, 0.5), 0 0 0 1px rgba(59, 92, 255, 0.2);
}
.matrix-lens--people span {
 color: rgba(214, 221, 251, 0.88);
}
.matrix-lens--people .matrix-lens-coord {
 color: #9db2ff;
}

/* Pillar 2: Value / Business */
.matrix-lens--business {
 left: 0;
 bottom: 0;
 background: linear-gradient(145deg, #fbf7f4, #f0e4dc);
 color: var(--ink);
 z-index: 3;
 padding-top: 13%;
 padding-right: 15%;
 border: 1.5px solid rgba(180, 130, 105, 0.22);
 box-shadow: 0 20px 45px -15px rgba(140, 90, 60, 0.16);
}
.matrix-lens--business span {
 color: var(--ink-soft);
}
.matrix-lens--business .matrix-lens-coord {
 color: #8c5b3b;
}

/* Pillar 3: Tech / Engineering */
.matrix-lens--tech {
 right: 0;
 bottom: 0;
 background: linear-gradient(145deg, #f1f4fe, #dbe2fb);
 color: var(--ink);
 z-index: 3;
 padding-top: 13%;
 padding-left: 15%;
 border: 1.5px solid rgba(90, 120, 220, 0.22);
 box-shadow: 0 20px 45px -15px rgba(59, 92, 255, 0.15);
}
.matrix-lens--tech span {
 color: var(--ink-soft);
}
.matrix-lens--tech .matrix-lens-coord {
 color: #3b5cff;
}

/* Central Convergence Node */
.matrix-core {
 position: absolute;
 left: 50%;
 top: 55%;
 transform: translate(-50%, -50%);
 z-index: 6;
 width: 25%;
 aspect-ratio: 1;
 border-radius: 50%;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 0.5rem;
 background: #050d36;
 color: #ffffff;
 border: 2px solid rgba(255, 255, 255, 0.35);
 box-shadow: 0 15px 35px -8px rgba(5, 13, 54, 0.9), 0 0 0 5px rgba(59, 92, 255, 0.22), 0 0 25px rgba(59, 92, 255, 0.45);
 transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms ease;
}
.matrix-core:hover {
 transform: translate(-50%, -50%) scale(1.08);
 box-shadow: 0 20px 40px -8px rgba(5, 13, 54, 0.95), 0 0 0 8px rgba(59, 92, 255, 0.3), 0 0 35px rgba(59, 92, 255, 0.65);
}
.matrix-core-beacon {
 position: absolute;
 top: 14%;
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: #4ef2bb;
 box-shadow: 0 0 10px #4ef2bb;
 animation: beacon-pulse 2.4s ease-in-out infinite;
}
.matrix-core-brand {
 font-size: clamp(0.78rem, 1.1vw, 0.95rem);
 font-weight: 750;
 letter-spacing: -0.02em;
 color: #ffffff;
 line-height: 1.1;
 margin-top: 0.25rem;
}
.matrix-core-label {
 font-size: clamp(0.55rem, 0.72vw, 0.68rem);
 color: rgba(214, 221, 251, 0.85);
 line-height: 1.2;
 margin-top: 0.15rem;
}

/* ===== Device Chrome for Case Screenshots ===== */
.text-link--bright {
 color: #4b6fff !important;
 font-weight: 600;
}
.text-link--bright:hover {
 color: #7d95ff !important;
 text-decoration: underline;
}
.case-card-meta {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 margin-bottom: 0.5rem;
}
.case-kind {
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--cobalt);
}
.case-host {
 font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
 font-size: 0.76rem;
 color: var(--ink-soft);
 opacity: 0.8;
}
.case-view-link {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.95rem;
 font-weight: 600;
 color: var(--cobalt);
 text-decoration: none;
 margin-top: 0.25rem;
 transition: color 200ms ease, transform 200ms ease;
}
.case-view-link .arrow {
 width: 16px;
 height: 16px;
 transition: transform 240ms ease;
}
.case-view-link:hover {
 color: var(--cobalt-hi);
}
.case-view-link:hover .arrow {
 transform: translate(3px, -3px);
}
.case-card-frame {
 display: block;
 margin-top: clamp(1.5rem, 2.8vw, 2.25rem);
 border-radius: 14px 14px 0 0;
 background: #10162f;
 box-shadow: 0 20px 50px -15px rgba(11, 20, 64, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08);
 overflow: hidden;
 text-decoration: none;
 transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 450ms ease;
}
.case-card:hover .case-card-frame {
 transform: translateY(-4px);
 box-shadow: 0 28px 60px -15px rgba(11, 20, 64, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.device-chrome {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0.65rem 1rem;
 background: #0d1226;
 border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chrome-dots {
 display: flex;
 align-items: center;
 gap: 6px;
}
.chrome-dot {
 width: 9px;
 height: 9px;
 border-radius: 50%;
 opacity: 0.75;
}
.chrome-dot--red { background: #ff5f56; }
.chrome-dot--yellow { background: #ffbd2e; }
.chrome-dot--green { background: #27c93f; }
.chrome-bar {
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 padding: 0.22rem 1.1rem;
 border-radius: 999px;
 background: rgba(255, 255, 255, 0.06);
 border: 1px solid rgba(255, 255, 255, 0.08);
 font-size: 0.72rem;
 font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
 color: rgba(255, 255, 255, 0.75);
}
.chrome-lock {
 color: #4ef2bb;
}
.chrome-actions {
 width: 36px;
}
.case-card-frame .case-card-shot {
 margin-top: 0;
 overflow: hidden;
}
.case-card-frame .case-card-shot img {
 border-radius: 0;
 box-shadow: none;
 transform-origin: top center;
 transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover .case-card-frame .case-card-shot img {
 transform: scale(1.025);
}

/* ===== Upgraded Services Overview Stages ===== */
.stage {
 position: relative;
 padding-block: clamp(3.5rem, 7vw, 6rem);
 border-bottom: 1px solid rgba(11, 20, 64, 0.08);
}
.stage-card-wrap {
 background: #ffffff;
 border-radius: 24px;
 padding: clamp(2rem, 4vw, 3.5rem);
 border: 1px solid rgba(11, 20, 64, 0.08);
 box-shadow: 0 10px 30px -10px rgba(11, 20, 64, 0.04);
 transition: border-color 300ms ease, box-shadow 300ms ease;
}
.stage-card-wrap:hover {
 border-color: rgba(59, 92, 255, 0.25);
 box-shadow: 0 20px 45px -15px rgba(11, 20, 64, 0.08);
}
.stage-header-meta {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 1rem;
}
.stage-index-num {
 font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
 font-size: 0.85rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 color: var(--cobalt);
}
.stage-category-tag {
 font-size: 0.74rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 color: var(--ink-soft);
}
.stage-deliverables {
 margin: 1.5rem 0 2rem;
 padding: 0;
 list-style: none;
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 0.75rem;
}
.stage-deliverables li {
 display: flex;
 align-items: center;
 gap: 0.6rem;
 font-size: 0.92rem;
 font-weight: 550;
 color: var(--ink);
 padding: 0.55rem 0.85rem;
 border-radius: 10px;
 background: #f6f7fa;
 border: 1px solid rgba(11, 20, 64, 0.05);
}
.stage-deliverables li::before {
 content: "";
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--cobalt);
 flex-shrink: 0;
}

/* ===== Valantic-Inspired Services & Capabilities ===== */
.services-domains-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.services-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 220ms ease;
}
.services-nav-pill:hover {
    border-color: var(--cobalt);
    color: var(--cobalt);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 54, 184, 0.1);
}
.services-nav-pill span {
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--cobalt);
}
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}
.sub-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.15rem 1.35rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: var(--ink);
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.sub-service-card:hover {
    border-color: rgba(59, 92, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(11, 20, 64, 0.08);
}
.sub-service-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.sub-service-title {
    font-size: 0.98rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
}
.sub-service-card:hover .sub-service-title {
    color: var(--cobalt);
}
.sub-service-desc {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--ink-soft);
    margin: 0;
}
.sub-service-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--cobalt);
    transition: transform 200ms ease;
}
.sub-service-card:hover .sub-service-arrow {
    transform: translate(3px, -3px);
}

/* ===== Service Detail Architecture ===== */
.service-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
}
.service-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(22, 54, 184, 0.06);
    color: var(--cobalt);
    border: 1px solid rgba(22, 54, 184, 0.14);
}
.service-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 1.5rem 0 3rem;
}
@media (max-width: 768px) {
    .service-capability-grid {
        grid-template-columns: 1fr;
    }
}
.capability-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.03);
    transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.capability-card:hover {
    border-color: rgba(59, 92, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.08);
}
.capability-card-index {
    font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cobalt);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}
.capability-card h3 {
    font-size: 1.18rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.capability-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

/* ===== Auto Dealership Product Showcase ===== */
.product-showcase-hero {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.product-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cobalt);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(22, 54, 184, 0.06);
    border: 1px solid rgba(22, 54, 184, 0.16);
    margin-bottom: 1rem;
}
.slab--head .product-meta-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}
.product-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}
.btn--demo {
    background: #050d36;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(5, 13, 54, 0.35);
}
.btn--demo:hover {
    background: var(--cobalt);
    color: #ffffff;
}
.product-dual-chrome {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: end;
    margin: 2.5rem 0 4rem;
}
@media (max-width: 860px) {
    .product-dual-chrome {
        grid-template-columns: 1fr;
    }
}
.product-features-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}
@media (max-width: 960px) {
    .product-features-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .product-features-bento {
        grid-template-columns: 1fr;
    }
}
.p-bento-card {
    padding: 1.75rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.03);
    transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.p-bento-card:hover {
    border-color: rgba(59, 92, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}
.p-bento-num {
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cobalt);
    margin-bottom: 0.75rem;
    display: block;
}
.p-bento-card h3 {
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    color: var(--ink);
}
.p-bento-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

/* ===== Hero Section Contrast Fixes ===== */
.slab--head .service-badge-pill {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.slab--head .service-badge-pill .badge-dot {
    color: #38bdf8 !important;
    font-size: 0.65rem;
    margin-right: 4px;
}
.slab--head .text-link,
.slab--head .text-link--bright {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35em;
    font-weight: 600;
}
.slab--head .text-link:hover,
.slab--head .text-link--bright:hover {
    color: #93c5fd !important;
}
.slab--head .text-link .arrow,
.slab--head .text-link--bright .arrow {
    color: #60a5fa !important;
}

/* ===== Capability Grid Symmetry ===== */
@media (min-width: 860px) {
    .service-capability-grid .capability-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ===== Full-Width Editorial Service Layout (No Sidebar) ===== */
.service-content {
    max-width: 1140px;
    margin: 0 auto;
}
.service-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 3.5rem;
}
@media (max-width: 960px) {
    .service-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .service-capability-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 961px) {
    .service-capability-grid .capability-card:last-child:nth-child(3n-2) {
        grid-column: span 3;
    }
    .service-capability-grid .capability-card:last-child:nth-child(3n-1) {
        grid-column: span 2;
    }
}
.service-case-feature {
    margin: 2.75rem 0;
}
.service-case-feature .case-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px -10px rgba(11, 20, 64, 0.06);
}

/* ===== Service Page Content Elevation ===== */
.service-content .checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem 2rem;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.03);
}
.service-content .checks li {
    padding: 0.4rem 0;
    font-size: 1.05rem;
    font-weight: 550;
    color: var(--ink);
}
.service-content .checks svg {
    color: var(--cobalt);
    flex-shrink: 0;
}

.service-content .stamps--light {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (max-width: 960px) {
    .service-content .stamps--light {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .service-content .stamps--light {
        grid-template-columns: 1fr;
    }
}
.service-content .stamps--light li {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.03);
    transition: all 240ms ease;
}
.service-content .stamps--light li:hover {
    border-color: rgba(59, 92, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}
.service-content .stamps--light .stamp {
    color: var(--cobalt);
    margin-bottom: 1rem;
}
.service-content .stamps--light h3 {
    font-size: 1.2rem;
    font-weight: 650;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.service-content .stamps--light p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.photos img {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px -8px rgba(11, 20, 64, 0.08);
}
/* The open menu sits below its own close control. */
.menu-open .bar { z-index: 56; transform: none; opacity: 1; pointer-events: auto; }
.pill-burger { opacity: 1; pointer-events: auto; }
@media (min-width: 961px) { body:not(.menu-open) .bar:not(.is-compact) .pill { padding-right: 3.8rem; } }
.menu-in { max-width: var(--wrap); margin-inline: auto; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); column-gap: clamp(2rem,7vw,7rem); }
.menu-pages { grid-column: 1; }
.menu-side { grid-column: 2; }
@media (max-width: 860px) { .menu-in { grid-template-columns: 1fr; } .menu-pages, .menu-side { grid-column: 1; } }
.menu-services { display: grid; gap: 0; }
.menu-service { border-bottom: 1px solid var(--rule); }
.menu-service summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    cursor: pointer;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    font-weight: 650;
    list-style: none;
    transition: color 0.2s ease;
    user-select: none;
}
.menu-service summary:hover { color: var(--cobalt); }
.menu-service summary::-webkit-details-marker { display: none; }
.menu-service summary > span {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.menu-service summary > span::before, .menu-service summary > span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}
.menu-service summary > span::after { transform: rotate(90deg); }
.menu-service[open] summary > span::after { transform: rotate(0deg); opacity: 0; }
.menu-service[open] summary > span { transform: rotate(180deg); color: var(--cobalt); }
.menu-service summary:focus-visible, .menu-service a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.menu-service ul { display: grid; gap: .15rem; padding: 0.2rem 0 1.15rem; margin: 0; list-style: none; }
.menu-service li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-service[open] li {
    opacity: 1;
    transform: translateY(0);
}
.menu-service[open] li:nth-child(1) { transition-delay: 0.03s; }
.menu-service[open] li:nth-child(2) { transition-delay: 0.06s; }
.menu-service[open] li:nth-child(3) { transition-delay: 0.09s; }
.menu-service[open] li:nth-child(4) { transition-delay: 0.12s; }
.menu-service[open] li:nth-child(5) { transition-delay: 0.15s; }
.menu-service[open] li:nth-child(6) { transition-delay: 0.18s; }
.menu-service[open] li:nth-child(7) { transition-delay: 0.21s; }
.menu-service li a {
    display: inline-flex;
    align-items: center;
    padding: .45rem .45rem;
    border-radius: 6px;
    color: var(--ink-soft);
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.menu-service li a:hover {
    color: var(--cobalt);
    transform: translateX(4px);
    background: rgba(22, 54, 184, 0.05);
}
.menu-services + .menu-label { margin-top: clamp(2rem, 5vh, 3.5rem); }
.menu-open .menu { scroll-padding-top: 6rem; }

/* Homepage: an editorial service list that keeps the moving Blue backdrop. */
.page-home .bento-services { display: block; border-top: 1px solid rgba(255,255,255,.35); }
.page-home .bento-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) auto; gap: 1.5rem; align-items: start; padding: 1.7rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.page-home .bento-card::before { display: none; }
.page-home .bento-title { margin: 0; font-size: clamp(1.4rem,2vw,2rem); }
.page-home .bento-desc { margin: 0; color: #e5eaff; font-size: 1rem; }
.page-home .bento-bottom { padding: 0; border: 0; }
.page-home .bento-action { color: #bfcaff; }
.page-home .bento-card:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (hover:hover) { .page-home .bento-card:hover .bento-title { color: #bfcaff; } }
@media (max-width: 800px) { .page-home .bento-card { grid-template-columns: 1fr auto; gap: .7rem 1rem; } .page-home .bento-title { grid-column: 1; } .page-home .bento-desc { grid-column: 1 / -1; grid-row: 2; } .page-home .bento-bottom { grid-column: 2; grid-row: 1; } }
.home-perspectives { background: var(--cobalt); color: #fff; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 18px; }
.home-perspective { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.home-perspective:first-child { border-top: 1px solid rgba(255,255,255,.4); }
.home-perspective h3 { font-size: clamp(1.25rem,1.8vw,1.7rem); margin: 0; }
.home-perspective p { margin: 0; color: #e8edff; line-height: 1.4; }
.home-perspectives-end { color: #e8edff; margin: 2rem 0 0; font-weight: 650; }
@media (max-width: 600px) { .home-perspective { grid-template-columns: 1fr; gap: .4rem; } }

/* Keep the menu columns steady as service groups expand. */
.menu { overflow-y: scroll; scrollbar-gutter: stable; }
.menu-in { align-content: start; }
.menu-language-group { margin-top: clamp(2.5rem, 5vh, 3.5rem); }
.menu-language-group .menu-label { margin-bottom: .75rem; }
.menu-language-group .menu-sub { font-size: 1rem; }

/* A full-width, people-led introduction to BlueAgency. */
.home-people { position: relative; isolation: isolate; color: #fff; background: #101b32; overflow: hidden; }
.home-people-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.home-people::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,17,36,.94) 0%, rgba(8,17,36,.82) 34%, rgba(8,17,36,.16) 100%); }
.home-people-inner { min-height: clamp(32rem, 48vw, 44rem); display: flex; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.home-people-copy { max-width: 48rem; }
.home-people-copy h2 { font-size: clamp(2.2rem, 4.1vw, 4rem); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.home-people-copy p { max-width: 49ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; margin: 1.3rem 0 0; color: #eef2ff; }
.home-people-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.home-people-work { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.home-people-work .arrow { width: 1.15rem; }
@media (max-width: 700px) {
    .home-people-image { height: 47%; object-position: center; }
    .home-people::before { background: linear-gradient(180deg, transparent 12%, rgba(16,27,50,.24) 32%, #101b32 48%); }
    .home-people-inner { min-height: 0; display: block; padding-top: clamp(17rem, 69vw, 23rem); padding-bottom: 3.5rem; }
    .home-people-copy h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

.adsyno-logo-lockup { margin-bottom: 1.25rem; }
.adsyno-logo-lockup img { display: block; height: auto; max-width: 100%; }
.adsyno-head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2rem; }
.adsyno-ext-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--cobalt, #173bd7); text-decoration: underline; text-underline-offset: .25em; }
.adsyno-ext-link .arrow { width: 1.1rem; height: 1.1rem; }
.home-adsyno { background: #f5f8fd; }
.split--adsyno { align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.adsyno-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.adsyno-home-card { display: block; padding: 1.5rem; border-radius: 16px; background: #fff; border: 1px solid #dfe7f4; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.adsyno-home-card:hover { transform: translateY(-2px); border-color: #b7caef; box-shadow: 0 14px 30px rgba(14, 31, 97, .08); }
.adsyno-home-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -.02em; color: #0b1e46; }
.adsyno-home-card p { margin: 0; font-size: .96rem; line-height: 1.55; color: #4e5b70; }
.adsyno-band-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.adsyno-band-head h2 { margin: .5rem 0 1rem; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; color: #fff; }
.adsyno-band-head p { margin: 0; color: #cfd8ec; font-size: 1.08rem; line-height: 1.6; }
.eyebrow--light { color: #82dfff; }
.adsyno-pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.adsyno-pillar-card { display: flex; flex-direction: column; gap: .65rem; min-height: 14rem; }
.adsyno-pillar-tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #82dfff; }
.adsyno-audiences-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; margin-top: clamp(2rem, 3.5vw, 3rem); }
.adsyno-audience-card { padding: 1.85rem; border-radius: 16px; background: #f6f8fc; border: 1px solid #e1e8f3; }
.adsyno-audience-card h3 { margin: 0 0 .5rem; font-size: 1.3rem; letter-spacing: -.025em; }
.adsyno-audience-lead { margin: 0 0 .75rem; font-weight: 650; color: #173bd7; }
.adsyno-audience-body { margin: 0; color: #4e5b70; line-height: 1.6; }
.adsyno-visual-card { padding: clamp(2rem, 4vw, 3rem); border-radius: 20px; background: #f5f8fd; border: 1px solid #dfe7f4; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.adsyno-visual-card img { display: block; height: auto; max-width: 100%; }
.adsyno-visual-card p { margin: 0; color: #4e5b70; line-height: 1.6; }
@media (max-width: 960px) {
    .adsyno-pillars-grid, .adsyno-audiences-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .adsyno-home-grid, .adsyno-pillars-grid, .adsyno-audiences-grid { grid-template-columns: 1fr; }
}

/* AdSyno product page */
.adsyno-hero { padding: clamp(8rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 7rem); background: #f6f8fc; }
.adsyno-breadcrumb { display: flex; align-items: center; gap: .6rem; color: #53627a; font-size: .9rem; }
.adsyno-breadcrumb a { color: #334766; text-underline-offset: .2em; }
.adsyno-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); margin-top: clamp(2.7rem, 5vw, 5rem); }
.adsyno-hero-copy { min-width: 0; }
.adsyno-hero-logo { display: block; width: clamp(9rem, 14vw, 12rem); height: auto; margin-bottom: 1.6rem; }
.adsyno-hero h1 { max-width: 15ch; margin: 0; color: #0a1430; font-size: clamp(2.8rem, 4.8vw, 4.65rem); font-weight: 680; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.adsyno-hero-copy > p:not(.adsyno-maker) { max-width: 48ch; margin: 1.5rem 0 0; color: #43546d; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; }
.adsyno-action-secondary { display: inline-flex; align-items: center; gap: .5rem; color: #173bd7; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.adsyno-action-secondary .arrow { display: block; width: 1.1rem; height: 1.1rem; }
.adsyno-maker { margin: 2rem 0 0; color: #52647e; font-size: .9rem; }
.adsyno-site-preview { min-width: 0; margin: 0; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(24, 49, 99, .13); overflow: hidden; }
.adsyno-browser-bar { height: 2.5rem; display: flex; align-items: center; justify-content: center; position: relative; background: #eef2f8; color: #52647c; font-size: .75rem; }
.adsyno-browser-bar > span:first-child { position: absolute; left: 1rem; display: flex; gap: .3rem; }
.adsyno-browser-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: #a2b1c7; }
.adsyno-site-preview > a { display: block; overflow: hidden; }
.adsyno-site-preview img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.adsyno-site-preview figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 1rem 1.25rem; color: #30435f; font-size: .9rem; font-weight: 600; }
.adsyno-site-preview figcaption a { display: inline-flex; align-items: center; gap: .35rem; color: #173bd7; text-underline-offset: .2em; }
.adsyno-site-preview figcaption .arrow { width: 1rem; height: 1rem; }
.adsyno-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 2rem 5rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.adsyno-section-heading h2, .adsyno-integration h2 { max-width: 18ch; margin: 0; color: #0a1430; font-size: clamp(2rem, 3.8vw, 3.75rem); letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.adsyno-section-heading > p { max-width: 48ch; margin: 0; color: #4b5d76; font-size: 1.08rem; line-height: 1.6; }
.adsyno-product { background: #fff; }
.adsyno-product-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.adsyno-product-shot { min-width: 0; margin: 0; padding: clamp(.7rem, 1.2vw, 1.1rem); background: #f0f5fc; border-radius: 16px; }
.adsyno-product-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.adsyno-product-shot figcaption { display: grid; gap: .25rem; padding: 1rem .3rem .2rem; color: #4d5f79; font-size: .92rem; line-height: 1.45; }
.adsyno-product-shot figcaption strong { color: #101e37; font-size: 1.08rem; }
.adsyno-sample-note { margin: 1.2rem 0 0; color: #586982; font-size: .85rem; }
.adsyno-capabilities { padding-block: var(--block); color: #fff; background: #0b1831; }
.adsyno-section-heading--dark h2 { color: #fff; }
.adsyno-section-heading--dark > p { color: #d4deed; }
.adsyno-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.adsyno-module { padding: 1.65rem 0 2rem; border-top: 1px solid rgba(220, 234, 255, .28); }
.adsyno-module h3 { margin: 0 0 .7rem; color: #fff; font-size: 1.25rem; letter-spacing: -.02em; }
.adsyno-module p { max-width: 38ch; margin: 0; color: #d2dced; line-height: 1.6; }
.adsyno-audiences { background: #f8fafc; }
.adsyno-audience-list { border-top: 1px solid #d5dfed; }
.adsyno-audience-list article { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 1rem 4rem; padding: 1.8rem 0; border-bottom: 1px solid #d5dfed; }
.adsyno-audience-list h3 { margin: 0; color: #0a1430; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.025em; }
.adsyno-audience-list strong { display: block; color: #173bd7; font-size: 1.04rem; }
.adsyno-audience-list p { max-width: 57ch; margin: .6rem 0 0; color: #4b5d76; line-height: 1.6; }
.adsyno-integration { padding: clamp(4rem, 7vw, 6rem) 0; background: #eaf1fa; }
.adsyno-integration-inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 2rem 5rem; }
.adsyno-integration p { max-width: 52ch; margin: 0 0 1.4rem; color: #40536f; font-size: 1.08rem; line-height: 1.6; }
@media (max-width: 800px) {
    .adsyno-hero { padding-top: 8.5rem; }
    .adsyno-hero-grid, .adsyno-section-heading, .adsyno-integration-inner { grid-template-columns: 1fr; }
    .adsyno-hero-grid { gap: 3rem; }
    .adsyno-section-heading { gap: 1rem; }
    .adsyno-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .adsyno-hero { padding-top: 7rem; }
    .adsyno-hero-grid { margin-top: 2.25rem; }
    .adsyno-hero h1 { font-size: clamp(2.7rem, 11vw, 3.75rem); }
    .adsyno-head-actions { align-items: flex-start; gap: 1rem 1.4rem; }
    .adsyno-product-grid, .adsyno-modules, .adsyno-audience-list article { grid-template-columns: 1fr; }
    .adsyno-audience-list article { gap: .7rem; }
}

/* AdSyno: keep the mobile layout compact and the chat launcher out of the way. */
@media (max-width: 600px) {
    .page-adsyno .adsyno-hero { padding: 6.75rem 0 3.25rem; }
    .page-adsyno .adsyno-hero-grid { gap: 2rem; margin-top: 1.75rem; }
    .page-adsyno .adsyno-hero-logo { width: 9rem; margin-bottom: 1.25rem; }
    .page-adsyno .adsyno-hero h1 { max-width: none; font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1.08; }
    .page-adsyno .adsyno-hero-copy > p:not(.adsyno-maker) { margin-top: 1.1rem; font-size: 1rem; }
    .page-adsyno .adsyno-head-actions { display: grid; justify-items: start; gap: .85rem; margin-top: 1.5rem; }
    .page-adsyno .adsyno-head-actions .btn { max-width: 100%; min-height: 48px; justify-content: center; }
    .page-adsyno .adsyno-action-secondary { min-height: 44px; }
    .page-adsyno .adsyno-maker { margin-top: 1.1rem; }
    .page-adsyno .adsyno-site-preview figcaption { padding: .85rem 1rem; }
    .page-adsyno .adsyno-product, .page-adsyno .adsyno-capabilities, .page-adsyno .adsyno-audiences, .page-adsyno .adsyno-integration { padding-block: 3.5rem; }
    .page-adsyno .adsyno-section-heading { margin-bottom: 2rem; }
    .page-adsyno .adsyno-section-heading h2, .page-adsyno .adsyno-integration h2 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
    .page-adsyno .adsyno-section-heading > p, .page-adsyno .adsyno-integration p { font-size: 1rem; }
    .page-adsyno .adsyno-product-grid { gap: 1rem; }
    .page-adsyno .adsyno-module { padding: 1.35rem 0 1.5rem; }
    .page-adsyno .blue-chat__launch { width: 52px; height: 52px; padding: 0; justify-content: center; }
    .page-adsyno .blue-chat__launch span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
