:root {
  --bg: #08080a;
  --card: #09090b;
  --text: #fbf9fa;
  --muted: #a49da1;
  --burgundy: #7F1734;
  --burgundy-hover: #982245;
  --card-shadow:
    0 40px 104px rgba(0,0,0,.82),
    0 18px 46px rgba(0,0,0,.62),
    0 30px 72px rgba(127,23,52,.28),
    0 0 34px rgba(127,23,52,.10);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #09090a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -5vh -5vw;
  background: url('/assets/hero.3223d5f8.webp') center / cover no-repeat;
  filter: blur(24px) saturate(.88) brightness(.80);
  transform: scale(1.08);
  opacity: .96;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: rgba(8,7,9,.34);
  pointer-events: none;
}

a { color: inherit; }

.shell {
  width: min(100% - 28px, 446px);
  min-height: 100svh;
  margin: 0 auto;
  padding:
    max(14px, env(safe-area-inset-top))
    0
    max(14px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  overflow: hidden;
  background: rgba(9,9,11,.988);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.hero-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2048 / 1047;
  overflow: hidden;
  background: #151014;
  text-decoration: none;
}

.hero-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 18%;
  background: linear-gradient(to top, rgba(9,9,11,.20), transparent);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .22s ease, filter .22s ease;
}

@media (hover:hover) {
  .hero-link:hover .hero {
    transform: scale(1.008);
    filter: brightness(1.025);
  }
}

.content {
  padding: 25px clamp(20px, 6vw, 31px) clamp(23px, 6vw, 29px);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 7.5vw, 38px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.bio {
  margin: 0 auto 24px;
  max-width: 372px;
  color: #f1edef;
  font-size: clamp(16.2px, 4.15vw, 18px);
  line-height: 1.48;
  letter-spacing: -.012em;
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 13px 20px;
  border-radius: 18px;
  text-decoration: none;
  background: #ffffff;
  color: #09090b;
  border: 2px solid var(--burgundy);
  box-shadow:
    0 10px 26px rgba(0,0,0,.34),
    0 0 0 1px rgba(127,23,52,.12),
    0 0 20px rgba(127,23,52,.22);
  transition:
    transform .17s cubic-bezier(.2,.8,.2,1),
    box-shadow .17s ease,
    border-color .17s ease,
    background .17s ease;
}

.primary-logo {
  width: 34px;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.primary strong {
  font-size: 17.5px;
  font-weight: 850;
  letter-spacing: -.018em;
  color: #08080a;
}

.primary:focus-visible,
.social-link:focus-visible,
.footer a:focus-visible,
.back-link:focus-visible {
  outline: 3px solid rgba(127,23,52,.58);
  outline-offset: 3px;
}

.hero-link::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 4;
  pointer-events: none;
  border: 3px solid rgba(255,255,255,.96);
  box-shadow: 0 0 0 2px rgba(127,23,52,.96);
  opacity: 0;
  transition: opacity .15s ease;
}

.hero-link:focus-visible {
  outline: none;
}

.hero-link:focus-visible::before {
  opacity: 1;
}

@media (hover:hover) {
  .primary:hover {
    transform: translateY(-2px) scale(1.006);
    background: #fffefe;
    border-color: var(--burgundy-hover);
    box-shadow:
      0 16px 38px rgba(0,0,0,.42),
      0 0 0 4px rgba(127,23,52,.15),
      0 0 30px rgba(127,23,52,.38);
  }
}

.primary:active {
  transform: translateY(0) scale(.998);
  box-shadow:
    0 8px 20px rgba(0,0,0,.32),
    0 0 16px rgba(127,23,52,.24);
}

.socials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  color: #f4f0f2;
  font-weight: 700;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

@media (hover:hover) {
  .social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.055);
  }
}

.xmark {
  font-size: 19px;
  font-weight: 500;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 17px 8px 0;
  color: rgba(255,255,255,.47);
  font-size: 12.5px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 2px;
  text-decoration: none;
}

.footer a:hover { color: rgba(255,255,255,.76); }

.copyright {
  flex-basis: 100%;
  text-align: center;
  margin-top: -5px;
}

.legal-shell {
  width: min(100% - 28px, 780px);
  margin: 0 auto;
  padding: clamp(20px, 5vh, 50px) 0 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255,255,255,.84);
  text-decoration: none;
  font-weight: 700;
}

.legal-card {
  background: rgba(9,9,11,.988);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: clamp(25px, 5vw, 46px);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.legal-card h2 {
  margin: 30px 0 9px;
  font-size: 19px;
}

.legal-card p,
.legal-card address {
  color: #cbc5c8;
  font-size: 15.5px;
  font-style: normal;
}

.legal-card a {
  color: #73ccef;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 520px) {
  body::before {
    inset: -3vh -14vw;
    filter: blur(20px) saturate(.88) brightness(.78);
    transform: scale(1.10);
  }

  body::after {
    background: rgba(8,7,9,.38);
  }

  .shell {
    width: min(100% - 18px, 446px);
    min-height: 100svh;
    padding:
      max(10px, env(safe-area-inset-top))
      0
      max(10px, env(safe-area-inset-bottom));
  }

  .card {
    border-radius: 23px;
    box-shadow:
      0 30px 76px rgba(0,0,0,.80),
      0 14px 36px rgba(0,0,0,.58),
      0 24px 58px rgba(127,23,52,.24),
      0 0 24px rgba(127,23,52,.08);
  }

  .content {
    padding-top: 24px;
  }

  h1 {
    margin-bottom: 20px;
  }

  .primary {
    min-height: 64px;
  }
}

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


@media (max-height: 720px) {
  .shell {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 18px;
  }
}


.bio-lead {
  display: block;
  margin-bottom: 3px;
  font-size: 1.045em;
  font-weight: 650;
  color: #fffafc;
}

.footer a {
  color: rgba(255,255,255,.62);
}

.footer a:hover {
  color: rgba(255,255,255,.88);
}

.copyright {
  color: rgba(255,255,255,.34);
}

@media (max-width: 520px) and (min-height: 721px) {
  .shell {
    transform: translateY(-3.5svh);
  }
}
