/*
  Visual identity shared with the marketing material and white papers
  (kit-contenido-ia-azure/05-material/_estilo/brand.css). Keep the tokens in sync with that file.
*/

:root {
    /* Brand */
    --ink-950: #060f1d;
    --ink-900: #0a1628;
    --ink-800: #12233d;
    --ink-700: #1c3354;
    --ink-600: #2b4670;
    --blue-600: #1c5cab;
    --blue-500: #2a78d6;
    --blue-400: #3987e5;
    --blue-100: #e3eefc;
    --cyan-400: #4cc9f0;
    --amber-400: #ffb020;
    --amber-100: #fff4dc;

    /* Surfaces and text */
    --paper: #f7f6f2;
    --surface: #ffffff;
    --surface-2: #f1f0eb;
    --line: #e1e0d9;
    --line-strong: #c3c2b7;
    --text: #0b0b0b;
    --text-2: #52514e;
    --text-3: #898781;
    --text-inv: #f4f7fb;
    --text-inv-2: #b7c3d6;
    --text-inv-3: #7f8ea6;

    --font: 'Segoe UI Variable Display', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-text: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: 'Cascadia Code', 'Cascadia Mono', Consolas, ui-monospace, monospace;

    --radius-s: 8px;
    --radius-m: 14px;
    --shadow-1: 0 1px 2px rgba(10, 22, 40, 0.06), 0 4px 14px rgba(10, 22, 40, 0.08);
    --shadow-2: 0 2px 6px rgba(10, 22, 40, 0.1), 0 18px 48px rgba(10, 22, 40, 0.18);
}

/* Website-only tokens: the editorial layer (serif display type, hairline rules, square corners) */
:root {
    --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --blue-300: #8fbaf0;
    --header-h: 5rem;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --band-gradient: linear-gradient(118deg, #060f1d 0%, #0b2552 40%, #1c5cab 78%, #2a78d6 100%);
    --rings: repeating-radial-gradient(circle, transparent 0 46px, rgba(255, 255, 255, 0.07) 46px 47px);
}

html {
    scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
    font-family: var(--font-text);
    background: var(--surface);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}
h5 {
    font-family: var(--font);
}
::selection {
    background: var(--blue-500);
    color: #fff;
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-400);
    outline-offset: 3px;
}
.serif {
    font-family: var(--serif);
}
.mono {
    font-family: var(--mono);
}
.section {
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Header ---------- */
.site-header {
    background: var(--ink-950);
    color: var(--text-inv);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
    background: rgba(6, 15, 29, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
/* The logo file is drawn in black; render it white on the navy header and footer */
.site-logo {
    filter: brightness(0) invert(1);
}
.nav-link {
    position: relative;
    color: var(--text-inv-2);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.2rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::after {
    transform: scaleX(1);
}
.mobile-menu {
    background: var(--ink-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu .nav-link::after {
    display: none;
}
.mobile-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
}
.lang-switch {
    display: inline-flex;
    flex: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.lang-switch a {
    padding: 0.3rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-inv-2);
    transition: color 0.2s, background-color 0.2s;
}
.lang-switch a:hover {
    color: #fff;
}
.lang-switch a[aria-current] {
    background: #fff;
    color: var(--ink-950);
}

/* ---------- Type ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-600);
}
.kicker::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
}
:is(.hero, .band, .page-hero, .cta-strip) .kicker {
    color: var(--amber-400);
}
.display {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.75rem, 6.6vw, 6rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
}
.display em {
    font-style: italic;
    color: var(--blue-300);
}
.display .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}
.display .line > span {
    display: inline-block;
    animation: rise 1.1s var(--ease) both;
}
.display .line:nth-child(2) > span {
    animation-delay: 0.12s;
}
.display .line:nth-child(3) > span {
    animation-delay: 0.24s;
}
.hero-lead {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-inv-2);
}
.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink-950);
}
:is(.band, .page-hero) .section-title {
    color: #fff;
}
.lead {
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
    line-height: 1.65;
    color: var(--text-2);
}
.band .lead {
    color: rgba(244, 247, 251, 0.82);
}
.accent {
    color: var(--blue-600);
}
.label {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--blue-600);
    font-weight: 600;
    transition: color 0.2s;
}
.text-link i {
    transition: transform 0.3s var(--ease);
}
.text-link:hover {
    color: var(--ink-950);
}
.text-link:hover i {
    transform: translateX(4px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn i {
    transition: transform 0.3s var(--ease);
}
.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}
.btn-primary {
    background: var(--blue-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--ink-950);
}
.btn-light {
    background: #fff;
    color: var(--ink-950);
}
.btn-light:hover {
    background: var(--blue-100);
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink-950);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--ink-950);
    color: var(--ink-950);
}
.btn-outline:hover:not(:disabled) {
    background: var(--ink-950);
    color: #fff;
}
/* Round arrow call to action */
.arrow-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.0625rem;
    color: #fff;
}
.arrow-circle {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.arrow-cta:hover .arrow-circle,
a:hover > .arrow-cta .arrow-circle {
    background: #fff;
    border-color: #fff;
    color: var(--ink-950);
    transform: translateX(4px);
}

/* ---------- Hero ---------- */
.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--ink-950);
    color: var(--text-inv);
}
.hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-h));
}
.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(55% 70% at 90% 100%, rgba(42, 120, 214, 0.42), transparent 70%),
        radial-gradient(35% 45% at 5% 0%, rgba(76, 201, 240, 0.1), transparent 70%);
}
/* Concentric hairline rings, a nod to the radar-like contour graphics of the big firms */
.hero::after,
.page-hero::after,
.band::after,
.cta-strip::after,
.paper-cover::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 150vmax;
    height: 150vmax;
    border-radius: 50%;
    background: var(--rings);
    -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 60%);
    mask-image: radial-gradient(circle, #000 15%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    right: -75vmax;
    bottom: -85vmax;
    animation: drift 30s ease-in-out infinite alternate;
}
.page-hero::after {
    right: -80vmax;
    bottom: -100vmax;
}
.hero-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-strip-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-inv);
    font-weight: 500;
}
.hero-strip .label + .hero-strip-item {
    border-top: 0;
}
.hero-strip-item .num {
    font-family: var(--serif);
    color: var(--amber-400);
}
@media (min-width: 768px) {
    .hero-strip-item {
        padding: 1.75rem 1.5rem;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }
}
/* Narrower than its column so the offset frame never touches the viewport edge */
.portrait {
    position: relative;
    width: calc(100% - 1.25rem);
    max-width: 22rem;
    margin-inline: auto;
}
@media (min-width: 1024px) {
    .portrait {
        max-width: 25rem;
        margin-right: 1.25rem;
    }
}
.portrait::before {
    content: '';
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--blue-600);
}
/* Blending the greyscale photo over brand blue gives a duotone portrait */
.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    filter: grayscale(1) contrast(1.1) brightness(1.08);
    mix-blend-mode: luminosity;
    transition: transform 1.4s var(--ease);
}
.portrait:hover .portrait-frame img {
    transform: scale(1.04);
}
.portrait-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 15, 29, 0.9));
}
.portrait figcaption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
}
.portrait-name {
    font-family: var(--serif);
    font-size: 1.625rem;
    line-height: 1.15;
    color: #fff;
}
.portrait-role {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-inv-2);
}

