/* Aoni site — design system and page styles (no framework) */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face {
    font-family: "Inter";
    src: url("../fonts/site/inter-var-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/site/instrument-serif-regular-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/site/instrument-serif-italic-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --paper: #eef7f2;
    --surface: #ffffff;
    --ink: #121722;
    --ink-2: #3c4351;
    --ink-3: #646b78;
    --line: #d6e7df;
    --line-2: #c2d8ce;

    --mint: #05bd93;          /* brand */
    --mint-hover: #04a682;
    --mint-deep: #06765d;     /* small text on light backgrounds (4.5:1) */
    --mint-strong: #029a77;   /* large text: closer to the brand, still 3:1 */
    --mint-soft: #dff4ec;
    --mint-line: #b7e3d2;


    --night: #0b1714;
    --night-2: #112420;
    --night-3: #17302a;
    --night-line: #22403a;
    --night-ink: #edf0f5;
    --night-ink-2: #a5aebd;

    /* the six dots of the logo */
    --dot-pink: #f2817f;
    --dot-cyan: #1fd1ec;
    --dot-lime: #cfe800;
    --dot-green: #2fd38a;
    --dot-orange: #ff9f2e;
    --dot-lilac: #bf8cff;

    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --wrap: clamp(1200px, 88vw, 1680px);
    --gutter: clamp(20px, 4vw, 40px);
    --radius: 14px;
    --radius-lg: 20px;
    --header-h: 84px;
    --shadow-card: 0 1px 0 rgba(18, 23, 34, .03), 0 24px 48px -28px rgba(18, 23, 34, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    /* 16px at 1440 wide, growing to 19px on large monitors; everything in rem scales with it */
    font-size: clamp(15px, 10px + .4167vw, 20.5px);
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.125rem;
    line-height: 1.6;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--mint-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 3px; border-radius: 6px; }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Type ---------- */
.display, .h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.display {
    font-size: clamp(3.1rem, 5.9vw, 5.8rem);
    line-height: 1;
    text-wrap: balance;
}
.h2 {
    font-size: clamp(2.5rem, 4.8vw, 4.3rem);
    line-height: 1.04;
    text-wrap: balance;
}
.display em, .h2 em { font-style: normal; color: var(--mint-strong); }
.lead {
    font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
    line-height: 1.55;
    color: var(--ink-2);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mint-deep);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--mint);
}
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mint); color: var(--ink); }
.btn-primary:hover { background: var(--mint-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #262d3b; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.is-scrolled {
    background: rgba(238, 247, 242, .88);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    position: relative;
    display: block;
    padding: 8px 15px;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(18, 23, 34, .05); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 1px;
    width: 4px; height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--mint);
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block;
    width: 18px; height: 1.6px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section {
    --pad: clamp(80px, 11vw, 140px);
    padding: var(--pad) 0;
    /* anchor jumps: skip most of the top padding, land just under the header */
    scroll-margin-top: calc(var(--header-h) + 40px - var(--pad));
}
.section-white { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(64px, 8vw, 104px);
    overflow: hidden;
    background: linear-gradient(180deg, #dcf3ea 0%, #e6f6ef 55%, var(--paper) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    width: 640px; height: 640px;
    left: -280px; bottom: -360px;
    background: radial-gradient(closest-side, rgba(5, 189, 147, .09), rgba(5, 189, 147, 0));
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(40px, 6vw, 88px);
    row-gap: clamp(40px, 4.5vw, 60px);
    align-items: center;
}
/* the main headline is set in Inter; section headings stay in the serif */
.hero .display {
    font-family: var(--sans);
    font-weight: 650;
    font-size: clamp(2.2rem, 4.15vw, 4.1rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.hero .lead { margin-top: 20px; max-width: 30em; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); }
.hero .lead-def { display: block; margin-top: 10px; font-size: 1.1rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.hero .lead-sub { display: block; margin-top: 6px; font-size: 1rem; line-height: 1.55; color: var(--ink-3); }
.hero .lead-sub.lead-sm { margin-top: 8px; font-size: .9rem; }
/* home B: definition and invitation at the same size; the invitation opens in green */
.hero .lead-eq { font-size: .94rem; line-height: 1.55; text-wrap: pretty; }
.hero .lead-def.lead-eq { margin-top: 22px; font-weight: 400; color: var(--ink-3); }
.hero .lead-sub.lead-eq { margin-top: 18px; font-size: .84rem; }
.finder-sm .finder-row input { font-size: .95rem; }
.hero .lead-eq b { color: var(--mint-deep); font-weight: 600; }
/* text marked as if with a highlighter pen */
.marker {
    padding: 0 .25em;
    margin-left: -.25em;
    background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C60 6 150 8 296 4 L294 31 C210 35 110 33 6 37 C3 28 6 18 4 10 Z' fill='rgba(25,245,150,.62)'/%3E%3Cpath d='M10 14 C90 11 190 12 290 9 L289 27 C200 30 100 29 9 32 Z' fill='rgba(25,245,150,.3)'/%3E%3C/svg%3E") no-repeat 0 55% / 100% 90%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
/* the hero's closing line: the pen sweeps in shortly after load */
.lead-close {
    background-size: 0% 90%;
    animation: highlight .7s cubic-bezier(.3, .7, .4, 1) 1.1s forwards;
}
@keyframes highlight { to { background-size: 100% 90%; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    padding-top: 28px;
    border-top: 1px solid var(--mint-line);
    font-size: .98rem;
    color: var(--ink-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.tick {
    flex: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tick svg { width: 11px; height: 11px; }

/* ---------- Agent run card (hero illustration) ---------- */
.run {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    font-size: 1rem;
    overflow: hidden;
}
.run .steps { flex: 1; }
/* content fades while one example swaps for the next */
.run-head, .run .steps, .run-foot { transition: opacity .35s ease; }
.run.is-swapping .run-head, .run.is-swapping .steps, .run.is-swapping .run-foot { opacity: 0; }
.run-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.run-agent {
    flex: none;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--ink);
    display: grid;
    place-items: center;
}
.run-agent .dots { width: 19px; height: 19px; display: block; }
.run-title { line-height: 1.3; min-width: 0; }
.run-title strong, .run-title span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-title strong { display: block; font-size: .98rem; }
.run-title span { font-size: .82rem; color: var(--ink-3); }
.status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--mint-soft);
    color: var(--mint-deep);
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
}
.status::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--mint);
    animation: pulse 1.8s ease-in-out infinite;
}
.status.is-waiting { background: var(--mint); color: var(--ink); }
.status.is-waiting::before { background: var(--ink); }
@keyframes pulse { 50% { opacity: .35; } }

.steps { padding: 12px 22px 6px; }
.step {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 0;
    position: relative;
}
.step + .step { border-top: 1px dashed var(--line); }
.step-icon {
    width: 22px; height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--ink);
}
.step-icon svg { width: 12px; height: 12px; }
.step-text { color: var(--ink); line-height: 1.45; }
.step-text small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.step-time { color: var(--ink-3); font-size: .8rem; font-variant-numeric: tabular-nums; padding-top: 2px; }

.step.is-gate .step-icon {
    background: var(--surface);
    border: 1.5px solid var(--mint);
    color: var(--mint-deep);
}
.gate {
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    background: var(--mint-soft);
    border: 1px solid var(--mint-line);
}
.gate p { font-size: .86rem; color: var(--ink-2); }
.gate p strong { color: var(--ink); }
.gate-who {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: .82rem;
    color: var(--ink-2);
}
.avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--dot-lilac);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: .68rem;
    font-weight: 700;
}
.gate-actions { display: flex; gap: 8px; margin-top: 12px; }
.gate-actions .btn { padding: 8px 14px; font-size: .84rem; }
.gate-actions .btn-ghost { background: var(--surface); }

.run-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    background: #f8fbfa;
    font-size: .82rem;
    color: var(--ink-3);
}
.run-foot span { display: inline-flex; align-items: center; gap: 8px; }
.run-foot svg { width: 15px; height: 15px; color: var(--mint-deep); }
.run-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}
#run-want { margin-left: auto; }
/* one bar per use case: filled = seen, the current one fills while it is shown */
.run-dots { display: none; flex: 1 1 220px; gap: 4px; max-width: 360px; }
.js .run-dots { display: flex; }
.run-dots button {
    flex: 1;
    min-width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--mint-line);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.run-dots button::before {
    /* bigger tap target than the 6px bar */
    content: "";
    position: absolute;
    inset: -8px 0;
}
.run-dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--mint);
}
.run-dots button.is-done::after { transform: scaleX(1); }
.run-dots button[aria-current="true"]::after { animation: fill var(--dwell, 5s) linear forwards; }
.run-dots.is-paused button[aria-current="true"]::after { animation-play-state: paused; }
.run-dots button[aria-current="true"].is-held::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* steps play in on load (only when JS is running) */
.run.is-live .step[data-play] { opacity: 0; transform: translateY(6px); }
.run.is-live .step[data-play].is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }

