* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --card: #0a0a0a;
    --border: #151515;
    --border-hover: #252525;
    --text: #999;
    --text-dim: #555;
    --white: #d4d4d4;
    --accent: #4a7ab5;
    --accent-glow: rgba(74, 122, 181, 0.15);
    --font-body: 'Special Elite', cursive;
    --font-display: 'Rock Salt', cursive;
    --font-mono: 'VT323', monospace;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #222 #050505;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
    cursor: none;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-piano {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 24px;
}

.loader-key {
    width: 12px;
    height: 48px;
    background: var(--white);
    border-radius: 0 0 3px 3px;
    animation: loader-press 1.4s ease-in-out infinite;
}

.lk-1 { animation-delay: 0s; }
.lk-2 { animation-delay: 0.1s; }
.lk-3 { animation-delay: 0.2s; }
.lk-4 { animation-delay: 0.3s; }
.lk-5 { animation-delay: 0.4s; }
.lk-6 { animation-delay: 0.5s; }
.lk-7 { animation-delay: 0.6s; }

@keyframes loader-press {
    0%, 100% { transform: scaleY(1); opacity: 0.3; }
    50% { transform: scaleY(0.6); opacity: 1; }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--text-dim);
    text-transform: uppercase;
    animation: loader-blink 1s ease-in-out infinite;
}

@keyframes loader-blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor.hovering {
    transform: translate(-50%, -50%) scale(1.8);
    border-color: var(--accent);
    background: var(--accent-glow);
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(212, 212, 212, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transition: transform 0.08s ease;
    transform: translate(-50%, -50%);
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    animation: grain-shift 0.3s steps(6) infinite;
}

.grain::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98%,
        rgba(255, 255, 255, 0.01) 98%,
        rgba(255, 255, 255, 0.01) 100%
    );
    background-size: 200px 100%;
    animation: scratch-flicker 0.15s steps(2) infinite;
}

@keyframes scratch-flicker {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, -2px); }
    100% { transform: translate(2px, 2px); }
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--white);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%) brightness(0.25) contrast(1.3);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(5,5,5,0.3) 0%, transparent 30%, transparent 70%, rgba(5,5,5,0.8) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(5,5,5,0.4) 100%);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    animation: vhs-line 6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes vhs-line {
    0% { top: -5%; }
    100% { top: 105%; }
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        transparent 48%,
        rgba(255, 255, 255, 0.015) 49%,
        rgba(255, 255, 255, 0.015) 51%,
        transparent 52%,
        transparent 100%
    );
    animation: vhs-sweep 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes vhs-sweep {
    0% { transform: translateY(-200%); }
    100% { transform: translateY(200%); }
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 24px;
    min-height: 20px;
}

.hero-tag .typed-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--text-dim);
    margin-left: 2px;
    animation: cursor-blink 0.8s step-end infinite;
    vertical-align: middle;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
    animation: fade-in 2s ease-out 0.4s forwards;
    opacity: 0;
}

.divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--text-dim);
}

.divider-x {
    color: var(--text-dim);
    font-size: 10px;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 20px);
    color: var(--text-dim);
    letter-spacing: 2px;
    animation: fade-in 2s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-arrow {
    display: inline-block;
    margin-top: 48px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 20px;
    animation: fade-in 2s ease-out 0.8s forwards, float 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.hero-side-text {
    position: absolute;
    bottom: 32px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-dim);
    opacity: 0.3;
    z-index: 2;
}

.hero-side-text.left {
    left: 32px;
    writing-mode: vertical-lr;
}

.hero-side-text.right {
    right: 32px;
    writing-mode: vertical-rl;
}

.hero-scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 3;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
}

