/* Goomee — the home page's own layer on top of styles.css.
   The page reads as a story: the hero, then the phone that stays put while
   the four steps scroll past it, then the numbers, the hour, the planner,
   the moments, the cities and the way to the store. Everything moves a
   little as it arrives and nothing moves under reduced motion. */

:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange);
}
.eyebrow-light { color: rgba(255, 255, 255, .8); }
.eyebrow-light::before { background: rgba(255, 255, 255, .7); }
.section-head .eyebrow { justify-content: center; }

/* ================= HERO ================= */
.hero-v2 {
  padding-bottom: clamp(56px, 7vw, 96px);
  /* the first screen, but no taller than the 16:9 film needs, so a big
     monitor shows the whole picture instead of cropping its top and bottom */
  min-height: min(max(560px, 100vh), max(980px, 56.25vw));
  min-height: min(max(560px, 100svh), max(980px, 56.25vw));
}
.hero-v2-inner {
  position: relative; width: 100%; flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
/* styles.css names grid areas for the old hero; this one places by order */
.hero-v2 .hero-copy, .hero-v2 .hero-play, .hero-v2 .hero-stage-phone { grid-area: auto; }
.hero-v2 .hero-copy { grid-column: 1; grid-row: 1; }
.hero-v2 .hero-stage-phone { grid-column: 2; grid-row: 1; }
@media (max-width: 900px) {
  .hero-v2 .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-v2 .hero-stage-phone { grid-column: 1; grid-row: 2; }
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 22px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(8, 16, 26, .5); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3DDC84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, .6);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: live 2.4s ease-out infinite; }
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.hero-v2 .hero-sub { max-width: 36ch; }
/* the two actions on one line, the note under them */
.hero-actions {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
}
.hero-v2 .store-badges { margin-top: 0; flex: none; }
.hero-v2 .store-badges .badge { flex: none; }
.hero-v2 .hero-play {
  flex-direction: row; justify-content: flex-start; gap: 14px;
}
.hero-v2 .play-btn { width: 54px; }
.hero-v2 .play-label { display: flex; flex-direction: column; line-height: 1.25; }
.hero-v2 .play-label small { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .7); }

/* The phone on the film, with two suggestion cards arriving beside it */
.hero-stage-phone {
  position: relative; justify-self: center;
  width: min(300px, 100%);
}
.phone-float {
  width: 100%; margin-inline: 0;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
}
@media (prefers-reduced-motion: no-preference) {
  .phone-float { animation: float 7s ease-in-out infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-.6deg); }
}
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--navy);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  white-space: nowrap;
  opacity: 0;
}
.float-card .fc-text { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-size: 13.5px; font-weight: 800; letter-spacing: -.015em; }
.float-card small { font-size: 12px; color: #5F6E7C; font-weight: 500; }
.fc-icon {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 15px;
}
.fc-open { background: #E8F7EE; }
.fc-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1C9A55; }
.fc-star { background: #FEF3EB; color: #FD5F06; }
/* Out at the phone's edges, so they never sit on the app's own text. The first
   only touches the bezel, above the title's line. The second lands on the row
   with the big photo: where the window is too narrow to clear the phone it may
   overlap that photo, never the headings. The offset keeps it inside the window. */
.float-card-1 { right: calc(100% - 14px); top: 14%; }
.float-card-2 { right: calc(-1 * min(181px, 36vw - 307px)); top: 68%; }
/* The film's faces sit left of the middle and move as the scenes change, so on
   a wide screen the phone goes to the right edge of the content and both cards
   to its left edge, low down: clear of her face through the whole loop, off the
   app's headings, and still inside the window. */
@media (min-width: 901px) {
  .hero-v2 .hero-stage-phone { justify-self: end; }
  .float-card-1, .float-card-2 { right: calc(100% - 14px); }
  .float-card-1 { top: 52%; }
  .float-card-2 { top: 66%; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: card-in .7s var(--ease-out) both; }
  .float-card-1 { animation-delay: 1.5s; }
  .float-card-2 { animation-delay: 2.4s; }
}
@media (prefers-reduced-motion: reduce) { .float-card { opacity: 1; } }
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255, 255, 255, .62); font-size: 12.5px; font-weight: 500;
  transition: color .18s ease;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue svg { width: 14px; height: 14px; stroke-width: 2; }

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden; background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .08);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  padding-block: 16px;
}
.marquee-track li {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  color: rgba(255, 255, 255, .82); font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
}
.marquee-track li::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= REVEAL =================
   Only where scripting is on: with JS off (or a browser that cannot say), the
   content is simply there instead of waiting for a script that never runs. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--d, 0s);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ================= SCROLLYTELLING ================= */
