/* =====================================================================
   Dr. Felix Post — Private Sports Cardiology
   Premium Medical Design System
   ===================================================================== */

:root {
    /* Base — deep navy / graphite */
    --bg:            #080c16;
    --bg-elevated:   #0c1220;
    --bg-surface:    #101829;
    --bg-soft:       #0a101d;

    /* Text — off-white scale */
    --text:          #eef2f8;
    --text-strong:   #ffffff;
    --text-muted:    #9aa7bd;
    --text-faint:    #66728a;

    /* Accent — refined clinical blue (single, restrained accent) */
    --accent:        #38bdf8;
    --accent-strong: #2563eb;
    --accent-soft:   rgba(56, 189, 248, 0.12);
    --accent-line:   rgba(56, 189, 248, 0.22);
    --accent-glow:   rgba(56, 189, 248, 0.28);

    /* Premium neutral highlight (used sparingly for "exclusive" cues) */
    --platinum:      #d8c6a0;

    /* Glass / surfaces */
    --glass:         rgba(255, 255, 255, 0.035);
    --glass-2:       rgba(255, 255, 255, 0.06);
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Geometry */
    --radius:        18px;
    --radius-sm:     12px;
    --radius-lg:     26px;
    --maxw:          1180px;
    --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Type */
    --font-display:  'Outfit', system-ui, sans-serif;
    --font-body:     'Inter', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Ambient backdrop glow — subtle, premium */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1100px 700px at 78% -8%, rgba(37, 99, 235, 0.14), transparent 60%),
        radial-gradient(900px 600px at 8% 12%, rgba(56, 189, 248, 0.08), transparent 55%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-strong);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: var(--accent); color: #04121f; }

/* ---------- Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section--tight { padding: clamp(4rem, 8vw, 6rem) 0; }
.bg-elevated { background: var(--bg-elevated); }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
}

.highlight { color: var(--accent); }

.section-header {
    max-width: 760px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}
.section-header h2 {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    margin-bottom: 1.1rem;
}
.section-header p {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: var(--text-muted);
    line-height: 1.7;
}
.section-header .eyebrow { margin-bottom: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #021321;
    box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -8px var(--accent-glow);
}

.btn-ghost {
    background: var(--glass);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(to right, var(--accent), var(--accent-strong));
    z-index: 1100;
    transition: width 0.1s linear;
}

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.05rem 0;
    background: rgba(8, 12, 22, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.navbar.scrolled {
    background: rgba(8, 12, 22, 0.85);
    border-bottom-color: var(--border);
    padding: 0.7rem 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}
.brand-claim {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
}

.nav-center { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.25s var(--ease);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    overflow: hidden;
    background: var(--glass);
}
.lang-btn {
    padding: 0.4rem 0.7rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang-btn[aria-pressed="true"] {
    color: #021321;
    background: var(--accent);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--glass);
    cursor: pointer;
    position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 18px; height: 1.6px;
    background: var(--text);
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -6px); }
.nav-toggle span::after  { transform: translate(-50%, 6px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle.open span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 0 5rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 66%;
    height: 100%;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 16%;
    opacity: 0.78;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 100%);
    filter: saturate(0.95) contrast(1.03);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg) 2%, transparent 34%),
        linear-gradient(to right, var(--bg) 4%, rgba(8,12,22,0.35) 38%, transparent 52%);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-text {
    max-width: 540px;
    margin-right: auto;
}
.hero h1 {
    font-size: clamp(2.3rem, 5.6vw, 4rem);
    margin: 1.4rem 0 1.4rem;
    letter-spacing: -0.03em;
}
.hero h1 .highlight { display: block; font-weight: 600; }
.hero .lead {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    color: var(--text-muted);
    max-width: 30em;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Premium availability badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    background: rgba(216, 198, 160, 0.08);
    border: 1px solid rgba(216, 198, 160, 0.28);
    color: var(--platinum);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--platinum);
    box-shadow: 0 0 8px var(--platinum);
    animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
    color: var(--text-faint);
    font-size: 0.9rem;
}
.hero-meta .pulse-line { width: 56px; height: 18px; color: var(--accent); }

/* ---------- Social proof marquee ---------- */
.proof {
    padding: 3.2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.012);
    overflow: hidden;
}
.proof-label {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-right: 3.5rem;
    flex-shrink: 0;
    animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.proof-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.32);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.proof-item:hover { color: rgba(255,255,255,0.7); }

