:root {
  --bg: #07080a;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: rgba(246, 247, 251, 0.68);
  --soft: rgba(246, 247, 251, 0.46);
  --accent: #d7dde8;
  --shadow: 0 10px 50px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #12151c 0%, #090a0d 42%, #060709 100%);
  overflow: hidden;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(22px, 4vw, 42px);
}

.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.34;
  z-index: -3;
  pointer-events: none;
  will-change: transform;
}

.ambient-one {
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  top: 10%;
  left: 8%;
  background: radial-gradient(circle, rgba(73, 101, 164, 0.35) 0%, rgba(73, 101, 164, 0.02) 72%);
}

.ambient-two {
  width: min(36vw, 460px);
  height: min(36vw, 460px);
  right: 6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.01) 70%);
}

.grid,
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 80%);
  opacity: 0.18;
}

.noise {
  z-index: -1;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255,255,255,0.12) 0.6px, transparent 0.8px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
}

.topbar,
.hero,
.footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8vh;
}

.eyebrow {
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 11vw, 7.3rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.title-line {
  display: block;
}

.role {
  margin: 26px 0 0;
  color: rgba(255,255,255,0.87);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.description {
  width: min(680px, 88vw);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.linkedin-button {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow:
    0 12px 38px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.linkedin-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  box-shadow:
    0 18px 48px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.11),
    0 0 0 6px rgba(255,255,255,0.03);
}

.linkedin-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.28),
    0 0 0 8px rgba(255,255,255,0.07),
    0 12px 38px rgba(0,0,0,0.28);
}

.linkedin-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s cubic-bezier(.2, .65, .2, 1) forwards;
}

.fade-delay-1 { animation-delay: 0.12s; }
.fade-delay-2 { animation-delay: 0.28s; }
.fade-delay-3 { animation-delay: 0.42s; }
.fade-delay-4 { animation-delay: 0.54s; }
.fade-delay-5 { animation-delay: 0.68s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero {
    padding-bottom: 5vh;
  }

  .description {
    width: min(560px, 90vw);
  }
}

@media (max-width: 560px) {
  body {
    overflow: auto;
  }

  .page-shell {
    min-height: 100svh;
    padding: 18px 18px 22px;
  }

  .brand {
    width: 38px;
    height: 38px;
    font-size: 0.74rem;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .role {
    margin-top: 20px;
  }

  .description {
    margin-top: 16px;
    width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .linkedin-button {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
  }

  .footer {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
