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

:root {
  --bg: #0e0d11;
  --surface: #161520;
  --surface2: #1e1d2a;
  --surface3: #252434;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --ink: #f0eeff;
  --ink2: #a89fcc;
  --ink3: #5e5880;
  --gold: #c9a84c;
  --gold-light: rgba(201,168,76,0.12);
  --gold-mid: rgba(201,168,76,0.3);
  --green: #4ade80;
  --green-bg: rgba(74,222,128,0.1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --panel-w: min(760px, 92vw);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* BACKGROUND */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 600px; height: 600px;
  top: -100px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}

/* TOPBAR */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(14,13,17,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
}

.topbar-brand {
  font-family: var(--serif);
  font-size: 18px; font-weight: 400;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.topbar-brand:hover { opacity: 0.8; }
.topbar-brand em { font-style: italic; color: var(--gold); }

.brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-gold 3s infinite;
}
@keyframes pulse-gold {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:0.5; transform: scale(0.7); }
}

.topbar-links {
  display: flex; gap: 2px;
}
.topbar-links a {
  font-size: 12.5px; font-weight: 400;
  color: var(--ink2); text-decoration: none;
  padding: 5px 12px; border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.topbar-links a:hover { background: var(--surface3); color: var(--ink); }
.topbar-links a.active { color: var(--gold); background: var(--gold-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--ink2); display: block; transition: 0.2s; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 8px 0 14px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 14px; color: var(--ink2); text-decoration: none;
  padding: 10px 24px; transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: var(--surface2); color: var(--gold); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; padding: 80px 24px 60px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero.hidden {
  opacity: 0; transform: scale(0.97); pointer-events: none;
}

.hero-inner { max-width: 680px; width: 100%; text-align: center; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.eyebrow-line { flex: 1; max-width: 60px; height: 1px; background: var(--border2); }

.hero-name {
  font-family: var(--serif); font-weight: 300; line-height: 1;
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-first {
  display: block; font-size: clamp(56px, 12vw, 100px);
  color: var(--ink); letter-spacing: -0.02em;
}
.hero-last {
  display: block; font-size: clamp(60px, 13vw, 110px);
  font-style: italic; color: var(--gold); letter-spacing: -0.02em;
  line-height: 0.9;
}

.hero-role {
  font-size: 15px; font-weight: 300; color: var(--ink2);
  letter-spacing: 0.05em; margin-bottom: 16px;
  animation: fadeUp 0.7s 0.18s ease both;
}

.hero-meta {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px; font-size: 13px; color: var(--ink3); margin-bottom: 12px;
  animation: fadeUp 0.7s 0.24s ease both;
}
.meta-sep { opacity: 0.4; }
.meta-available { color: var(--green); font-weight: 500; }

.hero-hint {
  font-size: 12px; color: var(--ink3); letter-spacing: 0.1em;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.3s ease both;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  animation: fadeUp 0.7s 0.36s ease both;
}

.hg-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 14px;
  color: var(--ink2); cursor: pointer; font-family: var(--sans);
  font-size: 12.5px; font-weight: 400; text-align: left;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.hg-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.hg-btn:hover { background: var(--surface2); border-color: var(--gold-mid); color: var(--ink); transform: translateY(-2px); }
.hg-btn:hover::before { opacity: 1; }
.hg-btn:hover .hg-arrow { opacity: 1; transform: translateX(3px); }

.hg-num { font-size: 10px; color: var(--ink3); font-weight: 500; min-width: 18px; }
.hg-name { flex: 1; }
.hg-arrow { font-size: 13px; opacity: 0; transition: opacity 0.2s, transform 0.2s; }

.hg-btn-dl {
  border-color: var(--gold-mid); background: var(--gold-light);
  color: var(--gold);
}
.hg-btn-dl:hover { background: rgba(201,168,76,0.18); }

/* OVERLAY BG */
.overlay-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,9,14,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay-bg.visible { opacity: 1; pointer-events: auto; }

/* PANELS */
.panel {
  position: fixed; z-index: 150;
  top: 53.5%; left: 50%;
  width: var(--panel-w);
  max-height: calc(100vh - 92px);
  transform: translate(-50%, -50%) scale(0.93);
  opacity: 0; pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.34,1.3,0.64,1),
              transform 0.38s cubic-bezier(0.34,1.3,0.64,1);
  overflow-y: auto;
  scrollbar-width: none;
  scrollbar-color: var(--border2) transparent;
  -webkit-overflow-scrolling: touch;

}

.panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.panel-inner {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 36px 40px 40px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.08);
}

.panel-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  font-size: 12px; font-weight: 500; color: var(--ink2);
  cursor: pointer; font-family: var(--sans);
  display: flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.panel-close:hover { background: var(--surface3); color: var(--ink); border-color: var(--border2); }
.panel-close span { font-size: 11px; }

.panel-tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 10px;
}

.panel-title {
  font-family: var(--serif); font-size: 38px; font-weight: 300;
  line-height: 1.1; margin-bottom: 28px; letter-spacing: -0.01em;
}
.panel-title em { font-style: italic; color: var(--gold); }

.panel-intro { font-size: 14px; color: var(--ink2); margin-bottom: 24px; }

.panel-body { display: flex; flex-direction: column; gap: 20px; }

/* SOBRE MÍ */
.about-split { display: grid; grid-template-columns: 1fr 180px; gap: 32px; align-items: start; }

.about-text-col { display: flex; flex-direction: column; gap: 12px; }
.about-text-col p { font-size: 14.5px; color: var(--ink2); line-height: 1.85; }
.about-text-col strong { color: var(--ink); font-weight: 600; }

.about-stats-col { display: flex; flex-direction: column; gap: 8px; }
.astat {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.astat-accent { border-color: var(--gold-mid); background: var(--gold-light); }
.astat-n {
  display: block; font-family: var(--serif); font-size: 30px;
  color: var(--gold); line-height: 1; font-weight: 300;
}
.astat-accent .astat-n { color: var(--gold); }
.astat-l { display: block; font-size: 10.5px; color: var(--ink3); margin-top: 4px; line-height: 1.4; }

.lang-section { border-top: 1px solid var(--border); padding-top: 20px; }
.lang-heading { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink3); font-weight: 500; margin-bottom: 14px; }
.lang-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.lcard {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 10px; text-align: center;
  transition: border-color 0.2s;
}
.lcard:hover { border-color: var(--border2); }
.lcard-flag { font-size: 22px; margin-bottom: 6px; }
.lcard-lang { font-size: 12.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.lcard-lvl { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.06em; display: inline-block; }
.lvl-nat { background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-mid); }
.lvl-b2 { background: rgba(99,102,241,0.12); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }
.lvl-bas { background: var(--surface3); color: var(--ink3); border: 1px solid var(--border); }

/* EXPERIENCIA */
.exp-block {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
  position: relative;
}
.exp-timeline-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
  position: absolute; top: 30px; left: -5px;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.exp-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.exp-badge { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; background: var(--gold-light); padding: 3px 10px; border-radius: 999px; display: inline-block; margin-bottom: 8px; }
.exp-role { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.exp-company { font-size: 13.5px; color: var(--gold); font-weight: 400; margin-bottom: 4px; }
.exp-loc { font-size: 12.5px; color: var(--ink3); margin-bottom: 16px; }
.exp-site { font-size: 12px; color: var(--gold); text-decoration: none; background: var(--gold-light); padding: 6px 12px; border-radius: 8px; border: 1px solid var(--gold-mid); transition: background 0.15s; white-space: nowrap; }
.exp-site:hover { background: rgba(201,168,76,0.2); }
.exp-ul { padding-left: 18px; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.exp-ul li { font-size: 13.5px; color: var(--ink2); line-height: 1.65; }
.exp-ul li strong { color: var(--ink); }
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.exp-tags span { font-size: 11px; font-weight: 500; padding: 3px 10px; background: var(--surface3); color: var(--ink2); border: 1px solid var(--border); border-radius: 999px; }

/* FORMACIÓN */
.edu-items { display: flex; flex-direction: column; gap: 28px; }
.edu-item { display: grid; grid-template-columns: 90px 2px 1fr; gap: 0 20px; }
.edu-year-col { text-align: right; padding-top: 4px; }
.edu-year { font-size: 12px; font-weight: 600; color: var(--ink2); }
.edu-status { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-top: 6px; display: inline-block; }
.edu-status-now { background: var(--gold-light); color: var(--gold); }
.edu-status-done { background: var(--surface3); color: var(--ink3); }
.edu-line { width: 2px; background: var(--border); border-radius: 2px; margin: 4px 0; position: relative; }
.edu-line::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--surface3); border: 2px solid var(--border2); }
.edu-line.edu-line-done::before { border-color: var(--gold); background: var(--gold-light); }
.edu-info { padding-top: 2px; }
.edu-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.edu-center { font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.edu-ul { padding-left: 16px; display: flex; flex-direction: column; gap: 5px; }
.edu-ul li { font-size: 13px; color: var(--ink2); }

/* HARD SKILLS */
.hs-groups { display: flex; flex-direction: column; gap: 24px; }
.hs-group { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.hs-group-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.hs-skills { display: flex; flex-direction: column; gap: 12px; }
.hs-row {}
.hs-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hs-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.hs-tag { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.05em; }
.hs-solid { background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-mid); }
.hs-comp { background: rgba(99,102,241,0.1); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }
.hs-learn { background: rgba(251,191,36,0.08); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }

.hs-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.hs-fill {
  height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.6));
  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);
}
.hs-fill.animate { width: var(--w); }

