/* ============================================================
   ZUSYNI — CREATIVE DEVELOPER PORTFOLIO
   css/style.css · Complete & Production Ready
   ------------------------------------------------------------
   00 · Fonts
   01 · Tokens
   02 · Reset & Base
   03 · Canvas / Grain
   04 · Container
   05 · Loader
   06 · Reveal
   07 · Keyframes
   08 · Doodles
   09 · Navigation
   10 · Buttons
   11 · Hero
   12 · Hero Photo
   13 · Marquee
   14 · Section Header
   15 · Intro
   16 · Work / Projects
   17 · Featured Live
   18 · About
   19 · Interests
   20 · Skills
   21 · Personal
   22 · Direction
   23 · Location Map
   24 · CTA
   25 · Contact
   26 · Footer
   27 · Modal
   28 · Responsive
   29 · A11y / Print
   ============================================================ */

/* ============================================================
   00 · FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&family=Caveat:wght@400;500;600;700&display=swap');

/* ============================================================
   01 · DESIGN TOKENS
   ============================================================ */
:root {
    /* Canvas */
    --bg: #07080D;
    --bg-2: #0A0B12;
    --surface-1: #0D1118;
    --surface-2: #111720;
    --surface-3: #151A23;
    --surface-4: #1B2131;

    /* Ink */
    --ink: #F5F5F7;
    --ink-2: #E4E6EB;
    --ink-3: #C2C6CF;
    --ink-dim: #9AA0AA;
    --ink-mute: #6B7280;

    /* Lines */
    --line: rgba(255, 255, 255, 0.06);
    --line-2: rgba(255, 255, 255, 0.10);
    --line-3: rgba(255, 255, 255, 0.16);

    /* Palette */
    --purple: #7B3CFF;
    --purple-2: #9A6BFF;
    --purple-dark: #4A16C4;
    --purple-glow: rgba(123, 60, 255, 0.16);
    --purple-glow-hi: rgba(123, 60, 255, 0.38);

    --lime: #C8FF00;
    --lime-2: #DAFF4F;
    --lime-glow: rgba(200, 255, 0, 0.16);
    --lime-glow-hi: rgba(200, 255, 0, 0.32);

    --blue: #35A8FF;
    --blue-glow: rgba(53, 168, 255, 0.14);
    --orange: #FF7043;
    --pink: #FF4FA3;
    --pink-glow: rgba(255, 79, 163, 0.14);
    --yellow: #FFD83D;

    /* Fonts */
    --font-display: 'Bricolage Grotesque', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    --font-hand: 'Caveat', cursive;

    /* Layout */
    --wrap: 1360px;
    --pad: clamp(20px, 4vw, 44px);

    /* Radius */
    --r-xs: 4px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-2xl: 40px;
    --r-full: 9999px;

    /* Motion */
    --e-out: cubic-bezier(0.16, 1, 0.3, 1);
    --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --e-spring: cubic-bezier(0.34, 1.5, 0.5, 1);
    --t-fast: 0.2s var(--e-out);
    --t: 0.4s var(--e-out);

    /* Shadows */
    --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --sh-md: 0 4px 14px rgba(0, 0, 0, 0.28), 0 16px 40px rgba(0, 0, 0, 0.24);
    --sh-lg: 0 14px 40px rgba(0, 0, 0, 0.38), 0 40px 90px rgba(0, 0, 0, 0.3);
    --sh-xl: 0 30px 80px rgba(0, 0, 0, 0.5), 0 60px 140px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   02 · RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) var(--bg);
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg,
iframe,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    list-style: none;
}

blockquote {
    quotes: none;
}

::selection {
    background: var(--lime);
    color: var(--bg);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--surface-4);
}

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 4px;
    border-radius: var(--r-xs);
}

/* ============================================================
   03 · CANVAS ATMOSPHERE + GRAIN
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 40% at 10% 6%, var(--purple-glow) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 90% 94%, var(--lime-glow) 0%, transparent 55%),
        radial-gradient(ellipse 30% 25% at 92% 18%, var(--blue-glow) 0%, transparent 55%);
}

.grain-overlay {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 9995;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    animation: grain 8s steps(8) infinite;
}

/* ============================================================
   04 · CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
    position: relative;
    z-index: 1;
}

main {
    position: relative;
    z-index: 1;
}

/* ============================================================
   05 · PAGE LOADER
   ============================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    transition: opacity 0.6s var(--e-out), visibility 0.6s var(--e-out);
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.loader-brand::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1em;
    height: 0.08em;
    background: var(--lime);
    border-radius: var(--r-full);
    transform: rotate(-1.5deg) scaleX(0);
    transform-origin: left center;
    animation: loaderUnderline 1.4s var(--e-out) forwards;
}

.loader-bar {
    width: min(220px, 55vw);
    height: 2px;
    background: var(--surface-3);
    border-radius: var(--r-full);
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: var(--lime);
    animation: loadFill 1.6s var(--e-out) forwards;
}

/* ============================================================
   06 · SCROLL REVEAL
   ============================================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.85s var(--e-out),
        transform 0.85s var(--e-out);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   07 · KEYFRAMES
   ============================================================ */
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-3%, -8%); }
    20% { transform: translate(-12%, 3%); }
    30% { transform: translate(6%, -18%); }
    40% { transform: translate(-4%, 12%); }
    50% { transform: translate(-12%, 8%); }
    60% { transform: translate(12%, 0); }
    70% { transform: translate(0, 12%); }
    80% { transform: translate(3%, 25%); }
    90% { transform: translate(-8%, 8%); }
}

@keyframes loaderUnderline {
    to { transform: rotate(-1.5deg) scaleX(1); }
}

@keyframes loadFill {
    0% { width: 0; }
    45% { width: 58%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.72); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(4deg); }
    75% { transform: rotate(-4deg); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatXY {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5px, -8px) rotate(3deg); }
    66% { transform: translate(-4px, 5px) rotate(-2deg); }
}

@keyframes heroAmbient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.08); }
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 62% 38% 55% 45% / 55% 45% 60% 40%;
        transform: rotate(0deg) scale(1);
    }
    33% {
        border-radius: 42% 58% 62% 38% / 60% 48% 52% 40%;
        transform: rotate(4deg) scale(1.03);
    }
    66% {
        border-radius: 55% 45% 40% 60% / 45% 58% 42% 55%;
        transform: rotate(-3deg) scale(0.98);
    }
}

