/* linkpage — one stylesheet for every page. No build step. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/bodoni-moda-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/bodoni-moda.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree.woff2") format("woff2");
}

:root {
  --bg: #1f1512;
  --ink: #f4e9dc;
  --muted: #b39d8a;
  --honey: #e6be86;
  --honey-hover: #f2cf9d;
  --line: rgba(244, 233, 220, 0.24);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-ui: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: 24px;
  --btn-h: 58px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* The lamp: one warm glow that drifts very slowly. Sits behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at var(--lamp-x, 76%) var(--lamp-y, 28%), rgba(var(--lamp-rgb, 230, 190, 134), 0.16), transparent 70%),
    radial-gradient(40% 40% at 18% 92%, rgba(184, 101, 79, 0.14), transparent 70%);
  animation: lamp 22s ease-in-out infinite alternate;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 17px/1.2 var(--font-ui);
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s, border-color 0.25s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--honey);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}

.btn--primary {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--bg);
}

.btn--primary::before { background: var(--honey-hover); }

.btn:active { filter: brightness(0.94); }

@media (hover: hover) {
  .btn:not(.btn--soon):hover,
  .btn:not(.btn--soon):focus-visible {
    color: var(--bg);
    border-color: var(--honey);
  }
  .btn:not(.btn--soon):hover::before,
  .btn:not(.btn--soon):focus-visible::before { transform: translateX(0); }
}

/* Not open yet: same shape, quieter, with a flirty line and a slow glint. */
.btn--soon {
  flex-direction: column;
  gap: 2px;
  min-height: 68px;
  border-color: rgba(244, 233, 220, 0.14);
  color: rgba(244, 233, 220, 0.6);
  cursor: default;
}

.btn--soon::before { display: none; }

.btn--soon em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--honey);
}

.btn--soon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(230, 190, 134, 0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: glint 7s ease-in-out infinite;
}

/* ---------- Footer, shared ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
}

.foot a {
  text-decoration: none;
  opacity: 0.85;
}

.foot a:hover { opacity: 1; }

/* ---------- Home ---------- */

.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.stage__photo {
  width: 100%;
  height: 72svh;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 15%;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(to bottom, #000 42%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 42%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
  animation: photo-in 2.2s var(--ease-out) backwards;
  transition: transform 1.4s var(--ease-out), filter 1.4s var(--ease-out);
}

.stage__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -32svh;
  padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom));
}

.name {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(72px, 22vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 34px rgba(31, 21, 18, 0.6);
  animation: settle 1.4s var(--ease-out) backwards 0.25s;
}

.name--long {
  font-size: clamp(48px, 13.5vw, 96px);
  letter-spacing: -0.03em;
}

.line {
  margin: 8px 0 0;
  max-width: 30ch;
  color: var(--muted);
  text-shadow: 0 1px 18px rgba(31, 21, 18, 0.8);
  animation: rise 1s var(--ease-out) backwards 0.42s;
}

.line__wink {
  display: block;
  margin-top: 2px;
  transition: opacity 0.38s, transform 0.38s var(--ease-out);
}

.line__wink.is-swapping {
  opacity: 0;
  transform: translateY(5px);
}

.line__wink {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--honey);
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

/* The one live button breathes; hovering it brings the picture closer. */
.links .btn--primary {
  min-height: 62px;
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out);
  box-shadow: 0 10px 34px rgba(230, 190, 134, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: rise 0.9s var(--ease-out) backwards, breathe 3.8s ease-in-out infinite;
}

.stage:has(.btn--primary:hover) .stage__photo,
.stage:has(.btn--primary:focus-visible) .stage__photo {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.05);
}

.links .btn { animation: rise 0.9s var(--ease-out) backwards; }
.links .btn:nth-child(1) { animation-delay: 0.55s; }
.links .btn:nth-child(2) { animation-delay: 0.63s; }
.links .btn:nth-child(3) { animation-delay: 0.71s; }

.peek {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  animation: rise 0.9s var(--ease-out) backwards 0.85s;
}

.peek__tiles {
  display: flex;
  gap: 4px;
}

