:root {
  --bg: #050508;
  --bg2: #0a0a12;
  --surface: #0f0f1a;
  --surface2: #14141f;
  --border: rgba(120,100,255,0.15);
  --accent: #7c5cfc;
  --accent2: #a78bfa;
  --ghost: #b0f0ff;
  --ghost2: #60d0f0;
  --text: #e8e8f0;
  --muted: #7070a0;
  --danger: #ff6b6b;
  --green: #4fffb0;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
}

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

/* CANVAS BG */
#bgCanvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

/* CURSOR */
#cursorGhost {
  position: fixed;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,240,255,0.8) 0%, rgba(124,92,252,0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.05s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}

/* ===== CONSENT SCREEN ===== */
#consentScreen {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.consent-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; max-width: 500px; width: 90%; text-align: center;
}
.consent-ghost {
  position: relative; width: 100px; height: 100px; margin-bottom: 8px;
}
.consent-ghost .orb-ring.r1 { inset: 0; }
.consent-ghost .orb-ring.r2 { inset: -14px; opacity: 0.4; }
.consent-ghost .orb-core { position: absolute; inset: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--ghost) 0%, var(--accent) 50%, #1a0040 100%);
  box-shadow: 0 0 40px rgba(176,240,255,0.5), 0 0 80px rgba(124,92,252,0.3);
  animation: coreGlow 2s ease-in-out infinite alternate;
}
.consent-ghost .orb-eye { position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: #0a0020; top: 34px; animation: blink 4s infinite;
}
.consent-ghost .orb-eye.left  { left: 28px; }
.consent-ghost .orb-eye.right { right: 28px; }
.consent-tag {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.3em;
  color: var(--accent2); text-transform: uppercase;
}
.consent-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.consent-desc {
  font-size: 0.95rem; color: var(--muted); line-height: 1.7; max-width: 420px;
}
.consent-desc em { color: var(--ghost2); font-style: normal; }
.consent-box {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 16px; text-align: left;
}
.consent-row {
  display: flex; align-items: center; gap: 16px;
}
.consent-icon { font-size: 1.4rem; flex-shrink: 0; }
.consent-row strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.consent-row span { font-size: 0.8rem; color: var(--muted); }
.consent-skip {
  font-size: 0.8rem; color: var(--muted); text-decoration: underline;
  cursor: pointer; transition: color 0.2s;
}
.consent-skip:hover { color: var(--text); }

/* ===== LOADING SCREEN ===== */
#loadingScreen {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.load-inner {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  max-width: 460px; width: 90%; text-align: center;
}

/* Ghost Orb */
.ghost-orb {
  position: relative; width: 140px; height: 140px;
}
.orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(176,240,255,0.3);
  animation: orbPulse 3s ease-in-out infinite;
}
.r1 { inset: 0; animation-delay: 0s; }
.r2 { inset: -16px; opacity: 0.5; animation-delay: 0.6s; }
.r3 { inset: -32px; opacity: 0.25; animation-delay: 1.2s; }
@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
.orb-core {
  position: absolute; inset: 20px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--ghost) 0%, var(--accent) 50%, #1a0040 100%);
  animation: coreGlow 2s ease-in-out infinite alternate;
  box-shadow: 0 0 40px rgba(176,240,255,0.5), 0 0 80px rgba(124,92,252,0.3);
}
@keyframes coreGlow {
  from { box-shadow: 0 0 30px rgba(176,240,255,0.4), 0 0 60px rgba(124,92,252,0.2); }
  to   { box-shadow: 0 0 60px rgba(176,240,255,0.7), 0 0 100px rgba(124,92,252,0.5); }
}
.orb-eye {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: #0a0020;
  top: 48px; animation: blink 4s infinite;
}
.orb-eye.left  { left: 40px; }
.orb-eye.right { right: 40px; }
@keyframes blink {
  0%,90%,100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
.orb-mouth {
  position: absolute; width: 22px; height: 8px;
  border-bottom: 2px solid #0a0020; border-radius: 50%;
  bottom: 40px; left: 50%; transform: translateX(-50%);
}

.load-title {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--ghost); text-transform: uppercase;
  animation: flicker 3s infinite;
}
@keyframes flicker {
  0%,100% { opacity:1; } 92% { opacity:1; } 93% { opacity:0.3; } 94% { opacity:1; } 97% { opacity:0.7; } 98% { opacity:1; }
}
.load-subtitle {
  font-size: 1.1rem; color: var(--muted); margin-top: 6px;
  min-height: 1.5em; transition: color 0.3s;
}

/* Load bar */
.load-bar-wrap { width: 100%; }
.load-bar-bg {
  position: relative; height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 4px; overflow: visible;
}
.load-bar-fill {
  height: 100%; border-radius: 4px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--ghost));
  transition: width 0.3s ease;
}
.load-bar-glow {
  position: absolute; top: -4px; height: 12px; width: 40px;
  background: radial-gradient(ellipse, rgba(176,240,255,0.8) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
  transition: left 0.3s ease; left: 0;
}
.load-stats {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted); margin-top: 10px;
}
#loadPercent { color: var(--ghost2); }

