/* ============================================================
   ARGO BUSINESS PARTNERS — one page
   ============================================================ */

:root {
    --blue: #0047FF;
    --blue-soft: #5B8CFF;
    --blue-deep: #0032B8;

    --ink: #06070A;
    --ink-2: #0B0D13;
    --ink-3: #121620;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.22);

    --fg: #F6F8FC;
    --fg-muted: rgba(240, 244, 255, 0.62);
    --fg-dim: rgba(240, 244, 255, 0.40);

    --paper: #F2F3F7;
    --paper-2: #FFFFFF;
    --ink-on-paper: #0A0C12;
    --muted-on-paper: #5A6376;
    --line-on-paper: rgba(10, 12, 18, 0.10);

    --shell: 1240px;
    --gutter: 2rem;
    --radius: 18px;
    --radius-lg: 28px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ink);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv05";
}

/* Fine grain overlay for depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }

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

/* ─── Layout primitives ─────────────────────── */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    position: relative;
    padding: clamp(5rem, 11vw, 9.5rem) 0;
}

.section--paper {
    background: var(--paper);
    color: var(--ink-on-paper);
}

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

.rule {
    height: 1px;
    background: var(--line);
    border: 0;
}

/* ─── Typography ────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--blue);
}

.section--paper .eyebrow { color: var(--muted-on-paper); }

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.display {
    font-size: clamp(2.6rem, 6.4vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.03em; }

.lead {
    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    color: var(--fg-muted);
    line-height: 1.65;
    max-width: 62ch;
}

.section--paper .lead { color: var(--muted-on-paper); }

.accent { color: var(--blue-soft); }
.section--paper .accent { color: var(--blue); }

.head {
    max-width: 900px;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.head .eyebrow { margin-bottom: 1.6rem; }
.head .h2 + .lead { margin-top: 1.6rem; }

/* ─── Buttons ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
    white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 32px -12px rgba(0, 71, 255, 0.9);
}

.btn--primary:hover {
    background: #1a5bff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -14px rgba(0, 71, 255, 1);
}

.btn--ghost {
    border: 1px solid var(--line-strong);
    color: var(--fg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

.btn--light {
    background: var(--fg);
    color: var(--ink);
}

.btn--light:hover { transform: translateY(-2px); background: #fff; }

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

.section--paper .btn--ghost {
    border-color: var(--line-on-paper);
    color: var(--ink-on-paper);
    background: rgba(255, 255, 255, 0.6);
}

.section--paper .btn--ghost:hover { background: #fff; }

/* ─── Reveal animation ──────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}

.reveal.in { opacity: 1; transform: none; }

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

/* ─── Scroll progress ───────────────────────── */
.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--blue), var(--blue-soft));
    z-index: 1001;
}

/* ─── Navbar ────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.15rem 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: rgba(6, 7, 10, 0.82);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--line);
    padding: 0.8rem 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--fg);
    line-height: 1;
}

.logo span { color: var(--blue); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.88rem;
    color: var(--fg-muted);
}

.nav__links a {
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
}

.nav__links a:hover { color: var(--fg); }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.nav__burger { display: none; }

/* ─── Hero ──────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding-top: clamp(6.5rem, 11vh, 8.5rem);
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #04050A;
}

.hero__media video,
.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease;
    filter: saturate(0.55) contrast(1.05) brightness(0.72);
    transform: scale(1.06);
}

.hero__media video.is-ready,
.hero__media img.is-ready { opacity: 1; }

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 90% at 15% 20%, rgba(0, 40, 160, 0.45) 0%, transparent 60%),
        linear-gradient(180deg, rgba(6, 7, 10, 0.86) 0%, rgba(6, 7, 10, 0.55) 35%, rgba(6, 7, 10, 0.88) 78%, var(--ink) 100%);
}

.hero__scrim::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 60% at 50% 40%, #000 20%, transparent 80%);
}

.hero__body {
    position: relative;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.95rem 0.45rem 0.6rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3DDC97;
    box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18);
    animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.18); }
    50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0.04); }
}

/* Scales with viewport height too, so the ticker always stays above the fold */
.hero h1.display { font-size: clamp(2.4rem, min(6.2vw, 7.4vh), 5rem); }
.hero h1 { max-width: 19ch; }
.hero h1 .soft { color: rgba(246, 248, 252, 0.45); }