.hero-floating-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-float {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    animation: float-in 1.5s ease-out forwards;
    pointer-events: auto;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
    cursor: grab;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-float:hover {
    z-index: 10;
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 8px 50px rgba(0,0,0,0.7);
}

.hero-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.3) contrast(1.2) sepia(10%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.hero-float:hover img {
    filter: grayscale(40%) brightness(0.45) contrast(1.15) sepia(5%);
    transform: scale(1.08);
}

.hf-1 { top: 0%; left: 0%; width: 300px; height: 380px; animation-delay: 0.2s; }
.hf-2 { top: 2%; right: 0%; width: 280px; height: 360px; animation-delay: 0.5s; }
.hf-3 { bottom: 0%; left: 0%; width: 310px; height: 390px; animation-delay: 0.8s; }
.hf-4 { bottom: 2%; right: 0%; width: 290px; height: 370px; animation-delay: 1.1s; }
.hf-5 { top: 20%; left: -1%; width: 260px; height: 330px; animation-delay: 1.4s; }
.hf-6 { top: 25%; right: -1%; width: 270px; height: 340px; animation-delay: 1.7s; }
.hf-7 { top: 8%; left: 22%; width: 250px; height: 320px; animation-delay: 0.3s; }
.hf-8 { bottom: 10%; right: 20%; width: 260px; height: 330px; animation-delay: 0.6s; }
.hf-9 { top: 35%; left: 15%; width: 230px; height: 295px; animation-delay: 0.9s; }
.hf-10 { top: 5%; right: 18%; width: 240px; height: 310px; animation-delay: 1.2s; }
.hf-11 { top: 50%; left: 35%; width: 180px; height: 230px; animation-delay: 1.5s; opacity: 0.4; }
.hf-12 { top: 55%; right: 30%; width: 170px; height: 220px; animation-delay: 1.8s; opacity: 0.4; }
.hf-13 { top: 38%; left: 28%; width: 200px; height: 260px; animation-delay: 0.4s; }
.hf-14 { top: 42%; right: 25%; width: 190px; height: 245px; animation-delay: 0.7s; }
.hf-15 { top: 55%; left: 40%; width: 175px; height: 225px; animation-delay: 1.0s; }
.hf-16 { top: 48%; right: 35%; width: 185px; height: 240px; animation-delay: 1.3s; }

@keyframes float-in {
    0% { opacity: 0; transform: scale(0.85) translateY(30px) skewY(1deg); filter: blur(4px); }
    100% { opacity: 0.55; transform: scale(1) translateY(0) skewY(0); filter: blur(0); }
}

.hero-float:hover {
    opacity: 0.9 !important;
    transform: scale(1.12);
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 64px);
    color: var(--white);
    letter-spacing: 10px;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    animation: fade-in 2s ease-out 0.2s forwards;
    opacity: 0;
    position: relative;
}

.hero-name-2 {
    opacity: 0.7;
    animation: letter-float 5s ease-in-out infinite;
}

.hero-name span {
    display: inline-block;
    animation: letter-float 4s ease-in-out infinite;
}

.hero-name span:nth-child(1) { animation-delay: 0s; }
.hero-name span:nth-child(2) { animation-delay: 0.12s; }
.hero-name span:nth-child(3) { animation-delay: 0.24s; }
.hero-name span:nth-child(4) { animation-delay: 0.36s; }
.hero-name span:nth-child(5) { animation-delay: 0.48s; }
.hero-name span:nth-child(6) { animation-delay: 0.6s; }
.hero-name span:nth-child(7) { animation-delay: 0.72s; }
.hero-name span:nth-child(8) { animation-delay: 0.84s; }

@keyframes letter-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 64px);
    letter-spacing: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.glitch::before {
    color: rgba(255, 255, 255, 0.08);
    animation: vhs-ghost 8s ease-in-out infinite;
    filter: blur(1px);
}

.glitch::after {
    color: rgba(255, 255, 255, 0.05);
    animation: vhs-tracking 8s ease-in-out infinite;
    filter: blur(0.5px);
}

@keyframes vhs-ghost {
    0%, 85%, 100% { opacity: 0; transform: translate(0, 0) skewX(0); }
    87% { opacity: 0.8; transform: translate(0, -2px) skewX(-0.5deg); }
    89% { opacity: 0; transform: translate(0, 3px) skewX(0.3deg); }
    91% { opacity: 0.6; transform: translate(-1px, -1px) skewX(-0.2deg); }
    93% { opacity: 0; }
}

@keyframes vhs-tracking {
    0%, 80%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0); }
    82% { opacity: 0.5; transform: translate(2px, 0); clip-path: inset(20% 0 60% 0); }
    84% { opacity: 0; }
    86% { opacity: 0.3; transform: translate(-1px, 1px); clip-path: inset(50% 0 20% 0); }
    88% { opacity: 0; }
}

.hero-dressings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-scratch {
    position: absolute;
    background: rgba(255, 255, 255, 0.015);
    transform: rotate(-25deg);
}

