/* =========================================================
   LANDING PAGE — single-screen personal front door
   ========================================================= */

.page-landing {
  min-height: 100vh;
  display: flex;
}

/* ---- Theme toggle (floats top-right) ---- */
.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  background: var(--bg-secondary);
  color: var(--text-light);
  border: 1px solid color-mix(in srgb, var(--purple-primary) 30%, transparent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--purple-primary);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--purple-primary) 25%, transparent);
}

/* ---- Layout ---- */
.landing {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 2rem;
  overflow: hidden;
}

/* Soft purple glow behind the content */
.landing-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--purple-primary) 22%, transparent) 0%,
    transparent 68%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.landing-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* ---- Name ---- */
.landing-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--purple-soft), var(--purple-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--purple-primary);
}

/* ---- Tagline ---- */
.landing-tagline {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.landing-role {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  color: var(--text-light);
}

.landing-subrole {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---- Bio ---- */
.landing-bio {
  margin: 2rem auto 0;
  max-width: 46ch;
  font-size: 1.05rem;
  color: var(--text-light);
}

.landing-bio p {
  margin: 0 0 1rem;
}

.landing-bio p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ---- Links ---- */
.landing-links {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-links a {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-light);
  border: 1px solid color-mix(in srgb, var(--purple-primary) 40%, transparent);
  border-radius: 999px;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.landing-links a:hover,
.landing-links a:focus-visible {
  transform: translateY(-2px);
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #fff;
  text-decoration: none;
}

/* ---- Footer ---- */
.landing-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.landing-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .landing-bio { font-size: 1rem; }
  .landing-links { width: 100%; }
  .landing-links a { flex: 1; text-align: center; }
}