@keyframes photoFloat {
    0%, 100% {
        transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
    }
    50% {
        transform: translate(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 14px));
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollDrop {
    0% { top: -14px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 44px; opacity: 0; }
}

/* ============================================================
   08 · DOODLES
   ============================================================ */
.doodle {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
}

.doodle path,
.doodle ellipse,
.doodle circle {
    transition: stroke-dashoffset 1.6s var(--e-out);
}

.doodle.animate path,
.doodle.animate ellipse,
.doodle.animate circle {
    stroke-dashoffset: 0 !important;
}

/* ============================================================
   09 · NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 20px 0;
    transition:
        padding 0.4s var(--e-out),
        background 0.4s var(--e-out),
        transform 0.4s var(--e-out),
        border-color 0.4s var(--e-out);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 11px 0;
    background: rgba(7, 8, 13, 0.75);
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    border-bottom-color: var(--line);
}

.nav-container {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variation-settings: 'opsz' 48;
    color: var(--ink);
    padding: 4px 0;
    flex-shrink: 0;
}

.nav-logo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    background: var(--lime);
    border-radius: var(--r-full);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s var(--e-out);
}

.nav-logo:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    background: rgba(17, 23, 32, 0.6);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-link {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-dim);
    padding: 9px 17px;
    border-radius: var(--r-full);
    white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link.active {
    color: var(--bg);
    background: var(--lime);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 8px 22px var(--purple-glow-hi);
    transition: transform var(--t);
    flex-shrink: 0;
}

.nav-toggle:hover {
    transform: scale(1.07);
}

.hamburger-line {
    display: block;
    width: 19px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s var(--e-spring), opacity 0.2s linear;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 880;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--e-out), visibility 0.45s var(--e-out);
}

.mobile-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 28%, var(--purple-glow-hi) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 74%, var(--lime-glow-hi) 0%, transparent 52%);
    opacity: 0.55;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    padding: 4px 0;
    transition: color var(--t), transform var(--t);
}

.mobile-link::before {
    content: '→';
    font-family: var(--font-sans);
    font-size: 0.38em;
    color: var(--lime);
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity var(--t), transform var(--t);
}

.mobile-link:hover,
.mobile-link:focus-visible {
    color: var(--lime);
}

.mobile-link:hover::before,
.mobile-link:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-footer {
    width: 100%;
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.mobile-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-social-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-dim);
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    transition: color var(--t), border-color var(--t), background var(--t);
}

.mobile-social-links a:hover {
    color: var(--bg);
    background: var(--lime);
    border-color: var(--lime);
}

/* ============================================================
   10 · BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 30px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: var(--r-full);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.35s var(--e-spring),
        background 0.3s var(--e-out),
        color 0.3s var(--e-out),
        border-color 0.3s var(--e-out),
        box-shadow 0.4s var(--e-out);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: width 0.6s var(--e-out), height 0.6s var(--e-out), opacity 0.4s var(--e-out);
}

.btn:hover::after {
    width: 320%;
    height: 320%;
    opacity: 0.1;
}

.btn-primary {
    background: var(--lime);
    color: var(--bg);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px var(--lime-glow-hi);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--line-3);
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.btn-ghost {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
}

.btn-ghost:hover {
    background: var(--surface-3);
    border-color: var(--line-3);
    color: var(--ink);
}

.btn-large {
    padding: 20px 44px;
    font-size: 0.88rem;
}

.btn-small {
    padding: 11px 21px;
    font-size: 0.72rem;
}

/* ============================================================
   11 · HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -12%;
    width: 880px;
    height: 880px;
    max-width: 110vw;
    background: radial-gradient(circle, var(--purple-glow-hi) 0%, transparent 62%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: heroAmbient 14s var(--e-in-out) infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -14%;
    width: 700px;
    height: 700px;
    max-width: 100vw;
    background: radial-gradient(circle, var(--lime-glow) 0%, transparent 62%);
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
    animation: heroAmbient 12s var(--e-in-out) infinite alternate-reverse;
}

/* Hero doodle placement */
.doodle-arrow-hero {
    top: 30%;
    left: 2%;
    animation: floatXY 9s ease-in-out infinite;
}

.doodle-star-hero {
    top: 16%;
    left: 46%;
    animation: wiggle 4.5s ease-in-out infinite;
}

.doodle-circle-hero {
    bottom: 20%;
    left: 6%;
    animation: floatY 7s ease-in-out infinite;
}

.doodle-scribble-hero {
    top: 13%;
    right: 4%;
    animation: floatXY 10s ease-in-out infinite reverse;
}

.hero-container {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-left {
    position: relative;
    z-index: 4;
    min-width: 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 26px;
    padding: 7px 15px 7px 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(200, 255, 0, 0.05);
    border: 1px solid rgba(200, 255, 0, 0.2);
    border-radius: var(--r-full);
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 8px var(--lime);
    animation: pulse 2s var(--e-in-out) infinite;
    flex-shrink: 0;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.hero-hey {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-hand);
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink-2);
    margin-left: 6px;
    margin-bottom: 8px;
    transform: rotate(-3deg);
}

.hero-im {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.3vw, 0.88rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 8px;
    padding-left: 5px;
}

.hero-brand {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 13vw, 10.5rem);
    font-weight: 800;
    line-height: 0.84;
    letter-spacing: -0.055em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    text-shadow: 0 0 90px rgba(123, 60, 255, 0.28);
    transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
    will-change: transform;
}

.hero-brand::after {
    content: '';
    position: absolute;
    left: -0.02em;
    right: -0.03em;
    bottom: 0.055em;
    height: 0.12em;
    background: var(--lime);
    border-radius: var(--r-full);
    transform: rotate(-1.5deg);
    z-index: -1;
    clip-path: polygon(
        0% 42%, 4% 26%, 11% 52%, 21% 31%, 31% 56%, 41% 36%,
        51% 46%, 61% 30%, 71% 52%, 81% 34%, 91% 46%, 100% 40%,
        100% 100%, 0% 100%
    );
}

.hero-brand::before {
    content: '';
    position: absolute;
    top: 0.02em;
    right: -0.12em;
    width: 0.13em;
    height: 0.13em;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 28px var(--purple-glow-hi);
    animation: pulse 3s var(--e-in-out) infinite;
}

.hero-name {
    position: relative;
    margin: 24px 0 26px;
    padding-left: 30px;
    font-family: var(--font-mono);
    font-size: clamp(0.74rem, 1.3vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.hero-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--lime);
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 13px;
    margin-bottom: 38px;
    padding-left: 5px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-2);
}

.hero-roles span:nth-child(1) { color: var(--lime); }
.hero-roles span:nth-child(5) { color: var(--purple-2); }