.load-warning {
  font-size: 0.8rem; color: var(--muted);
  background: rgba(255,107,107,0.06);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: 10px; padding: 14px 18px; line-height: 1.7;
}
.warn-icon { color: var(--danger); margin-right: 6px; }

.btn-activate {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--ghost2));
  color: #fff; border: none; cursor: pointer;
  padding: 16px 40px; border-radius: 50px;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 0 40px rgba(124,92,252,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-activate:hover { transform: scale(1.05); box-shadow: 0 0 60px rgba(124,92,252,0.7); }
.btn-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em;
}
.nav-ghost-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ghost);
  box-shadow: 0 0 10px var(--ghost);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 6px var(--ghost); }
  50% { box-shadow: 0 0 20px var(--ghost), 0 0 40px rgba(176,240,255,0.3); }
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; color: var(--muted);
  transition: color 0.2s; letter-spacing: 0.05em;
}
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
#hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px;
  gap: 60px;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-tag {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.3em; color: var(--accent2);
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-name {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero-name em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ghost), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem; color: var(--muted); line-height: 1.7;
  margin: 24px 0 36px;
}
.highlight {
  color: var(--ghost); font-weight: 700;
  text-shadow: 0 0 20px rgba(176,240,255,0.5);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.cta-primary {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--ghost2));
  color: #fff; padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 0 30px rgba(124,92,252,0.3);
  transition: all 0.2s; cursor: pointer;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(124,92,252,0.5); }
.cta-ghost-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: dotPulse 1.5s infinite;
}
.cta-secondary {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  padding: 14px 28px; border-radius: 50px;
  font-size: 0.95rem; color: var(--muted);
  transition: all 0.2s;
}
.cta-secondary:hover { border-color: var(--accent2); color: var(--text); }

.hero-links { display: flex; gap: 20px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted);
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.social-link:hover { color: var(--ghost); border-color: rgba(176,240,255,0.2); background: rgba(176,240,255,0.04); }
.social-link svg { width: 16px; height: 16px; }

/* Hero visual */
.hero-visual { flex: 1; max-width: 480px; display: flex; flex-direction: column; gap: 32px; align-items: center; }
.hero-ghost-container { position: relative; }
.hero-ghost {
  position: relative; width: 180px; height: 180px;
}
.hg-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(176,240,255,0.2);
  animation: hgPulse 4s ease-in-out infinite;
}
.hg-ring.r1 { inset: 0; animation-delay: 0s; }
.hg-ring.r2 { inset: -24px; opacity: 0.4; animation-delay: 0.8s; }
.hg-ring.r3 { inset: -48px; opacity: 0.2; animation-delay: 1.6s; }
@keyframes hgPulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(2deg); }
}
.hg-core {
  position: absolute; inset: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(176,240,255,0.9) 0%, rgba(124,92,252,0.7) 40%, rgba(20,0,60,0.9) 100%);
  box-shadow: 0 0 60px rgba(176,240,255,0.4), 0 0 120px rgba(124,92,252,0.2);
  animation: hgFloat 3s ease-in-out infinite;
}
@keyframes hgFloat {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.hg-eye {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(5,5,15,0.9);
  top: 62px; animation: blink 5s infinite;
}
.hg-eye.l { left: 54px; }
.hg-eye.r { right: 54px; }
.hg-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ghost); opacity: 0;
  animation: particle 4s infinite;
}
.hg-particles span:nth-child(1) { top: 20px; left: 30px; animation-delay: 0s; }
.hg-particles span:nth-child(2) { top: 10px; left: 100px; animation-delay: 0.7s; }
.hg-particles span:nth-child(3) { top: 40px; right: 20px; animation-delay: 1.4s; }
.hg-particles span:nth-child(4) { bottom: 30px; left: 20px; animation-delay: 2.1s; }
.hg-particles span:nth-child(5) { bottom: 10px; left: 80px; animation-delay: 2.8s; }
.hg-particles span:nth-child(6) { bottom: 20px; right: 30px; animation-delay: 3.5s; }
@keyframes particle {
  0% { opacity:0; transform: scale(0) translateY(0); }
  20% { opacity:1; transform: scale(1) translateY(-20px); }
  100% { opacity:0; transform: scale(0) translateY(-60px); }
}

