/* ============================================================
   Mobrisoft — Gabi Mousa
   Brand: orange #F37700 · blue #004E9A
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --orange: #f37700;
    --orange-soft: #ff9433;
    --blue: #004e9a;
    --blue-soft: #2e86e0;

    --bg: #0b0f17;
    --bg-alt: #0e1420;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);

    --text: #eef2f8;
    --text-muted: #9aa7bd;
    --text-dim: #6f7d94;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .75);
    --shadow-lg: 0 40px 90px -35px rgba(0, 0, 0, .9);

    --shell: 1180px;
    --header-h: 74px;

    --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(.4, .14, .3, 1);
}

[data-theme="light"] {
    --bg: #f7f9fc;
    --bg-alt: #eef2f8;
    --surface: rgba(0, 32, 72, .035);
    --surface-2: rgba(0, 32, 72, .06);
    --border: rgba(6, 32, 66, .12);
    --border-strong: rgba(6, 32, 66, .22);

    --text: #0e1726;
    --text-muted: #4a5a72;
    --text-dim: #6a7a92;

    --blue-soft: #0b5fb3;
    --shadow: 0 18px 44px -24px rgba(9, 32, 66, .35);
    --shadow-lg: 0 40px 80px -40px rgba(9, 32, 66, .4);
}

/* ── Base ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

.shell {
    width: min(100% - 2.5rem, var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 200;
    padding: .7rem 1.1rem;
    background: var(--orange);
    color: #fff;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ── Scroll progress ────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 120;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue-soft), var(--orange));
    transition: width .1s linear;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand img {
    width: 150px;
    height: auto;
    transition: transform .3s var(--ease);
}
.brand:hover img { transform: translateY(-1px) scale(1.02); }

/* The logo carries dark-blue detail that disappears on a dark background,
   so each theme gets its own recoloured variant. */
.logo-light { display: none; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark { display: none; }

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.nav-link {
    position: relative;
    display: block;
    padding: .5rem .8rem;
    font-size: .93rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .15rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.lang-switch {
    display: flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}
.lang-btn {
    padding: .3rem .65rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--text-dim);
    border-radius: 999px;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-soft));
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { color: var(--orange); border-color: var(--border-strong); transform: rotate(-12deg); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}
.menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.5rem;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #ff9a3d);
    box-shadow: 0 12px 30px -12px rgba(243, 119, 0, .8);
}
.btn-primary:hover { box-shadow: 0 18px 40px -14px rgba(243, 119, 0, .9); }

.btn-ghost {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--surface);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 5rem) 0 4.5rem;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
    position: absolute;
    inset: -10% -10% 0;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
    opacity: .8;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .28;
    animation: float 18s var(--ease) infinite alternate;
}
.orb-orange {
    width: 520px; height: 520px;
    background: var(--orange);
    top: -14%; right: -8%;
}
.orb-blue {
    width: 460px; height: 460px;
    background: var(--blue-soft);
    top: 22%; left: -12%;
    animation-delay: -7s;
}
[data-theme="light"] .orb { opacity: .18; }

@keyframes float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(0, 40px, 0) scale(1.12); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 3.5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .9rem .4rem .7rem;
    margin-bottom: 1.4rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, .6);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -.045em;
    background: linear-gradient(120deg, var(--text) 20%, var(--orange) 55%, var(--blue-soft) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .35rem;
}

.hero-role {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.6vw, 1.65rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.2rem;
}
.hero-role .amp { color: var(--orange); }

.hero-lead {
    max-width: 55ch;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 2.4rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.hero-chips li {
    padding: .35rem .85rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero-chips li:hover {
    color: var(--orange);
    border-color: color-mix(in srgb, var(--orange) 55%, transparent);
    transform: translateY(-2px);
}

/* Portrait */
.hero-visual { display: flex; justify-content: center; }

.portrait-card {
    position: relative;
    width: min(320px, 80vw);
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--surface-2), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    animation: bob 7s ease-in-out infinite alternate;
}
@keyframes bob {
    from { transform: translateY(-8px); }
    to   { transform: translateY(8px); }
}

.portrait-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, var(--orange), transparent 40%, transparent 60%, var(--blue-soft));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: 18px;
    filter: saturate(1.05) contrast(1.03);
}