.hs-1 { top: 15%; left: 10%; width: 200px; height: 1px; transform: rotate(-18deg); }
.hs-2 { top: 60%; right: 8%; width: 150px; height: 1px; transform: rotate(-35deg); }
.hs-3 { bottom: 25%; left: 30%; width: 180px; height: 1px; transform: rotate(-12deg); }

.hero-stain {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 122, 181, 0.03) 0%, transparent 70%);
}

.hst-1 { top: 20%; right: 25%; width: 120px; height: 120px; }
.hst-2 { bottom: 30%; left: 20%; width: 80px; height: 80px; }

.hero-cross {
    position: absolute;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.06);
    font-weight: 100;
}

.hc-1 { top: 12%; left: 5%; }
.hc-2 { bottom: 18%; right: 6%; }
.hc-3 { top: 45%; left: 48%; }

.hero-scribble {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.hscr-1 { top: 25%; right: 10%; }
.hscr-2 { bottom: 35%; left: 8%; width: 40px; height: 40px; }

.section-dressings {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dressing-cross {
    position: absolute;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.04);
    font-weight: 100;
}

.dc-1 { top: 8%; left: 3%; }
.dc-2 { bottom: 12%; right: 4%; }
.dc-3 { top: 5%; right: 6%; }
.dc-4 { bottom: 8%; left: 5%; }
.dc-5 { top: 10%; left: 4%; }
.dc-6 { bottom: 6%; right: 3%; }
.dc-7 { top: 7%; right: 5%; }
.dc-8 { bottom: 10%; left: 6%; }
.dc-9 { top: 4%; left: 4%; }
.dc-10 { bottom: 8%; right: 5%; }
.dc-11 { top: 6%; right: 3%; }
.dc-12 { bottom: 10%; left: 4%; }

.dressing-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.015);
    height: 1px;
}

.dl-1 { top: 20%; left: 5%; width: 80px; transform: rotate(-15deg); }
.dl-2 { bottom: 25%; right: 8%; width: 60px; transform: rotate(-30deg); }
.dl-3 { top: 15%; right: 10%; width: 70px; transform: rotate(-20deg); }
.dl-4 { bottom: 20%; left: 8%; width: 90px; transform: rotate(-10deg); }
.dl-5 { top: 18%; left: 6%; width: 75px; transform: rotate(-25deg); }
.dl-6 { bottom: 22%; right: 7%; width: 65px; transform: rotate(-12deg); }
.dl-7 { top: 12%; right: 8%; width: 85px; transform: rotate(-18deg); }
.dl-8 { bottom: 18%; left: 5%; width: 55px; transform: rotate(-35deg); }
.dl-9 { top: 10%; left: 7%; width: 60px; transform: rotate(-22deg); }
.dl-10 { bottom: 15%; right: 6%; width: 70px; transform: rotate(-8deg); }
.dl-11 { top: 14%; right: 4%; width: 80px; transform: rotate(-28deg); }
.dl-12 { bottom: 20%; left: 3%; width: 50px; transform: rotate(-15deg); }

.dressing-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.dd-1 { top: 30%; left: 12%; }
.dd-2 { top: 60%; right: 15%; }
.dd-3 { bottom: 15%; left: 40%; }
.dd-4 { top: 25%; right: 20%; }
.dd-5 { bottom: 30%; left: 25%; }
.dd-6 { top: 35%; left: 18%; }
.dd-7 { top: 65%; right: 22%; }
.dd-8 { bottom: 20%; left: 35%; }
.dd-9 { top: 20%; right: 12%; }
.dd-10 { bottom: 35%; left: 15%; }
.dd-11 { top: 28%; left: 10%; }
.dd-12 { bottom: 25%; right: 18%; }
.dd-13 { top: 22%; right: 10%; }
.dd-14 { bottom: 30%; left: 12%; }

.dressing-scratch {
    position: absolute;
    height: 1px;
    background: rgba(255, 255, 255, 0.02);
}

.ds-1 { top: 40%; left: 2%; width: 100px; transform: rotate(-20deg); }
.ds-2 { bottom: 35%; right: 3%; width: 80px; transform: rotate(-30deg); }
.ds-3 { top: 35%; right: 5%; width: 90px; transform: rotate(-15deg); }
.ds-4 { bottom: 40%; left: 4%; width: 70px; transform: rotate(-25deg); }
.ds-5 { top: 45%; left: 3%; width: 85px; transform: rotate(-10deg); }
.ds-6 { bottom: 30%; right: 4%; width: 75px; transform: rotate(-35deg); }
.ds-7 { top: 38%; left: 5%; width: 65px; transform: rotate(-18deg); }
.ds-8 { bottom: 42%; right: 6%; width: 95px; transform: rotate(-22deg); }
.ds-9 { top: 32%; right: 3%; width: 55px; transform: rotate(-28deg); }
.ds-10 { bottom: 38%; left: 4%; width: 80px; transform: rotate(-12deg); }

