/* ============================================================
   NOMO — Coming Soon
   Design tokens + base system
   ============================================================ */

/* Google Fonts (Baloo 2 + Manrope) are loaded via <link> in index.html's <head>
   rather than @import here, since @import is render-blocking and delays
   first paint. Add the same <link> to privacy.html / terms.html if you want
   the display font there too — they currently fall back to the system stack. */

:root {
  --navy: #0C4A8A;
  --navy-deep: #082F5C;
  --sky: #A8DFF4;
  --sky-soft: #D6F0FA;
  --cream: #FBF6EA;
  --cream-dim: #F3ECDC;
  --coral: #EB518F;
  --mango: #F2994A;
  --ink: #0A2540;

  --font-display: 'Baloo 2', ui-rounded, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --container: 1560px;
  --gutter: 32px;
  --font-hero: 'Lilita One', var(--font-display);
  --radius-lg: 28px;
  --radius-md: 18px;

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--coral);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

/* ---------------- Loader ---------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#loader img { width: 150px; opacity: 0.96; }
#loader .loader-text {
  font-family: var(--font-body);
  color: var(--sky);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
#loader .bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
#loader .bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--coral);
  animation: loadbar 1s var(--ease) forwards;
}
@keyframes loadbar { to { width: 100%; } }

/* ---------------- Custom cursor (desktop only) — popsicle pointer ---------------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 34px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  border-radius: 50%;
  transform: translate(-50%, -60%) rotate(-16deg);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .2s var(--ease), transform .2s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cursor-pop {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 5px 10px rgba(8,47,92,0.4));
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.cursor-dot.expand {
  width: 64px; height: 64px;
  background: rgba(235,81,143,0.14);
  border: 1.5px solid var(--coral);
  transform: translate(-50%, -50%) rotate(0deg);
  display: flex; align-items: center; justify-content: center;
}
.cursor-dot.expand .cursor-pop { opacity: 0; transform: scale(0.4); }
.cursor-dot .cursor-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-deep);
  opacity: 0;
  white-space: nowrap;
}
.cursor-dot.expand .cursor-label { opacity: 1; }

body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(8,47,92,0.25);
}
.nav-logo img { height: 64px; width: auto; transition: height .35s var(--ease); }
.nav.scrolled .nav-logo img { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.navlink {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a.navlink::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--coral);
  transition: width .3s var(--ease);
}
.nav-links a.navlink:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn-primary {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(235,81,143,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(235,81,143,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(251,246,234,0.5);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(251,246,234,0.08); }

.nav-menu-btn {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-menu-btn span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(120% 100% at 50% 0%, #123f70 0%, var(--navy) 45%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-frost {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 15% 10%, rgba(168,223,244,0.18), transparent 60%),
    radial-gradient(50% 35% at 90% 85%, rgba(235,81,143,0.14), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1680px;
}
.hero-copy .eyebrow { color: var(--sky); font-size: 0.9rem; }
.hero-copy h1 {
  font-family: var(--font-hero);
  color: var(--cream);
  font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  margin-top: 16px;
  letter-spacing: 0.01em;
  line-height: 1.02;
  animation: hero-float 5s ease-in-out infinite;
  text-shadow:
    1px 1px 0 #0a3d73,
    2px 2px 0 #0a3d73,
    3px 3px 0 #082f5c,
    4px 4px 0 #082f5c,
    5px 5px 0 #06253f,
    6px 6px 0 #06253f,
    7px 7px 14px rgba(0,0,0,0.45);
}
.hero-copy h1 .accent {
  color: var(--coral);
  text-shadow:
    1px 1px 0 #a52f61,
    2px 2px 0 #a52f61,
    3px 3px 0 #7e2149,
    4px 4px 0 #7e2149,
    5px 5px 0 #611537,
    6px 6px 0 #611537,
    7px 7px 14px rgba(0,0,0,0.45);
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.6deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-copy h1 { animation: none; } }
.hero-copy p.sub {
  color: var(--sky-soft);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 20px;
  max-width: 580px;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168,223,244,0.22), transparent 72%);
  animation: skate-glide 6.5s ease-in-out infinite;
}
@keyframes skate-glide {
  0%   { transform: translate(0, 0) rotate(0deg); }
  22%  { transform: translate(-16px, -6px) rotate(-2.2deg); }
  50%  { transform: translate(6px, 4px) rotate(1.4deg); }
  76%  { transform: translate(16px, -5px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.hero-product {
  position: absolute;
  inset: 8%;
  border-radius: 40px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 40px 90px rgba(4,20,42,0.55);
  transition: transform .15s linear;
}
.hero-product img { width: 100%; height: 100%; object-fit: cover; }
.hero-product::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 45%);
  mix-blend-mode: overlay;
}
.frost-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  filter: blur(0.5px);
  pointer-events: none;
  animation: drift 7s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); opacity: .55; }
  50% { transform: translateY(-18px) translateX(6px); opacity: .9; }
}

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--sky-soft);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.9;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.scroll-cue:hover { opacity: 1; transform: translateX(-50%) translateY(3px); }
.scroll-cue-chevrons { display: flex; flex-direction: column; align-items: center; gap: -6px; margin-top: -4px; }
.scroll-cue-chevrons svg { width: 18px; height: 9px; color: var(--sky); margin-top: -3px; animation: chevron-bounce 1.6s ease-in-out infinite; }
.scroll-cue-chevrons svg:nth-child(2) { animation-delay: .22s; opacity: .55; }
@keyframes chevron-bounce { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------------- Wave divider ---------------- */
.wave-divider { display: block; width: 100%; height: auto; margin-top: -1px; }
.wave-divider.flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* ---------------- Claims marquee ribbon (diagonal, First-Coffee-style, lives in the hero) ---------------- */
.marquee-ribbon {
  position: absolute;
  left: -10%;
  width: 120%;
  bottom: 92px;
  transform: rotate(-3.2deg);
  background: var(--navy);
  overflow: hidden;
  padding: 9px 0;
  border-top: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
  z-index: 3;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-content span:not(.dot) {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0 16px;
}
.marquee-content .dot { display: none; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 720px) {
  .marquee-ribbon { bottom: 84px; padding: 6px 0; border-width: 2px; transform: rotate(-4deg); }
}

/* ---------------- On the street (carts / kiosk) ---------------- */
.street {
  background-color: var(--sky-soft);
  background-image:
    linear-gradient(rgba(12,74,138,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,74,138,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: 110px 0;
  text-align: left;
}
.street .eyebrow { color: var(--coral); font-size: 0.9rem; }
.street h2 {
  color: var(--navy);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin: 14px 0 0;
  max-width: 980px;
}
.street p.sub {
  color: var(--navy-deep);
  opacity: 0.8;
  font-weight: 500;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 18px 0 0;
  line-height: 1.6;
}
.attr-chips {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}
.attr-chips span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--navy);
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(12,74,138,0.22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.attr-chips span:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(12,74,138,0.3); }
.attr-chips span.chip-sugar {
  color: var(--cream);
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 10px 22px rgba(235,81,143,0.32);
}
.street-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}
.street-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 18px 40px rgba(8,47,92,0.16);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.street-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(8,47,92,0.22); }
.street-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- Coming soon + email ---------------- */
.cta-section {
  background: var(--navy);
  padding: 130px 0 90px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.6vw, 4.6rem);
  max-width: 900px;
}
.cta-section p.sub {
  color: var(--sky-soft);
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 500;
}
.email-form {
  margin: 46px 0 0;
  max-width: 480px;
  display: flex;
  gap: 10px;
  background: rgba(251,246,234,0.08);
  border: 1.5px solid rgba(251,246,234,0.25);
  padding: 8px;
  border-radius: 999px;
}
.email-form input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream);
  outline: none;
}
.email-form input::placeholder { color: rgba(251,246,234,0.55); }
.email-form button {
  background: var(--coral);
  color: var(--cream);
  border: none;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform .3s var(--ease);
}
.email-form button:hover { transform: translateY(-2px); }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg {
  margin-top: 18px;
  font-weight: 700;
  color: var(--sky);
  min-height: 1.4em;
}
.form-msg .line2 { display: block; font-weight: 500; color: var(--sky-soft); font-size: 0.88rem; margin-top: 4px; }