.portrait-badge {
    position: absolute;
    left: -18px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}
.portrait-badge svg { width: 22px; height: 22px; color: var(--orange); }
.portrait-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.1;
}
.portrait-badge span { font-size: .74rem; color: var(--text-muted); }

/* Stats */
.stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 4.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
    overflow: hidden;
}
.stats li {
    padding: 1.6rem 1.2rem;
    text-align: center;
    background: color-mix(in srgb, var(--bg) 92%, var(--surface));
}
.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(120deg, var(--orange), var(--orange-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stats span {
    font-size: .82rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin-bottom: 3rem;
}
.section-head .eyebrow { margin-bottom: 1rem; }

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: .9rem;
}

.section-sub {
    font-size: 1.03rem;
    color: var(--text-muted);
    max-width: 62ch;
}

/* ── About ──────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 3rem;
    align-items: start;
}

.about-main p { color: var(--text-muted); margin-bottom: 1.1rem; }
.about-main .lead {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 500;
}

.callout {
    display: flex;
    gap: 1.1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    border-radius: var(--radius);
    background: linear-gradient(120deg, color-mix(in srgb, var(--orange) 8%, transparent), transparent 60%);
}
.callout svg { flex: none; width: 24px; height: 24px; color: var(--orange); margin-top: .2rem; }
.callout h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.callout p { margin: 0; font-size: .95rem; }

.about-side {
    display: grid;
    gap: 1rem;
}

.fact-card {
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.fact-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fact-card h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: .9rem;
}
.fact-card h3 svg { width: 16px; height: 16px; color: var(--orange); }

.fact-list li + li { margin-top: .8rem; }
.fact-list strong { display: block; font-size: .95rem; font-weight: 600; }
.fact-list span { font-size: .85rem; color: var(--text-muted); }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.tag-list li {
    padding: .28rem .7rem;
    font-size: .8rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
}

/* ── Expertise cards ────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.1rem;
}

.card {
    position: relative;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--orange) 13%, transparent), transparent 70%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.1rem;
    border-radius: 13px;
    color: var(--orange);
    background: color-mix(in srgb, var(--orange) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--orange) 25%, transparent);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card p { font-size: .93rem; color: var(--text-muted); margin-bottom: 1rem; }

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.card-tags li {
    padding: .22rem .6rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-2);
}

/* ── Stack ──────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}
.filter-btn {
    padding: .45rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-soft));
    border-color: transparent;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .7rem;
}

.stack-item {
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color .25s var(--ease), transform .25s var(--ease), opacity .3s var(--ease);
}
.stack-item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stack-item.is-hidden { display: none; }

.stack-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .5rem;
}
.stack-name { font-size: .9rem; font-weight: 500; }
.stack-cat { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }

.stack-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
}
.stack-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue-soft), var(--orange));
    transition: width .9s var(--ease);
}

/* ── Timeline ───────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 2.1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: .6rem;
    bottom: .6rem;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--orange), var(--blue-soft) 55%, transparent);
    opacity: .55;
}

.tl-item {
    position: relative;
    padding-bottom: 2.2rem;
}
.tl-item::before {
    content: '';
    position: absolute;
    top: .75rem;
    left: calc(-2.1rem + 2px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--orange);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 12%, transparent);
}
.tl-item.is-current::before {
    background: var(--orange);
    animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 55%, transparent); }
    70%  { box-shadow: 0 0 0 11px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.tl-card {
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tl-card:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.tl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: .35rem;
}
.tl-company { font-size: 1.18rem; }
.tl-period {
    flex: none;
    padding: .22rem .7rem;
    font-family: var(--font-display);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--orange);
    border: 1px solid color-mix(in srgb, var(--orange) 32%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--orange) 9%, transparent);
}
.tl-item.is-current .tl-period { color: #3ddc84; border-color: rgba(61, 220, 132, .35); background: rgba(61, 220, 132, .1); }

.tl-role {
    font-size: .92rem;
    font-weight: 600;
    color: var(--blue-soft);
    margin-bottom: .7rem;
}
.tl-summary { font-size: .95rem; color: var(--text-muted); margin-bottom: .9rem; }

.tl-points li {
    position: relative;
    padding-left: 1.25rem;
    font-size: .9rem;
    color: var(--text-muted);
}
.tl-points li + li { margin-top: .35rem; }
.tl-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--orange);
    opacity: .8;
}

.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: 1rem;
}
.tl-tags li {
    padding: .2rem .6rem;
    font-size: .74rem;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.learning {
    display: flex;
    gap: 1.1rem;
    margin-top: 1rem;
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(120deg, color-mix(in srgb, var(--blue-soft) 9%, transparent), transparent 65%);
}
.learning svg { flex: none; width: 24px; height: 24px; color: var(--blue-soft); margin-top: .2rem; }
.learning h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.learning p { font-size: .93rem; color: var(--text-muted); }

/* ── Contact ────────────────────────────────────────────── */
.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 3rem;
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(700px circle at 0% 0%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 60%),
        radial-gradient(700px circle at 100% 100%, color-mix(in srgb, var(--blue-soft) 12%, transparent), transparent 60%),
        var(--surface);
    box-shadow: var(--shadow-lg);
}

