@import url("./fonts.css?v=202609081607");

* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

::-webkit-scrollbar { display: none; width: 0; }

#webgl {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    outline: none;
    /* no preloader: the page shows at once, the 3D stage fades in when its first frame is ready */
    opacity: 0; transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
body.stage-ready #webgl { opacity: 1; }

/* The visitor's own pointer: an arrow, and a hand over links */
a, button, .gallery a, .sport-card { cursor: pointer; }

.cinematic-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;          /* clicks pass through to canvas */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 60px 40px 60px;
    box-sizing: border-box;
}

/* ---- Header: quiet, editorial, one typeface ---- */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 70px; z-index: 20;
    pointer-events: auto;
    position: relative;
}
/* Once the long-form sections scroll under it, the header gets a frosted backing. */
.main-header::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60px; right: -60px; z-index: -1;
    background: rgba(2, 6, 14, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0; transition: opacity 0.5s;
}
body.contact-open .main-header::before, body.subpage .main-header::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.brand-mark { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
    position: relative; padding: 6px 0;
    font-size: 12px; font-weight: 400; letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.4s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: #ffffff; transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover, .nav-link.is-active { color: #ffffff; }
.nav-link.is-active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-counter {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45);
}
.header-counter #brand-chapter { color: #ffffff; }
.counter-sep { width: 14px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.contact-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
    color: #ffffff; text-decoration: none; background: transparent;
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
    transition: border-color 0.4s, background 0.4s;
}
.btn-arrow { font-size: 13px; line-height: 1; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.contact-btn:hover { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }
.contact-btn:hover .btn-arrow { transform: translate(2px, -2px); }
.header-progress { position: fixed; top: 70px; left: 0; right: 0; height: 1px; z-index: 6; pointer-events: none; }
.header-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15));
}

.slide { position: absolute; bottom: 12%; pointer-events: none; }

#slide-1 { left: 0; width: 100%; bottom: 15%; }
#slide-1 .slide-title { margin-left: 60px; }
#slide-1 .desc-row { position: relative; display: flex; width: 100%; }
#slide-1 .col-1 {
    margin-left: 60px;
    width: calc(40vw - 60px);
    max-width: calc(40vw - 60px);
}
#slide-1 .col-2 { display: none; }

#slide-2 { left: calc(50vw + 20px); right: 60px; width: auto; bottom: 12%; }
#slide-2 .slide-desc { max-width: min(60ch, 100%); }   /* the paragraph runs almost as wide as its title */

