:root {
  color-scheme: light only;
  --bg: #171112;
  --panel-border: rgba(255, 255, 255, 0.16);
  --panel-shadow: 0 36px 84px rgba(0, 0, 0, 0.44);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);
  --accent: #ffc6b8;
  --accent-strong: #ffd8cf;
  --button-bg: rgba(34, 17, 21, 0.38);
  --button-hover: rgba(48, 25, 30, 0.64);
}

*,
*::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(62, 35, 39, 0.36), rgba(13, 11, 12, 0.84)),
    url("./pfp.jpg") center 18% / cover no-repeat;
  filter: blur(18px) saturate(0.86);
  transform: scale(1.08);
}

body::after {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 169, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(35, 22, 24, 0.34), rgba(14, 12, 12, 0.74));
}

.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(80vh, 44rem);
  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(133, 92, 87, 0.12) 24%, rgba(42, 28, 29, 0.94) 100%),
    url("./pfp.jpg") center 16% / 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(75, 54, 52, 0.14), rgba(18, 14, 15, 0.66)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(112, 84, 82, 0.16), rgba(255, 192, 171, 0.06));
}

.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.9;
  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(255, 198, 184, 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(255, 216, 207, 1);
  box-shadow: 0 18px 30px rgba(255, 198, 184, 0.16);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(255, 198, 184, 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: 34rem;
    border-radius: 2rem;
    background-position: center 14%;
  }

  .hero-card__content {
    padding: 2rem;
  }

  p {
    line-height: 1.75;
  }
}

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

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

  .hero-card__content {
    padding: 1.5rem;
  }

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