/* ============================================================
   AQUILA DEEP INTEL — brand system
   Palette from brandbook (Juin 2026):
   Purple #6451C7 · Dark Purple #120254 · Vintage Blue #BDD0D6
   Off White #F7F6F3 · Black #111111 · Grey #B1BBBA · Dark Grey #373737
   Type: Arpona (display) / Aspekta (body) — web stand-ins:
   Marcellus (display) / Inter (body). Swap once licensed webfonts
   are added: set --font-display / --font-body below.
   ============================================================ */

:root {
    --purple: #6451C7;
    --deep: #120254;
    --ice: #BDD0D6;
    --paper: #F7F6F3;
    --ink: #111111;
    --grey: #B1BBBA;
    --dgrey: #373737;

    --font-display: "Marcellus", "Arpona", Georgia, serif;
    --font-body: "Inter", "Aspekta", -apple-system, "Segoe UI", sans-serif;

    --track: 0.18em;
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* ---------- micro-label (deck running heads) ---------- */
.micro {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--track);
    text-transform: uppercase;
}

/* ---------- pill badge (deck section tags) ---------- */
.pill {
    display: inline-block;
    background: var(--purple);
    color: var(--paper);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

/* ---------- display type ---------- */
h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.25; }

.lede {
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    line-height: 1.5;
    font-weight: 300;
}

/* ============================================================
   Signature motif — the deck's vertical light streaks
   ============================================================ */
.streaks {
    position: relative;
    background:
            radial-gradient(120% 90% at 15% 10%, #2a1478 0%, transparent 55%),
            radial-gradient(100% 100% at 90% 100%, #341a8c 0%, transparent 60%),
            var(--deep);
    color: var(--paper);
    overflow: hidden;
    isolation: isolate;
}
.streaks::before {
    content: "";
    position: absolute;
    inset: -10% -5%;
    z-index: -1;
    background:
            linear-gradient(90deg,
            transparent 0 46%,
            rgba(130, 106, 230, 0.00) 46%, rgba(130, 106, 230, 0.35) 47.2%, transparent 48.4%,
            transparent 50%,
            rgba(160, 140, 245, 0.00) 50%, rgba(160, 140, 245, 0.5) 51.6%, transparent 53.4%,
            transparent 56%,
            rgba(120, 96, 220, 0.00) 56%, rgba(120, 96, 220, 0.28) 57%, transparent 58%,
            transparent 61%,
            rgba(150, 128, 240, 0.00) 61%, rgba(150, 128, 240, 0.42) 62.6%, transparent 64.6%,
            transparent 68%,
            rgba(130, 106, 230, 0.00) 68%, rgba(130, 106, 230, 0.24) 69%, transparent 70.2%,
            transparent 74%,
            rgba(165, 145, 248, 0.00) 74%, rgba(165, 145, 248, 0.5) 76%, transparent 78.4%,
            transparent 82%,
            rgba(140, 118, 235, 0.00) 82%, rgba(140, 118, 235, 0.3) 83.4%, transparent 85%,
            transparent 90%,
            rgba(150, 128, 240, 0.00) 90%, rgba(150, 128, 240, 0.4) 92%, transparent 94.4%,
            transparent 100%);
    filter: blur(2px);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.8) 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.8) 100%);
}
.streaks::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--deep) 0%, rgba(18, 2, 84, 0.55) 42%, rgba(18, 2, 84, 0) 70%);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(18, 2, 84, 0.9);
    backdrop-filter: blur(10px);
    color: var(--paper);
    border-bottom: 1px solid rgba(247, 246, 243, 0.12);
}
.site-header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.logo-lockup { height: 34px; width: auto; display: block; }
.logo-lockup--sm { height: 24px; }
.brand .name {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.15;
}
.nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
}
.nav a {
    text-decoration: none;
    font-size: 12px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    opacity: 0.8;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}
.nav a:hover, .nav a.active { opacity: 1; border-bottom-color: var(--purple); }
.nav a:focus-visible, .lang-toggle button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}
.lang-toggle {
    display: flex;
    border: 1px solid rgba(247, 246, 243, 0.3);
    border-radius: 100px;
    overflow: hidden;
}
.lang-toggle button {
    background: none;
    border: none;
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    cursor: pointer;
    opacity: 0.6;
}
.lang-toggle button[aria-pressed="true"] {
    background: var(--purple);
    opacity: 1;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: clamp(90px, 14vh, 170px) 0 clamp(80px, 12vh, 150px); }
.hero .micro { opacity: 0.65; margin-bottom: 36px; display: block; }
.hero h1 { max-width: 15ch; }
.hero .sub {
    margin-top: 36px;
    max-width: 52ch;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    opacity: 0.85;
}
.hero .actions { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 100px;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--purple); color: var(--paper); }
.btn-solid:hover { background: #7563d4; }
.btn-ghost { border: 1px solid rgba(247, 246, 243, 0.4); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--deep); color: var(--paper); }