.peek__tiles img {
  width: 34px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(230, 190, 134, 0.4);
  transition: transform 0.4s var(--ease-out);
}

.peek__tiles img:nth-child(2) { transform: translateY(-3px); }

.peek__text {
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(179, 157, 138, 0.5);
  text-underline-offset: 5px;
}

.peek:hover .peek__text { color: var(--ink); }
.peek:hover .peek__tiles img { transform: translateY(-2px) scale(1.06); }
.peek:hover .peek__tiles img:nth-child(2) { transform: translateY(-5px) scale(1.06); }

.stage .foot { animation: rise 0.9s var(--ease-out) backwards 0.95s; }

@media (min-width: 900px) {
  .stage {
    flex-direction: row;
    height: 100svh;
    min-height: 640px;
  }

  .stage__photo {
    flex: none;
    width: 48%;
    height: 100%;
    min-height: 0;
    object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(to right, #000 60%, transparent 100%);
    mask-image: linear-gradient(to right, #000 60%, transparent 100%);
  }

  .stage__body {
    flex: 1;
    margin: 0 0 0 -12vw;
    padding: 40px 7vw 36px 0;
  }

  .stage__text {
    margin: auto 0;
    max-width: 520px;
  }

  .name { font-size: clamp(112px, 11vw, 176px); }
  .name--long { font-size: clamp(72px, 6.6vw, 112px); }

  .links { max-width: 380px; }

  .stage .foot { padding-top: 0; }
}

/* The door: a live button was tapped, she leans in, the page dissolves, then it goes. */
html.is-leaving .stage__photo {
  transform: scale(1.12) !important;
  filter: brightness(1.25) saturate(1.05) !important;
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out) !important;
}

html.is-leaving .stage__body,
html.is-leaving .story__stage > :not(.story__slides) {
  opacity: 0;
  transition: opacity 0.4s;
}

html.is-leaving .story__stage {
  transform: scale(1.04);
  transition: transform 0.5s var(--ease-out);
}

/* Desktop cursor: a honey dot that blooms into a ring over anything clickable. */
.has-cursor,
.has-cursor a,
.has-cursor button { cursor: none; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--honey);
  opacity: 0.9;
  pointer-events: none;
  will-change: transform;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background-color 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.cursor.is-over {
  width: 46px;
  height: 46px;
  background: rgba(230, 190, 134, 0.12);
  box-shadow: inset 0 0 0 1px var(--honey);
}

.cursor.is-hidden { opacity: 0; }

/* In-app browser bar (Instagram, Facebook). Injected by app.js. */
.ig {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px 16px;
  background: var(--honey);
  color: var(--bg);
  font-size: 15px;
  line-height: 1.3;
  animation: drop-in 0.5s var(--ease-out) both;
}

.ig__text { flex: 1; }

.ig__open {
  padding: 8px 0;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.ig__close {
  padding: 6px 10px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

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

.more {
  width: 100%;
  max-width: 1120px;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom));
}

.gate {
  margin: auto 0;
  padding: 14vh 0 8vh;
  max-width: 36ch;
  animation: rise 1s var(--ease-out) both;
}

.gate__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(48px, 10vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.gate p {
  margin: 0 0 30px;
  color: var(--muted);
}

.gate__actions {
  display: grid;
  gap: 12px;
  max-width: 360px;
}

.inside {
  padding: 10vh 0 4vh;
  animation: rise 1s var(--ease-out) both;
}

.inside__head {
  max-width: 44ch;
  margin-bottom: 48px;
}

.inside__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(56px, 11vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.inside__title:focus { outline: none; }

.inside__head p {
  margin: 0;
  color: var(--muted);
}

.drop {
  display: grid;
  gap: 22px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  animation: rise 1s var(--ease-out) backwards;
}

.drop:nth-of-type(1) { animation-delay: 0.15s; }
.drop:nth-of-type(2) { animation-delay: 0.3s; }
.drop:nth-of-type(3) { animation-delay: 0.45s; }

.drop .btn--primary {
  box-shadow: 0 10px 34px rgba(230, 190, 134, 0.22);
  animation: breathe 3.8s ease-in-out infinite;
}

.drop__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 62svh;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--bg);
}

video.drop__media {
  aspect-ratio: 4 / 7;
  max-height: 72svh;
}

.drop h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.drop p {
  margin: 0 0 8px;
  max-width: 46ch;
}

.drop__price {
  color: var(--honey);
  font-weight: 600;
}

.drop .btn {
  max-width: 320px;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .drop {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
    padding: 56px 0;
  }
  .drop__media { max-height: none; }
  video.drop__media { aspect-ratio: 4 / 7; }
  .drop h2 { font-size: 48px; }
}

/* ---------- /more: the story ---------- */

.story {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--bg);
}