/* ---------- How it works ---------- */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    counter-reset: how;
}
.how-card {
    position: relative;
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
    padding: 32px 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
}
.how-card .num {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 20px;
}
.how-card .num::after {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--c, var(--mint));
}
.how-card h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.how-card p { color: var(--ink-2); font-size: .98rem; }
.how-card .ticks { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.how-card .ticks li { font-size: .95rem; }

/* ---------- Platform ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.feature {
    padding: 34px 30px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.feature .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--mint-deep);
    font-size: 22px;
    margin-bottom: 22px;
}
.feature h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.ticks li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-2);
    font-size: .95rem;
    line-height: 1.5;
}
.ticks li + li { margin-top: 8px; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 3px; top: calc(.75em - 3px);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mint);
}

/* ---------- Smart UI (dark) ---------- */
.section-dark {
    background: var(--night);
    color: var(--night-ink);
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: "";
    position: absolute;
    width: 1000px; height: 1000px;
    left: 50%; top: -620px;
    margin-left: -500px;
    background: radial-gradient(closest-side, rgba(5, 189, 147, .14), rgba(5, 189, 147, 0));
    pointer-events: none;
}
.section-dark .h2 { color: var(--night-ink); }
.section-dark .eyebrow { color: var(--mint); }
.section-dark .lead { color: var(--night-ink-2); }
.sui-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.sui-intro .lead { margin-top: 24px; color: var(--night-ink); }
.sui-intro p.more { margin-top: 18px; color: var(--night-ink-2); }

.cmd {
    border: 1px solid var(--night-line);
    background: linear-gradient(180deg, var(--night-3), var(--night-2));
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.cmd-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .03);
}
.cmd-bar svg { flex: none; width: 18px; height: 18px; color: var(--night-ink-2); }
.cmd-text { flex: 1; min-width: 0; color: var(--night-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-text .caret {
    display: inline-block;
    width: 1.5px; height: 1.1em;
    margin-left: 1px;
    vertical-align: -0.18em;
    background: var(--mint);
    animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.kbd {
    flex: none;
    padding: 3px 8px;
    border: 1px solid var(--night-line);
    border-bottom-width: 2px;
    border-radius: 7px;
    font-size: .74rem;
    color: var(--night-ink-2);
}
.mic {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(5, 189, 147, .14);
    color: var(--mint);
}
.mic svg { width: 15px; height: 15px; color: var(--mint); }
.cmd-hint {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px 8px;
    font-size: .76rem;
    color: var(--night-ink-2);
}

.sui-products { margin-top: 28px; }
.sui-product {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--night-line);
}
.sui-product:last-child { border-bottom: 1px solid var(--night-line); }
.sui-product .ico {
    width: 40px; height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--night-3);
    border: 1px solid var(--night-line);
    color: var(--mint);
    font-size: 20px;
}
.sui-quote {
    position: relative;
    margin: clamp(64px, 8vw, 110px) 0 0;
    padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--night-line);
    text-align: center;
}
.sui-quote::before {
    /* the brand dot, as an opening mark */
    content: "";
    position: absolute;
    top: -6px; left: 50%;
    width: 12px; height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 6px var(--night);
}
.sui-quote p {
    max-width: 22em;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--night-ink);
    text-wrap: balance;
}
.sui-quote em { font-style: normal; color: var(--mint); }
.sui-product h3 { font-size: 1.02rem; font-weight: 600; color: var(--night-ink); }
.sui-product p { margin-top: 3px; font-size: .94rem; color: var(--night-ink-2); }

/* ---------- Skills ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
}
.skill {
    padding: 26px 26px 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.skill:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.skill-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.skill-head i {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--mint-soft);
    color: var(--mint-deep);
    font-size: 19px;
}
.skill h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.skill { display: flex; flex-direction: column; }
.skill .ticks { margin-top: 16px; }
.skill-desc { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.skill-uses {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
}
.skill-uses span {
    width: 100%;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 2px;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--mint-line);
    background: var(--mint-soft);
    color: var(--mint-deep);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }

/* the skill every agent has, across the full width */
.skill-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 16px 48px;
    align-items: start;
    padding: 24px 28px 22px;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--night-ink);
}
.skill-featured:hover { border-color: var(--ink); }
.skill-featured h3 { color: var(--night-ink); font-size: 1.3rem; }
.skill-featured .skill-head i { background: rgba(5, 189, 147, .16); color: var(--mint); }
.skill-featured .skill-desc { color: var(--night-ink); font-size: 1.1rem; margin-top: 4px; }
.skill-featured .skill-note { margin-top: 8px; font-size: .88rem; color: var(--night-ink-2); }
.skill-featured .ticks { margin-top: 0; columns: 2; column-gap: 32px; }
.skill-featured .ticks li { color: var(--night-ink-2); break-inside: avoid; margin: 0 0 10px; }
.skill-featured .ticks li + li { margin-top: 0; }

/* a two-line intro, so the carousel is already in view on arrival */
#skills .section-head { max-width: 1080px; margin-bottom: clamp(32px, 4vw, 44px); }