.dressing-stain {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 122, 181, 0.02) 0%, transparent 70%);
}

.dst-1 { top: 50%; left: 80%; width: 60px; height: 60px; }
.dst-2 { top: 30%; left: 70%; width: 50px; height: 50px; }
.dst-3 { bottom: 40%; right: 75%; width: 45px; height: 45px; }
.dst-4 { top: 55%; right: 10%; width: 70px; height: 70px; }
.dst-5 { top: 40%; left: 75%; width: 55px; height: 55px; }
.dst-6 { bottom: 35%; right: 80%; width: 40px; height: 40px; }
.dst-7 { top: 45%; right: 15%; width: 65px; height: 65px; }
.dst-8 { top: 50%; left: 85%; width: 50px; height: 50px; }
.dst-9 { bottom: 30%; right: 70%; width: 45px; height: 45px; }

.spider-web {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0.04;
}

.spider-web::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 50%;
    left: 0;
    transform-origin: left center;
}

.spider-web::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: currentColor;
    left: 50%;
    top: 0;
    transform-origin: top center;
}

.web-tl {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, currentColor 0%, transparent 40%);
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
}

.web-tl::before {
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

.web-tr {
    top: 0;
    right: 0;
    background: linear-gradient(225deg, currentColor 0%, transparent 40%);
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.web-tr::before {
    transform: rotate(-45deg);
    top: 0;
    right: 0;
    left: auto;
    transform-origin: right center;
}

.web-bl {
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, currentColor 0%, transparent 40%);
    border-bottom: 1px solid currentColor;
    border-left: 1px solid currentColor;
}

.web-bl::before {
    transform: rotate(-45deg);
    bottom: 0;
    top: auto;
    left: 0;
}

.web-br {
    bottom: 0;
    right: 0;
    background: linear-gradient(315deg, currentColor 0%, transparent 40%);
    border-bottom: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.web-br::before {
    transform: rotate(45deg);
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
    transform-origin: right center;
}

.spider {
    position: absolute;
    font-size: 16px;
    opacity: 0.06;
    color: var(--white);
}

.sp-1 { top: 10%; right: 8%; }
.sp-2 { bottom: 15%; left: 6%; transform: scaleX(-1); }
.sp-3 { top: 12%; right: 10%; }
.sp-4 { bottom: 10%; left: 8%; transform: scaleX(-1); }
.sp-5 { top: 8%; left: 6%; }
.sp-6 { bottom: 12%; right: 7%; transform: scaleX(-1); }
.sp-7 { top: 10%; right: 5%; }
.sp-8 { bottom: 8%; left: 5%; transform: scaleX(-1); }

.hero-cross.hc-4 { top: 60%; right: 12%; }
.hero-cross.hc-5 { bottom: 35%; left: 15%; }

.dressing-cross.dc-1a { top: 15%; right: 8%; }
.dressing-cross.dc-2a { bottom: 18%; left: 6%; }
.dressing-cross.dc-3a { top: 12%; left: 10%; }
.dressing-cross.dc-4a { bottom: 15%; right: 9%; }
.dressing-cross.dc-5a { top: 18%; right: 7%; }
.dressing-cross.dc-6a { bottom: 10%; left: 8%; }
.dressing-cross.dc-7a { top: 14%; left: 9%; }
.dressing-cross.dc-8a { bottom: 16%; right: 6%; }
.dressing-cross.dc-9a { top: 16%; right: 8%; }
.dressing-cross.dc-10a { bottom: 12%; left: 7%; }
.dressing-cross.dc-11a { top: 10%; left: 6%; }
.dressing-cross.dc-12a { bottom: 14%; right: 8%; }

.section-divider {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.divider-scratch {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.04) 80%, transparent);
}

.divider-scratch::before,
.divider-scratch::after {
    content: '';
    position: absolute;
    top: -3px;
    height: 7px;
    width: 1px;
    background: rgba(255, 255, 255, 0.04);
}

.divider-scratch::before { left: 30%; }
.divider-scratch::after { left: 70%; }

.section {
    position: relative;
    padding: 100px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.12) contrast(1.2);
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 4px;
    margin-bottom: 8px;
    opacity: 0.4;
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 40px);
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 48px;
}