.hero__sub {
    margin-top: 2rem;
    max-width: 850px;
    font-size: clamp(1.02rem, 1.35vw, 1.2rem);
    color: rgba(240, 244, 255, 0.74);
    line-height: 1.65;
}

.hero__cta {
    margin-top: 2.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.hero__note {
    font-size: 0.82rem;
    color: var(--fg-dim);
    margin-left: 0.4rem;
}

/* Hero ticker */
.ticker {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(6, 7, 10, 0.55);
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 0.9rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker__track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: slide 42s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    color: var(--fg-muted);
    white-space: nowrap;
}

.ticker__item b { color: var(--fg); font-weight: 600; }
.ticker__item i {
    font-style: normal;
    color: var(--blue-soft);
    opacity: 0.7;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── Stats ─────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.stat {
    padding: 2.6rem 1.8rem 2.6rem 0;
    border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: 1.8rem; }

.stat__num {
    font-size: clamp(2.2rem, 3.6vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat__label {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: var(--fg-muted);
    line-height: 1.5;
    max-width: 26ch;
}

.stat__src { margin-top: 0.6rem; font-size: 0.72rem; color: var(--fg-dim); }

/* ─── Thesis ────────────────────────────────── */
.thesis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.thesis__statement {
    font-size: clamp(1.6rem, 2.9vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.thesis__statement em {
    font-style: normal;
    color: var(--blue-soft);
}

.thesis__list { display: grid; gap: 1.6rem; }

@media (min-width: 901px) {
    .thesis__list {
        margin-top: 3.2rem; /* Allinea la prima riga della lista con il paragrafo di sinistra invece che con l'eyebrow */
    }
}

.thesis__item {
    padding-left: 1.6rem;
    border-left: 2px solid var(--line);
    transition: border-color 0.4s ease;
}

.thesis__item:hover { border-left-color: var(--blue); }
.thesis__item h4 { font-size: 1.02rem; margin-bottom: 0.4rem; font-weight: 600; }
.thesis__item p { font-size: 0.95rem; color: var(--fg-muted); }

/* ─── Model / pillars ───────────────────────── */
.model {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.model__sticky { position: sticky; top: 120px; }

.pillars { display: grid; gap: 1.1rem; }

.pillar {
    position: relative;
    padding: 2rem 2rem 2rem 2.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.5s var(--ease), background 0.4s ease;
}

.pillar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s var(--ease);
}

.pillar:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.pillar:hover::before { transform: scaleY(1); }

.pillar__idx {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--blue-soft);
    display: block;
    margin-bottom: 1rem;
}

.pillar h3 { margin-bottom: 0.7rem; }
.pillar p { color: var(--fg-muted); font-size: 0.98rem; }

.pillar__meta {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px dashed var(--line);
    font-size: 0.85rem;
    color: var(--fg-dim);
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.pillar__meta svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--blue-soft); }

/* ─── Keep list (cosa non cambia) ───────────── */
.keep {
    margin-top: clamp(3rem, 6vw, 5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    padding: clamp(2rem, 4vw, 3rem);
}

.keep__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.8rem; }
.keep__title span { color: var(--fg-dim); font-weight: 400; }

.keep__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem 2rem;
}

.keep__item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
    color: var(--fg-muted);
    padding: 0.5rem 0;
}

.keep__item svg { width: 18px; height: 18px; color: #3DDC97; flex-shrink: 0; }

/* ─── Map / poles ───────────────────────────── */
.map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.map__canvas {
    position: relative;
    aspect-ratio: 620 / 734;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}

.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__svg .reg {
    fill: rgba(255, 255, 255, 0.028);
    stroke: rgba(255, 255, 255, 0.10);
    stroke-width: 0.7;
    transition: fill 0.6s ease, stroke 0.6s ease;
}

.map__svg .reg.fase1 {
    fill: rgba(0, 71, 255, 0.14);
    stroke: rgba(91, 140, 255, 0.55);
}

.pole {
    position: absolute;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: rgba(91, 140, 255, 0.4);
    transition: all 0.5s ease;
    cursor: default;
}

.pole.is-on {
    background: var(--blue-soft);
    box-shadow: 0 0 12px 2px rgba(91, 140, 255, 0.7);
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
}

.pole::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(91, 140, 255, 0.7);
    opacity: 0;
    pointer-events: none;
}

.pole.is-on::after {
    animation: ping 3.2s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes ping {
    0% { transform: scale(0.7); opacity: 0.9; }
    70%, 100% { transform: scale(3.4); opacity: 0; }
}

/* Hover labels removed */

/* Map Legend rimosso dall'HTML */

.poles-facts { display: grid; gap: 1.4rem; margin-top: 2.4rem; }

.poles-fact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.poles-fact:last-child { border-bottom: 0; padding-bottom: 0; }

.poles-fact strong {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.poles-fact p { font-size: 0.95rem; color: var(--fg-muted); }

/* ─── Simulator (paper) ─────────────────────── */
.sim {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: stretch;
}

.sim__panel {
    background: var(--paper-2);
    border: 1px solid var(--line-on-paper);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 3vw, 2.6rem);
}

.sim__panel--dark {
    background: var(--ink);
    border-color: transparent;
    color: var(--fg);
    position: relative;
    overflow: hidden;
}

.sim__panel--dark::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    right: -140px; top: -180px;
    background: radial-gradient(circle, rgba(0, 71, 255, 0.4), transparent 65%);
    pointer-events: none;
}

.field { margin-bottom: 2rem; }
.field:last-child { margin-bottom: 0; }

.field__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.field__label { font-size: 0.9rem; font-weight: 500; color: var(--muted-on-paper); }
.field__value {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.field__hint { font-size: 0.78rem; color: var(--muted-on-paper); margin-top: 0.7rem; opacity: 0.85; }

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue) var(--fill, 50%), rgba(10, 12, 18, 0.12) var(--fill, 50%));
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--blue);
    box-shadow: 0 4px 14px rgba(0, 40, 140, 0.28);
    cursor: grab;
    transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }

