:root {
    --bg: #060607;
    --surface: rgba(22, 22, 24, .55);
    --surface-soft: rgba(28, 28, 31, .38);
    --line: rgba(255, 255, 255, .15);
    --line-strong: rgba(255, 255, 255, .3);
    --text: #F4F4F2;
    --muted: #BCBCB9;
    --muted-2: #8E8E8C;
    --accent: #F1F1EE;
    --accent-strong: #FFFFFF;
    --accent-ink: #09090A;
    --ok: #ECECE9;
    --danger: #FF8FA0;
        --font-display: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
    --gutter: clamp(18px, 4vw, 40px);
    --radius: 18px;
    --radius-pill: 999px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --curtain: cubic-bezier(.77, 0, .18, 1);
    color-scheme: dark;
}

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

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

body.site-body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

a:hover {
    color: var(--accent);
}

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

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

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p {
    margin: 0;
}

ul, ol, dl, dd {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

[id] {
    scroll-margin-top: 150px;
}

.wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 120;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--accent-ink);
}

.site-glow {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(60% 46% at 74% 18%, rgba(255, 255, 255, .1), transparent 62%),
        radial-gradient(115% 85% at 84% -12%, rgba(255, 255, 255, .06), transparent 58%),
        radial-gradient(90% 75% at 2% 108%, rgba(255, 255, 255, .05), transparent 62%),
        linear-gradient(160deg, #0C0C0D 0%, #080809 48%, #040405 100%);
}

.site-glow::before {
    content: "";
    position: absolute;
    top: -36%;
    left: 34%;
    width: min(60vw, 880px);
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .17), transparent 72%);
    filter: blur(80px);
    animation: ambient-drift-a 26s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.site-glow::after {
    content: "";
    position: absolute;
    right: -14%;
    bottom: -32%;
    width: min(62vw, 840px);
    height: min(62vw, 840px);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .1), transparent 70%);
    filter: blur(96px);
    animation: ambient-drift-b 34s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.site-glow .glow-orb {
    position: absolute;
    left: -12%;
    bottom: -20%;
    width: min(46vw, 640px);
    height: min(46vw, 640px);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent 70%);
    filter: blur(88px);
    animation: ambient-drift-c 40s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes ambient-drift-a {
    from {
        transform: translate3d(-4%, -2%, 0) scale(1);
        opacity: .7;
    }

    to {
        transform: translate3d(6%, 5%, 0) scale(1.1);
        opacity: 1;
    }
}

@keyframes ambient-drift-b {
    from {
        transform: translate3d(3%, 4%, 0) scale(1.04);
        opacity: .55;
    }

    to {
        transform: translate3d(-5%, -4%, 0) scale(1);
        opacity: .95;
    }
}

@keyframes ambient-drift-c {
    from {
        transform: translate3d(2%, 3%, 0) scale(1.02);
        opacity: .6;
    }

    to {
        transform: translate3d(6%, -3%, 0) scale(1.12);
        opacity: 1;
    }
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-veil {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #060607;
    visibility: hidden;
    transform: translateY(101%);
    pointer-events: none;
}

.page-veil::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.veil-scene {
    position: relative;
    display: grid;
    place-items: center;
    width: min(980px, 94vw);
    height: min(72svh, 680px);
}

.veil-scene::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: 86%;
    height: 70%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent 74%);
    filter: blur(52px);
    pointer-events: none;
}

.veil-type {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.veil-word {
    display: block;
    color: transparent;
    background: linear-gradient(184deg, #FFFFFF 0%, #F0F0EE 30%, #BEBEBB 62%, #7B7B79 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 16vw, 14rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.055em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .7;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    text-shadow:
        0 1px 0 rgba(240, 240, 238, .5),
        0 2px 0 rgba(210, 210, 208, .38),
        0 3px 0 rgba(178, 178, 176, .3),
        0 4px 0 rgba(146, 146, 144, .24),
        0 5px 0 rgba(108, 108, 106, .2),
        0 18px 46px rgba(0, 0, 0, .55);
}

.veil-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(24px, 6vh, 56px);
    display: grid;
    justify-items: center;
    gap: 14px;
}

.veil-bar {
    position: relative;
    display: block;
    width: 128px;
    height: 1px;
    overflow: hidden;
    background: rgba(244, 244, 242, .16);
}

.veil-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 255, 255, .55);
    animation: veil-sweep 1.15s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes veil-sweep {
    to {
        left: 100%;
    }
}

.veil-arriving .veil-word,
body.is-leaving .veil-word {
    animation: veil-word-in .6s cubic-bezier(.2, .7, .2, 1) both;
}

body.is-leaving .veil-word {
    animation-duration: .3s;
}

@keyframes veil-word-in {
    from {
        opacity: 0;
        transform: translate3d(0, 26px, 0) scale(.985);
    }
    to {
        opacity: .7;
        transform: none;
    }
}

.page-veil-label {
    color: var(--accent);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.veil-arriving .page-veil {
    visibility: visible;
    animation: veil-out .62s var(--curtain) both;
}

body.is-leaving .page-veil {
    visibility: visible;
    pointer-events: auto;
    animation: veil-in .34s var(--curtain) both;
}

@keyframes veil-in {
    from {
        transform: translateY(101%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes veil-out {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-101%);
    }
}

/* Opening */

.site-opening {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    overflow: hidden;
    background: var(--bg);
    animation: opening-auto-hide .01s 3.5s forwards;
}

html.is-opening .site-opening {
    display: block;
}

html.is-opening,
html.is-opening body {
    overflow: hidden;
}

.opening-half {
    position: absolute;
    left: 0;
    right: 0;
    height: 50.2%;
    background:
        radial-gradient(95% 130% at 50% 100%, rgba(255, 255, 255, .13), transparent 62%),
        linear-gradient(180deg, #0C0C0D, #060607);
    will-change: transform;
}

.opening-half::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .06) 50%, transparent 68%);
    pointer-events: none;
}

.opening-half.is-top {
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 0 44px rgba(255, 255, 255, .2);
    animation: opening-part-top .9s var(--curtain) 1.85s both;
}

