/* ===================================================================
 * Studio Portfolio System — Inspired by kwoncj1025-cmd.github.io
 * Nocturnal Indigo Studio · Alabaster Desk · 3D Lanyard ID Card
 * Funnel Display + Funnel Sans · 60fps Hardware-Accelerated Motion
 * =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600;700&family=Funnel+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
    --f-disp        : "Funnel Display", "Funnel Sans", system-ui, -apple-system, sans-serif;
    --f-sans        : "Funnel Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono        : "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

    /* Nocturnal Studio Palette */
    --nt-bg         : #0b0b16;
    --nt-glow       : #1b1c38;
    --nt-surface    : rgba(255, 255, 255, 0.035);
    --nt-surface-hi : rgba(255, 255, 255, 0.065);
    --nt-ink        : #eaebf5;
    --nt-ink-2      : rgba(234, 235, 245, 0.72);
    --nt-ink-3      : rgba(234, 235, 245, 0.44);
    --nt-line       : rgba(234, 235, 245, 0.11);
    --soft          : #a8afe5;
    --dot           : #8b8ade;
    --accent-indigo : #747cf0;

    /* Alabaster Studio Desk Palette */
    --lt-bg         : #f2f4f8;
    --lt-card       : #ffffff;
    --lt-subtle     : #f8f9fc;
    --lt-ink        : #0e0e14;
    --lt-ink-2      : #4f5164;
    --lt-ink-3      : #8c8ea3;
    --lt-line       : rgba(14, 14, 20, 0.09);

    --ease-fluid    : cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring   : cubic-bezier(0.18, 0.89, 0.32, 1.15);
}

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

html {
    font-size : 16px;
    scroll-behavior : auto;
}

body {
    margin                  : 0;
    background              : var(--nt-bg);
    color                   : var(--nt-ink);
    font-family             : var(--f-sans);
    font-size               : 15px;
    line-height             : 1.65;
    -webkit-font-smoothing  : antialiased;
    -moz-osx-font-smoothing : grayscale;
    overflow-x              : hidden;
}

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

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

button {
    font-family : inherit;
}

/* Preloader */
#preloader {
    position        : fixed;
    inset           : 0;
    z-index         : 900;
    background      : var(--nt-bg);
    display         : flex;
    align-items     : center;
    justify-content : center;
    transition      : opacity 0.45s var(--ease-fluid), visibility 0.45s;
}

#preloader.is-done {
    opacity        : 0;
    visibility     : hidden;
    pointer-events : none;
}

.loader-dot {
    width         : 10px;
    height        : 10px;
    border-radius : 50%;
    background    : var(--soft);
    box-shadow    : 0 0 24px rgba(168, 175, 229, 0.65);
    animation     : pulseDot 1s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform : scale(0.8); opacity : 0.45; }
    50%      { transform : scale(1.25); opacity : 1; }
}

/* Top Scroll Progress Hairline */
.scroll-progress {
    position       : fixed;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 2px;
    z-index        : 400;
    pointer-events : none;
}

.scroll-progress__bar {
    width            : 100%;
    height           : 100%;
    background       : linear-gradient(90deg, var(--dot), var(--soft));
    transform        : scaleX(0);
    transform-origin : left center;
    will-change      : transform;
}

/* -------------------------------------------------------------------
 * Right-Edge Vertical Navigation Rail (.stn — Exact Reference Feel)
 * ------------------------------------------------------------------- */
.stn {
    position       : fixed;
    right          : 22px;
    top            : 50%;
    transform      : translateY(-50%);
    z-index        : 320;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    gap            : 14px;
    padding        : 10px 6px;
}

