﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
:root {
  --bg-dark:      #0d0500;
  --bg-mid:       #1a0a00;
  --pumpkin:      #e8610a;
  --burnt:        #c2440a;
  --amber:        #f59e0b;
  --rust:         #b45309;
  --peach:        #fdba74;
  --cream:        #fff7ed;
  --glass-bg:     rgba(232,97,10,0.08);
  --glass-border: rgba(232,97,10,0.18);
  --text:         #fff7ed;
  --muted:        #fdba74;
  --font:         'Inter', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HERO SHELL ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 90px;
}

/* ── BACKGROUND BLOBS ── */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.50;
  pointer-events: none;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #7c2d12 0%, transparent 70%);
  top: -200px; left: -150px;
}
.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c2440a 0%, transparent 70%);
  top: 80px; right: -100px;
}
.blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #92400e 0%, transparent 70%);
  bottom: -100px; left: 40%;
}
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

/* ── GLASS UTIL ── */
.glass {
  background: rgba(26, 10, 0, 0.65);
  border: 1px solid rgba(232,97,10,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  width: calc(100% - 64px);
  max-width: 1200px;
  border-radius: 100px;
  background: rgba(13,5,0,0.65);
  border: 1px solid rgba(232,97,10,0.20);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* scrolled — full width bar */
.navbar.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 14px 48px;
  background: rgba(13,5,0,0.92);
  border-color: rgba(232,97,10,0.15);
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

/* light section variant */
.navbar.scrolled-light {
  background: rgba(255,247,237,0.88);
  border-color: rgba(232,97,10,0.22);
  box-shadow: 0 8px 32px rgba(194,68,10,0.12);
}
.navbar.scrolled-light .logo-text { color: #1a0500; }
.navbar.scrolled-light .nav-item  { color: #7c2d12; }
.navbar.scrolled-light .nav-item:hover,
.navbar.scrolled-light .nav-item.active { color: #c2440a; background: rgba(232,97,10,0.08); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pumpkin), var(--amber));
  box-shadow: 0 0 12px var(--pumpkin);
}
.logo-text { color: var(--text); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-item {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-item:hover, .nav-item.active {
  color: var(--text);
  background: rgba(232,97,10,0.12);
}
.nav-item.active {
  background: rgba(194,68,10,0.25);
  color: #fed7aa;
}

.btn-hire {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #c2440a, #e8610a);
  color: #fff7ed;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(232,97,10,0.40);
  transition: all 0.2s;
}
.btn-hire:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(232,97,10,0.60);
}
.hire-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fed7aa;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}

/* ── HERO BODY ── */
.hero-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 80px 60px;
  gap: 40px;
}

/* ── LEFT ── */
.hero-left {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,97,10,0.12);
  border: 1px solid rgba(232,97,10,0.30);
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pumpkin);
}
.pulse {
  box-shadow: 0 0 0 0 rgba(232,97,10,0.6);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(232,97,10,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(232,97,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,97,10,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, #e8610a 0%, #f59e0b 50%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: #fdba74;
  line-height: 1.7;
  max-width: 420px;
  font-weight: 400;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #c2440a, #e8610a);
  color: #fff7ed;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  box-shadow: 0 6px 30px rgba(232,97,10,0.40);
  transition: all 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(232,97,10,0.60);
}
.btn-ghost {
  text-decoration: none;
  color: #fdba74;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid rgba(232,97,10,0.25);
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(232,97,10,0.50);
  background: rgba(232,97,10,0.08);
}

/* ── TECH BADGES ── */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(232,97,10,0.20);
  background: rgba(194,68,10,0.08);
  color: #fdba74;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
  animation: float-badge 4s ease-in-out infinite;
}
.tech-badge:hover { transform: translateY(-2px); color: var(--text); }
.badge-react      { animation-delay: 0s;   border-color: rgba(251,146,60,0.30); }
.badge-uiux       { animation-delay: 0.5s; border-color: rgba(245,158,11,0.30); }
.badge-responsive { animation-delay: 1s;   border-color: rgba(232,97,10,0.30); }
.badge-ts         { animation-delay: 1.5s; border-color: rgba(180,83,9,0.40); }

@keyframes float-badge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}

/* ── RIGHT / WORKSPACE ── */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 520px;
}

.workspace {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 500px;
}

.workspace-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.22) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(55px);
  pointer-events: none;
}

/* ── MONITORS ── */
.monitor {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.60), 0 0 0 1px rgba(232,97,10,0.12);
}
.monitor-main {
  width: 360px;
  top: 30px; left: 60px;
  z-index: 3;
  animation: float-monitor 6s ease-in-out infinite;
}
.monitor-side {
  width: 220px;
  top: 60px; right: 0;
  z-index: 2;
  z-index: 2;
  animation: float-monitor 6s ease-in-out infinite 1s;
}
@keyframes float-monitor {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-10px) rotate(0.3deg); }
}