.opening-half.is-bottom {
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 0 44px rgba(255, 255, 255, .2);
    background:
        radial-gradient(95% 130% at 50% 0%, rgba(255, 255, 255, .13), transparent 62%),
        linear-gradient(0deg, #0C0C0D, #060607);
    animation: opening-part-bottom .9s var(--curtain) 1.85s both;
}

.opening-seam {
    position: absolute;
    top: calc(50% - .5px);
    left: 0;
    right: 0;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 4%, rgba(255, 255, 255, .45) 24%, #FFFFFF 50%, rgba(255, 255, 255, .45) 76%, transparent 96%);
    box-shadow: 0 0 24px rgba(255, 255, 255, .5);
    animation: opening-seam-glow 1.2s ease 1s both;
}

.opening-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vh, 18px);
    padding: 0 24px;
    text-align: center;
    animation: opening-content-out .4s ease 1.5s both;
}

.opening-kicker {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    animation: opening-rise .55s var(--curtain) .04s both;
}

.opening-name {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(2.65rem, 12vw, 9.5rem);
    font-weight: 600;
    line-height: .86;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

.opening-name span {
    display: block;
    animation: opening-line .75s var(--curtain) both;
}

.opening-name span:first-child {
    animation-delay: .1s;
}

.opening-name span:last-child {
    animation-delay: .2s;
    font-weight: 700;
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F4F2 42%, #C6C6C3 72%, #8A8A88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.opening-role {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    animation: opening-rise .55s var(--curtain) .42s both;
}

.opening-rule {
    display: block;
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: opening-rule .8s var(--curtain) .45s both;
}

.opening-skip {
    margin-top: clamp(12px, 3vh, 26px);
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    animation: opening-rise .5s ease .6s both;
}

.opening-progress {
    position: absolute;
    left: 50%;
    bottom: clamp(28px, 6.5vh, 60px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    animation: opening-progress-out .4s ease 1.72s both;
}

.opening-progress-label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.opening-progress-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.opening-progress-track {
    position: relative;
    display: block;
    width: min(44vw, 210px);
    height: 2px;
    overflow: hidden;
    background: rgba(244, 244, 242, .12);
}

.opening-progress-fill {
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(244, 244, 242, .35), #FFFFFF);
    box-shadow: 0 0 12px rgba(255, 255, 255, .5);
    animation: opening-progress-fill 1.62s cubic-bezier(.5, 0, .2, 1) .12s forwards;
}

.opening-progress-count {
    min-width: 3ch;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
    text-align: right;
}

html.is-opening-skip .opening-progress {
    animation: none;
    opacity: 0;
}

html.is-opening-skip .opening-content,
html.is-opening-skip .opening-seam {
    animation: none;
    opacity: 0;
}

html.is-opening-skip .opening-half.is-top {
    animation: opening-part-top .32s var(--curtain) both;
}

html.is-opening-skip .opening-half.is-bottom {
    animation: opening-part-bottom .32s var(--curtain) both;
}

html.is-opening-skip .site-opening {
    animation: none;
}

@keyframes opening-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes opening-line {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes opening-rule {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes opening-seam-glow {
    from {
        opacity: .35;
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: .5;
    }
}

@keyframes opening-content-out {
    to {
        opacity: 0;
        transform: translate3d(0, -12px, 0);
        filter: blur(6px);
    }
}

@keyframes opening-progress-fill {
    to {
        transform: scaleX(1);
    }
}

@keyframes opening-progress-out {
    to {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
}

@keyframes opening-part-top {
    to {
        transform: translate3d(0, -101%, 0);
    }
}

@keyframes opening-part-bottom {
    to {
        transform: translate3d(0, 101%, 0);
    }
}

@keyframes opening-auto-hide {
    to {
        visibility: hidden;
        pointer-events: none;
    }
}

.scroll-meter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    height: 2px;
    pointer-events: none;
}

.scroll-meter span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .16), var(--accent));
    box-shadow: 0 0 12px rgba(255, 255, 255, .5);
}

.glass {
    position: relative;
    isolation: isolate;
    border: 0;
    border-radius: var(--radius);
    background:
        radial-gradient(130% 100% at 50% 118%, rgba(255, 255, 255, .24), transparent 55%),
        radial-gradient(120% 90% at 24% -22%, rgba(255, 255, 255, .2), transparent 54%),
        linear-gradient(160deg, rgba(245, 245, 243, .16) 0%, rgba(150, 150, 148, .07) 44%, rgba(8, 8, 9, .3) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(150%) brightness(1.06);
    backdrop-filter: blur(26px) saturate(150%) brightness(1.06);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .85),
        inset 0 -2px 3px rgba(255, 255, 255, .32),
        inset 0 24px 30px -28px rgba(0, 0, 0, .6),
        inset 0 -26px 34px -30px rgba(255, 255, 255, .55),
        0 28px 64px -30px rgba(0, 0, 0, .85);
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(58% 42% at 22% -4%, rgba(255, 255, 255, .5), transparent 72%),
        radial-gradient(46% 34% at 84% 108%, rgba(255, 255, 255, .26), transparent 74%);
    filter: blur(3px);
    opacity: .85;
}

.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    background: linear-gradient(148deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .3) 20%, rgba(255, 255, 255, .05) 48%, rgba(248, 248, 246, .5) 76%, rgba(255, 255, 255, .95) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: .9;
}

.glass > * {
    position: relative;
    z-index: 1;
}

.panel {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    background:
        radial-gradient(120% 95% at 50% 116%, rgba(255, 255, 255, .14), transparent 56%),
        linear-gradient(160deg, rgba(245, 245, 243, .1), rgba(150, 150, 148, .05) 44%, rgba(8, 8, 9, .26));
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .5),
        inset 0 -2px 3px rgba(255, 255, 255, .18),
        0 30px 60px -40px rgba(0, 0, 0, .9);
    -webkit-backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
    backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
}

.site-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 12px var(--gutter) 0;
}

