:root {
  --bg: #06111f;
  --bg-deep: #020814;
  --panel: rgba(8, 20, 40, 0.68);
  --panel-strong: rgba(10, 24, 48, 0.9);
  --line: rgba(166, 219, 255, 0.18);
  --text: #ecf7ff;
  --muted: #abc7d9;
  --accent: #8fdcff;
  --accent-strong: #58bdf1;
  --accent-soft: rgba(120, 205, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
  --section-gap: 6.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(69, 131, 184, 0.26), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(77, 179, 229, 0.18), transparent 22%),
    radial-gradient(circle at bottom center, rgba(20, 67, 119, 0.28), transparent 35%),
    linear-gradient(180deg, #071324 0%, #030813 54%, #02050c 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 25%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.05), transparent 18%);
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
}

.stars-a::before {
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 7% 12%, rgba(255, 255, 255, 0.72) 0 1.1px, transparent 2.2px),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 31% 44%, rgba(143, 220, 255, 0.62) 0 1.2px, transparent 2.3px),
    radial-gradient(circle at 46% 16%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2.1px),
    radial-gradient(circle at 58% 66%, rgba(255, 255, 255, 0.52) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 73% 27%, rgba(143, 220, 255, 0.58) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.68) 0 1.1px, transparent 2.3px);
  filter: blur(0.1px);
  animation: twinkle 7.5s ease-in-out infinite;
}

.stars-b::after {
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.42) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 27% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 88%, rgba(143, 220, 255, 0.45) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 61% 41%, rgba(255, 255, 255, 0.4) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 79% 68%, rgba(255, 255, 255, 0.38) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 93% 21%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px);
  animation: twinkle 10s ease-in-out infinite reverse;
}

.stars-c::before,
.stars-c::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    9vw 16vh 0 0 rgba(255, 255, 255, 0.95),
    21vw 42vh 0 0 rgba(143, 220, 255, 0.9),
    36vw 27vh 0 0 rgba(255, 255, 255, 0.92),
    54vw 62vh 0 0 rgba(255, 255, 255, 0.9),
    68vw 18vh 0 0 rgba(143, 220, 255, 0.92),
    83vw 48vh 0 0 rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 4px rgba(180, 230, 255, 0.55));
}

.stars-c::before {
  opacity: 0.25;
  animation: sparkle 3.8s ease-in-out infinite;
}

.stars-c::after {
  opacity: 0.18;
  top: 9vh;
  left: 7vw;
  animation: sparkle 5.2s ease-in-out infinite 0.9s;
}

.site-header,
main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: 6rem;
}

main > section {
  margin-bottom: var(--section-gap);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 3.5rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
  padding: 4rem 0 5.5rem;
}

.hero-copy {
  animation: rise 0.9s ease both;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: var(--accent);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  max-width: 11ch;
  text-wrap: balance;
}

.lede {
  max-width: 50ch;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #03111c;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(88, 189, 241, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.hero-card,
.glass-panel,
.timeline-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.86), rgba(6, 16, 31, 0.72));
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: rise 1s ease 120ms both;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -15% -30% 20%;
  height: 240px;
  background: radial-gradient(circle, rgba(92, 177, 237, 0.36) 0%, transparent 60%);
}

.avatar-ring {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 0.95rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(143, 220, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.avatar-ring img {
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.glass-panel h3,
.timeline-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
}

.glass-panel p,
.timeline-item p,
.contact-panel p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.content-grid {
  display: grid;
  gap: 1.6rem;
}

.glass-panel {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.content-grid {
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
}

.content-grid .section-heading {
  grid-column: 1 / -1;
}

.section-heading {
  max-width: 58ch;
  margin-bottom: 1.4rem;
}

.brand-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.brand-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.brand-links a:hover,
.brand-links a:focus-visible {
  border-color: rgba(143, 220, 255, 0.55);
  background: rgba(143, 220, 255, 0.12);
}

.brand-links svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  max-width: 14ch;
  text-wrap: balance;
}

.copy-stack {
  display: grid;
  gap: 1rem;
}

.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.15rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 126px;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(143, 220, 255, 0.55), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.7rem;
  border-radius: var(--radius-lg);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 1.95rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(143, 220, 255, 0.8);
}

.timeline-period {
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.contact-panel {
  padding: 2.9rem;
  display: grid;
  gap: 1.4rem;
}

.contact-panel > div {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}

.contact-panel p {
  max-width: none;
}

.contact-panel .contact-actions {
  margin-top: 0;
  justify-content: center;
}

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

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.08;
  }
  50% {
    opacity: 0.2;
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.12;
    filter: drop-shadow(0 0 2px rgba(180, 230, 255, 0.35));
  }
  35% {
    opacity: 0.36;
    filter: drop-shadow(0 0 8px rgba(180, 230, 255, 0.9));
  }
  60% {
    opacity: 0.18;
    filter: drop-shadow(0 0 4px rgba(180, 230, 255, 0.55));
  }
}

@media (max-width: 1080px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 4rem;
  }

}

@media (max-width: 720px) {
  :root {
    --section-gap: 4.8rem;
  }

  .site-header {
    position: static;
    display: grid;
    justify-content: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .timeline::before {
    display: none;
  }

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

  .timeline-item::before {
    display: none;
  }

  .stars-a::before,
  .stars-b::after,
  .stars-c::before,
  .stars-c::after {
    animation: none;
    opacity: 0.06;
  }
}
