:root {
  --white: #fff;
  --black: #050505;
  --line: rgba(255, 255, 255, 0.35);
  --muted: rgba(255, 255, 255, 0.66);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--black);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--black);
}

body {
  min-width: 320px;
  overscroll-behavior: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.landing {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  background: #111;
}

.hero-photo {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 44%;
  filter: grayscale(1) contrast(1.12) brightness(0.79);
  transform: scale(1.015);
  animation: portrait-in 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.vignette {
  position: absolute;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.02) 22%, rgba(0, 0, 0, 0.04) 43%, rgba(0, 0, 0, 0.8) 79%, rgba(0, 0, 0, 0.96) 100%),
    radial-gradient(circle at 50% 37%, transparent 12%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.52) 100%);
}

.grain {
  position: absolute;
  z-index: -2;
  inset: -50%;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain 0.3s steps(2) infinite;
}

.topbar {
  position: absolute;
  z-index: 3;
  top: var(--safe-top);
  left: 0;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  width: 100%;
  padding-inline: clamp(18px, 5vw, 34px);
  animation: rise-in 0.7s 0.2s both;
}

.glass-control {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.monogram {
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.official-label {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.icon-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

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

.content {
  align-self: flex-end;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 0 clamp(18px, 5vw, 30px) var(--safe-bottom);
  text-align: center;
}

.identity {
  margin-bottom: 19px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.85);
  animation: rise-in 0.8s 0.32s both;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow span {
  padding-inline: 5px;
}

h1 {
  margin: 0;
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: clamp(42px, 12.6vw, 68px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

h1 span {
  font-style: italic;
  font-weight: 400;
}

.intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.link-stack {
  display: grid;
  gap: 10px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 12px;
  align-items: center;
  min-height: 69px;
  overflow: hidden;
  padding: 10px 17px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: rise-in 0.75s both;
}

.link-card:nth-child(1) {
  animation-delay: 0.44s;
}

.link-card:nth-child(2) {
  animation-delay: 0.54s;
}

.link-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(110px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.22), transparent 72%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.link-card--light {
  color: #090909;
  border-color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.65));
}

.link-card--dark {
  color: #fff;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.63), rgba(3, 3, 3, 0.38));
}

.link-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.link-card--light .link-icon {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.link-icon--fanvue {
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
}

.link-icon svg {
  width: 20px;
  fill: currentColor;
}

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

.link-kicker {
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0.13em;
  opacity: 0.58;
  text-transform: uppercase;
}

.link-copy strong {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.012em;
}

.arrow {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  opacity: 0.72;
  transition: transform 180ms ease;
}

.meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: rise-in 0.7s 0.64s both;
}

.instagram-handle {
  transition: color 150ms ease;
}

@media (hover: hover) {
  .link-card:hover {
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 22px 56px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px) scale(1.005);
  }

  .link-card:hover::after {
    opacity: 1;
  }

  .link-card:hover .arrow {
    transform: translate(2px, -2px);
  }

  .glass-control:hover {
    border-color: rgba(255, 255, 255, 0.55);
  }

  .instagram-handle:hover {
    color: rgba(255, 255, 255, 0.92);
  }
}

.link-card:active,
.glass-control:active {
  transform: scale(0.98);
}

.link-card:focus-visible,
.glass-control:focus-visible,
.instagram-handle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .content {
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }

  .hero-photo {
    object-position: 50% 30%;
  }
}

@media (max-height: 700px) {
  .content {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .identity {
    margin-bottom: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .intro {
    margin-top: 6px;
  }

  .link-card {
    min-height: 61px;
  }

  .meta-row {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes portrait-in {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2%, -3%); }
  50% { transform: translate(-3%, 2%); }
  75% { transform: translate(3%, 4%); }
  100% { transform: translate(-2%, -2%); }
}
