/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Orbitron:wght@400;700;900&family=VT323&family=Share+Tech+Mono&family=Instrument+Sans:wght@300;400;500&display=swap');

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
input, textarea, button { font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #f0ece4; }
::-webkit-scrollbar-thumb  { background: #C8873A; border-radius: 3px; }
body.y2k ::-webkit-scrollbar-track { background: #000022; }
body.y2k ::-webkit-scrollbar-thumb { background: #00ffff; }

/* ── Body ────────────────────────────────────────────────────────────────── */
body {
  overflow-x: hidden;
  transition: background 0.5s;
}
body.pro { background: #F7F4EF; color: #1A1714; font-family: 'Instrument Sans', sans-serif; }
body.y2k { background: #000011; color: #00ffff; font-family: 'Share Tech Mono', monospace; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes marquee        { from { transform: translateX(0); }   to { transform: translateX(-50%); } }
@keyframes twinkle        { 0% { opacity: 0.5; }                 100% { opacity: 1; } }
@keyframes flicker        { 0%,94%,96%,100% { opacity:1; }       95% { opacity: 0.35; } }
@keyframes scanbar        { 0%,100% { opacity: 0.3; }            50% { opacity: 1; } }
@keyframes statusPulse    { 0%,100% { opacity: 1; }              50% { opacity: 0.3; } }
@keyframes constrBlink    { 0%,100% { border-color:#ffdd00; color:#ffdd00; } 50% { border-color:#ff00ff; color:#ff00ff; } }
@keyframes fadeUp         { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes visBarGrow     { from { width: 0 !important; } }

/* ── Y2K cursor ──────────────────────────────────────────────────────────── */
body.y2k, body.y2k * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='%2300ffff' stroke-width='2'/%3E%3Ccircle cx='10' cy='10' r='2' fill='%2300ffff'/%3E%3C/svg%3E") 10 10, crosshair !important;
}
body.y2k button, body.y2k a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='%23ff00ff' stroke-width='2'/%3E%3Ccircle cx='10' cy='10' r='2' fill='%23ff00ff'/%3E%3C/svg%3E") 10 10, pointer !important;
}

/* ── Starfield ───────────────────────────────────────────────────────────── */
#starfield {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  animation: twinkle 3s infinite alternate;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 33% 55%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 52% 12%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 72% 82%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 88% 32%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 18% 72%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 47% 47%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 83% 63%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 27% 92%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 63% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 57% 77%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 38% 38%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 78% 58%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at  7% 97%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 93%  7%, rgba(255,255,255,.8), transparent);
}

/* ── Scanlines ───────────────────────────────────────────────────────────── */
#scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.07) 2px, rgba(0,0,0,.07) 4px);
}

/* ── Toggle ──────────────────────────────────────────────────────────────── */
#toggle-wrap {
  position: fixed; top: 108px; right: 20px; z-index: 10000;
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,20,.8); padding: 6px 12px;
  border-radius: 20px; border: 1px solid rgba(0,255,255,.2);
  backdrop-filter: blur(8px);
}
#toggle-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #aaccff; user-select: none; }
#toggle-switch { position: relative; width: 64px; height: 30px; cursor: pointer; flex-shrink: 0; }
#toggle-track {
  position: absolute; inset: 0; border-radius: 30px; transition: all 0.4s; overflow: visible;
}
body.pro #toggle-track { background: linear-gradient(135deg,#e8e0d4,#d4c9b8); border: 1.5px solid rgba(0,0,0,.12); box-shadow: inset 0 1px 3px rgba(0,0,0,.1); }
body.y2k #toggle-track { background: linear-gradient(135deg,#000033,#000066); border: 1.5px solid #00ffff; box-shadow: 0 0 12px rgba(0,255,255,.4); }
.toggle-icon { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11px; transition: opacity 0.3s; pointer-events: none; }
.toggle-icon.star    { left: 6px; }
.toggle-icon.diamond { right: 6px; }
body.pro .toggle-icon.star    { opacity: 0; }
body.pro .toggle-icon.diamond { opacity: 1; }
body.y2k .toggle-icon.star    { opacity: 1; }
body.y2k .toggle-icon.diamond { opacity: 0; }
#toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
body.pro #toggle-thumb { background: linear-gradient(135deg,#C8873A,#A06828); box-shadow: 0 2px 6px rgba(0,0,0,.2); transform: translateX(0); }
body.y2k #toggle-thumb { background: radial-gradient(circle at 35% 35%,#00ffff,#0000cc); box-shadow: 0 0 10px rgba(0,255,255,.8); transform: translateX(34px); }

/* ── Marquee ─────────────────────────────────────────────────────────────── */
#marquee-bar {
  background: linear-gradient(90deg,#ff00ff,#00ffff,#ff00ff);
  padding: 4px 0; overflow: hidden;
  border-top: 2px solid #ffdd00; border-bottom: 2px solid #ffdd00;
  position: relative; z-index: 10;
}
#marquee-track {
  display: inline-block; white-space: nowrap;
  animation: marquee 22s linear infinite;
  color: #000011; font-family: 'Orbitron',sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 999;
  backdrop-filter: blur(12px); transition: all 0.4s;
}
body.pro nav { background: rgba(247,244,239,.92); border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
body.y2k nav { background: rgba(0,0,50,.97); border-bottom: 2px solid #ff00ff; box-shadow: 0 4px 20px rgba(255,0,255,.3); }

.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 60px; gap: 8px; }

#nav-logo { background: none; border: none; margin-right: auto; cursor: pointer; transition: all 0.4s; }
body.pro #nav-logo { font-family: 'Cormorant Garamond',serif; font-weight: 700; font-size: 18px; color: #1A1714; letter-spacing: 1px; }
body.y2k #nav-logo { font-family: 'Orbitron',sans-serif; font-weight: 700; font-size: 13px; color: #00ffff; letter-spacing: 3px; text-shadow: 0 0 10px #00ffff; }

.nav-link { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
body.pro .nav-link { background: none; border: none; color: #4A4540; font-family: 'Instrument Sans',sans-serif; font-weight: 500; padding: 6px 12px; border-radius: 2px; }
body.pro .nav-link:hover, body.pro .nav-link.active { color: #C8873A; background: rgba(200,135,58,.08); }
body.y2k .nav-link { font-family: 'Orbitron',sans-serif; font-size: 10px; color: #aaccff; background: linear-gradient(180deg,#003399,#000066 50%,#001144); border: 2px outset #6699ff; padding: 5px 10px; }
body.y2k .nav-link:hover, body.y2k .nav-link.active { color: #00ffff; text-shadow: 0 0 8px #00ffff; border-style: inset; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.page-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }

/* ── Hero Pro ────────────────────────────────────────────────────────────── */
#hero-pro {
  padding: 80px 0 60px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; animation: fadeUp 0.7s ease both;
}
.hero-eyebrow-pro { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; color: #C8873A; font-weight: 500; }
.hero-name-pro { font-family: 'Cormorant Garamond',serif; font-size: clamp(42px,5vw,72px); font-weight: 300; color: #1A1714; letter-spacing: -1px; line-height: 1.05; margin-bottom: 16px; }
.hero-subtitle-pro { font-size: 14px; color: #4A4540; font-weight: 300; letter-spacing: .5px; line-height: 1.6; margin-bottom: 24px; }
.hero-desc-pro { font-size: 15px; line-height: 1.75; color: #4A4540; font-weight: 300; margin-bottom: 36px; }
.hero-cta-pro {
  background: none; border: none; border-bottom: 1px solid #C8873A;
  color: #C8873A; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; font-family: 'Instrument Sans',sans-serif; padding-bottom: 2px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.3s;
}
.hero-cta-pro:hover { color: #8B5E2A; gap: 14px; }
.hero-img-wrap-pro { display: flex; justify-content: flex-end; }
.hero-img-pro { width: 340px; height: 420px; object-fit: cover; border-radius: 2px; box-shadow: 0 8px 40px rgba(0,0,0,.10); filter: sepia(8%) contrast(1.02); }

/* ── Hero Y2K ────────────────────────────────────────────────────────────── */
#hero-y2k { padding: 24px 0 0; }
.hero-sidebar-layout { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.hero-sidebar { width: 200px; flex-shrink: 0; }
.hero-main { flex: 1; min-width: 0; }

.hero-img-y2k { width: 120px; height: 120px; object-fit: cover; border: 3px solid #00ffff; box-shadow: 0 0 20px rgba(0,255,255,.5); display: block; margin: 0 auto 8px; }
.hero-name-y2k { font-family: 'Orbitron',sans-serif; font-size: clamp(22px,4vw,42px); font-weight: 900; color: #00ffff; text-shadow: 0 0 10px #00ffff, 0 0 30px #00ffff, 3px 3px 0 #ff00ff; letter-spacing: 4px; text-transform: uppercase; animation: flicker 6s infinite; margin-bottom: 10px; }
.hero-subtitle-y2k { font-family: 'VT323',monospace; font-size: 20px; color: #ff00ff; letter-spacing: 4px; text-transform: uppercase; text-shadow: 0 0 8px #ff00ff; margin-bottom: 16px; }
.hero-desc-y2k { color: #aaccff; font-size: 13px; line-height: 1.7; }
.hero-eyebrow-y2k { font-family: 'VT323',monospace; font-size: 20px; color: #ff00ff; text-shadow: 0 0 8px #ff00ff; letter-spacing: 4px; margin-bottom: 10px; }
.hero-cta-y2k {
  color: white; background: linear-gradient(180deg,#0055ff,#0033aa 50%,#001166);
  border: 2px outset #6699ff; font-family: 'Orbitron',sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 8px 20px;
  margin-top: 16px; display: inline-block; box-shadow: 0 0 15px rgba(0,100,255,.4);
  cursor: pointer; transition: all 0.2s;
}
.hero-cta-y2k:hover { color: #00ffff; text-shadow: 0 0 8px #00ffff; border-style: inset; }

/* ── Y2K Panel ───────────────────────────────────────────────────────────── */
.y2k-panel { background: linear-gradient(135deg,rgba(0,0,80,.95),rgba(0,0,40,.98)); border: 2px solid #00ffff; box-shadow: 0 0 15px rgba(0,255,255,.2); margin-bottom: 14px; position: relative; overflow: hidden; }
.y2k-panel-glow { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,#00ffff,#ff00ff,#00ffff,transparent); animation: scanbar 3s linear infinite; }
.y2k-panel-header { background: linear-gradient(90deg,#000066,#000099,#000066); border-bottom: 2px solid #00ffff; padding: 5px 12px; display: flex; align-items: center; gap: 6px; }
.y2k-panel-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.y2k-panel-dot.red    { background: #ff3333; box-shadow: 0 0 5px #ff3333; }
.y2k-panel-dot.yellow { background: #ffcc00; box-shadow: 0 0 5px #ffcc00; }
.y2k-panel-dot.green  { background: #00ff66; box-shadow: 0 0 5px #00ff66; }
.y2k-panel-title { font-family: 'Orbitron',sans-serif; font-size: 11px; color: #ffdd00; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 6px #ffdd00; flex: 1; }
.y2k-panel-body { padding: 14px; }

/* ── Y2K Profile ─────────────────────────────────────────────────────────── */
.y2k-profile-name { font-family: 'VT323',monospace; font-size: 22px; color: #00ffff; text-align: center; text-shadow: 0 0 10px #00ffff; letter-spacing: 2px; }
.y2k-info-row { display: flex; gap: 6px; font-size: 11px; padding: 3px 0; border-bottom: 1px dotted rgba(0,255,255,.2); margin-top: 4px; }
.y2k-info-val { color: #aaccff; font-size: 10px; word-break: break-all; }
.y2k-status { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: #00ff66; }
.y2k-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #00ff66; box-shadow: 0 0 6px #00ff66; animation: statusPulse 2s ease-in-out infinite; display: inline-block; }

/* ── Y2K Counter ─────────────────────────────────────────────────────────── */
.y2k-counter-label { font-size: 10px; color: #888; text-align: center; margin-bottom: 4px; letter-spacing: 2px; text-transform: uppercase; }
.y2k-counter { text-align: center; font-family: 'VT323',monospace; font-size: 30px; color: #00ff00; text-shadow: 0 0 15px #00ff00; background: #000; border: 2px inset #333; padding: 6px; letter-spacing: 4px; }

/* ── Y2K Badge ───────────────────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.badges.center { justify-content: center; }
.y2k-badge { font-family: 'VT323',monospace; font-size: 13px; padding: 2px 8px; border: 1px solid; letter-spacing: 1px; }

/* ── Under Construction ──────────────────────────────────────────────────── */
.under-construction {
  text-align: center; padding: 8px; font-family: 'VT323',monospace; font-size: 15px;
  letter-spacing: 2px; border: 2px dashed #ffdd00; animation: constrBlink 2s step-end infinite;
  background: repeating-linear-gradient(45deg,rgba(255,200,0,.03),rgba(255,200,0,.03) 5px,transparent 5px,transparent 10px);
}

/* ── Audio Player ────────────────────────────────────────────────────────── */
.audio-player { background: linear-gradient(180deg,#0a0a2e,#000011); border: 2px inset #336699; padding: 10px; }
.audio-track-name { font-family: 'VT323',monospace; font-size: 22px; color: #00ffff; text-shadow: 0 0 8px #00ffff; letter-spacing: 1px; }
.audio-artist { font-size: 11px; color: #aaccff; margin-bottom: 10px; letter-spacing: 1px; }
.audio-now-playing { font-size: 10px; color: #ffdd00; margin-bottom: 2px; letter-spacing: 2px; text-transform: uppercase; }
.audio-progress-wrap { height: 10px; background: #000033; border: 1px solid #003366; cursor: pointer; margin-bottom: 4px; position: relative; overflow: hidden; }
.audio-progress-fill { height: 100%; background: linear-gradient(90deg,#00ffff,#ff00ff); box-shadow: 0 0 8px rgba(0,255,255,.8); transition: width .3s linear; width: 0%; pointer-events: none; }
.audio-progress-head { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #00ffff; pointer-events: none; left: 0%; }
.audio-time { display: flex; justify-content: space-between; font-family: 'Share Tech Mono',monospace; font-size: 10px; color: #667799; margin-bottom: 10px; }
.audio-play-btn {
  display: block; margin: 0 auto 10px; min-width: 120px;
  background: linear-gradient(180deg,#003399,#000066);
  border: 2px outset #6699ff; color: #00ffff; font-family: 'VT323',monospace;
  font-size: 20px; padding: 4px 24px; cursor: pointer; letter-spacing: 2px;
  text-shadow: 0 0 10px #00ffff; box-shadow: 0 0 15px rgba(0,100,255,.4); transition: all .2s;
}
.audio-play-btn.playing { background: linear-gradient(180deg,#440044,#220022); color: #ff00ff; text-shadow: 0 0 10px #ff00ff; box-shadow: 0 0 15px rgba(255,0,255,.4); }
.audio-play-btn:hover { border-style: inset; }
.audio-vol-wrap { display: flex; align-items: center; gap: 8px; }
.audio-vol-label { font-family: 'VT323',monospace; font-size: 14px; color: #ffdd00; letter-spacing: 1px; flex-shrink: 0; }
.audio-vol-track { flex: 1; position: relative; height: 10px; background: #000033; border: 1px solid #003366; cursor: pointer; }
.audio-vol-fill { height: 100%; background: linear-gradient(90deg,#00ff66,#ffdd00); box-shadow: 0 0 6px rgba(0,255,100,.6); pointer-events: none; width: 70%; }
.audio-vol-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.audio-vol-pct { font-family: 'Share Tech Mono',monospace; font-size: 10px; color: #667799; flex-shrink: 0; width: 28px; text-align: right; }
.audio-visualizer { display: flex; gap: 3px; justify-content: center; margin-top: 10px; align-items: flex-end; height: 20px; }
.audio-vis-bar { width: 4px; background: #003366; height: 4px; transition: all .4s ease; }

/* ── Section ─────────────────────────────────────────────────────────────── */
.section { position: relative; z-index: 5; }
body.pro .section { padding: 70px 0; }
body.y2k .section { padding: 24px 0; }

.section-divider { margin-bottom: 50px; }
body.pro .section-divider { height: 1px; background: rgba(0,0,0,.08); }
body.y2k .section-divider { height: 2px; background: linear-gradient(90deg,transparent,#ff00ff,#00ffff,#ff00ff,transparent); box-shadow: 0 0 10px rgba(255,0,255,.5); margin-bottom: 18px; }

.section-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
body.pro .section-label { color: #C8873A; font-family: 'Instrument Sans',sans-serif; }
body.y2k .section-label { color: #ff00ff; text-shadow: 0 0 8px #ff00ff; font-family: 'Orbitron',sans-serif; font-size: 10px; }

.section-heading { display: flex; align-items: center; }
body.pro .section-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(28px,3vw,44px); font-weight: 300; color: #1A1714; letter-spacing: -.5px; margin-bottom: 40px; }
body.y2k .section-heading { font-family: 'Orbitron',sans-serif; font-size: 16px; font-weight: 900; color: #00ffff; letter-spacing: 4px; text-transform: uppercase; text-shadow: 0 0 10px #00ffff; margin-bottom: 18px; gap: 10px; }
.section-heading-diamond { color: #ff00ff; font-size: 10px; text-shadow: 0 0 8px #ff00ff; }

/* ── Skill Bar ───────────────────────────────────────────────────────────── */
.skill-item { margin-bottom: 14px; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
body.pro .skill-header { font-size: 12px; color: #4A4540; font-weight: 500; letter-spacing: .5px; }
body.y2k .skill-header { font-size: 11px; color: #ffdd00; font-family: 'Share Tech Mono',monospace; letter-spacing: 1px; }
.skill-track { overflow: hidden; }
body.pro .skill-track { height: 3px; background: rgba(0,0,0,.14); border-radius: 99px; }
body.y2k .skill-track { height: 12px; background: #000033; border: 1px solid #003366; }
.skill-fill { height: 100%; animation: visBarGrow 1.4s cubic-bezier(.4,0,.2,1) both; }
body.pro .skill-fill { background: #C8873A; border-radius: 99px; }
body.y2k .skill-fill { background: linear-gradient(90deg,#00ffff,#ff00ff); box-shadow: 0 0 8px rgba(0,255,255,.7); }

/* ── Work Grid ───────────────────────────────────────────────────────────── */
.work-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.work-filter-btn { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; padding: 5px 14px; transition: all .2s; }
body.pro .work-filter-btn { background: transparent; border: 1px solid rgba(0,0,0,.08); color: #8A8480; font-family: 'Instrument Sans',sans-serif; border-radius: 2px; }
body.pro .work-filter-btn:hover, body.pro .work-filter-btn.active { border-color: #C8873A; color: #C8873A; background: rgba(200,135,58,.08); }
body.y2k .work-filter-btn { background: transparent; border: 1px solid #003366; color: #667799; font-family: 'Share Tech Mono',monospace; font-size: 10px; }
body.y2k .work-filter-btn:hover, body.y2k .work-filter-btn.active { border-color: #00ffff; color: #00ffff; background: rgba(0,255,255,.1); text-shadow: 0 0 6px #00ffff; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); }
body.pro .work-grid { gap: 24px; }
body.y2k .work-grid { gap: 10px; }

.work-card { overflow: hidden; transition: all .3s; cursor: pointer; }
body.pro .work-card { background: #fff; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.05); }
body.pro .work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,.12); }
body.y2k .work-card { background: rgba(0,0,50,.8); border: 2px solid rgba(0,100,180,.5); }
body.y2k .work-card:hover { transform: translateY(-2px); border-color: #00ffff; box-shadow: 0 0 20px rgba(0,255,255,.4); }

.work-card-img { width: 100%; display: block; object-fit: cover; transition: transform .4s; }
body.pro .work-card-img { height: 190px; }
body.y2k .work-card-img { height: 130px; }

body.pro .work-card-info { padding: 16px 18px 18px; }
body.y2k .work-card-info { padding: 8px; }

.work-card-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; display: inline-block; }
body.pro .work-card-tag { color: #C8873A; }
body.y2k .work-card-tag { color: #ff00ff; text-shadow: 0 0 5px #ff00ff; font-family: 'VT323',monospace; font-size: 13px; border: 1px solid #ff00ff; padding: 0 4px; }

body.pro .work-card-title { font-family: 'Cormorant Garamond',serif; font-size: 18px; color: #1A1714; margin-bottom: 6px; }
body.y2k .work-card-title { font-family: 'Share Tech Mono',monospace; font-size: 12px; color: #00ffff; letter-spacing: 1px; }

.work-card-desc { font-size: 13px; color: #8A8480; line-height: 1.6; font-weight: 300; }
body.y2k .work-card-desc { display: none; }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; align-items: center; }
body.pro .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
body.y2k .about-grid { grid-template-columns: 1fr; gap: 16px; }

.about-text { line-height: 1.8; font-weight: 300; }
body.pro .about-text { font-size: 15px; color: #4A4540; }
body.y2k .about-text { font-size: 13px; color: #aaccff; }
.about-text p + p { margin-top: 16px; }
body.pro .about-highlight { color: #1A1714; font-weight: 400; }
body.y2k .about-highlight { color: #00ffff; text-shadow: 0 0 6px rgba(0,255,255,.5); }

/* ── Photos ──────────────────────────────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); }
body.pro .photo-grid { gap: 16px; }
body.y2k .photo-grid { gap: 8px; }

.photo-item { overflow: hidden; cursor: pointer; position: relative; transition: all .3s; }
body.pro .photo-item { border-radius: 2px; }
body.y2k .photo-item { border: 2px solid #003366; }
body.y2k .photo-item:hover { border-color: #ff00ff; box-shadow: 0 0 15px rgba(255,0,255,.4); }

.photo-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s; }
body.pro .photo-item:hover .photo-img { transform: scale(1.05); }

.photo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity .3s; }
body.pro .photo-item:hover .photo-overlay { opacity: 1; }
body.y2k .photo-overlay { display: none; }
.photo-caption-pro { font-size: 13px; color: white; font-family: 'Cormorant Garamond',serif; font-weight: 300; letter-spacing: 1px; }

.photo-caption-y2k { background: rgba(0,0,60,.9); font-family: 'Share Tech Mono',monospace; font-size: 10px; color: #00ffff; text-align: center; padding: 4px; letter-spacing: 1px; border-top: 1px solid #003366; }
.y2k-more-photos { text-align: center; padding: 8px; font-family: 'VT323',monospace; font-size: 15px; letter-spacing: 2px; border: 2px dashed #ffdd00; animation: constrBlink 2s step-end infinite; margin-top: 12px; background: repeating-linear-gradient(45deg,rgba(255,200,0,.03),rgba(255,200,0,.03) 5px,transparent 5px,transparent 10px); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; }
body.pro .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 60px; }
body.y2k .contact-grid { grid-template-columns: 1fr; gap: 16px; }

.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-icon { font-size: 16px; flex-shrink: 0; }
.contact-info-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; font-weight: 500; }
body.pro .contact-info-label { color: #8A8480; }
body.y2k .contact-info-label { color: #ffdd00; font-size: 10px; }
.contact-info-val { font-size: 14px; }
body.pro .contact-info-val { color: #1A1714; }
body.y2k .contact-info-val { color: #aaccff; font-size: 12px; }
.contact-info-link { text-decoration: none; transition: color 0.2s; }
body.pro .contact-info-link { color: #C8873A; }
body.pro .contact-info-link:hover { color: #8B5E2A; }
body.y2k .contact-info-link { color: #00ffff; text-shadow: 0 0 6px rgba(0,255,255,0.4); }
body.y2k .contact-info-link:hover { color: #ff00ff; text-shadow: 0 0 8px #ff00ff; }
.contact-note-y2k { margin-top: 16px; padding: 10px; border: 1px dashed rgba(0,255,255,.3); background: rgba(0,0,50,.5); font-size: 12px; color: #aaccff; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
body.pro .form-label { color: #4A4540; }
body.y2k .form-label { color: #ffdd00; font-size: 10px; }

.form-input, .form-textarea { width: 100%; outline: none; transition: all .3s; }
body.pro .form-input, body.pro .form-textarea { padding: 12px 16px; background: #FAF8F5; border: 1px solid rgba(0,0,0,.08); border-radius: 2px; color: #1A1714; font-size: 14px; font-family: 'Instrument Sans',sans-serif; }
body.pro .form-input:focus, body.pro .form-textarea:focus { border-color: #C8873A; box-shadow: 0 0 0 3px rgba(200,135,58,.1); }
body.y2k .form-input, body.y2k .form-textarea { padding: 6px 8px; background: #000022; border: 2px inset #003366; color: #00ffff; font-family: 'Share Tech Mono',monospace; font-size: 13px; }
body.y2k .form-input:focus, body.y2k .form-textarea:focus { border-color: #00ffff; box-shadow: 0 0 10px rgba(0,255,255,.3); }
.form-textarea { resize: vertical; min-height: 120px; }

.submit-btn { font-weight: 500; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .3s; }
body.pro .submit-btn { background: #1A1714; border: none; color: #F7F4EF; padding: 14px 36px; font-size: 12px; font-family: 'Instrument Sans',sans-serif; border-radius: 2px; }
body.pro .submit-btn:hover { background: #C8873A; }
body.y2k .submit-btn { background: linear-gradient(180deg,#0055ff,#0033aa 50%,#001166); border: 2px outset #6699ff; color: white; font-family: 'Orbitron',sans-serif; font-size: 11px; padding: 8px 24px; box-shadow: 0 0 15px rgba(0,100,255,.4); }
body.y2k .submit-btn:hover { color: #00ffff; text-shadow: 0 0 8px #00ffff; border-style: inset; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { margin-top: 20px; position: relative; z-index: 5; }
body.pro footer { border-top: 1px solid rgba(0,0,0,.08); padding: 40px 0; }
body.y2k footer { border-top: 3px solid #ff00ff; padding: 20px 0; background: linear-gradient(180deg,#000033,#000011); box-shadow: 0 0 20px rgba(255,0,255,.2); }

.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
body.pro .footer-copy { font-size: 12px; color: #8A8480; }
body.y2k .footer-copy { font-size: 11px; color: #334466; letter-spacing: 1px; }
.footer-links { display: flex; gap: 24px; }
.footer-link { text-decoration: none; letter-spacing: 1px; transition: color .2s; }
body.pro .footer-link { font-size: 12px; color: #8A8480; }
body.pro .footer-link:hover { color: #C8873A; }
body.y2k .footer-link { font-size: 16px; color: #ff00ff; font-family: 'VT323',monospace; }
body.y2k .footer-link:hover { color: #00ffff; }
.footer-compat-note { font-size: 10px; color: #334455; margin-top: 6px; letter-spacing: 1px; font-family: 'Share Tech Mono',monospace; text-align: center; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero-pro { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .hero-img-wrap-pro { justify-content: center; order: -1; }
  .hero-img-pro { width: 100%; height: 260px; }
  body.pro .about-grid { grid-template-columns: 1fr; }
  body.pro .contact-grid { grid-template-columns: 1fr; }
  .hero-sidebar-layout { flex-direction: column; }
  .hero-sidebar { width: 100%; }
  .photo-grid { grid-template-columns: repeat(2,1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open {
  opacity: 1; pointer-events: all;
}
#lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

/* Box */
#lightbox-box {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  max-width: min(880px, 94vw);
  max-height: 92vh;
  width: 100%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#lightbox.open #lightbox-box {
  transform: translateY(0) scale(1);
}

/* Pro box */
body.pro #lightbox-box {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* Y2K box */
body.y2k #lightbox-box {
  background: linear-gradient(135deg, rgba(0,0,80,0.98), rgba(0,0,30,0.99));
  border: 2px solid #00ffff;
  box-shadow: 0 0 40px rgba(0,255,255,0.3), 0 0 80px rgba(255,0,255,0.15);
}
body.y2k #lightbox-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, #ff00ff, #00ffff, transparent);
  animation: scanbar 3s linear infinite;
  z-index: 2;
}

/* Image area */
#lightbox-img-wrap {
  width: 100%; flex-shrink: 0;
  max-height: 60vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
#lightbox-img {
  width: 100%; max-height: 60vh;
  object-fit: contain; display: block;
  transition: opacity 0.2s;
}
#lightbox-img.loading { opacity: 0.3; }

/* Info panel */
#lightbox-info {
  padding: 20px 24px 16px;
  flex-shrink: 0;
}
body.pro #lightbox-info { border-top: 1px solid rgba(0,0,0,0.08); }
body.y2k #lightbox-info { border-top: 1px solid rgba(0,255,255,0.2); }

#lightbox-tag {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; margin-bottom: 6px;
}
body.pro #lightbox-tag { color: #C8873A; font-family: 'Instrument Sans', sans-serif; }
body.y2k #lightbox-tag { color: #ff00ff; font-family: 'VT323', monospace; font-size: 14px; text-shadow: 0 0 6px #ff00ff; border: 1px solid #ff00ff; display: inline-block; padding: 0 6px; }

#lightbox-title {
  margin-bottom: 8px;
}
body.pro #lightbox-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: #1A1714; }
body.y2k #lightbox-title { font-family: 'Orbitron', sans-serif; font-size: 16px; font-weight: 700; color: #00ffff; text-shadow: 0 0 10px #00ffff; letter-spacing: 2px; text-transform: uppercase; }

#lightbox-desc {
  font-size: 14px; line-height: 1.7; font-weight: 300;
}
body.pro #lightbox-desc { color: #4A4540; font-family: 'Instrument Sans', sans-serif; }
body.y2k #lightbox-desc { color: #aaccff; font-family: 'Share Tech Mono', monospace; font-size: 12px; }

#lightbox-link {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; transition: all 0.2s;
}
body.pro #lightbox-link { color: #C8873A; border-bottom: 1px solid #C8873A; padding-bottom: 1px; font-family: 'Instrument Sans', sans-serif; }
body.pro #lightbox-link:hover { color: #8B5E2A; }
body.y2k #lightbox-link { color: #00ffff; font-family: 'Orbitron', sans-serif; font-size: 10px; border: 1px solid #00ffff; padding: 4px 12px; }
body.y2k #lightbox-link:hover { background: rgba(0,255,255,0.1); text-shadow: 0 0 8px #00ffff; }

/* Counter */
#lightbox-counter {
  position: absolute; bottom: 16px; right: 60px;
  font-size: 11px; letter-spacing: 2px;
}
body.pro #lightbox-counter { color: #8A8480; font-family: 'Instrument Sans', sans-serif; }
body.y2k #lightbox-counter { color: #667799; font-family: 'Share Tech Mono', monospace; font-size: 10px; }

/* Close button */
#lightbox-close {
  position: absolute; top: 12px; right: 14px; z-index: 10;
  background: none; border: none; font-size: 28px; line-height: 1;
  cursor: pointer; transition: all 0.2s; padding: 4px 8px;
}
body.pro #lightbox-close { color: #8A8480; }
body.pro #lightbox-close:hover { color: #1A1714; }
body.y2k #lightbox-close { color: #ff00ff; text-shadow: 0 0 8px #ff00ff; font-family: 'VT323', monospace; font-size: 32px; }
body.y2k #lightbox-close:hover { color: #00ffff; text-shadow: 0 0 12px #00ffff; }

/* Prev / Next arrows */
#lightbox-prev,
#lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 48px; line-height: 1;
  cursor: pointer; z-index: 10; transition: all 0.2s;
  padding: 0 10px; user-select: none;
}
#lightbox-prev { left: -56px; }
#lightbox-next { right: -56px; }

body.pro #lightbox-prev, body.pro #lightbox-next { color: rgba(255,255,255,0.7); }
body.pro #lightbox-prev:hover, body.pro #lightbox-next:hover { color: #fff; }
body.y2k #lightbox-prev, body.y2k #lightbox-next { color: #00ffff; text-shadow: 0 0 10px #00ffff; }
body.y2k #lightbox-prev:hover, body.y2k #lightbox-next:hover { color: #ff00ff; text-shadow: 0 0 14px #ff00ff; }

/* Hide arrows when only 1 item */
#lightbox.single #lightbox-prev,
#lightbox.single #lightbox-next { display: none; }

/* Work card cursor hint */
body.pro .work-card  { cursor: zoom-in; }
body.pro .photo-item { cursor: zoom-in; }
body.y2k .work-card  { cursor: pointer; }
body.y2k .photo-item { cursor: pointer; }

@media (max-width: 600px) {
  #lightbox-prev { left: 4px; font-size: 32px; }
  #lightbox-next { right: 4px; font-size: 32px; }
  #lightbox-info { padding: 14px 16px 12px; }
}