.role-dot {
    color: var(--ink-mute) !important;
    font-size: 0.38rem;
    line-height: 1;
    opacity: 0.75;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    padding-left: 5px;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.hero-scroll-hint span {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.scroll-line {
    position: relative;
    width: 1px;
    height: 44px;
    background: var(--line-3);
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    background: var(--lime);
    animation: scrollDrop 2.2s var(--e-in-out) infinite;
}

/* ============================================================
   12 · HERO PHOTO COMPOSITION
   ============================================================ */
.hero-right {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: clamp(460px, 56vw, 640px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Purple organic blob */
.hero-photo-blob {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
    margin-inline: auto;
    width: clamp(270px, 31vw, 430px);
    height: clamp(270px, 31vw, 430px);
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 32% 28%, var(--purple-2) 0%, var(--purple) 42%, var(--purple-dark) 78%, transparent 100%);
    border-radius: 62% 38% 55% 45% / 55% 45% 60% 40%;
    box-shadow:
        0 40px 110px rgba(123, 60, 255, 0.42),
        inset -22px -22px 70px rgba(0, 0, 0, 0.3);
    animation: blobMorph 18s var(--e-in-out) infinite;
    will-change: border-radius, transform;
}

/* Rotating dashed ring */
.hero-photo-ring {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9%;
    margin-inline: auto;
    width: clamp(320px, 37vw, 500px);
    height: clamp(320px, 37vw, 500px);
    z-index: 2;
    pointer-events: none;
    border: 2px dashed rgba(200, 255, 0, 0.45);
    border-radius: 50%;
    animation: spin 28s linear infinite;
}

/* Lime star sticker */
.hero-photo-star {
    position: absolute;
    top: 10%;
    right: 4%;
    z-index: 7;
    pointer-events: none;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1;
    color: var(--lime);
    text-shadow: 0 0 22px var(--lime-glow-hi);
    animation: wiggle 5s ease-in-out infinite;
}

/* THE REAL PHOTO — big & anchored */
.hero-photo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
    z-index: 5;
    height: clamp(430px, 54vw, 620px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter:
        drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55))
        drop-shadow(0 40px 62px rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 40px rgba(123, 60, 255, 0.22));
    animation: photoFloat 6.5s var(--e-in-out) infinite;
    will-change: transform;
    transition: filter 0.5s var(--e-out);
}

.hero-right:hover .hero-photo {
    filter:
        drop-shadow(0 22px 30px rgba(0, 0, 0, 0.6))
        drop-shadow(0 46px 72px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 52px rgba(200, 255, 0, 0.2));
}

/* Photo fallback */
.hero-photo-placeholder {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 400px);
    height: clamp(400px, 50vw, 560px);
    padding: 28px;
    text-align: center;
    background: rgba(13, 17, 24, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px dashed var(--line-3);
    border-radius: var(--r-2xl);
}

.hero-photo-placeholder-label {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-photo-placeholder-sub {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    opacity: 0.7;
    max-width: 220px;
    line-height: 1.7;
}

/* Handwritten annotation */
.hero-annotation {
    position: absolute;
    left: -2%;
    bottom: 12%;
    z-index: 8;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transform: rotate(-8deg);
    pointer-events: none;
}

.annotation-text {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: var(--lime);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* ============================================================
   12 · HERO PHOTO COMPOSITION — PREMIUM EDITION
   ============================================================ */
.hero-right {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: clamp(480px, 58vw, 660px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Purple organic blob */
.hero-photo-blob {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
    margin-inline: auto;
    width: clamp(270px, 31vw, 430px);
    height: clamp(270px, 31vw, 430px);
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 32% 28%, var(--purple-2) 0%, var(--purple) 42%, var(--purple-dark) 78%, transparent 100%);
    border-radius: 62% 38% 55% 45% / 55% 45% 60% 40%;
    box-shadow:
        0 40px 110px rgba(123, 60, 255, 0.42),
        inset -22px -22px 70px rgba(0, 0, 0, 0.3);
    animation: blobMorph 18s var(--e-in-out) infinite;
    will-change: border-radius, transform;
}

/* Rotating dashed ring — big */
.hero-photo-ring {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9%;
    margin-inline: auto;
    width: clamp(320px, 37vw, 500px);
    height: clamp(320px, 37vw, 500px);
    z-index: 2;
    pointer-events: none;
    border: 2px dashed rgba(200, 255, 0, 0.42);
    border-radius: 50%;
    animation: spin 28s linear infinite;
}

/* Secondary smaller ring — counter rotating */
.hero-photo-ring-2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14%;
    margin-inline: auto;
    width: clamp(260px, 28vw, 380px);
    height: clamp(260px, 28vw, 380px);
    z-index: 2;
    pointer-events: none;
    border: 1.5px dotted rgba(154, 107, 255, 0.35);
    border-radius: 50%;
    animation: spin 22s linear infinite reverse;
}

/* THE REAL PHOTO */
.hero-photo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
    z-index: 5;
    height: clamp(440px, 55vw, 640px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter:
        drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5))
        drop-shadow(0 40px 62px rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 40px rgba(123, 60, 255, 0.22));
    animation: photoFloat 6.5s var(--e-in-out) infinite;
    will-change: transform;
    transition: filter 0.5s var(--e-out);
}

.hero-right:hover .hero-photo {
    filter:
        drop-shadow(0 22px 30px rgba(0, 0, 0, 0.6))
        drop-shadow(0 46px 72px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 52px rgba(200, 255, 0, 0.2));
}

/* Photo fallback */
.hero-photo-placeholder {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 400px);
    height: clamp(400px, 50vw, 560px);
    padding: 28px;
    text-align: center;
    background: rgba(13, 17, 24, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px dashed var(--line-3);
    border-radius: var(--r-2xl);
}

.hero-photo-placeholder-label {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-photo-placeholder-sub {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    opacity: 0.7;
    max-width: 220px;
    line-height: 1.7;
}

/* ============================================================
   PREMIUM BOTTOM FADE — 3 LAYER CINEMATIC
   ============================================================ */

/* Layer 1: Glowing radial base (di belakang foto) */
.hero-photo-fade-glow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8%;
    margin-inline: auto;
    width: 85%;
    height: 260px;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 100% at 50% 100%, rgba(123, 60, 255, 0.45) 0%, transparent 65%),
        radial-gradient(ellipse 90% 80% at 50% 100%, rgba(200, 255, 0, 0.18) 0%, transparent 60%);
    filter: blur(35px);
    animation: fadeGlowPulse 6s var(--e-in-out) infinite;
}

@keyframes fadeGlowPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

/* Layer 2: Frosted blur overlay (nutupin kaki foto pakai backdrop-filter) */
.hero-photo-fade-blur {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    height: 26%;
    pointer-events: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0.55) 45%,
        #000 75%,
        #000 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0.55) 45%,
        #000 75%,
        #000 100%
    );
}

/* Layer 3: Dark gradient mask (biar melarut sempurna ke bg) */
.hero-photo-fade-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    height: 22%;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(7, 8, 13, 0.2) 25%,
        rgba(7, 8, 13, 0.55) 50%,
        rgba(7, 8, 13, 0.85) 75%,
        var(--bg) 100%
    );
}

/* Extra: colored accent light streaks at bottom */
.hero-photo-fade-mask::before {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(200, 255, 0, 0.6), transparent);
    filter: blur(2px);
    opacity: 0.7;
    border-radius: var(--r-full);
    animation: streakGlow 4s var(--e-in-out) infinite;
}

.hero-photo-fade-mask::after {
    content: '';
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(123, 60, 255, 0.8), transparent);
    filter: blur(3px);
    opacity: 0.8;
    border-radius: var(--r-full);
    animation: streakGlow 5s var(--e-in-out) infinite 1s;
}

@keyframes streakGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ============================================================
   HERO DOODLES — RICH COLLECTION
   ============================================================ */
.hero-doodle {
    position: absolute;
    z-index: 9;
    pointer-events: none;
}

/* 1. Big star sticker */
.hero-doodle-star {
    top: 10%;
    right: 4%;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1;
    color: var(--lime);
    text-shadow: 0 0 22px var(--lime-glow-hi);
    animation: wiggle 5s ease-in-out infinite;
}

/* 2. Big purple sparkle */
.hero-doodle-sparkle {
    top: 24%;
    left: 4%;
    animation: sparkleGlow 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(123, 60, 255, 0.7));
}

@keyframes sparkleGlow {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.65; transform: scale(1.2) rotate(15deg); }
}

/* 3. Small lime sparkle */
.hero-doodle-sparkle-sm {
    top: 8%;
    left: 30%;
    animation: sparkleGlow 2.2s ease-in-out infinite 0.5s;
    filter: drop-shadow(0 0 6px rgba(200, 255, 0, 0.8));
}

/* 4. Lime scribble */
.hero-doodle-scribble {
    bottom: 12%;
    left: -6%;
    animation: floatXY 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(200, 255, 0, 0.3));
}

.hero-doodle-scribble path {
    animation: drawStroke 2.5s var(--e-out) 0.6s forwards;
}

@keyframes drawStroke {
    to { stroke-dashoffset: 0; }
}

/* 5. Sticker note lime "creative dev" */
.hero-doodle-note-lime {
    top: 40%;
    right: -12%;
    transform: rotate(6deg);
    animation: floatY 5s ease-in-out infinite;
}

.hero-doodle-note-lime span {
    display: inline-block;
    padding: 7px 15px;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bg);
    background: var(--lime);
    border-radius: var(--r-full);
    box-shadow:
        0 8px 22px rgba(200, 255, 0, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    transform: rotate(-4deg);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
}

