:root {
  --bg: #080b11;
  --surface: #101620;
  --surface-light: #151d29;
  --line: #253040;
  --text: #f3f6fa;
  --muted: #98a4b6;
  --accent: #70f0bd;
  --accent-dark: #07150f;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 10%, rgba(68, 109, 143, 0.2), transparent 31rem),
    radial-gradient(circle at 9% 45%, rgba(40, 150, 111, 0.09), transparent 25rem),
    var(--bg);
  line-height: 1.65;
}

.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  color: var(--accent-dark);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 11, 17, 0.76);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner { min-height: 74px; }

.brand { display: inline-flex; gap: 0.75rem; align-items: center; font-weight: 760; letter-spacing: -0.02em; }

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent);
  border-radius: 11px;
  font-size: 0.8rem;
  box-shadow: 0 0 0 5px rgba(112, 240, 189, 0.07);
}

.availability {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.availability > span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 5rem;
  align-items: center;
  min-height: 650px;
  padding-block: 82px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1, h2 { line-height: 1.08; letter-spacing: -0.045em; }

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(4rem, 9vw, 7.2rem);
  font-weight: 800;
}

h1 span { color: var(--accent); }

.role { margin-bottom: 0.65rem; color: #d8dfe9; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 680; }

.intro { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }

.portrait {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #172232, #0d121a);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.portrait::before {
  position: absolute;
  width: 250px;
  height: 250px;
  content: "";
  background: radial-gradient(circle, rgba(112, 240, 189, 0.2), transparent 68%);
  border: 1px solid rgba(112, 240, 189, 0.18);
  border-radius: 43% 57% 59% 41%;
  transform: rotate(22deg);
}

.portrait span { z-index: 1; font-size: 4.5rem; font-weight: 850; letter-spacing: -0.09em; }

.portrait small {
  position: absolute;
  bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-block,
.panel {
  background: linear-gradient(145deg, rgba(20, 28, 40, 0.96), rgba(13, 18, 27, 0.96));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.23);
}

.section-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: clamp(1.8rem, 5vw, 3.4rem);
}

.section-number { color: #526078; font: 750 0.85rem/1 ui-monospace, monospace; }

.section-block h2,
.panel h2 { margin-bottom: 1.25rem; font-size: clamp(1.9rem, 4vw, 3rem); }

.section-block p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }

.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 1rem 100px; }

.panel { padding: clamp(1.6rem, 4vw, 2.5rem); }

.skills { padding: 0; margin: 1.4rem 0 0; list-style: none; }

.skills li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.72rem 0;
  color: #dbe2ec;
  border-bottom: 1px solid var(--line);
}

.skills li:last-child { border-bottom: 0; }

.skills li span { color: #5f6e83; font: 700 0.72rem/1 ui-monospace, monospace; }

.project-item { display: flex; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }

.project-item:last-child { border-bottom: 0; }

.project-state { flex: none; width: 9px; height: 9px; margin-top: 0.48rem; background: var(--accent); border-radius: 50%; }

.project-item p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9rem; }

.upcoming { opacity: 0.58; }

footer { color: #78869a; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.8rem; }

.footer-inner { min-height: 80px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1080px); }
  .brand > span:last-child { display: none; }
  .availability { font-size: 0.67rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding-block: 70px; }
  .portrait { min-height: 220px; transform: none; }
  .portrait span { font-size: 3.3rem; }
  .section-block { grid-template-columns: 1fr; gap: 0.7rem; }
  .two-column { grid-template-columns: 1fr; padding-bottom: 70px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
