:root {
  --void: #060a0a;
  --surface: #0d1615;
  --surface-2: #101c1b;
  --accent: #22e8c7;
  --accent-dim: #12a98f;
  --accent-glow: rgba(34, 232, 199, 0.35);
  --white: #f2f6f5;
  --muted: #7c928e;
  --border: rgba(34, 232, 199, 0.14);
  --border-strong: rgba(34, 232, 199, 0.35);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; }

/* film grain, very subtle */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(18, 169, 143, 0.18), transparent 60%),
    var(--void);
}

.hero-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-lines {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 28px 40px;
  animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.ring {
  position: absolute;
  top: 20px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid var(--border);
  z-index: -1;
}

.ring::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  border: 1px solid rgba(34, 232, 199, 0.07);
}

.avatar-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin-bottom: 26px;
}

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 40px var(--accent-glow);
  background: var(--surface);
}

.eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}

.name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 20%, #b9f4e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  max-width: 320px;
}

.tagline {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.6;
}

/* socials */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 9px 10px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.social-pill:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.social-pill svg.icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.badge {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--accent);
  color: #05201b;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.cta:hover {
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-2px);
  background: #3ff5d4;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  width: 22px;
  height: 22px;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============ WORK ============ */

.work {
  position: relative;
  padding: 96px 20px 60px;
  max-width: 880px;
  margin: 0 auto;
}

.work-head {
  margin-bottom: 44px;
}

.work-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 600;
  margin: 0 0 8px;
}

.work-head p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .projects { grid-template-columns: 1fr 1fr; }
}

.project-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 220ms ease, transform 220ms ease;
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}

.status-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--border);
}

.status-pill.live {
  color: var(--accent);
  border-color: var(--border-strong);
}

.project-card p.desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: var(--accent-dim);
  background: rgba(34, 232, 199, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ============ FOOTER ============ */

.footer {
  text-align: center;
  padding: 40px 20px 50px;
  color: var(--muted);
  font-size: 13px;
}