/* 6. Purple sticker note "16 y.o" */
.hero-doodle-note-purple {
    top: 55%;
    left: -10%;
    transform: rotate(-8deg);
    animation: floatY 6s ease-in-out infinite 1s;
}

.hero-doodle-note-purple span {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--purple);
    border-radius: var(--r-full);
    box-shadow:
        0 8px 22px rgba(123, 60, 255, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    transform: rotate(3deg);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

/* 7. Orange curly arrow */
.hero-doodle-curly {
    top: 4%;
    right: -8%;
    transform: rotate(15deg);
    animation: floatXY 9s ease-in-out infinite reverse;
    filter: drop-shadow(0 4px 10px rgba(255, 112, 67, 0.35));
}

.hero-doodle-curly path {
    animation: drawStroke 2s var(--e-out) 1s forwards;
}

/* 8. Blue plus */
.hero-doodle-plus {
    bottom: 32%;
    right: 3%;
    animation: spin 14s linear infinite;
    filter: drop-shadow(0 0 8px rgba(53, 168, 255, 0.6));
}

/* 9. Pink cascading dots */
.hero-doodle-dots {
    bottom: 18%;
    right: 6%;
    animation: floatY 4s ease-in-out infinite;
}

/* 10. Yellow lightning */
.hero-doodle-lightning {
    top: 34%;
    left: -8%;
    transform: rotate(-10deg);
    animation: wiggle 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 216, 61, 0.6));
}

/* 11. Purple zigzag */
.hero-doodle-zigzag {
    top: 20%;
    right: 8%;
    transform: rotate(-5deg);
    animation: floatXY 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(154, 107, 255, 0.4));
}

/* 12. Pink X */
.hero-doodle-x {
    top: 68%;
    right: -3%;
    animation: wiggle 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 79, 163, 0.5));
}

/* 13. Lime circle */
.hero-doodle-circle {
    bottom: 38%;
    left: 6%;
    animation: floatY 6.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(200, 255, 0, 0.4));
}

/* 14. Handwritten "hi ✋" */
.hero-doodle-hi {
    top: 12%;
    left: 42%;
    transform: rotate(-12deg);
    animation: floatY 5s ease-in-out infinite 0.5s;
}

.hero-doodle-hi span {
    display: inline-block;
    padding: 4px 10px;
    font-family: var(--font-hand);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    background: rgba(13, 17, 24, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 255, 0, 0.3);
    border-radius: var(--r-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Handwritten annotation (existing) */
.hero-annotation {
    position: absolute;
    left: -2%;
    bottom: 30%;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transform: rotate(-8deg);
    pointer-events: none;
}

.annotation-text {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--lime);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* ============================================================
   13 · MARQUEE
   ============================================================ */
.marquee-section {
    position: relative;
    z-index: 1;
    padding: 24px 0;
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 12vw, 150px);
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--surface-1), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--surface-1), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    white-space: nowrap;
}

.marquee-slash {
    color: var(--lime) !important;
    font-weight: 400 !important;
    font-size: 0.7em !important;
    opacity: 0.7;
}

/* ============================================================
   14 · SECTION HEADER
   ============================================================ */
.section-header {
    position: relative;
    max-width: 880px;
    margin-bottom: clamp(44px, 6.5vw, 76px);
}

.section-label {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-bottom: 22px;
    padding-left: 44px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 2px;
    background: var(--lime);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 5.8rem);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: -0.05em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.section-title span {
    display: block;
}

.section-subtitle {
    max-width: 560px;
    margin-top: 22px;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.75;
    color: var(--ink-dim);
}

/* ============================================================
   15 · INTRO
   ============================================================ */
.intro-section {
    position: relative;
    padding: clamp(90px, 13vw, 170px) 0 clamp(80px, 11vw, 140px);
}

.intro-content {
    position: relative;
    max-width: 1000px;
}

.intro-heading {
    margin-bottom: 40px;
}

.intro-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9.5vw, 7rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.intro-line:nth-child(2) {
    position: relative;
    color: var(--lime);
    padding-left: 0.42em;
}

.intro-line:nth-child(2)::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.36em;
    color: var(--purple-2);
    animation: spin 14s linear infinite;
    transform-origin: center;
}

.intro-line:nth-child(3) {
    padding-left: 0.84em;
    color: transparent;
    -webkit-text-stroke: 2px var(--purple-2);
    -webkit-text-fill-color: transparent;
}

.intro-text {
    max-width: 640px;
    padding-left: 0.42em;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.8;
    color: var(--ink-2);
}

.doodle-underline-intro {
    position: relative;
    margin-top: 18px;
    opacity: 0.65;
}

/* ============================================================
   16 · WORK / PROJECTS
   ============================================================ */
.work-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
}

.work-title span:nth-child(2) {
    position: relative;
    color: var(--purple-2);
    padding-left: 0.36em;
}

.work-title span:nth-child(2)::after {
    content: '';
    display: inline-block;
    width: 0.42em;
    height: 0.42em;
    margin-left: 0.18em;
    vertical-align: 0.16em;
    background: var(--lime);
    border-radius: 50%;
}

.doodle-star-work {
    top: 12px;
    right: 3%;
    animation: wiggle 5.5s ease-in-out infinite;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 26px;
}

.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(5) { grid-column: span 12; }

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    min-width: 0;
    transition:
        transform 0.55s var(--e-out),
        border-color 0.45s var(--e-out),
        box-shadow 0.5s var(--e-out);
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--line-3);
    box-shadow: var(--sh-lg);
}

.project-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    overflow: hidden;
}

.project-card:nth-child(1) .project-image-wrapper,
.project-card:nth-child(4) .project-image-wrapper,
.project-card:nth-child(5) .project-image-wrapper {
    aspect-ratio: 21 / 11;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--e-out), filter 0.6s var(--e-out);
}

.project-card:hover .project-image {
    transform: scale(1.06);
    filter: brightness(1.06);
}

.project-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 52%, rgba(7, 8, 13, 0.62) 100%);
    opacity: 0.7;
    transition: opacity var(--t);
}

.project-card:hover .project-image-wrapper::after {
    opacity: 1;
}

.project-live-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 4;
    padding: 6px 13px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--lime);
    background: rgba(7, 8, 13, 0.82);
    border: 1px solid rgba(200, 255, 0, 0.4);
    border-radius: var(--r-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background:
        radial-gradient(circle at 32% 28%, var(--purple-glow), transparent 62%),
        linear-gradient(135deg, var(--surface-2), var(--surface-3));
}

.placeholder-number {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--surface-4);
}

.placeholder-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.placeholder-tag {
    margin-top: 3px;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    opacity: 0.6;
}

.project-info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px 28px;
    background: var(--surface-1);
    border-top: 1px solid var(--line);
}

.project-meta {
    flex: 1;
    min-width: 0;
}

.project-number {
    margin-bottom: 11px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lime);
}

.project-title {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    transition: color var(--t), transform var(--t);
}

.project-card:hover .project-title {
    color: var(--lime);
    transform: translateX(4px);
}

.project-category {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
}

.project-year {
    margin-top: 5px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
}

.project-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--ink);
    border: 1.5px solid var(--line-3);
    border-radius: 50%;
    transition: all 0.5s var(--e-spring);
}

.project-card:hover .project-arrow {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--bg);
    transform: translate(5px, -5px) rotate(-8deg);
    box-shadow: 0 10px 24px var(--lime-glow-hi);
}

/* ============================================================
   17 · FEATURED LIVE PROJECT
   ============================================================ */
