:root {
  --bg: #090a0c;
  --card: linear-gradient(180deg, rgba(38, 40, 48, 0.92), rgba(22, 24, 28, 0.9));
  --text: #f3efe6;
  --muted: #a8a49a;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #4ea3ff;
  --accent-2: #7cbcff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --paper: #fff;
}

[data-theme="light"] {
  --bg: #ebe7de;
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 246, 240, 0.9));
  --text: #161616;
  --muted: #5d5a53;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #2b7de9;
  --accent-2: #1f6ad0;
  --shadow: 0 18px 44px rgba(40, 36, 28, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  transition: background 0.4s ease, color 0.4s ease;
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 380px at 50% -8%, rgba(78, 163, 255, 0.16), transparent 58%),
    radial-gradient(420px 220px at 88% 12%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.topbar {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.circle-btn,
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 20%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.circle-btn:hover,
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
}

.circle-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 78px 16px 88px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 36px 28px 32px;
  text-align: center;
}

.hero { margin-bottom: 16px; }
.about { margin-bottom: 16px; padding: 26px 24px; }

h1 {
  margin: 0 0 6px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.title {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.tagline,
.hire-note,
.about-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.hire-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(46, 125, 233, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.paper {
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.resume-frame {
  width: 100%;
  height: 860px;
  border: 0;
  background: #fff;
}

.reveal { animation: up 0.7s ease both; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.18s; }

@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .circle-btn, .icon-btn, .pill { transition: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 34px; }
  .resume-frame { height: 540px; }
  .page { padding-top: 72px; }
}