/* ---------- Cards ---------- */
.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    background: var(--glass-2);
}

/* Positioning / audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.audience-chip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.3rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-family: var(--font-display);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.audience-chip:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.audience-chip .ic {
    color: var(--accent);
    display: inline-flex;
    width: 22px; height: 22px;
    flex-shrink: 0;
}

/* Mission / values grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-card .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 13px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    margin-bottom: 1.4rem;
}
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Offer (split) ---------- */
.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.split-media { position: relative; }
.split-media img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
    object-fit: cover;
    max-height: 560px;
}
.media-tag {
    position: absolute;
    left: 1.2rem; bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(8,12,22,0.78);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text);
}
.media-tag .pulse-line { width: 34px; height: 14px; color: var(--accent); }

.offer-panel {
    background: linear-gradient(180deg, rgba(56,189,248,0.07) 0%, rgba(56,189,248,0.02) 100%);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 2.8rem);
}
.offer-panel h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.7rem;
}
.offer-panel h3 + p { color: var(--text-muted); margin-bottom: 1.5rem; }
.offer-panel .mt { margin-top: 1.8rem; }

.feature-list { display: grid; gap: 0.9rem; margin: 1.6rem 0 2rem; }
.feature-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--text);
    font-size: 1.02rem;
}
.feature-list .check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.feature-list .check svg { width: 12px; height: 12px; }

/* ---------- About preview ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.about-split img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
    object-fit: cover;
    object-position: center 20%;
    max-height: 520px;
}
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.2rem; }
.about-copy > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.stat-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.stat .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat .label { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.4rem; }

/* ---------- Process / timeline ---------- */
.steps {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding-left: 0;
}
.steps::before {
    content: '';
    position: absolute;
    left: 19px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-line), transparent);
}
.step {
    position: relative;
    padding: 0 0 2.2rem 3.6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.step.in-view { opacity: 1; transform: translateY(0); }
.step:last-child { padding-bottom: 0; }
.step-num {
    position: absolute;
    left: 0; top: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    z-index: 1;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step.in-view .step-num {
    background: var(--accent);
    color: #021321;
    box-shadow: 0 0 0 5px var(--accent-soft);
}
.step h3 { font-size: 1.18rem; margin-bottom: 0.4rem; color: var(--text-strong); }
.step p { color: var(--text-muted); font-size: 0.98rem; margin: 0; }

/* ---------- Calendly ---------- */
.booking {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--glass);
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.calendly-inline-widget {
    min-width: 320px;
    height: 680px;
}
.booking-fallback {
    text-align: center;
    padding: 3rem 1.5rem;
}
.booking-fallback p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--glass);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
    flex-shrink: 0;
    width: 20px; height: 20px;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.faq-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-faint);
    font-style: italic;
    font-size: 0.95rem;
}

/* ---------- Final CTA / Footer ---------- */
.cta-final {
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg), #04070f);
}
.cta-final::after {
    content: '';
    position: absolute;
    bottom: -60%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(56,189,248,0.07), transparent 60%);
    pointer-events: none;
}
.cta-final .inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.cta-final p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2.4rem; }

.footer {
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2.5rem;
    background: #04070f;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--text-faint); font-size: 0.9rem; margin-top: 1rem; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: 0.85rem;
}

/* ---------- Mobile sticky booking bar ---------- */
.mobile-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    display: none;
    padding: 0.7rem clamp(1rem, 4vw, 1.5rem);
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(8, 12, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    transform: translateY(120%);
    transition: transform 0.35s var(--ease);
}
.mobile-cta-bar.show { transform: translateY(0); }
.mobile-cta-bar .btn { width: 100%; }