.head-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(1280px, 100%);
    margin-inline: auto;
    padding: 9px 10px 9px 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background:
        radial-gradient(130% 130% at 50% 126%, rgba(255, 255, 255, .28), transparent 54%),
        radial-gradient(120% 110% at 22% -34%, rgba(255, 255, 255, .24), transparent 54%),
        linear-gradient(160deg, rgba(245, 245, 243, .16), rgba(142, 142, 140, .06) 46%, rgba(7, 7, 8, .32));
    -webkit-backdrop-filter: blur(28px) saturate(150%) brightness(1.07);
    backdrop-filter: blur(28px) saturate(150%) brightness(1.07);
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, .9),
        inset 0 -2.5px 4px rgba(255, 255, 255, .38),
        inset 0 -26px 36px -30px rgba(255, 255, 255, .6),
        0 22px 48px -26px rgba(0, 0, 0, .95);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-head.is-scrolled .head-bar {
    background:
        radial-gradient(130% 130% at 50% 126%, rgba(255, 255, 255, .22), transparent 54%),
        radial-gradient(120% 110% at 22% -34%, rgba(255, 255, 255, .2), transparent 54%),
        linear-gradient(160deg, rgba(238, 238, 235, .15), rgba(130, 130, 128, .06) 46%, rgba(6, 6, 7, .55));
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, .9),
        inset 0 -2.5px 4px rgba(255, 255, 255, .34),
        inset 0 -26px 36px -30px rgba(255, 255, 255, .55),
        0 26px 56px -26px rgba(0, 0, 0, .95);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 3px 6px 3px 0;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background:
        radial-gradient(120% 120% at 28% 0%, rgba(255, 255, 255, .72), transparent 56%),
        linear-gradient(160deg, rgba(245, 245, 243, .26), rgba(126, 126, 124, .12));
    border: 1px solid rgba(255, 255, 255, .58);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.16rem;
    line-height: 1;
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .9),
        inset 0 -2px 3px rgba(255, 255, 255, .3),
        0 10px 20px -12px rgba(0, 0, 0, .85);
}

.brand-mark svg {
    display: block;
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .4));
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.brand:hover .brand-mark svg,
.brand:focus-visible .brand-mark svg {
    transform: scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.brand-name {
    max-width: 180px;
    overflow: hidden;
    font-size: .9375rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-role {
    font-family: var(--font-body);
    font-size: .54rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 18px;
}

.site-nav a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    -webkit-user-drag: none;
    transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.nav-icon {
    width: 15px;
    height: 15px;
    flex: none;
    opacity: .72;
    transition: opacity .2s var(--ease);
}

.site-nav a:hover .nav-icon,
.site-nav a.is-active .nav-icon {
    opacity: 1;
}

.site-nav a::after {
    display: none;
}

.site-nav a:hover {
    background: rgba(244, 244, 242, .08);
    color: var(--text);
}

.site-nav a.is-active {
    background:
        radial-gradient(120% 120% at 40% 0%, rgba(255, 255, 255, .32), transparent 60%),
        linear-gradient(160deg, rgba(245, 245, 243, .18), rgba(140, 140, 138, .08) 60%, rgba(8, 8, 9, .16));
    color: #FFFFFF;
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .85),
        inset 0 -1.5px 2px rgba(255, 255, 255, .3),
        0 10px 22px -14px rgba(0, 0, 0, .85);
}

@media (min-width: 901px) {
    .nav-glass {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 0;
        height: 40px;
        border-radius: var(--radius-pill);
        background:
            radial-gradient(120% 120% at 40% 0%, rgba(255, 255, 255, .32), transparent 60%),
            linear-gradient(160deg, rgba(245, 245, 243, .18), rgba(140, 140, 138, .08) 60%, rgba(8, 8, 9, .16));
        box-shadow:
            inset 0 1.5px 1px rgba(255, 255, 255, .85),
            inset 0 -1.5px 2px rgba(255, 255, 255, .3),
            0 10px 22px -14px rgba(0, 0, 0, .85);
        opacity: 0;
        pointer-events: none;
        will-change: transform, width;
        transition: opacity .25s var(--ease);
    }

    html.has-nav-glass .nav-glass {
        opacity: 1;
    }

    html.has-nav-glass .site-nav a.is-active {
        background: none;
        box-shadow: none;
    }

    html.has-nav-glass .site-nav a:hover {
        background: transparent;
    }

    html.has-nav-glass .site-nav.is-glass-drag {
        cursor: grabbing;
        user-select: none;
    }
}

.nav-mail {
    display: none !important;
}

.head-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-left: auto;
    padding: 0 0 0 16px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
}

.head-contact span:last-child {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.head-contact:hover {
    color: var(--accent);
}

.head-contact-dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-pill);
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .16), transparent 58%),
        linear-gradient(160deg, rgba(244, 244, 242, .08), rgba(8, 8, 9, .22));
    color: var(--text);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .4);
    cursor: pointer;
}

.nav-toggle-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}

.nav-toggle-box span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-solid {
    background:
        radial-gradient(90% 130% at 26% -10%, rgba(255, 255, 255, .95), transparent 62%),
        linear-gradient(160deg, rgba(250, 250, 248, .62), rgba(205, 205, 202, .42) 48%, rgba(126, 126, 124, .32));
    border-color: rgba(255, 255, 255, .85);
    color: #0A0A0B;
    -webkit-backdrop-filter: blur(18px) saturate(150%) brightness(1.08);
    backdrop-filter: blur(18px) saturate(150%) brightness(1.08);
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, 1),
        inset 0 -2px 3px rgba(255, 255, 255, .55),
        inset 0 -18px 24px -22px rgba(255, 255, 255, .9),
        0 18px 38px -20px rgba(0, 0, 0, .9);
}

.btn-solid:hover {
    background:
        radial-gradient(90% 130% at 26% -10%, rgba(255, 255, 255, 1), transparent 64%),
        linear-gradient(160deg, rgba(255, 255, 253, .74), rgba(218, 218, 215, .52) 48%, rgba(140, 140, 138, .38));
    border-color: #FFFFFF;
    color: #060607;
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, 1),
        inset 0 -2px 3px rgba(255, 255, 255, .6),
        inset 0 -18px 24px -22px rgba(255, 255, 255, 1),
        0 22px 44px -20px rgba(0, 0, 0, .95);
}

.btn-ghost {
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .14), transparent 58%),
        linear-gradient(160deg, rgba(244, 244, 242, .07), rgba(8, 8, 9, .2));
    border-color: rgba(255, 255, 255, .32);
    color: var(--text);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .4),
        inset 0 -2px 3px rgba(255, 255, 255, .14),
        0 14px 30px -22px rgba(0, 0, 0, .9);
}