input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--blue);
    cursor: grab;
}

.result { position: relative; }

.result__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result__row:last-of-type { border-bottom: 0; }
.result__row span { font-size: 0.92rem; color: var(--fg-muted); }
.result__row b {
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.result__total {
    margin-top: 1.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.result__total span { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.result__total b {
    display: block;
    margin-top: 0.6rem;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.bar {
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
}

.bar > i {
    display: block;
    height: 100%;
    transition: width 0.5s var(--ease);
}

.bar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--fg-dim);
}

.bar__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.bar__legend i { width: 9px; height: 9px; border-radius: 3px; }

.disclaimer {
    margin-top: 1.8rem;
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--fg-dim);
}

.section--paper .disclaimer { color: var(--muted-on-paper); opacity: 0.8; }

/* ─── Profiles ──────────────────────────────── */
.profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.profile {
    display: flex;
    flex-direction: column;
    background: var(--paper-2);
    border: 1px solid var(--line-on-paper);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2.5vw, 2.2rem);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.profile:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -34px rgba(10, 20, 60, 0.45);
}

.profile__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0, 71, 255, 0.08);
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
}

.profile__icon svg { width: 22px; height: 22px; }

.profile h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.profile > p { font-size: 0.95rem; color: var(--muted-on-paper); }

.profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.4rem 0;
}

.profile__tags span {
    font-size: 0.74rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(10, 12, 18, 0.05);
    color: var(--muted-on-paper);
    border: 1px solid var(--line-on-paper);
}

.profile ul { list-style: none; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line-on-paper); }

.profile li {
    display: flex;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--ink-on-paper);
    padding: 0.42rem 0;
    line-height: 1.5;
}

.profile li svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }

/* ─── Platform ──────────────────────────────── */
.platform {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.platform__cell {
    background: var(--ink);
    padding: clamp(2rem, 3.4vw, 3rem);
    transition: background 0.5s ease;
}

.platform__cell:hover { background: var(--ink-3); }

.platform__label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 1.6rem;
}

.platform__label svg { width: 17px; height: 17px; }

.platform__cell h3 { font-size: 1.35rem; margin-bottom: 0.9rem; max-width: 22ch; }
.platform__cell p { color: var(--fg-muted); font-size: 0.97rem; }

.platform__cell ul { list-style: none; margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.platform__cell li {
    font-size: 0.78rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--fg-muted);
}

/* ─── Process ───────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.6rem;
    counter-reset: step;
}

.step { position: relative; padding-top: 2.4rem; }

.step::before {
    content: '';
    position: absolute;
    top: 6px; left: 0; right: -1.6rem;
    height: 1px;
    background: var(--line);
}

.step:last-child::before { right: 0; }

.step::after {
    content: '';
    position: absolute;
    top: 2px; left: 0;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--ink);
    border: 1px solid var(--blue-soft);
}

.step.is-active::after { background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 71, 255, 0.2); }

.step__idx {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--fg-dim);
    display: block;
    margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.9rem; color: var(--fg-muted); }

.process-note {
    margin-top: 3rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(0, 71, 255, 0.06);
    font-size: 0.93rem;
    color: var(--fg-muted);
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.process-note svg { width: 19px; height: 19px; color: var(--blue-soft); flex-shrink: 0; margin-top: 2px; }

/* ─── Team ──────────────────────────────────── */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.person {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.person__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(140deg, var(--blue), var(--blue-deep));
    margin-bottom: 1.3rem;
}

.person h3 { font-size: 1.12rem; }
.person__role { font-size: 0.83rem; color: var(--blue-soft); margin: 0.35rem 0 1rem; }
.person p { font-size: 0.93rem; color: var(--fg-muted); }

.backer {
    grid-column: span 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    background: var(--ink-2);
}

.backer__mark {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 1.2rem;
}

