/* =========================================================
   SOVRAN — Advisory Services
   Stylesheet — Brutaliste éditorial N&B / mégatypo
   ========================================================= */

/* ---------- Variables ---------- */
:root {
    --bg: #000000;
    --bg-elev: #0d0d0d;
    --ink: #ededea;          /* off-white légèrement chaud */
    --ink-soft: #b3b3ad;
    --ink-mute: #6f6f6a;
    --line: rgba(237, 237, 234, 0.12);
    --accent: #d9ff3a;       /* jaune-vert fluo, ultra ponctuel */

    --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    --max: 1440px;
    --gutter: clamp(20px, 4vw, 56px);

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin: 0;
    color: var(--ink);
}

p { margin: 0; }
em { font-style: italic; font-weight: 400; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-mute);
    margin-bottom: 32px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 24px var(--gutter);
    transition: background 0.3s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: var(--max);
    margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--ink);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: rgba(237, 237, 234, 0.08);
    color: var(--ink);
    font-size: 14px;
    font-weight: 400;
    border-radius: 999px;
    border: 1px solid var(--line);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pill:hover {
    background: rgba(237, 237, 234, 0.14);
    border-color: rgba(237, 237, 234, 0.2);
}

/* =========================================================
   HERO — Big centered logo + mégatypo tagline
   ========================================================= */
.hero {
    min-height: 100svh;
    padding: 120px var(--gutter) 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    text-align: center;
    position: relative;
}

.hero-logo-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    padding-top: 24px;
}
.hero-logo {
    height: clamp(240px, 52vh, 640px);
    width: auto;
    max-width: 100%;
    /* Knock out the black background of the PNG against the page bg */
    mix-blend-mode: screen;
    filter: brightness(1.05);
}
.hero-wordmark {
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0;
}

.hero-tagline {
    font-size: clamp(2.5rem, 9vw, 10rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.045em;
    margin: 0;
    width: 100%;
}

.hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    margin-top: 32px;
    text-align: left;
}

/* Sticky-bottom on desktop: pin the foot at viewport bottom while scrolling
   through the (taller-than-viewport) hero, then release into natural flow
   when the natural position catches up. Disabled on mobile/tablet. */
@media (min-width: 961px) {
    .hero-foot {
        position: sticky;
        bottom: 48px; /* matches .hero padding-bottom for seamless release */
        z-index: 2;
    }
}
.hero-lead {
    max-width: 380px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
}
.explore {
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.explore:hover { transform: translateY(2px); }

/* =========================================================
   STATEMENT / PRACTICE
   ========================================================= */
.statement {
    padding: 160px var(--gutter);
    border-top: 1px solid var(--line);
}
.statement-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.statement-text {
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 1100px;
    color: var(--ink);
}

/* =========================================================
   FOUNDER
   ========================================================= */
.founder {
    padding: 140px var(--gutter);
    border-top: 1px solid var(--line);
}
.founder-inner { max-width: var(--max); margin: 0 auto; }

.founder-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 1100px;
    margin-bottom: 32px;
}
.founder-title em { color: var(--ink-soft); font-style: italic; }

.founder-byline {
    max-width: 780px;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.5;
    color: var(--ink-soft);
    margin-bottom: 96px;
}
.founder-byline a {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    transition: border-color 0.2s var(--ease);
}
.founder-byline a:hover { border-bottom-color: var(--ink); }

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 80px;
}
.venture {
    background: var(--bg);
    padding: 56px 40px 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s var(--ease);
}
.venture:hover { background: var(--bg-elev); }

.venture-tag {
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 24px;
}
.venture-name {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.venture-desc {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 44ch;
    margin-bottom: 16px;
}
.venture-link {
    color: var(--ink);
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.venture-link:hover { border-bottom-color: var(--ink); gap: 10px; }

.founder-note {
    max-width: 720px;
    font-size: clamp(1.125rem, 1.6vw, 1.5rem);
    line-height: 1.4;
    color: var(--ink);
}

/* =========================================================
   PILLARS
   ========================================================= */
.pillars {
    padding: 120px var(--gutter);
    border-top: 1px solid var(--line);
}
.pillars-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.pillars-head {
    margin-bottom: 80px;
    max-width: 720px;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.pillar {
    background: var(--bg);
    padding: 48px 32px 56px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s var(--ease);
}
.pillar:hover { background: var(--bg-elev); }
.pillar-num {
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 24px;
}
.pillar h3 {
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.pillar p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 38ch;
}

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta {
    padding: 180px var(--gutter);
    border-top: 1px solid var(--line);
    text-align: center;
}
.cta-inner { max-width: var(--max); margin: 0 auto; }
.cta-title {
    font-size: clamp(3rem, 10vw, 9rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.045em;
    margin-bottom: 64px;
}
.cta-mail {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 400;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.cta-mail:hover { border-bottom-color: var(--ink); gap: 24px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    padding: 80px var(--gutter) 40px;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.footer-label {
    font-size: 13px;
    color: var(--ink-mute);
    letter-spacing: 0.02em;
    margin: 0 0 20px;
}
.footer-line {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0;
}
.footer-line a {
    color: var(--ink-soft);
    transition: color 0.2s var(--ease);
}
.footer-line a:hover { color: var(--ink); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--ink);
    margin: 0;
}
.footer-meta {
    font-size: 13px;
    color: var(--ink-mute);
    margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar { padding: 40px 24px; border-bottom: 1px solid var(--line); }
    .pillar:last-child { border-bottom: none; }
    .founder-grid { grid-template-columns: 1fr; }
    .venture { padding: 40px 24px; border-bottom: 1px solid var(--line); }
    .venture:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .hero-foot { flex-direction: column; align-items: flex-start; gap: 32px; }
    .hero-logo { height: clamp(220px, 50vh, 480px); }
    .statement, .founder, .cta { padding: 96px var(--gutter); }
    .pillars { padding: 80px var(--gutter); }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

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