:root {
  --bg: #0f172a;
  --bg-alt: #020617;
  --fg: #e5e7eb;
  --fg-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56,189,248,0.15);
  --border-subtle: #1f2937;
  --card-bg: #020617;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.75);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  color: var(--fg);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
}

.shell {
  width: 100%;
  max-width: 960px;
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
  border-radius: 1.5rem;
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 2.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.shell::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(129,140,248,0.16), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.shell-inner {
  position: relative;
  z-index: 1;
}

header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  padding-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.title-block {
  max-width: 640px;
}

.profile-photo {
  width: 136px;
  min-width: 136px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 span.highlight {
  background: linear-gradient(120deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.badge-strip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  margin-left: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.badge-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.6);
  font-size: 0.78rem;
  color: var(--accent);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

@media (max-width: 840px) {
  main {
    grid-template-columns: minmax(0, 1fr);
  }
  .badge-strip {
    align-items: flex-start;
  }
  .shell {
    padding: 2rem 1.5rem 1.25rem;
  }
}

section {
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h2::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #e2e8f0;
}

p {
  margin: 0 0 0.75rem;
  font-size: 0.96rem;
  color: #e5e7eb;
}

.muted {
  color: var(--fg-muted);
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,0.4), transparent);
  margin: 1.75rem 0 1.5rem;
}

ul {
  margin: 0.25rem 0 0.75rem 1.1rem;
  padding: 0;
  color: #e5e7eb;
  font-size: 0.95rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: #f9fafb;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.pill {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: rgba(15,23,42,0.9);
}

.side-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(129,140,248,0.18), transparent 55%),
              var(--card-bg);
  border-radius: 1.1rem;
  border: 1px solid rgba(148,163,184,0.35);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: 0 16px 40px rgba(15,23,42,0.85);
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 840px) {
  .side-card {
    position: static;
  }
}

.side-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.side-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.contact-block {
  margin-top: 1rem;
  padding: 0.9rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.5);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.cta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-primary {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(56,189,248,0.9);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.35), rgba(37,99,235,0.9));
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 12px 30px rgba(37,99,235,0.6);
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: var(--fg-muted);
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: rgba(148,163,184,0.9);
  color: #e5e7eb;
}

footer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148,163,184,0.25);
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-sep {
  width: 1px;
  height: 0.9rem;
  background: rgba(148,163,184,0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
