/* =========================================================
   FoxSquare — Reel editing landing page
   ========================================================= */

:root {
  --bg: #0d0d0d;
  --bg-2: #121212;
  --surface: #181818;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f4f1;
  --muted: #a8a49e;

  --red: #ef4538;
  --red-2: #ff5d50;
  --red-soft: rgba(239, 69, 56, 0.14);

  --paper: #f3efe9;
  --ink: #141414;
  --ink-muted: #5d5954;

  --wa: #25d366;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark; /* single dark brand look */
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.text-link {
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--red);
  transition: color 0.2s;
}
.text-link:hover { color: var(--red-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.45em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  font-stretch: 104%;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(239, 69, 56, 0.75);
}
.btn--primary:hover { background: var(--red-2); box-shadow: 0 18px 40px -12px rgba(239, 69, 56, 0.9); }

.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light svg { color: #1fa855; }
.btn--light:hover { background: var(--paper); }

.btn--lg { font-size: 1.08rem; padding: 1.1em 1.75em; }
.btn--sm { font-size: 0.88rem; padding: 0.65em 1.05em; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
/* paints the phone status-bar band above the sticky top bar */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 51;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
}

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(13, 13, 13, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); background: rgba(13, 13, 13, 0.88); }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 110%;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand--small .brand__mark { width: 26px; height: 26px; }
.brand--small .brand__name { font-size: 1rem; }

@media (max-width: 420px) {
  .topbar .btn span { display: none; }
  .topbar .btn { padding: 0.6em; }
  .topbar .btn svg { width: 1.4em; height: 1.4em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 82% 32%, rgba(239, 69, 56, 0.2), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(239, 69, 56, 0.08), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%);
}

.hero__grid {
  display: grid;
  grid-template-areas: "head" "copy" "visual";
  column-gap: 56px;
  align-items: center;
}
.hero__head { grid-area: head; }
.hero__copy { grid-area: copy; }
.hero__visual { grid-area: visual; margin-top: clamp(44px, 8vw, 64px); }
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 330px;
    grid-template-areas: "head head" "copy visual";
  }
  .hero__copy { align-self: start; padding-top: 18px; }
  .hero__visual { margin-top: 8px; }
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  font-weight: 900;
  font-stretch: 108%;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__title > span { display: block; }
.hero__title .hl { color: var(--red); }
.hero__title .ul {
  background: linear-gradient(var(--red), var(--red)) 0 94% / 100% 0.11em no-repeat;
  padding-bottom: 0.04em;
}

.hero__lead {
  margin-top: 22px;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.price-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.8em;
  margin-top: 26px;
  padding: 0.75em 1.1em;
  border: 1px solid rgba(239, 69, 56, 0.5);
  border-radius: 14px;
  background: var(--red-soft);
  font-weight: 600;
}
.price-pill strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  font-stretch: 106%;
  letter-spacing: -0.01em;
}
.price-pill b { color: #fff; font-weight: 800; }
.price-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@media (max-width: 480px) {
  .price-pill { display: grid; gap: 2px; }
  .price-pill__dot { display: none; }
}

.hero__cta { margin-top: 28px; }
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust li { display: flex; align-items: center; gap: 10px; }
.trust strong { color: var(--text); }
.trust__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--red);
}
.trust__icon svg { width: 18px; height: 18px; }

/* Hero reel mock-up */
.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  padding: 22px 30px;
}
.hero__visual::before {
  /* bracket frame, echoing the logo */
  content: "";
  position: absolute;
  inset: 0;
  --c: rgba(255, 255, 255, 0.85);
  --t: 4px;
  --l: 44px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top left / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top right / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom left / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
  pointer-events: none;
}