.scrolly { background: var(--cream); padding-block: var(--section-pad) clamp(40px, 5vw, 72px); }
.scrolly-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.scrolly-phone { position: sticky; top: calc(var(--header-h) + 24px); }
.phone-stage {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
  min-height: min(calc(100svh - var(--header-h) - 48px), 760px);
  justify-content: center;
}
.phone-scrolly {
  width: min(300px, 100%); margin-inline: 0;
  box-shadow: 0 50px 100px -36px rgba(10, 31, 61, .6);
  transition: transform .9s var(--ease-out);
}
.phone-scrolly[data-screen="explore"] { transform: rotate(-2deg); }
.phone-scrolly[data-screen="map"] { transform: rotate(1.5deg); }
.phone-scrolly[data-screen="place"] { transform: rotate(-1deg); }
.phone-scrolly[data-screen="trips"] { transform: rotate(2deg); }
.phone-scrolly .phone-shot { position: relative; }
.phone-scrolly .screen {
  position: absolute; inset: 0; display: block;
  opacity: 0; transform: scale(1.03);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.phone-scrolly .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-scrolly[data-screen="explore"] .screen[data-screen="explore"],
.phone-scrolly[data-screen="map"] .screen[data-screen="map"],
.phone-scrolly[data-screen="place"] .screen[data-screen="place"],
.phone-scrolly[data-screen="trips"] .screen[data-screen="trips"] { opacity: 1; transform: none; }

/* An optional screen recording over the still (see index.html: data-clip).
   Invisible until it is really playing, so the still is the poster and the
   fallback. Never shown under reduced motion. */
.screen-clip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.screen-clip.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .screen-clip { display: none; }
}

.phone-dots { display: flex; gap: 8px; }
.phone-dots li {
  width: 8px; height: 8px; border-radius: 999px; background: var(--line);
  transition: width .35s var(--ease-out), background-color .35s;
}
.phone-dots li.is-on { width: 26px; background: var(--orange); }

.steps { display: grid; gap: clamp(20px, 3vw, 36px); padding-block: clamp(20px, 6vh, 64px); }
.step {
  position: relative; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) clamp(26px, 3vw, 40px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  min-height: clamp(280px, 40vh, 400px); display: flex; flex-direction: column; justify-content: center;
  transition: box-shadow .5s var(--ease-out), border-color .5s, transform .5s var(--ease-out);
}
.step::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px;
  background: var(--orange); transform: scaleY(0); transform-origin: top;
  transition: transform .6s var(--ease-out);
}
.step.is-on { box-shadow: var(--shadow); border-color: transparent; }
.step.is-on::before { transform: scaleY(1); }
.step-num {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--orange-text);
}
.step h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.step > p { margin-top: 12px; color: var(--muted); font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.6; max-width: 46ch; }
.step em { font-style: normal; font-weight: 700; color: var(--ink); }
.step-note {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: 18px; padding: 8px 12px; border-radius: 10px;
  background: var(--orange-wash); color: var(--note-ink);
  font-size: 13px; font-weight: 700; letter-spacing: -.005em;
}
.step-note svg { width: 16px; height: 16px; stroke-width: 2; }

/* The rest of the app, flat: a line above, no cards */
.scrolly-extras { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 8px; }
.extra { position: relative; padding-left: 36px; }
.extra svg { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; color: var(--orange-text); stroke-width: 1.8; }
.extra h3 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.extra p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.extra:nth-child(2) { --d: .08s; }
.extra:nth-child(3) { --d: .16s; }

