@font-face {
  font-family: "Rotio Demo";
  src: url("fonts/RotioDemo.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.woff2") format("woff2-variations"),
    url("fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ——— Tokens (mobile-first) ——— */
:root {
  --yellow: #ffc300;
  --yellow-accent: #f1d649;
  --cream: #fff8e2;
  --ink: #0b0b0b;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.9);

  --page-pad-x: max(1rem, env(safe-area-inset-left));
  --page-pad-r: max(1rem, env(safe-area-inset-right));
  --section-pad-y: clamp(2.5rem, 8vw, 6rem);

  /* Fluid type scale */
  --text-eyebrow: clamp(0.7rem, 0.55rem + 0.9vw, 1.95rem);
  --text-hero: clamp(3.1rem, 0.4rem + 18vw, 29.5rem);
  --text-intro-sub: clamp(1.25rem, 1rem + 1.5vw, 3.2rem);
  --text-intro-title: clamp(3rem, 1.6rem + 8vw, 11.9rem);
  --text-intro-mini: clamp(1rem, 0.85rem + 1.2vw, 2.5rem);
  --text-intro-desc: clamp(0.95rem, 0.85rem + 0.9vw, 2.7rem);
  --text-loc-title: clamp(2.25rem, 1.6rem + 3vw, 4.75rem);
  --text-loc-lead: clamp(1.05rem, 0.9rem + 1.1vw, 2.3rem);
  --text-loc-h3: clamp(1.05rem, 0.95rem + 0.6vw, 1.8rem);
  --text-loc-body: clamp(0.9rem, 0.82rem + 0.45vw, 1.45rem);
  --text-soon: clamp(2.75rem, 0.6rem + 11vw, 11rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

/* ——— 1. Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--yellow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    max(1.25rem, env(safe-area-inset-top)) var(--page-pad-r) clamp(5rem, 11vw, 10rem) var(--page-pad-x);
}

.hero__eyebrow {
  margin: 0;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  max-width: 100%;
  padding-inline: 0.25rem;
}

.hero__stage {
  position: relative;
  width: min(100%, 72rem);
  display: grid;
  place-items: center;
  /* Push COMING SOOOON + banana down under the eyebrow (esp. mobile) */
  margin-top: clamp(2.5rem, 10vw, 5rem);
  /* Keep absolute banana + standing monkey inside the yellow */
  padding-bottom: clamp(2.75rem, 10vw, 12rem);
}

/* Title + banana share one cluster so overlay stays locked to the type */
.hero__cluster {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
}

.hero__title {
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: "Rotio Demo", "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 0.82;
  letter-spacing: 0;
  color: var(--white);
  text-transform: uppercase;
  user-select: none;
  width: 100%;
  max-width: 100%;
}

.hero__line {
  display: block;
}

.hero__banana-wrap {
  position: absolute;
  z-index: 2;
  /* Nudge right + down vs title center */
  left: 58%;
  top: 66%;
  width: min(78%, 21rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 0;
}

.hero__banana {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.14));
}

/* ——— 2. Intro ——— */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  background: var(--cream);
  padding:
    0 var(--page-pad-r) var(--section-pad-y) var(--page-pad-x);
  overflow: hidden;
}

.intro__media {
  position: relative;
  width: calc(100% + var(--page-pad-x) + var(--page-pad-r));
  margin: 0 calc(-1 * var(--page-pad-x)) 0 calc(-1 * var(--page-pad-r));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  min-height: clamp(12rem, 42vw, 18rem);
}

.intro__media picture {
  display: contents;
}

.intro__monkey {
  width: min(68%, 18rem);
  height: auto;
  object-fit: contain;
  object-position: center top;
  /* Clip only the hanging tip into the cream top edge — not into the yellow hero */
  margin: -3% auto 0;
  display: block;
}

.intro__copy {
  padding: clamp(0.5rem, 2vw, 1rem) 0 0;
  max-width: 40rem;
  width: 100%;
  margin-inline: auto;
}

.intro__subtitle {
  margin: 0 0 0.3rem;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: var(--text-intro-sub);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.intro__title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: var(--text-intro-title);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.intro__title span {
  display: block;
}

.intro__mini {
  margin: 0.75rem 0 1.1rem;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: var(--text-intro-mini);
  letter-spacing: 0.005em;
  color: var(--ink);
  line-height: 1.2;
}

.intro__desc {
  margin: 0;
  max-width: 36rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: var(--text-intro-desc);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

/* ——— 3. Location ——— */
.location {
  position: relative;
  isolation: isolate;
  min-height: auto;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-bottom: 3px solid var(--yellow-accent);
}

.location__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
}

.location__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.location__bg--fallback {
  z-index: 0;
}

video.location__bg {
  z-index: 1;
}

.location__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.22) 55%,
      rgba(0, 0, 0, 0.28) 100%)
}

.location__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  padding:
    var(--section-pad-y) var(--page-pad-r) calc(var(--section-pad-y) + 0.5rem) var(--page-pad-x);
}

.location__title {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: var(--text-loc-title);
  letter-spacing: -0.04em;
  color: var(--yellow-accent);
  line-height: 1.05;
}