.hs-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink3); margin-top: 6px; }
.hs-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.hs-dot-solid { background: var(--gold); }
.hs-dot-comp { background: #a5b4fc; }
.hs-dot-learn { background: #fbbf24; }

/* SOFT SKILLS */
.ss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ss-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.ss-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.ss-letter {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold-light); border: 1px solid var(--gold-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; color: var(--gold);
  font-style: italic; margin-bottom: 10px; font-weight: 400;
}
.ss-name { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ss-desc { font-size: 12.5px; color: var(--ink2); line-height: 1.65; }

/* PROYECTOS */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.proj-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; display: block;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.proj-card:hover { border-color: var(--gold-mid); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.proj-card-wip { cursor: default; opacity: 0.7; }
.proj-card-wip:hover { transform: none; border-color: var(--border); box-shadow: none; }
.proj-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.proj-badge { font-size: 10px; font-weight: 600; padding: 3px 9px; background: var(--gold-light); color: var(--gold); border-radius: 999px; letter-spacing: 0.05em; }
.proj-badge-wip { background: rgba(251,191,36,0.1); color: #fbbf24; }
.proj-arr { font-size: 16px; color: var(--gold); }
.proj-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.proj-desc { font-size: 12.5px; color: var(--ink2); line-height: 1.65; margin-bottom: 12px; }
.proj-techs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.proj-techs span { font-size: 10.5px; font-weight: 500; padding: 2px 8px; background: var(--surface3); color: var(--ink3); border: 1px solid var(--border); border-radius: 999px; }
.proj-url { font-size: 11.5px; color: var(--gold); font-weight: 500; }

/* CONTACTO */
.ct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ct-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.ct-card:hover { border-color: var(--gold-mid); transform: translateY(-2px); }
.ct-icon { font-size: 24px; color: var(--gold); margin-bottom: 12px; }
.ct-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink3); font-weight: 600; margin-bottom: 6px; }
.ct-val { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.ct-cta { font-size: 12px; color: var(--gold); font-weight: 500; }
.ct-card-dl { border-color: var(--gold-mid); background: var(--gold-light); }

/* PDF OVERLAY */
.pdf-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,9,14,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.pdf-box {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 16px; padding: 24px 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.pdf-spin {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(18px); }
  to { opacity:1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .topbar-inner { padding: 0 18px; }
  .topbar-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 70px 18px 50px; }
  .hero-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-split { grid-template-columns: 1fr; }
  .about-stats-col { flex-direction: row; flex-wrap: wrap; }
  .astat { flex: 1; min-width: 80px; }
  .lang-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { justify-content: center; gap: 8px; }
  .panel { max-height: calc(100vh - 70px); }
  .panel-inner { padding: 28px 22px 32px; }
  .panel-title { font-size: 30px; }
  .panel-close { top: 16px; right: 16px; }
  .ss-grid { grid-template-columns: 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
  .edu-item { grid-template-columns: 70px 2px 1fr; gap: 0 14px; }
}

@media (max-width: 500px) {
  .topbar-inner { padding: 0 16px; }
  .hero { padding: 66px 16px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hg-btn { font-size: 13px; }
  .hero-meta { flex-direction: column; align-items: center; gap: 10px; }
  .lang-cards { grid-template-columns: 1fr; }
  .hero-inner { max-width: 100%; }
  .panel { width: 95vw; max-height: calc(100vh - 40px); }
  .panel-inner { padding: 24px 18px 22px; }
  .panel-title { font-size: 28px; }
  .panel-close { top: 14px; right: 14px; }
  .mobile-menu { width: 100%; }
  .mobile-menu.open { max-height: calc(100vh - 54px); overflow-y: auto; }
  .edu-item { grid-template-columns: 60px 2px 1fr; gap: 0 12px; }
  .hs-group, .lcard, .astat, .ss-card, .ct-card, .proj-card { width: 100%; }
}

/* PRINT */
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #111 !important; background: white !important; border-color: #ddd !important; box-shadow: none !important; }
  .bg-grid, .bg-glow, .topbar, .overlay-bg, .panel-close, .pdf-overlay, .hero-eyebrow, .hero-hint, .hero-meta, .hero-grid { display: none !important; }
  body { background: white; font-family: sans-serif; font-size: 11pt; line-height: 1.6; }
  .hero { min-height: auto; padding: 20px 0 30px; page-break-after: always; }
  .hero-name { margin-bottom: 8px; }
  .hero-first { font-size: 36pt; color: #111 !important; }
  .hero-last { font-size: 40pt; color: #333 !important; font-style: italic; }
  .hero-role { font-size: 12pt; color: #555 !important; }
  .panel {
    position: static !important;
    opacity: 1 !important; pointer-events: auto !important;
    transform: none !important;
    width: 100% !important; max-height: none !important;
    page-break-inside: avoid;
    margin-bottom: 20px;
  }
  .panel-inner { background: white !important; border: 1px solid #ddd !important; border-radius: 8px; padding: 20px 24px; }
  .panel-tag { color: #666 !important; }
  .panel-title { font-size: 22pt; color: #111 !important; margin-bottom: 16px; }
  .panel-title em { color: #444 !important; font-style: italic; }
  .hs-fill { background: #555 !important; }
  .about-stats-col { flex-direction: row; flex-wrap: wrap; }
  .astat { border: 1px solid #eee; }
  .ss-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid, .ct-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ABOUT EXTRA POLISH */
.lang-section + .lang-section { margin-top: 4px; }
.hs-groups .hs-group { box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.ss-grid .ss-card { min-height: 140px; }

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.55);
  backdrop-filter: blur(2px);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
  box-shadow: 0 0 18px rgba(201,168,76,0.22);
}

.custom-cursor::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}

.cursor-hover {
  width: 34px;
  height: 34px;
  background: rgba(201,168,76,0.08);
}

@media (max-width: 820px) {
  .custom-cursor {
    display: none;
  }
}

body {
  cursor: none;
}

html,
body,
a,
button,
input,
textarea,
select,
label,
[role="button"],
.hg-btn,
.proj-card,
.ct-card,
.panel-close,
.topbar-links a,
.mobile-menu a,
* {
  cursor: none !important;
}

body.no-scroll {
  overflow: hidden;
}