/* ================= NUMBERS ================= */
.stats {
  background: var(--navy); color: #fff;
  padding-block: clamp(44px, 5vw, 72px);
  background-image:
    radial-gradient(60% 120% at 0% 0%, rgba(253, 95, 6, .22), transparent 60%),
    radial-gradient(50% 100% at 100% 100%, rgba(23, 84, 146, .5), transparent 60%);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.stat strong {
  font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums; color: #fff;
}
.stat > span { font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.45; max-width: 24ch; }

/* ================= PLANNER ================= */
.planner-v2 { background: var(--mist); padding-block: var(--section-pad); overflow: hidden; }
.planner-v2-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.planner-v2-copy .lede { margin-top: 14px; max-width: 50ch; }
.plan-steps {
  position: relative; margin-top: 30px; display: grid; gap: 4px;
  counter-reset: plan;
}
.plan-steps li {
  position: relative; padding: 10px 0 10px 46px; counter-increment: plan;
  display: flex; flex-direction: column; gap: 2px;
}
.plan-steps li::before {
  content: counter(plan); position: absolute; left: 0; top: 8px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--orange); color: var(--orange-text);
  font-size: 13px; font-weight: 800;
}
.plan-steps li::after {
  content: ""; position: absolute; left: 14.5px; top: 40px; bottom: -8px; width: 1.5px;
  background: var(--line-cool);
}
.plan-steps li:last-child::after { content: none; }
.plan-steps strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.plan-steps span { font-size: 14.5px; color: var(--muted); }
.plan-steps li:nth-child(2) { --d: .1s; }
.plan-steps li:nth-child(3) { --d: .2s; }
.plan-steps li:nth-child(4) { --d: .3s; }
.plan-steps li:nth-child(5) { --d: .4s; }
.planner-v2 .btn { margin-top: 30px; }