.location__lead {
  margin: 0 0 1.6rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: var(--text-loc-lead);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: pretty;
}

.location__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.5rem);
}

.location__features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.location__bullet {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.42rem;
  background: var(--yellow-accent);
  flex-shrink: 0;
}

.location__features h3 {
  margin: 0 0 0.2rem;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: var(--text-loc-h3);
  color: var(--yellow-accent);
  line-height: 1.2;
}

.location__features p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: var(--text-loc-body);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: 36rem;
  text-wrap: pretty;
}

/* ——— 4. Coming soon ——— */
.soon {
  background: var(--yellow);
  min-height: clamp(9rem, 22vw, 18rem);
  display: grid;
  place-items: center;
  padding:
    clamp(2rem, 5vw, 4.5rem) var(--page-pad-r) max(clamp(2rem, 5vw, 4.5rem), env(safe-area-inset-bottom)) var(--page-pad-x);
}

.soon__text {
  margin: 0;
  font-family: "Rotio Demo", "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--text-soon);
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
  max-width: 100%;
}

/* ——— Phone landscape / short viewports ——— */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding-block: 0.75rem 1rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 18vh, 5rem);
  }

  .hero__banana-wrap {
    width: min(52%, 18rem);
  }

  .intro__media {
    height: clamp(10rem, 40vh, 16rem);
  }

  .location {
    min-height: auto;
  }
}

/* ——— Large phones ——— */
@media (min-width: 480px) {
  :root {
    --page-pad-x: max(1.25rem, env(safe-area-inset-left));
    --page-pad-r: max(1.25rem, env(safe-area-inset-right));
  }

  .hero__banana-wrap {
    width: min(72%, 24rem);
    left: 58%;
    top: 65%;
  }

  .intro__monkey {
    width: min(70%, 20rem);
  }
}

/* ——— Tablets ——— */
@media (min-width: 768px) {
  :root {
    --page-pad-x: max(2rem, env(safe-area-inset-left));
    --page-pad-r: max(2rem, env(safe-area-inset-right));
  }

  .hero__stage {
    padding-bottom: clamp(5.5rem, 12vw, 11rem);
  }

  .hero__banana-wrap {
    width: min(58%, 28rem);
    left: 57%;
    top: 65%;
  }

  .intro {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    padding:
      0 var(--page-pad-r) clamp(3rem, 7vw, 5.5rem) 0;
  }

  .intro__media {
    min-height: 0;
    height: 100%;
    margin: 0;
    width: 100%;
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
  }

  .intro__monkey {
    width: min(88%, 26rem);
    max-width: none;
    margin: 0 0 0 -0.5rem;
    object-position: left top;
  }

  .intro__copy {
    margin-inline: 0;
    align-self: center;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    padding-right: 0.5rem;
  }

  .location {
    min-height: min(100svh, 56rem);
    align-items: center;
  }

  .location__scrim {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.74) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.22) 72%,
        rgba(0, 0, 0, 0.12) 100%);
  }

  .location__content {
    width: min(100%, 40rem);
    padding-block: clamp(3rem, 7vw, 5.5rem);
  }

  .location__bullet {
    width: 0.72rem;
    height: 0.72rem;
    margin-top: 0.45rem;
  }
}

/* ——— Desktop ——— */
@media (min-width: 1024px) {
  :root {
    --page-pad-x: max(2.5rem, env(safe-area-inset-left));
    --page-pad-r: max(2.5rem, env(safe-area-inset-right));
  }

  .hero {
    padding-top: clamp(1.25rem, 3vw, 2.5rem);
    padding-bottom: clamp(6rem, 12vw, 11rem);
  }

  .hero__stage {
    padding-bottom: clamp(6.5rem, 13vw, 13rem);
  }

  /* Desktop: banana spans COMING→SOOOON like Figma (stem on M, body through O's) */
  .hero__title {
    line-height: 0.8;
  }

  .hero__banana-wrap {
    width: min(56%, 42rem);
    left: 57%;
    top: 64%;
    transform: translate(-50%, -50%);
  }

  .intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-right: clamp(2.5rem, 5vw, 5rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
  }

  .intro__monkey {
    width: min(90%, 34rem);
    margin: 0 0 0 -0.75rem;
  }

  .intro__copy {
    max-width: 34rem;
  }

  .location__content {
    width: min(100%, 42rem);
    padding-inline: clamp(2.5rem, 8vw, 9rem) clamp(1.5rem, 4vw, 3rem);
  }
}

/* ——— Wide desktop ——— */
@media (min-width: 1440px) {
  .hero__stage {
    width: min(100%, 80rem);
  }

  .hero__banana-wrap {
    width: min(54%, 48rem);
    left: 52%;
    top: 70%;
  }

  .intro__monkey {
    width: min(88%, 38rem);
  }

  .location__content {
    padding-left: clamp(5rem, 9vw, 11rem);
  }
}

/* ——— Ultra-narrow phones ——— */
@media (max-width: 359px) {
  .hero__eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.65rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 18vw, 3.4rem);
  }

  .soon__text {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__banana {
    filter: none;
  }
}