.about-section, .projects-section {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.about-section .about-layout,
.projects-section .projects-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.about-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.about-image-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    aspect-ratio: 3/4;
    transition: transform 0.3s ease;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.6) contrast(1.1);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.about-image-frame:hover .about-img {
    filter: grayscale(30%) brightness(0.7) contrast(1.1);
    transform: scale(1.03);
}

.about-image-border {
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--border);
    pointer-events: none;
    transition: all 0.4s ease;
}

.about-image-frame:hover .about-image-border {
    top: 12px;
    left: 12px;
    border-color: var(--border-hover);
}

.about-image-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(74, 122, 181, 0.03) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image-frame:hover .about-image-glitch {
    opacity: 1;
}

.about-text-col {
    position: relative;
    z-index: 2;
}

.about-desc {
    margin-bottom: 36px;
}

.about-desc p {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-desc p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hobbies-section {
    max-width: 100%;
    padding: 100px 32px;
    overflow: visible;
}

.hobbies-section .section-label,
.hobbies-section .section-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hobbies-section .section-title {
    margin-bottom: 32px;
}

.hobbies-scattered {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 500px;
}

.hobby-window {
    position: absolute;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all 0.5s ease;
    cursor: default;
}

.hobby-window:hover {
    border-color: var(--border-hover);
    z-index: 10;
}

.hobby-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.5);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.hobby-window:hover img {
    filter: grayscale(30%) brightness(0.65);
    transform: scale(1.05);
}

.hw-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    background: linear-gradient(transparent, rgba(5,5,5,0.9));
    transition: color 0.3s ease;
}

.hobby-window:hover .hw-label {
    color: var(--white);
}

.hw-1 { top: 0; left: 5%; width: 220px; height: 280px; }
.hw-2 { top: 30px; left: 30%; width: 180px; height: 240px; }
.hw-3 { top: 10px; right: 25%; width: 200px; height: 260px; }
.hw-4 { top: 40px; right: 5%; width: 190px; height: 250px; }

.hobbies-descriptions {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 5;
}

.hobby-desc {
    padding: 20px;
    border-left: 2px solid var(--border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.hobby-desc:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.hobby-desc h3 {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hobby-desc p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
}

.hobbies-text-float {
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 5;
}

.hobbies-text-float p {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.3;
    text-align: center;
}

.projects-list {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.project-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: padding-left 0.3s ease, background 0.3s ease;
    position: relative;
}

.project-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-glow), transparent);
    transition: width 0.4s ease;
}

.project-row:hover::before {
    width: 100%;
}

.project-row:first-child {
    border-top: 1px solid var(--border);
}

.project-row:hover {
    padding-left: 12px;
}

.project-left {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-dim);
    opacity: 0.4;
    padding-top: 4px;
    min-width: 24px;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.project-row:hover .project-info h3 {
    color: #888;
}

.project-info p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-dim);
    max-width: 500px;
    line-height: 1.5;
}

.project-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.project-stars {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-dim);
}