/* Slide 2: four benefits, icon first */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 26px 40px; margin-top: 10px; }
.benefit {
    display: flex; align-items: flex-start; gap: 14px;
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.benefit:nth-child(1) { transition-delay: 0.28s; }
.benefit:nth-child(2) { transition-delay: 0.36s; }
.benefit:nth-child(3) { transition-delay: 0.44s; }
.benefit:nth-child(4) { transition-delay: 0.52s; }
.slide.active .benefit { opacity: 1; transform: none; }
.benefit-icon {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff;
    display: grid; place-items: center;
}
.benefit-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 300; color: #d1d5db; }

/* Slide 4: key figures */
.figures { display: flex; gap: clamp(28px, 4vw, 64px); margin: 28px 0 0; }
.figure {
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.figure:nth-child(1) { transition-delay: 0.45s; }
.figure:nth-child(2) { transition-delay: 0.53s; }
.figure:nth-child(3) { transition-delay: 0.61s; }
.slide.active .figure { opacity: 1; transform: none; }
.figure dt { font-size: clamp(36px, 3.4vw, 52px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; color: #f2f7ff; font-variant-numeric: tabular-nums; }
.figure dd { margin: 10px 0 0; font-size: 12px; line-height: 1.5; font-weight: 400; color: #aeb6c4; }

#slide-3 { left: 60px; width: min(620px, 46vw); bottom: 10%; }

#slide-4 { left: 60px; max-width: 640px; }
#slide-4 .slide-desc { max-width: 44ch; }

.slide-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 5.4vw, 80px);
    line-height: 1.0;
    font-weight: 400;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    color: #f2f7ff;
}
.slide-desc {
    font-size: 16px; line-height: 1.7; font-weight: 300;
    color: #d1d5db; letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.3s;
}
.slide.active .slide-desc { opacity: 1; transform: translateY(0); }

/* Title reveal: each line rises out of its own mask with a long exponential ease.
   Transform and opacity only, so it stays on the compositor and silky. */
.slide-title .line, .contact-title .line {
    display: block; overflow: hidden; white-space: nowrap;   /* two lines, never three: see fitTitles() */
    padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em;
}
.line-inner {
    display: block; transform: translateY(112%); opacity: 0; filter: blur(12px);
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease-out,
                filter 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
.line.muted .line-inner { transition-delay: 0.09s; }
.slide.active .slide-title .line-inner, .contact.is-visible .contact-inner.in .contact-title .line-inner {
    transform: none; opacity: 1; filter: blur(0);
}
.slide-title .line.muted, .contact-title .line.muted { color: #b9c1d1; }
.slide.active { pointer-events: auto; }

.story-progress {
    position: fixed; top: 50%; right: 40px; transform: translateY(-50%);
    z-index: 5; pointer-events: none; transition: opacity 0.6s;
}
.story-dashes { display: flex; flex-direction: column; gap: 12px; }
.story-dash { width: 2px; height: 40px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; }
.story-dash-fill { width: 100%; height: 0%; background: #ffffff; border-radius: 2px; }

.grid-horizontal-line {
    position: fixed; top: 70px; left: 0; right: 0;
    width: 100%; height: 1px;
    background: rgba(255, 255, 255, 0.065);
    z-index: 5; pointer-events: none;
}

/* ---- Contact chapter: a real section that rises over the fixed 3D stage ---- */
/* The cinematic spans 4 screens of scroll: about one screen per chapter */
.scroll-stage { height: 400vh; pointer-events: none; }
.grid-horizontal-line { transition: opacity 0.6s; }
body.contact-open .story-progress, body.contact-open .grid-horizontal-line { opacity: 0; }

.contact {
    position: relative; z-index: 8;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: stretch; gap: 160px;
    padding: 150px 60px 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 20%, rgba(0, 0, 0, 0.30) 100%);
}
.contact-inner {
    width: 100%; max-width: 1760px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 600px);
    justify-content: space-between; gap: clamp(40px, 6vw, 130px); align-items: center;
}
.contact-eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 48px;
    font: 500 11px/1 'Space Grotesk', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #cfd6e6;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.contact-title {
    font-size: clamp(48px, 5.8vw, 92px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 400;
    color: #f2f7ff; margin-bottom: 40px;
}

.contact-lead { font-size: 17px; line-height: 1.7; font-weight: 300; color: #d1d5db; margin-bottom: 60px; }
.contact-mail {
    display: inline-flex; align-items: center; gap: 30px; padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff; text-decoration: none; font-size: 18px; font-weight: 400; transition: gap 0.35s, border-color 0.35s;
}
.contact-mail:hover { gap: 44px; border-color: #ffffff; }
.arrow { font-size: 1.15em; line-height: 1; }
.contact-lead, .contact-mail, .contact-card {
    opacity: 0; transform: translateY(34px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}
.contact-mail { transition-delay: 0.3s; }
.contact-card { transition-delay: 0.35s; }
.contact-inner.in .contact-lead, .contact-inner.in .contact-mail, .contact-inner.in .contact-card {
    opacity: 1; transform: none;
}

/* The card. By default a CSS glass; when the 3D slab is active (body.has-glass-card)
   the CSS body turns transparent and the WebGL glass shows through behind the fields. */
.contact-card {
    position: relative; width: 100%; max-width: 600px; justify-self: end;
    border-radius: 30px; padding: 40px 44px 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
body.has-glass-card .contact-card {
    border-color: transparent; background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
}
/* Specular rim on top of the 3D glass: a bright hairline that fades along the edge. */
body.has-glass-card .contact-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 28%,
                                rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.35) 100%);
}
body.has-glass-card .contact-card::after {
    content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%);
}
.contact-card > * { position: relative; z-index: 1; }
.card-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px;
    font: 500 11px/1 'Space Grotesk', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #d7deea;
}
.card-head .arrow { font-size: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-wide { grid-column: 1 / -1; }
.field-label { font: 500 12px/1 'Space Grotesk', sans-serif; letter-spacing: 0.04em; color: #dfe6f3; }
.field-label em { font-style: normal; color: #ff9ab8; }
.field-label small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #8d97ab; margin-left: 8px; }
.field input, .field textarea {
    width: 100%; background: transparent; border: 0; border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    padding: 6px 0 12px; color: #ffffff; outline: none; -webkit-appearance: none; appearance: none;
    font: 300 16px/1.4 'Space Grotesk', sans-serif; transition: border-color 0.3s;
    user-select: text; -webkit-user-select: text;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b94a6; }
.field input:focus, .field textarea:focus { border-bottom-color: #ffffff; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0b0b10 inset; -webkit-text-fill-color: #ffffff; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 34px; }
.card-note { font-size: 10.5px; line-height: 1.7; color: #b3bccb; letter-spacing: 0.3px; }
.pill-btn {
    display: inline-flex; align-items: center; gap: 18px; padding: 16px 26px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); color: #ffffff;
    font: 500 13px/1 'Space Grotesk', sans-serif; letter-spacing: 0.2px;
    transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}
.pill-btn .arrow { font-size: 16px; }
.pill-btn:hover { background: #ffffff; color: #000000; border-color: #ffffff; transform: translateY(-2px); }
.pill-btn:disabled { opacity: 0.55; pointer-events: none; }
/* The robot trap: off-screen for people, still filled in by naive bots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 26px; }
.form-status {
    margin-top: 22px; padding: 14px 18px; border-radius: 14px; font-size: 13.5px; line-height: 1.55;
    border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: #dfe6f3;
}
.form-status[data-kind="ok"] { border-color: rgba(110, 231, 170, 0.5); background: rgba(110, 231, 170, 0.08); color: #c9f7df; }
.form-status[data-kind="error"] { border-color: rgba(255, 154, 184, 0.5); background: rgba(255, 154, 184, 0.08); color: #ffd5e2; }
.form-status a { color: #ffffff; font-weight: 500; }
@media (max-width: 1000px) {
    .contact { padding: 120px 24px 60px; }
    .contact-inner { grid-template-columns: 1fr; gap: 56px; }
    .contact-card { justify-self: stretch; max-width: none; padding: 32px 26px; }
    .contact-title { letter-spacing: -3px; }
    .field-grid { grid-template-columns: 1fr; gap: 24px; }
    .card-foot { flex-direction: column; align-items: flex-start; }
}

/* ---- Hero links, profile photo, benefit labels ---- */
.hero-links {
    list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0 60px; max-width: calc(50vw - 60px);
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}
.slide.active .hero-links { opacity: 1; transform: none; }
.hero-links a {
    display: inline-flex; align-items: center; gap: 11px; padding: 14px 21px 14px 17px;
    border: 1px solid rgba(126, 212, 255, 0.35); border-radius: 999px;
    background: rgba(94, 200, 255, 0.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
    transition: border-color 0.35s, background 0.35s, transform 0.35s;
}
.hero-links a:hover { border-color: rgba(126, 212, 255, 0.8); background: rgba(94, 200, 255, 0.12); transform: translateY(-2px); }
.hero-links svg { width: 20px; height: 20px; fill: none; stroke: #7fd6ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* The profile photo opens the home page, large, right above the name */
.slide-avatar {
    display: block; width: clamp(120px, 11vw, 168px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
    margin: 0 0 28px 60px;
    border: 2px solid rgba(126, 212, 255, 0.7);
    box-shadow: 0 0 0 8px rgba(94, 200, 255, 0.08), 0 0 50px rgba(94, 200, 255, 0.25), 0 20px 60px rgba(0, 0, 0, 0.55);
    opacity: 0; transform: translateY(14px) scale(0.92);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.slide.active .slide-avatar { opacity: 1; transform: none; }
@media (min-width: 901px) and (max-height: 820px) { .slide-avatar { width: 112px; margin-bottom: 20px; } }
.benefit p strong { display: block; margin-bottom: 3px; font-weight: 500; color: #ffffff; }

/* ---- Parcours: expertise, experience and education, in glass cards ---- */
.cv { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 120px; }
.cv a { color: inherit; }
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.cv-core { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 30px 80px; align-items: start; }
.cv-core .contact-eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.cv-title { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; font-weight: 400; letter-spacing: -0.035em; color: #f2f7ff; }
.cv-title .muted { color: #b9c1d1; }
.cv-core-text p { font-size: 16px; line-height: 1.75; font-weight: 300; color: #d1d5db; margin-bottom: 20px; }
.cv-more {
    display: inline-flex; align-items: center; gap: 18px; margin-top: 10px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(126, 212, 255, 0.5); text-decoration: none; font-size: 14px; color: #e6f4ff;
    transition: gap 0.35s, border-color 0.35s;
}
.cv-more:hover { gap: 30px; border-color: #ffffff; }
.cv-heading {
    display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px;
    font-size: clamp(30px, 3vw, 46px); font-weight: 400; letter-spacing: -0.03em; color: #f2f7ff;
}
.cv-heading span { font-size: 11px; letter-spacing: 0.22em; color: #7fd6ff; }
.timeline { --rail: 0; list-style: none; position: relative; display: grid; gap: 26px; padding-left: 210px; }
.timeline::before, .timeline::after {
    content: ''; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px;
}
.timeline::before { background: rgba(255, 255, 255, 0.10); }
.timeline::after {
    background: linear-gradient(180deg, #bfeaff, #3aa8ff); box-shadow: 0 0 12px rgba(94, 200, 255, 0.7);
    transform-origin: top; transform: scaleY(var(--rail));
}
.tl-item { position: relative; }
.tl-item::before {
    content: ''; position: absolute; left: -35px; top: 30px; width: 9px; height: 9px; border-radius: 50%;
    background: #000; border: 1px solid #7fd6ff; box-shadow: 0 0 12px rgba(94, 200, 255, 0.8); z-index: 1;
}
.tl-date {
    position: absolute; left: -210px; top: 26px; width: 150px; text-align: right;
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb4c8;
}
.tl-card {
    --mx: 50%; --my: 0%;
    position: relative; overflow: hidden; padding: 28px 32px; border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(94, 200, 255, 0.16), transparent 60%);
}
.tl-card:hover { border-color: rgba(126, 212, 255, 0.45); transform: translateY(-3px); }
.tl-card:hover::before { opacity: 1; }
.tl-card > * { position: relative; }
.tl-card h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: #ffffff; margin-bottom: 8px; }
.tl-card h4 a { text-decoration: none; }
.tl-card h4 a:hover { color: #9fe0ff; }
.tl-card h4 em {
    margin-left: 10px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(126, 212, 255, 0.4);
    font-style: normal; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #9fe0ff;
    vertical-align: 3px;
}
.tl-sub { font-size: 14px; line-height: 1.5; color: #c9d3e0; margin-bottom: 6px; }
.tl-org { font-size: 13px; color: #8fa3b8; }
.tl-org a { text-decoration: none; border-bottom: 1px solid rgba(126, 212, 255, 0.3); transition: color 0.3s, border-color 0.3s; }
.tl-org a:hover { color: #ffffff; border-color: #7fd6ff; }
.tl-points { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.tl-points li { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: #d1d5db; padding-left: 18px; position: relative; }
.tl-points li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: #7fd6ff; }
.tl-points strong { font-weight: 500; color: #ffffff; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tl-tags span {
    padding: 5px 11px; border-radius: 999px; background: rgba(94, 200, 255, 0.08); border: 1px solid rgba(126, 212, 255, 0.22);
    font-size: 11px; letter-spacing: 0.04em; color: #bfe8ff;
}
.timeline-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; gap: 18px; }
.timeline-compact::before, .timeline-compact::after, .timeline-compact .tl-item::before { display: none; }
.timeline-compact .tl-date { position: static; display: block; width: auto; text-align: left; margin: 0 0 10px 4px; color: #7fd6ff; }
.timeline-compact .tl-card { height: calc(100% - 26px); padding: 24px 26px; }
.timeline-compact .tl-card h4 { font-size: 17px; line-height: 1.35; }
/* Compétences: three cards per row */
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.skill-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-card h4 { font-size: 18px; line-height: 1.3; margin-bottom: 12px; }
.skill-card p { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: #d1d5db; }
.skill-card .skill-kicker {
    margin-bottom: 10px; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #7fd6ff;
}
.skill-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.skill-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.skill-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.cv-note {
    margin-top: 22px; padding: 16px 20px; border-left: 2px solid #7fd6ff; border-radius: 0 12px 12px 0;
    background: rgba(94, 200, 255, 0.06); font-size: 13px; line-height: 1.65; color: #aebdcc;
}

/* Sport: stories with photo galleries */
.stories { display: grid; gap: 22px; }
.story h4 { font-size: 22px; margin-bottom: 14px; }
.story > p:not(.story-meta) { font-size: 15px; line-height: 1.75; font-weight: 300; color: #d1d5db; margin-bottom: 14px; max-width: 78ch; }
.story-meta { margin-bottom: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7fd6ff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 22px; }
.gallery a {
    position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
}
.gallery img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
    filter: saturate(0.9) brightness(0.92);
}
.gallery a:hover img { transform: scale(1.08); filter: none; }
.gallery span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
    font-size: 12px; line-height: 1.3; color: #ffffff;
}
.lightbox {
    position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 70px 80px;
    background: rgba(2, 6, 14, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox img {
    max-width: min(1200px, 100%); max-height: calc(100vh - 180px); border-radius: 18px; object-fit: contain;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.14);
}
.lightbox figcaption { font-size: 13px; letter-spacing: 0.04em; color: #cfe9ff; }
.lightbox video, .lightbox iframe {
    display: none; width: min(1200px, calc(100vw - 160px)); max-height: calc(100vh - 180px); aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: #000;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.lightbox[data-kind="video"] img, .lightbox[data-kind="youtube"] img { display: none; }
.lightbox[data-kind="video"] video, .lightbox[data-kind="youtube"] iframe { display: block; }

/* Videos in a gallery: wider 16:9 thumbnails, a glass play badge, silent preview on hover */
.gallery-videos { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-videos a { aspect-ratio: 16 / 9; }
.gallery video { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); transition: filter 0.5s; }
.gallery a.is-video:hover video { filter: none; }
.gallery a.is-video::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; z-index: 2;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 5.5v9l7-4.5z' fill='white'/%3E%3C/svg%3E") center / 22px no-repeat;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.gallery a.is-video:hover::after { transform: scale(1.12); opacity: 0.6; }
.lightbox button {
    position: absolute; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); color: #ffffff;
    font: 300 22px/1 'Space Grotesk', sans-serif; transition: background 0.3s, border-color 0.3s;
}
.lightbox button:hover { background: rgba(94, 200, 255, 0.18); border-color: #7fd6ff; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Sport hub: one card per discipline, each leading to its own page */
.sport-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.sport-card {
    --mx: 50%; --my: 0%;
    position: relative; grid-column: span 2; min-height: 300px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 28px;
    border-radius: 26px; border: 1px solid rgba(255, 255, 255, 0.14); color: #ffffff; text-decoration: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.sport-card:nth-child(-n+2) { grid-column: span 3; min-height: 360px; }
.sport-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(460px circle at var(--mx) var(--my), rgba(94, 200, 255, 0.20), transparent 60%);
}
.sport-card:hover { border-color: rgba(126, 212, 255, 0.55); transform: translateY(-4px); }
.sport-card:hover::after { opacity: 1; }
.sport-card > span { position: relative; z-index: 1; }
.sport-card > .sport-cover {
    position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
    filter: saturate(0.85) brightness(0.62); transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}
.sport-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 4, 12, 0.88) 100%); }
.sport-cover-empty {
    background: radial-gradient(120% 90% at 85% 10%, rgba(94, 200, 255, 0.30), transparent 55%),
                radial-gradient(90% 70% at 10% 100%, rgba(30, 107, 255, 0.28), transparent 60%);
    filter: none;
}
.sport-card:hover .sport-cover { transform: scale(1.08); filter: saturate(1) brightness(0.72); }
.sport-num { position: absolute !important; top: 24px; left: 28px; font-size: 11px; letter-spacing: 0.22em; color: #7fd6ff; }
.sport-icon {
    position: absolute !important; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sport-icon svg { width: 22px; height: 22px; }
.sport-body { display: grid; gap: 8px; }
.sport-name { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.sport-teaser { max-width: 42ch; font-size: 14px; line-height: 1.55; font-weight: 300; color: #d6e2ee; }
.sport-meta {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9fe0ff;
}
.sport-meta .arrow { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.sport-card:hover .sport-meta .arrow { transform: translate(3px, -3px); }
.benefit:nth-child(5) { transition-delay: 0.6s; }

/* Sport pages: the same glass and type, on a static backdrop instead of the 3D stage */
.sub-backdrop {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 50% at 85% 0%, rgba(47, 140, 255, 0.22), transparent 70%),
                radial-gradient(50% 45% at 0% 100%, rgba(92, 200, 255, 0.12), transparent 70%), #000;
}
.sub-header {
    position: sticky; top: 0; z-index: 50; padding: 0 60px; height: 70px;
}
body.subpage .main-header::before { left: 0; right: 0; }
.sub-main { position: relative; z-index: 2; padding: 0 60px 120px; display: grid; gap: 110px; }
.sub-hero { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 110px 0 10px; }
.sub-cover {
    position: absolute; top: 0; right: -60px; width: min(62%, 820px); height: 100%; z-index: -1;
    background-size: cover; background-position: center; opacity: 0.38; filter: saturate(0.8);
    -webkit-mask-image: radial-gradient(75% 75% at 70% 45%, #000 30%, transparent 78%);
    mask-image: radial-gradient(75% 75% at 70% 45%, #000 30%, transparent 78%);
}
.sub-back {
    display: inline-flex; gap: 10px; margin-bottom: 40px; font-size: 13px; color: #9fe0ff; text-decoration: none;
    transition: gap 0.35s, color 0.35s;
}
.sub-back:hover { gap: 16px; color: #ffffff; }
.sub-hero .contact-eyebrow { margin-bottom: 30px; }
.sub-title { font-size: clamp(52px, 7vw, 112px); line-height: 0.98; font-weight: 400; letter-spacing: -0.04em; color: #f2f7ff; }
.sub-title .muted { color: #b9c1d1; }
.sub-lead { max-width: 54ch; margin-top: 30px; font-size: 17px; line-height: 1.7; font-weight: 300; color: #d1d5db; }
.sub-hero .reveal:nth-child(3) { transition-delay: 0.08s; }
.sub-hero .reveal:nth-child(4) { transition-delay: 0.16s; }
.sub-hero .reveal:nth-child(5) { transition-delay: 0.24s; }
.sub-pager { max-width: 1180px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sub-pager-link { display: grid; gap: 10px; text-decoration: none; color: #ffffff; }
.sub-pager-next { text-align: right; }
.sub-pager-dir { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7fd6ff; }
.sub-pager-name { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; }
.sub-empty { text-align: center; padding: 56px 32px; }
.sub-empty .sport-icon { position: static !important; margin: 0 auto 22px; }
.sub-empty p { max-width: 46ch; margin: 10px auto 0; font-size: 15px; line-height: 1.7; font-weight: 300; color: #c9d3e0; }
.sub-footer {
    position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 24px; padding: 20px 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font: 400 10px/1 'Space Grotesk', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.32);
}
.sub-footer a { color: inherit; text-decoration: none; }
.sub-footer a:hover { color: rgba(255, 255, 255, 0.8); }

/* Header: pages in the centre, "where am I on this page" on the right */
.main-header > .page-nav {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; align-items: center; gap: 36px;
}
.page-nav:empty { display: none; }
.page-link {
    position: relative; padding: 6px 0; font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.6); text-decoration: none; white-space: nowrap; transition: color 0.4s;
}
.page-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: #7fd6ff; transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-link:hover, .page-link.is-current { color: #ffffff; }
.page-link:hover::after, .page-link.is-current::after { width: 100%; }
.page-link.is-current::after { background: #ffffff; }
/* Contact stands out: an outlined glass pill instead of an underlined link */
.page-link.page-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 18px;
    border: 1px solid rgba(126, 212, 255, 0.6); border-radius: 999px;
    background: rgba(94, 200, 255, 0.10); color: #ffffff;
    box-shadow: 0 0 22px rgba(94, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.page-link.page-cta::after { display: none; }
.page-link.page-cta:hover { background: #bfeaff; border-color: #bfeaff; color: #04121f; box-shadow: 0 0 30px rgba(94, 200, 255, 0.45); }
.page-link.page-cta:hover .btn-arrow { transform: translate(2px, -2px); }

.main-header > .header-nav {
    display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.main-header > .header-nav .nav-link {
    padding: 6px 13px; border-radius: 999px; font-size: 11.5px; white-space: nowrap;
    transition: color 0.4s, background 0.4s;
}
.main-header > .header-nav .nav-link::after { display: none; }
.main-header > .header-nav .nav-link.is-active { color: #04121f; background: #bfeaff; }
/* FR | EN, at the far right */
.main-header { justify-content: flex-start; }
.main-header > .header-nav { margin-left: auto; }
.lang-switch {
    display: inline-flex; gap: 2px; padding: 3px; margin-left: 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03);
}
.lang-link {
    padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s, background 0.3s;
}
a.lang-link[href]:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.lang-link.is-current { color: #04121f; background: #bfeaff; }
@media (max-width: 1280px) { .main-header > .page-nav { gap: 26px; } .main-header > .header-nav .nav-link { padding: 6px 10px; } }
@media (max-width: 1140px) { .main-header > .header-nav { display: none; } .lang-switch { margin-left: auto; } }
@media (max-width: 820px) { .brand-text { display: none; } }
@media (max-width: 520px) {
    .main-header > .page-nav { position: static; transform: none; margin-left: auto; gap: 14px; }
    .page-link { font-size: 12px; }
    .page-link.page-cta { padding: 6px 10px 6px 12px; gap: 4px; }
    /* on a phone, only the other language is shown */
    .lang-switch { margin-left: 10px; padding: 2px; }
    .lang-link.is-current { display: none; }
    .lang-link { padding: 5px 8px; }
}

@media (max-width: 1000px) {
    .sport-cards { grid-template-columns: 1fr; gap: 14px; }
    .sport-card, .sport-card:nth-child(-n+2) { grid-column: auto; min-height: 240px; padding: 22px; }
    .sub-header { padding: 0 24px; }
    .sub-main { padding: 0 24px 90px; gap: 80px; }
    .sub-hero { padding-top: 60px; }
    .sub-cover { right: -24px; width: 100%; opacity: 0.28; }
    .sub-lead { font-size: 15.5px; }
    .sub-pager { grid-template-columns: 1fr; }
    .sub-pager-next { text-align: left; }
    .sub-footer { padding: 18px 24px 22px; flex-wrap: wrap; }
    .contact { gap: 110px; }
    .skill-grid, .skill-grid-2 { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .gallery a { border-radius: 10px; }
    .lightbox { padding: 70px 12px; }
    .lightbox video, .lightbox iframe { width: calc(100vw - 24px); }
    .gallery-videos { grid-template-columns: 1fr; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; }
    .hero-links { max-width: none; }
    .cv { gap: 90px; }
    .cv-core { grid-template-columns: 1fr; }
    .timeline { padding-left: 26px; }
    .timeline::before, .timeline::after { left: 0; }
    .tl-item::before { left: -30px; top: 4px; }
    .tl-date { position: static; display: block; width: auto; text-align: left; margin-bottom: 10px; }
    .tl-card { padding: 22px 20px; border-radius: 20px; }
    .tl-card h4 em { display: inline-block; margin: 6px 0 0; }
    .timeline-compact { grid-template-columns: 1fr; padding-left: 0; }
    .timeline-compact .tl-card { height: auto; }
}

/* ---- Mini footer: hairline, quiet, technical ---- */
.contact-footer {
    position: absolute; left: 60px; right: 60px; bottom: 0;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 18px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.06);
    font: 400 10px/1 'Space Grotesk', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    opacity: 0; transition: opacity 1s ease 0.6s;
}
.contact.is-visible .contact-footer { opacity: 1; }
.contact-footer a { color: inherit; text-decoration: none; transition: color 0.3s; }
.contact-footer a:hover { color: rgba(255, 255, 255, 0.8); }
.footer-spec { color: rgba(255, 255, 255, 0.22); }
@media (max-width: 1000px) {
    .contact-footer { left: 24px; right: 24px; flex-wrap: wrap; gap: 10px 24px; }
    .footer-spec { display: none; }
}

/* ============================================================================
   Portrait / narrow screens: stacked composition. Text on top with the 3D
   object below on slides 1 and 3; object on top, text below on slides 2 and 4
   (the camera framing in cameraFrame() follows the same alternation).
   ============================================================================ */
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
    .cinematic-container { padding: 0 24px 24px; }
    .main-header::before { left: -24px; right: -24px; }
    .story-progress { right: 12px; }
    .slide, #slide-1, #slide-2, #slide-3, #slide-4 { left: 24px; right: 24px; width: auto; max-width: none; bottom: auto; }
    #slide-1, #slide-3 { top: 98px; bottom: auto; }
    #slide-2, #slide-4 { bottom: 6%; top: auto; }
    #slide-1 .slide-title, #slide-2 .slide-title, .slide-title {
        margin-left: 0; margin-bottom: 14px;
        font-size: clamp(34px, 10vw, 64px); letter-spacing: -0.035em; line-height: 1.0;
    }
    #slide-1 .desc-row { flex-direction: column; }
    #slide-1 .col-1, #slide-1 .col-2 { position: static; margin-left: 0; width: 100%; max-width: 36ch; }
    #slide-1 .col-2 { display: none; }
    .hero-links { margin-left: 0; gap: 10px; margin-top: 20px; }
    .hero-links a { padding: 11px 17px 11px 14px; font-size: 13.5px; gap: 9px; }
    .hero-links svg { width: 17px; height: 17px; }
    .slide-avatar { width: 78px; margin: 0 0 14px; }
    .benefits { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
    .benefit { gap: 10px; }
    .benefit-icon { flex-basis: 26px; width: 26px; height: 26px; border-radius: 6px; }
    .benefit-icon svg { width: 14px; height: 14px; }
    .benefit p { font-size: 13px; line-height: 1.45; }
    .figures { gap: 22px; margin-top: 20px; }
    .figure dt { font-size: 34px; }
    .figure dd { font-size: 11px; }
    #slide-3, #slide-4 { left: 24px; width: auto; max-width: none; }
    .slide-desc { font-size: 15px; line-height: 1.6; max-width: 36ch; }
    .contact { padding: 110px 24px 100px; }
    .contact-title { font-size: clamp(40px, 10.5vw, 120px); letter-spacing: -0.035em; }
    .contact-lead { margin-bottom: 40px; }
}
/* Header compaction */
@media (max-width: 820px) {
    .header-nav { display: none; }
    .brand-text { white-space: nowrap; }
    .contact-btn { padding: 8px 14px; font-size: 11px; }
}
@media (max-width: 420px) { .header-counter { display: none; } }