.stn__btn {
    position        : relative;
    width           : 18px;
    height          : 18px;
    padding         : 0;
    border          : 0;
    background      : transparent;
    cursor          : pointer;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.stn__dot {
    width         : 5px;
    height        : 5px;
    border-radius : 999px;
    background    : rgba(234, 235, 245, 0.34);
    transition    : height 0.35s var(--ease-fluid), width 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.stn__btn:hover .stn__dot {
    background : rgba(234, 235, 245, 0.78);
    transform  : scale(1.2);
}

.stn__btn.is-active .stn__dot {
    width      : 5px;
    height     : 22px;
    background : #ffffff;
    box-shadow : 0 0 12px rgba(168, 175, 229, 0.6);
}

.stn--light .stn__dot {
    background : rgba(14, 14, 20, 0.25);
}

.stn--light .stn__btn:hover .stn__dot {
    background : rgba(14, 14, 20, 0.65);
}

.stn--light .stn__btn.is-active .stn__dot {
    background : #0e0e14;
    box-shadow : none;
}

.stn__label {
    position                : absolute;
    right                   : 24px;
    top                     : 50%;
    transform               : translateY(-50%) translateX(6px);
    padding                 : 4px 10px;
    border-radius           : 999px;
    background              : rgba(11, 11, 22, 0.88);
    border                  : 1px solid rgba(234, 235, 245, 0.14);
    backdrop-filter         : blur(10px);
    -webkit-backdrop-filter : blur(10px);
    font-size               : 11px;
    font-weight             : 600;
    letter-spacing          : 0.04em;
    color                   : var(--nt-ink);
    white-space             : nowrap;
    opacity                 : 0;
    pointer-events          : none;
    transition              : opacity 0.22s ease, transform 0.22s var(--ease-fluid);
}

.stn--light .stn__label {
    background   : rgba(255, 255, 255, 0.94);
    border-color : rgba(14, 14, 20, 0.12);
    color        : var(--lt-ink);
    box-shadow   : 0 4px 12px rgba(14, 14, 20, 0.08);
}

.stn__btn:hover .stn__label,
.stn__btn:focus-visible .stn__label {
    opacity   : 1;
    transform : translateY(-50%) translateX(0);
}

/* Compact Mobile Top/Bottom Nav Pill */
.mobile-top-nav {
    display : none;
}

/* -------------------------------------------------------------------
 * SCENE 01: Nocturnal Hero + Hanging 3D Lanyard ID Card
 * ------------------------------------------------------------------- */
.scene-hero {
    position       : relative;
    min-height     : 100vh;
    background     :
        radial-gradient(54% 68% at 50% 42%, rgba(44, 46, 88, 0.56) 0%, rgba(16, 17, 34, 0.72) 56%, #090912 100%);
    overflow       : hidden;
    display        : flex;
    flex-direction : column;
    justify-content : space-between;
    padding        : 28px clamp(24px, 4vw, 56px) 36px;
}

/* Top bar metadata inside Hero */
.studio-topbar {
    position        : relative;
    z-index         : 12;
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    font-size       : 11px;
    font-weight     : 500;
    letter-spacing  : 0.14em;
    text-transform  : uppercase;
    color           : var(--nt-ink-3);
}

.studio-eyebrow {
    display     : inline-flex;
    align-items : center;
    gap         : 9px;
    color       : var(--nt-ink-2);
}

.studio-eyebrow i {
    width         : 5px;
    height        : 5px;
    border-radius : 50%;
    background    : var(--dot);
    box-shadow    : 0 0 10px rgba(139, 138, 222, 0.75);
}

/* Giant Background Watermark with Cursor Radial Spotlight Glow */
.hero-watermark {
    position       : absolute;
    left           : 0;
    right          : 0;
    bottom         : -0.14em;
    z-index        : 1;
    text-align     : center;
    font-family    : var(--f-disp);
    font-weight    : 600;
    font-size      : clamp(72px, 14.2vw, 220px);
    line-height    : 0.9;
    letter-spacing : -0.04em;
    pointer-events : none;
    user-select    : none;
    white-space    : nowrap;
}

.hero-watermark__base {
    display : block;
    color   : rgba(168, 175, 229, 0.085);
}

.hero-watermark__glow {
    position                : absolute;
    inset                   : 0;
    display                 : block;
    color                   : transparent;
    -webkit-background-clip : text;
    background-clip         : text;
    background-image        : radial-gradient(
        215px circle at var(--wm-x, 50%) var(--wm-y, 50%),
        rgba(255, 255, 255, 0.96) 0%,
        rgba(56, 232, 255, 0.82) 30%,
        rgba(34, 211, 238, 0.28) 55%,
        transparent 78%
    );
    opacity                 : var(--wm-op, 0);
    transition              : opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    filter                  : drop-shadow(0 0 18px rgba(34, 211, 238, 0.24));
    will-change             : opacity;
}

/* 3-Column Studio Stage Grid */
.hero-grid {
    position              : relative;
    z-index               : 8;
    width                 : 100%;
    max-width             : 1320px;
    margin                : auto;
    display               : grid;
    grid-template-columns : minmax(0, 1.05fr) 310px minmax(0, 0.92fr);
    align-items           : center;
    gap                   : clamp(20px, 3.4vw, 56px);
    padding-block         : 36px 48px;
}

/* Left Hero Copy */
.hero-copy {
    min-width : 0;
}

.hero-headline {
    font-family    : var(--f-disp);
    font-weight    : 500;
    font-size      : clamp(34px, 4.1vw, 56px);
    line-height    : 1.06;
    letter-spacing : -0.035em;
    color          : #ffffff;
    margin         : 0 0 26px;
}

.hero-headline span {
    display : block;
    color   : rgba(234, 235, 245, 0.42);
}

.hero-actions {
    display   : flex;
    flex-wrap : wrap;
    gap       : 10px;
}

.pill-cta {
    display         : inline-flex;
    align-items     : center;
    justify-content : center;
    gap             : 8px;
    height          : 42px;
    padding         : 0 18px;
    border-radius   : 999px;
    font-size       : 13px;
    font-weight     : 600;
    letter-spacing  : 0.01em;
    border          : 1px solid rgba(234, 235, 245, 0.18);
    background      : rgba(234, 235, 245, 0.06);
    color           : var(--nt-ink);
    cursor          : pointer;
    transition      : transform 0.3s var(--ease-fluid), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pill-cta:hover,
.pill-cta:focus-visible {
    transform    : translateY(-2px);
    background   : rgba(234, 235, 245, 0.14);
    border-color : rgba(168, 175, 229, 0.52);
    color        : #ffffff;
    outline      : none;
}

.pill-cta--solid {
    background   : #ffffff;
    border-color : #ffffff;
    color        : #0e0e14;
}

.pill-cta--solid:hover,
.pill-cta--solid:focus-visible {
    background   : var(--soft);
    border-color : var(--soft);
    color        : #0b0b16;
}

/* -------------------------------------------------------------------
 * CENTERPIECE: Hanging 3D Lanyard & Interactive Glass ID Card
 * ------------------------------------------------------------------- */
.lanyard-stage {
    position        : relative;
    display         : flex;
    flex-direction  : column;
    align-items     : center;
    justify-content : flex-start;
    perspective     : 1200px;
    z-index         : 15;
    touch-action    : pan-y;
}

/* Woven Lanyard Ribbon extending from top edge */
.lanyard-strap {
    position         : relative;
    width            : 30px;
    height           : 165px;
    margin-top       : -120px;
    background       : linear-gradient(90deg, #101017 0%, #1c1c29 45%, #101017 100%);
    border-left      : 1px solid rgba(255, 255, 255, 0.08);
    border-right     : 1px solid rgba(255, 255, 255, 0.08);
    box-shadow       : 0 12px 24px rgba(0, 0, 0, 0.55);
    display          : flex;
    align-items      : center;
    justify-content  : center;
    overflow         : hidden;
    transform-origin : top center;
    will-change      : transform;
    animation        : strapGentleSway 5.8s ease-in-out infinite;
}

@keyframes strapGentleSway {
    0%, 100% { transform : rotate(-0.55deg); }
    50%      { transform : rotate(0.55deg); }
}

.lanyard-strap__text {
    writing-mode   : vertical-rl;
    font-size      : 8.5px;
    font-weight    : 600;
    letter-spacing : 0.28em;
    text-transform : uppercase;
    color          : rgba(234, 235, 245, 0.58);
    white-space    : nowrap;
}

/* Metallic Swivel Clasp */
.lanyard-clasp {
    position        : relative;
    z-index         : 4;
    display         : flex;
    flex-direction  : column;
    align-items     : center;
    margin-top      : -3px;
    margin-bottom   : -10px;
    pointer-events  : none;
}

.clasp-bar {
    width         : 34px;
    height        : 10px;
    border-radius : 3px;
    background    : linear-gradient(180deg, #e5e7ef 0%, #8f93a8 55%, #cfd3e0 100%);
    box-shadow    : 0 2px 5px rgba(0, 0, 0, 0.5);
}

.clasp-ring {
    width         : 18px;
    height        : 22px;
    border        : 3.5px solid #cfd3e0;
    border-radius : 9px;
    margin-top    : -2px;
    box-shadow    : 0 3px 8px rgba(0, 0, 0, 0.45);
}

/* Pendulum Swing Container (Gentle 2.5deg ambient sway over 5.8s loop) */
.lanyard-pendulum {
    transform-origin : 50% -26px;
    will-change      : transform;
    animation        : gentleSway 5.8s ease-in-out infinite;
}

@keyframes gentleSway {
    0%, 100% { transform : rotate(-2.4deg); }
    50%      { transform : rotate(2.4deg); }
}

/* 3D Flip Container */
.id-card-3d {
    width           : 286px;
    height          : 416px;
    position        : relative;
    transform-style : preserve-3d;
    transition      : transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change     : transform;
}

.id-card-3d.is-flipped {
    transform : rotateY(180deg);
}

.id-face {
    position            : absolute;
    inset               : 0;
    border-radius       : 18px;
    backface-visibility : hidden;
    -webkit-backface-visibility : hidden;
    background          :
        radial-gradient(65% 45% at 35% 20%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(160deg, #f9fafe 0%, #eaedf6 52%, #e0e4f0 100%);
    color               : #0e0e14;
    padding             : 18px 18px 16px;
    display             : flex;
    flex-direction      : column;
    border              : 1px solid rgba(255, 255, 255, 0.92);
    box-shadow          :
        0 32px 68px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(168, 175, 229, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow            : hidden;
}

.id-face--front {
    pointer-events : auto;
}

.id-face--back {
    transform      : rotateY(180deg);
    pointer-events : none;
}

.id-card-3d.is-flipped .id-face--front {
    pointer-events : none;
}

.id-card-3d.is-flipped .id-face--back {
    pointer-events : auto;
}

/* Top card slot punch */
.id-slot {
    width         : 42px;
    height        : 6px;
    border-radius : 999px;
    background    : rgba(14, 14, 20, 0.14);
    box-shadow    : inset 0 1px 2px rgba(0, 0, 0, 0.22);
    margin        : 0 auto 12px;
}

.id-top-row {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    font-size       : 9.5px;
    font-weight     : 600;
    letter-spacing  : 0.12em;
    text-transform  : uppercase;
    color           : #686a7d;
    margin-bottom   : 10px;
}

.id-photo-box {
    position      : relative;
    width         : 100%;
    height        : 222px;
    border-radius : 12px;
    overflow      : hidden;
    background    : linear-gradient(150deg, #c2d4f8 0%, #99b4ed 100%);
    border        : 1px solid rgba(14, 14, 20, 0.08);
    margin-bottom : 14px;
}

.id-photo-box img {
    width           : 100%;
    height          : 100%;
    object-fit      : cover;
    object-position : center 14%;
}

.id-name {
    font-family    : var(--f-disp);
    font-size      : 21px;
    font-weight    : 600;
    line-height    : 1.15;
    letter-spacing : -0.025em;
    color          : #0e0e14;
    margin         : 0 0 3px;
}

.id-role {
    font-size   : 12px;
    font-weight : 500;
    color       : #5b5d72;
    margin      : 0;
}

.id-foot {
    margin-top      : auto;
    padding-top     : 10px;
    border-top      : 1px solid rgba(14, 14, 20, 0.08);
    display         : flex;
    align-items     : center;
    justify-content : space-between;
}

.id-foot-label {
    font-size      : 10px;
    font-weight    : 600;
    letter-spacing : 0.1em;
    text-transform : uppercase;
    color          : #6c6e82;
}

.id-flip-btn {
    width           : 28px;
    height          : 28px;
    border-radius   : 50%;
    border          : 0;
    background      : #0e0e14;
    color           : #ffffff;
    display         : inline-flex;
    align-items     : center;
    justify-content : center;
    cursor          : pointer;
    transition      : transform 0.25s var(--ease-fluid), background-color 0.25s ease;
}

.id-flip-btn:hover {
    transform  : scale(1.1);
    background : #2a2d4c;
}

/* Back Face of 3D Card */
.id-back-name {
    font-family    : var(--f-disp);
    font-size      : 20px;
    font-weight    : 700;
    line-height    : 1.15;
    letter-spacing : -0.02em;
    color          : #0e0e14;
    margin         : 2px 0 3px;
}

.id-back-sub {
    font-size     : 11px;
    font-weight   : 500;
    color         : #64667a;
    margin        : 0 0 14px;
}

.id-contact-rows {
    display        : flex;
    flex-direction : column;
    border-top     : 1px solid rgba(14, 14, 20, 0.09);
}

.id-crow {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 8px;
    padding         : 7px 2px;
    border          : 0;
    border-bottom   : 1px solid rgba(14, 14, 20, 0.09);
    background      : transparent;
    text-align      : left;
    cursor          : pointer;
    width           : 100%;
    color           : #0e0e14;
    transition      : background-color 0.2s ease;
}

.id-crow:hover {
    background : rgba(14, 14, 20, 0.04);
}

.id-crow__k {
    font-size      : 9.5px;
    font-weight    : 600;
    letter-spacing : 0.1em;
    text-transform : uppercase;
    color          : #7c7e92;
    width          : 44px;
    flex-shrink    : 0;
}

.id-crow__v {
    font-size     : 11.5px;
    font-weight   : 600;
    color         : #0e0e14;
    flex          : 1 1 auto;
    overflow      : hidden;
    text-overflow : ellipsis;
    white-space   : nowrap;
}

.id-crow__ic {
    width       : 13px;
    height      : 13px;
    color       : #64667a;
    flex-shrink : 0;
}

.id-issue {
    margin-top  : auto;
    padding-top : 10px;
    display     : flex;
    align-items : flex-end;
    gap         : 12px;
}

.id-issue--qr-only {
    position        : relative;
    justify-content : center;
    align-items     : center;
    padding-top     : 10px;
    padding-bottom  : 2px;
}

.id-qr-img {
    width         : 104px;
    height        : 104px;
    object-fit    : contain;
    border-radius : 10px;
    background    : #ffffff;
    box-shadow    : 0 6px 16px rgba(14, 14, 20, 0.09);
    border        : 1px solid rgba(14, 14, 20, 0.08);
    display       : block;
}

.id-flip-btn--corner {
    position : absolute;
    right    : 0;
    bottom   : 0;
}

.id-issue__meta {
    flex           : 1 1 auto;
    display        : flex;
    flex-direction : column;
    gap            : 2px;
}

.id-issue__scan {
    font-size   : 11px;
    font-weight : 600;
    color       : #0e0e14;
}

.id-issue__note {
    font-size   : 9.5px;
    line-height : 1.35;
    color       : #686a7d;
}

.id-issue__stamp {
    font-size      : 9px;
    font-weight    : 600;
    letter-spacing : 0.08em;
    text-transform : uppercase;
    color          : #8c8ea3;
    margin-top     : 4px;
}

/* Right Hero Spec Table + Bio */
.hero-specs {
    min-width : 0;
}

.spec-table {
    border-top    : 1px solid var(--nt-line);
    margin-bottom : 24px;
}

.spec-row {
    display       : grid;
    grid-template-columns : 76px minmax(0, 1fr);
    align-items   : baseline;
    gap           : 14px;
    padding       : 12px 0;
    border-bottom : 1px solid var(--nt-line);
}

.spec-row__k {
    font-size      : 10.5px;
    font-weight    : 600;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : var(--nt-ink-3);
}

.spec-row__v {
    font-size   : 13.5px;
    font-weight : 500;
    color       : var(--nt-ink);
    display     : flex;
    align-items : center;
    gap         : 8px;
}

.status-dot {
    width         : 7px;
    height        : 7px;
    border-radius : 50%;
    background    : var(--soft);
    box-shadow    : 0 0 0 4px rgba(168, 175, 229, 0.18);
    flex-shrink   : 0;
}

.hero-bio {
    font-size     : 13.8px;
    line-height   : 1.72;
    color         : var(--nt-ink-2);
    margin        : 0 0 18px;
}

.inline-link {
    display         : inline-flex;
    align-items     : center;
    gap             : 5px;
    font-size       : 13px;
    font-weight     : 600;
    color           : #ffffff;
    border-bottom   : 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom  : 2px;
    transition      : border-color 0.25s ease, color 0.25s ease;
}

.inline-link:hover {
    color        : var(--soft);
    border-color : var(--soft);
}

/* Downward Chevron Peek */
.hero-peek {
    position        : relative;
    z-index         : 12;
    align-self      : center;
    display         : inline-flex;
    flex-direction  : column;
    align-items     : center;
    gap             : 2px;
    padding         : 6px;
    color           : var(--nt-ink-3);
    cursor          : pointer;
    transition      : color 0.25s ease;
}

.hero-peek:hover {
    color : #ffffff;
}

.hero-peek svg {
    width     : 18px;
    height    : 9px;
    animation : chevBounce 2.2s ease-in-out infinite;
}

.hero-peek svg:nth-child(2) { animation-delay : 0.14s; }
.hero-peek svg:nth-child(3) { animation-delay : 0.28s; }

@keyframes chevBounce {
    0%, 100% { opacity : 0.25; transform : translateY(-2px); }
    45%      { opacity : 0.95; transform : translateY(2px); }
}

/* -------------------------------------------------------------------
 * SCENE 02: Selected Works — Alabaster Desk + 3D Interactive Folders
 * ------------------------------------------------------------------- */
.scene-works-desk {
    position   : relative;
    background : radial-gradient(75% 75% at 50% 45%, #ffffff 0%, #eaedf4 100%);
    color      : var(--lt-ink);
    padding    : 68px clamp(24px, 5vw, 72px) 64px;
}

.scene-inner {
    width     : 100%;
    max-width : 1180px;
    margin    : 0 auto;
}

.desk-head {
    display         : flex;
    align-items     : baseline;
    justify-content : space-between;
    flex-wrap       : wrap;
    gap             : 12px 24px;
    margin-bottom   : 46px;
}

.desk-head__title {
    display     : flex;
    align-items : baseline;
    flex-wrap   : wrap;
    gap         : 14px;
}

.desk-index {
    font-family    : var(--f-mono);
    font-size      : 12px;
    font-weight    : 500;
    color          : var(--lt-ink-3);
    letter-spacing : 0.08em;
}

.desk-h2 {
    font-family    : var(--f-disp);
    font-size      : clamp(22px, 2.8vw, 30px);
    font-weight    : 600;
    letter-spacing : -0.025em;
    color          : var(--lt-ink);
    margin         : 0;
}

.desk-hint {
    font-size   : 14px;
    font-weight : 400;
    color       : var(--lt-ink-3);
}

/* Tactile 3D Interactive Folder Cards (Strict Priority 01 -> 02 -> 03) */
.folders-grid {
    display               : grid;
    grid-template-columns : repeat(3, minmax(0, 1fr));
    gap                   : 28px;
    margin-bottom         : 28px;
}

.folder-card {
    position        : relative;
    display         : flex;
    flex-direction  : column;
    perspective     : 1000px;
    cursor          : pointer;
}

.folder-shell {
    position      : relative;
    height        : 318px;
    border-radius : 18px;
    border        : 1px solid rgba(14, 14, 20, 0.14);
    background    : linear-gradient(135deg, #4b52b4 0%, #8b94f0 100%);
    box-shadow    : 0 18px 42px -14px rgba(14, 14, 20, 0.2);
    overflow      : hidden;
    transition    : transform 0.45s var(--ease-fluid), box-shadow 0.45s var(--ease-fluid);
}

.folder-shell--01 { background : linear-gradient(135deg, #1b2264 0%, #0d9488 100%); }
.folder-shell--02 { background : linear-gradient(135deg, #2d3480 0%, #636cd4 100%); }
.folder-shell--03 { background : linear-gradient(135deg, #4b5fc7 0%, #98a9ff 100%); }
.folder-shell--04 { background : linear-gradient(135deg, #52597a 0%, #9ca4c4 100%); }

.folder-card:hover .folder-shell,
.folder-card.is-selected .folder-shell {
    transform  : translateY(-6px);
    box-shadow : 0 28px 56px -16px rgba(14, 14, 20, 0.28);
}

/* Project Diagram Preview Inside Folder (Zero Label Cropping) */
.folder-preview {
    position      : absolute;
    left          : 14px;
    right         : 14px;
    top           : 20px;
    height        : 174px;
    padding       : 8px;
    border-radius : 12px;
    overflow      : hidden;
    background    : #ffffff;
    box-shadow    : 0 10px 24px rgba(14, 14, 20, 0.22);
    transform     : translateY(28px) scale(0.95);
    transition    : transform 0.55s var(--ease-fluid);
    z-index       : 2;
    display       : flex;
    align-items   : center;
    justify-content : center;
}

.folder-preview img {
    width      : 100%;
    height     : 100%;
    object-fit : contain;
}

.folder-card:hover .folder-preview,
.folder-card.is-selected .folder-preview {
    transform : translateY(-4px) scale(1.01);
}

/* Front Pocket of Folder */
.folder-pocket {
    position        : absolute;
    left            : 0;
    right           : 0;
    bottom          : 0;
    height          : 226px;
    z-index         : 3;
    border-radius   : 14px 14px 16px 16px;
    padding         : 20px 22px 28px;
    display         : flex;
    flex-direction  : column;
    justify-content : space-between;
    transform-origin : bottom center;
    transition      : transform 0.5s var(--ease-fluid);
}

.folder-card:hover .folder-pocket,
.folder-card.is-selected .folder-pocket {
    transform : translateY(14px) rotateX(-12deg);
}

/* Folder Notch Lip on Top-Left */
.folder-pocket::before {
    content       : "";
    position      : absolute;
    top           : -14px;
    left          : 0;
    width         : 54%;
    height        : 16px;
    border-radius : 12px 14px 0 0;
    background    : inherit;
}

.folder-pocket--dark {
    background : linear-gradient(165deg, #16183a 0%, #0e0f24 100%);
    color      : #ffffff;
}

.folder-pocket--light {
    background : linear-gradient(165deg, #ffffff 0%, #f1f3f9 100%);
    color      : #0e0e14;
    border-top : 1px solid rgba(14, 14, 20, 0.08);
}

.folder-pocket__top {
    display         : flex;
    align-items     : flex-start;
    justify-content : space-between;
}

.folder-num {
    font-family    : var(--f-disp);
    font-size      : 42px;
    font-weight    : 600;
    line-height    : 0.95;
    letter-spacing : -0.04em;
}

.folder-arrow {
    font-size  : 16px;
    opacity    : 0.72;
    transition : transform 0.3s var(--ease-fluid), opacity 0.25s ease;
}

.folder-card:hover .folder-arrow {
    transform : translate(3px, -3px);
    opacity   : 1;
}

.folder-title {
    font-family    : var(--f-disp);
    font-size      : 20px;
    font-weight    : 600;
    line-height    : 1.2;
    letter-spacing : -0.02em;
    margin         : 0 0 6px;
}

.folder-sub {
    font-size   : 12.5px;
    line-height : 1.45;
    opacity     : 0.72;
    margin      : 0;
}

/* Direct Card Action Strip under each Folder (No Text Walls, Instant GitHub Access) */
.folder-meta-foot {
    margin-top      : 14px;
    display         : flex;
    flex-direction  : column;
    gap             : 10px;
    padding         : 0 4px;
}

.folder-summary {
    font-size   : 13.5px;
    line-height : 1.55;
    color       : var(--lt-ink-2);
    margin      : 0;
}

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

.folder-tags li {
    padding       : 3px 9px;
    border-radius : 999px;
    background    : rgba(14, 14, 20, 0.05);
    border        : 1px solid rgba(14, 14, 20, 0.08);
    font-size     : 11.5px;
    font-weight   : 500;
    color         : var(--lt-ink-2);
}

.folder-actions {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 10px;
    padding-top     : 6px;
}

.folder-btn-inspect {
    border          : 0;
    background      : transparent;
    padding         : 0;
    font-size       : 12px;
    font-weight     : 600;
    color           : var(--lt-ink-3);
    cursor          : pointer;
    transition      : color 0.2s ease;
}

.folder-btn-inspect:hover {
    color : var(--lt-ink);
}

.folder-btn-github {
    display         : inline-flex;
    align-items     : center;
    gap             : 6px;
    padding         : 7px 14px;
    border-radius   : 999px;
    background      : #0e0e14;
    color           : #ffffff;
    font-size       : 12px;
    font-weight     : 600;
    transition      : transform 0.25s var(--ease-fluid), background-color 0.25s ease;
}

.folder-btn-github:hover {
    transform  : translateY(-1px);
    background : #2a2e5c;
}

/* Featured Flagship Project Highlight (01: NetGit) */
.folder-card--flagship {
    grid-column           : 1 / -1;
    display               : grid;
    grid-template-columns : minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items           : center;
    gap                   : 32px;
    padding               : 24px;
    border-radius         : 22px;
    background            : linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 241, 255, 0.94) 100%);
    border                : 1px solid rgba(45, 52, 128, 0.24);
    box-shadow            : 0 24px 52px -20px rgba(22, 24, 58, 0.16);
}

.folder-card--flagship .folder-shell {
    box-shadow : 0 22px 46px -14px rgba(27, 34, 100, 0.28);
}

.folder-card--flagship .folder-meta-foot {
    margin-top : 0;
    gap        : 12px;
}

.folder-flagship-row {
    display     : flex;
    align-items : center;
    flex-wrap   : wrap;
    gap         : 8px 12px;
}

.folder-flagship-badge {
    display        : inline-flex;
    align-items    : center;
    gap            : 7px;
    padding        : 5px 12px;
    border-radius  : 999px;
    background     : linear-gradient(135deg, #1b2264 0%, #0d9488 100%);
    color          : #ffffff;
    font-size      : 11px;
    font-weight    : 600;
    letter-spacing : 0.06em;
    text-transform : uppercase;
}

.flagship-dot {
    width         : 7px;
    height        : 7px;
    border-radius : 50%;
    background    : #5eead4;
    box-shadow    : 0 0 0 3px rgba(94, 234, 212, 0.25);
}

.folder-flagship-meta {
    font-family    : var(--f-mono);
    font-size      : 11px;
    font-weight    : 500;
    color          : #3c4678;
}

.folder-flagship-heading {
    font-family    : var(--f-disp);
    font-size      : clamp(24px, 2.4vw, 30px);
    font-weight    : 600;
    letter-spacing : -0.025em;
    color          : var(--lt-ink);
    margin         : 0;
    line-height    : 1.15;
}

.folder-card--flagship .folder-summary {
    font-size : 14.5px;
    max-width : 54ch;
}

.desk-foot {
    margin-top      : 38px;
    padding-top     : 18px;
    border-top      : 1px solid var(--lt-line);
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    font-size       : 11.5px;
    font-weight     : 600;
    letter-spacing  : 0.12em;
    text-transform  : uppercase;
    color           : var(--lt-ink-3);
}

/* -------------------------------------------------------------------
 * SCENE 03: Nocturnal Showcase Stage (Interactive Dock + Selected View)
 * ------------------------------------------------------------------- */
.scene-showcase {
    position   : relative;
    background :
        radial-gradient(60% 70% at 68% 45%, rgba(44, 48, 92, 0.45) 0%, rgba(12, 13, 26, 0.85) 60%, #090912 100%);
    padding    : 76px clamp(24px, 5vw, 72px) 64px;
    border-top : 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-grid {
    display               : grid;
    grid-template-columns : minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items           : center;
    gap                   : clamp(28px, 4.5vw, 64px);
}

.showcase-head-meta {
    display       : flex;
    align-items   : center;
    flex-wrap     : wrap;
    gap           : 10px 14px;
    margin-bottom : 14px;
}

.showcase-count {
    font-family    : var(--f-mono);
    font-size      : 12px;
    letter-spacing : 0.12em;
    color          : var(--soft);
    margin-bottom  : 0;
}

.showcase-flagship-badge {
    display        : inline-flex;
    align-items    : center;
    gap            : 7px;
    padding        : 4px 12px;
    border-radius  : 999px;
    background     : rgba(13, 148, 136, 0.16);
    border         : 1px solid rgba(94, 234, 212, 0.35);
    color          : #99f6e4;
    font-size      : 11px;
    font-weight    : 600;
    letter-spacing : 0.06em;
    text-transform : uppercase;
}

.showcase-flagship-badge.is-hidden {
    display : none;
}

.showcase-title {
    font-family    : var(--f-disp);
    font-size      : clamp(30px, 3.6vw, 46px);
    font-weight    : 600;
    line-height    : 1.08;
    letter-spacing : -0.03em;
    color          : #ffffff;
    margin         : 0 0 16px;
}

.showcase-summary {
    font-size   : 16px;
    line-height : 1.65;
    color       : var(--nt-ink-2);
    margin      : 0 0 22px;
    max-width   : 46ch;
}

.showcase-tags {
    list-style : none;
    margin     : 0 0 26px;
    padding    : 0;
    display    : flex;
    flex-wrap  : wrap;
    gap        : 8px;
}

.showcase-tags li {
    padding       : 5px 12px;
    border-radius : 999px;
    background    : rgba(234, 235, 245, 0.06);
    border        : 1px solid var(--nt-line);
    font-size     : 12px;
    font-weight   : 500;
    color         : var(--nt-ink);
}

.showcase-cta-row {
    display     : flex;
    align-items : center;
    gap         : 16px;
    margin-bottom : 30px;
}

.showcase-meta {
    display               : grid;
    grid-template-columns : repeat(2, minmax(0, 1fr));
    gap                   : 16px;
    padding-top           : 20px;
    border-top            : 1px solid var(--nt-line);
}

.showcase-meta__k {
    font-size      : 10px;
    font-weight    : 600;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : var(--nt-ink-3);
    margin-bottom  : 4px;
}

.showcase-meta__v {
    font-size   : 13.5px;
    font-weight : 500;
    color       : var(--nt-ink);
}

.showcase-frame {
    position      : relative;
    border-radius : 20px;
    padding       : 14px;
    background    : linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border        : 1px solid rgba(234, 235, 245, 0.14);
    box-shadow    : 0 36px 80px -18px rgba(0, 0, 0, 0.65);
}

.showcase-frame__img {
    border-radius   : 12px;
    overflow        : hidden;
    aspect-ratio    : 4 / 3;
    max-height      : 470px;
    padding         : 14px;
    background      : #ffffff;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.showcase-frame__img img {
    width      : 100%;
    height     : 100%;
    object-fit : contain;
    transition : opacity 0.35s ease, transform 0.6s var(--ease-fluid);
}

.showcase-frame:hover .showcase-frame__img img {
    transform : scale(1.02);
}

/* Bottom Thumbnail Dock */
.showcase-dock {
    margin-top      : 44px;
    display         : flex;
    justify-content : center;
    gap             : 12px;
    flex-wrap       : wrap;
}

.dock-item {
    display       : inline-flex;
    align-items   : center;
    gap           : 10px;
    padding       : 7px 14px 7px 7px;
    border-radius : 12px;
    border        : 1px solid var(--nt-line);
    background    : rgba(255, 255, 255, 0.03);
    color         : var(--nt-ink-2);
    cursor        : pointer;
    transition    : transform 0.25s var(--ease-fluid), border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.dock-item img {
    width         : 48px;
    height        : 34px;
    padding       : 2px;
    border-radius : 7px;
    background    : #ffffff;
    object-fit    : contain;
}

.dock-item__text {
    font-size   : 12.5px;
    font-weight : 600;
}

.dock-item:hover {
    transform    : translateY(-2px);
    border-color : rgba(168, 175, 229, 0.4);
    color        : #ffffff;
}

.dock-item.is-active {
    background   : rgba(168, 175, 229, 0.14);
    border-color : var(--soft);
    color        : #ffffff;
}

/* -------------------------------------------------------------------
 * SCENE 04: Experience, About & Skills (Studio Dossier)
 * ------------------------------------------------------------------- */
.scene-experience {
    background : var(--nt-bg);
    padding    : 76px clamp(24px, 5vw, 72px);
    border-top : 1px solid rgba(255, 255, 255, 0.05);
}

.section-header-dark {
    display         : flex;
    align-items     : flex-end;
    justify-content : space-between;
    flex-wrap       : wrap;
    gap             : 16px 32px;
    padding-bottom  : 24px;
    border-bottom   : 1px solid var(--nt-line);
    margin-bottom   : 40px;
}

.section-kicker {
    display        : inline-flex;
    align-items    : center;
    gap            : 9px;
    font-size      : 11px;
    font-weight    : 600;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : var(--soft);
    margin-bottom  : 10px;
}

.section-kicker i {
    width         : 5px;
    height        : 5px;
    border-radius : 50%;
    background    : var(--dot);
}

.section-display {
    font-family    : var(--f-disp);
    font-size      : clamp(28px, 3.6vw, 42px);
    font-weight    : 500;
    line-height    : 1.08;
    letter-spacing : -0.03em;
    margin         : 0;
    color          : #ffffff;
}

.section-display span {
    color : rgba(234, 235, 245, 0.42);
}

.dossier-layout {
    display               : grid;
    grid-template-columns : minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap                   : 48px;
}

.exp-feed {
    position     : relative;
    padding-left : 28px;
}

.exp-feed::before {
    content    : "";
    position   : absolute;
    left       : 5px;
    top        : 8px;
    bottom     : 8px;
    width      : 1px;
    background : linear-gradient(180deg, var(--dot) 0%, var(--nt-line) 100%);
}

.exp-entry {
    position      : relative;
    padding       : 24px 26px;
    border-radius : 14px;
    background    : var(--nt-surface);
    border        : 1px solid var(--nt-line);
    transition    : border-color 0.3s ease, transform 0.35s var(--ease-fluid);
}

.exp-entry + .exp-entry {
    margin-top : 20px;
}

.exp-entry:hover {
    border-color : rgba(168, 175, 229, 0.34);
    transform    : translateX(4px);
}

.exp-entry__dot {
    position      : absolute;
    left          : -28px;
    top           : 28px;
    width         : 11px;
    height        : 11px;
    border-radius : 50%;
    background    : var(--soft);
    box-shadow    : 0 0 0 4px var(--nt-bg), 0 0 12px rgba(168, 175, 229, 0.45);
}

.exp-entry__top {
    display         : flex;
    align-items     : flex-start;
    justify-content : space-between;
    gap             : 14px;
    margin-bottom   : 14px;
}

.exp-entry__role {
    font-family    : var(--f-disp);
    font-size      : 20px;
    font-weight    : 600;
    color          : #ffffff;
    margin         : 0 0 3px;
}

.exp-entry__org {
    font-size   : 14px;
    font-weight : 500;
    color       : var(--soft);
}

.exp-entry__date {
    font-family    : var(--f-mono);
    font-size      : 11px;
    color          : var(--nt-ink-3);
    padding        : 4px 10px;
    border-radius  : 999px;
    border         : 1px solid var(--nt-line);
    white-space    : nowrap;
}

.exp-entry__list {
    list-style     : none;
    margin         : 0;
    padding        : 0;
    display        : flex;
    flex-direction : column;
    gap            : 8px;
}

.exp-entry__list li {
    position     : relative;
    padding-left : 16px;
    font-size    : 13.8px;
    line-height  : 1.6;
    color        : var(--nt-ink-2);
}

.exp-entry__list li::before {
    content       : "";
    position      : absolute;
    left          : 0;
    top           : 9px;
    width         : 5px;
    height        : 5px;
    border-radius : 50%;
    background    : var(--dot);
}

/* Skills Matrix on Right */
.skills-panel {
    display        : flex;
    flex-direction : column;
    gap            : 16px;
}

.skill-group {
    padding       : 20px 22px;
    border-radius : 14px;
    background    : var(--nt-surface);
    border        : 1px solid var(--nt-line);
}

.skill-group__title {
    font-size      : 11px;
    font-weight    : 600;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : var(--soft);
    margin         : 0 0 12px;
}

.skill-pills {
    list-style : none;
    margin     : 0;
    padding    : 0;
    display    : flex;
    flex-wrap  : wrap;
    gap        : 7px;
}

.skill-pills li {
    padding       : 4px 11px;
    border-radius : 999px;
    background    : rgba(255, 255, 255, 0.04);
    border        : 1px solid rgba(234, 235, 245, 0.1);
    font-size     : 12.5px;
    color         : var(--nt-ink);
}

/* -------------------------------------------------------------------
 * SCENE 05: Credentials, Education & Achievements (Alabaster Light)
 * ------------------------------------------------------------------- */
.scene-credentials {
    background : radial-gradient(75% 75% at 50% 45%, #ffffff 0%, #eaedf4 100%);
    color      : var(--lt-ink);
    padding    : 76px clamp(24px, 5vw, 72px);
}

.section-header-light {
    display         : flex;
    align-items     : flex-end;
    justify-content : space-between;
    flex-wrap       : wrap;
    gap             : 16px 32px;
    padding-bottom  : 24px;
    border-bottom   : 1px solid var(--lt-line);
    margin-bottom   : 40px;
}

.section-kicker--light {
    color : #4f55b8;
}

.section-kicker--light i {
    background : #5b62d6;
}

.section-display--light {
    color : var(--lt-ink);
}

.section-display--light span {
    color : var(--lt-ink-3);
}

.cred-grid {
    display               : grid;
    grid-template-columns : 1.12fr 0.88fr;
    gap                   : 32px;
}

.cred-col-label {
    font-size      : 11px;
    font-weight    : 700;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : #4f55b8;
    margin         : 0 0 14px;
}

.cred-stack {
    display        : flex;
    flex-direction : column;
    gap            : 14px;
}

.cred-card {
    background    : var(--lt-card);
    border        : 1px solid var(--lt-line);
    border-radius : 14px;
    padding       : 20px 22px;
    box-shadow    : 0 6px 20px -10px rgba(14, 14, 20, 0.08);
    transition    : transform 0.35s var(--ease-fluid), border-color 0.25s ease;
}

.cred-card:hover {
    transform    : translateY(-3px);
    border-color : rgba(91, 98, 214, 0.35);
}

.cred-card__top {
    display         : flex;
    align-items     : flex-start;
    justify-content : space-between;
    gap             : 12px;
    margin-bottom   : 4px;
}

.cred-card__title {
    font-family : var(--f-disp);
    font-size   : 17px;
    font-weight : 600;
    line-height : 1.3;
    color       : var(--lt-ink);
    margin      : 0;
}

.cred-card__date {
    font-family    : var(--f-mono);
    font-size      : 11px;
    color          : var(--lt-ink-3);
    white-space    : nowrap;
}

.cred-card__issuer {
    font-size     : 13.5px;
    color         : var(--lt-ink-2);
    margin-bottom : 12px;
}

.cred-card__foot {
    display         : flex;
    flex-wrap       : wrap;
    align-items     : center;
    justify-content : space-between;
    gap             : 8px;
    padding-top     : 10px;
    border-top      : 1px solid var(--lt-line);
}

.cred-id {
    font-family   : var(--f-mono);
    font-size     : 11.5px;
    padding       : 3px 9px;
    border-radius : 6px;
    background    : var(--lt-subtle);
    border        : 1px solid var(--lt-line);
    color         : var(--lt-ink-2);
}

.cred-verify {
    font-size   : 12.5px;
    font-weight : 600;
    color       : #4f55b8;
}

.cred-verify:hover {
    text-decoration : underline;
}

.achieve-card {
    margin-top    : 14px;
    padding       : 20px 22px;
    border-radius : 14px;
    background    : linear-gradient(150deg, #16183a 0%, #0e0f24 100%);
    color         : #ffffff;
}

.achieve-card .cred-col-label {
    color : var(--soft);
}

.achieve-list {
    list-style     : none;
    margin         : 0;
    padding        : 0;
    display        : flex;
    flex-direction : column;
    gap            : 10px;
}

.achieve-list li {
    position     : relative;
    padding-left : 15px;
    font-size    : 13.2px;
    line-height  : 1.55;
    color        : var(--nt-ink-2);
}

.achieve-list li strong {
    color : #ffffff;
}

.achieve-list li::before {
    content       : "";
    position      : absolute;
    left          : 0;
    top           : 8px;
    width         : 5px;
    height        : 5px;
    border-radius : 50%;
    background    : var(--soft);
}

/* Research & Publications Subsection */
.research-block {
    margin-top  : 32px;
    padding-top : 28px;
    border-top  : 1px solid var(--lt-line);
}

.research-card {
    background      : var(--lt-card);
    border          : 1px solid var(--lt-line);
    border-radius   : 16px;
    padding         : 24px 26px;
    box-shadow      : 0 8px 24px -10px rgba(14, 14, 20, 0.08);
    display         : grid;
    grid-template-columns : minmax(0, 1fr) auto;
    gap             : 16px 28px;
    align-items     : start;
    transition      : transform 0.35s var(--ease-fluid), border-color 0.25s ease;
}

.research-card:hover {
    transform    : translateY(-3px);
    border-color : rgba(91, 98, 214, 0.35);
}

.research-card__title {
    font-family    : var(--f-disp);
    font-size      : 19px;
    font-weight    : 600;
    line-height    : 1.32;
    letter-spacing : -0.015em;
    color          : var(--lt-ink);
    margin         : 0 0 10px;
}

.research-card__venue {
    font-size   : 14px;
    line-height : 1.6;
    color       : var(--lt-ink-2);
    margin      : 0 0 12px;
}

.research-card__role {
    display     : inline-flex;
    align-items : center;
    gap         : 8px;
    font-size   : 12.5px;
    font-weight : 600;
    color       : #4f55b8;
}

.research-venue-pill {
    font-family    : var(--f-mono);
    font-size      : 11px;
    font-weight    : 500;
    padding        : 5px 12px;
    border-radius  : 999px;
    background     : rgba(79, 85, 184, 0.08);
    border         : 1px solid rgba(79, 85, 184, 0.22);
    color          : #3d439f;
    white-space    : nowrap;
}

/* -------------------------------------------------------------------
 * SCENE 06: Contact Closing Scene (Exact Reference Finale!)
 * ------------------------------------------------------------------- */
.scene-contact {
    position        : relative;
    min-height      : 88vh;
    background      :
        radial-gradient(56% 68% at 50% 42%, rgba(44, 46, 88, 0.5) 0%, rgba(12, 13, 26, 0.85) 60%, #090912 100%);
    overflow        : hidden;
    display         : flex;
    flex-direction  : column;
    justify-content : space-between;
    padding         : 36px clamp(24px, 4vw, 56px) 32px;
}

.contact-stage {
    position              : relative;
    z-index               : 6;
    width                 : 100%;
    max-width             : 1240px;
    margin                : auto;
    display               : grid;
    grid-template-columns : minmax(0, 1fr) minmax(0, 1fr);
    align-items           : center;
    gap                   : clamp(32px, 5vw, 80px);
    padding-block         : 48px 56px;
}

.contact-left {
    position : relative;
}

.contact-display {
    font-family    : var(--f-disp);
    font-size      : clamp(42px, 5.4vw, 72px);
    font-weight    : 500;
    line-height    : 1.02;
    letter-spacing : -0.04em;
    color          : #ffffff;
    margin         : 0;
}

.contact-display span {
    display : block;
    color   : rgba(234, 235, 245, 0.36);
}

/* Floating tilted mini ID card echoing Reference Contact Scene */
.mini-id-float {
    margin-top    : 28px;
    width         : 132px;
    padding       : 8px;
    border-radius : 12px;
    background    : linear-gradient(155deg, #ffffff 0%, #e5e8f2 100%);
    color         : #0e0e14;
    transform     : rotate(-8deg);
    box-shadow    : 0 24px 48px rgba(0, 0, 0, 0.55);
    transition    : transform 0.45s var(--ease-fluid);
}

.mini-id-float:hover {
    transform : rotate(-2deg) translateY(-4px);
}

.mini-id-float img {
    width           : 100%;
    height          : 106px;
    object-fit      : cover;
    object-position : center 15%;
    border-radius   : 8px;
    margin-bottom   : 6px;
}

.mini-id-float__name {
    font-family : var(--f-disp);
    font-size   : 10.5px;
    font-weight : 700;
    line-height : 1.15;
}

.mini-id-float__role {
    font-size : 8.5px;
    color     : #616278;
}

/* Right Contact Hairline Table */
.contact-rows {
    border-top : 1px solid var(--nt-line);
}

.contact-row {
    display         : grid;
    grid-template-columns : 120px minmax(0, 1fr) auto;
    align-items     : center;
    gap             : 16px;
    padding         : 15px 4px;
    border-bottom   : 1px solid var(--nt-line);
    transition      : background-color 0.2s ease;
}

.contact-row:hover {
    background : rgba(255, 255, 255, 0.025);
}

.contact-row__k {
    font-size      : 10.5px;
    font-weight    : 600;
    letter-spacing : 0.14em;
    text-transform : uppercase;
    color          : var(--nt-ink-3);
}

.contact-row__v {
    font-size     : 14.5px;
    font-weight   : 500;
    color         : #ffffff;
    overflow      : hidden;
    text-overflow : ellipsis;
    white-space   : nowrap;
}

.contact-row__v:hover {
    color : var(--soft);
}

.contact-copy-btn {
    border        : 1px solid rgba(234, 235, 245, 0.18);
    background    : rgba(255, 255, 255, 0.04);
    color         : var(--nt-ink-2);
    border-radius : 999px;
    padding       : 5px 12px;
    font-size     : 11px;
    font-weight   : 600;
    cursor        : pointer;
    transition    : background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-copy-btn:hover,
.contact-copy-btn.is-copied {
    background   : #ffffff;
    border-color : #ffffff;
    color        : #0e0e14;
}

/* Closing Footer Bar + Watermark */
.contact-bottom-nav {
    position        : relative;
    z-index         : 8;
    width           : 100%;
    max-width       : 1240px;
    margin          : 0 auto 14px;
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    flex-wrap       : wrap;
    gap             : 16px;
    font-size       : 11px;
    font-weight     : 600;
    letter-spacing  : 0.14em;
    text-transform  : uppercase;
    color           : var(--nt-ink-3);
}

.see-again {
    display     : flex;
    align-items : center;
    flex-wrap   : wrap;
    gap         : 14px;
}

.see-again a {
    color          : var(--nt-ink-2);
    border-bottom  : 1px solid rgba(234, 235, 245, 0.26);
    padding-bottom : 2px;
    transition     : color 0.2s ease, border-color 0.2s ease;
}

.see-again a:hover {
    color        : #ffffff;
    border-color : #ffffff;
}

.back-top-link {
    display     : inline-flex;
    align-items : center;
    gap         : 6px;
    color       : var(--nt-ink);
    cursor      : pointer;
    transition  : color 0.2s ease, transform 0.25s ease;
}

.back-top-link:hover {
    color     : var(--soft);
    transform : translateY(-2px);
}

.contact-watermark {
    position       : relative;
    z-index        : 1;
    text-align     : center;
    font-family    : var(--f-disp);
    font-weight    : 600;
    font-size      : clamp(42px, 10.6vw, 158px);
    line-height    : 0.92;
    letter-spacing : -0.04em;
    color          : rgba(168, 175, 229, 0.10);
    user-select    : none;
    pointer-events : none;
    margin-top     : 8px;
}

/* Smooth IntersectionObserver Reveal */
[data-reveal] {
    opacity     : 0;
    transform   : translate3d(0, 24px, 0);
    transition  : opacity 0.7s var(--ease-fluid), transform 0.7s var(--ease-fluid);
    will-change : opacity, transform;
}

[data-reveal].is-visible {
    opacity   : 1;
    transform : translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .lanyard-pendulum {
        animation : none;
    }

    [data-reveal] {
        opacity    : 1;
        transform  : none;
        transition : none;
    }
}

/* -------------------------------------------------------------------
 * Responsive Breakpoints
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1120px) {
    .hero-grid {
        grid-template-columns : 1fr 1fr;
        gap                   : 36px;
    }

    .lanyard-stage {
        grid-column : 2;
        grid-row    : 1;
    }

    .hero-specs {
        grid-column : 1 / -1;
    }

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

    .folder-card--flagship {
        grid-column    : auto;
        display        : flex;
        flex-direction : column;
        align-items    : stretch;
        gap            : 0;
        padding        : 0;
        background     : transparent;
        border         : none;
        box-shadow     : none;
        border-radius  : 0;
    }

    .folder-card--flagship .folder-meta-foot {
        margin-top : 14px;
        gap        : 10px;
    }

    .folder-flagship-heading {
        display : none;
    }

    .showcase-grid,
    .dossier-layout,
    .cred-grid {
        grid-template-columns : 1fr;
    }
}

@media screen and (max-width: 820px) {
    .stn {
        display : none;
    }

    .mobile-top-nav {
        position                : fixed;
        bottom                  : 16px;
        left                    : 50%;
        transform               : translateX(-50%);
        z-index                 : 350;
        display                 : inline-flex;
        align-items             : center;
        gap                     : 4px;
        padding                 : 5px;
        border-radius           : 999px;
        background              : rgba(14, 14, 24, 0.86);
        backdrop-filter         : blur(14px);
        -webkit-backdrop-filter : blur(14px);
        border                  : 1px solid rgba(234, 235, 245, 0.16);
        box-shadow              : 0 12px 30px rgba(0, 0, 0, 0.45);
        max-width               : calc(100vw - 24px);
        overflow-x              : auto;
    }

    .mobile-top-nav a {
        padding        : 7px 11px;
        border-radius  : 999px;
        font-size      : 11px;
        font-weight    : 600;
        color          : var(--nt-ink-2);
        white-space    : nowrap;
        transition     : background-color 0.2s ease, color 0.2s ease;
    }

    .mobile-top-nav a.is-active {
        background : #ffffff;
        color      : #0e0e14;
    }

    .hero-grid {
        grid-template-columns : 1fr;
        padding-block         : 20px 32px;
        gap                   : 30px;
    }

    .lanyard-stage {
        grid-column : 1;
        grid-row    : 2;
        padding-top : 6px;
    }

    .lanyard-strap {
        height        : 44px;
        margin-top    : 0;
        border-radius : 8px 8px 0 0;
    }

    .hero-specs {
        grid-row : 3;
    }

    .folders-grid {
        grid-template-columns : 1fr;
    }

    .research-card {
        grid-template-columns : 1fr;
    }

    .contact-stage {
        grid-template-columns : 1fr;
        gap                   : 36px;
    }

    .mini-id-float {
        display : none;
    }

    .contact-row {
        grid-template-columns : 92px minmax(0, 1fr) auto;
        gap                   : 10px;
    }

    .scene-contact {
        padding-bottom : 86px;
    }
}

@media screen and (max-width: 520px) {
    .studio-topbar {
        font-size      : 9.5px;
        letter-spacing : 0.08em;
        gap            : 10px;
    }

    .id-card-3d {
        width  : 266px;
        height : 396px;
    }

    .id-photo-box {
        height : 202px;
    }

    .exp-feed {
        padding-left : 20px;
    }

    .exp-entry {
        padding : 18px;
    }

    .exp-entry__dot {
        left : -20px;
    }

    .exp-entry__top {
        flex-direction : column;
        gap            : 8px;
    }

    .contact-row {
        grid-template-columns : 1fr;
        gap                   : 6px;
    }

    .contact-copy-btn {
        justify-self : start;
    }
}