.featured-section {
    padding: 0 0 clamp(90px, 13vw, 155px);
}

.featured-wrapper {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.featured-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime) 16%, var(--purple) 50%, var(--blue) 84%, transparent);
    opacity: 0.65;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 26px 30px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lime);
}

.featured-label .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 12px var(--lime);
    animation: pulse 2s var(--e-in-out) infinite;
}

.featured-browser {
    margin: 0 30px 30px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.featured-browser-bar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 18px;
    background: var(--surface-3);
    border-bottom: 1px solid var(--line);
}

.browser-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.featured-url {
    flex: 1;
    min-width: 0;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: var(--ink-dim);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-live-badge {
    flex-shrink: 0;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(200, 255, 0, 0.08);
    border: 1px solid rgba(200, 255, 0, 0.24);
    border-radius: var(--r-full);
}

.featured-iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
    overflow: hidden;
}

.featured-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 70px 24px;
    text-align: center;
}

.featured-fallback-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.featured-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 26px 30px;
    border-top: 1px solid var(--line);
}

.featured-title-block {
    flex: 1;
    min-width: 240px;
}

.featured-project-title {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.8vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.featured-project-cat {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* ============================================================
   18 · ABOUT
   ============================================================ */
.about-section {
    position: relative;
    padding: clamp(90px, 13vw, 170px) 0;
}

.doodle-loop-about {
    top: 90px;
    right: 5%;
    animation: floatXY 9s ease-in-out infinite;
}

.about-title span:nth-child(2) {
    position: relative;
    color: var(--lime);
    padding-left: 0.3em;
}

.about-title span:nth-child(2)::after {
    content: '';
    display: inline-block;
    width: 0.36em;
    height: 0.36em;
    margin-left: 0.18em;
    vertical-align: 0.2em;
    background: var(--purple);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(38px, 6vw, 86px);
    align-items: start;
}

.about-image-col {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    transform: rotate(-1.6deg);
    transition: transform 0.6s var(--e-out);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 18%, var(--purple-glow), transparent 62%),
        linear-gradient(180deg, transparent 55%, rgba(7, 8, 13, 0.5) 100%);
}

.about-image-wrapper:hover {
    transform: rotate(0deg);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--e-out);
}

.about-image-wrapper:hover .about-photo {
    transform: scale(1.05);
}

.about-photo-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--surface-1), var(--surface-3));
}

.about-photo-placeholder .placeholder-label {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink-mute);
    opacity: 0.5;
    text-transform: none;
}

.about-image-accent {
    position: absolute;
    right: -13px;
    bottom: -13px;
    width: 100%;
    height: 100%;
    z-index: -1;
    border: 2px dashed rgba(200, 255, 0, 0.45);
    border-radius: var(--r-xl);
    transform: rotate(3deg);
}

.about-annotation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
    padding-right: 14px;
}

.about-annotation .annotation-text {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--orange);
    transform: rotate(-4deg);
    text-shadow: none;
}

.about-text-col {
    padding-top: 14px;
    min-width: 0;
}

.about-bio {
    max-width: 620px;
    margin-bottom: 46px;
}

.about-bio p {
    margin-bottom: 20px;
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.88;
    color: var(--ink-2);
}

.about-bio p:last-child {
    margin-bottom: 0;
}

.about-bio p:first-child::first-letter {
    float: left;
    margin-right: 13px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.05em;
    font-variation-settings: 'opsz' 96;
    color: var(--lime);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-card {
    position: relative;
    padding: 24px 18px;
    border-right: 1px solid var(--line);
    transition: background var(--t);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card:hover {
    background: var(--surface-1);
}

.stat-value {
    margin-bottom: 9px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.stat-value.accent-purple { color: var(--purple-2); }
.stat-value.accent-lime { color: var(--lime); }
.stat-value.accent-blue { color: var(--blue); }
.stat-value.accent-orange { color: var(--orange); }

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* ============================================================
   19 · INTERESTS
   ============================================================ */
.interests-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.interests-wall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px 14px;
}

.interest-tag {
    padding: 10px 24px;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.035em;
    font-variation-settings: 'opsz' 96;
    white-space: nowrap;
    border-radius: var(--r-full);
    cursor: default;
    transition: all 0.4s var(--e-spring);
}

.interest-tag.filled {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink);
}

.interest-tag.filled:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
    transform: translateY(-3px);
}

.interest-tag.outlined {
    background: transparent;
    border: 1.5px solid var(--line-3);
    color: var(--ink-2);
}

.interest-tag.accent-purple { border-color: rgba(154, 107, 255, 0.5); color: var(--purple-2); }
.interest-tag.accent-lime   { border-color: rgba(200, 255, 0, 0.42); color: var(--lime); }
.interest-tag.accent-blue   { border-color: rgba(53, 168, 255, 0.42); color: var(--blue); }
.interest-tag.accent-orange { border-color: rgba(255, 112, 67, 0.42); color: var(--orange); }
.interest-tag.accent-pink   { border-color: rgba(255, 79, 163, 0.42); color: var(--pink); }

.interest-tag.accent-purple:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    transform: translateY(-3px) rotate(-1.5deg);
    box-shadow: 0 12px 30px var(--purple-glow-hi);
}

.interest-tag.accent-lime:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--bg);
    transform: translateY(-3px) rotate(1.5deg);
    box-shadow: 0 12px 30px var(--lime-glow-hi);
}

.interest-tag.accent-blue:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--bg);
    transform: translateY(-3px);
}

.interest-tag.accent-orange:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--bg);
    transform: translateY(-3px) rotate(-1.5deg);
}

.interest-tag.accent-pink:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================================
   20 · SKILLS
   ============================================================ */
.skills-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
}

.doodle-zigzag-skills {
    top: 70px;
    right: 4%;
    animation: floatXY 7.5s ease-in-out infinite;
}

.skills-wall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 14px;
}

.skill-item {
    position: relative;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    font-variation-settings: 'opsz' 96;
    white-space: nowrap;
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-md);
    cursor: default;
    transition: all 0.4s var(--e-spring);
}

.skill-item.size-lg {
    padding: 17px 34px;
    font-size: clamp(1.4rem, 3.2vw, 2.5rem);
    background: var(--surface-1);
    border-color: var(--line-3);
}

.skill-item.size-md {
    padding: 15px 28px;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.skill-item.size-sm {
    padding: 12px 22px;
    font-size: clamp(0.9rem, 1.3vw, 1.12rem);
    color: var(--ink-2);
}

.skill-item:hover {
    color: var(--lime);
    border-color: var(--lime);
    background: rgba(200, 255, 0, 0.04);
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 12px 30px var(--lime-glow);
}

.skill-item.size-lg:hover {
    background: var(--lime);
    color: var(--bg);
    border-color: var(--lime);
    transform: translateY(-4px) rotate(-1.5deg);
    box-shadow: 0 16px 38px var(--lime-glow-hi);
}

.skill-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background: var(--purple);
    border-radius: var(--r-full);
    box-shadow: 0 4px 12px var(--purple-glow-hi);
}

/* ============================================================
   21 · PERSONAL
   ============================================================ */
.personal-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.personal-title span:nth-child(2) {
    position: relative;
    color: var(--pink);
    padding-left: 0.3em;
}

.personal-title span:nth-child(2)::after {
    content: '';
    display: inline-block;
    width: 0.36em;
    height: 0.36em;
    margin-left: 0.18em;
    vertical-align: 0.2em;
    background: var(--lime);
    border-radius: 50%;
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 15px;
}

.personal-card {
    position: relative;
    padding: 28px 20px;
    text-align: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all 0.4s var(--e-spring);
}