/* ── WINDOWS TITLE BAR ── */
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(10, 4, 0, 0.92);
  border-bottom: 1px solid rgba(232,97,10,0.14);
}
.win-title-icon { display:inline-flex; align-items:center; margin-right: 2px; }
.win-bar .monitor-title {
  flex: 1;
  font-size: 0.70rem;
  color: #fdba74;
  font-weight: 500;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-controls { display: flex; gap: 0; margin-left: auto; }
.win-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 22px;
  font-size: 0.65rem;
  color: #fdba74;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.win-btn:hover   { background: rgba(232,97,10,0.22); }
.win-close:hover { background: #7c2d12; color: #fff; }

/* ── CODE BLOCK ── */
.code-block {
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  background: rgba(8, 3, 0, 0.88);
}
.code-block.small { font-size: 0.68rem; }
.code-line { white-space: nowrap; }
.code-line.empty { height: 1.2em; }
.indent  { padding-left: 16px; }
.indent2 { padding-left: 32px; }
.indent3 { padding-left: 48px; }
.indent4 { padding-left: 64px; }

/* syntax — pumpkin palette */
.kw   { color: #fb923c; }
.fn   { color: #fdba74; }
.str  { color: #fed7aa; }
.tag  { color: #f97316; }
.attr { color: #fbbf24; }
.txt  { color: #fff7ed; }
.sel  { color: #fdba74; }
.prop { color: #fb923c; }
.val  { color: #fed7aa; }
.cmt  { color: #fb923c; opacity: 0.45; font-style: italic; }

.cursor-line { padding-left: 0; }
.cursor-blink {
  color: var(--pumpkin);
  animation: blink 1s step-end infinite;
  font-weight: 100;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── TERMINAL PANEL ── */
.terminal-panel { border-top: 1px solid rgba(232,97,10,0.14); }
.terminal-body {
  background: rgba(5, 2, 0, 0.94);
  padding: 10px 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.70rem;
  line-height: 1.8;
}
.term-line   { white-space: nowrap; }
.term-prompt { color: #fb923c; font-weight: 600; }
.term-cmd    { color: #fff7ed; }
.term-out    { color: #fdba74; font-weight: 600; padding-left: 2px; }

/* ── UI CARDS ── */
.ui-card {
  position: absolute;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(194,68,10,0.35);
  z-index: 5;
}
.card-component {
  width: 200px;
  bottom: 60px; left: 20px;
  animation: float-card 5s ease-in-out infinite;
}
.card-palette {
  width: 180px;
  bottom: 20px; right: 20px;
  animation: float-card 5s ease-in-out infinite 0.8s;
}
.card-stats {
  width: 150px;
  top: 20px; right: 30px;
  animation: float-card 5s ease-in-out infinite 1.6s;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c2440a, #e8610a);
}
.card-name { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.card-sub  { font-size: 0.65rem; color: #fdba74; }
.card-status {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fdba74;
  background: rgba(232,97,10,0.15);
  border: 1px solid rgba(232,97,10,0.32);
  padding: 2px 8px;
  border-radius: 100px;
}

.card-preview { display: flex; gap: 8px; }
.preview-btn {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, #c2440a, #e8610a);
  color: #fff7ed;
}
.preview-btn.ghost {
  background: transparent;
  border: 1px solid rgba(232,97,10,0.25);
  color: #fdba74;
}

.palette-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fdba74;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.palette-swatches { display: flex; gap: 6px; }
.swatch {
  width: 24px; height: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.stat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stat-icon  { display:flex; align-items:center; justify-content:center; }
.stat-num   { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.65rem; color: #fdba74; }
.stat-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.stat-bar {
  height: 100%;
  background: linear-gradient(90deg, #c2440a, #f59e0b);
  border-radius: 100px;
}

/* ── HOLOGRAPHIC RINGS ── */
.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}
.ring-1 {
  width: 300px; height: 300px;
  border-color: rgba(232,97,10,0.20);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotateX(70deg);
  animation: spin-ring 14s linear infinite;
}
.ring-2 {
  width: 220px; height: 220px;
  border-color: rgba(245,158,11,0.20);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotateX(70deg) rotate(45deg);
  animation: spin-ring 10s linear infinite reverse;
}
@keyframes spin-ring {
  from { transform: translate(-50%,-50%) rotateX(70deg) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotateX(70deg) rotate(360deg); }
}

/* ── FLOATING DOTS ── */
.float-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.dot-a {
  width: 8px; height: 8px;
  background: var(--pumpkin);
  box-shadow: 0 0 12px var(--pumpkin);
  top: 15%; left: 15%;
  animation: orbit 8s linear infinite;
}
.dot-b {
  width: 6px; height: 6px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  bottom: 25%; right: 10%;
  animation: orbit 6s linear infinite reverse;
}
.dot-c {
  width: 5px; height: 5px;
  background: var(--peach);
  box-shadow: 0 0 8px var(--peach);
  top: 60%; left: 5%;
  animation: orbit 10s linear infinite;
}
@keyframes orbit {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(12px,-8px); }
  50%  { transform: translate(0,-16px); }
  75%  { transform: translate(-12px,-8px); }
  100% { transform: translate(0,0); }
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fdba74;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, #fdba74);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%,100% { opacity:0.3; transform:scaleY(1); }
  50%     { opacity:1;   transform:scaleY(1.2); }
}

/* ── MINI EDITOR ── */
.card-editor-wrap {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232,97,10,0.20);
}
.mini-editor {
  width: 100%;
  min-height: 64px;
  background: rgba(5, 2, 0, 0.90);
  color: #fdba74;
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  line-height: 1.6;
  padding: 8px 10px;
  border: none;
  outline: none;
  resize: vertical;
  caret-color: #e8610a;
}
.mini-editor::selection { background: rgba(232,97,10,0.30); }

.mini-output {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: #fb923c;
  background: rgba(5,2,0,0.80);
  border-radius: 6px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border: 1px solid transparent;
  word-break: break-all;
}
.mini-output.has-output {
  padding: 6px 10px;
  max-height: 80px;
  border-color: rgba(232,97,10,0.18);
  margin-top: 8px;
  overflow-y: auto;
}
.mini-output.is-error { color: #f87171; }

.preview-btn { cursor: pointer; border: none; }

/* ── WINDOW STATE TRANSITIONS ── */
.monitor { transition: opacity 0.2s, transform 0.2s, width 0.25s, height 0.25s; overflow: hidden; }

/* ── WELCOME OVERLAY ── */
.welcome-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,97,10,0.08) 0%, transparent 70%);
  border-radius: 16px;
  gap: 12px;
}
.welcome-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* monitors and cards always on top of overlay */
.monitor        { z-index: 3 !important; }
.monitor-main   { z-index: 4 !important; }
.ui-card        { z-index: 5 !important; }
.holo-ring,
.float-dot,
.workspace-glow { z-index: 1; }

.welcome-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e8610a 0%, #f59e0b 60%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  animation: title-glow 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes title-glow {
  0%,100% { filter: brightness(1); }
  50%      { filter: brightness(1.35); }
}

/* ── AI FACE — fills workspace ── */
.ai-corner {
  position: relative;
  width: 88%;
  max-width: 420px;
  aspect-ratio: 1;
}
.ai-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(232,97,10,0.45));
  animation: ai-breathe 4s ease-in-out infinite;
}
@keyframes ai-breathe {
  0%,100% { filter: drop-shadow(0 0 12px rgba(232,97,10,0.35)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 28px rgba(245,158,11,0.65)); transform: scale(1.02); }
}

/* rings spin */
.ai-ring { transform-origin: 100px 100px; }
.ai-ring-1 { animation: spin-slow 14s linear infinite; }
.ai-ring-2 { animation: spin-slow 9s linear infinite reverse; }
.ai-ring-3 { animation: spin-slow 18s linear infinite; }
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* scan line */
.ai-scan { animation: scan-move 3s ease-in-out infinite; }
@keyframes scan-move {
  0%,100% { transform: translateY(-14px); opacity: 0.1; }
  50%      { transform: translateY(14px);  opacity: 0.4; }
}

/* eyes pulse */
.ai-eye   { animation: eye-pulse 3s ease-in-out infinite; }
.ai-pupil { animation: eye-pulse 3s ease-in-out infinite; }
@keyframes eye-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* mouth — driven by JS only */
@keyframes mouth-talk {
  from { transform: scaleY(1); }
  to   { transform: scaleY(2.4); }
}


/* data nodes drift */
.ai-node { animation: node-drift 4s ease-in-out infinite; }
.n1 { animation-delay: 0s; }
.n2 { animation-delay: 1s; }
.n3 { animation-delay: 2s; }
.n4 { animation-delay: 3s; }
@keyframes node-drift {
  0%,100% { transform: translate(0,0); opacity: 0.7; }
  50%      { transform: translate(0,-6px); opacity: 1; }
}

/* waveform bars */
.wave { animation: wave-bar 0.8s ease-in-out infinite alternate; transform-origin: bottom; }
.w1 { animation-delay: 0s; }
.w2 { animation-delay: 0.1s; }
.w3 { animation-delay: 0.2s; }
.w4 { animation-delay: 0.3s; }
.w5 { animation-delay: 0.4s; }
.w6 { animation-delay: 0.3s; }
.w7 { animation-delay: 0.2s; }
.w8 { animation-delay: 0.1s; }
@keyframes wave-bar {
  from { transform: scaleY(0.3); opacity: 0.35; }
  to   { transform: scaleY(1.7); opacity: 1; }
}

/* floating particles */
.ai-particle {
  position: absolute;
  border-radius: 50%;
  background: #e8610a;
  pointer-events: none;
}
.p1 { width:5px; height:5px; top:8%;  left:8%;   animation: particle-float 5s ease-in-out infinite 0s; }
.p2 { width:4px; height:4px; top:15%; right:6%;  animation: particle-float 4s ease-in-out infinite 1s;   background:#f59e0b; }
.p3 { width:4px; height:4px; bottom:18%; left:4%; animation: particle-float 6s ease-in-out infinite 2s;  background:#fdba74; }
.p4 { width:3px; height:3px; bottom:8%;  right:12%; animation: particle-float 4.5s ease-in-out infinite 0.5s; }
.p5 { width:3px; height:3px; top:40%;  left:2%;  animation: particle-float 5.5s ease-in-out infinite 1.5s; background:#fb923c; }
.p6 { width:4px; height:4px; top:50%;  right:3%; animation: particle-float 3.8s ease-in-out infinite 0.8s; background:#f59e0b; }
@keyframes particle-float {
  0%   { transform: translate(0,0);      opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.7; }
  100% { transform: translate(-8px,-24px); opacity: 0; }
}

/* ── AI SPEECH BUBBLE ── */
.ai-bubble {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(20, 8, 0, 0.88);
  border: 1px solid rgba(232,97,10,0.45);
  color: #fdba74;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(232,97,10,0.25);
  letter-spacing: 0.01em;
  z-index: 10;
  animation: none;
}
.ai-bubble.show {
  animation: bubble-in 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.6s forwards,
             bubble-out 0.35s ease-in 3.2s forwards;
}
.ai-bubble-tail {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 7px;
  background: rgba(20,8,0,0.88);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-bottom: 1px solid rgba(232,97,10,0.45);
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateX(-50%) scale(0.75) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) scale(1)    translateY(0); }
}
@keyframes bubble-out {
  from { opacity: 1; transform: translateX(-50%) scale(1)    translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) scale(0.85) translateY(-4px); }
}

/* ── SPEECH WAVEFORM CANVAS ── */
#ai-waveform {
  display: block;
  width: 72%;
  height: 36px;
  margin: 6px auto 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* ── AI ENTRANCE ANIMATION ── */
/* 1. face hidden until entrance runs */
.ai-corner { opacity: 1; }
.ai-svg { opacity: 0; }

/* scan beam that sweeps top→bottom */
.ai-scan-beam {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, #e8610a, #f59e0b, #e8610a, transparent);
  box-shadow: 0 0 18px 4px rgba(232,97,10,0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}
.ai-scan-beam.scanning {
  opacity: 1;
  animation: beam-sweep 0.9s cubic-bezier(0.4,0,0.6,1) forwards;
}
@keyframes beam-sweep {
  from { top: 0%;   opacity: 1; }
  to   { top: 100%; opacity: 0.2; }
}

/* 2. grid overlay that fades in then out */
.ai-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,97,10,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,97,10,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 19;
  border-radius: 50%;
  transition: opacity 0.3s;
}
.ai-grid-overlay.visible { opacity: 1; }

/* 3. SVG face draws itself via stroke-dashoffset */
.ai-svg { opacity: 0; }
.ai-svg.drawing { opacity: 1; }

/* circuit lines that animate in */
.ai-circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 18;
  opacity: 0;
  transition: opacity 0.2s;
}
.ai-circuit.visible { opacity: 1; }

/* 4. glitch flicker before final reveal */
@keyframes ai-glitch {
  0%   { clip-path: inset(0 0 95% 0); opacity: 0.8; transform: translateX(-3px); }
  10%  { clip-path: inset(30% 0 50% 0); opacity: 0.6; transform: translateX(3px); }
  20%  { clip-path: inset(60% 0 20% 0); opacity: 0.9; transform: translateX(-2px); }
  30%  { clip-path: inset(10% 0 70% 0); opacity: 0.5; transform: translateX(2px); }
  40%  { clip-path: inset(80% 0 5%  0); opacity: 0.8; transform: translateX(-1px); }
  50%  { clip-path: inset(0 0 0 0);     opacity: 1;   transform: translateX(0); }
  100% { clip-path: inset(0 0 0 0);     opacity: 1;   transform: translateX(0); }
}
.ai-svg.glitching {
  animation: ai-glitch 0.5s steps(1) forwards;
}

/* 5. final fade-in with scale */
@keyframes ai-materialize {
  from { opacity: 0; transform: scale(0.88); filter: brightness(2) blur(4px); }
  to   { opacity: 1; transform: scale(1);    filter: brightness(1) blur(0); }
}
.ai-svg.materialized {
  animation: ai-materialize 0.6s cubic-bezier(0.34,1.2,0.64,1) forwards;
}

/* data stream lines */
@keyframes data-stream {
  from { stroke-dashoffset: 200; opacity: 0; }
  to   { stroke-dashoffset: 0;   opacity: 0.6; }
}
.stream-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.stream-line.animate {
  animation: data-stream 0.6s ease forwards;
}

/* ══════════════════════════════════════════
   ABOUT SECTION — pumpkin + warm white
══════════════════════════════════════════ */
.about-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 80px;
  gap: 60px;
  overflow: hidden;
  background: #fff7ed;
}
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,97,10,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(245,158,11,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* stars → soft pumpkin freckles */
.about-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ab-star {
  position: absolute; border-radius: 50%;
  background: rgba(232,97,10,0.18);
  animation: ab-twinkle 3s ease-in-out infinite;
}
@keyframes ab-twinkle { 0%,100%{opacity:.15} 50%{opacity:.55} }

/* ── LEFT ── */
.about-left {
  position: relative; z-index: 2;
  flex: 0 0 38%;
  display: flex; flex-direction: column; gap: 24px;
}
.about-tag {
  display: inline-flex; align-items: center;
  background: rgba(232,97,10,0.12);
  border: 1px solid rgba(232,97,10,0.3);
  color: #c2440a;
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 14px; border-radius: 100px;
  width: fit-content; text-transform: uppercase; letter-spacing: 0.06em;
}
.about-heading {
  font-size: clamp(2.2rem,4vw,3.4rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.03em; color: #1a0500;
}

.about-grad {
  background: linear-gradient(135deg,#e8610a,#fdba74,#fed7aa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-desc { font-size: 1rem; color: #7c2d12; line-height: 1.75; max-width: 380px; }
.about-stats { display: flex; gap: 32px; }
.about-stat  { display: flex; flex-direction: column; gap: 2px; }
.stat-n { font-size: 1.8rem; font-weight: 900; color: #1a0500; letter-spacing: -0.04em; }
.stat-l { font-size: 0.72rem; color: #92400e; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.about-btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg,#c2440a,#e8610a);
  color: #1a0500; font-size: 0.9rem; font-weight: 600;
  padding: 13px 26px; border-radius: 100px; width: fit-content;
  box-shadow: 0 6px 28px rgba(232,97,10,0.4);
  transition: all 0.25s;
}
.about-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(232,97,10,0.6); }

/* ── RIGHT ── */
.about-right {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 560px;
}
.iso-scene {
  position: relative;
  width: 540px; height: 520px;
}

/* ── WINDOWS ── */
.iso-win {
  position: absolute;
  background: rgba(255,247,237,0.92);
  border: 1px solid rgba(232,97,10,0.25);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(194,68,10,0.12), 0 0 0 1px rgba(232,97,10,0.08);
  overflow: hidden;
}
.iso-win-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 10px;
  background: rgba(232,97,10,0.06);
  border-bottom: 1px solid rgba(232,97,10,0.15);
}
.iso-dot { width: 8px; height: 8px; border-radius: 50%; }
.iso-dot.idr { background: #ff5f57; }
.iso-dot.ido { background: #febc2e; }
.iso-dot.idg { background: #28c840; }
.iso-win-title { font-size: 0.62rem; color: #7c2d12; margin-left: 6px; font-weight: 500; }
.iso-live-dot  { margin-left: auto; font-size: 0.58rem; color: #c2440a; font-weight: 700; }

.win-code    { width: 195px; top: 18px; left: 20px; }
.win-profile { width: 185px; top: 155px; left: 0; }
.win-live    { width: 195px; top: 35px; left: 175px; }
.win-cmd     { width: 165px; top: 195px; right: 15px; }

/* code */
.iso-code { padding: 10px 12px; font-family: 'Courier New', monospace; font-size: 0.6rem; line-height: 1.7; }
.ic-line  { white-space: nowrap; }
.ic-i     { padding-left: 12px; }
.ic-kw    { color: #c2440a; }
.ic-fn    { color: #0369a1; }
.ic-tag   { color: #be185d; }
.ic-at    { color: #92400e; }
.ic-st    { color: #166534; }
.ic-cm    { color: #a16207; font-style: italic; }

/* profile */
.iso-profile-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 6px; }
.iso-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#c2440a,#e8610a); flex-shrink: 0; }
.iso-avatar.sm { width: 22px; height: 22px; }
.iso-pname  { font-size: 0.68rem; font-weight: 700; color: #1a0500; }
.iso-prole  { font-size: 0.58rem; color: #7c2d12; }
.iso-pbadge { font-size: 0.52rem; color: #c2440a; background: rgba(232,97,10,0.12); border: 1px solid rgba(232,97,10,0.28); padding: 1px 6px; border-radius: 100px; margin-top: 2px; display: inline-block; }
.iso-profile-body { padding: 0 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.iso-pline { height: 4px; background: rgba(232,97,10,0.22); border-radius: 2px; }
.iso-pline.w80 { width: 80%; } .iso-pline.w70 { width: 70%; }
.iso-pline.w60 { width: 60%; } .iso-pline.w50 { width: 50%; }

/* cursors */
.iso-cursor-el { position: absolute; pointer-events: none; }
.cur-red   { bottom: 18px; right: 14px; }
.cur-white { bottom: 8px;  right: 8px; }

/* chart */
.iso-chart { padding: 8px 10px; }
.iso-chart svg { width: 100%; height: 68px; }
.iso-chart-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: iso-draw 2s ease forwards 0.8s; }
@keyframes iso-draw { to { stroke-dashoffset: 0; } }

/* cmd */
.iso-cmd-btns { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.iso-cmd-btn  { display: flex; justify-content: space-between; align-items: center; font-size: 0.62rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.icb-red   { background: rgba(239,68,68,0.18); color: #fca5a5; border: 1px solid rgba(239,68,68,0.28); }
.icb-amber { background: rgba(245,158,11,0.18); color: #92400e; border: 1px solid rgba(245,158,11,0.28); }

/* doc + tag cards */
.iso-doc-card {
  position: absolute; top: 8px; right: 25px;
  width: 110px;
  background: rgba(255,247,237,0.90);
  border: 1px solid rgba(232,97,10,0.2);
  border-radius: 8px; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 18px rgba(194,68,10,0.10);
}
.iso-card-lines { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.iso-tag-card {
  position: absolute; top: 115px; right: 5px;
  width: 36px; height: 36px;
  background: rgba(255,247,237,0.90);
  border: 1px solid rgba(232,97,10,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(194,68,10,0.10);
}

/* INTERACTIVE */
.iso-interactive {
  position: absolute; bottom: 145px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.iso-interactive span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.92);
  color: #1a0500; font-size: 0.65rem; font-weight: 800;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 10px rgba(232,97,10,0.3);
  animation: ikey-glow 2s ease-in-out infinite;
}
.iso-interactive span:nth-child(even) { background: rgba(232,97,10,0.88); color: white; }
@keyframes ikey-glow {
  0%,100% { box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 8px rgba(232,97,10,0.3); }
  50%      { box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 18px rgba(232,97,10,0.7); }
}

/* KEYBOARD */
.iso-keyboard {
  position: absolute; bottom: 55px; left: 50%;
  transform: translateX(-50%);
  width: 270px;
}
.iso-kb-surface {
  background: linear-gradient(160deg,#fde8d8,#fbd5b8);
  border-radius: 8px 8px 0 0;
  padding: 10px 12px 8px;
  display: flex; flex-direction: column; gap: 5px;
  border: 1px solid rgba(232,97,10,0.3);
  box-shadow: 0 0 28px rgba(232,97,10,0.22), inset 0 1px 0 rgba(255,255,255,0.04);
}
.iso-kb-row  { display: flex; gap: 4px; }
.iso-key     { width: 19px; height: 17px; background: rgba(255,255,255,0.07); border-radius: 3px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 2px 0 rgba(0,0,0,0.4); }
.iso-key.kl  { background: rgba(232,97,10,0.32); border-color: rgba(232,97,10,0.48); box-shadow: 0 2px 0 rgba(0,0,0,0.4), 0 0 7px rgba(232,97,10,0.4); }
.iso-space   { width: 150px; }
.iso-kb-side  { height: 7px; background: #f5c9a8; border: 1px solid rgba(232,97,10,0.18); border-top: none; margin-left: 3px; }
.iso-kb-front { height: 5px; background: #f0c0a0; border-radius: 0 0 4px 4px; border: 1px solid rgba(232,97,10,0.12); border-top: none; }
.iso-hand-cursor {
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 8px rgba(232,97,10,0.5));
  animation: hand-bob 2s ease-in-out infinite;
}
@keyframes hand-bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-5px)} }

/* MOUSE */
.iso-mouse {
  position: absolute; bottom: 52px; right: 72px;
  display: flex; flex-direction: column; align-items: center;
}
.iso-mouse-top {
  width: 26px; height: 10px;
  background: #fde8d8; border-radius: 13px 13px 0 0;
  border: 1px solid rgba(232,97,10,0.3); border-bottom: none;
}
.iso-mouse-body {
  width: 26px; height: 34px;
  background: linear-gradient(160deg,#fde8d8,#fbd5b8);
  border-radius: 0 0 13px 13px;
  border: 1px solid rgba(232,97,10,0.3); border-top: none;
  display: flex; justify-content: center; padding-top: 6px;
  box-shadow: 0 4px 14px rgba(194,68,10,0.12), 0 0 10px rgba(232,97,10,0.18);
}
.iso-mouse-scroll { width: 2px; height: 10px; background: rgba(232,97,10,0.6); border-radius: 1px; }

/* MONITOR */
.iso-monitor {
  position: absolute; top: 55px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.iso-mon-screen {
  width: 190px;
  background: rgba(255,247,237,0.96);
  border: 1px solid rgba(232,97,10,0.28);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 28px rgba(232,97,10,0.18), 0 8px 28px rgba(194,68,10,0.12);
}
.iso-mon-neck { width: 10px; height: 18px; background: #f0c0a0; }
.iso-mon-base { width: 46px; height: 5px; background: #f0c0a0; border-radius: 3px; }

/* NOTEPAD */
.iso-notepad {
  position: absolute; bottom: 50px; right: 36px;
  width: 55px; background: #f0f0e8;
  border-radius: 3px; padding: 7px 6px;
  box-shadow: 0 4px 14px rgba(194,68,10,0.10);
  display: flex; flex-direction: column; gap: 4px;
}
.iso-np-line { height: 2px; background: #c0c0b0; border-radius: 1px; width: 100%; }

/* MUG */
.iso-mug {
  position: absolute; bottom: 44px; right: 6px;
  display: flex; align-items: flex-end;
  position: absolute;
}
.iso-mug-body {
  width: 30px; height: 34px;
  background: linear-gradient(160deg,#fde8d8,#fbd5b8);
  border-radius: 3px 3px 6px 6px;
  border: 1px solid rgba(232,97,10,0.28);
  box-shadow: 0 4px 14px rgba(194,68,10,0.12);
}
.iso-mug-handle {
  width: 9px; height: 14px;
  border: 2px solid rgba(232,97,10,0.45);
  border-left: none; border-radius: 0 8px 8px 0;
  margin-bottom: 8px;
}
.iso-mug-steam {
  position: absolute;
  width: 3px; height: 9px;
  background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
  border-radius: 2px;
  animation: mug-steam 1.6s ease-in-out infinite;
}
.iso-mug { position: absolute; bottom: 44px; right: 6px; }
.iso-mug-steam { position: absolute; }
.s1 { bottom: 34px; left: 6px;  animation-delay: 0s; }
.s2 { bottom: 34px; left: 14px; animation-delay: 0.4s; }
@keyframes mug-steam { 0%{transform:translateY(0);opacity:.5} 100%{transform:translateY(-12px);opacity:0} }

/* GEO SHAPES */
.iso-geo { position: absolute; opacity: 0.45; }
.geo-tri {
  width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-bottom: 12px solid #e8610a;
  top: 28px; right: 75px;
  animation: geo-bob 4s ease-in-out infinite;
}
.geo-sq {
  width: 9px; height: 9px; background: #fdba74; border-radius: 2px;
  top: 75px; left: 8px; transform: rotate(45deg);
  animation: geo-bob 5s ease-in-out infinite 1s;
}
.geo-dia {
  width: 11px; height: 11px; background: transparent;
  border: 2px solid #fed7aa; transform: rotate(45deg);
  bottom: 115px; right: 55px;
  animation: geo-bob 3.5s ease-in-out infinite 0.5s;
}
@keyframes geo-bob { 0%,100%{transform:translateY(0) rotate(45deg)} 50%{transform:translateY(-8px) rotate(45deg)} }
.geo-tri { animation: geo-bob-tri 4s ease-in-out infinite; }
@keyframes geo-bob-tri { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* SPARKLE */
.iso-sparkle {
  position: absolute; bottom: 16px; right: 16px;
  font-size: 1.3rem; color: #1a0500; opacity: 0.55;
  animation: sparkle-pulse 5s ease-in-out infinite;
}
@keyframes sparkle-pulse { 0%,100%{transform:scale(1) rotate(0deg);opacity:.55} 50%{transform:scale(1.3) rotate(180deg);opacity:1} }

/* FLOAT ANIMATIONS */
.iso-float-a { animation: iso-bob 6s ease-in-out infinite 0s; }
.iso-float-b { animation: iso-bob 6s ease-in-out infinite 0.8s; }
.iso-float-c { animation: iso-bob 6s ease-in-out infinite 1.4s; }
.iso-float-d { animation: iso-bob 6s ease-in-out infinite 0.4s; }
.iso-float-e { animation: iso-bob 5s ease-in-out infinite 1s; }
.iso-float-f { animation: iso-bob 4s ease-in-out infinite 0.2s; }
@keyframes iso-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ── ABOUT SECTION LIGHT OVERRIDES ── */
.about-section { background: #fff7ed !important; }
.about-heading { color: #1a0500 !important; }
.stat-n        { color: #1a0500 !important; }
.about-desc    { color: #7c2d12 !important; }
.about-tag     { color: #c2440a !important; background: rgba(232,97,10,0.08) !important; border-color: rgba(232,97,10,0.25) !important; }

.iso-win       { background: rgba(255,255,255,0.88) !important; border-color: rgba(232,97,10,0.18) !important; box-shadow: 0 6px 24px rgba(194,68,10,0.10) !important; }
.iso-win-bar   { background: rgba(232,97,10,0.05) !important; border-bottom-color: rgba(232,97,10,0.10) !important; }
.iso-win-title { color: #7c2d12 !important; }
.iso-live-dot  { color: #c2440a !important; }
.iso-pname     { color: #1a0500 !important; }
.iso-prole     { color: #7c2d12 !important; }
.ic-kw  { color: #c2440a !important; }
.ic-fn  { color: #92400e !important; }
.ic-tag { color: #b45309 !important; }
.ic-at  { color: #78350f !important; }
.ic-st  { color: #166534 !important; }
.ic-cm  { color: #a16207 !important; }

.iso-kb-surface { background: linear-gradient(160deg,#fde8d8,#fbd5b8) !important; box-shadow: 0 0 20px rgba(232,97,10,0.12) !important; }
.iso-key        { background: rgba(255,255,255,0.75) !important; border-color: rgba(232,97,10,0.15) !important; box-shadow: 0 2px 0 rgba(194,68,10,0.2) !important; }
.iso-key.kl     { background: rgba(232,97,10,0.22) !important; border-color: rgba(232,97,10,0.4) !important; box-shadow: 0 2px 0 rgba(194,68,10,0.25), 0 0 6px rgba(232,97,10,0.25) !important; }
.iso-kb-side    { background: #f5c9a8 !important; }
.iso-kb-front   { background: #f0c0a0 !important; }

.iso-mouse-top  { background: #fde8d8 !important; }
.iso-mouse-body { background: linear-gradient(160deg,#fde8d8,#fbd5b8) !important; box-shadow: 0 4px 12px rgba(194,68,10,0.12) !important; }
.iso-mouse-scroll { background: rgba(232,97,10,0.5) !important; }

.iso-mon-screen { background: rgba(255,255,255,0.95) !important; border-color: rgba(232,97,10,0.2) !important; box-shadow: 0 0 20px rgba(232,97,10,0.08) !important; }
.iso-mon-neck   { background: #f0c0a0 !important; }
.iso-mon-base   { background: #f0c0a0 !important; }

.iso-mug-body   { background: linear-gradient(160deg,#fde8d8,#fbd5b8) !important; border-color: rgba(232,97,10,0.25) !important; }
.iso-mug-handle { border-color: rgba(232,97,10,0.4) !important; }

.iso-doc-card, .iso-tag-card { background: rgba(255,255,255,0.88) !important; border-color: rgba(232,97,10,0.15) !important; box-shadow: 0 4px 14px rgba(194,68,10,0.08) !important; }
.iso-pline      { background: rgba(232,97,10,0.15) !important; }

.iso-interactive span { background: rgba(255,255,255,0.95) !important; color: #1a0500 !important; box-shadow: 0 2px 8px rgba(194,68,10,0.2), 0 0 8px rgba(232,97,10,0.2) !important; }
.iso-interactive span:nth-child(even) { background: rgba(232,97,10,0.85) !important; color: #fff7ed !important; }

.geo-tri { border-bottom-color: #e8610a !important; }
.geo-sq  { background: #f59e0b !important; }
.geo-dia { border-color: #fdba74 !important; }
.iso-sparkle { color: #c2440a !important; }
.iso-cmd-btn.icb-red   { background: rgba(239,68,68,0.08) !important; }
.iso-cmd-btn.icb-amber { background: rgba(232,97,10,0.08) !important; color: #92400e !important; border-color: rgba(232,97,10,0.2) !important; }

/* ══════════════════════════════════════════
   FOLDER + PAPER UI
══════════════════════════════════════════ */
.about-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.folder-wrap {
  position: relative;
  width: 340px;
  height: 480px;
  cursor: default;
}

/* ── FOLDER BACK ── */
.folder-back {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 420px;
  background: linear-gradient(160deg, #f59e0b, #e8610a);
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 16px 48px rgba(194,68,10,0.28);
}
.folder-back::before {
  content: '';
  position: absolute;
  top: -28px; left: 0;
  width: 120px; height: 32px;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  border-radius: 8px 18px 0 0;
}

/* ── STACKED PAPER BACKS ── */
.paper-stack {
  position: absolute;
  left: 20px; right: 20px;
  border-radius: 3px;
  background: #fffbf5;
  border: 1px solid rgba(232,97,10,0.12);
}
.ps1 { bottom: 14px; height: 390px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.ps2 { bottom: 8px;  height: 390px; background: #fff8f0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.ps3 { bottom: 2px;  height: 390px; background: #fef3e8; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }

/* ── PAPERS (files) ── */
.paper {
  position: absolute;
  left: 24px; right: 24px;
  height: 72px;
  background: #ffffff;
  border-radius: 3px 3px 2px 2px;
  border: 1px solid rgba(232,97,10,0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.2s;
  overflow: hidden;
  padding: 10px 14px 8px;
}
.paper:hover {
  box-shadow: 0 8px 24px rgba(194,68,10,0.18);
}

/* 4 papers — 72px tall, 82px apart, all visible above the front flap */
#paper-about      { bottom: 336px; transform: rotate(-1.2deg); z-index: 4; }
#paper-experience { bottom: 254px; transform: rotate(0.8deg);  z-index: 3; }
#paper-skills     { bottom: 172px; transform: rotate(-0.6deg); z-index: 2; }
#paper-education  { bottom: 90px;  transform: rotate(0.5deg);  z-index: 1; }

#paper-about:hover      { transform: translateY(-10px) rotate(-1.2deg); z-index: 10; }
#paper-experience:hover { transform: translateY(-10px) rotate(0.8deg);  z-index: 10; }
#paper-skills:hover     { transform: translateY(-10px) rotate(-0.6deg); z-index: 10; }
#paper-education:hover  { transform: translateY(-10px) rotate(0.5deg);  z-index: 10; }

.paper-tab {
  font-size: 0.7rem;
  font-weight: 800;
  color: #c2440a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.paper-tab::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e8610a;
}
.paper-preview-lines { display: flex; flex-direction: column; gap: 5px; }
.ppl { height: 3px; background: rgba(232,97,10,0.15); border-radius: 2px; }
.ppl.w90 { width: 90%; } .ppl.w80 { width: 80%; } .ppl.w70 { width: 70%; }
.ppl.w75 { width: 75%; } .ppl.w85 { width: 85%; } .ppl.w95 { width: 95%; }
.ppl.w60 { width: 60%; }

/* ── FOLDER FRONT FLAP ── */
.folder-front {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(160deg, #fb923c, #e8610a);
  border-radius: 4px 4px 18px 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 -4px 16px rgba(194,68,10,0.15);
}
.folder-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff7ed;
  letter-spacing: 0.02em;
}
.folder-hint {
  font-size: 0.65rem;
  color: rgba(255,247,237,0.7);
  font-weight: 500;
}

/* ── EXPANDED PAPER ── */
.paper-expanded {
  position: absolute;
  inset: 0;
  background: #fffdf9;
  border-radius: 6px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(194,68,10,0.25);
  border: 1px solid rgba(232,97,10,0.15);
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.15,0.64,1), opacity 0.3s ease;
  pointer-events: none;
  overflow: hidden;
}
.paper-expanded.open {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
  pointer-events: all;
}

/* ruled lines background */
.paper-ruled {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    rgba(232,97,10,0.08) 27px,
    rgba(232,97,10,0.08) 28px
  );
  background-position: 0 52px;
  pointer-events: none;
}
/* red margin line */
.paper-ruled::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 44px;
  width: 1px;
  background: rgba(232,97,10,0.2);
}

.paper-exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px 50px;
  border-bottom: 2px solid rgba(232,97,10,0.15);
  position: relative;
  z-index: 1;
  background: rgba(255,247,237,0.6);
}
.paper-exp-title {
  font-size: 1rem;
  font-weight: 800;
  color: #c2440a;
  letter-spacing: -0.01em;
}
.paper-exp-close {
  background: none;
  border: none;
  color: #92400e;
  cursor: pointer;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.paper-exp-close:hover { background: rgba(232,97,10,0.1); }

.paper-exp-body {
  padding: 16px 16px 16px 52px;
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* about me content */
.pexp-text { font-size: 0.85rem; color: #3d1200; line-height: 1.8; font-family: 'Georgia', serif; }
.pexp-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pexp-tag  { font-size: 0.7rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; background: rgba(232,97,10,0.1); border: 1px solid rgba(232,97,10,0.2); color: #c2440a; }

/* experience content */
.pexp-job { padding-bottom: 12px; border-bottom: 1px dashed rgba(232,97,10,0.15); }
.pexp-job:last-child { border-bottom: none; }
.pexp-role    { font-size: 0.88rem; font-weight: 800; color: #1a0500; }
.pexp-company { font-size: 0.72rem; color: #e8610a; font-weight: 700; margin: 2px 0 4px; }
.pexp-desc    { font-size: 0.78rem; color: #7c2d12; line-height: 1.65; font-family: 'Georgia', serif; }

/* skills content */
.pexp-skill { display: flex; flex-direction: column; gap: 5px; }
.pexp-skill-top { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: #3d1200; }
.pexp-bar-wrap { height: 7px; background: rgba(232,97,10,0.1); border-radius: 100px; overflow: hidden; }
.pexp-bar { height: 100%; background: linear-gradient(90deg,#c2440a,#f59e0b); border-radius: 100px; width: 0; transition: width 0.9s cubic-bezier(0.34,1.1,0.64,1); }

/* ══════════════════════════════════════════
   SCROLL REVEAL — ABOUT SECTION
══════════════════════════════════════════ */

/* left side: starts offscreen left */
.about-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.1,0.64,1);
}
.about-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* folder: starts offscreen right */
.folder-wrap {
  opacity: 0;
  transform: translateX(80px) rotate(2deg);
  transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(0.34,1.1,0.64,1) 0.2s;
}
.folder-wrap.revealed {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

/* papers: start below the folder, slide up with stagger */
.paper {
  transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1),
              box-shadow 0.2s,
              bottom 0.6s cubic-bezier(0.34,1.15,0.64,1),
              opacity 0.5s ease;
}

/* hidden state before reveal */
.paper.paper-hidden {
  opacity: 0;
  bottom: -60px !important;
}

/* ══════════════════════════════════════════
   PROJECTS SECTION
══════════════════════════════════════════ */
.projects-section {
  position: relative;
  background: #fff7ed;
  overflow: hidden;
}

/* bg glows */
.proj-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.g1 { width:600px;height:600px;background:radial-gradient(circle,rgba(232,97,10,0.10),transparent 70%);top:-100px;left:-100px; }
.g2 { width:500px;height:500px;background:radial-gradient(circle,rgba(245,158,11,0.08),transparent 70%);bottom:-100px;right:-100px; }

/* header */
.proj-header {
  text-align: center;
  padding: 80px 40px 40px;
  position: relative;
  z-index: 2;
}
.proj-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,97,10,0.10);
  border: 1px solid rgba(232,97,10,0.28);
  color: #c2440a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.proj-title {
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 900;
  color: #1a0500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.proj-sub { font-size: 1rem; color: #92400e; }

/* ── STICKY SCROLL WRAP ── */
.proj-sticky-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0 0;
}

.proj-track {
  display: flex;
  align-items: center;
  padding: 40px 12vw;
  gap: 60px;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.34,1.05,0.64,1);
  perspective: 1200px;
}

/* ── CARDS ── */
.proj-card {
  flex-shrink: 0;
  width: 320px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.55;
  transform: rotateY(-22deg) scale(0.92);
}
.proj-card.active {
  opacity: 1;
  transform: rotateY(0deg) scale(1.06);
}
.proj-card:hover {
  opacity: 0.85;
  transform: rotateY(-18deg) scale(0.96) translateY(-8px);
}
.proj-card.active:hover {
  transform: rotateY(0deg) scale(1.08) translateY(-10px);
  opacity: 1;
}

.proj-card-inner {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(232,97,10,0.18);
  border-radius: 24px;
  padding: 28px 24px 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(194,68,10,0.12);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.proj-card.active .proj-card-inner {
  border-color: rgba(232,97,10,0.40);
  box-shadow: 0 20px 60px rgba(194,68,10,0.20), 0 0 40px rgba(232,97,10,0.12);
}

/* card content */
.proj-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(194,68,10,0.45);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.proj-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: #e8610a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.proj-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a0500;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.proj-tech {
  font-size: 0.72rem;
  color: #92400e;
  margin-bottom: 18px;
  font-weight: 500;
}

/* preview area */
.proj-preview {
  border-radius: 14px;
  height: 160px;
  overflow: hidden;
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proj-preview-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  width: 60%;
}
.proj-preview-lines { display:flex;flex-direction:column;gap:5px; }
.ppline { height:3px;background:rgba(255,255,255,0.15);border-radius:2px; }
.ppline.w70{width:70%}.ppline.w50{width:50%}.ppline.w80{width:80%}
.ppline.w90{width:90%}.ppline.w60{width:60%}.ppline.w75{width:75%}
.ppline.w65{width:65%}.ppline.w85{width:85%}.ppline.w55{width:55%}
.ppline.w95{width:95%}

/* chart preview */
.proj-preview-chart { position:absolute;bottom:0;left:0;right:0;height:60px; }
.proj-preview-chart svg { width:100%;height:100%; }

/* grid preview */
.proj-preview-grid { display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:4px; }
.ppgrid-item { height:28px;background:rgba(255,255,255,0.12);border-radius:6px; }

/* dots preview */
.proj-preview-dots { display:flex;gap:8px;margin-top:6px; }
.ppdot { width:22px;height:22px;border-radius:50%;opacity:0.85; }

/* bars preview */
.proj-preview-bars { display:flex;align-items:flex-end;gap:6px;height:50px;margin-top:4px; }
.ppbar { flex:1;border-radius:3px 3px 0 0;opacity:0.85; }

/* circle preview */
.proj-preview-circle { display:flex;justify-content:center;align-items:center;flex:1; }
.ppcircle { width:60px;height:60px;border-radius:50%;border:2px solid rgba(232,97,10,0.5);box-shadow:0 0 20px rgba(232,97,10,0.25); }

/* glow orb */
.proj-glow {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.22), transparent 70%);
  bottom: -40px; right: -40px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(20px);
}
.proj-card.active .proj-glow,
.proj-card:hover .proj-glow { opacity: 1; }

/* ── DOTS ── */
.proj-dots {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 60px;
}
.proj-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(232,97,10,0.2);
  transition: all 0.3s;
  cursor: pointer;
}
.proj-dot.active {
  background: #e8610a;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(232,97,10,0.5);
}

/* ── PROJ CONTROLS ── */
.proj-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 60px;
  position: relative;
  z-index: 10;
}

.proj-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,97,10,0.3);
  background: rgba(255,255,255,0.7);
  color: #c2440a;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(194,68,10,0.12);
}
.proj-arrow:hover {
  background: #e8610a;
  color: #fff7ed;
  border-color: #e8610a;
  box-shadow: 0 6px 24px rgba(232,97,10,0.35);
  transform: scale(1.08);
}
.proj-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ── PROJECT MODAL ── */
.proj-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,5,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.proj-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.proj-modal {
  background: #ffffff;
  border: 1px solid rgba(232,97,10,0.2);
  border-radius: 24px;
  padding: 32px 28px 28px;
  width: 360px;
  max-width: 90vw;
  position: relative;
  box-shadow: 0 24px 60px rgba(194,68,10,0.18);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}
.proj-modal-overlay.open .proj-modal {
  transform: translateY(0) scale(1);
}

.proj-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(232,97,10,0.08);
  color: #92400e;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.proj-modal-close:hover { background: rgba(232,97,10,0.18); }

.proj-modal-num {
  font-size: 0.68rem; font-weight: 800;
  color: rgba(194,68,10,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.proj-modal-cat {
  font-size: 0.7rem; font-weight: 700;
  color: #e8610a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.proj-modal-title {
  font-size: 1.6rem; font-weight: 900;
  color: #1a0500;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.proj-modal-desc {
  font-size: 0.88rem;
  color: #7c2d12;
  line-height: 1.7;
  margin-bottom: 14px;
}
.proj-modal-tech {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.proj-modal-tech span {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(232,97,10,0.08);
  border: 1px solid rgba(232,97,10,0.2);
  color: #c2440a;
}
.proj-modal-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg,#c2440a,#e8610a);
  color: #fff7ed;
  font-size: 0.88rem; font-weight: 700;
  padding: 11px 22px; border-radius: 100px;
  box-shadow: 0 6px 20px rgba(232,97,10,0.35);
  transition: all 0.2s;
}
.proj-modal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,97,10,0.5);
}

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
.contact-section {
  position: relative;
  min-height: 100vh;
  background: #f5d5a8;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 80px;
  overflow: hidden;
}

/* bg glow */
.ct-bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.12) 0%, transparent 70%);
  top: 50%; left: 25%;
  transform: translate(-50%,-50%);
  filter: blur(60px);
  pointer-events: none;
  animation: ct-glow-pulse 4s ease-in-out infinite;
}
@keyframes ct-glow-pulse {
  0%,100% { opacity:0.6; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:1;   transform:translate(-50%,-50%) scale(1.1); }
}

/* ── LEFT ── */
.ct-left {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.ct-robot-wrap { display:flex; flex-direction:column; align-items:center; }
.ct-robot {
  width: 220px;
  animation: ct-float 4s ease-in-out infinite;
  transform-origin: center bottom;
  filter: drop-shadow(0 0 20px rgba(232,97,10,0.25));
}
@keyframes ct-float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-12px); }
}
.robot-svg { width:100%; height:auto; }

/* pedestal */
.ct-pedestal { position:relative; display:flex; flex-direction:column; align-items:center; margin-top:-8px; }
.ct-ped-p1,.ct-ped-p2,.ct-ped-p3 {
  border-radius:6px;
  background:linear-gradient(180deg,#2a1200,#0d0600);
  border:1px solid rgba(232,97,10,0.22);
}
.ct-ped-p1 { width:120px; height:12px; }
.ct-ped-p2 { width:90px;  height:10px; margin-top:3px; border-color:rgba(232,97,10,0.16); }
.ct-ped-p3 { width:60px;  height:8px;  margin-top:3px; border-color:rgba(232,97,10,0.10); }
.ct-ped-glow {
  width:140px; height:20px;
  background:radial-gradient(ellipse,rgba(232,97,10,0.35),transparent 70%);
  filter:blur(8px); margin-top:4px;
  animation:ct-glow-pulse 3s ease-in-out infinite;
}

/* socials */
.ct-socials { display:flex; gap:16px; }
.ct-social {
  width:44px; height:44px; border-radius:50%;
  border:1px solid rgba(232,97,10,0.28);
  background:rgba(232,97,10,0.07);
  color:#c2440a;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; transition:all 0.25s;
}
.ct-social:hover {
  background:rgba(232,97,10,0.18);
  border-color:rgba(232,97,10,0.65);
  color:#e8610a;
  transform:scale(1.12) translateY(-3px);
  box-shadow:0 0 16px rgba(232,97,10,0.35);
}

/* ── RIGHT ── */
.ct-right { flex:1; position:relative; z-index:2; display:flex; flex-direction:column; gap:32px; }

.ct-form-tag {
  display:inline-flex;
  background:rgba(232,97,10,0.10);
  border:1px solid rgba(232,97,10,0.28);
  color:#c2440a;
  font-size:0.72rem; font-weight:700;
  padding:4px 14px; border-radius:100px;
  text-transform:uppercase; letter-spacing:0.08em; margin-bottom:12px;
}
.ct-form-title {
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:900; color:#1a0500;
  letter-spacing:-0.04em; line-height:1.05; margin-bottom:10px;
}
.ct-form-grad {
  background:linear-gradient(135deg,#c2440a,#e8610a,#f59e0b);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.ct-form-sub { font-size:0.9rem; color:#92400e; }

/* form */
.ct-form { display:flex; flex-direction:column; gap:20px; }
.ct-field { position:relative; }
.ct-input {
  width:100%;
  background:rgba(255,255,255,0.60);
  border:1px solid rgba(232,97,10,0.18);
  border-radius:12px;
  padding:18px 16px 8px;
  color:#1a0500;
  font-size:0.9rem; font-family:inherit;
  outline:none;
  transition:border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize:none; box-sizing:border-box;
}
.ct-input:focus {
  border-color:rgba(232,97,10,0.55);
  background:rgba(255,255,255,0.85);
  box-shadow:0 0 0 3px rgba(232,97,10,0.10);
}
.ct-label {
  position:absolute; top:14px; left:16px;
  font-size:0.85rem; color:#92400e;
  pointer-events:none; transition:all 0.2s ease;
}
.ct-input:focus ~ .ct-label,
.ct-input:not(:placeholder-shown) ~ .ct-label {
  top:5px; font-size:0.65rem; color:#e8610a; letter-spacing:0.04em;
}
.ct-line {
  position:absolute; bottom:0; left:16px; right:16px;
  height:1px;
  background:linear-gradient(90deg,#c2440a,#f59e0b);
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.3s ease; border-radius:1px;
}
.ct-input:focus ~ .ct-line { transform:scaleX(1); }
.ct-textarea { min-height:110px; padding-top:20px; }

/* button */
.ct-btn {
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg,#c2440a,#e8610a,#f59e0b);
  color:#fff7ed;
  font-size:0.92rem; font-weight:700;
  padding:14px 32px; border-radius:100px;
  border:none; cursor:pointer; width:fit-content;
  box-shadow:0 6px 28px rgba(232,97,10,0.38);
  transition:all 0.25s; position:relative; overflow:hidden;
}
.ct-btn::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,#c2440a,#e8610a);
  opacity:0; transition:opacity 0.25s; border-radius:100px;
}
.ct-btn:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(232,97,10,0.52); }
.ct-btn:hover::before { opacity:1; }
.ct-btn:active { transform:translateY(0) scale(0.97); }
.ct-btn span,.ct-btn svg { position:relative; z-index:1; }

/* success */
.ct-success {
  display:none; align-items:center; gap:8px;
  color:#c2440a; font-size:0.88rem; font-weight:600;
  padding:12px 16px;
  background:rgba(232,97,10,0.08);
  border:1px solid rgba(232,97,10,0.22);
  border-radius:10px;
}
.ct-success.show { display:flex; }

/* responsive */
@media (max-width:900px) {
  .contact-section { flex-direction:column; padding:80px 32px; }
  .ct-left { flex:none; width:100%; }
}

/* ── CONTACT VS CODE EDITOR ── */
.ct-vscode {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0500;
  border: 1px solid rgba(232,97,10,0.22);
  box-shadow: 0 20px 60px rgba(194,68,10,0.25), 0 0 0 1px rgba(232,97,10,0.08);
  font-family: 'Courier New', monospace;
}

/* title bar */
.ct-vs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(232,97,10,0.12);
}
.ct-vs-dot { width: 10px; height: 10px; border-radius: 50%; }
.ct-vs-dot.r { background: #ff5f57; }
.ct-vs-dot.o { background: #febc2e; }
.ct-vs-dot.g { background: #28c840; }
.ct-vs-title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #fdba74;
  font-weight: 500;
  margin-left: 4px;
}
.ct-vs-controls { display: flex; margin-left: auto; }
.ct-vs-btn {
  width: 26px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #fdba74;
  border-radius: 3px; cursor: pointer;
  transition: background 0.15s;
}
.ct-vs-btn:hover { background: rgba(232,97,10,0.2); }
.ct-vs-close:hover { background: #c0392b; color: #fff; }

/* tabs */
.ct-vs-tabs {
  display: flex;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(232,97,10,0.10);
}
.ct-vs-tab {
  font-size: 0.68rem;
  color: #92400e;
  padding: 6px 16px;
  cursor: pointer;
  border-right: 1px solid rgba(232,97,10,0.08);
  transition: background 0.15s;
}
.ct-vs-tab.active {
  color: #fdba74;
  background: rgba(232,97,10,0.08);
  border-bottom: 2px solid #e8610a;
}

/* editor body */
.ct-vs-body {
  display: flex;
  background: rgba(5,2,0,0.92);
  padding: 10px 0;
  min-height: 260px;
}
.ct-vs-gutter {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  gap: 1px;
  border-right: 1px solid rgba(232,97,10,0.08);
  min-width: 36px;
}
.ct-vs-gutter span {
  font-size: 0.62rem;
  color: rgba(253,186,116,0.25);
  line-height: 1.75;
  text-align: right;
  user-select: none;
}
.ct-vs-code {
  padding: 0 14px;
  flex: 1;
}
.ct-code-line {
  font-size: 0.7rem;
  line-height: 1.75;
  white-space: nowrap;
  color: #fff7ed;
  min-height: 1.75em;
}
.ct-code-line.empty { height: 1.75em; }
.ct-ind  { padding-left: 16px; }
.ct-ind2 { padding-left: 32px; }
.ct-kw   { color: #fb923c; }
.ct-fn   { color: #fdba74; }
.ct-at   { color: #fcd34d; }
.ct-st   { color: #fef3c7; }
.ct-cmt  { color: #92400e; font-style: italic; }
.ct-cursor-blink {
  color: #e8610a;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* status bar */
.ct-vs-statusbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #c2440a, #e8610a);
  font-size: 0.6rem;
  color: #fff7ed;
  font-weight: 600;
}
.ct-vs-status-ok { margin-left: auto; color: #fef3c7; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* hero */
  .hero-body { padding: 30px 40px 50px; gap: 24px; }
  .hero-title { font-size: 3rem; }
  .workspace { max-width: 460px; }

  /* about */
  .about-section { padding: 80px 40px; gap: 40px; }
  .about-left { flex: 0 0 42%; }
  .folder-wrap { width: 300px; }

  /* projects */
  .proj-header { padding: 60px 24px 30px; }
  .proj-track  { padding: 30px 8vw; gap: 40px; }
  .proj-card   { width: 280px; }

  /* contact */
  .contact-section { padding: 80px 40px; gap: 40px; }
  .ct-left { flex: 0 0 340px; }
  .ct-vscode { max-width: 340px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAVBAR ── */
  .navbar {
    padding: 12px 20px;
    width: calc(100% - 32px);
    top: 10px;
  }
  .nav-links { display: none; }
  .navbar.scrolled { padding: 12px 20px; }

  /* ── HERO ── */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .hero-body {
    flex-direction: column;
    padding: 24px 24px 40px;
    align-items: flex-start;
  }
  .hero-left { flex: none; width: 100%; gap: 20px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub   { font-size: 0.95rem; }
  .tech-badges { gap: 8px; }

  /* hide the right side workspace (code editor) on mobile */
  .hero-right { display: none; }

  /* ── ABOUT ── */
  .about-section {
    flex-direction: column;
    padding: 80px 24px 60px;
    gap: 48px;
  }
  .about-left { flex: none; width: 100%; gap: 20px; }
  .about-heading { font-size: 2.4rem; }
  .about-stats { gap: 20px; }
  .stat-n { font-size: 1.5rem; }

  .about-right { width: 100%; justify-content: center; }
  .folder-wrap { width: 100%; max-width: 300px; height: 420px; }
  .folder-back { height: 360px; }
  .ps1,.ps2,.ps3 { height: 330px; }

  /* shrink papers */
  .paper { height: 58px; padding: 8px 12px 6px; left: 16px; right: 16px; }
  .paper-tab { font-size: 0.62rem; margin-bottom: 5px; }
  .ppl { height: 2px; }

  /* reposition 4 papers evenly in smaller folder */
  #paper-about      { bottom: 270px; }
  #paper-experience { bottom: 195px; }
  #paper-skills     { bottom: 120px; }
  #paper-education  { bottom: 45px; }

  /* folder front flap */
  .folder-front { height: 60px; }
  .folder-label { font-size: 0.78rem; }
  .folder-hint  { font-size: 0.58rem; }

  /* expanded paper */
  .paper-expanded { border-radius: 6px; }
  .paper-exp-body { padding: 12px 12px 12px 44px; gap: 10px; }
  .pexp-text { font-size: 0.82rem; }
  .pexp-role { font-size: 0.82rem; }
  .pexp-desc { font-size: 0.74rem; }
  .skill-label { font-size: 0.74rem; }

  /* ── PROJECTS ── */
  .proj-header { padding: 60px 24px 24px; }
  .proj-title  { font-size: 2.4rem; }
  .proj-track  { padding: 20px 5vw; gap: 24px; }
  .proj-card   { width: 260px; }
  .proj-controls { gap: 12px; }

  /* ── CONTACT ── */
  .contact-section {
    flex-direction: column;
    padding: 80px 24px 60px;
    gap: 40px;
  }
  .ct-left { flex: none; width: 100%; align-items: center; }

  /* hide VS Code editor on mobile */
  .ct-vscode { display: none; }

  .ct-right { width: 100%; }
  .ct-form-title { font-size: 2rem; }
  .ct-socials { justify-content: center; }

  /* ── SCROLL HINT ── */
  .scroll-hint { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-primary, .btn-ghost { font-size: 0.82rem; padding: 11px 20px; }
  .about-heading { font-size: 2rem; }
  .folder-wrap { max-width: 280px; height: 400px; }
  .folder-back { height: 340px; }
  .ps1,.ps2,.ps3 { height: 310px; }
  #paper-about      { bottom: 255px; }
  #paper-experience { bottom: 185px; }
  #paper-skills     { bottom: 115px; }
  #paper-education  { bottom: 45px; }
  .proj-card { width: 240px; }
  .ct-form-title { font-size: 1.7rem; }
  .ct-btn { padding: 12px 24px; font-size: 0.85rem; }
}

/* ── PROJECTS SCROLL REVEAL ── */
.proj-header {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.1,0.64,1);
}
.proj-header.proj-revealed {
  opacity: 1;
  transform: translateY(0);
}

.proj-card {
  transition: transform 0.65s ease, opacity 0.65s ease,
              box-shadow 0.4s ease;
}
.proj-card.card-hidden {
  opacity: 0 !important;
  transform: translateY(60px) rotateY(-22deg) scale(0.88) !important;
}

/* ── HERO ENTRANCE ANIMATION ── */
.badge-top,
.hero-title,
.hero-sub,
.hero-actions,
.tech-badges {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rise 0.7s cubic-bezier(0.34,1.1,0.64,1) forwards;
}

.badge-top    { animation-delay: 0.15s; }
.hero-title   { animation-delay: 0.30s; }
.hero-sub     { animation-delay: 0.48s; }
.hero-actions { animation-delay: 0.62s; }
.tech-badges  { animation-delay: 0.78s; }

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* nav logo fades in */
.nav-logo {
  opacity: 0;
  animation: hero-fade 0.5s ease 0.05s forwards;
}
.nav-links,
.btn-hire {
  opacity: 0;
  animation: hero-fade 0.5s ease 0.1s forwards;
}
@keyframes hero-fade {
  to { opacity: 1; }
}

/* ══════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #0d0500;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#preloader.pre-hide {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* bg glows */
.pre-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.pre-bg-glow.g1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,97,10,0.18), transparent 70%);
  top: -100px; left: -100px;
}
.pre-bg-glow.g2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(194,68,10,0.14), transparent 70%);
  bottom: -80px; right: -80px;
}

/* center layout */
.pre-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

/* fan */
.pre-fan-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.pre-fan {
  width: 160px; height: 160px;
  animation: fan-spin 1.2s linear infinite;
  filter: drop-shadow(0 0 16px rgba(232,97,10,0.5));
}
@keyframes fan-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.pre-fan-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.22), transparent 65%);
  filter: blur(24px);
  animation: pre-glow-pulse 1.5s ease-in-out infinite;
}
@keyframes pre-glow-pulse {
  0%,100% { opacity: 0.5; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* text block */
.pre-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pre-logo {
  font-size: 2rem;
  font-weight: 900;
  color: #fff7ed;
  letter-spacing: -0.04em;
}
.pre-logo span { color: #e8610a; }

.pre-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fdba74;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 1em;
}

/* progress bar */
.pre-bar-wrap {
  width: 200px;
  height: 3px;
  background: rgba(232,97,10,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.pre-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c2440a, #e8610a, #f59e0b);
  border-radius: 100px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(232,97,10,0.6);
}

/* corner brackets */
.pre-corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: rgba(232,97,10,0.45);
  border-style: solid;
}
.pre-corner.tl { top: 24px;    left: 24px;    border-width: 2px 0 0 2px; }
.pre-corner.tr { top: 24px;    right: 24px;   border-width: 2px 2px 0 0; }
.pre-corner.bl { bottom: 24px; left: 24px;    border-width: 0 0 2px 2px; }
.pre-corner.br { bottom: 24px; right: 24px;   border-width: 0 2px 2px 0; }

/* scan line */
.pre-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,97,10,0.5), transparent);
  animation: pre-scan 2.5s linear infinite;
}
@keyframes pre-scan {
  from { top: 0%; }
  to   { top: 100%; }
}

/* ── PRELOADER RESPONSIVE ── */
@media (max-width: 768px) {
  .pre-fan { width: 120px; height: 120px; }
  .pre-fan-wrap { width: 120px; height: 120px; }
  .pre-fan-glow { width: 160px; height: 160px; }
  .pre-logo { font-size: 1.6rem; }
  .pre-bar-wrap { width: 160px; }
  .pre-corner { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  .pre-fan { width: 100px; height: 100px; }
  .pre-fan-wrap { width: 100px; height: 100px; }
  .pre-logo { font-size: 1.4rem; }
  .pre-status { font-size: 0.65rem; }
  .pre-bar-wrap { width: 140px; }
  .pre-corner { width: 16px; height: 16px; top: 16px; }
  .pre-corner.tl,.pre-corner.bl { left: 16px; }
  .pre-corner.tr,.pre-corner.br { right: 16px; }
  .pre-corner.bl,.pre-corner.br { bottom: 16px; }
}