/* ============================================================
   Sections
   ============================================================ */
section { padding: clamp(72px, 10vh, 130px) 0; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.split .sticky-col { position: sticky; top: 110px; }

.statement {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.35;
    text-transform: none;
}
.statement em { font-style: normal; color: var(--purple); }
.streaks .statement em { color: #a99cf0; }

.rule-list { list-style: none; margin-top: 32px; }
.rule-list li {
    padding: 18px 0 18px 34px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    position: relative;
}
.rule-list li:last-child { border-bottom: 1px solid rgba(17, 17, 17, 0.12); }
.rule-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple);
}

/* domains grid */
.domains {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1px;
    background: rgba(17, 17, 17, 0.12);
    border: 1px solid rgba(17, 17, 17, 0.12);
    margin-top: 56px;
}
.domain {
    background: var(--paper);
    padding: 36px 30px 42px;
    transition: background 0.25s;
}
.domain:hover { background: #efede7; }
.domain h3 { margin-bottom: 14px; }
.domain h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--purple);
    margin-top: 14px;
}
.domain p { font-size: 15px; color: var(--dgrey); }

/* method steps */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step .num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--purple);
    display: block;
    margin-bottom: 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--dgrey); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 56px; }
.member .portrait {
    aspect-ratio: 4 / 5;
    background:
            linear-gradient(90deg, rgba(100, 81, 199, 0.14) 0 3%, transparent 3% 9%, rgba(100, 81, 199, 0.2) 9% 10.5%, transparent 10.5% 100%),
            linear-gradient(160deg, var(--ice), #d9e3e6 60%, var(--grey));
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}
.member .portrait svg { width: 34px; height: 34px; opacity: 0.5; }
.member .portrait img { width: 38px; height: auto; opacity: 0.45; }
.member h3 { font-size: 1.2rem; }
.member .role { color: var(--purple); font-size: 14px; font-weight: 400; margin: 6px 0 14px; }
.member p { font-size: 14.5px; color: var(--dgrey); }

/* presence — vintage blue dotted field */
.presence {
    background:
            radial-gradient(rgba(100, 81, 199, 0.5) 1.3px, transparent 1.4px);
    background-size: 16px 16px;
    background-color: var(--ice);
}
.presence .inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.cities { display: flex; flex-wrap: wrap; gap: 12px; }
.city {
    background: var(--paper);
    border-radius: 100px;
    padding: 9px 20px;
    font-size: 14.5px;
    box-shadow: 0 2px 10px rgba(18, 2, 84, 0.12);
}

/* distinctions */
.distinct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    margin-top: 56px;
}
.distinct h3 { font-size: 1.05rem; margin-bottom: 10px; }
.distinct h3::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--purple);
    margin-bottom: 16px;
}
.distinct p { font-size: 14.5px; color: var(--dgrey); }

/* deliverables */
.deliverables { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.deliverable {
    border: 1px solid rgba(247, 246, 243, 0.35);
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 14px;
}

/* CTA band */
.cta { text-align: left; }
.cta h2 { max-width: 18ch; }
.cta .actions { margin-top: 40px; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(40px, 6vw, 96px);
}
.contact-card { border-top: 1px solid rgba(17, 17, 17, 0.15); padding: 22px 0; }
.contact-card .micro { color: var(--purple); display: block; margin-bottom: 8px; }
.contact-card a { text-decoration: none; font-size: 1.15rem; font-family: var(--font-display); }
.contact-card a:hover { color: var(--purple); }

form .field { margin-bottom: 22px; }
form label {
    display: block;
    font-size: 11px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--dgrey);
}
form input, form textarea, form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.3);
    padding: 10px 2px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    border-radius: 0;
}
form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-bottom-color: var(--purple);
}
form textarea { min-height: 130px; resize: vertical; }
form button {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.confidential-note {
    margin-top: 28px;
    font-size: 13px;
    color: var(--dgrey);
    border-left: 2px solid var(--purple);
    padding-left: 16px;
}

/* ============================================================
   Footer — echoes the deck's bottom strip
   ============================================================ */
.site-footer {
    background: var(--deep);
    color: var(--paper);
}
.site-footer .strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 26px 0;
    border-top: 1px solid rgba(247, 246, 243, 0.15);
}
.site-footer .micro { opacity: 0.6; }
.site-footer .brand .name { font-size: 12px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .team-grid, .distinct-grid { grid-template-columns: 1fr; }
    .split, .presence .inner, .contact-grid { grid-template-columns: 1fr; }
    .split .sticky-col { position: static; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .site-header .bar { height: auto; padding: 12px 0; flex-wrap: wrap; }
    .nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}