.personal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 28%, var(--pink-glow), transparent 70%);
    opacity: 0;
    transition: opacity var(--t);
}

.personal-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    border-color: var(--line-3);
    box-shadow: var(--sh-md);
}

.personal-card:hover::before {
    opacity: 1;
}

/* Replace .personal-emoji rule with .personal-mono */
.personal-mono {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 62px;
    margin-bottom: 16px;
    padding: 0 14px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
    background: var(--surface-3);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    transition: all 0.4s var(--e-spring);
}

.personal-card:hover .personal-mono {
    transform: scale(1.08) rotate(-4deg);
    border-color: currentColor;
}

/* Colored monogram per accent */
.personal-card.accent-lime .personal-mono {
    color: var(--lime);
    background: rgba(200, 255, 0, 0.06);
    border-color: rgba(200, 255, 0, 0.25);
}

.personal-card.accent-purple .personal-mono {
    color: var(--purple-2);
    background: rgba(154, 107, 255, 0.08);
    border-color: rgba(154, 107, 255, 0.28);
}

.personal-card.accent-blue .personal-mono {
    color: var(--blue);
    background: rgba(53, 168, 255, 0.08);
    border-color: rgba(53, 168, 255, 0.28);
}

.personal-card.accent-orange .personal-mono {
    color: var(--orange);
    background: rgba(255, 112, 67, 0.08);
    border-color: rgba(255, 112, 67, 0.28);
}

.personal-card.accent-pink .personal-mono {
    color: var(--pink);
    background: rgba(255, 79, 163, 0.08);
    border-color: rgba(255, 79, 163, 0.28);
}

/* Card hover accent glow per color */
.personal-card.accent-lime::before   { background: radial-gradient(circle at 50% 28%, var(--lime-glow), transparent 70%); }
.personal-card.accent-purple::before { background: radial-gradient(circle at 50% 28%, var(--purple-glow), transparent 70%); }
.personal-card.accent-blue::before   { background: radial-gradient(circle at 50% 28%, var(--blue-glow), transparent 70%); }
.personal-card.accent-orange::before { background: radial-gradient(circle at 50% 28%, var(--orange-glow), transparent 70%); }
.personal-card.accent-pink::before   { background: radial-gradient(circle at 50% 28%, var(--pink-glow), transparent 70%); }

/* Existing .personal-name & .personal-type stay the same */

.personal-card:hover .personal-emoji {
    transform: scale(1.22) rotate(-8deg);
}

.personal-name {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-variation-settings: 'opsz' 48;
    color: var(--ink);
}

.personal-type {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* ============================================================
   22 · DIRECTION / JOURNEY
   ============================================================ */
.direction-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
}

.doodle-spiral-direction {
    top: 60px;
    left: 4%;
    animation: floatXY 9.5s ease-in-out infinite;
}

.direction-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    margin: 0 auto 62px;
}

.direction-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 0;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 13px;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: all 0.4s var(--e-spring);
}

.direction-step:hover .step-icon {
    transform: scale(1.08);
    border-color: var(--line-3);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.step-desc {
    margin-top: 4px;
    font-size: 0.84rem;
    color: var(--ink-dim);
}

.direction-arrow {
    margin: 6px 0;
    opacity: 0.55;
}

.direction-current .step-icon {
    background: rgba(200, 255, 0, 0.06);
    border-color: var(--lime);
    box-shadow: 0 0 28px var(--lime-glow-hi);
}

.direction-current .step-title {
    color: var(--lime);
}

.direction-quote {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 44px 28px;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.direction-quote::before {
    content: '"';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    font-variation-settings: 'opsz' 96;
    color: var(--purple-2);
    background: var(--bg);
}

.direction-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.9vw, 1.32rem);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.02em;
    font-variation-settings: 'opsz' 24;
    color: var(--ink-2);
}

/* ============================================================
   23 · LOCATION MAP
   ============================================================ */
.location-section {
    position: relative;
    padding: clamp(90px, 13vw, 155px) 0;
}

.location-title span:nth-child(2) {
    color: var(--lime);
    padding-left: 0.28em;
}

.location-card {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime) 20%, var(--blue) 52%, var(--purple) 82%, transparent);
    opacity: 0.6;
}

.location-map-wrapper {
    width: 100%;
}

.location-map-browser {
    width: 100%;
    overflow: hidden;
}

.location-map-bar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 20px;
    background: var(--surface-3);
    border-bottom: 1px solid var(--line);
}

.location-map-url {
    flex: 1;
    min-width: 0;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-dim);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(200, 255, 0, 0.08);
    border: 1px solid rgba(200, 255, 0, 0.24);
    border-radius: var(--r-full);
}

.location-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 8px var(--lime);
    animation: pulse 2s var(--e-in-out) infinite;
}

.location-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    background: var(--surface-2);
    overflow: hidden;
}

.location-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.65) brightness(0.68) contrast(1.16);
    transition: filter 0.6s var(--e-out);
}

.location-card:hover .location-map-iframe {
    filter: grayscale(0.15) brightness(0.85) contrast(1.05);
}

.location-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 50px 24px;
    text-align: center;
}

.location-map-placeholder-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink-dim);
}

.location-map-placeholder-hint {
    max-width: 320px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    line-height: 1.7;
    color: var(--ink-mute);
}

.location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 26px 30px;
    border-top: 1px solid var(--line);
}

.location-details {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
}

.location-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.location-detail-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.location-detail-value {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.location-maps-btn {
    flex-shrink: 0;
}

/* ============================================================
   24 · CTA
   ============================================================ */
.cta-section {
    position: relative;
    padding: clamp(120px, 17vw, 210px) 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 880px;
    height: 880px;
    max-width: 130vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--purple-glow-hi) 0%, transparent 56%);
    filter: blur(60px);
    pointer-events: none;
}

.doodle-lightning-cta {
    top: 14%;
    left: 7%;
    animation: wiggle 4.5s ease-in-out infinite;
}

.doodle-stars-cta {
    bottom: 17%;
    right: 8%;
    animation: floatY 5.5s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-heading {
    margin-bottom: 28px;
}

.cta-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.055em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.cta-accent {
    color: var(--lime);
}

.cta-text {
    max-width: 520px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
    color: var(--ink-dim);
}

.cta-buttons {
    margin-bottom: 36px;
}

.cta-annotation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.75;
}

.cta-annotation .annotation-text {
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--lime);
    transform: rotate(-2deg);
    text-shadow: none;
}

/* ============================================================
   25 · CONTACT
   ============================================================ */
.contact-section {
    padding: clamp(90px, 13vw, 155px) 0;
    background: var(--surface-1);
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 34px 28px;
    border-right: 1px solid var(--line);
    overflow: hidden;
}

.contact-card:last-child {
    border-right: 0;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--lime);
    transition: height 0.5s var(--e-out);
    z-index: 0;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-card > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--e-out);
}

.contact-card:hover .contact-handle,
.contact-card:hover .contact-external {
    color: var(--bg);
}

.contact-card:hover .contact-platform {
    color: rgba(7, 8, 13, 0.65);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    border-radius: var(--r-md);
    transition: transform 0.4s var(--e-spring);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(-6deg);
}