.btn-ghost:hover {
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .22), transparent 58%),
        linear-gradient(160deg, rgba(244, 244, 242, .11), rgba(9, 9, 10, .22));
    border-color: rgba(255, 255, 255, .52);
    color: #FFFFFF;
}

.btn-small {
    min-height: 44px;
    padding: 0 16px;
    font-size: .84rem;
}

.btn-submit {
    width: 100%;
    min-height: 52px;
}

.btn-full {
    width: 100%;
}

.btn-danger {
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 220, 226, .25), transparent 58%),
        linear-gradient(160deg, rgba(255, 140, 158, .16), rgba(40, 10, 16, .24));
    border-color: rgba(255, 196, 206, .42);
    color: #FFE1E6;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 240, 243, .5),
        inset 0 -2px 3px rgba(255, 210, 218, .2),
        0 14px 30px -22px rgba(0, 0, 0, .9);
}

.btn-danger:hover {
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 228, 233, .34), transparent 58%),
        linear-gradient(160deg, rgba(255, 150, 168, .24), rgba(46, 12, 18, .26));
    border-color: rgba(255, 214, 221, .62);
    color: #FFF0F2;
}

.btn[disabled] {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.site-main {
    padding-bottom: 0;
}

.page {
    padding-top: 154px;
    padding-bottom: clamp(64px, 9vw, 112px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 26px;
    height: 1px;
    background: var(--accent);
}

.page-head {
    max-width: 840px;
    margin-bottom: clamp(30px, 5vw, 56px);
}

.page-title {
    font-size: clamp(3.4rem, 9vw, 6.8rem);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: none;
}

.page-lead {
    max-width: 62ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.quiet-link {
    position: relative;
    color: var(--text);
    font-size: .86rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(244, 244, 242, .45);
    padding-bottom: 3px;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.quiet-link::after {
    content: "";
    position: absolute;
    inset: -10px -6px;
}

.quiet-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(34px, 7vh, 70px);
    min-height: 100svh;
    padding: 154px 0 34px;
    overflow-x: clip;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .6fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
}

.hero-name {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 10.4vw, 9rem);
    font-weight: 600;
    line-height: .86;
    letter-spacing: -.055em;
    text-transform: none;
    overflow-wrap: break-word;
}

.hero-name-line {
    display: block;
}

.hero-name-strong {
    padding-left: .06em;
    font-weight: 700;
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F4F2 42%, #C6C6C3 72%, #8A8A88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-role {
    margin-bottom: 20px;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: clamp(.64rem, 1vw, .74rem);
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 54ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 34px;
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 0;
    list-style: none;
}

.social-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
}

.social-list a:hover {
    color: var(--accent);
}

.social-list li + li::before {
    content: "/";
    display: inline-block;
    margin-right: 4px;
    color: var(--muted-2);
    font-size: .7rem;
}

.social-list-tight {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.profile-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 390px;
    padding: 14px;
    justify-self: end;
    overflow: hidden;
    border-radius: 10px;
}

.stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px;
}

.stage-kicker,
.stage-state {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ok);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.status-dot {
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 0;
    background: var(--ok);
}

.stage-frame {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background:
        linear-gradient(150deg, rgba(244, 244, 242, .1), transparent 46%),
        linear-gradient(160deg, #0C0C0D, #040405);
}

.stage-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.06) brightness(1.04);
}

/* Privacy blur over the face area; source photo is 4:5 */
.photo-privacy {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) contrast(1.06) brightness(1.04) blur(22px);
    -webkit-mask-image: radial-gradient(ellipse 34% 34% at 50% 39%, #000 68%, transparent 100%);
    mask-image: radial-gradient(ellipse 34% 34% at 50% 39%, #000 68%, transparent 100%);
}

.stage-mono {
    font-family: var(--font-display);
    font-size: clamp(7rem, 12vw, 9.4rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(244, 244, 242, .18);
    letter-spacing: -.06em;
}

.stage-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    text-align: center;
    color: rgba(244, 244, 242, .7);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.stage-bottom {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 4px 4px;
}

.stage-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
}

.stage-role {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.stage-loc {
    color: var(--muted-2);
    font-size: .8rem;
}

.badge-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: end;
    width: 100%;
    max-width: 330px;
    padding-top: 2px;
}

.badge-mount {
    position: relative;
    z-index: 3;
    width: 84px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #F6F6F4, #A6A6A3 55%, #4A4A48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 10px 22px -12px rgba(0, 0, 0, .9);
}

.badge-mount::before,
.badge-mount::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #0A0A0B;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.badge-mount::before { left: 9px; }
.badge-mount::after { right: 9px; }

.badge-rig {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: rotate(var(--follow, 0deg));
    transform-origin: 50% 0;
    will-change: transform;
}

.badge-strap {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 160px;
    overflow: hidden;
    border-radius: 6px;
    background:
        repeating-linear-gradient(115deg, rgba(5, 5, 6, .14) 0 2px, transparent 2px 5px),
        linear-gradient(90deg, #6C6C6A, #C9C9C6 24%, #FFFFFF 50%, #C9C9C6 76%, #5A5A58);
    box-shadow: inset 0 0 0 1px rgba(5, 5, 6, .3), 0 20px 34px -22px rgba(0, 0, 0, .95);
    transform: scaleY(calc(1 + var(--stretch, 0)));
    transform-origin: 50% 0;
}

.badge-strap::before,
.badge-strap::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(5, 5, 6, .45) 0 3px, transparent 3px 6px);
}

.badge-strap::before { left: 4px; }
.badge-strap::after { right: 4px; }

.badge-strap span {
    writing-mode: vertical-rl;
    color: rgba(5, 5, 6, .8);
    font-family: var(--font-body);
    font-size: .5rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.badge-swivel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: -12px;
    transform: translateY(var(--pull, 0px));
}

.badge-clip {
    position: relative;
    z-index: 3;
    display: block;
    width: 40px;
    height: 51px;
    margin-bottom: -9px;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55));
    transform: rotate(calc(var(--swing-lag, 0deg) * .18));
    transform-origin: 50% 0;
}