/* iPhone (Pro-style) frame. Sizes inside use cqw, i.e. % of the phone's width. */
.iphone {
  position: relative;
  z-index: 0; /* keeps the island/status bar layers inside the phone, under the stickers */
  container-type: inline-size;
  aspect-ratio: 9 / 19.5;
  padding: 1.6%;
  border-radius: 16.5% / 7.6%;
  background:
    linear-gradient(135deg, #8a8a8f 0%, #3b3b3f 18%, #57575c 42%, #2a2a2e 70%, #77777c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 0 6px rgba(0, 0, 0, 0.6),
    0 60px 100px -40px rgba(0, 0, 0, 0.95),
    0 0 60px -10px rgba(239, 69, 56, 0.25);
}
.iphone__bezel {
  height: 100%;
  padding: 3.2cqw;
  border-radius: 14.5cqw;
  background: #030303;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.iphone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 11.5cqw;
  background: #111;
  color: #fff;
}
.iphone__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.iphone__screen::after {
  /* soft shade so the status bar and controls stay readable over any footage */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 14%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 22%);
  pointer-events: none;
}

.iphone__island {
  position: absolute;
  z-index: 3;
  top: 3cqw;
  left: 50%;
  width: 31cqw;
  height: 9cqw;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.iphone__status {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 15cqw;
  padding: 0 8cqw 0 10cqw;
  font-family: var(--font-body);
  font-size: 4.6cqw;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.iphone__icons { display: flex; align-items: center; gap: 1.6cqw; }
.iphone__icons svg { height: 3.6cqw; width: auto; fill: currentColor; }

.iphone__tag {
  position: absolute;
  z-index: 2;
  left: 5cqw;
  bottom: 9cqw;
  padding: 1.4cqw 3cqw;
  border-radius: 2cqw;
  background: var(--red);
  font-family: var(--font-display);
  font-size: 3.6cqw;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.iphone__sound {
  position: absolute;
  z-index: 2;
  top: 17cqw;
  right: 5cqw;
  display: grid;
  place-items: center;
  width: 11cqw;
  height: 11cqw;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.iphone__sound:hover { background: var(--red); }
.iphone__sound svg { width: 55%; height: 55%; }
.iphone__sound .icon-sound,
.iphone__sound[aria-pressed="true"] .icon-muted { display: none; }
.iphone__sound[aria-pressed="true"] .icon-sound { display: block; }

.iphone__progress {
  position: absolute;
  z-index: 2;
  left: 5cqw;
  right: 5cqw;
  bottom: 5.4cqw;
  height: 0.9cqw;
  overflow: hidden;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.25);
}
.iphone__progress i { display: block; width: 0; height: 100%; background: #fff; }
.iphone__home {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.8cqw;
  width: 36cqw;
  height: 1.3cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}

/* Side buttons */
.iphone__btn {
  position: absolute;
  width: 1.3cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #2a2a2e, #808085 50%, #2a2a2e);
}
.iphone__btn--action,
.iphone__btn--vol-up,
.iphone__btn--vol-down { left: -1cqw; }
.iphone__btn--power,
.iphone__btn--camera { right: -1cqw; }
.iphone__btn--action { top: 19%; height: 7cqw; }
.iphone__btn--vol-up { top: 26.5%; height: 13cqw; }
.iphone__btn--vol-down { top: 34.5%; height: 13cqw; }
.iphone__btn--power { top: 28%; height: 20cqw; }
.iphone__btn--camera { top: 56%; height: 11cqw; width: 0.9cqw; right: -0.7cqw; }

.sticker {
  position: absolute;
  z-index: 2;
  padding: 0.85em 1.05em;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 2.6vw, 0.98rem);
  font-weight: 900;
  font-stretch: 104%;
  line-height: 1.05;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7);
  animation: bob 5s ease-in-out infinite;
}
.sticker small {
  display: block;
  margin-bottom: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.7;
}
/* Stickers sit on the phone's top and bottom edges so they don't cover the reel's on-screen text */
.sticker--white { top: 2%; left: -4px; background: #fff; color: var(--ink); --r: -5deg; }
.sticker--red { bottom: 1%; right: -4px; background: var(--red); color: #fff; --r: 4deg; animation-delay: -2.5s; }
@keyframes bob {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(var(--r)) translateY(-8px); }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px 30px 16px 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.ticker__group i {
  width: 10px;
  height: 10px;
  flex: none;
  background: #fff;
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  font-stretch: 106%;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
}
.section-head--split > p { color: var(--muted); }

/* ---------- Pricing card ---------- */
.price-card {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(22px, 4.5vw, 52px);
  border: 1px solid rgba(239, 69, 56, 0.35);
  border-radius: 28px;
  background: linear-gradient(180deg, #1c1c1c 0%, #131313 100%);
  box-shadow: 0 50px 120px -50px rgba(239, 69, 56, 0.55);
}
.price-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.price-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.price-card__name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card__price {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 5.8rem);
  font-weight: 900;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-card__price .cur { font-size: 0.5em; vertical-align: 0.72em; margin-right: 0.03em; }
.price-card__price .per {
  margin-left: 0.35em;
  font-family: var(--font-body);
  font-size: 0.22em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card__badges { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.badge {
  padding: 0.55em 0.9em;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  font-stretch: 106%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--white { background: #fff; color: var(--ink); }
.badge--red { background: var(--red); color: #fff; }

.features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 28px 0 20px;
  list-style: none;
}
@media (min-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__icon--num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.feature h4 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.feature p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.feature--hot {
  border-color: rgba(239, 69, 56, 0.55);
  background: linear-gradient(180deg, rgba(239, 69, 56, 0.16), rgba(239, 69, 56, 0.04));
}
.feature--hot .feature__icon { background: var(--red); }
.feature--hot h4 {
  font-size: 1.12rem;
  font-weight: 900;
  font-stretch: 106%;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.feature--hot p { color: #d9d5cf; }

.budget {
  padding: 20px;
  border: 1px dashed var(--line-2);
  border-radius: 16px;
}
.budget__labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.budget__label--red { color: var(--red-2); }
.budget__bar {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}
.budget__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: 99px;
  background: var(--red);
}
.js .budget__fill { width: 0; transition: width 1.2s var(--ease) 0.4s; }
.js .is-in .budget__fill { width: 30%; }

.budget__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.budget__note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--red); }

.price-card__cta { margin-top: 24px; }

/* ---------- Portfolio ---------- */
.portfolio { background: var(--bg-2); border-block: 1px solid var(--line); }

/* 3D reel ring: script.js places each card around the ring and spins it */
.reel-stage {
  --card-w: clamp(128px, 30vw, 230px);
  position: relative;
  isolation: isolate;
  height: calc(var(--card-w) * 2.5);
  perspective: calc(var(--card-w) * 7);
  perspective-origin: 50% 20%;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
.reel-stage.is-dragging { cursor: grabbing; }
.reel-stage::after {
  /* red glow on the "floor" under the ring */
  content: "";
  position: absolute;
  z-index: -1;
  left: 5%;
  right: 5%;
  bottom: 0;
  height: 45%;
  background: radial-gradient(50% 45% at 50% 40%, rgba(239, 69, 56, 0.22), transparent 70%);
  pointer-events: none;
}
.reel-ring {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  aspect-ratio: 9 / 16;
  margin-left: calc(var(--card-w) / -2);
  transform-style: preserve-3d;
}
.reel {
  position: absolute;
  inset: 0;
  margin: 0;
  -webkit-box-reflect: below 10px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.22));
}
.reel .reel__frame { height: 100%; border-radius: 16px; }
.reel.is-front .reel__frame {
  border-color: rgba(239, 69, 56, 0.75);
  box-shadow: 0 30px 60px -20px rgba(239, 69, 56, 0.5);
}

.reel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.reel-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.reel-nav:hover { background: var(--red); border-color: var(--red); }
.reel-nav svg { width: 20px; height: 20px; }
.reel-hint { font-size: 0.85rem; color: var(--muted); }
.reel__frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #161616;
}
.reel__frame > video,
.reel__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button.reel__frame {
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.reel__frame > video { transition: transform 0.5s var(--ease); }
.reel__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.reel__frame:hover > video { transform: scale(1.04); }
.reel__frame::before {
  /* darkens cards as they turn away from the viewer (--shade set by script.js) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: var(--shade, 0);
  pointer-events: none;
}
.reel__play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.25s;
}
.reel__play svg { width: 18px; height: 18px; margin-left: 2px; }
.reel:hover .reel__play { background: var(--red); border-color: var(--red); }
.reel__frame.is-previewing .reel__play { opacity: 0; }
.reel figcaption {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  opacity: calc(1 - var(--shade, 0) * 1.4);
  pointer-events: none;
}

/* Reel player (lightbox) */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox__video {
  max-width: min(100%, 960px);
  max-height: calc(100dvh - 96px);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox.is-loading::after {
  /* spinner while the reel downloads */
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lightbox__close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--red); color: #fff; }

/* ---------- Experience ---------- */
.experience__grid { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .experience__grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .experience .section-head { margin-bottom: 0; position: sticky; top: 100px; }
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.logo-wall li {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(104px, 14vw, 140px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
.logo-wall li:hover {
  border-color: rgba(239, 69, 56, 0.6);
  background: rgba(239, 69, 56, 0.06);
  transform: translateY(-3px);
}
.logo-wall img {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 70px;
  opacity: 0.88;
  transition: opacity 0.25s;
}
.logo-wall li:hover img { opacity: 1; }
.logo-wall__mark { align-content: center; gap: 10px; }
.logo-wall__mark img { max-height: 52px; }
.logo-wall__mark span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  font-stretch: 106%;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(246, 244, 241, 0.85);
}

/* ---------- How it works ---------- */
.section--light { background: var(--paper); color: var(--ink); }
.section--light .eyebrow { color: var(--ink-muted); }

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  background: #fff;
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
}
.step__who {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.step h3 {
  margin-top: 8px;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.step--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 859px) {
  .step { flex-direction: row; align-items: center; gap: 20px; min-height: 0; padding: 22px; }
  .step__num { font-size: 2.6rem; }
}
.step--dark .step__who { color: #a8a49e; }

/* ---------- Individual reel offer ---------- */
.offer {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    var(--red);
  color: #fff;
}
@media (min-width: 860px) {
  .offer { grid-template-columns: 1fr auto; gap: 48px; }
}
.offer__big {
  position: absolute;
  right: clamp(-10px, 4vw, 220px);
  bottom: -0.32em;
  font-family: var(--font-display);
  font-size: clamp(14rem, 34vw, 24rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.22);
  pointer-events: none;
  user-select: none;
}
.offer__copy, .offer .btn { position: relative; }
.offer .eyebrow { color: rgba(255, 255, 255, 0.8); }
.offer .eyebrow::before { background: #fff; }
.offer h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  font-stretch: 108%;
}
.offer p:last-child {
  margin-top: 14px;
  max-width: 32rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.offer strong { color: #fff; font-weight: 800; border-bottom: 2px solid rgba(255, 255, 255, 0.7); }
@media (max-width: 520px) {
  .offer .btn { width: 100%; }
}

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  isolation: isolate;
  text-align: center;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 55%, rgba(239, 69, 56, 0.2), transparent 70%);
}
.final__inner { display: grid; justify-items: center; gap: 28px; }
.final__mark { width: 76px; height: 76px; color: #fff; }
.final h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 900;
  font-stretch: 110%;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s;
}
.contact a:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.contact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__icon--wa { background: var(--wa); color: #fff; }
.contact small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact strong { font-weight: 600; word-break: break-word; }
@media (max-width: 560px) {
  .contact { display: grid; width: 100%; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 28px 0 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
@media (min-width: 720px) {
  .footer { padding-bottom: 28px; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--wa);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}
.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  padding: 0.5em 0.85em;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label,
.wa-float.show-label .wa-float__label { opacity: 1; transform: none; }

/* ---------- Reveal on scroll ----------
   Content stays fully visible at rest; sections only glide up into place as they scroll in. */
.js [data-reveal] {
  transform: translateY(18px);
  transition: transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .budget__fill { width: 30%; }
  .sticker--white { transform: rotate(-5deg); }
  .sticker--red { transform: rotate(4deg); }
}
