:root {
  --pink: #ff168f;
  --pink-bright: #ff4db2;
  --ink: #080507;
  --cream: #fff1f8;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 22, 143, 0.19), transparent 34rem),
    var(--ink);
  font-family: Inter, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  opacity: 0.05;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.entry {
  display: flex;
  width: min(100%, 430px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 42px 20px;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  animation: reveal 0.75s ease-out forwards;
}

.portrait-wrap {
  position: relative;
  width: min(76vw, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.portrait-wrap::before,
.portrait-wrap::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.portrait-wrap::before {
  inset: -9px;
  z-index: 1;
  border: 2px solid var(--pink);
  box-shadow: 0 0 18px var(--pink), 0 0 55px rgba(255, 22, 143, 0.72);
  animation: breathe 2.4s ease-in-out infinite alternate;
}

.portrait-wrap::after {
  right: -16px;
  bottom: 20px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 5px solid var(--ink);
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 53% 40%;
  filter: saturate(0.88) contrast(1.08);
}

h1 {
  margin: 38px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.6rem, 18vw, 6.3rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.8;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pink);
  text-shadow: 0 0 26px rgba(255, 22, 143, 0.48);
}

.cta {
  display: flex;
  min-height: 68px;
  margin-top: 32px;
  padding: 8px 10px 8px 25px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--pink-bright);
  border-radius: 4px;
  color: var(--ink);
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 22, 143, 0.58), inset 0 1px rgba(255, 255, 255, 0.35);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta span:last-child {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 2px;
  color: var(--pink);
  background: var(--ink);
  font-size: 1.8rem;
  transition: transform 0.2s ease;
}

.cta:hover {
  background: var(--pink-bright);
  box-shadow: 0 0 28px rgba(255, 22, 143, 0.84);
  transform: translateY(-3px);
}

.cta:hover span:last-child {
  transform: translateX(3px);
}

.cta:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
}

@keyframes reveal {
  to { opacity: 1; }
}

@keyframes breathe {
  to { box-shadow: 0 0 25px var(--pink), 0 0 78px rgba(255, 22, 143, 0.88); }
}

.access-shell {
  width: min(100% - 32px, 500px);
  margin-inline: auto;
  padding: 58px 0 80px;
}

.access-header {
  position: relative;
  margin-bottom: 48px;
  padding-top: 45px;
  padding-left: 18px;
  border-left: 4px solid var(--pink);
}

.back {
  position: absolute;
  top: 0;
  left: 18px;
  color: var(--pink-bright);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back:hover {
  color: var(--cream);
  transform: translateX(-3px);
}

.back:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 5px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--pink-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.5rem, 17vw, 6rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
}

h2 span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 22, 143, 0.58);
}

.subtitle {
  margin: 17px 0 0;
  color: #bbaab3;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  gap: 30px;
}

.card {
  display: block;
  text-decoration: none;
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 178, 0.52);
  border-radius: 6px;
  color: white;
  background: #211019;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  isolation: isolate;
}

.card:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 5px;
}

.card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(to top, rgba(6, 3, 5, 0.97) 0, rgba(6, 3, 5, 0.6) 29%, transparent 66%);
}

.card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 5px;
  content: "";
  background: var(--pink);
  box-shadow: 0 0 16px var(--pink);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: contrast(1.04) saturate(0.92);
}

.card-content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.index {
  display: block;
  margin-bottom: 5px;
  color: var(--pink-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 10vw, 3rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.card-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--pink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--pink);
  font-size: 1.55rem;
}

footer {
  padding-top: 46px;
  color: #716069;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 800px) {
  .access-shell {
    width: min(100% - 64px, 1080px);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .card {
    min-height: 570px;
  }
}

@media (max-height: 740px) {
  .portrait-wrap { width: min(57vh, 250px); }
  h1 { margin-top: 30px; }
  .cta { margin-top: 24px; }
}

@media (max-width: 390px) {
  .access-shell {
    width: min(100% - 24px, 500px);
    padding-top: 44px;
  }

  .card {
    min-height: 440px;
  }
}

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

  .entry { opacity: 1; }
}
