:root {
  --bg: #050608;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --text: #f7f3eb;
  --muted: rgba(247, 243, 235, 0.8);
  --subtle: rgba(247, 243, 235, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ffb34d;
  --accent-soft: rgba(255, 179, 77, 0.22);
  --accent-strong: #ffd37b;
  --surface: rgba(12, 14, 20, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 182, 89, 0.06), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(255, 76, 76, 0.08), transparent 12%),
    radial-gradient(circle at 18% 78%, rgba(255, 211, 123, 0.08), transparent 18%),
    var(--bg);
  color: var(--text);
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0.8px, transparent 0.9px);
  background-size: 34px 34px;
  opacity: 0.38;
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 36px;
  isolation: isolate;
}

.noise-layer {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.24) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-left {
  left: -6rem;
  bottom: 4rem;
  background: rgba(255, 179, 77, 0.3);
  animation: drift 18s ease-in-out infinite;
}

.glow-right {
  right: -3rem;
  top: 22%;
  width: 9rem;
  height: 9rem;
  background: rgba(255, 67, 67, 0.46);
  animation: pulse 7s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.brand {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 138px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 123, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 211, 123, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 179, 77, 0.08);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 40px;
}

.identity-block {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  text-align: center;
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portrait-frame {
  position: relative;
  width: 164px;
  margin: 0 auto 30px;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(255, 211, 123, 0.24), transparent 65%);
  z-index: -1;
  animation: pulse 6s ease-in-out infinite;
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  background: #121212;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fffaf2;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.title {
  margin: 16px auto 0;
  max-width: 38rem;
  color: rgba(247, 243, 235, 0.9);
  font-size: clamp(1.02rem, 2.3vw, 1.38rem);
  line-height: 1.5;
}

.divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 30px;
}

.divider span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.story-block {
  width: min(100%, 46rem);
  margin: 0 auto;
  text-align: left;
}

.summary {
  margin: 0;
  color: rgba(247, 243, 235, 0.96);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.95;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.context-line {
  margin: 24px 0 0;
  color: rgba(247, 243, 235, 0.62);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-top: 8px;
}

.signature-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 24rem;
}

.signature {
  margin: 0;
  color: var(--accent-strong);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--accent-strong);
  transform: translateX(3px);
  outline: none;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(16px, -20px, 0) scale(1.08);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.08);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 24px 18px 28px;
  }

  .topbar {
    justify-content: center;
  }

  .hero {
    padding: 42px 0 28px;
  }

  .portrait-frame {
    width: 140px;
    margin-bottom: 24px;
  }

  .story-block {
    text-align: center;
  }

  .cta-row {
    justify-content: center;
  }

  .summary {
    line-height: 1.82;
  }

  .context-line {
    line-height: 1.8;
  }

  .signature-wrap {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