.planner-v2-visual { position: relative; min-height: 520px; }
.tablet-back {
  width: min(440px, 88%); margin-inline: auto 0;
  transform: rotate(2deg);
}
.phone-front {
  position: absolute; left: 0; bottom: -6%;
  width: min(230px, 50%); margin: 0;
  box-shadow: 0 40px 90px -30px rgba(10, 31, 61, .7);
  transform: rotate(-4deg);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tablet-back { animation: drift-up linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .phone-front { animation: drift-down linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes drift-up {
  from { transform: rotate(2deg) translateY(40px); }
  to { transform: rotate(2deg) translateY(-20px); }
}
@keyframes drift-down {
  from { transform: rotate(-4deg) translateY(60px); }
  to { transform: rotate(-4deg) translateY(0); }
}

/* ---------- Planner: a link becoming a trip ----------
   The base rules are the finished state. landing.js adds .is-armed (the
   start), then .is-typing, .is-pressed, .is-found and .is-sorted in turn. */
.trip-demo { grid-column: 1 / -1; width: min(720px, 100%); margin-inline: auto; }
.demo-title {
  text-align: center; font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text);
}
.demo-visual { margin-top: 16px; }
.demo-field {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 18px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-cool);
}
.demo-field svg {
  flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.demo-link {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.demo-link-text { display: inline-block; }
.demo-go {
  flex: none; padding: 10px 18px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.demo-days, .demo-places {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px clamp(12px, 3vw, 32px);
}
.demo-days { margin-top: 24px; }
.demo-days span {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text);
}
.demo-days span::before {
  content: ""; display: block; width: 22px; height: 3px; margin-bottom: 8px;
  border-radius: 3px; background: var(--orange);
}
.demo-places {
  list-style: none; margin: 14px 0 0; padding: 0;
  grid-template-rows: repeat(2, auto); grid-auto-flow: column;
}
.demo-places li { position: relative; display: flex; flex-direction: column; gap: 1px; padding-left: 15px; }
.demo-places li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--orange);
}
.demo-places strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.demo-places small { font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .trip-demo.is-armed .demo-link-text { clip-path: inset(0 100% 0 0); }
  .trip-demo.is-typing .demo-link-text { animation: demo-type 1.5s steps(34, end) forwards; }
  .trip-demo.is-armed .demo-go { opacity: .4; transition: opacity .4s; }
  .trip-demo.is-armed.is-pressed .demo-go { opacity: 1; }
  .trip-demo.is-armed .demo-days span { opacity: 0; transform: translateY(6px); }
  .trip-demo.is-armed.is-sorted .demo-days span {
    opacity: 1; transform: none; transition: opacity .6s var(--ease-out) .35s, transform .6s var(--ease-out) .35s;
  }
  /* before it is sorted the places arrive as one loose list, in the order a link would give them */
  .trip-demo.is-armed:not(.is-sorted) .demo-places { grid-auto-flow: row; grid-template-rows: none; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(1) { order: 3; --d: .3s; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(2) { order: 5; --d: .6s; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(3) { order: 1; --d: 0s; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(4) { order: 6; --d: .75s; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(5) { order: 4; --d: .45s; }
  .trip-demo.is-armed:not(.is-sorted) .demo-places li:nth-child(6) { order: 2; --d: .15s; }
  .trip-demo.is-armed .demo-places li { opacity: 0; transform: translateY(8px); }
  .trip-demo.is-armed.is-found .demo-places li {
    opacity: 1; transform: none;
    transition: opacity .5s var(--ease-out) var(--d, 0s), transform .5s var(--ease-out) var(--d, 0s);
  }
}
@keyframes demo-type { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) {
  .trip-demo { margin-top: 28px; }   /* the phone above overhangs its row */
}
@media (max-width: 620px) {
  .demo-field { gap: 10px; padding-left: 14px; }
  .demo-link { font-size: 13.5px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .demo-go { padding: 9px 14px; font-size: 13.5px; }
  .demo-places strong { font-size: 14px; }
  .demo-places small { font-size: 12.5px; }
}

/* ---------- Closing: QR code for desktop visitors ---------- */
.close-qr { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.close-qr img { flex: none; width: 132px; height: 132px; border-radius: 10px; background: #fff; }
.close-qr p { max-width: 17ch; color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px), (pointer: coarse) {
  .close-qr { display: none; }
}

/* ================= MOMENTS ================= */
.moments-v2 .section-head { margin-bottom: clamp(8px, 1vw, 16px); }
.moment:nth-child(2) { --d: .1s; }
.moment:nth-child(3) { --d: .2s; }
.moment-photo { overflow: hidden; }
.moment-photo img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) {
  .moment:hover .moment-photo img { transform: scale(1.04); }
}

/* ================= DESTINATIONS ================= */
.dests-head .eyebrow { margin-bottom: 8px; }

/* ================= CLOSING ================= */
.close-v2 .h2 .accent { color: var(--orange); }
.close-v2 .close-phone .phone { width: min(250px, 100%); }
@media (prefers-reduced-motion: no-preference) {
  .close-v2 .close-phone .phone { animation: float 8s ease-in-out infinite; }
}

/* desktop: a touch more shade behind the copy so white type holds over the light coat in the canal scene */
@media (min-width: 901px) {
  .hero-v2 .hero-scrim {
    background:
      linear-gradient(90deg, rgba(6, 14, 24, .74) 0%, rgba(6, 14, 24, .56) 36%, rgba(6, 14, 24, .26) 54%, rgba(6, 14, 24, 0) 68%),
      linear-gradient(to top, rgba(6, 14, 24, .55) 0%, rgba(6, 14, 24, 0) 32%),
      linear-gradient(to bottom, rgba(6, 14, 24, .38) 0%, rgba(6, 14, 24, 0) 18%);
  }
  .hero-v2 .hero-note { text-shadow: 0 1px 8px rgba(6, 14, 24, .55); }
}

/* ================= PHONE HERO =================
   The film can't be both a full-height portrait and show a street: a tall crop
   is a close-up of one face. So here it takes the top of the hero, as its own wide
   cut, and fades into solid colour where the copy starts. */
@media (max-width: 760px) {
  .hero-v2 {
    --film-h: min(120vw, 64vh);
    --film-h: min(120vw, 64svh);
    padding-top: calc(var(--film-h) * .6);
    background-size: 100% auto; background-position: top center;
  }
  .hero-v2 .hero-video { height: var(--film-h); object-position: 50% 25%; }
  /* the two actions still on one line at 390 */
  .hero-actions { column-gap: 14px; }
  .hero-v2 .hero-play { gap: 10px; }
  .hero-v2 .play-btn { width: 46px; }
  .hero-v2 .hero-scrim {
    background: linear-gradient(to bottom,
      rgba(10, 22, 34, .5) 0, rgba(10, 22, 34, 0) 96px,
      rgba(10, 22, 34, 0) calc(var(--film-h) * .42),
      rgba(10, 22, 34, .86) calc(var(--film-h) * .7),
      #0A1622 var(--film-h));
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* between the phone-below-copy layout and laptops there is no room beside the phone */
@media (min-width: 901px) and (max-width: 1023px) {
  .float-card { display: none; }
}
@media (max-width: 900px) {
  .hero-v2-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-stage-phone { width: min(240px, 100%); }
  .float-card-2 { right: auto; left: calc(100% - 14px); }
  .scroll-cue { display: none; }

  /* the phone sits at the top and the steps slide under it */
  .scrolly-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scrolly-phone {
    top: var(--header-h); z-index: 2;
    background: var(--cream); padding-block: 12px 10px;
    -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, #000 88%, transparent);
  }
  .phone-stage { min-height: 0; gap: 10px; }
  .phone-scrolly { width: min(168px, 56vw); }
  .phone-scrolly .phone-shot { border-radius: 24px; }
  .phone-scrolly.phone { border-radius: 30px; padding: 6px; }
  .steps { padding-top: 16px; gap: 14px; }
  .step { min-height: 0; padding: 22px; }
  .planner-v2-grid { grid-template-columns: minmax(0, 1fr); }
  .planner-v2-visual { min-height: 0; margin-top: 10px; }
  .tablet-back { width: min(440px, 90%); margin-inline: auto 0; }
  .phone-front { width: min(200px, 46%); bottom: -4%; }
}
@media (max-width: 720px) {
  .float-card { display: none; }
}
@media (max-width: 620px) {
  .extras { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
  .extra { padding-block: 14px; border-top: 1px solid var(--line); }
  .extra:first-child { border-top: 0; padding-top: 6px; }
  .extra svg { top: 15px; }
  .extra:first-child svg { top: 7px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .stat strong { font-size: 38px; }
  .marquee-track { padding-block: 13px; }
  .marquee-track li { font-size: 13.5px; }
}

/* ---------- Pricing: "Is Goomee free? Yes." ---------- */
.pricing { background: var(--cream); padding-block: var(--section-pad); }
.price-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 48px); align-items: start; max-width: 1080px; margin-inline: auto;
}
.price-card {
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.price-amount {
  font-size: clamp(48px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; color: var(--ink);
}
.price-per { margin-top: 6px; color: var(--muted); font-weight: 600; }
.price-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); line-height: 1.45; }
.price-list svg {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.price-card .btn { width: 100%; justify-content: center; }
.price-faq { margin: 0; display: grid; gap: 0; }
.price-q { padding-block: 18px; border-bottom: 1px solid var(--line); }
.price-q:first-child { padding-top: 4px; }
.price-q:last-child { border-bottom: 0; }
.price-q dt { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.price-q dd { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ================= RIGHT NOW =================
   The band takes on the colour of the hour and the photo fills its side of the
   page, edge to edge. A photo is never wider than its source can carry, hence
   the cap on .rn. */
.rightnow {
  --rn-bg: color-mix(in srgb, var(--rn-tint, transparent) var(--rn-mix, 16%), var(--cream));
  background: var(--cream); background: var(--rn-bg);
}
/* the same tint reads much stronger on the dark ground */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rightnow { --rn-mix: 8%; }
}
:root[data-theme="dark"] .rightnow { --rn-mix: 8%; }
.rightnow[data-hour="0"] { --rn-tint: #F4D06F; }
.rightnow[data-hour="1"] { --rn-tint: #FD9A5B; }
.rightnow[data-hour="2"] { --rn-tint: #7DB5EA; }
.rightnow[data-hour="3"] { --rn-tint: #3D7CF0; }
.rightnow[data-hour="4"] { --rn-tint: #7A4FE0; }
.rn {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  max-width: 1920px; margin-inline: auto;
  --rn-side: max(var(--gutter), calc((min(100vw, 1920px) - 1240px) / 2 + var(--gutter)));
}
.rn [hidden] { display: none !important; }
.rn-head, .rn-panel { grid-column: 2; padding-inline: clamp(32px, 5vw, 80px) var(--rn-side); }
.rn-head {
  max-width: none; margin: 0; text-align: left;
  padding-top: clamp(48px, 5.5vw, 84px);
}
.rn-head .eyebrow { justify-content: flex-start; }
.rn-head .accent { display: block; }
.rn-panel { padding-top: 22px; padding-bottom: clamp(40px, 4.5vw, 64px); }

.rn-photos { grid-column: 1; grid-row: 1 / 3; position: relative; overflow: hidden; min-height: 640px; background: #0A1622; }
.rn-photo { position: absolute; inset: 0; margin: 0; color: #fff; }
.rn-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 24, .62) 0%, rgba(6, 14, 24, 0) 42%);
}
.rn-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* each crop keeps what the hour is about */
.rn-photo[data-photo="0"] img { object-position: 50% 92%; }
.rn-photo[data-photo="1"] img { object-position: 72% 50%; }
.rn-photo[data-photo="2"] img { object-position: 50% 45%; }
.rn-photo[data-photo="3"] img { object-position: 50% 62%; }
.rn-photo[data-photo="4"] img { object-position: 62% 50%; filter: brightness(.68) saturate(.92); }
.rn.is-live .rn-photo { opacity: 0; transition: opacity .55s ease; }
.rn.is-live .rn-photo.is-on { opacity: 1; }
.rn-hour {
  position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); bottom: clamp(16px, 2.4vw, 32px);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 14px;
}
.rn-hour strong { font-size: clamp(40px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rn-hour span { font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; font-variant-numeric: tabular-nums; opacity: .92; }
.rn-photo figcaption {
  position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); top: clamp(16px, 2.4vw, 32px);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(8, 16, 26, .62);
  font-size: 13px; font-weight: 600;
}
.rn-photo figcaption svg { width: 15px; height: 15px; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .rightnow { transition: background-color .7s ease; }
  .rn-photo img { transform: scale(1.045); transition: transform 1.6s var(--ease-out); }
  .rn-photo.is-on img { transform: none; }
}

.rn-example {
  margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.rn-control { margin-bottom: 14px; }
.rn-label { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 700; color: var(--ink); }
.rn-range {
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; height: 44px; margin: 0; padding: 0; background: transparent;
  cursor: pointer; touch-action: pan-y;   /* a horizontal drag moves the thumb; vertical still scrolls the page */
}
.rn-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--muted) 38%, transparent); }
.rn-range::-moz-range-track { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--muted) 38%, transparent); }
.rn-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--rn-bg);
  box-shadow: 0 0 0 1px var(--orange-text);
}
.rn-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--rn-bg);
  box-shadow: 0 0 0 1px var(--orange-text);
}
.rn-range:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.rn-ticks { position: relative; height: 26px; margin-top: 2px; list-style: none; padding: 0; }
.rn-ticks li {
  position: absolute; top: 0; left: calc(14px + var(--i) * (100% - 28px) / 4);
  transform: translateX(-50%); padding: 4px 2px;
  font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; cursor: pointer;
  transition: color .2s;
}
.rn-ticks li:first-child { transform: translateX(-14px); }
.rn-ticks li:last-child { transform: translateX(calc(-100% + 14px)); }
.rn-ticks li.is-on { color: var(--ink); font-weight: 800; }

.rn-stops { display: block; }
.rn.is-live .rn-stops { display: grid; }
.rn.is-live .rn-stop {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
.rn.is-live .rn-stop.is-on { opacity: 1; visibility: visible; transition: opacity .22s ease; }
.rn-when { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
/* with the slider on, the photo carries the hour; this stays as the stop's heading for screen readers */
.rn.is-live .rn-when {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.rn-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.rn-part { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.rn-clock { font-size: 15px; font-weight: 700; color: var(--orange-text); font-variant-numeric: tabular-nums; }
.rn-picks { list-style: none; margin: 0; padding: 0; }
.rn-picks li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.rn-picks li:last-child { border-bottom: 1px solid var(--line); }
.rn-picks strong { font-size: 17px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.rn-picks small { font-size: 14px; color: var(--muted); text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .rn.is-live .rn-stop, .rn.is-live .rn-stop.is-on, .rn-ticks li, .rn.is-live .rn-photo { transition: none; }
}
@media (max-width: 900px) {
  .rn { display: block; }
  .rn-head, .rn-panel { padding-inline: var(--gutter); }
  .rn-head { text-align: center; margin-inline: auto; max-width: 720px; padding-top: var(--section-pad); padding-bottom: 24px; }
  .rn-head .eyebrow { justify-content: center; }
  .rn-photos { min-height: 0; aspect-ratio: 5 / 4; max-height: 62vh; width: 100%; }
  .rn-panel { padding-top: 16px; padding-bottom: var(--section-pad); max-width: 680px; margin-inline: auto; }
  .rn-example { text-align: center; }
}
@media (max-width: 520px) {
  .rn-ticks li { font-size: 12px; }
  .rn-picks strong { font-size: 16px; }
}