/* ---------- Page hero (portfolio) ---------- */
.page-index {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.page-index a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-inv-2);
    transition: color 0.2s, padding-left 0.35s var(--ease);
}
.page-index a:hover {
    color: #fff;
    padding-left: 0.5rem;
}
.page-index .num {
    font-family: var(--serif);
    font-size: 0.875rem;
    color: var(--amber-400);
}

/* ---------- Impact figures ---------- */
.stats {
    border-top: 2px solid var(--ink-950);
}
.stat-cell {
    padding: 2rem 1.25rem 2rem 0;
    border-bottom: 1px solid var(--line);
}
.stat-cell:nth-child(even) {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}
@media (min-width: 1024px) {
    .stat-cell,
    .stat-cell:nth-child(even) {
        padding: 2.75rem 2rem 0.5rem;
        border-bottom: 0;
        border-left: 1px solid var(--line);
    }
    .stat-cell:first-child {
        padding-left: 0;
        border-left: 0;
    }
}
.stat {
    display: block;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3.25rem, 6.4vw, 5.75rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--blue-600);
    font-variant-numeric: lining-nums tabular-nums;
}
.stat-label {
    display: block;
    max-width: 16rem;
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-2);
}

/* ---------- Services ---------- */
.service-list {
    border-top: 2px solid var(--ink-950);
}
.service-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem;
    column-gap: 0.75rem;
    align-items: baseline;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink-950);
}
.service-row::before {
    content: '';
    position: absolute;
    inset: 0 -1rem;
    z-index: -1;
    background: var(--surface);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.45s var(--ease);
}
.service-row:hover::before,
.service-row:focus-visible::before {
    transform: scaleY(1);
}
.service-num {
    font-family: var(--serif);
    color: var(--text-3);
    transition: color 0.3s;
}
.service-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    transition: color 0.3s;
}
.service-arrow {
    justify-self: end;
    color: var(--blue-600);
    transition: transform 0.35s var(--ease);
}
.service-body {
    grid-column: 2 / -1;
    padding-top: 0.875rem;
    color: var(--text-2);
    line-height: 1.65;
}
.service-more {
    display: inline-block;
    margin-top: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-600);
}
.service-row:hover .service-num,
.service-row:hover .service-title,
.service-row:focus-visible .service-title {
    color: var(--blue-600);
}
.service-row:hover .service-arrow {
    transform: translateX(6px);
}
@media (min-width: 1024px) {
    .service-row {
        grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) 2.5rem;
        column-gap: 2rem;
        padding: 2.25rem 0;
    }
    .service-row::before {
        inset: 0 -1.5rem;
    }
    .service-body {
        grid-column: 3 / 4;
        grid-row: 1;
        padding-top: 0.35rem;
    }
}
.cta-strip {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4.5vw, 3.75rem);
    background: var(--band-gradient);
    color: #fff;
}
.cta-strip::after {
    left: -60vmax;
    top: -95vmax;
}
@media (min-width: 768px) {
    .cta-strip {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}
.cta-strip-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.cta-strip-text {
    margin-top: 0.75rem;
    color: rgba(244, 247, 251, 0.82);
    font-size: 1.0625rem;
}

/* ---------- White papers ---------- */
.paper {
    display: grid;
    background: var(--paper);
}
@media (min-width: 1024px) {
    .paper {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}
.paper-cover {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: var(--ink-950);
}
.paper-cover::after {
    right: -75vmax;
    top: -75vmax;
}
.paper-cover img {
    width: min(17rem, 72%);
    outline: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    transform: rotate(-2.5deg);
    transition: transform 0.7s var(--ease);
}
.paper-cover:hover img {
    transform: rotate(0deg) translateY(-6px);
}
.paper-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4.5vw, 3.75rem);
}
.paper-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ---------- Contact band ---------- */
.band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--band-gradient);
    color: var(--text-inv);
}
.band::after {
    left: -70vmax;
    top: -80vmax;
}
.contact-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.25s, border-color 0.25s;
}
.contact-action + .contact-action {
    margin-top: 0.75rem;
}
.contact-action .go {
    margin-left: auto;
    transition: transform 0.3s var(--ease);
}
.contact-action:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}
.contact-action:hover .go {
    transform: translateX(4px);
}
.contact-action--primary {
    background: #fff;
    border-color: #fff;
    color: var(--ink-950);
}
.contact-action--primary:hover {
    background: var(--blue-100);
}
.contact-action .fa-whatsapp {
    font-size: 1.5rem;
    color: #25d366;
}
.contact-list {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-inv-2);
    transition: color 0.2s;
}
.contact-list a:hover {
    color: #fff;
}
.contact-list i {
    width: 1.25rem;
    text-align: center;
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-950);
    color: var(--text-inv-2);
}
.monogram {
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    background: #fff url('../img/brand/simbolo-negro.svg') center / 52% no-repeat;
}
.footer-name {
    font-family: var(--serif);
    font-size: 1.375rem;
    color: #fff;
}
.footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--text-inv);
}
.footer-label {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-inv-3);
}
.footer-links li + li {
    margin-top: 0.6rem;
}
.footer-links a {
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: var(--text-inv-3);
}