.hero-code {
  background: rgba(10,10,20,0.8);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px;
  font-family: var(--mono); font-size: 0.82rem;
  line-height: 1.9; width: 100%;
  backdrop-filter: blur(10px);
}
.code-line { color: var(--muted); }
.code-line.pad { padding-left: 20px; }
.kw { color: #c792ea; }
.str { color: #c3e88d; }
.bool { color: #f78c6c; }

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; padding: 100px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--accent2); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 12px;
}
h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,252,0.4);
  box-shadow: 0 8px 40px rgba(124,92,252,0.1);
}
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.about-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.2s; cursor: pointer;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,252,0.4);
  box-shadow: 0 8px 40px rgba(124,92,252,0.12);
}
.proj-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--ghost2));
  opacity: 0; transition: opacity 0.2s;
}
.project-card:hover .proj-accent { opacity: 1; }
.proj-header { display: flex; align-items: center; justify-content: space-between; }
.proj-icon { font-size: 1.4rem; }
.proj-lang {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
}
.proj-lang.python { background: rgba(96,208,240,0.12); color: var(--ghost2); }
.proj-lang.html { background: rgba(255,107,107,0.12); color: #ff9b9b; }
.proj-lang.ts { background: rgba(124,92,252,0.12); color: var(--accent2); }
.project-card h3 { font-size: 1.05rem; font-weight: 600; }
.project-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; flex: 1; }
.proj-stats { display: flex; gap: 16px; font-size: 0.78rem; color: var(--muted); font-family: var(--mono); }
.proj-more { align-items: center; justify-content: center; border-style: dashed; }
.proj-more-inner { text-align: center; }
.proj-more-inner span { font-size: 2.5rem; font-weight: 700; color: var(--accent2); }
.proj-more-inner p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

/* STACK */
#stack { background: linear-gradient(180deg, transparent, rgba(10,10,20,0.5), transparent); }
.stack-grid { display: flex; flex-direction: column; gap: 28px; }
.stack-group-title {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 12px;
}
.stack-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-pills span {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 7px 18px;
  font-size: 0.85rem; color: var(--text);
  transition: all 0.2s;
}
.stack-pills span:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(124,92,252,0.06);
}

/* GHOST SECTION */
#ghost { background: radial-gradient(ellipse at 50% 0%, rgba(124,92,252,0.08) 0%, transparent 70%); }
.ghost-intro { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 600px; margin-bottom: 32px; }
.ghost-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 18px; margin-bottom: 28px;
  font-size: 0.82rem;
}
.ghost-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); transition: background 0.3s, box-shadow 0.3s;
}
.ghost-badge-dot.active {
  background: var(--green);
  box-shadow: 0 0 10px rgba(79,255,176,0.5);
  animation: dotPulse 2s infinite;
}
.ghost-badge-dot.loading {
  background: var(--accent2);
  animation: dotPulse 1s infinite;
}
.ghost-model-label {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--muted); opacity: 0.7;
}

/* CHAT */
.chat-container {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  max-width: 760px;
}
.chat-messages {
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  min-height: 300px; max-height: 420px; overflow-y: auto;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.msg { display: flex; gap: 14px; align-items: flex-start; }
.msg.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ghost-avatar-sm {
  background: radial-gradient(circle at 35% 35%, var(--ghost) 0%, var(--accent) 60%, #0a0020 100%);
  box-shadow: 0 0 16px rgba(176,240,255,0.3);
}
.user-avatar-sm {
  background: linear-gradient(135deg, #3a3a5c, #2a2a44);
  border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text);
}
.msg-content {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
  font-size: 0.9rem; line-height: 1.7; max-width: 80%;
}
.msg.user .msg-content {
  background: rgba(124,92,252,0.1);
  border-color: rgba(124,92,252,0.25);
}
.msg-content p { margin: 0; color: var(--text); }

.typing-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ghost2); margin: 0 2px;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex; gap: 0; align-items: flex-end;
  border-top: 1px solid var(--border);
  padding: 16px 20px; gap: 12px;
  background: rgba(5,5,8,0.5);
}
#chatInput {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--font); font-size: 0.9rem;
  resize: none; max-height: 120px; line-height: 1.6;
}
#chatInput::placeholder { color: var(--muted); }
.btn-send {
  background: linear-gradient(135deg, var(--accent), var(--ghost2));
  border: none; cursor: pointer; border-radius: 10px;
  padding: 10px 14px; display: flex; align-items: center;
  transition: all 0.2s; opacity: 0.4;
}
.btn-send:not(:disabled) { opacity: 1; }
.btn-send:not(:disabled):hover { transform: scale(1.05); }
.btn-send svg { width: 18px; height: 18px; color: #fff; }

/* FOOTER */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-ghost {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle, var(--ghost) 0%, var(--accent) 60%, transparent 100%);
  opacity: 0.4; margin-bottom: 8px;
  animation: coreGlow 3s ease-in-out infinite alternate;
}
footer p { font-size: 0.88rem; color: var(--muted); }
footer em { color: var(--ghost2); font-style: normal; }
.footer-small { font-size: 0.78rem; opacity: 0.6; }
.footer-small a { color: var(--accent2); }

/* RESPONSIVE */
@media (max-width: 768px) {
  #nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.8rem; }
  #hero { flex-direction: column; padding: 100px 24px 60px; gap: 40px; }
  .hero-visual { display: none; }
  section { padding: 70px 24px; }
  footer { padding: 40px 24px; }
}