.contact-icon.ig {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.contact-icon.tt,
.contact-icon.gh {
    background: var(--ink);
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-platform {
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.contact-handle {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variation-settings: 'opsz' 48;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-external {
    flex-shrink: 0;
    font-size: 1.05rem;
    color: var(--ink-dim);
    transition: transform 0.4s var(--e-spring), color 0.4s var(--e-out);
}

.contact-card:hover .contact-external {
    transform: translate(5px, -5px);
}

/* ============================================================
   26 · FOOTER
   ============================================================ */
.footer {
    padding: 56px 0 48px;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.footer-brand::after {
    content: '.';
    color: var(--lime);
}

.footer-credit {
    font-size: 0.86rem;
    color: var(--ink-dim);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin: 8px 0;
}

.footer-social a {
    padding: 9px 18px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    transition: all var(--t);
}

.footer-social a:hover {
    color: var(--bg);
    background: var(--lime);
    border-color: var(--lime);
    transform: translateY(-2px);
}

.footer-copy {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    opacity: 0.75;
}

/* ============================================================
   27 · PROJECT MODAL
   ============================================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--e-out), visibility 0.4s var(--e-out);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 13, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.modal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1020px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2xl);
    box-shadow: var(--sh-xl);
    transform: translateY(22px) scale(0.96);
    transition: transform 0.5s var(--e-out);
}

.project-modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: all 0.4s var(--e-spring);
}

.modal-close:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--bg);
    transform: rotate(90deg);
}

.modal-content {
    padding: 38px;
}

.modal-project-header {
    margin-bottom: 30px;
    padding-right: 50px;
}

.modal-project-number {
    margin-bottom: 11px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lime);
}

.modal-project-title {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    font-variation-settings: 'opsz' 96;
    color: var(--ink);
}

.modal-project-cat {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.modal-browser {
    margin-bottom: 28px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.modal-browser-bar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 17px;
    background: var(--surface-3);
    border-bottom: 1px solid var(--line);
}

.modal-browser-bar .dot {
    width: 10px;
    height: 10px;
}

.modal-url {
    flex: 1;
    min-width: 0;
    padding: 4px 11px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-dim);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-iframe-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 56px 24px;
    text-align: center;
}

.modal-fallback-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--r-sm);
}

.modal-fallback-text {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* ============================================================
   28 · RESPONSIVE
   ============================================================ */

/* ---------- ≤ 1440px ---------- */
@media (max-width: 1440px) {
    :root { --wrap: 1280px; }
}

/* ---------- ≤ 1280px ---------- */
@media (max-width: 1280px) {
    :root { --wrap: 1160px; }

    .hero-container { gap: 32px; }
    .about-grid { gap: 54px; }
    .doodle-star-hero { left: 50%; }
}

/* ---------- ≤ 1100px ---------- */
@media (max-width: 1100px) {
    .hero-container { grid-template-columns: 1fr 0.9fr; }
    .hero-annotation { left: -4%; }
}

/* ---------- ≤ 1024px (tablet) ---------- */
@media (max-width: 1024px) {
    .nav-menu { gap: 2px; padding: 4px; }
    .nav-link { padding: 8px 13px; font-size: 0.7rem; }

    .hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 44px;
        justify-items: center;
        text-align: left;
    }

    .hero-left { width: 100%; }

    .hero-right {
        width: 100%;
        max-width: 520px;
        min-height: 540px;
    }

    .hero-photo { height: clamp(420px, 62vw, 540px); }
    .hero-photo-blob { width: clamp(280px, 46vw, 380px); height: clamp(280px, 46vw, 380px); }
    .hero-photo-ring { width: clamp(330px, 55vw, 440px); height: clamp(330px, 55vw, 440px); }

    .doodle-star-hero { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 52px; }
    .about-image-col { max-width: 380px; margin-inline: auto; }
    .about-image-wrapper { aspect-ratio: 1 / 1; }
    .about-text-col { padding-top: 0; }

    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4) { grid-column: span 1; }
    .project-card:nth-child(5) { grid-column: span 2; }
    .project-card:nth-child(1) .project-image-wrapper,
    .project-card:nth-child(4) .project-image-wrapper { aspect-ratio: 16 / 10; }

    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2) { border-right: 0; }
    .stat-card:nth-child(1),
    .stat-card:nth-child(2) { border-bottom: 1px solid var(--line); }
    .stat-card:nth-child(4) { border-right: 0; }
}

/* ---------- ≤ 768px (mobile) ---------- */
@media (max-width: 768px) {
    :root { --pad: 20px; }

    .nav-menu { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 128px 0 80px; }

    .hero-right {
        max-width: 100%;
        min-height: 470px;
    }

    .hero-photo { height: clamp(380px, 78vw, 470px); }
    .hero-photo-blob {
        width: clamp(250px, 62vw, 330px);
        height: clamp(250px, 62vw, 330px);
        bottom: 4%;
    }
    .hero-photo-ring {
        width: clamp(290px, 72vw, 380px);
        height: clamp(290px, 72vw, 380px);
        bottom: 7%;
    }
    .hero-photo-star { top: 4%; right: 6%; font-size: 1.7rem; }
    .hero-photo-placeholder { height: 420px; }

    .hero-annotation { left: 2%; bottom: 6%; }
    .annotation-text { font-size: 1.15rem; }

    .hero-name { padding-left: 0; }
    .hero-name::before { display: none; }
    .hero-roles,
    .hero-cta { padding-left: 0; }

    .hero-scroll-hint { display: none; }

    /* Hide heavy doodles */
    .doodle-arrow-hero,
    .doodle-circle-hero,
    .doodle-scribble-hero,
    .doodle-loop-about,
    .doodle-zigzag-skills,
    .doodle-spiral-direction { display: none; }

    .doodle-star-work { top: 8px; right: 2%; transform: scale(0.72); }
    .doodle-lightning-cta { left: 3%; transform: scale(0.75); }
    .doodle-stars-cta { right: 4%; transform: scale(0.75); }

    /* Section spacing */
    .intro-section,
    .work-section,
    .about-section,
    .interests-section,
    .skills-section,
    .personal-section,
    .direction-section,
    .location-section,
    .contact-section { padding: 84px 0; }

    .cta-section { padding: 104px 0; }
    .section-header { margin-bottom: 40px; }
    .section-label { padding-left: 36px; }
    .section-label::before { width: 24px; }

    /* Projects single column */
    .projects-grid { grid-template-columns: 1fr; }
    .project-card:nth-child(n) { grid-column: span 1 !important; }
    .project-card:nth-child(n) .project-image-wrapper { aspect-ratio: 16 / 10; }
    .project-info { padding: 22px 22px 24px; }
    .project-arrow { width: 42px; height: 42px; }

    /* Featured */
    .featured-label { padding: 22px 20px; }
    .featured-browser { margin: 0 16px 16px; }
    .featured-info { padding: 20px; flex-direction: column; align-items: flex-start; }
    .featured-url { font-size: 0.62rem; }

    /* About */
    .about-image-col { max-width: 300px; }
    .about-image-wrapper { transform: none; }
    .about-image-accent { display: none; }
    .about-bio p:first-child::first-letter { font-size: 3.4rem; margin-top: 5px; }
    .about-bio { margin-bottom: 38px; }

    /* Personal */
    .personal-grid { grid-template-columns: repeat(2, 1fr); }

    /* Direction */
    .direction-quote { padding: 38px 20px; }
    .direction-quote::before { font-size: 3.8rem; top: -24px; }

    /* Location */
    .location-map-frame { aspect-ratio: 4 / 3; }
    .location-map-bar { padding: 13px 16px; }
    .location-map-url { font-size: 0.62rem; }
    .location-info { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
    .location-details { gap: 20px; }
    .location-maps-btn { width: 100%; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .contact-card:last-child { border-bottom: 0; }

    .cta-annotation { display: none; }

    /* Modal */
    .project-modal { padding: 14px; }
    .modal-container { max-height: 94vh; border-radius: var(--r-xl); }
    .modal-content { padding: 24px 20px; }
    .modal-close { top: 13px; right: 13px; width: 38px; height: 38px; font-size: 1.3rem; }
    .modal-project-header { padding-right: 44px; }

    .intro-line:nth-child(3) { -webkit-text-stroke-width: 1.5px; }

    /* ... rules yang sudah ada tetap ... */

    /* Premium fade responsive */
    .hero-photo-fade-glow { height: 200px; bottom: -6%; }
    .hero-photo-fade-blur { height: 22%; backdrop-filter: blur(10px); }
    .hero-photo-fade-mask { height: 20%; }

    /* Second ring hide di mobile biar bersih */
    .hero-photo-ring-2 { display: none; }

    /* Sembunyikan doodle yg terlalu ramai */
    .hero-doodle-curly,
    .hero-doodle-plus,
    .hero-doodle-zigzag,
    .hero-doodle-x,
    .hero-doodle-circle,
    .hero-doodle-sparkle-sm,
    .hero-doodle-hi { display: none; }

    /* Adjust doodle yg tetap show */
    .hero-doodle-star { top: 6%; right: 5%; font-size: 1.8rem; }

    .hero-doodle-sparkle {
        top: 16%;
        left: 3%;
        transform: scale(0.75);
    }

    .hero-doodle-scribble {
        bottom: 18%;
        left: -3%;
        transform: scale(0.75);
    }

    .hero-doodle-note-lime {
        top: 32%;
        right: -2%;
    }

    .hero-doodle-note-lime span {
        font-size: 0.98rem;
        padding: 5px 12px;
    }

    .hero-doodle-note-purple {
        top: 55%;
        left: -2%;
    }

    .hero-doodle-note-purple span {
        font-size: 0.92rem;
        padding: 5px 11px;
    }

    .hero-doodle-lightning {
        top: 42%;
        left: -2%;
        transform: rotate(-10deg) scale(0.75);
    }

    .hero-doodle-dots {
        bottom: 22%;
        right: 4%;
        transform: scale(0.85);
    }

    .hero-annotation {
        bottom: 12%;
        left: 2%;
    }
    .annotation-text { font-size: 1.15rem; }
}

/* ---------- ≤ 600px ---------- */
@media (max-width: 600px) {
    .hero-right { min-height: 430px; }
    .hero-photo { height: clamp(350px, 84vw, 430px); }
    .interest-tag { padding: 9px 20px; }
    .skill-item { padding: 12px 22px; }
    .skill-item.size-lg { padding: 15px 26px; }
}

/* ---------- ≤ 480px ---------- */
@media (max-width: 480px) {
    .hero { padding: 118px 0 70px; }

    .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
    .hero-cta .btn { width: 100%; }

    .hero-roles { flex-direction: column; align-items: flex-start; gap: 6px; }
    .role-dot { display: none; }

    .hero-right { min-height: 390px; }
    .hero-photo { height: clamp(320px, 88vw, 390px); }
    .hero-photo-blob { width: 250px; height: 250px; }
    .hero-photo-ring { width: 290px; height: 290px; }
    .hero-photo-star { font-size: 1.5rem; }
    .hero-photo-placeholder { height: 360px; width: min(100%, 300px); }

    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 19px 13px; }
    .stat-card:nth-child(1),
    .stat-card:nth-child(3) { border-right: 1px solid var(--line); }
    .stat-card:nth-child(2),
    .stat-card:nth-child(4) { border-right: 0; }
    .stat-card:nth-child(1),
    .stat-card:nth-child(2) { border-bottom: 1px solid var(--line); }

    .direction-quote blockquote { font-size: 1rem; }
    .step-icon { width: 62px; height: 62px; }
    .step-title { font-size: 1.18rem; }

    .contact-card { padding: 26px 20px; }
    .contact-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .contact-handle { font-size: 1.15rem; }

    .footer-social a { padding: 8px 14px; font-size: 0.66rem; }
    .footer-brand { font-size: 1.5rem; }

    .location-map-frame { aspect-ratio: 1 / 1; }
    .location-details { flex-direction: column; gap: 16px; }

    .modal-actions .btn { flex: 1 1 auto; }
}

/* ---------- ≤ 380px ---------- */
@media (max-width: 380px) {
    .hero-brand { font-size: 3.2rem; }
    .hero-hey { font-size: 1.7rem; }
    .hero-right { min-height: 350px; }
    .hero-photo { height: 350px; }
    .hero-photo-blob { width: 220px; height: 220px; }
    .hero-photo-ring { width: 260px; height: 260px; }

    .personal-grid { gap: 10px; }
    .personal-card { padding: 22px 12px; }
    .personal-emoji { font-size: 1.9rem; }
    .personal-name { font-size: 0.9rem; }

    .intro-line { font-size: 2.4rem; }
    .cta-line { font-size: 2.5rem; }
    .section-title { font-size: 2.3rem; }
    .interest-tag { font-size: 1rem; padding: 8px 17px; }
}

/* ---------- ≤ 340px ---------- */
@media (max-width: 340px) {
    :root { --pad: 16px; }
    .hero-brand { font-size: 2.8rem; }
    .nav-logo { font-size: 1.15rem; }
    .btn { padding: 13px 22px; font-size: 0.72rem; }
}

/* ============================================================
   29 · ACCESSIBILITY / PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.12s !important;
    }

    html { scroll-behavior: auto; }

    .grain-overlay,
    .marquee-track,
    .hero::before,
    .hero::after,
    .hero-photo,
    .hero-photo-blob,
    .hero-photo-ring,
    .hero-photo-star,
    .hero-brand::before,
    .scroll-line::after,
    .doodle,
    .intro-line:nth-child(2)::before {
        animation: none !important;
    }

    .reveal-up {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-photo,
    .hero-brand,
    .about-image-wrapper,
    .modal-container {
        transform: none !important;
    }

@media (prefers-reduced-motion: reduce) {
    /* ... rules yang sudah ada tetap ... */
    
    .hero-photo-fade-glow,
    .hero-photo-fade-mask::before,
    .hero-photo-fade-mask::after,
    .hero-photo-ring-2,
    .hero-doodle,
    .hero-doodle-star,
    .hero-doodle-sparkle,
    .hero-doodle-sparkle-sm,
    .hero-doodle-scribble,
    .hero-doodle-note-lime,
    .hero-doodle-note-purple,
    .hero-doodle-curly,
    .hero-doodle-plus,
    .hero-doodle-dots,
    .hero-doodle-lightning,
    .hero-doodle-zigzag,
    .hero-doodle-x,
    .hero-doodle-circle,
    .hero-doodle-hi {
        animation: none !important;
    }
}
}

@media (prefers-contrast: more) {
    :root {
        --line: rgba(255, 255, 255, 0.2);
        --line-2: rgba(255, 255, 255, 0.3);
        --line-3: rgba(255, 255, 255, 0.42);
        --ink-dim: #B6BCC6;
        --ink-mute: #8A90A0;
    }
    .grain-overlay { display: none; }
}

@media print {
    body::before,
    .grain-overlay,
    .page-loader,
    .marquee-section,
    .doodle,
    .hero-scroll-hint,
    .nav-toggle,
    .mobile-overlay,
    .project-modal,
    .hero-photo-blob,
    .hero-photo-ring,
    .hero-photo-star {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .navbar {
        position: static;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .section-title,
    .hero-brand,
    .intro-line,
    .cta-line {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        -webkit-text-stroke: 0 !important;
    }
}