/* ---------- Portfolio blocks ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color 0.3s;
}
.card:hover {
    border-color: var(--line-strong);
}
.rule-top {
    border-top: 2px solid var(--ink-950);
    padding-top: 1.75rem;
}
.icon-tile {
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    font-size: 1.125rem;
    color: var(--blue-600);
}
.logo-tile {
    display: grid;
    place-items: center;
    flex: none;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 0.5rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--line-strong);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-2);
}
.chip.amber {
    border-color: var(--amber-400);
    background: var(--amber-100);
    color: #8a5a00;
}
.bullet-list > li {
    position: relative;
    padding-left: 1.25rem;
}
.bullet-list > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--blue-600);
}
.timeline-item {
    padding-block: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line-strong);
}
.timeline-item:first-child {
    border-top: 2px solid var(--ink-950);
}
.insight-card {
    display: flex;
    flex-direction: column;
}
.insight-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ink-900);
}
.insight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.insight-media.is-logo {
    background: #fff;
    border: 1px solid var(--line);
}
.insight-media.is-logo img {
    object-fit: contain;
    padding: 2.5rem 3rem;
}
.insight-card:hover .insight-media img {
    transform: scale(1.04);
}
.insight-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 1.5rem;
}
.insight-meta {
    margin-bottom: 0.75rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-3);
}
.insight-title {
    margin-bottom: 0.75rem;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1.25;
    color: var(--ink-950);
}
.insight-title a {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.45s var(--ease), color 0.2s;
}
.insight-card:hover .insight-title a {
    color: var(--blue-600);
    background-size: 100% 1px;
}
.insight-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    flex: 1;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-2);
}

/* ---------- Motion ---------- */
@keyframes rise {
    from {
        transform: translateY(105%);
    }
    to {
        transform: none;
    }
}
@keyframes drift {
    to {
        transform: translate(-4vmax, -3vmax) scale(1.05);
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.active {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .display .line > span,
    .hero::after {
        animation: none;
    }
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--surface-2);
}
::-webkit-scrollbar-thumb {
    background: var(--line-strong);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-3);
}
