/* Aora — Coming Soon (Landing Page V2)
   Figma: vu8rT0dL6asu6eIf8aSNuv, node 204:1400.
   Design canvas 1440 wide; percentages below are taken straight from it. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Neue Montreal"; src: url("assets/fonts/NeueMontreal-Light.otf")   format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("assets/fonts/NeueMontreal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("assets/fonts/NeueMontreal-Medium.otf")  format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("assets/fonts/NeueMontreal-Bold.otf")    format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --pink: #F05F80;
  --green: #4EA246;
  --font: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 9.03vw;                             /* 130 / 1440 */
}

* { box-sizing: border-box; }
/* Canvas colour: sky at the top, green at the foot, so rubber-band overscroll blends */
html { background: linear-gradient(to bottom, #a6bec1 50%, var(--green) 50%); overscroll-behavior-y: none; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: #fff;
  background: transparent;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

.page { position: relative; width: 100%; overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1440 / 966;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform-origin: 55% 40%;
  animation: ken-burns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

/* ---------- Gradient body ---------- */
.body {
  position: relative;
  z-index: 1;
  width: 100%;
  /* straight from the Figma fill on node 204:1402 */
  background: linear-gradient(15.58deg,
    rgb(78, 162, 70) 9.91%,
    rgb(131, 197, 98) 42.77%,
    rgb(247, 168, 175) 57.82%,
    rgb(240, 95, 128) 88.38%);
  padding-bottom: 5.7vw;
  overflow: hidden;
}

/* copy + cans */
.stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 9.4vw var(--pad) 4.6vw;           /* 135 / 1440 top */
}
.copy { max-width: 554px; }

.logo { width: clamp(230px, 33vw, 475px); height: auto; }

.title {
  margin: 3.68vw 0 0;                        /* 53px gap under the logo */
  font-size: clamp(3rem, 6.94vw, 6.25rem);   /* 100px */
  line-height: .8;                           /* Figma leading-[0.8] */
  font-weight: 700;
  letter-spacing: -.01em;
}
.title__a, .title__b { display: block; }   /* the comp always stacks the two words */
.title__a { font-weight: 700; }
.title__b { font-weight: 300; }

.lede {
  margin: 2.99vw 0 0;                        /* 43px */
  max-width: 479px;
  font-size: clamp(1.05rem, 1.67vw, 1.5rem); /* 24px */
  font-weight: 500;
  line-height: 1.6;
}
.lede b { font-weight: 700; }

/* ---------- Email signup ---------- */
.signup__label {
  margin: 3.82vw 0 1.25vw;                   /* 55px / 18px */
  font-size: clamp(.9rem, 1.11vw, 1rem);     /* 16px */
  font-weight: 500;
  line-height: 1.6;
}
.signup {
  display: flex;
  gap: 1.39vw;                               /* 20px */
  align-items: center;
  flex-wrap: wrap;
}
.signup__input {
  flex: 0 1 380px;
  min-width: 0;
  height: clamp(52px, 4.17vw, 60px);
  padding: 0 clamp(20px, 2.08vw, 30px);
  border: 0;
  border-radius: 100px;
  background: #fff;
  color: rgba(0, 0, 0, .85);
  font-family: var(--font);
  font-size: clamp(.9rem, 1.11vw, 1rem);
  font-weight: 500;
}
.signup__input::placeholder { color: rgba(0, 0, 0, .55); }
.signup__input:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; }
.signup__input[aria-invalid="true"] { box-shadow: 0 0 0 2px #b3123a; }

.signup__btn {
  height: clamp(52px, 4.17vw, 60px);
  padding: 0 clamp(22px, 2.08vw, 30px);
  border: 2px solid #fff;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(.9rem, 1.11vw, 1rem);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}
.signup__btn:hover { background: #fff; color: var(--pink); }
.signup__btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; }
.signup__btn[disabled] { opacity: .55; cursor: default; }
.signup__btn[disabled]:hover { background: transparent; color: #fff; }

.signup-wrap { position: relative; width: 100%; }
/* floated out of the flow so it can't shift the Instagram pill off the comp */
.signup__msg {
  position: absolute;
  left: 0; top: calc(100% + .6vw);
  margin: 0;
  font-size: clamp(.85rem, 1.04vw, .95rem);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transition: opacity .3s ease;
}
.signup__msg.is-shown { opacity: 1; }
.signup__msg.is-error { color: #4a0716; }

/* On success the form steps aside and the thank-you takes its place, at the
   same height so nothing below it shifts. */
.signup-wrap.is-done .signup { display: none; }
.signup-wrap.is-done .signup__msg {
  position: static;
  display: flex;
  align-items: center;
  min-height: clamp(52px, 4.17vw, 60px);
  margin: 0;
  font-size: clamp(1.25rem, 2.08vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  animation: thanks-in .55s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes thanks-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Instagram pill ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 1.11vw; margin-top: 5.69vw; }
.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.39vw;
  padding: clamp(13px, 1.11vw, 16px) clamp(22px, 2.08vw, 30px);
  border: 2px solid #fff;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(.9rem, 1.11vw, 1rem);
  font-weight: 500;
  line-height: 1.6;
  transition: background-color .25s ease, color .25s ease;
}
.ig-pill b { font-weight: 700; }
.ig-pill__icon { width: 20px; height: 20px; }
.ig-pill:hover { background: #fff; color: var(--pink); }
.ig-pill:hover .ig-pill__icon { filter: invert(43%) sepia(71%) saturate(1900%) hue-rotate(312deg) brightness(97%) contrast(94%); }
.ig-pill:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; }

/* ---------- Floating cans ---------- */
/* Geometry transcribed from the 1440 canvas. The cluster's bounding box runs
   x 724.75→1432.57, y 133→907.42, i.e. 707.82 × 774.42, and sits just past the
   start of the right-hand column — so it overflows the column to the right. */
.cans {
  position: relative;
  width: 120%;                               /* 707.82 / 590 (column width) */
  margin-left: 0.8%;                         /* 724.75 - 720 */
  justify-self: start;
  aspect-ratio: 707.82 / 774.42;
  perspective: 1400px;
}
/* each can carries its own pointer transform (set per frame in app.js) */
.can {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.can img {
  height: auto;
  filter: blur(5px);                          /* Figma: blur 5px @1440 */
  backface-visibility: hidden;
  will-change: transform;
}
/* each .can is the rotated image's bounding box, as a % of the cluster */
.can--md { left:  0%;     top: 39.92%; width: 57.44%; aspect-ratio: 406.594 / 465.293; z-index: 2; }
.can--lg { left: 23.91%;  top:  1.29%; width: 76.09%; aspect-ratio: 538.569 / 721.332; z-index: 3; }
.can--sm { left: 14.73%;  top:  0%;    width: 31.99%; aspect-ratio: 226.437 / 303.279; z-index: 1; }

.can--md img { width: 58.77%; animation: float-b 8.5s ease-in-out -2.4s infinite; }
.can--lg img { width: 71.51%; animation: float-a 7s   ease-in-out -0.8s infinite; }
.can--sm img { width: 71.51%; animation: float-c 6s   ease-in-out -4.1s infinite; }

@keyframes float-a {
  0%, 100% { transform: rotate(15deg)  translateY(0); }
  50%      { transform: rotate(15deg)  translateY(-26px); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50%      { transform: rotate(-30deg) translateY(-20px); }
}
@keyframes float-c {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50%      { transform: rotate(-15deg) translateY(-16px); }
}

/* ---------- Bubbles ---------- */
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  bottom: calc(-1 * var(--size));
  animation: rise var(--dur, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.bubble--glow { mix-blend-mode: overlay; }
@keyframes rise {
  0%   { transform: translateY(0); opacity: var(--op, .55); }
  92%  { opacity: var(--op, .55); }
  100% { transform: translateY(calc(-1 * (var(--h) + var(--size) * 2))); opacity: 0; }
}

/* ---------- Instagram reels strip ---------- */
.reels {
  position: relative;
  z-index: 2;
  margin-top: 2.8vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  cursor: grab;
}
.reels.is-dragging { cursor: grabbing; }
.reels__track { display: flex; gap: 1.39vw; width: max-content; will-change: transform; }
.reels__card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 21vw, 300px);
  aspect-ratio: 4 / 5;                       /* the client's images are 1080x1350 */
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}
.reels__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .hero__img, .can img, .bubble { animation: none; }
  .bubble { bottom: auto; top: var(--top); opacity: var(--op, .55); }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --pad: 7vw; }
  .hero { aspect-ratio: 4 / 5; }
  .hero__img { object-position: 60% 20%; }
  .stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 6vw;
    padding: 14vw var(--pad) 8vw;
  }
  .copy { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
  .title { margin-top: 8vw; font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .lede { margin-top: 4vw; }
  .signup__label { margin: 7vw 0 3vw; }
  .signup { justify-content: center; width: 100%; }
  .signup__input { flex: 1 1 100%; height: 54px; }
  .signup__btn { height: 54px; flex: 0 0 auto; }
  .signup-wrap { display: flex; flex-direction: column; align-items: center; }
  .signup-wrap.is-done .signup__msg { justify-content: center; text-align: center; }
  .signup__msg { position: static; margin-top: 3vw; }
  .socials { margin-top: 8vw; gap: 10px; flex-direction: column; align-items: center; width: 100%; }
  .ig-pill { gap: 10px; padding: 14px 22px; }
  .cans { width: min(92vw, 430px); margin-left: 0; justify-self: center; }
  .reels { margin-top: 9vw; }
  .reels__track { gap: 10px; }
  .reels__card { width: clamp(150px, 45vw, 210px); }
}