.story__stage {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #120b09;
  outline: none;
}

.story__slides,
.story__slide {
  position: absolute;
  inset: 0;
}

.story__slide {
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.story__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.story__slide video,
.story__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.02);
}

.story__slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(18, 11, 9, 0.85), transparent);
  pointer-events: none;
}

.story__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: calc(30px + env(safe-area-inset-bottom));
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  animation: rise 0.9s var(--ease-out) backwards 0.2s;
}

.story__bars {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
}

.story__bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(244, 233, 220, 0.28);
}

.story__bar i {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.story__close {
  position: absolute;
  top: calc(22px + env(safe-area-inset-top));
  right: 10px;
  z-index: 4;
  padding: 6px 12px;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.story__tap {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 34%;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.story__tap--prev { left: 0; }
.story__tap--next { right: 0; width: 66%; }

.story.is-end .story__tap--next { display: none; }
.story.is-end .story__tap--prev { width: 22%; }

.story__hint {
  position: absolute;
  top: calc(36px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 3;
  margin: 0;
  font-size: 12.5px;
  text-align: center;
  color: rgba(244, 233, 220, 0.75);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  transition: opacity 0.6s;
}

.story.is-touched .story__hint { opacity: 0; }

.story__slide--cta {
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 40px 24px calc(34px + env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 50% at 70% 20%, rgba(var(--lamp-rgb, 230, 190, 134), 0.18), transparent 70%),
    var(--bg);
}

.story__slide--cta::after { display: none; }

.story__title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(40px, 10vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.story__text {
  margin: 4px 0 0;
  max-width: 34ch;
  color: var(--muted);
}

.story__price {
  margin: 0;
  color: var(--honey);
  font-weight: 600;
}

.story__slide--cta .btn { margin-top: 6px; }

.story__soon {
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.story__soon em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--honey);
}

.story__note { margin-top: 8px; opacity: 0.7; }

@media (min-width: 700px) {
  .story__stage {
    width: min(432px, 100%);
    height: min(100svh - 48px, 860px);
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(244, 233, 220, 0.08);
  }
  .story__caption { bottom: 34px; }
}

/* ---------- Legal pages ---------- */

.doc {
  max-width: 66ch;
  margin: 0 auto;
  padding: 12vh var(--gutter) 10vh;
  animation: rise 1s var(--ease-out) both;
}

.doc h1 {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(48px, 9vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.doc h2 {
  margin: 40px 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 28px;
  line-height: 1.1;
}

.doc p,
.doc li {
  margin: 0 0 16px;
  color: rgba(244, 233, 220, 0.8);
  line-height: 1.65;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.doc li { margin-bottom: 6px; }

.doc a { text-underline-offset: 3px; }

.doc .back {
  display: inline-block;
  margin-top: 44px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
}

.lost h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lost .btn {
  width: min(320px, 100%);
  margin: 0 auto;
}

/* ---------- Motion ---------- */

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

@keyframes photo-in {
  from { opacity: 0; transform: scale(1.12); filter: blur(10px) brightness(0.6); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(14px); letter-spacing: 0.08em; }
  to { opacity: 1; transform: none; letter-spacing: -0.02em; }
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 10px 34px rgba(230, 190, 134, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 16px 52px rgba(230, 190, 134, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

@keyframes drop-in {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

@keyframes glint {
  0%, 10% { transform: translateX(-120%); }
  30%, 100% { transform: translateX(120%); }
}

@keyframes lamp {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 3%, 0) scale(1.08); }
}

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