.badge-deck {
    position: relative;
    z-index: 1;
    width: 100%;
    transform: rotate(var(--swing, 0deg));
    transform-origin: 50% 0;
    will-change: transform;
}

.badge-idle {
    position: relative;
    transform-origin: 50% 0;
    animation: badge-sway 9.5s ease-in-out infinite;
}

@keyframes badge-sway {
    0% { transform: rotate(-3.2deg); }
    18% { transform: rotate(2.6deg); }
    38% { transform: rotate(1.4deg); }
    55% { transform: rotate(-2.2deg); }
    70% { transform: rotate(-3.4deg); }
    86% { transform: rotate(1.8deg); }
    100% { transform: rotate(-3.2deg); }
}

.badge-stage.is-dragging .badge-idle { animation-play-state: paused; }
.badge-stage.is-dragging .badge-card { cursor: grabbing; }

.badge-back {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: 14px;
    background:
        repeating-linear-gradient(115deg, rgba(5, 5, 6, .08) 0 3px, transparent 3px 7px),
        linear-gradient(155deg, #F2F2EF, #C4C4C1 52%, #6E6E6C);
    transform: rotate(calc(-5.5deg + var(--swing-lag, 0deg) * .22)) translate(-9px, 8px);
    box-shadow: 0 30px 54px -30px rgba(0, 0, 0, .9);
    color: rgba(6, 6, 7, .35);
}

.badge-back-mark {
    position: absolute;
    left: 6px;
    bottom: -26px;
    font-family: var(--font-display);
    font-size: 9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.08em;
}

.badge-back-text {
    position: absolute;
    top: 16px;
    right: 14px;
    writing-mode: vertical-rl;
    color: rgba(5, 5, 6, .6);
    font-family: var(--font-body);
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.badge-card {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background:
        radial-gradient(130% 100% at 50% 120%, rgba(255, 255, 255, .26), transparent 55%),
        radial-gradient(120% 90% at 24% -24%, rgba(255, 255, 255, .22), transparent 54%),
        linear-gradient(165deg, rgba(244, 244, 242, .18), rgba(160, 160, 158, .07) 48%, rgba(6, 6, 7, .34));
    -webkit-backdrop-filter: blur(26px) saturate(150%) brightness(1.06);
    backdrop-filter: blur(26px) saturate(150%) brightness(1.06);
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, .9),
        inset 0 -2.5px 4px rgba(255, 255, 255, .36),
        inset 0 -24px 30px -28px rgba(255, 255, 255, .55),
        0 40px 64px -34px rgba(0, 0, 0, .95);
    cursor: grab;
    touch-action: none;
    user-select: none;
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    will-change: transform;
    transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s var(--ease);
}

.badge-stage.is-dragging .badge-card {
    transform: perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1.015);
    transition: transform .3s var(--ease), box-shadow .28s var(--ease);
    box-shadow:
        inset 0 2px 1.5px rgba(255, 255, 255, .92),
        inset 0 -2.5px 4px rgba(255, 255, 255, .4),
        inset 0 -24px 30px -28px rgba(255, 255, 255, .6),
        0 48px 74px -34px rgba(0, 0, 0, .98);
}

.badge-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1px 2px 10px;
}

.badge-brand {
    color: var(--text);
    font-family: var(--font-body);
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.badge-tile {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: linear-gradient(155deg, #F6F6F4, #C9C9C6 52%, #8A8A88);
    color: #0A0A0B;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.badge-photo {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background:
        radial-gradient(90% 70% at 50% 18%, rgba(244, 244, 242, .14), transparent 60%),
        linear-gradient(160deg, #0D0D0E, #040405);
}

.badge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.06) brightness(1.04);
    -webkit-user-drag: none;
}

.badge-mono {
    color: rgba(244, 244, 242, .35);
    font-family: var(--font-display);
    font-size: clamp(4.6rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
}

.badge-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
    color: rgba(244, 244, 242, .68);
    font-family: var(--font-body);
    font-size: .5rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.badge-strip {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8px 14px;
    margin: 10px 0 0;
    padding: 10px 11px;
    border-radius: 12px;
    background: rgba(246, 246, 244, .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px -18px rgba(0, 0, 0, .8);
    color: #0A0A0B;
}

.badge-cell {
    min-width: 0;
}

.badge-cell-wide {
    grid-column: 1 / -1;
    padding-top: 7px;
    border-top: 1px solid rgba(6, 6, 7, .14);
}

.badge-cell-full {
    grid-column: 1 / -1;
}

.badge-cell dt {
    margin-bottom: 2px;
    color: rgba(6, 6, 7, .55);
    font-family: var(--font-body);
    font-size: .48rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.badge-cell dd {
    margin: 0;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.badge-cell a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(6, 6, 7, .32);
    text-underline-offset: 2px;
}

.badge-cell a:hover {
    color: #000000;
}

.badge-hint {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 26px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: opacity .3s var(--ease);
}

.badge-stage.is-dragging .badge-hint { opacity: 0; }

.badge-hint::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.hero-rail {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.rail-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.rail-label {
    flex: none;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.rail-value {
    color: var(--muted);
    font-size: .88rem;
}

.rail-empty {
    color: var(--muted-2);
    font-size: .85rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.about-copy {
    padding: clamp(26px, 4vw, 44px);
}

.about-prose p {
    max-width: 68ch;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.78;
}

.about-prose p + p {
    margin-top: 16px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.about-facts dt,
.mini-facts dt {
    margin-bottom: 4px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-facts dd,
.mini-facts dd {
    color: var(--text);
    font-size: .92rem;
    overflow-wrap: anywhere;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    margin-top: clamp(56px, 8vw, 104px);
}

.contact-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.08;
}

.contact-intro p {
    max-width: 46ch;
    color: var(--muted);
    line-height: 1.7;
}

.contact-alt {
    margin-top: 18px;
    color: var(--muted-2);
    font-size: .9rem;
}

.contact-alt a {
    color: var(--accent);
}

.contact-panel {
    padding: clamp(22px, 3.5vw, 36px);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin-bottom: 16px;
}

.field label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.label-note {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .74rem;
    letter-spacing: 0;
    text-transform: none;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 12px;
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .1), transparent 58%),
        linear-gradient(160deg, rgba(244, 244, 242, .08), rgba(8, 8, 9, .26));
    color: var(--text);
    font-family: var(--font-body);
    font-size: .94rem;
    line-height: 1.5;
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .28);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-2);
    opacity: 1;
}

.field input:hover,
.field textarea:hover {
    border-color: rgba(255, 255, 255, .44);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .8);
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .16), transparent 58%),
        linear-gradient(160deg, rgba(244, 244, 242, .12), rgba(9, 9, 10, .28));
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .5),
        0 0 0 3px rgba(244, 244, 242, .14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.field-hint {
    color: var(--muted-2);
    font-size: .78rem;
}

.field-error {
    color: var(--danger);
    font-size: .8rem;
    line-height: 1.45;
}

.field-error:empty {
    display: none;
}

.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

#captcha-image {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
}

.form-success {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 14px;
    background: rgba(244, 244, 242, .1);
    color: #ECECE9;
}

.form-success[hidden] {
    display: none;
}

.form-success-title {
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
}

.form-error {
    margin-bottom: 14px;
    color: var(--danger);
    font-size: .86rem;
}

.resume-grid {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr) minmax(240px, .9fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
}

.resume-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.block-head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.block-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.block-head-row .block-head {
    padding: 0;
    border: 0;
}

.resume-card {
    padding: 20px;
    border: 0;
    border-radius: var(--radius);
    background:
        radial-gradient(130% 100% at 50% 118%, rgba(255, 255, 255, .2), transparent 55%),
        radial-gradient(120% 90% at 24% -22%, rgba(255, 255, 255, .16), transparent 54%),
        linear-gradient(160deg, rgba(244, 244, 242, .13), rgba(160, 160, 158, .06) 44%, rgba(6, 6, 7, .3));
    -webkit-backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
    backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .7),
        inset 0 -2px 3px rgba(255, 255, 255, .24),
        inset 0 -24px 30px -28px rgba(255, 255, 255, .45),
        0 28px 60px -34px rgba(0, 0, 0, .9);
}