.contact-copy .section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.contact-copy .section-sub { margin-bottom: 2rem; }

.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--orange);
    background: color-mix(in srgb, var(--orange) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--orange) 22%, transparent);
}
.contact-icon svg { width: 19px; height: 19px; }
.contact-list small {
    display: block;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: color .2s var(--ease);
    word-break: break-word;
}
a.contact-value:hover { color: var(--orange); }

.contact-panel {
    align-self: center;
    display: grid;
    gap: .7rem;
    padding: 1.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.availability {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}
.panel-text { font-size: .88rem; color: var(--text-muted); margin-bottom: .5rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.footer-brand img { width: 130px; margin-bottom: .6rem; }
.footer-brand p { font-size: .88rem; color: var(--text-muted); }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.footer-nav a {
    font-size: .9rem;
    color: var(--text-muted);
    transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--orange); }

.footer-legal {
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: .8rem;
    color: var(--text-dim);
}

/* ── Reveal animation ───────────────────────────────────── */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { justify-content: flex-start; }
    .portrait-card { width: min(260px, 62vw); }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-card { grid-template-columns: 1fr; gap: 2rem; padding: 2.2rem; }
}

@media (max-width: 860px) {
    .menu-toggle { display: block; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        padding: 1.4rem 1.25rem 1.8rem;
        background: color-mix(in srgb, var(--bg) 96%, transparent);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s var(--ease), opacity .25s var(--ease);
    }
    .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }

    .nav-list { flex-direction: column; align-items: stretch; gap: .1rem; }
    .nav-link { padding: .8rem .9rem; font-size: 1rem; }
    .nav-link.is-active::after { display: none; }
    .nav-link.is-active { background: var(--surface); color: var(--orange); }

    .nav-actions { justify-content: space-between; }
    .nav-cta { margin-left: auto; }

    .section { padding: 4.5rem 0; }
    .stats { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 2rem, var(--shell)); }
    .hero { padding-top: calc(var(--header-h) + 3rem); }
    .brand img { width: 124px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .portrait-badge { left: -8px; padding: .55rem .8rem; }
    .contact-card { padding: 1.5rem; }
    .card, .tl-card { padding: 1.3rem; }
    .timeline { padding-left: 1.6rem; }
    .tl-item::before { left: calc(-1.6rem + 2px); }
    .stack-grid { grid-template-columns: 1fr 1fr; }
}

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

@media print {
    .site-header, .scroll-progress, .hero-bg, .hero-actions, .filter-bar, .contact-panel { display: none !important; }
    body { background: #fff; color: #000; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
}
