
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  --ink: #242429;
  --muted: rgba(42, 42, 48, 0.48);
  --line: rgba(50, 50, 56, 0.26);
  --glass: rgba(255, 255, 255, 0.46);
  --montserrat: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #f3f3f3;
  color: var(--ink);
  font-family: var(--montserrat);
}

button {
  font-family: inherit;
}

.landing {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* ---------------------------
   BACKGROUND VIDEO
---------------------------- */
.video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #efefef;
}

.video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(1.15) contrast(0.86);
  transform: scale(1.01);
}

.video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.22), rgba(255,255,255,.62) 78%),
    linear-gradient(90deg, rgba(255,255,255,.32), rgba(255,255,255,.08) 50%, rgba(255,255,255,.32));
}

/* ---------------------------
   LILY OVERLAY
---------------------------- */
.lily-layer {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 90vw;
  height: 90vh;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

/* ---------------------------
   GIANT BACKGROUND J
---------------------------- */
.background-j {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: none;
  overflow: visible;
}

.background-j img {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  opacity: 0.055;
  transform: none;
  user-select: none;
}

/* ---------------------------
   MAIN CONTENT
---------------------------- */
.content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(22px, 4vw, 64px);
}

.content-inner {
  width: min(920px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kicker {
  margin: 0 0 18px;
  font-family: var(--montserrat);
  font-size: clamp(.62rem, .9vw, .82rem);
  line-height: 1.4;
  font-weight: 300;
  font-style: italic;
  letter-spacing: .16em;
  color: var(--muted);
}

/* ---------------------------
   EXACT ILLUSTRATOR TITLE SVG
---------------------------- */
.title-lockup {
  position: relative;
  width: min(760px, 84vw);
  margin: 0 auto;
  line-height: 0;
}

.title-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 46vh;
  object-fit: contain;
  object-position: center;
}

/* ---------------------------
   SUBTITLE
---------------------------- */
.subtitle {
  width: min(590px, 78vw);
  margin: 18px auto 0;
  font-family: var(--montserrat);
  font-size: clamp(.76rem, 1vw, .96rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .02em;
  color: rgba(46,46,52,.58);
}

/* ---------------------------
   BUTTON
---------------------------- */
.wish-button {
  margin-top: clamp(24px, 3.2vh, 34px);
  min-width: 158px;
  border: 1px solid rgba(54,54,60,.34);
  border-radius: 999px;
  background: var(--glass);
  padding: 12px 24px 11px;
  color: #343439;
  font-family: var(--montserrat);
  font-size: clamp(.48rem, .62vw, .57rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 6px 20px rgba(32,32,38,.05),
    inset 0 0 0 1px rgba(255,255,255,.38);
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    letter-spacing .25s ease;
}

.wish-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.72);
  border-color: rgba(45,45,50,.52);
  letter-spacing: .21em;
}

.wish-button:active {
  transform: translateY(0);
}

/* ---------------------------
   GRAIN
---------------------------- */
.grain {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  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='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------------------------
   RESPONSIVE
---------------------------- */
@media (max-width: 760px) {
  .content {
    padding: 18px 14px 22px;
  }

  .content-inner {
    transform: translateY(-7vh);
  }

  .title-lockup {
    width: 92vw;
  }

  .title-art {
    max-height: 34vh;
  }

  .subtitle {
    width: min(86vw, 540px);
    font-size: .74rem;
  }

  .background-j img {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  opacity: 0.055;
  transform: none;
  user-select: none;
}
}

@media (max-width: 430px) {
  .content {
    padding: 14px 12px 18px;
  }

  .content-inner {
    transform: translateY(-10vh);
  }

  .kicker {
    font-size: .56rem;
    letter-spacing: .12em;
    margin-bottom: 10px;
  }

  .title-lockup {
    width: 95vw;
  }

  .title-art {
    max-height: 29vh;
  }

  .subtitle {
    font-size: .69rem;
    line-height: 1.48;
    margin-top: 12px;
  }

  .wish-button {
    min-width: 146px;
    padding: 11px 20px 10px;
    font-size: .45rem;
  }

  .background-j img {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  opacity: 0.055;
  transform: none;
  user-select: none;
}
}

/* FINAL BACKGROUND ART OVERRIDES */
.background-j img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.lily-layer {
  width: 90vw !important;
  height: 90vh !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .background-j img {
    width: 100vw !important;
    height: 100vh !important;
  }

  .lily-layer {
    width: 88vw !important;
    height: 86vh !important;
  }
}

@media (max-width: 430px) {
  .lily-layer {
    width: 86vw !important;
    height: 84vh !important;
  }
}


/* =========================================================
   PAGE TRANSITION
   ========================================================= */
body{
  opacity:1;
  transition:opacity .62s ease;
}

body.page-leaving{
  opacity:0;
  pointer-events:none;
}
