:root {
  --bg: #12090e;
  --bg2: #1c0f16;
  --fg: #fdf2f6;
  --muted: #d9b8c6;
  --line: rgba(255, 255, 255, 0.14);
  --accent1: #ff5f7e;
  --accent2: #e01050;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- full-bleed background ---------- */

/*
 * The photo is sized from ITS OWN aspect ratio, never the viewport's.
 *
 * Sizing it in vh means `cover` has to crop whatever doesn't fit, and the crop
 * changes with every window shape: a wide short desktop cropped her face off at
 * the nose, a tall narrow phone shaved the sides. Deriving height from width at
 * the source ratio (1200x1600 = 3:4) means there is no crop at any size, and
 * the text offset below is a fraction of the photo rather than a fraction of
 * the screen, so it lands in the same place on every device.
 */
:root {
  --photo-w: min(100vw, 520px);
  --photo-h: calc(var(--photo-w) * 4 / 3);
}

.bg,
.scrim {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--photo-w);
  height: var(--photo-h);
}

.bg {
  object-fit: cover;
  object-position: 50% 26%;
  z-index: -2;
}

.scrim {
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(18, 9, 14, 0) 0%,
    rgba(18, 9, 14, 0.03) 44%,
    rgba(18, 9, 14, 0.34) 62%,
    rgba(18, 9, 14, 0.86) 82%,
    var(--bg) 100%
  );
}

.wrap {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  /* name sits about two-thirds down the photo, at every window size */
  padding: calc(var(--photo-h) * 0.66) 22px 40px;
  text-align: center;
}


.name {
  margin: 0 0 2px;
  font-size: clamp(30px, 9vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.handle {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.tagline {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* ---------- buttons ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  /*
   * Buttons follow the tagline immediately and overlap the lower part of the
   * photo, rather than waiting for the photo to end. Waiting left a big dead
   * band of dimmed photo between the tagline and the first button; this way
   * the darkened region is the region the buttons sit on.
   */
  margin-top: 22px;
}

.links--more {
  margin-top: 0;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: var(--fg);
  text-decoration: none;
  text-align: left;
  font: inherit;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn:focus-visible {
  outline: 2px solid var(--accent1);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(100deg, var(--accent1), var(--accent2));
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(224, 16, 80, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(100deg, #ff7590, #f01a5c);
}

.btn--center {
  justify-content: center;
  text-align: center;
  margin-top: 10px;
}

.btn .ic {
  flex: none;
  opacity: 0.9;
}

.btn__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  flex: 1;
  /* keep the label optically centred despite the thumbnail on the left */
  margin-right: 46px;
}

.btn:not(.btn--photo) .btn__txt {
  margin-right: 20px;
}

.btn__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.btn__sub {
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

/* floating tag, e.g. EXCLUSIVE */
.tag {
  position: absolute;
  top: -9px;
  right: 18px;
  padding: 3px 9px;
  border-radius: 8px;
  background: #fff;
  color: #c1123c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ---------- show more ---------- */

.more {
  margin-top: 16px;
}

.more summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  color: var(--accent1);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more[open] summary {
  margin-bottom: 14px;
}

.btn__badge {
  flex: none;
  font-size: 13px;
  opacity: 0.85;
}

/* ---------- photo buttons ---------- */

.btn--photo {
  padding: 7px 18px 7px 7px;
}

.thumb {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ---------- gallery strip ---------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 42%;
  gap: 10px;
  margin: 26px -20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

/* ---------- footer ---------- */

.foot {
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.75;
}

.foot p {
  margin: 4px 0;
}

.foot a {
  color: inherit;
}

/* ---------- gate / about card ---------- */

.wrap--gate {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 20px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gate__title {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.gate__body {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.gate__body b {
  color: var(--fg);
}

.gate__form {
  margin: 18px 0 0;
}

.gate__fine {
  margin: 18px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.65;
}

.card a {
  color: var(--accent1);
}

.card code {
  font-size: 11px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