.project-arrow {
    font-size: 18px;
    color: var(--text-dim);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-row:hover .project-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.music-section {
    max-width: 100%;
    padding: 100px 32px;
    overflow: visible;
}

.music-section .section-label,
.music-section .section-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.music-section .section-title {
    margin-bottom: 32px;
}

.music-visualizer {
    max-width: 1100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 40px;
}

.viz-bar {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.4;
    animation: viz-pulse 1.2s ease-in-out infinite;
}

.viz-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 20px; animation-delay: 0.05s; }
.viz-bar:nth-child(3) { height: 15px; animation-delay: 0.1s; }
.viz-bar:nth-child(4) { height: 25px; animation-delay: 0.15s; }
.viz-bar:nth-child(5) { height: 12px; animation-delay: 0.2s; }
.viz-bar:nth-child(6) { height: 30px; animation-delay: 0.25s; }
.viz-bar:nth-child(7) { height: 18px; animation-delay: 0.3s; }
.viz-bar:nth-child(8) { height: 22px; animation-delay: 0.35s; }
.viz-bar:nth-child(9) { height: 14px; animation-delay: 0.4s; }
.viz-bar:nth-child(10) { height: 28px; animation-delay: 0.45s; }
.viz-bar:nth-child(11) { height: 16px; animation-delay: 0.5s; }
.viz-bar:nth-child(12) { height: 24px; animation-delay: 0.55s; }
.viz-bar:nth-child(13) { height: 10px; animation-delay: 0.6s; }
.viz-bar:nth-child(14) { height: 32px; animation-delay: 0.65s; }
.viz-bar:nth-child(15) { height: 18px; animation-delay: 0.7s; }
.viz-bar:nth-child(16) { height: 20px; animation-delay: 0.75s; }
.viz-bar:nth-child(17) { height: 14px; animation-delay: 0.8s; }
.viz-bar:nth-child(18) { height: 26px; animation-delay: 0.85s; }
.viz-bar:nth-child(19) { height: 12px; animation-delay: 0.9s; }
.viz-bar:nth-child(20) { height: 30px; animation-delay: 0.95s; }
.viz-bar:nth-child(21) { height: 16px; animation-delay: 1s; }
.viz-bar:nth-child(22) { height: 22px; animation-delay: 1.05s; }
.viz-bar:nth-child(23) { height: 10px; animation-delay: 1.1s; }
.viz-bar:nth-child(24) { height: 18px; animation-delay: 1.15s; }

@keyframes viz-pulse {
    0%, 100% { transform: scaleY(0.3); opacity: 0.2; }
    50% { transform: scaleY(1); opacity: 0.6; }
}

.music-scattered {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 32px;
    height: 200px;
}

.music-window {
    position: absolute;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}

.music-window:hover {
    border-color: var(--border-hover);
    z-index: 10;
}

.music-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%) brightness(0.4);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.music-window:hover img {
    filter: grayscale(30%) brightness(0.6);
    transform: scale(1.05);
}

.mw-1 { top: 0; left: 0; width: 140px; height: 180px; }
.mw-2 { top: 20px; left: 18%; width: 120px; height: 160px; }
.mw-3 { top: 0; right: 22%; width: 130px; height: 170px; }
.mw-4 { top: 10px; right: 0; width: 150px; height: 190px; }

.music-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.music-quote {
    font-family: var(--font-body);
    font-size: 20px;
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.8;
    padding-top: 20px;
}

.mini-piano {
    display: flex;
    position: relative;
    margin-top: 32px;
    height: 80px;
    user-select: none;
}

.piano-key {
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease;
}

