:root {
  color-scheme: light only;
  --bg: #161313;
  --panel-border: rgba(255, 255, 255, 0.15);
  --panel-shadow: 0 36px 88px rgba(0, 0, 0, 0.46);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);
  --accent: #d8cab9;
  --accent-strong: #efe4d4;
  --button-bg: rgba(20, 17, 16, 0.4);
  --button-hover: rgba(34, 29, 27, 0.66);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  inset: -6%;
  background:
    linear-gradient(145deg, rgba(60, 50, 44, 0.3), rgba(12, 11, 11, 0.86)),
    url("./pfp.jpg") center 18% / cover no-repeat;
  filter: blur(18px) saturate(0.82);
  transform: scale(1.08);
}

body::after {
  background:
    radial-gradient(circle at top left, rgba(216, 202, 185, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(34, 29, 27, 0.34), rgba(13, 12, 12, 0.76));
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.hero-card {
  position: relative;
  width: min(100%, 34rem);
  min-height: min(82vh, 46rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 2.5rem;
  box-shadow: var(--panel-shadow);
  background:
    linear-gradient(180deg, rgba(126, 107, 95, 0.1) 18%, rgba(34, 28, 25, 0.95) 100%),
    url("./pfp.jpg") center 18% / cover no-repeat;
  isolation: isolate;
  transform: translateY(16px) scale(0.985);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.9s ease;
}

body.is-ready .hero-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hero-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(80, 66, 58, 0.12), rgba(18, 15, 14, 0.68)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(112, 94, 84, 0.12), rgba(216, 202, 185, 0.05));
}

.hero-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem);
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.6rem, 6vw, 3.45rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  margin: 0;
  max-width: 29rem;
  font-size: 1rem;
  line-height: 1.88;
  font-weight: 300;
  color: var(--text-soft);
}

.cta-button {
  margin-top: 2rem;
  width: 100%;
  min-height: 3.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  border: 2px solid rgba(216, 202, 185, 0.85);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--accent);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.cta-button:hover {
  transform: scale(0.985);
  background: var(--button-hover);
  border-color: rgba(239, 228, 212, 1);
  box-shadow: 0 18px 30px rgba(216, 202, 185, 0.15);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(216, 202, 185, 0.35);
  outline-offset: 4px;
}

.cta-button__label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cta-button__icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}

.cta-button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 736px) {
  .page-shell {
    padding: 1.25rem;
  }

  .hero-card {
    min-height: 35rem;
    border-radius: 2rem;
    background-position: center 16%;
  }

  .hero-card__content {
    padding: 2rem;
  }

  p {
    line-height: 1.75;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0.9rem;
  }

  .hero-card {
    min-height: 32rem;
    border-radius: 1.75rem;
  }

  .hero-card__content {
    padding: 1.5rem;
  }

  .cta-button {
    min-height: 3.6rem;
    padding: 0.85rem 1.15rem;
  }
}