/* ─── FAQ ───────────────────────────────────── */
.faq { max-width: 900px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    text-align: left;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.faq__q:hover { color: var(--blue-soft); }

.faq__icon {
    position: relative;
    width: 18px; height: 18px;
    flex-shrink: 0;
}

.faq__icon::before, .faq__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.faq__icon::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq__icon::after { left: 8px; top: 0; width: 1.5px; height: 18px; }

.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__item.is-open .faq__q { color: var(--blue-soft); }

.faq__a {
    overflow: hidden;
    height: 0;
    transition: height 0.45s var(--ease);
}

.faq__a p {
    padding-bottom: 1.6rem;
    max-width: 68ch;
    color: var(--fg-muted);
    font-size: 0.98rem;
}

/* ─── Final CTA ─────────────────────────────── */
.cta {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 7vw, 6rem) clamp(1.6rem, 5vw, 5rem);
    text-align: center;
    background: linear-gradient(140deg, #0033D6 0%, var(--blue) 45%, #2E6BFF 100%);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.cta > * { position: relative; }

.cta .h2 { max-width: 18ch; margin: 0 auto 1.4rem; }
.cta p { max-width: 58ch; margin: 0 auto; color: rgba(255, 255, 255, 0.82); }
.cta .btn { margin-top: 2.4rem; }

.cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.8rem;
}

.cta__badge svg { width: 14px; height: 14px; }

/* ─── Footer ────────────────────────────────── */
.footer { padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; border-top: 1px solid var(--line); }

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__about { max-width: 34ch; font-size: 0.9rem; color: var(--fg-muted); margin-top: 1.2rem; }

.footer h5 {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer__col a, .footer__col button {
    display: block;
    font-size: 0.92rem;
    color: var(--fg-muted);
    text-decoration: none;
    padding: 0.3rem 0;
    text-align: left;
    transition: color 0.25s ease;
}

.footer__col a:hover, .footer__col button:hover { color: var(--fg); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--fg-dim);
}

/* ─── Modal ─────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    background: rgba(4, 5, 9, 0.72);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__box {
    position: relative;
    width: min(640px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: #0E1119;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.45s var(--ease);
}

.modal.is-open .modal__box { transform: none; }

.modal__close {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--fg-muted);
    border: 1px solid var(--line);
    transition: background 0.3s ease, color 0.3s ease;
}

.modal__close:hover { background: rgba(255, 255, 255, 0.08); color: var(--fg); }
.modal__close svg { width: 16px; height: 16px; }

.modal__badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 1rem;
}

.modal h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 0.7rem; }
.modal__sub { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--fg-muted);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.28); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(0, 71, 255, 0.06);
}

.form-group input.error, .form-group textarea.error { border-color: #FF6B6B; }
.form-group select option { background: #0E1119; }

.btn-submit {
    width: 100%;
    margin-top: 0.8rem;
    padding: 1rem;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover:not(:disabled) { background: #1a5bff; transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-note { margin-top: 1rem; font-size: 0.78rem; color: var(--fg-dim); text-align: center; }
.form-note a { color: var(--fg-muted); }

.modal__success { text-align: center; padding: 1.5rem 0; }

.modal__success .icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(61, 220, 151, 0.12);
    color: #3DDC97;
    display: grid;
    place-items: center;
    margin: 0 auto 1.6rem;
}

.modal__success .icon svg { width: 28px; height: 28px; }
.modal__success p { color: var(--fg-muted); margin-bottom: 1.8rem; }

/* ─── Cookie banner ─────────────────────────── */
.cookie {
    position: fixed;
    left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
    z-index: 1500;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius);
    background: rgba(14, 17, 25, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    transform: translateY(140%);
    transition: transform 0.6s var(--ease);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.cookie.is-visible { transform: none; }
.cookie p { font-size: 0.82rem; color: var(--fg-muted); flex: 1 1 260px; }
.cookie a { color: var(--fg); }
.cookie__actions { display: flex; gap: 0.6rem; }

.cookie__actions button {
    font-size: 0.8rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.cookie__reject { color: var(--fg-muted); border: 1px solid var(--line); }
.cookie__reject:hover { background: rgba(255, 255, 255, 0.06); }
.cookie__accept { background: var(--fg); color: var(--ink); font-weight: 600; }

/* ─── Responsive ────────────────────────────── */
@media (max-width: 1080px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--line); }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat:nth-child(even) { padding-left: 1.8rem; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
    .step::before { right: -2.4rem; }
    .step:nth-child(2n)::before { right: 0; }
}

@media (max-width: 900px) {
    .nav__links { display: none; }
    .thesis, .model, .map, .sim { grid-template-columns: 1fr; }
    .model__sticky { position: static; }
    .profiles { grid-template-columns: 1fr; }
    .platform { grid-template-columns: 1fr; }
    .map__canvas { max-width: 320px; }
    .hero { min-height: 92svh; }
}

@media (max-width: 620px) {
    :root { --gutter: 1.25rem; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; padding-left: 0 !important; }
    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .step::before { right: 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
    .hero__note { display: none; }
    .cookie { flex-direction: column; align-items: stretch; }
    .cookie__actions { justify-content: flex-end; }
}