.resume-card h3 {
    font-size: 1.18rem;
    font-weight: 400;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.card-count {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .64rem;
    font-weight: 600;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.chip-list li {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-pill);
    background:
        radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, .1), transparent 60%),
        rgba(244, 244, 242, .05);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .02em;
}

.chip-list-small li {
    padding: 4px 8px;
    font-size: .62rem;
}

.timeline {
    position: relative;
    margin-top: 22px;
    padding: 0 0 0 22px;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 10px;
    left: 4px;
    width: 1px;
    background: var(--line);
}

.timeline > li {
    position: relative;
    padding-bottom: 26px;
}

.timeline > li:last-child {
    padding-bottom: 0;
}

.timeline > li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -20px;
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: var(--accent);
}

.timeline-meta {
    margin-bottom: 4px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.timeline-body h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
}

.timeline-body h3 a {
    text-decoration: none;
}

.timeline-summary {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}

.mini-facts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mini-facts div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.mini-facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.resume-focus {
    margin-top: 10px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}

.resume-empty p {
    color: var(--muted);
    font-size: .92rem;
}

.hint {
    margin-top: 6px;
    color: var(--muted-2) !important;
    font-size: .8rem !important;
}

.block-count {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cert-block {
    margin-top: clamp(32px, 5vw, 56px);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background:
        radial-gradient(130% 100% at 50% 118%, rgba(255, 255, 255, .16), transparent 55%),
        linear-gradient(160deg, rgba(244, 244, 242, .1), rgba(160, 160, 158, .05) 44%, rgba(6, 6, 7, .3));
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .55),
        inset 0 -2px 3px rgba(255, 255, 255, .2),
        0 26px 54px -34px rgba(0, 0, 0, .9);
}

.cert-win-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(120% 200% at 22% 0%, rgba(255, 255, 255, .1), transparent 58%),
        linear-gradient(180deg, rgba(244, 244, 242, .05), rgba(6, 6, 7, .08));
}

.cert-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: calc(100% - 58px);
    height: 30px;
    margin-bottom: -1px;
    padding: 0 14px 0 10px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background:
        radial-gradient(120% 180% at 30% 0%, rgba(255, 255, 255, .15), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 242, .13), rgba(8, 8, 9, .2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
    color: rgba(244, 244, 242, .84);
}

.cert-folder {
    flex: none;
    width: 14px;
    height: 14px;
    color: rgba(244, 244, 242, .58);
}

.cert-file {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .25s var(--ease);
}

.cert-card:hover .cert-file,
.cert-card:focus-within .cert-file {
    color: #FFFFFF;
}

.cert-win-keys {
    display: flex;
    flex: none;
    align-items: center;
    gap: 14px;
    padding-bottom: 9px;
    color: rgba(244, 244, 242, .38);
}

.cert-win-keys span {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
}

.cert-win-keys span::before,
.cert-win-keys span::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.cert-win-keys span:nth-child(1)::before {
    top: calc(50% - .5px);
    left: 0;
    right: 0;
    height: 1px;
}

.cert-win-keys span:nth-child(2)::before {
    inset: 0;
    border: 1px solid currentColor;
    background: none;
}

.cert-win-keys span:nth-child(3)::before,
.cert-win-keys span:nth-child(3)::after {
    top: calc(50% - .5px);
    left: 0;
    right: 0;
    height: 1px;
}

.cert-win-keys span:nth-child(3)::before {
    transform: rotate(45deg);
}

.cert-win-keys span:nth-child(3)::after {
    transform: rotate(-45deg);
}

.cert-path {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin: 9px 10px 0;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(6, 6, 7, .34);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .38), inset 0 -1px 0 rgba(255, 255, 255, .05);
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .04em;
    white-space: nowrap;
}

.cert-path-crumb,
.cert-path-sep {
    flex: none;
}

.cert-path-sep {
    color: rgba(244, 244, 242, .28);
}

.cert-path-file {
    min-width: 0;
    overflow: hidden;
    color: rgba(244, 244, 242, .68);
    text-overflow: ellipsis;
}

.cert-open {
    display: block;
    margin: 8px 10px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: #F1F1EE;
    text-decoration: none;
}

