:root {
  --bg: #0b0d10;
  --panel: #111419;
  --panel-2: #15191f;
  --text: #f0f2f4;
  --muted: #8d949e;
  --line: rgba(255,255,255,.09);
  --accent: #79d7bd;
  --accent-soft: rgba(121,215,189,.12);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px circle at var(--mx, 78%) var(--my, 24%), rgba(121,215,189,.055), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 30%);
  transition: background .12s linear;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 24px 0 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

nav { display: flex; gap: 22px; }
nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right .22s ease;
}
nav a:hover { color: var(--text); }
nav a:hover::after { right: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: clamp(46px, 8vh, 82px) 0 clamp(38px, 6vh, 64px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  animation: reveal .7s cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .015em;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(121,215,189,.28);
  animation: pulse 2.8s ease-out infinite;
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(72px, 10vw, 138px);
  line-height: .84;
  letter-spacing: -.072em;
  font-weight: 720;
}
h1 span {
  display: block;
  transform: translateY(24px);
  opacity: 0;
  animation: title-in .8s cubic-bezier(.18,.8,.2,1) forwards;
}
h1 span:nth-child(2) { animation-delay: .08s; }

.intro {
  max-width: 560px;
  margin: 28px 0 0;
  color: #b4bac2;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  letter-spacing: -.025em;
  opacity: 0;
  animation: reveal .65s .22s ease forwards;
}

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  opacity: 0;
  animation: card-in .8s .12s cubic-bezier(.18,.8,.2,1) forwards;
}
.profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(121,215,189,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.016));
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  font-size: 11px;
  letter-spacing: .04em;
}

.signal {
  position: relative;
  height: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
}
.signal i {
  position: absolute;
  top: 0;
  left: -32%;
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 4s ease-in-out infinite;
}

.facts { display: grid; }
.facts > div {
  display: grid;
  gap: 7px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.label {
  color: #6f7782;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.facts strong {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -.015em;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stack span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aeb4bc;
  background: rgba(255,255,255,.018);
  font-size: 12px;
  font-weight: 620;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.stack span:hover {
  color: var(--text);
  border-color: rgba(121,215,189,.22);
  transform: translateY(-2px);
}

footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
}
footer a {
  color: #d7dbe0;
  font-size: 13px;
  font-weight: 650;
}
footer a span { color: var(--accent); }
footer > span {
  color: #676f79;
  font-size: 12px;
}

@keyframes title-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(121,215,189,.28); }
  75%, 100% { box-shadow: 0 0 0 9px rgba(121,215,189,0); }
}
@keyframes scan {
  0%, 18% { left: -32%; opacity: 0; }
  35% { opacity: 1; }
  72% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 34px, 680px); }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 34px; }
  h1 { font-size: clamp(68px, 18vw, 112px); }
  .profile-card { width: 100%; }
}

@media (max-width: 520px) {
  .shell { padding-top: 16px; }
  nav { gap: 13px; }
  nav a { font-size: 12px; }
  h1 { font-size: clamp(62px, 20vw, 88px); }
  .intro { margin-top: 22px; font-size: 17px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (min-width: 821px) and (max-height: 760px) {
  .shell { padding-top: 16px; }
  .hero { padding: 34px 0 28px; }
  h1 { font-size: clamp(66px, 8.4vw, 106px); }
  .intro { margin-top: 20px; font-size: 17px; }
  .facts > div { padding: 12px 0; }
}

/* 3-second staged entrance sequence */
.topbar {
  opacity: 0;
  animation: fade-in .5s .08s ease-out forwards;
}

.eyebrow {
  opacity: 0;
  animation: fade-in .5s .38s ease-out forwards;
}

h1 span {
  transform: none;
  animation-name: fade-in;
  animation-duration: .62s;
  animation-timing-function: ease-out;
}
h1 span:first-child { animation-delay: .68s; }
h1 span:nth-child(2) { animation-delay: .96s; }

.intro {
  animation: fade-in .56s 1.34s ease-out forwards;
}

.profile-card {
  animation: fade-in .58s 1.62s ease-out forwards;
}

.card-head,
.signal,
.facts > div,
.stack span,
footer > * {
  opacity: 0;
  animation: fade-in .44s ease-out forwards;
}

.card-head { animation-delay: 1.88s; }
.signal { animation-delay: 2.02s; }
.facts > div:nth-child(1) { animation-delay: 2.12s; }
.facts > div:nth-child(2) { animation-delay: 2.25s; }
.facts > div:nth-child(3) { animation-delay: 2.38s; }

.stack span:nth-child(1) { animation-delay: 2.42s; }
.stack span:nth-child(2) { animation-delay: 2.50s; }
.stack span:nth-child(3) { animation-delay: 2.58s; }
.stack span:nth-child(4) { animation-delay: 2.66s; }
.stack span:nth-child(5) { animation-delay: 2.74s; }
.stack span:nth-child(6) { animation-delay: 2.82s; }

footer > * { animation-delay: 2.72s; }
footer > *:last-child { animation-delay: 2.88s; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Profile photo area */
.photo-frame {
  position: relative;
  width: clamp(132px, 13vw, 172px);
  aspect-ratio: 1;
  margin: 2px auto 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: #0d1014;
  box-shadow: 0 0 0 6px rgba(255,255,255,.025);
  opacity: 0;
  animation: fade-in .5s 1.92s ease-out forwards;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 50%;
  filter: saturate(.92) contrast(1.02);
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(240,242,244,.34);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 750;
  letter-spacing: -.05em;
}
.signal { animation-delay: 2.08s; }
.facts > div:nth-child(1) { animation-delay: 2.18s; }
.facts > div:nth-child(2) { animation-delay: 2.31s; }
.facts > div:nth-child(3) { animation-delay: 2.44s; }