/* the other skills: a sideways carousel, three at a time */
.skills-carousel { grid-column: 1 / -1; min-width: 0; }
.skills-track {
    --per: 3.2;
    --gap: clamp(14px, 1.6vw, 20px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* room for the hover lift and shadow */
    padding: 6px 0 24px;
    margin: -6px 0 -24px;
}
.skills-track::-webkit-scrollbar { display: none; }
.skills-track.has-more {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent);
}
.skills-track > .skill { scroll-snap-align: start; padding: 22px 22px 24px; }
.skills-track .skill-head { margin-bottom: 10px; }
.skills-track .skill h3 { font-size: 1.02rem; }
.skills-track .skill-desc { font-size: .9rem; }
.skills-track .ticks { margin-top: 12px; }
.skills-track .ticks li { font-size: .88rem; }
.skills-track .ticks li + li { margin-top: 5px; }
.skills-track .skill-uses { padding-top: 16px; }
.skills-track .chip { font-size: .78rem; padding: 4px 10px; }
.skills-track:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: var(--radius); }
.skills-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin: 20px 0 0;
}
.skills-btns { display: flex; gap: 10px; }
.skills-btn {
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--surface);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.skills-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.skills-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Projects ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 0 clamp(40px, 6vw, 96px);
    align-items: start;
}
/* the eyebrow sits above both columns, so the cards start level with the heading */
.projects-eyebrow { grid-column: 1 / -1; justify-self: start; }
/* nudge down by the space above the capitals, so card tops meet the top of "When" */
.projects-grid .project-list { margin-top: calc(clamp(2.5rem, 4.8vw, 4.3rem) * .142); }
.projects-grid .lead { margin-top: 24px; }
.projects-grid .btn { margin-top: 32px; }
.project-list { display: grid; gap: 12px; }
.project-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}
.project-item .ico {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    font-size: 22px;
}
.project-item h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.project-item p { color: var(--ink-2); font-size: .97rem; }
.project-kinds-label { margin-top: 30px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.project-kinds { margin-top: 14px; }

/* ---------- Closing statement ---------- */
.closing {
    padding: clamp(90px, 12vw, 160px) 0 clamp(190px, 19vw, 300px);
    background:
        url(../images/mountains.svg?v=25) center bottom / max(100%, 1100px) auto no-repeat,
        radial-gradient(60% 80% at 50% 0%, rgba(5, 189, 147, .16), rgba(5, 189, 147, 0) 70%),
        var(--mint-soft);
    text-align: center;
    /* fills a screen of its own when you step to it */
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.closing > .wrap { position: relative; z-index: 1; }

/* a layer laid exactly over the mountains (same size and anchor as the
   background), holding two small secrets: the fire and the headstone */
.peaks {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: max(100%, 1100px);
    aspect-ratio: 1600 / 420;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
}
.peaks-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bouquet-2 { opacity: 0; transform: translateY(-6px); transition: opacity .7s ease, transform .7s ease; }
.flower-left .bouquet-2 { opacity: 1; transform: none; }
.spot {
    position: absolute;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.spot:focus { outline: none; }
.spot:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.peak-link { fill: transparent; pointer-events: all; cursor: pointer; transition: fill .3s ease; }
.peak-link:hover { fill: rgba(255, 236, 160, .35); }
/* the smoke and the fire on the summit */
.spot-fire { left: calc(980 / 1600 * 100%); top: calc(185 / 420 * 100%); width: 40px; height: 76px; }
/* the fire catches the eye with a glint, like sunlight off a mirror: twice when the
   section first comes into view, then faintly every 10-15 seconds (timed in js/campfire.js) */
.fire-glow {
    position: absolute;
    left: calc(978 / 1600 * 100%);
    top: calc(209 / 420 * 100%);
    width: 104px; height: 104px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0, #fffbd6 7%, rgba(255, 216, 40, .85) 15%, rgba(255, 216, 40, .3) 26%, rgba(255, 216, 40, 0) 40%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}
.fire-glow::before, .fire-glow::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    border-radius: 2px;
    /* the glow follows the taper of each ray */
    filter: drop-shadow(0 0 3px rgba(255, 205, 30, .95));
}
.fire-glow::before { width: 100%; height: 3px; transform: translate(-50%, -50%); background: linear-gradient(90deg, rgba(255, 250, 210, 0), rgba(255, 246, 190, .7) 30%, #fff 50%, rgba(255, 246, 190, .7) 70%, rgba(255, 250, 210, 0)); }
.fire-glow::after { width: 3px; height: 72%; transform: translate(-50%, -50%); background: linear-gradient(0deg, rgba(255, 250, 210, 0), rgba(255, 246, 190, .7) 30%, #fff 50%, rgba(255, 246, 190, .7) 70%, rgba(255, 250, 210, 0)); }
/* the headstone */
.spot-grave { left: calc(600 / 1600 * 100%); top: calc(367 / 420 * 100%); width: 36px; height: 32px; }
.spot-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 2px);
    transform: translate(-50%, 6px);
    white-space: nowrap;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--mint-line);
    box-shadow: 0 8px 20px -10px rgba(18, 23, 34, .35);
    color: var(--ink);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.spot-fire .spot-tip {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    padding: 4px 14px 6px;
}
.spot-grave .spot-tip::before {
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--dot-pink);
    vertical-align: 1px;
}
.spot:hover .spot-tip,
.spot:focus .spot-tip,
.spot.is-telling .spot-tip { opacity: 1; transform: translate(-50%, 0); }
.closing .display { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.closing p { max-width: 36em; margin: 26px auto 0; }
.closing .btn { margin-top: 36px; }
/* "Come join us" as a flickering hologram: after a pause it stutters into view,
   holds, wavers, then cuts out and comes back */
.btn-holo {
    position: relative;
    overflow: hidden;
    color: #067a60;
    background: rgba(18, 205, 150, .12);
    border: 1px solid rgba(18, 205, 150, .7);
    box-shadow: 0 0 22px rgba(18, 205, 150, .42), inset 0 0 14px rgba(18, 205, 150, .25);
    text-shadow: 0 0 8px rgba(18, 205, 150, .75);
}
.js .btn-holo { opacity: 0; }
.btn-holo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(18, 205, 150, .2) 2px 3px);
    background-size: 100% 6px;
    animation: holo-scan 1.4s linear infinite;
    pointer-events: none;
}
.btn-holo .holo-text { position: relative; display: inline-block; }
/* starts once the section is in view: the fire glints (0.8s–5.2s), then two seconds later the hologram */
.is-visible > .btn-holo { animation: holo-cycle 8s linear 7.2s infinite backwards; }
.is-visible > .btn-holo .holo-text { animation: holo-jitter 8s linear 7.2s infinite; }
/* looking at it (or tabbing to it) holds it steady */
.js .btn-holo:hover, .js .btn-holo:focus-visible, .is-visible > .btn-holo:hover, .is-visible > .btn-holo:focus-visible { animation: none; opacity: 1; }
.btn-holo:hover .holo-text, .btn-holo:focus-visible .holo-text { animation: none; }
.btn-holo:hover { background: rgba(18, 205, 150, .2); }
@keyframes holo-cycle {
    0% { opacity: 0; }
    /* about a second and a half of stuttering in, with the static */
    2% { opacity: .5; }
    3.5% { opacity: .05; }
    5% { opacity: .65; transform: translateX(2px); }
    6% { opacity: .15; transform: none; }
    8.5% { opacity: .8; }
    10% { opacity: .3; transform: skewX(6deg); }
    12% { opacity: .9; transform: none; }
    13.5% { opacity: .5; }
    15.5% { opacity: 1; }
    17% { opacity: .75; }
    18.5% { opacity: 1; }
    36% { opacity: 1; }
    36.6% { opacity: .7; }
    37.2% { opacity: 1; }
    50% { opacity: 1; }
    50.5% { opacity: .82; }
    51% { opacity: 1; }
    61% { opacity: 1; transform: none; }
    62.5% { opacity: .45; transform: translateX(3px) skewX(10deg); }
    63.5% { opacity: .95; transform: translateX(-2px) skewX(-6deg); }
    65% { opacity: .3; transform: translateX(4px) scaleY(.85); }
    66.5% { opacity: .75; transform: none; }
    68% { opacity: .15; transform: scaleY(.5); }
    69.5% { opacity: 0; transform: scaleY(.04); }
    100% { opacity: 0; transform: scaleY(.04); }
}
@keyframes holo-scan { from { background-position: 0 0; } to { background-position: 0 6px; } }
@keyframes holo-jitter {
    0%, 4%, 6%, 9%, 11%, 25%, 27%, 52%, 54%, 100% { transform: none; }
    5% { transform: translateX(-2px); }
    10% { transform: translateX(2px); }
    26% { transform: translateX(1.5px); }
    53% { transform: translateX(-1.5px); }
}
@media (prefers-reduced-motion: reduce) {
    .js .btn-holo, .is-visible > .btn-holo { animation: none; opacity: 1; }
    .btn-holo .holo-text, .btn-holo::before { animation: none; }
}
.dotrow { display: flex; justify-content: center; gap: 8px; margin-bottom: 34px; }
.dotrow span { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.contact-grid .lead { margin-top: 24px; }
.contact-reasons { margin-top: 32px; display: grid; gap: 10px; }
.contact-reasons li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.4vw, 40px);
    box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--paper);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0aa; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--mint-deep);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(5, 189, 147, .15);
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--ink-3); font-size: .82rem; }
.form-foot small a { color: var(--ink-2); }
.form-msg { display: none; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.form-msg.is-error { display: block; background: #fdecea; color: #a1281b; }
.form-msg.is-success { display: block; background: var(--mint-soft); color: var(--mint-deep); margin: 16px 0 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--night);
    color: var(--night-ink-2);
    padding: 72px 0 36px;
    font-size: .94rem;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--night-line);
}
.footer-brand img { height: 28px; width: auto; }
/* same serif as the section headings ("Let’s talk."), smaller */
.footer-brand p { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: #fff; line-height: 1.3; }
/* on the dark footer: the pen has gone over it three times */
.footer-brand .marker {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C60 6 150 8 296 4 L294 31 C210 35 110 33 6 37 C3 28 6 18 4 10 Z' fill='rgba(25,245,150,.62)'/%3E%3Cpath d='M10 14 C90 11 190 12 290 9 L289 27 C200 30 100 29 9 32 Z' fill='rgba(25,245,150,.3)'/%3E%3Cpath d='M2 7 C80 9 170 5 298 8 L297 24 C190 21 100 25 3 22 C1 17 3 12 2 7 Z' fill='rgba(25,245,150,.28)'/%3E%3C/svg%3E");
}
.footer-nav { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--night-ink-2); }
.footer-nav a:hover { color: var(--night-ink); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 28px;
    font-size: .84rem;
}
.footer-bottom a { color: var(--night-ink-2); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Cookie banner (markup/script unchanged, restyled) ---------- */
#aoni-cookie-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 300;
    display: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--night);
    color: var(--night-ink);
    border: 1px solid var(--night-line);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
}
#aoni-cookie-banner.show { display: block; }
#aoni-cookie-banner .aoni-cc-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
#aoni-cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .88rem; line-height: 1.5; color: var(--night-ink-2); }
#aoni-cookie-banner a { color: var(--night-ink); }
#aoni-cookie-banner .aoni-cc-actions { display: flex; gap: 8px; }
#aoni-cookie-banner button {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
}
#aoni-cc-reject { background: transparent; color: var(--night-ink); border-color: var(--night-line) !important; }
#aoni-cc-reject:hover { border-color: var(--night-ink-2) !important; }
#aoni-cc-accept { background: var(--mint); color: var(--ink); }
#aoni-cc-accept:hover { background: var(--mint-hover); }

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + 56px) 0 100px; }
.legal .wrap { max-width: calc(780px + var(--gutter) * 2); }
.legal .updated { color: var(--ink-3); margin: 14px 0 40px; font-size: .92rem; }
.legal h2 {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 44px 0 12px;
}
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--mint-deep); }
.legal table { width: 100%; min-width: 600px; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); }
.table-scroll { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-links a { padding: 8px 10px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .skill-featured { grid-template-columns: minmax(0, 1fr); }
    .skills-track { --per: 2.2; }
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px var(--gutter) 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 30px 40px -30px rgba(18, 23, 34, .3);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
    .nav-open .site-header { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .nav-links a:hover { background: transparent; }
    .nav-links a.active::after { left: auto; right: 6px; top: 50%; margin-top: -2px; }
    .nav-cta { margin: 18px 0 0; }

    .hero-grid, .sui-grid, .projects-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { max-width: 600px; }
    .how-grid { grid-template-columns: minmax(0, 1fr); }
    .projects-grid .project-list { margin-top: 44px; }
}
@media (max-width: 640px) {
    :root { --header-h: 70px; }
    body { font-size: 1.0625rem; }
    .brand img { height: 30px; }
    .feature-grid, .skills-grid { grid-template-columns: minmax(0, 1fr); }
    .skill-featured { grid-template-columns: minmax(0, 1fr); }
    .skill-featured .ticks { columns: 1; }
    /* cards run to the screen edge so the next one peeks in */
    .skills-track {
        grid-auto-columns: calc(100% - 2 * var(--gutter) - 34px);
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }
    .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hero-actions .btn { flex: 1 1 auto; }
    .step { grid-template-columns: 22px minmax(0, 1fr); }
    .step-time { display: none; }
    .run-head { padding: 16px; }
    .run-title span { font-size: .78rem; }
    .cmd-hint span:first-child { display: none; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .run.is-live .step[data-play] { opacity: 1 !important; transform: none !important; }
    .lead-close { background-size: 100% 90%; }
}

/* ---------- The campfire (opens from the fire in the closing section) ---------- */
.campfire {
    padding: 0;
    border: 0;
    background: transparent;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
}
.campfire[open] { display: grid; place-items: center; }
.campfire::backdrop { background: rgba(5, 12, 10, .72); backdrop-filter: blur(3px); animation: cf-fade .5s ease both; }
.cf-panel {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    border-radius: 22px;
    overflow: hidden auto;
    scrollbar-width: thin;
    background: #0b1714;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
    color: var(--night-ink);
    /* opens from the fire on the page: starts tiny at that point and grows */
    animation: cf-zoom .8s cubic-bezier(.2, .8, .2, 1) both;
}
.cf-stage { overflow: hidden; }
/* on short screens the sky is trimmed so the people and the form still fit */
.cf-scene { display: block; width: 100%; height: auto; aspect-ratio: 800 / 460; max-height: calc(100vh - 390px); min-height: 180px; animation: cf-dolly 1.6s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 50% 70%; }
.campfire.is-closing .cf-panel { animation: cf-zoom .32s ease-in reverse both; }
.campfire.is-closing::backdrop { animation: cf-fade .32s ease reverse both; }
@keyframes cf-zoom {
    from { transform: translate(var(--ox, 0), var(--oy, 0)) scale(.03); opacity: 0; border-radius: 50%; }
    35% { opacity: 1; }
    to { transform: none; opacity: 1; border-radius: 22px; }
}
@keyframes cf-dolly { from { transform: scale(1.35); } to { transform: none; } }
@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }

.cf-close {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 38px; height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(237, 240, 245, .25);
    background: rgba(11, 23, 20, .55);
    color: var(--night-ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.cf-close:hover { background: rgba(237, 240, 245, .15); }
.cf-sound {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(237, 240, 245, .25);
    background: rgba(11, 23, 20, .55);
    color: var(--night-ink);
    cursor: pointer;
}
.cf-sound:hover { background: rgba(237, 240, 245, .15); }
.cf-sound svg { width: 20px; height: 20px; }
.cf-sound .cf-x { display: none; }
.cf-sound[aria-pressed="false"] .cf-waves { display: none; }
.cf-sound[aria-pressed="false"] .cf-x { display: inline; }

/* the fire */
.cf-flames path { transform-box: fill-box; transform-origin: 50% 100%; animation: cf-flicker 1.1s ease-in-out infinite alternate; }
.cf-flames .f2 { animation-duration: .8s; animation-delay: -.3s; }
.cf-flames .f3 { animation-duration: .6s; animation-delay: -.1s; }
@keyframes cf-flicker {
    0% { transform: scale(1, 1) skewX(0deg); }
    40% { transform: scale(.94, 1.08) skewX(-3deg); }
    100% { transform: scale(1.04, .93) skewX(2deg); }
}
.cf-glow { animation: cf-glow 2.4s ease-in-out infinite alternate; }
@keyframes cf-glow { from { opacity: .35; } to { opacity: .6; } }
.cf-spark { animation: cf-spark 2.6s ease-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes cf-spark {
    0% { transform: translate(0, 0); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translate(var(--x), -90px); opacity: 0; }
}
.cf-smoke path { animation: cf-smoke 6s ease-in-out infinite alternate; }
@keyframes cf-smoke { from { opacity: .5; } to { opacity: 1; } }

/* who is talking: breath in the cold air; the robot's light pulses instead */
.cf-breath circle { opacity: 0; transform-box: fill-box; transform-origin: center; filter: blur(1.4px); }
.cf-person.is-talking .cf-breath circle { animation: cf-breath 1.6s ease-out infinite; }
.cf-person.is-talking .cf-breath circle:nth-child(2) { animation-delay: .5s; }
.cf-person.is-talking .cf-breath circle:nth-child(3) { animation-delay: 1s; }
@keyframes cf-breath {
    0% { opacity: 0; transform: translate(0, 0) scale(.4); }
    25% { opacity: .38; }
    100% { opacity: 0; transform: translate(14px, -10px) scale(2.4); }
}
.cf-led { transition: fill .2s; }
.cf-person.is-talking .cf-led, .cf-person.is-talking .cf-eye { animation: cf-led .5s steps(2, jump-none) infinite; }
.cf-person.is-talking .cf-eye { animation-name: cf-eye; }
@keyframes cf-eye { from { stroke: #2fd38a; } to { stroke: #b6ffd9; } }
@keyframes cf-led { from { fill: #2fd38a; } to { fill: #b6ffd9; } }

/* subtitles, then the invitation */
.cf-bottom {
    position: relative;
    min-height: 116px;
    padding: 22px clamp(18px, 4vw, 40px) 24px;
    display: grid;
    place-items: center;
    text-align: center;
    background: #0b1714;
    border-top: 1px solid var(--night-line);
}
.cf-line {
    max-width: 34em;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    line-height: 1.25;
    color: var(--night-ink);
}
.cf-line.is-in { animation: cf-line .45s ease both; }
@keyframes cf-line { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cf-skip {
    position: absolute;
    right: 14px; bottom: 12px;
    padding: 4px 10px;
    border: 0;
    background: none;
    color: var(--night-ink-2);
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
}
.cf-skip:hover { color: var(--night-ink); text-decoration: underline; }
.cf-form { width: min(520px, 100%); }
.cf-form.is-in { animation: cf-line .5s ease both; }
.cf-invite { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; }
.cf-invite span { display: block; margin-top: 4px; font-family: var(--sans, inherit); font-size: .95rem; color: var(--night-ink-2); }
.cf-row { display: flex; gap: 10px; margin-top: 16px; }
.cf-row input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--night-line);
    background: var(--night-2);
    color: var(--night-ink);
    font: inherit;
    font-size: 1rem;
}
.cf-row input[type="email"]::placeholder { color: var(--night-ink-2); }
.cf-row input[type="email"]:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.cf-row .btn { flex: none; }
.cf-row[hidden] { display: none; }
.cf-form textarea {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--night-line);
    background: var(--night-2);
    color: var(--night-ink);
    font: inherit;
    font-size: 1rem;
    line-height: 1.45;
    resize: vertical;
    min-height: 74px;
}
.cf-form textarea::placeholder { color: var(--night-ink-2); }
.cf-form textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.cf-form textarea[hidden], .cf-send[hidden] { display: none; }
.cf-send { display: flex; justify-content: center; margin-top: 12px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cf-msg { margin-top: 10px; min-height: 1.2em; font-size: .9rem; color: var(--night-ink-2); }
.cf-msg.is-error { color: #ff9b97; }
@media (max-width: 560px) {
    .cf-row { flex-direction: column; }
    .cf-bottom { min-height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
    .cf-panel, .cf-scene { animation: none; }
}

/* ---------- AI Opportunity Finder (in the hero) ---------- */
.finder { margin-top: 28px; max-width: 34em; }
.finder-step[hidden], .finder-err[hidden] { display: none; }
.finder-step > label { display: block; font-size: clamp(1.3rem, 1.05rem + 1vw, 2rem); line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.finder-step > label strong { font-weight: 650; }
.finder-row {
    display: flex; gap: 6px; padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    box-shadow: 0 10px 30px -18px rgba(6, 118, 93, .45);
    transition: border-color .2s, box-shadow .2s;
}
.finder-row:focus-within { border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(5, 189, 147, .15); }
.finder-row input {
    flex: 1; min-width: 0;
    padding: 10px 16px; border: 0; background: none;
    font-size: 1.05rem; color: var(--ink);
}
.finder-row input:focus { outline: none; }
.finder-row input::placeholder { color: #9aa0aa; }
.finder-row .btn { flex: none; padding: 12px 22px; border-radius: 9px; }
.finder-row .btn[disabled] { opacity: .6; cursor: progress; }
.finder-note { margin: 10px 0 0 4px; font-size: .86rem; color: var(--ink-3); }
.finder-note a { color: var(--ink-3); }
.finder-note strong { color: var(--ink-2); font-weight: 600; word-break: break-word; }
.finder-err { margin: 8px 0 0 4px; font-size: .88rem; color: #a1281b; }
.finder-change {
    margin-left: 6px; padding: 0; border: 0; background: none;
    color: var(--mint-deep); font: inherit; font-weight: 500;
    text-decoration: underline; cursor: pointer;
}
.finder-done {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--surface); border: 1px solid var(--mint-line); border-radius: 14px;
    outline: none;
}
.finder-done[hidden] { display: none; }
.finder-done p { margin: 0; color: var(--ink-2); }
.finder-done strong { color: var(--ink); }
.finder-done span:not(.finder-tick) { color: var(--ink); font-weight: 600; word-break: break-word; }
.finder-tick {
    flex: none; display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--mint-soft); color: var(--mint-deep);
}
.finder-tick svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
    .finder-row { flex-direction: column; }
    .finder-row .btn { width: 100%; }
}
/* short laptop screens: keep the website box inside the first view */
@media (min-width: 901px) and (max-height: 820px) {
    .hero { padding-top: calc(var(--header-h) + 36px); }
    .hero .lead { margin-top: 20px; }
    .finder { margin-top: 24px; }
    }

/* ---------- /discover: analysis, snapshot, email ---------- */
.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; }
.discover-page { background: linear-gradient(180deg, #dcf3ea 0%, #e6f6ef 40%, var(--paper) 100%); min-height: 100vh; }
.discover-header { position: absolute; }
.discover { padding: calc(var(--header-h) + clamp(28px, 4.5vw, 64px)) 0 clamp(56px, 7vw, 96px); }
.dv-state[hidden] { display: none; }
.dv-analysing, .dv-done { max-width: 760px; margin: clamp(20px, 5vw, 60px) auto 0; }
.dv-title {
    font-family: var(--sans);
    font-weight: 650;
    font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--ink);
    word-break: break-word;
}
.dv-host { color: var(--mint-strong); }
.dv-progress { margin-top: 32px; height: 6px; border-radius: 99px; background: var(--mint-line); overflow: hidden; }
.dv-progress span { display: block; height: 100%; width: 0; background: var(--mint); border-radius: inherit; transition: width 1.2s cubic-bezier(.3, .7, .4, 1); }
.dv-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; font-size: 1.05rem; color: var(--ink-3); }
.dv-steps li { display: flex; align-items: center; gap: 12px; opacity: .45; transition: opacity .4s, color .4s; }
.dv-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); box-sizing: border-box; }
.dv-steps li.is-active { opacity: 1; color: var(--ink); }
.dv-steps li.is-active::before { border-color: var(--mint); border-right-color: transparent; animation: dv-spin .8s linear infinite; }
.dv-steps li.is-done { opacity: 1; color: var(--ink-2); }
.dv-steps li.is-done::before {
    border: 0; background: var(--mint) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23121722' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.2 2.2L9.5 3.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@keyframes dv-spin { to { transform: rotate(360deg); } }

/* two columns: pitch + email on the left, the snapshot card on the right */
.dv-result { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.dv-understood { margin-top: 16px; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.dv-understood > span:first-child { font-weight: 600; color: var(--ink); }
.dv-understood strong { color: var(--ink); font-weight: 600; word-break: break-word; }
.dv-understood em { display: block; margin-top: 6px; font-style: normal; font-size: .92rem; color: var(--ink-3); }
.dv-mail { margin-top: 28px; padding: clamp(20px, 2.6vw, 28px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.dv-mail h2 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
.dv-mail-lead { margin: 8px 0 18px; color: var(--ink-2); line-height: 1.55; font-size: .98rem; }
.dv-mail .finder-row { box-shadow: none; }
.dv-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.dv-check[hidden] { display: none; }
.dv-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--mint-deep); flex: none; }
.dv-check small { font-size: inherit; color: var(--ink-3, #6b7280); }
.dv-mail .finder-note { margin: 22px 0 0; font-size: .75rem; line-height: 1.5; }

.dv-card { padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.dv-card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dv-card-kicker { display: block; font-size: .76rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dv-card-title { display: block; margin-top: 4px; font-size: 1.6rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.dv-revenue { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.dv-revenue-box { display: flex; align-items: center; gap: 2px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); font-size: 1rem; font-weight: 600; color: var(--ink); }
.dv-revenue-box:focus-within { border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(5, 189, 147, .15); }
.dv-revenue input { width: 8.5em; border: 0; background: none; font: inherit; color: inherit; outline: none; }
.dv-revenue em { font-style: normal; font-weight: 500; }
.dv-revenue-box { padding-right: 4px; }
.dv-step { display: flex; flex-direction: column; margin-left: 4px; }
.dv-step button { display: grid; place-items: center; width: 22px; height: 15px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--ink-3); cursor: pointer; }
.dv-step button:hover { background: var(--mint-soft); color: var(--mint-deep); }
.dv-step svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dv-rows { display: grid; }
.dv-row {
    display: grid; grid-template-columns: 1.1fr .9fr 1.3fr; gap: 6px 14px; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--line);
}
.dv-row-name strong { display: block; color: var(--ink); }
.dv-row-name small { font-size: .82rem; color: var(--ink-3); }
.dv-row-count { color: var(--ink-3); font-size: .9rem; }
.dv-row-count b { font-size: 1.5rem; font-weight: 650; color: var(--ink); margin-right: 4px; }
.dv-row-roi { text-align: right; }
.dv-row-roi span { display: block; font-size: .82rem; color: var(--ink-3); }
.dv-row-roi b { font-size: 1.15rem; font-weight: 650; color: var(--mint-deep); }
.dv-row-bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 99px; background: var(--mint-soft); }
.dv-row-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--mint); transition: left .4s, width .4s; }
.dv-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; }
.dv-total-row span { font-weight: 600; color: var(--ink); }
.dv-total-row b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.dv-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 18px; margin-top: 18px; }
.dv-qw { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 14px; background: var(--mint-soft); }
.dv-qw-n { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--mint-deep); }
.dv-qw-l { font-weight: 650; color: var(--ink); }
.dv-qw small { margin-top: 4px; font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.dv-fns-l { display: block; margin-bottom: 8px; font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dv-fn { display: grid; grid-template-columns: minmax(0, 1fr) 60px 20px; gap: 8px; align-items: center; padding: 3px 0; font-size: .86rem; color: var(--ink); }
.dv-fn-name { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-fn-name i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.dv-fn-bar { height: 6px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.dv-fn-bar b { display: block; height: 100%; border-radius: inherit; }
.dv-fn-n { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.dv-starts ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--ink); }
.dv-starts ol li::marker { color: var(--mint-deep); font-weight: 700; }
.dv-watch { margin-top: 14px; color: var(--ink-2); }
.dv-tag {
    display: inline-block; margin: 0 6px 0 0; padding: 2px 9px; border-radius: 99px;
    font-size: .74rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
    background: var(--mint-soft); color: var(--mint-deep);
}
.dv-tag-warn { background: #fff1de; color: #9a5a00; }
.dv-fine { margin-top: 16px; font-size: .8rem; line-height: 1.5; color: var(--ink-3); }
/* sample report: a "Sample" ribbon on the card */
.is-sample .dv-card { position: relative; border-style: dashed; border-color: var(--line-2); }
.is-sample .dv-card::after {
    content: "Sample"; position: absolute; top: 16px; right: -1px;
    padding: 4px 12px; border-radius: 99px 0 0 99px;
    background: var(--ink); color: var(--paper); font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.is-sample .dv-card-head { padding-top: 18px; }

.dv-done { outline: none; }
.dv-done .finder-tick { width: 52px; height: 52px; margin-bottom: 18px; }
.dv-done .finder-tick svg { width: 26px; height: 26px; }
.dv-done .btn { margin-top: 26px; }
@media (max-width: 960px) {
    .dv-result { grid-template-columns: minmax(0, 1fr); }
    .dv-right { order: 2; }
}
@media (max-width: 520px) {
    .dv-split { grid-template-columns: 1fr; }
    .dv-row { grid-template-columns: 1fr auto; }
    .dv-row-roi { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
    .dv-steps li.is-active::before { animation: none; }
    .dv-progress span, .dv-row-bar i { transition: none; }
}

/* report front page in miniature, beside "Get your full report" */
.dv-mail-top { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 14px; }
.dv-mail-top .dv-mail-lead { margin-bottom: 0; }
.dv-thumb { position: relative; flex: none; width: 136px; height: 192px; margin: 2px 8px 8px 0; }
.dv-thumb-stack, .dv-thumb-page { position: absolute; inset: 0; border-radius: 4px; background: #fff; border: 1px solid #e3e6eb; }
.dv-thumb-stack { transform: translate(6px, 6px); box-shadow: 0 6px 16px -10px rgba(18, 25, 48, .35); }
.dv-thumb-page { overflow: hidden; box-shadow: 0 10px 24px -14px rgba(18, 25, 48, .45); }
/* drawn at A4 proportions (420 × 594) and scaled down */
.dv-thumb-page > * { }
.dv-thumb-page { width: 420px; height: 594px; transform: scale(.3238); transform-origin: 0 0; padding: 40px; display: flex; flex-direction: column; font-family: var(--sans); }
.dv-thumb-stack { width: 136px; height: 192px; }
.dv-thumb-logo { width: 96px; height: auto; }
.dv-thumb-mid { margin-top: auto; padding-top: 60px; display: flex; flex-direction: column; }
.dv-thumb-for { font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-deep); }
.dv-thumb-name { margin-top: 10px; line-height: 1.02; font-weight: 750; letter-spacing: -.04em; color: #121930; word-break: break-word; }
.dv-thumb-sector { margin-top: 10px; font-size: 17px; font-weight: 500; color: #737c8b; }
.dv-thumb-line { margin-top: 24px; font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; color: #121930; }
.dv-thumb-line em { font-style: normal; color: var(--mint-strong); }
.dv-thumb-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid #e3e6eb; display: flex; justify-content: space-between; }
.dv-thumb-meta i { width: 58px; height: 16px; border-radius: 2px; background: repeating-linear-gradient(#e9ecf0 0 4px, transparent 4px 8px); }
@media (max-width: 420px) {
    .dv-thumb { width: 96px; height: 136px; }
    .dv-thumb-page { transform: scale(.2286); }
    .dv-thumb-stack { width: 96px; height: 136px; }
}

/* ---------- /ai-assessment landing (no menu) ---------- */
.lp { padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp-title { font-family: var(--sans); font-weight: 650; font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
.lp-title em { font-style: normal; color: var(--mint-strong); }
.lp-lead { margin-top: 22px; max-width: 32em; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.55; color: var(--ink-2); }
.lp-finder { margin-top: 30px; }
.lp-visual { display: flex; justify-content: center; }
.lp-cover { position: relative; width: 300px; height: 424px; }
.lp-sheet { position: absolute; inset: 0; border-radius: 6px; background: #fff; border: 1px solid #e3e6eb; }
.lp-sheet-3 { transform: translate(22px, 18px) rotate(3deg); box-shadow: 0 10px 30px -18px rgba(18, 25, 48, .35); }
.lp-sheet-2 { transform: translate(11px, 9px) rotate(1.5deg); }
.lp-page { width: 420px; height: 594px; transform: scale(.7143); transform-origin: 0 0; padding: 40px; display: flex; flex-direction: column; font-family: var(--sans); box-shadow: 0 24px 60px -30px rgba(18, 25, 48, .5); }
.lp-cover-tag { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); white-space: nowrap; font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lp-what { margin-top: clamp(64px, 8vw, 110px); }
.lp-h2 { font-family: var(--sans); font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.lp-card { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--c); }
.lp-card svg { color: var(--c); }
.lp-card h3 { margin-top: 12px; font-size: 1.02rem; font-weight: 650; color: var(--ink); }
.lp-card p { margin-top: 6px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.lp-how { margin-top: 40px; }
.lp-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-steps li { display: flex; gap: 12px; align-items: flex-start; }
.lp-steps b { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mint-soft); color: var(--mint-deep); font-weight: 750; }
.lp-steps strong { display: block; color: var(--ink); }
.lp-steps span { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.lp-foot { display: flex; gap: 20px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
.lp-foot a { color: var(--ink-3); }
@media (max-width: 960px) {
    .lp-hero { grid-template-columns: minmax(0, 1fr); }
    .lp-visual { margin: 10px 0 40px; }
    .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .lp-grid, .lp-steps { grid-template-columns: 1fr; }
    .lp-cover { width: 220px; height: 311px; }
    .lp-page { transform: scale(.5238); }
}

.hero .display .h-green { display: block; }
.hero .lead-def.lead-eq:first-child { margin-top: 0; }
/* a light glint that sweeps across the button now and then */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
    transform: skewX(-18deg);
}
.btn-shine.is-glint::after { animation: btn-glint 1s ease-in-out; }
@keyframes btn-glint { from { left: -60%; } to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-shine::after { animation: none; display: none; } }
.finder-err.is-hint { color: var(--mint-deep); }


/* Home B: the co-existence band under the hero divider */
.coexist {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 28px 40px;
    align-items: stretch;
    padding-top: 36px;
    border-top: 1px solid var(--mint-line);
}
/* the left block spans exactly the height of the three items: title at their top, text at their bottom */
.coexist-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.coexist-title { margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.coexist-def { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; max-width: 34ch; }
.coexist-def b { color: var(--mint-deep); font-weight: 600; }
.coexist-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cx-card { display: flex; flex-direction: column; gap: 14px; padding: 2px 28px; border-left: 1px solid var(--mint-line); }
.cx-card:first-child { border-left: 0; padding-left: 0; }
.cx-icon {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; color: var(--mint-deep);
    background: color-mix(in srgb, var(--mint-soft) 70%, transparent);
    box-shadow: inset 0 0 0 1px var(--mint-line);
}
.cx-icon svg { width: 19px; height: 19px; }
.cx-text { font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
/* without icons the three lines sit centred against the left block, a touch larger */
.coexist-cards .cx-card:not(:has(.cx-icon)) { justify-content: center; }
.cx-card:not(:has(.cx-icon)) .cx-text { font-size: 1.05rem; line-height: 1.4; font-weight: 500; color: var(--ink); }
@media (max-width: 980px) {
    .coexist { grid-template-columns: minmax(0, 1fr); }
    .coexist-copy { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .coexist-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .cx-card { flex-direction: row; align-items: center; padding: 0; border-left: 0; }
    .cx-icon { flex: none; }
}
.hero .display.h-inline .h-green { display: inline; }   /* Home B: the green sentence starts on the same line */
.hero .display.h-balance { text-wrap: balance; }
/* Home B: the line under the headline at the live home page's lead size */
.hero .lead-b .lead-sub.lead-eq { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); margin-top: 0; }
/* Home B: copy sits a little higher than centre, with a bit more air between its parts */
.hero-copy-b { align-self: start; margin-top: 4px; }
.hero-copy-b .eyebrow { margin-bottom: 30px; }
.hero-copy-b .lead { margin-top: 30px; }
.hero-copy-b .finder { margin-top: 38px; }
.hero-copy-b .finder-note { margin-top: 12px; }
@media (max-width: 980px) { .hero-copy-b { margin-top: 0; } }
/* Finder: the short "checking the address" moment on the button */
.finder-row .btn.is-checking[disabled] { opacity: 1; cursor: progress; animation: finder-check 1s ease-in-out infinite; }
@keyframes finder-check { 50% { opacity: .7; } }
.finder-err strong { font-weight: 600; word-break: break-word; }
@media (prefers-reduced-motion: reduce) { .finder-row .btn.is-checking[disabled] { animation: none; opacity: .75; } }
.finder-err .finder-change { margin-left: 0; }
/* Home B: what the report covers, as a short checklist under the lead */
.hero-copy-b .lead-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px;
    font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: var(--ink-2); }
.hero-copy-b .lead-checks li { display: flex; align-items: center; gap: 11px; }
.hero-copy-b .lead-checks .tick { width: 20px; height: 20px; }
/* Home B: three steps under the headline, joined by a thin line */
.hero-copy-b .lead-steps { position: relative; list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px;
    font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); line-height: 1.45; color: var(--ink-2); }
.hero-copy-b .lead-steps li { position: relative; display: flex; align-items: center; gap: 14px; }
.hero-copy-b .lead-steps b { color: var(--ink); font-weight: 600; }
.ls-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; color: var(--mint-deep); background: var(--mint-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mint-deep) 28%, transparent); }
@media (max-width: 1360px) { .cx-card:not(:has(.cx-icon)) .cx-text { font-size: 1.02rem; } }
@media (min-width: 1361px) { .cx-card { padding-right: 20px; } }

/* Home C: assessment-led home, sample report on the right, platform on its own page */
.hero-report { display: flex; justify-content: center; align-self: center; padding-bottom: 44px; }
.coexist-more { display: inline-block; margin-top: 10px; color: var(--mint-deep); font-weight: 600; text-decoration: none; }
.coexist-more:hover { text-decoration: underline; }
.home-c-report { padding-top: clamp(48px, 6vw, 80px); }
.home-c-report .lp-what { margin-top: 0; }
.home-c-report .lp-h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.home-c-report .lp-grid { margin-top: 24px; }
.home-c-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 980px) { .home-c-report .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-c-report .lp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .coexist-cards .cx-card:not(:has(.cx-icon)) { justify-content: flex-start; } }
/* Home C: the agents part is a second screen, not a second page header */
.hero.agents-intro { padding-top: clamp(64px, 8vw, 110px); min-height: 0; }
.home-c-report { padding-bottom: clamp(40px, 5vw, 64px); }
/* Home C: what's in the report sits with the hero, as one block */
.hero-report-what { grid-column: 1 / -1; margin-top: clamp(4px, 1vw, 12px); }
.hrw-label { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-report-what .lp-grid { margin-top: 0; }
.hero-report-what .lp-card { padding: 16px 18px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.hero-report-what .lp-card h3 { margin-top: 10px; font-size: .98rem; }
.hero-report-what .lp-card p { font-size: .88rem; }
@media (max-width: 980px) { .hero-report-what .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hero-report-what .lp-grid { grid-template-columns: minmax(0, 1fr); } }

/* Home C: the agents screen in the dark palette, use cases on the left */
.report-cards-flat .lp-card { background: transparent; border: 0; border-top: 2px solid var(--c); border-radius: 0; padding: 16px 4px 0 0; }
.agents-intro.is-dark { background: var(--night); color: var(--night-ink); }
.agents-intro.is-dark::after { background: radial-gradient(closest-side, rgba(5, 189, 147, .16), rgba(5, 189, 147, 0)); left: auto; right: -280px; bottom: auto; top: -300px; }
.agents-intro.is-dark .eyebrow { color: var(--mint); }
.agents-intro.is-dark .display { color: var(--night-ink); }
.agents-intro.is-dark .display em { color: var(--mint); }
.agents-intro.is-dark .lead { color: var(--night-ink-2); }
.agents-intro.is-dark .hero-actions .btn-ghost { color: var(--night-ink); border-color: var(--night-line); background: transparent; }
.agents-intro.is-dark .hero-actions .btn-ghost:hover { border-color: var(--mint); }
.agents-intro.is-dark .run { color: var(--ink); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.agents-intro.is-dark .run-dots button { background: var(--night-line); }
.agents-intro.is-dark .coexist { border-top-color: var(--night-line); }
.agents-intro.is-dark .coexist-title { color: var(--night-ink); }
.agents-intro.is-dark .coexist-title .marker { color: var(--night); }
.agents-intro.is-dark .coexist-def { color: var(--night-ink-2); }
.agents-intro.is-dark .coexist-def b { color: var(--mint); }
.agents-intro.is-dark .cx-card { border-left-color: var(--night-line); }
.agents-intro.is-dark .cx-card .cx-text { color: var(--night-ink); }
@media (min-width: 981px) {
    .agents-intro.is-flip .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
    .agents-intro.is-flip .hero-visual { order: 1; }
    .agents-intro.is-flip .hero-copy { order: 2; }
    .agents-intro.is-flip .coexist { order: 3; }
}
/* Home C: report items with the icon beside the title */
.report-cards-flat .lp-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; }
.report-cards-flat .lp-card h3 { margin-top: 0; }
.report-cards-flat .lp-card p { grid-column: 1 / -1; margin-top: 8px; }
/* Home C: the agents screen on white (try-out next to the dark version) */
.agents-intro.is-white { background: #fff; }
.agents-intro.is-white::after { left: auto; right: -280px; bottom: auto; top: -300px; }
.agents-intro.is-white .run { box-shadow: 0 30px 70px -40px rgba(18, 25, 48, .35); }

/* Home C: agents for every team */
.agents-gallery { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.ag-card {
    display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: inherit;
    padding: 16px 16px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ag-card:hover, .ag-card:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mint-deep) 40%, transparent); box-shadow: 0 14px 30px -22px rgba(10, 60, 40, .4); outline: none; }
.ag-team { font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ag-name { font-size: 1.02rem; font-weight: 650; color: var(--ink); }
.ag-does { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.ag-you { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .84rem; line-height: 1.4; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.ag-you em { font-style: normal; font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-deep); }
@media (prefers-reduced-motion: reduce) { .ag-card, .ag-card:hover { transition: none; transform: none; } }
/* Home C: the gallery fits one screen */
.agents-gallery .ag-lead { margin-top: 10px; font-size: 1.05rem; }
.agents-gallery .ag-grid { margin-top: 24px; gap: 10px; }
.ag-card { padding: 12px 14px 11px; gap: 4px; }
.ag-does { font-size: .86rem; }
.ag-you { padding-top: 8px; font-size: .8rem; }
.agents-gallery .section-head .eyebrow { margin-bottom: 12px; }
.agents-gallery .ag-lead { margin-top: 6px; }
.agents-gallery .ag-grid { margin-top: 20px; }
.agents-gallery .section-head { margin-bottom: 0; }

/* Home C: How it works as one request, start to finish */
.how-v2 .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.hw-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hw-thread { position: relative; padding: 18px 20px 14px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.hw-thread-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.hw-thread-head span:not(.hw-dot) { color: var(--ink-3); }
.hw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px var(--mint-soft); }
.hw-replay { margin-left: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .8rem; color: var(--ink-2); cursor: pointer; }
.hw-msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.hw-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.hw-msg p { margin: 2px 0 0; }
.hw-who { font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.hw-msg.is-you { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.hw-msg.is-you .hw-who { color: rgba(255, 255, 255, .6); }
.hw-msg.is-agent { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.hw-msg.is-ask { border-color: color-mix(in srgb, var(--dot-orange) 60%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot-orange) 18%, transparent); }
.hw-msg.is-ask .hw-who { color: color-mix(in srgb, var(--dot-orange) 75%, var(--ink)); }
.hw-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hw-choices i { font-style: normal; font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.hw-choices i.is-picked { background: var(--ink); border-color: var(--ink); color: #fff; }
.hw-log { display: flex; align-items: center; gap: 8px; align-self: stretch; margin-top: 4px; padding: 10px 12px; border-radius: 12px; font-size: .86rem; color: var(--ink-2); background: color-mix(in srgb, var(--dot-lilac) 14%, transparent); }
.hw-log svg { width: 16px; height: 16px; flex: none; color: color-mix(in srgb, var(--dot-lilac) 80%, var(--ink)); }
.hw-note { margin: 10px 0 0; font-size: .74rem; color: var(--ink-3); text-align: right; }
/* playing: hidden until their turn, a typing bubble for the agent */
.hw-thread.will-play .hw-msg, .hw-thread.will-play .hw-log { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.hw-thread.will-play .is-in { opacity: 1; transform: none; }
.hw-thread.will-play .is-typing { opacity: 1; transform: none; }
.hw-msg.is-typing > * { visibility: hidden; height: 0; display: block; overflow: hidden; }
.hw-msg.is-typing { width: 64px; height: 34px; position: relative; }
.hw-msg.is-typing::after { content: ""; position: absolute; left: 14px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
    box-shadow: 12px 0 0 var(--ink-3), 24px 0 0 var(--ink-3); animation: hw-type 1s infinite; }
@keyframes hw-type { 50% { opacity: .35; } }
.hw-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hw-point { position: relative; padding: 18px 20px 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .4s ease, box-shadow .4s ease, opacity .4s ease; opacity: .55; }
.hw-point::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--c); opacity: .35; transition: opacity .4s ease; }
.hw-point.is-on { opacity: 1; border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 16px 34px -26px rgba(18, 25, 48, .45); }
.hw-point.is-on::before { opacity: 1; }
.hw-n { font-size: .76rem; font-weight: 700; color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.hw-point h3 { margin: 4px 0 6px; font-size: 1.12rem; font-weight: 650; }
.hw-point p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.hw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hw-tags i { font-style: normal; font-size: .76rem; padding: 3px 9px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-deep); }
@media (max-width: 980px) { .hw-grid { grid-template-columns: minmax(0, 1fr); } .hw-msgs { min-height: 0; } .hw-msg { max-width: 92%; } }
@media (prefers-reduced-motion: reduce) { .hw-point { opacity: 1; } }
.section.how-v2 { padding-top: 52px; padding-bottom: 56px; }
.how-v2 .section-head { max-width: none; margin-bottom: 24px; }
.how-v2 .section-head .eyebrow { margin-bottom: 12px; }
.how-v2 .section-head .h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); }
.how-v2 .hw-lead { margin-top: 6px; font-size: 1.05rem; }
.hw-msgs { min-height: 0; gap: 8px; }
.hw-msg { padding: 8px 13px; font-size: .92rem; }
.hw-thread { padding: 14px 18px 10px; }
.hw-thread-head { padding-bottom: 10px; margin-bottom: 12px; }
.hw-point { padding: 14px 18px 14px 20px; }
.hw-points { gap: 10px; }
/* Home C: climbers and the sun on the snow, a hint that the fire is there to find */
.peaks-art .climber, .peaks-art .peak-glint { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .peaks-art .climbers, .peaks-art .peak-glint { display: none; } }
/* gallery: shorter padding via --pad so anchor and arrow-key landings stay right; five cards a row */
.section.agents-gallery { --pad: 48px; }
.agents-gallery .ag-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .agents-gallery .ag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .agents-gallery .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .agents-gallery .ag-grid { grid-template-columns: minmax(0, 1fr); } }
/* Home C: platform features with the icon beside the title */
.page-c .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; align-content: start; }
.page-c .feature .ico { margin-bottom: 0; }
.page-c .feature h3 { margin-bottom: 0; }
.page-c .feature > :not(.ico):not(h3) { grid-column: 1 / -1; margin-top: 18px; }
/* Home C: the approvals skill on the light palette */
.page-c .skill-featured { background: var(--mint-soft); border-color: var(--mint-line); color: var(--ink); }
.page-c .skill-featured:hover { border-color: var(--mint-deep); }
.page-c .skill-featured h3 { color: var(--ink); }
.page-c .skill-featured .skill-head i { background: var(--surface); color: var(--mint-deep); }
.page-c .skill-featured .skill-desc { color: var(--ink); }
.page-c .skill-featured .skill-note { color: var(--ink-3); }
.page-c .skill-featured .ticks li { color: var(--ink-2); }
.section.agents-gallery { --pad: 28px; }
.agents-gallery .ag-grid { margin-top: 18px; }
.agents-gallery .section-head .eyebrow { margin-bottom: 10px; }
.ag-card { padding: 11px 14px 10px; }
/* Home C gallery: three pages that scroll sideways, plain cards (no click) */
.agents-gallery .wrap { position: relative; }
.ag-nav { position: absolute; right: var(--gutter); top: 0; display: flex; align-items: center; gap: 12px; }
.agents-gallery .section-head { position: static; }
.ag-dots { display: flex; gap: 6px; }
.ag-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .25s ease, background .25s ease; }
.ag-dots button[aria-current] { width: 22px; background: var(--mint-deep); }
.ag-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 18px; }
.ag-track::-webkit-scrollbar { display: none; }
.ag-track:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 4px; border-radius: 16px; }
.ag-page { flex: 0 0 100%; scroll-snap-align: start; margin-top: 0 !important; }
.agents-gallery .ag-card { cursor: default; }
.agents-gallery .ag-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
@media (max-width: 720px) { .ag-nav { position: static; margin-top: 14px; } }
/* Home C: platform icons on a light green tile */
.page-c .feature .ico { background: var(--mint-soft); border-color: var(--mint-line); }
.agents-gallery .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; }
.agents-gallery .ag-nav { position: static; padding-bottom: 4px; }
.agents-gallery .ag-box { grid-column: 1 / -1; min-width: 0; }
@media (max-width: 720px) { .agents-gallery .wrap { grid-template-columns: minmax(0, 1fr); } .agents-gallery .ag-nav { justify-self: start; } }
/* gallery dots stay dots; the current one is green */
.ag-dots button[aria-current] { width: 8px; }
/* Home C: the approvals skill as a white card like the others */
.page-c .skill-featured { background: var(--surface); border-color: var(--line); }
.page-c .skill-featured:hover { border-color: var(--ink); }
.page-c .skill-featured .skill-head i { background: var(--mint-soft); }
.skill-head i.skill-svg svg { width: 19px; height: 19px; }
/* Home C: the agent in the card is a person (Notionists avatar) */
.run-agent.is-person { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--mint-line); }
.run-agent .person { width: 44px; height: 44px; display: block; }
/* Home C desktop: a larger sample report beside the copy */
@media (min-width: 981px) {
    .hero-report .lp-cover { width: 350px; height: 495px; }
    .hero-report .lp-page { transform: scale(.8333); }
}
/* Home C phone: no sample report; the copy, steps and box fill the first screen */
@media (max-width: 980px) {
    .hero-report { display: none; }
    .page-c .hero#home .hero-copy { min-height: calc(100svh - var(--header-h) - 40px); display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 980px) {
    .page-c .hero#home { padding-top: calc(var(--header-h) + 20px); }
    .page-c .hero#home .hero-copy { min-height: calc(100svh - var(--header-h) - 36px); justify-content: space-evenly; }
    .page-c .hero#home .display { font-size: clamp(2.45rem, 10.6vw, 3.4rem); }
    .page-c .hero#home .hero-copy-b .eyebrow { margin-bottom: 18px; }
    .page-c .hero#home .lead-steps { margin-top: 26px; gap: 16px; font-size: 1.1rem; }
    .page-c .hero#home .hero-copy-b .finder { margin-top: 30px; }
}
/* Home C: section spacing follows the screen height, so each section fits a laptop screen */
@media (min-width: 981px) {
    .page-c .section { --pad: clamp(40px, 6.5vh, 120px); }
}
@media (min-width: 981px) {
    .page-c .section.agents-gallery { --pad: 28px; }
    .page-c .hero#home { padding-top: calc(var(--header-h) + clamp(24px, 5vh, 104px)); padding-bottom: clamp(32px, 5vh, 104px); }
    .page-c .hero.agents-intro { padding-top: clamp(40px, 6.5vh, 110px); padding-bottom: clamp(32px, 5vh, 104px); }
    .page-c .closing { padding-top: clamp(60px, 10vh, 160px); }
}
/* Home C on laptop-height screens: headings and gaps follow the screen height so each section fits */
@media (min-width: 981px) and (max-height: 920px) {
    .page-c .h2 { font-size: min(clamp(2.5rem, 4.8vw, 4.3rem), 7.4vh); }
    .page-c .section-head { margin-bottom: 3.4vh; }
    .page-c .section-head .lead { margin-top: 1.6vh; font-size: min(1.2rem, 2.3vh); }
    .page-c .section-head .eyebrow, .page-c .eyebrow { margin-bottom: 1.6vh; }
    /* start here */
    .page-c .hero#home .display { font-size: min(clamp(2.2rem, 4.15vw, 4.1rem), 7.6vh); }
    .page-c .hero-copy-b .lead-steps { margin-top: 2.8vh; gap: 1.2vh; }
    .page-c .hero-copy-b .finder { margin-top: 3.4vh; }
    .page-c .hero-report .lp-cover { width: 300px; height: 424px; }
    .page-c .hero-report .lp-page { transform: scale(.7143); }
    .page-c .hero-report-what { margin-top: 0; }
    .page-c .hero-report-what .lp-card p { font-size: .84rem; line-height: 1.45; }
    /* agents */
    .page-c .agents-intro .display { font-size: min(clamp(2.2rem, 4.15vw, 4.1rem), 7.4vh); }
    .page-c .agents-intro .lead { font-size: min(1.25rem, 2.4vh); margin-top: 2vh; }
    .page-c .agents-intro .hero-grid { row-gap: 3.5vh; }
    .page-c .agents-intro .coexist { padding-top: 3vh; }
    .page-c .run .steps .step { padding-top: 10px; padding-bottom: 10px; }
    /* use cases */
    .page-c .agents-gallery .ag-card { padding: 9px 13px 9px; }
    .page-c .agents-gallery .ag-does { line-height: 1.38; }
    /* platform: keeps its room; it fills the screen rather than letting the dark section show */
    .page-c #platform .h2 { font-size: min(clamp(2.5rem, 4.8vw, 4.3rem), 8.4vh); }
    .page-c #platform .section-head { margin-bottom: 4.6vh; }
    /* smart UI */
    .page-c .sui-intro .lead { margin-top: 2vh; }
    .page-c .sui-product { padding-top: 12px; padding-bottom: 12px; }
    .page-c .sui-products { margin-top: 2vh; }
    /* skills */
    .page-c .skill-featured { padding: 16px 24px 14px; }
    .page-c .skills-track > .skill { padding: 16px 20px 18px; }
    .page-c .skills-track .ticks li + li { margin-top: 3px; }
    .page-c .skills-track .skill-uses { padding-top: 10px; }
}
@media (min-width: 981px) and (max-height: 920px) {
    .page-c .agents-gallery .section-head .h2 { font-size: min(clamp(2.5rem, 4.8vw, 4.3rem), 6.2vh); }
    .page-c .agents-gallery .ag-lead { margin-top: 4px; }
    .page-c .agents-gallery .ag-grid { gap: 8px; }
    .page-c .agents-gallery .ag-track { margin-top: 14px; }
    .page-c #skills .h2 { font-size: min(clamp(2.5rem, 4.8vw, 4.3rem), 6.6vh); }
    .page-c .skill-featured .ticks li { margin-bottom: 6px; }
}
@media (min-width: 981px) and (max-height: 880px) {
    .page-c .skills-track .skill-uses { display: none; }
}
@media (min-width: 981px) and (max-height: 820px) {
    .page-c .hero#home .display { font-size: 7vh; }
    .page-c .hero-copy-b .lead-steps { font-size: 1.05rem; }
    .page-c .hero-report-what .lp-card { padding-top: 12px; }
    .page-c .agents-intro .display { font-size: 6.8vh; }
    .page-c .agents-intro .coexist { padding-top: 2.4vh; }
    .page-c .agents-intro .hero-grid { row-gap: 2.6vh; }
    .page-c .agents-gallery .ag-card { gap: 2px; padding-top: 8px; padding-bottom: 8px; }
    .page-c .agents-gallery .ag-you { padding-top: 6px; }
}
/* Home C: a slimmer footer, so it shows under "Let's talk" */
.page-c .site-footer { padding: 36px 0 22px; }
.page-c .footer-top { padding-bottom: 24px; }
.page-c .footer-bottom { padding-top: 16px; }
@media (min-width: 981px) { .page-c #contact.section { padding-bottom: clamp(32px, 4.5vh, 80px); } }
/* Home C: Platform fills the screen when you land on it, so the dark Smart UI below does not peek in */
@media (min-width: 981px) {
    .page-c #platform.section { min-height: calc(100vh - var(--header-h) - 40px + var(--pad)); display: flex; flex-direction: column; justify-content: center; }
    .page-c #platform > .wrap { width: 100%; }
}
/* Home C: what's in the report, titles only, as one quiet row */
.page-c .hero-report-what { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--mint-line); }
.page-c .hero-report-what .hrw-label { margin: 0; }
.page-c .hero-report-what .lp-grid { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.page-c .hero-report-what .lp-card { padding: 0; border: 0; background: none; display: flex; align-items: center; gap: 8px; }
.page-c .hero-report-what .lp-card p { display: none; }
.page-c .hero-report-what .lp-card h3 { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.page-c .hero-report-what .lp-card svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
    .page-c .hero-report-what { flex-direction: column; align-items: flex-start; }
    .page-c .hero-report-what .lp-grid { flex-direction: column; gap: 12px; }
}
/* Home C: the first screen fills the window again, with a bit more room and a larger sample report */
@media (min-width: 981px) {
    .page-c .hero#home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
    .page-c .hero#home > .wrap { width: 100%; }
    .page-c .hero-report-what { border-top: 0; padding-top: 8px; }
}
@media (min-width: 981px) and (max-height: 920px) {
    .page-c .hero#home .display { font-size: min(clamp(2.2rem, 4.15vw, 4.1rem), 8.2vh); }
    .page-c .hero-copy-b .lead-steps { margin-top: 3.6vh; gap: 1.6vh; font-size: 1.1rem; }
    .page-c .hero-copy-b .finder { margin-top: 4.2vh; }
    .page-c .hero-report .lp-cover { width: 330px; height: 467px; }
    .page-c .hero-report .lp-page { transform: scale(.7857); }
}
@media (min-width: 981px) and (min-height: 921px) {
    .page-c .hero-report .lp-cover { width: 370px; height: 523px; }
    .page-c .hero-report .lp-page { transform: scale(.881); }
}
/* Home C first screen, one more step: report titles lower, copy and sample report a touch larger */
@media (min-width: 981px) {
    .page-c .hero-report-what { margin-top: clamp(24px, 5vh, 64px); }
    .page-c .hero#home .hero-copy-b .lead-steps { font-size: 1.16rem; }
}
@media (min-width: 981px) and (max-height: 920px) {
    .page-c .hero#home .display { font-size: min(clamp(2.2rem, 4.4vw, 4.4rem), 8.8vh); }
    .page-c .hero-copy-b .lead-steps { margin-top: 4vh; gap: 1.8vh; }
    .page-c .hero-copy-b .finder { margin-top: 4.6vh; }
    .page-c .hero-report .lp-cover { width: 350px; height: 495px; }
    .page-c .hero-report .lp-page { transform: scale(.8333); }
}
@media (min-width: 981px) and (min-height: 921px) {
    .page-c .hero#home .display { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
    .page-c .hero-report .lp-cover { width: 400px; height: 566px; }
    .page-c .hero-report .lp-page { transform: scale(.9524); }
}
@media (min-width: 981px) and (max-height: 920px) {
    .page-c .hero#home .display { font-size: min(clamp(2.2rem, 4.4vw, 4.4rem), 8.4vh); }
    .page-c .hero-copy-b .lead-steps { margin-top: 3.4vh; gap: 1.5vh; }
    .page-c .hero-copy-b .finder { margin-top: 4vh; }
    .page-c .hero-report-what { margin-top: 3.4vh; }
    .page-c .hero#home { padding-bottom: 3vh; }
}