.cert-open .cert-frame {
    position: relative;
    display: block;
}

.cert-open img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1127 / 794;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.cert-open:hover img,
.cert-open:focus-visible img {
    transform: scale(1.025);
}

.cert-zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius-pill);
    background: rgba(6, 6, 7, .72);
    color: #F4F4F2;
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.cert-open:hover .cert-zoom,
.cert-open:focus-visible .cert-zoom {
    opacity: 1;
}

.cert-body {
    margin: 12px 10px 0;
    padding: 12px 8px 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.cert-issuer {
    margin-bottom: 5px;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cert-body h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.35;
}

.cert-summary {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.6;
}

.cert-facts {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .62rem;
    line-height: 1.6;
    letter-spacing: .02em;
}

.cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 36px);
    background: rgba(2, 2, 3, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cert-lightbox[hidden] {
    display: none;
}

.cert-lightbox-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(1180px, 100%);
    max-height: calc(100svh - 24px);
}

.cert-lightbox-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cert-lightbox-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.35;
}

.cert-lightbox-meta {
    margin-top: 4px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cert-lightbox-meta:empty {
    display: none;
}

.cert-lightbox-close {
    flex: none;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(6, 6, 7, .6);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background .25s var(--ease);
}

.cert-lightbox-close:hover,
.cert-lightbox-close:focus-visible {
    background: rgba(244, 244, 242, .14);
}

.cert-lightbox-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: #F1F1EE;
}

.cert-lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: calc(100svh - 140px);
    width: auto;
    height: auto;
}

.project-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.feature-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: #080809;
    text-decoration: none;
}

.feature-media img,
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.feature-media:hover img,
.card-media:hover img {
    transform: scale(1.03);
}

.cover-fallback {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: clamp(20px, 4vw, 40px);
    background:
        linear-gradient(135deg, rgba(244, 244, 242, .1), transparent 48%),
        linear-gradient(150deg, #0C0C0D, #040405);
}

.cover-index {
    position: absolute;
    top: clamp(20px, 4vw, 40px);
    left: clamp(20px, 4vw, 40px);
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .62rem;
    letter-spacing: .18em;
}

.cover-initial {
    position: absolute;
    top: -.08em;
    right: 14px;
    color: rgba(244, 244, 242, .1);
    font-family: var(--font-display);
    font-size: clamp(7rem, 14vw, 12rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
}

.cover-title {
    position: relative;
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 600;
    line-height: 1.1;
}

.cover-note {
    position: relative;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cover-fallback-small .cover-initial {
    font-size: clamp(5rem, 10vw, 8rem);
}

.cover-fallback-small .cover-title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.feature-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.feature-body h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.05;
}

.feature-body h2 a {
    text-decoration: none;
}

.feature-summary {
    max-width: 46ch;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background:
        radial-gradient(130% 100% at 50% 122%, rgba(255, 255, 255, .18), transparent 56%),
        radial-gradient(120% 90% at 24% -22%, rgba(255, 255, 255, .14), transparent 54%),
        linear-gradient(180deg, rgba(244, 244, 242, .12), rgba(160, 160, 158, .05) 48%, rgba(6, 6, 7, .34));
    -webkit-backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
    backdrop-filter: blur(22px) saturate(145%) brightness(1.04);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .68),
        inset 0 -2px 3px rgba(255, 255, 255, .22),
        inset 0 -24px 30px -28px rgba(255, 255, 255, .42),
        0 30px 62px -34px rgba(0, 0, 0, .92);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .8),
        inset 0 -2px 3px rgba(255, 255, 255, .28),
        inset 0 -24px 30px -28px rgba(255, 255, 255, .52),
        0 38px 72px -34px rgba(0, 0, 0, .95);
}

.card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #080809;
    text-decoration: none;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px;
}

.card-body h3 {
    font-size: 1.3rem;
}

.card-body h3 a {
    text-decoration: none;
}

.card-summary {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}

.text-link {
    margin-top: 4px;
    color: var(--accent);
    font-size: .86rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(244, 244, 242, .35);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--accent-strong);
    border-color: var(--accent-strong);
}

.empty-panel {
    padding: clamp(26px, 4vw, 44px);
}

.empty-title {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
}

