:root {
  --ink: #0d0b0e;
  --ink-2: #16131a;
  --bone: #efe7dc;
  --bone-2: rgba(239, 231, 220, 0.74);
  --bone-3: rgba(239, 231, 220, 0.48);
  --line: rgba(239, 231, 220, 0.16);
  --dusk-a: #a08cff;
  --dusk-b: #ff9372;
  --dusk: linear-gradient(135deg, var(--dusk-a), var(--dusk-b));
  --live: #3ddc84;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html:not(.age-ok) body {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ---------- atmosphere ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 48vmax at -5% -10%, rgba(160, 140, 255, 0.22), transparent 62%),
    radial-gradient(55vmax 45vmax at 105% 105%, rgba(255, 147, 114, 0.17), transparent 60%),
    radial-gradient(35vmax 30vmax at 75% 15%, rgba(239, 231, 220, 0.05), transparent 70%),
    var(--ink);
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 4vw, 44px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1;
}

.brand svg {
  width: 24px;
  height: 24px;
}

.age-pill {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bone-2);
}

/* ---------- layout ---------- */

.stage {
  flex: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 48px) clamp(16px, 4vw, 44px) clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: clamp(34px, 6vw, 80px);
}

@media (min-width: 880px) {
  .stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
  }
}

/* ---------- photo collage ---------- */

.gallery {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1.1;
  margin-inline: auto;
}

@media (min-width: 880px) {
  .gallery {
    width: min(100%, 540px);
  }
}

.frame {
  position: absolute;
  margin: 0;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arch: gradient rim + a thin outline that follows the curve. The photo is
   shown whole (object-fit: contain), sitting at the bottom so it fills the
   width; the domed top reads as a dusk-gradient lunette above it. */
.frame--arch {
  left: 3%;
  top: 2%;
  width: 74%;
  aspect-ratio: 1 / 1.06;
  padding: 5px;
  border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px;
  background: linear-gradient(165deg, rgba(160, 140, 255, 0.95), rgba(255, 147, 114, 0.7) 55%, rgba(239, 231, 220, 0.14));
  outline: 1px solid var(--line);
  outline-offset: 11px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}

.frame--arch img {
  border-radius: 50% 50% 25px 25px / 40% 40% 25px 25px;
  object-fit: contain;
  object-position: 50% 100%;
  background: transparent;
}

/* Instant-film card, tilted over the arch. */
.frame--card {
  right: 0;
  bottom: 0;
  width: 43%;
  padding: 7px 7px 34px;
  border-radius: 14px;
  background: var(--bone);
  color: var(--ink);
  rotate: 5deg;
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: rotate 0.6s var(--ease), translate 0.6s var(--ease);
}

.frame--card img {
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 8px;
  background: #cfc6ba;
}

.frame--card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 3.6vw, 19px);
  line-height: 1;
}

@media (hover: hover) {
  .frame--card:hover {
    rotate: 1deg;
    translate: 0 -8px;
  }
}

.badge {
  position: absolute;
  right: 3%;
  top: 4%;
  width: clamp(86px, 23%, 120px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(13, 11, 14, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.badge text {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  fill: var(--bone);
}

.badge__star {
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1;
  background: var(--dusk);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- intro ---------- */

.intro {
  width: 100%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 880px) {
  .intro {
    text-align: left;
    align-items: flex-start;
  }
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--dusk);
}

.name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 19vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.name em {
  font-style: italic;
  padding-right: 0.06em;
  background: var(--dusk);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 880px) {
  .name {
    font-size: clamp(104px, 11vw, 164px);
  }

  .name span,
  .name em {
    display: block;
  }

  .name em {
    margin-left: 0.42em;
  }
}

.tagline {
  margin: 20px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  color: var(--bone-2);
}

.location {
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 231, 220, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
}

.actions {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 880px) {
  .actions {
    align-items: flex-start;
  }
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 350px);
  height: 64px;
  padding: 0 8px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 22px 50px -20px rgba(255, 147, 114, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%);
  translate: -110% 0;
}

.cta__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dusk);
  color: var(--ink);
  transition: rotate 0.35s var(--ease);
}

.cta__icon svg {
  width: 22px;
  height: 22px;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -20px rgba(255, 147, 114, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.cta:hover .cta__icon {
  rotate: -45deg;
}

.cta:active {
  transform: translateY(0) scale(0.985);
}

.cta:focus-visible,
.gate__enter:focus-visible,
.dock:focus-visible {
  outline: 2px solid var(--dusk-a);
  outline-offset: 4px;
}

.fine {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone-3);
}

/* ---------- ticker + footer ---------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 14px 0;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding-right: 26px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--bone-2);
}

.ticker__track span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 231, 220, 0.55);
}

.ticker__track b {
  font-family: var(--sans);
  font-size: 0.55em;
  font-weight: 400;
  color: var(--dusk-b);
}

.foot {
  padding: 22px 16px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12px;
  color: var(--bone-3);
}

/* ---------- sticky mobile button ---------- */

.dock {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 30;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.85), 0 10px 40px -18px rgba(255, 147, 114, 0.7);
  translate: 0 160%;
  transition: translate 0.4s var(--ease);
}

.dock svg {
  width: 20px;
  height: 20px;
}

.dock.is-visible {
  translate: 0 0;
}

@media (max-width: 879px) {
  .foot {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 880px) {
  .dock {
    display: none;
  }
}

/* ---------- 18+ gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 7, 10, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(0.7);
  backdrop-filter: blur(24px) saturate(0.7);
}

.age-ok .gate {
  display: none;
}

.gate__card {
  width: min(100%, 380px);
  padding: 34px 26px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(22, 19, 26, 0.92);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

.gate__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dusk);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
}

.gate h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.gate p {
  margin: 12px 0 24px;
  font-size: 14px;
  color: var(--bone-2);
}

.gate__enter {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.gate__leave {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--bone-3);
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 1s var(--ease) both;
    animation-delay: calc(var(--d, 0) * 90ms + 120ms);
  }

  .badge svg {
    animation: spin 26s linear infinite;
  }

  .dot::after {
    animation: ping 1.8s ease-out infinite;
  }

  .cta::before {
    animation: sheen 5s ease-in-out 2s infinite;
  }

  .ticker__track {
    animation: marquee 34s linear infinite;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 22px;
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes ping {
  from {
    scale: 1;
    opacity: 0.7;
  }
  to {
    scale: 3;
    opacity: 0;
  }
}

@keyframes sheen {
  0%,
  70% {
    translate: -110% 0;
  }
  100% {
    translate: 110% 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