.social-row {
  margin-top: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
}
.social-row .eyebrow { color: var(--sky); width: 100%; text-align: left; margin-bottom: 18px; }
.social-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(251,246,234,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.social-icon:hover { transform: translateY(-3px); background: var(--coral); border-color: var(--coral); }
.social-icon svg { width: 20px; height: 20px; fill: var(--cream); }

/* ---------------- Footer ---------------- */
footer {
  background: var(--navy-deep);
  padding: 40px 0 28px;
  color: rgba(251,246,234,0.7);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(251,246,234,0.12);
}
.footer-top img { height: 26px; }
.footer-links { display: flex; gap: 26px; font-size: 0.85rem; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom {
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem;
}

/* ---------------- Reveal-on-scroll ---------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-visual-stage { max-width: 320px; }
  .street-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .street-card:last-child { grid-column: span 2; aspect-ratio: 16/9; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav .btn-primary { padding: 10px 18px; font-size: 0.78rem; }
  .hero { padding-top: 90px; padding-bottom: 130px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-copy p.sub { font-size: 1rem; margin-top: 12px; }
  .hero-ctas { margin-top: 22px; margin-bottom: 48px; }
  .scroll-cue { bottom: 14px; }
  .street { padding: 80px 0; }
  .street-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .street-card, .street-card:last-child { aspect-ratio: auto; grid-column: auto; }
  .street-card img { height: auto; }
  .marquee-content span:not(.dot) { font-size: 0.85rem; padding: 0 12px; }
  .email-form { flex-direction: column; border-radius: 22px; }
  .email-form button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .cursor-dot { display: none; }
}