.white-key {
    width: 32px;
    height: 80px;
    background: linear-gradient(180deg, #e8e8e8, #d4d4d4);
    border: 1px solid #aaa;
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.white-key:hover {
    background: linear-gradient(180deg, #f0f0f0, #e0e0e0);
}

.white-key:active,
.white-key.active {
    background: linear-gradient(180deg, #ccc, #b8b8b8);
    transform: translateY(2px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.black-key {
    width: 20px;
    height: 50px;
    background: linear-gradient(180deg, #333, #1a1a1a);
    border: 1px solid #000;
    border-radius: 0 0 3px 3px;
    margin-left: -10px;
    margin-right: -10px;
    z-index: 2;
}

.black-key:hover {
    background: linear-gradient(180deg, #444, #222);
}

.black-key:active,
.black-key.active {
    background: linear-gradient(180deg, #222, #111);
    transform: translateY(2px);
}

.spotify-wrapper {
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--card);
    transition: border-color 0.3s ease;
}

.spotify-wrapper:hover {
    border-color: var(--border-hover);
}

.spotify-wrapper iframe {
    display: block;
}

.gallery-section {
    max-width: 100%;
    padding: 100px 32px;
    overflow: visible;
}

.gallery-section .section-label,
.gallery-section .section-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--border-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.5);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(20%) brightness(0.65);
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(transparent, rgba(5,5,5,0.9));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
}

.gi-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.gi-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gi-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.gi-4 { grid-column: 1 / 2; grid-row: 2 / 3; }
.gi-5 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gi-6 { grid-column: 3 / 5; grid-row: 2 / 3; }
.gi-7 { display: none; }
.gi-8 { display: none; }

.contact-section {
    position: relative;
    max-width: 100%;
    padding: 120px 32px 80px;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.15) contrast(1.2);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.8);
}

.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 36px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(74, 122, 181, 0.2);
    text-decoration: none;
    color: #4a7ab5;
    transition: all 0.4s ease;
    min-width: 140px;
}

.contact-card:hover {
    border-color: #4a7ab5;
    color: #6a9ad5;
    box-shadow: 0 4px 20px rgba(74, 122, 181, 0.15);
}

.contact-card svg {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.contact-card:hover svg {
    opacity: 1;
}

.contact-card span {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-terminal {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    max-width: 600px;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(15, 15, 15, 0.9);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.td-1 { background: #ff5f57; }
.td-2 { background: #ffbd2e; }
.td-3 { background: #28ca42; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    margin-left: 8px;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
    min-height: 120px;
}

.terminal-line {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text);
    line-height: 2;
    min-height: 24px;
}

.terminal-line .prompt {
    color: #28ca42;
}

.terminal-line .path {
    color: #4a7ab5;
}

.terminal-line .typed-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--text);
    margin-left: 2px;
    animation: cursor-blink 0.8s step-end infinite;
    vertical-align: middle;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 24px 32px;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.footer-visitor,
.footer-credit {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    opacity: 0.3;
    letter-spacing: 2px;
}

#visitor-count {
    opacity: 1;
}

.footer-sep {
    color: var(--border);
    font-size: 8px;
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .hf-1 { width: 240px; height: 310px; }
    .hf-2 { width: 220px; height: 285px; }
    .hf-3 { width: 250px; height: 320px; }
    .hf-4 { width: 230px; height: 300px; }
    .hf-5 { width: 210px; height: 270px; }
    .hf-6 { width: 220px; height: 280px; }
    .hf-7 { width: 200px; height: 255px; }
    .hf-8 { width: 210px; height: 270px; }
    .hf-9 { width: 190px; height: 245px; }
    .hf-10 { width: 200px; height: 260px; }
    .hf-11 { width: 150px; height: 195px; }
    .hf-12 { width: 140px; height: 180px; }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-trail {
        display: none;
    }

    .nav-inner {
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-float {
        opacity: 0.3 !important;
    }

    .hf-1 { width: 140px; height: 180px; top: 3%; left: 0; }
    .hf-2 { width: 130px; height: 170px; top: 5%; right: 0; }
    .hf-3 { width: 150px; height: 190px; bottom: 8%; left: 1%; }
    .hf-4 { width: 140px; height: 180px; bottom: 5%; right: 1%; }
    .hf-5 { width: 120px; height: 155px; top: 30%; left: -2%; }
    .hf-6 { width: 125px; height: 160px; top: 35%; right: -2%; }
    .hf-7 { width: 110px; height: 140px; top: 18%; left: 22%; }
    .hf-8 { width: 115px; height: 145px; bottom: 22%; right: 20%; }
    .hf-9 { display: none; }
    .hf-10 { display: none; }
    .hf-11 { display: none; }
    .hf-12 { display: none; }
    .hf-13 { display: none; }
    .hf-14 { display: none; }
    .hf-15 { display: none; }
    .hf-16 { display: none; }

    .hero-dressings,
    .section-dressings {
        display: none;
    }

    .section {
        padding: 80px 16px 60px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image-frame {
        aspect-ratio: 16/10;
    }

    .about-stats {
        gap: 20px;
    }

    .hobbies-section, .music-section, .gallery-section {
        padding: 80px 16px;
    }

    .hobbies-scattered {
        height: 350px;
    }

    .hw-1 { width: 160px; height: 210px; }
    .hw-2 { width: 140px; height: 185px; }
    .hw-3 { width: 150px; height: 195px; }
    .hw-4 { width: 145px; height: 190px; }

    .hobbies-descriptions {
        grid-template-columns: 1fr 1fr;
    }

    .music-scattered {
        height: 150px;
    }

    .mw-1 { width: 100px; height: 130px; }
    .mw-2 { width: 90px; height: 120px; }
    .mw-3 { width: 100px; height: 130px; }
    .mw-4 { width: 110px; height: 140px; }

    .music-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 160px);
    }

    .gi-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .gi-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .gi-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .gi-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .gi-5 { grid-column: 2 / 3; grid-row: 3 / 4; }
    .gi-6 { grid-column: 1 / 3; grid-row: 4 / 5; }

    .contact-links {
        gap: 12px;
    }

    .contact-card {
        padding: 18px 24px;
        min-width: 120px;
    }

    .hero-side-text {
        display: none;
    }

    .project-info p {
        max-width: 250px;
    }

    .mini-piano {
        justify-content: center;
    }
}
