@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("./assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("./assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #0d0a0e;
  --panel: #171219;
  --panel-2: #201822;
  --text: #fff8fb;
  --muted: #cbbec7;
  --accent: #ff77ad;
  --accent-2: #f4bfd4;
  --border: rgba(255, 255, 255, 0.10);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 119, 173, .14), transparent 34rem),
    radial-gradient(circle at 90% 75%, rgba(255, 255, 255, .05), transparent 28rem),
    var(--bg);
}

a, button { font: inherit; }

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

.profile-card {
  width: min(100%, 460px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--panel), #110d12);
  box-shadow: var(--shadow);
}

.hero-wrap {
  position: relative;
  height: min(68vh, 640px);
  min-height: 500px;
  overflow: hidden;
  background: #110d12;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(17, 13, 18, .16) 84%, #110d12 100%);
  pointer-events: none;
}

.content {
  margin-top: -118px;
  position: relative;
  z-index: 2;
  padding: 0 22px 26px;
  background: linear-gradient(180deg, transparent, #110d12 88px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

h1, h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 11ch;
  font-size: clamp(38px, 11vw, 54px);
  line-height: .94;
  letter-spacing: -.04em;
}

.bio {
  margin: 16px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.links {
  display: grid;
  gap: 11px;
}

.link-card,
.button {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255,255,255,.045);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.075);
}

.link-card.primary {
  border-color: rgba(255, 119, 173, .46);
  background: linear-gradient(135deg, rgba(255,119,173,.22), rgba(255,255,255,.055));
}

.link-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
}

.link-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.link-title {
  font-weight: 700;
}

.link-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.link-arrow {
  margin-left: auto;
  color: var(--muted);
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 4px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(255, 119, 173, .5);
  background: rgba(255,119,173,.12);
}

.social-fallback {
  font-size: 15px;
  font-weight: 700;
}

.fine-print {
  margin: 18px auto 0;
  max-width: 34ch;
  color: #8f838b;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 4, 6, .84);
  backdrop-filter: blur(16px);
}

.age-dialog {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #171219;
  box-shadow: var(--shadow);
}

.age-dialog h2 {
  font-size: 34px;
}

.age-dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.age-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: block;
  padding: 14px 16px;
  text-align: center;
  cursor: pointer;
}

.button-primary {
  color: #221019;
  border-color: transparent;
  background: linear-gradient(135deg, #ff9ac2, #ffc8de);
  font-weight: 800;
}

.button-muted {
  color: var(--muted);
  background: rgba(255,255,255,.045);
}

/* Ensure the HTML hidden attribute wins over the age-gate layout rule. */
.age-gate[hidden] {
  display: none;
}


/* Responsive layouts: preserve the link-in-bio feel on phones, use the canvas on larger screens. */
@media (min-width: 720px) {
  .page-shell {
    padding: 44px 28px;
  }

  .profile-card {
    width: min(100%, 780px);
  }

  .hero-wrap {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .content {
    margin-top: -44px;
    padding-inline: 30px;
    padding-bottom: 30px;
    background: linear-gradient(180deg, transparent, #110d12 36px);
  }

  h1 {
    max-width: 14ch;
  }
}

@media (min-width: 1100px) {
  .page-shell {
    padding: 48px 40px;
  }

  .profile-card {
    position: relative;
    width: min(100%, 1536px);
    aspect-ratio: 16 / 9;
    min-height: 0;
    display: block;
    overflow: hidden;
    border-radius: 30px;
    background: #110d12;
  }

  .hero-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-picture,
  .hero-image {
    width: 100%;
    height: 100%;
  }

  .hero-image {
    position: static;
    object-fit: cover;
    object-position: left center;
    background: #110d12;
  }

  .hero-scrim {
    background: linear-gradient(
      90deg,
      transparent 0%,
      transparent 48%,
      rgba(17, 13, 18, .04) 58%,
      rgba(17, 13, 18, .12) 100%
    );
  }

  .content {
    position: absolute;
    z-index: 2;
    top: 47%;
    right: clamp(44px, 5.5vw, 96px);
    width: min(43%, 540px);
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(48px, 4.1vw, 70px);
    line-height: .92;
  }

  .bio {
    max-width: 34ch;
    margin: 18px 0 22px;
    font-size: 15px;
  }

  .links {
    gap: 10px;
  }

  .link-card {
    padding: 14px 16px;
    background: rgba(17, 13, 18, .46);
    backdrop-filter: blur(8px);
  }

  .socials {
    justify-content: flex-start;
    margin: 18px 0 0;
  }

  .fine-print {
    margin: 16px 0 0;
    text-align: left;
  }
}

@media (min-width: 1500px) {
  .page-shell {
    padding: 56px;
  }

  .content {
    right: clamp(72px, 6vw, 112px);
    width: min(42%, 560px);
  }

  .bio {
    margin: 22px 0 26px;
    font-size: 16px;
  }

  .link-card {
    padding: 16px 18px;
  }

  .socials {
    margin-top: 22px;
  }

  .fine-print {
    margin-top: 20px;
  }
}