/* ---------- Legal pages ---------- */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(6.5rem, 12vw, 10rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 2rem; color: var(--text-strong); }
.legal h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--text-strong); }
.legal h3 { font-size: 1.1rem; margin: 1.8rem 0 0.7rem; color: var(--text); }
.legal p, .legal ul { color: var(--text-muted); margin-bottom: 1.1rem; line-height: 1.75; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text-strong); }
.legal strong { color: var(--text); }
.placeholder-note {
    background: rgba(216,198,160,0.06);
    border: 1px dashed rgba(216,198,160,0.3);
    border-radius: var(--radius-sm);
    padding: 1rem 1.3rem;
    color: var(--platinum);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* ---------- About / CV page ---------- */
.cv-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.cv-portrait {
    position: sticky;
    top: 6rem;
}
.cv-portrait img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: cover;
    object-position: center 25%;
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
}
.cv-portrait .credo {
    margin-top: 1.5rem;
    padding: 1.4rem 1.6rem;
    border-left: 2px solid var(--accent);
    background: var(--glass);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}
.cv-section + .cv-section { margin-top: 3rem; }
.cv-section > h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1.6rem;
}
.cv-timeline { display: grid; gap: 1.6rem; }
.cv-entry {
    position: relative;
    padding-left: 1.6rem;
    border-left: 2px solid var(--border-strong);
}
.cv-entry::before {
    content: '';
    position: absolute;
    left: -7px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.cv-year {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}
.cv-title { font-size: 1.18rem; margin-bottom: 0.5rem; color: var(--text-strong); }
.cv-desc { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
.cv-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}
.cv-tag {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.98rem;
}
.cv-tag .ic { color: var(--accent); display: inline-flex; }

/* Editorial placeholder styling so the page never looks "empty" */
.is-placeholder { color: var(--text-faint); font-style: italic; }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.25); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56,189,248,0.45); }

/* ---------- Pulse line animation (brand motif) ---------- */
.pulse-line path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-pulse 3s var(--ease) infinite; }
@keyframes draw-pulse {
    0%   { stroke-dashoffset: 60; }
    45%  { stroke-dashoffset: 0; }
    75%  { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -60; opacity: 0.6; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .value-grid { grid-template-columns: 1fr; }
    .split, .about-split, .cv-grid { grid-template-columns: 1fr; }
    .cv-portrait { position: static; }
    .split-media { order: -1; }
    .hero-bg { width: 100%; opacity: 0.85; }
    .hero-bg img {
        opacity: 0.28;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
    }
}

@media (max-width: 760px) {
    .nav-center { display: none; }
    .nav-toggle { display: block; }
    .nav-center.open {
        display: flex;
        position: absolute;
        top: calc(100% + 1px); left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
        background: rgba(8,12,22,0.97);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
    }
    .nav-center.open .nav-link { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
    .nav-center.open .nav-link:last-child { border-bottom: none; }
    .brand-claim { display: none; }
    .nav-right .btn-desktop { display: none; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 3.6rem 0; }
    .section-header { margin-bottom: 2.25rem; }
    .lang-btn { padding: 0.55rem 0.9rem; }
    .hero { min-height: auto; padding-top: 6.5rem; padding-bottom: 3rem; }
    .hero h1 { font-size: 2.05rem; margin: 1.1rem 0; }
    .hero h1 .highlight { font-size: 0.82em; }
    .hero .lead { font-size: 1.05rem; margin-bottom: 1.8rem; }
    .hero-cta { width: 100%; flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-meta { margin-top: 1.3rem; }
    .stat-row { gap: 1.6rem; }
    .footer-grid { flex-direction: column; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .mobile-cta-bar { display: block; }
}

@media (max-width: 460px) {
    .audience-grid { grid-template-columns: 1fr; }
    .proof-item { font-size: 1.2rem; }
    .hero h1 { font-size: 1.9rem; }
    .section-header h2 { font-size: 1.72rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
}

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