.empty-panel p {
    color: var(--muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 26px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
}

.back-link:hover {
    color: var(--accent);
}

.detail-head {
    max-width: 900px;
    margin-bottom: 36px;
}

.detail-title {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: .98;
    letter-spacing: -.04em;
}

.detail-lead {
    max-width: 64ch;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.7;
}

.detail-head .chip-list {
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-cover {
    margin: 0 0 clamp(32px, 5vw, 56px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: #080809;
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-fallback {
    height: 100%;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}

.detail-prose p {
    max-width: 70ch;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.detail-prose p:last-child {
    margin-bottom: 0;
}

.detail-side {
    padding: 26px;
    position: sticky;
    top: 130px;
}

.detail-side .block-head {
    margin-bottom: 18px;
}

.next-project {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: clamp(48px, 7vw, 80px);
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.next-label {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.next-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 400;
    line-height: 1;
    transition: color .2s var(--ease);
}

.next-project:hover .next-title {
    color: var(--accent);
}

.not-found {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding-top: 140px;
}

.not-found-panel {
    width: 100%;
    max-width: 760px;
    padding: clamp(28px, 6vw, 64px);
}

.not-found-panel .detail-actions {
    margin-top: 28px;
}

.site-foot {
    margin-top: clamp(48px, 8vw, 96px);
    border-top: 1px solid var(--line);
}

.foot-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 24px;
}

.foot-id,
.foot-meta {
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.foot-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.foot-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.foot-link:hover {
    background: rgba(244, 244, 242, .08);
    color: var(--text);
}

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 2, 3, .75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.confirm-overlay[hidden] {
    display: none;
}

.confirm-box {
    width: min(440px, 100%);
    padding: 26px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #0B0B0C;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.confirm-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.confirm-desc {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 1100px) {
    .resume-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resume-block-wide {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 1000px) {
    .hero {
        min-height: 0;
        padding-top: 138px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .veil-scene {
        height: min(66svh, 560px);
    }

    .profile-stage {
        max-width: 420px;
        justify-self: start;
    }

    .badge-stage {
        max-width: 360px;
        justify-self: center;
        margin-top: 4px;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-grid .profile-stage {
        max-width: 420px;
    }

    .contact-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-side {
        position: static;
    }
}

@media (max-width: 900px) {
    .site-head {
        top: 0;
    }

    .head-bar {
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .head-contact {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 10px;
        right: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin-left: 0;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-top: 1px solid rgba(255, 255, 255, .22);
        border-radius: 18px;
        background:
            radial-gradient(130% 120% at 50% 0%, rgba(255, 255, 255, .1), transparent 54%),
            linear-gradient(160deg, rgba(14, 14, 15, .985), rgba(3, 3, 4, .99));
        -webkit-backdrop-filter: blur(28px) saturate(150%);
        backdrop-filter: blur(28px) saturate(150%);
        box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .3), 0 30px 60px -20px rgba(0, 0, 0, .85);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-glass {
        display: none;
    }

    .site-nav a {
        padding: 0 12px;
        border-radius: 12px;
        border-bottom: 0;
    }

    .nav-icon {
        width: 16px;
        height: 16px;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a.is-active {
        background: rgba(244, 244, 242, .12);
    }

    .nav-mail {
        display: inline-flex !important;
        color: var(--accent) !important;
        font-family: var(--font-body);
        font-size: .72rem !important;
        border-bottom: 0 !important;
    }

    .hero-rail {
        flex-direction: column;
        gap: 16px;
    }

    .rail-block {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 760px) {
    .page {
        padding-top: 128px;
    }

    .hero {
        padding-top: 126px;
    }

    .veil-scene {
        height: min(60svh, 470px);
    }

    .hero-name {
        font-size: clamp(2.7rem, 12vw, 4.6rem);
    }

    .project-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .resume-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cert-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .resume-block-wide {
        order: 0;
    }

    .about-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .foot-bar {
        justify-content: flex-start;
        gap: 10px;
    }

    .foot-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .badge-stage {
        max-width: 330px;
    }

    .badge-strap {
        height: 132px;
    }
}

@media (max-width: 520px) {
    .brand-role {
        display: none;
    }

    .brand-name {
        max-width: 130px;
    }

    .hero-name {
        letter-spacing: -.04em;
    }

    .hero-role {
        letter-spacing: .22em;
    }

    .hero-actions .btn {
        flex: 1;
    }

    .profile-stage {
        padding: 12px;
    }

    .stage-frame {
        aspect-ratio: 1 / 1;
    }

    .about-copy,
    .contact-panel {
        padding: 20px;
    }

    .detail-cover {
        aspect-ratio: 4 / 3;
    }

    .next-title {
        font-size: 1.5rem;
    }

    .badge-stage {
        max-width: min(288px, calc(100vw - 56px));
    }

    .badge-strap {
        width: 30px;
        height: 116px;
    }

    .badge-clip {
        width: 34px;
        height: 44px;
    }

    .badge-card {
        padding: 10px;
        border-radius: 8px;
    }

    .badge-back {
        border-radius: 8px;
    }

    .badge-head {
        padding-bottom: 8px;
    }

    .badge-strip {
        gap: 7px 12px;
        padding: 9px 10px;
    }

    .badge-cell dd {
        font-size: .66rem;
    }

    .badge-hint {
        margin-top: 15px;
    }

    .cert-win-bar {
        padding: 7px 10px 0;
    }

    .cert-tab {
        height: 27px;
        padding: 0 11px 0 8px;
    }

    .cert-file {
        font-size: .58rem;
    }

    .cert-win-keys {
        gap: 11px;
        padding-bottom: 8px;
    }

    .cert-path {
        margin: 8px 8px 0;
        padding: 5px 9px;
        font-size: .55rem;
    }

    .cert-open {
        margin: 8px 8px 0;
    }

    .cert-body {
        margin: 10px 8px 0;
        padding: 10px 8px 14px;
    }
}

.reduce-motion {
    scroll-behavior: auto;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
}

.reduce-motion .page-veil {
    display: none !important;
}

.reduce-motion .site-opening {
    display: none !important;
}

.reduce-motion .badge-idle {
    animation: none;
}

@media print {
    body.site-body {
        background: #fff !important;
        color: #111 !important;
    }

    .site-glow,
    .site-noise,
    .site-head,
    .site-foot,
    .scroll-meter,
    .page-veil,
    .site-opening,
    .hero-actions,
    .hero-links,
    .back-link,
    .detail-actions,
    .profile-stage,
    .badge-stage,
    .contact-section,
    [data-print],
    .not-found,
    .confirm-overlay {
        display: none !important;
    }

    .page,
    .hero {
        min-height: 0 !important;
        padding: 0 !important;
    }

    .wrap {
        max-width: none;
        padding: 0;
    }

    .resume-grid {
        display: block;
    }

    .resume-block {
        margin-bottom: 24px;
    }

    .resume-card,
    .panel {
        border-color: #bbb !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .page-title,
    .hero-name,
    .detail-title,
    h1,
    h2,
    h3,
    dd,
    .timeline-body h3 a {
        color: #111 !important;
    }

    .timeline-meta,
    .page-lead,
    .resume-focus,
    .timeline-summary,
    .hint,
    .block-head,
    dt {
        color: #444 !important;
    }

    .chip-list li {
        border-color: #ccc;
        color: #222;
        background: #fff;
    }

    .timeline::before,
    .timeline > li::before {
        display: none;
    }

    .cert-lightbox,
    .cert-zoom {
        display: none !important;
    }

    .cert-grid {
        display: block;
    }

    .cert-card {
        margin-bottom: 18px;
        border: 1px solid #bbb;
        box-shadow: none !important;
        background: #fff !important;
        break-inside: avoid;
    }

    .cert-open {
        border-color: #ccc;
        margin: 8px;
    }

    .cert-win-bar,
    .cert-path {
        display: none !important;
    }

    .cert-body {
        margin: 0;
        padding: 11px 10px 14px;
        border-top-color: #ddd;
    }

    .cert-issuer,
    .cert-facts,
    .cert-summary {
        color: #444 !important;
    }

    .cert-body h3 {
        color: #111 !important;
    }
}