@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

:root {
  --ink: #1a0533;
  --text: #2d1b4e;
  --muted: #7c6a9a;
  --paper: #f8f5ff;
  --white: #ffffff;
  --line: #e2d6f5;
  --blue: #7c3aed;
  --green: #06b6d4;
  --gold: #f472b6;
  --coral: #a855f7;
  --deep: #0f0720;
  --shadow: 0 22px 60px rgba(124, 58, 237, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  padding-inline: clamp(18px, 5vw, 76px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 76px);
  background: rgba(246, 247, 251, 0.92);
  border-bottom: 1px solid rgba(216, 224, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--ink);
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover,
nav a.active,
.contact-panel a:hover,
footer a:hover {
  color: var(--blue);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding-block: clamp(46px, 8vw, 104px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 7, 32, 0.97), rgba(124, 58, 237, 0.9), rgba(168, 85, 247, 0.7)),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 49%);
}

.hero-copy {
  max-width: 750px;
}

.status-pill,
.eyebrow {
  margin: 0 0 13px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  color: #fffbeb;
  background: rgba(243, 167, 18, 0.22);
  border: 1px solid rgba(243, 167, 18, 0.55);
  border-radius: 999px;
}

.eyebrow {
  color: var(--green);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 16px;
  color: #e8eefc;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 760;
  line-height: 1.32;
}

.intro {
  max-width: 680px;
  color: #cbd7f0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--deep);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(243, 167, 18, 0.28);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  min-height: 520px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.profile-strip,
.focus-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: var(--white);
}

.profile-strip {
  border-top: 1px solid var(--line);
}

.profile-strip span,
.focus-stack span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.profile-strip span {
  color: var(--ink);
  background: #eef2f8;
}

.focus-stack span {
  color: var(--white);
  background: var(--ink);
}

.focus-stack span:nth-child(2n) {
  background: var(--green);
}

.focus-stack span:nth-child(3n) {
  background: var(--coral);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stats-band article {
  min-height: 170px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
}

.metric {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 950;
  line-height: 0.95;
}

.stats-band p {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 720;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  padding-block: clamp(64px, 9vw, 112px);
}

.section-heading {
  max-width: 780px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.03rem;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.skill-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.skill-board article,
.project-card,
.timeline-item,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skill-board article {
  min-height: 230px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.07);
}

.skill-index,
.project-number {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 950;
}

.skill-board p,
.project-card p,
.timeline-item p {
  color: var(--muted);
}

.skill-board article:nth-child(2) .skill-index {
  color: var(--green);
}

.skill-board article:nth-child(3) .skill-index {
  color: var(--gold);
}

.skill-board article:nth-child(4) .skill-index {
  color: var(--coral);
}

.project-section {
  padding-block: clamp(64px, 9vw, 116px);
  background-color: #f3eeff;
  background-image: repeating-linear-gradient(90deg, transparent 0 48px, rgba(124, 58, 237, 0.05) 48px 49px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.project-card {
  display: grid;
  align-content: start;
  min-height: 340px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.09);
}

.project-card.featured {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

.project-card.featured h3,
.project-card.featured .project-number {
  color: var(--white);
}

.project-card.featured p {
  color: #d5def0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-row span {
  color: var(--ink);
  background: #eef2f8;
}

.project-card.featured .tag-row span {
  color: var(--deep);
  background: var(--gold);
}

.timeline-section {
  padding-block: clamp(64px, 9vw, 112px);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.timeline-date {
  color: var(--coral);
  font-weight: 950;
}

.timeline-item p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
  padding-block: clamp(64px, 9vw, 104px);
  color: var(--white);
  background: var(--deep);
}

.contact h2 {
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: #dbe5f2;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  overflow-wrap: anywhere;
}

.contact-panel a {
  color: var(--white);
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 76px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer a {
  font-weight: 850;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .stats-band,
  .skill-board {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  nav {
    gap: 16px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  .button {
    width: 100%;
  }
}
