/* UGC Factory — built from design/tokens.md. Tokens are the source of truth. */

:root {
  /* ground + ink */
  --cream: #F2EBDD;
  --off-white: #FFFDF6;
  --edge: #E1D7C2;
  --edge-strong: #C9BFA6;
  --ink: #141210;
  --ink-soft: #4A453F;

  /* accents — ink text on all three, never white */
  --green: #2CBF8C;
  --pink: #F7B2E4;
  --blue: #5CA0FF;

  /* spacing */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* radius */
  --r-sm: 12px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 40px;
  --r-pill: 999px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .disp { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: #1B5FD9; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--off-white);
  padding: 14px 20px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: var(--off-white); }

/* ---------- type ---------- */
.display  { font-size: clamp(3.25rem, 11vw, 8rem);   font-weight: 800; line-height: 0.90; letter-spacing: -0.05em; }
.h2-stmt  { font-size: clamp(2.6rem, 6.6vw, 6rem);   font-weight: 800; line-height: 0.94; letter-spacing: -0.045em; }
.h2       { font-size: clamp(2.25rem, 5.4vw, 5rem);  font-weight: 700; line-height: 1.0;  letter-spacing: -0.04em; }
.h2-minor { font-size: clamp(2rem, 4vw, 3.5rem);     font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.h3-card  { font-size: clamp(1.75rem, 2.8vw, 2.6rem);font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.h3-col   { font-size: clamp(1.55rem, 2.1vw, 2rem);  font-weight: 700; line-height: 1.10; letter-spacing: -0.03em; }
.lead     { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; letter-spacing: -0.02em; }
.small    { font-size: 0.875rem; }
.eyebrow  { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.muted    { color: var(--ink-soft); }

/* ---------- layout ---------- */
.band { padding: var(--section-y) var(--gutter); }
.band--green { background: var(--green); }
.band--pink  { background: var(--pink); }
.band--blue  { background: var(--blue); }
section.band--blue:last-of-type { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1.0625rem;
  padding: 1.15rem 2.1rem; border-radius: var(--r-pill);
  border: none; cursor: pointer; font-family: inherit; text-align: center;
}
.btn--ink   { background: var(--ink);   color: var(--off-white); }
.btn--ink:hover { color: var(--off-white); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--blue  { background: var(--blue);  color: var(--ink); }
.btn--line  { border: 1.5px solid var(--ink); color: var(--ink); background: none; }
/* transparent with ink letters, inverting to ink-on-white on hover */
.btn--invert { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--invert:hover, .btn--invert:focus-visible { background: var(--ink); color: var(--off-white); }
.btn--sm    { font-size: 0.9375rem; padding: 0.8rem 1.6rem; }
.btn--full  { display: block; width: 100%; }

.chip { border: 1px solid var(--edge-strong); border-radius: var(--r-pill); padding: 0.6rem 1.25rem; font-size: 0.9375rem; font-weight: 500; }
.chip--ink { border-color: rgba(20,18,16,0.30); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem var(--gutter);
  background: transparent;
}
/* the bar is fixed and transparent, so the first section needs room for it */
main > section:first-child { padding-top: calc(var(--section-y) + 4rem); }
.mark { position: relative; display: inline-block; line-height: 0; }
.mark img { display: block; width: clamp(88px, 11vw, 128px); height: auto; }
.mark-clip { clip-path: inset(0 100% 0 0); animation: type 1.5s steps(11, end) 0.25s forwards; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes run { from { left: -4%; } to { left: 94%; } }
@keyframes twinkle { 50% { opacity: 1; } }

/* ---------- hero ---------- */
.hero-hl { background: var(--green); padding: 0 0.35em; border-radius: var(--r-sm); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: flex-end; margin-top: 3rem; }
.hero-grid p { max-width: 34rem; flex: 1 1 24rem; }

/* ---------- marquees ---------- */
/* Rails are NATIVE scrollers so they can be swiped, dragged or trackpadded.
   The drift is driven in JS by nudging scrollLeft, so a person can interrupt it
   at any moment rather than fighting a CSS transform. */
.rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* legacy Edge */
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail:active { cursor: grabbing; }
.track { display: flex; gap: 1.25rem; width: max-content; }

.vid {
  position: relative; display: block; flex-shrink: 0;
  width: clamp(168px, 18vw, 264px); aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden; background: var(--edge);
}
.vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.10) 38%, rgba(20,18,16,0) 62%); }
.vid-play { position: absolute; top: 1rem; left: 1rem; width: 38px; height: 38px; border-radius: var(--r-pill); background: rgba(255,253,246,0.92); display: flex; align-items: center; justify-content: center; }
.vid-brand { position: absolute; top: 1.1rem; right: 1rem; background: var(--off-white); border-radius: var(--r-pill); padding: 0.4rem 0.8rem; font-size: 0.75rem; font-weight: 600; }
.vid-meta { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; color: var(--off-white); font-size: 0.9375rem; font-weight: 600; }

.logo-card {
  width: clamp(150px, 16vw, 220px); height: clamp(100px, 10vw, 140px); flex-shrink: 0;
  background: var(--off-white); border: 1px solid var(--edge); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.logo-name { font-family: "Archivo", Arial, sans-serif; font-weight: 700; letter-spacing: -0.03em; text-align: center; padding: 0 1rem; line-height: 1.15; font-size: clamp(0.8rem, 1.3vw, 1.2rem); }

/* ---------- proof ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.proof > div { padding: clamp(1.5rem, 3vw, 3rem) var(--gutter); border-right: 1px solid var(--edge); }
.proof > div:last-child { border-right: none; }
.stat { font-family: "Archivo", Arial, sans-serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-right: none; border-bottom: 1px solid var(--edge); display: flex; align-items: baseline; gap: 1rem; }
  .proof > div:last-child { border-bottom: none; }
}

/* ---------- cards ---------- */
.card { background: var(--off-white); border: 1px solid var(--edge); border-radius: var(--r-xl); padding: clamp(1.75rem, 3vw, 3.25rem); }
.card--blue { background: var(--blue); border-color: transparent; }
.icon-well { width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--off-white); display: flex; align-items: center; justify-content: center; }

/* ---------- comparison ---------- */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); margin-top: 3rem; }
.cmp > div { padding: 1.5rem 2rem 1.5rem 0; border-bottom: 1px solid rgba(20,18,16,0.28); font-size: clamp(1rem, 1.3vw, 1.1875rem); }
.cmp > div:nth-child(odd) { border-right: 1px solid rgba(20,18,16,0.28); font-weight: 600; }
.cmp > div:nth-child(even) { padding: 1.5rem 0 1.5rem 2rem; }
@media (max-width: 720px) {
  .cmp { grid-template-columns: 1fr; }
  .cmp > div { border-right: none !important; padding: 1rem 0 !important; }
  .cmp > div:nth-child(even) { border-bottom: 1px solid rgba(20,18,16,0.28); padding-top: 0 !important; opacity: 0.75; }
  .cmp > div:nth-child(odd) { border-bottom: none; padding-bottom: 0.25rem !important; }
  .cmp-hd { display: none; }
}

/* ---------- placement mocks ---------- */
/* --- placement slider: a horizontal track scrubbed by page scroll --- */
.pl-rail {
  overflow: hidden;
  margin: 4rem calc(var(--gutter) * -1) 0;   /* bleed past the text gutter */
}
.pl-track { padding: 0 var(--gutter); }       /* first card still aligns with the copy */
.pl-track { display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); width: max-content; will-change: transform; }
.pl { display: flex; flex-direction: column; gap: 0.875rem; width: clamp(258px, 26vw, 380px); flex-shrink: 0; }

/* platform sticker sitting on the creative */
.pl-sticker {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(20,18,16,0.22);
}
.pl-sticker svg { display: block; }
.pl-card { background: var(--off-white); border: 1px solid var(--edge); border-radius: var(--r-md); overflow: hidden; }
.pl-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; }
.pl-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); padding-left: 0.25rem; }
.pl-hd { display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem 0.875rem; }
.pl-av { width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--edge); flex-shrink: 0; }
.pl-brand { font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.pl-sub { font-size: 0.6875rem; color: var(--ink-soft); line-height: 1.2; }
.pl-cta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 0.875rem; background: var(--cream); }
.pl-btn { font-size: 0.75rem; font-weight: 700; background: var(--ink); color: var(--off-white); border-radius: 8px; padding: 0.5rem 0.875rem; }
.pl-icons { display: flex; gap: 1rem; padding: 0.7rem 0.875rem; }
.pl-rail-icons { position: absolute; right: 0.7rem; bottom: 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pl-rail-icons span { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.625rem; font-weight: 600; color: var(--off-white); }
.pl-cap { position: absolute; left: 0.75rem; right: 3.5rem; bottom: 0.875rem; color: var(--off-white); }
.pl-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.66) 0%, rgba(20,18,16,0) 46%); }
.pl-thumbs { display: flex; gap: 0.375rem; padding: 0.625rem 0.875rem 0; }
.pl-thumbs i { display: block; width: 32px; height: 32px; border-radius: 6px; background: var(--edge); }
.pl-thumbs i:first-child { outline: 2px solid var(--ink); outline-offset: 1px; }

/* ---------- steps ---------- */
.step { border-top: 3px solid var(--ink); padding-top: 1.6rem; }
.step-n { font-family: "Archivo", Arial, sans-serif; font-size: clamp(2.25rem, 3.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--edge); }
.faq:first-of-type { border-top: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.faq-plus { flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease, background 0.2s ease; }
.faq[open] .faq-plus { transform: rotate(45deg); background: var(--green); }
.faq .answer { padding: 0 clamp(0, 6vw, 5.5rem) 1.6rem 0; color: var(--ink-soft); }

/* ---------- assessment ---------- */
.quiz-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .quiz-wrap { grid-template-columns: minmax(0, 1fr); } }
.quiz { background: var(--off-white); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 3rem); }
.bar { height: 6px; background: rgba(20,18,16,0.18); border-radius: var(--r-pill); overflow: hidden; margin-top: 1rem; }
.bar > i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: var(--r-pill); transition: width 0.3s ease; }
.scale-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.625rem; }
.scale-btn { font-family: "Archivo", Arial, sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.875rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); background: var(--off-white); border: 1.5px solid var(--edge-strong); border-radius: 18px; padding: 1.4rem 0; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.scale-btn:hover { background: var(--green); border-color: var(--ink); }
.opt { text-align: left; font-family: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--ink); background: var(--off-white); border: 1.5px solid var(--edge-strong); border-radius: 16px; padding: 1.15rem 1.4rem; cursor: pointer; width: 100%; transition: background 0.15s ease, border-color 0.15s ease; }
.opt:hover { background: var(--cream); border-color: var(--ink); }
.opt.is-on { background: var(--green); border-color: var(--ink); font-weight: 600; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.ghost { font-family: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); background: none; border: none; cursor: pointer; padding: 0.5rem 0; }
.finding { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--edge); }
.tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--r-pill); background: var(--green); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.offer { border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.25rem); margin-top: 2.25rem; }
.offer--yes { background: var(--pink); }
.offer--no  { background: var(--cream); }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.field input,
.field select,
.field textarea {
  font-family: inherit; font-size: 1rem; line-height: 1.4;
  color: var(--ink); background: var(--off-white);
  border: 1.5px solid var(--ink); border-radius: var(--r-sm);
  padding: 0.95rem 1rem; width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); opacity: 0.65; }

/* select: strip the native chrome and draw our own chevron */
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.8125rem; line-height: 1.45; }
.consent input { margin-top: 0.15rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ink); }
.hidden { display: none !important; }
.formnote { font-size: 0.8125rem; margin-top: 0.75rem; }

/* ---------- end bar: contact + legal, inside the blue band ---------- */
.endbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(20,18,16,0.28);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: 0.9375rem; font-weight: 500; }
.endbar a:hover { color: var(--off-white); }

/* ---------- motion ----------
   .reveal is VISIBLE by default. It is only hidden once JS has confirmed GSAP
   loaded (html.gsap-ready). Hiding it unconditionally meant a blocked CDN or
   JS-off browser would show a blank page. */
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mark-clip { clip-path: none; animation: none; }
    .faq-plus, .scale-btn, .opt, .bar > i { transition: none; }
}

/* ---------- inline video lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(20,18,16,0.78); }
.lb-panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.875rem; max-height: 100%; }
.lb-frame { position: relative; width: min(min(360px, 92vw), calc((100vh - 8rem) * 0.5625)); aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-close { position: absolute; top: -3.25rem; right: 0; width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--off-white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-meta { color: var(--off-white); font-size: 0.875rem; font-weight: 600; }
.lb-meta a { color: var(--off-white); text-decoration: underline; }
.lb-meta a:hover { color: var(--green); }
body.lb-open { overflow: hidden; }

/* ---------- motion: pre-animation states ----------
   Only applied once JS confirms GSAP is driving things (html.gsap-ready).
   Without that class everything renders plain, so a CDN failure is invisible. */
.gsap-ready .reveal { opacity: 0; transform: translateY(24px); }
.gsap-ready [data-stagger] > * { opacity: 0; transform: translateY(28px); }
.gsap-ready .split-line { display: block; }
.gsap-ready .split-mask { display: block; overflow: hidden; }


/* video + logo cards respond to the pointer */
.vid, .logo-card { transition: transform 0.28s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.vid:hover, .vid:focus-visible { transform: translateY(-8px) scale(1.015); }
.logo-card:hover { transform: translateY(-5px); }
.btn { transition: transform 0.18s ease, background 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .gsap-ready .reveal,
  .gsap-ready [data-stagger] > * { opacity: 1; transform: none; }
  .vid, .logo-card, .btn { transition: none; }
  .vid:hover, .vid:focus-visible, .logo-card:hover, .btn:hover { transform: none; }
}

/* ---------- responsive corrections (from browser review) ---------- */

/* The placement mocks were rendering ~550px tall at 1440 and dominating the
   section — the point is "one asset, four places", which reads better small. */
/* NOT max-height: with aspect-ratio set, capping height shrinks the WIDTH to
   keep the ratio, which left white gutters beside the image. Change the ratio. */
.pl-media { aspect-ratio: 4 / 5; }

/* TikTok caption was grey-on-image and hard to read */
.pl-shade { background: linear-gradient(to top, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.25) 40%, rgba(20,18,16,0) 66%); }
.pl-cap { text-shadow: 0 1px 3px rgba(20,18,16,0.5); }


@media (max-width: 640px) {
  /* hero CTAs: equal full-width blocks rather than two ragged pills */
  .hero-grid .stack > div { flex-direction: column; width: 100%; }
  .hero-grid .stack > div > .btn { width: 100%; }
  .hero-grid .stack { width: 100%; }
  .hero-grid .stack .small { text-align: center; }

  /* quiz header was wrapping both halves into two lines each */
  .quiz .eyebrow { font-size: 0.6875rem; letter-spacing: 0.08em; }
  .quiz .small { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  /* no scrub — let people swipe the row themselves */
  .pl-rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .pl { scroll-snap-align: start; }
  .pl-track { transform: none !important; }
}

/* ---------- nav: three slots so the creator button sits dead centre ---------- */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav > :first-child { justify-self: start; }
.nav > :last-child { justify-self: end; }

.nav-creator { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.nav-creator-short { display: none; }
.nav .btn { white-space: nowrap; }
.nav-cta-short { display: none; }

/* the flame burns */
.flame {
  display: inline-block;
  transform-origin: 50% 85%;
  animation: burn 1.15s ease-in-out infinite alternate;
}
@keyframes burn {
  0%   { transform: scale(1) rotate(-4deg) translateY(0);      filter: brightness(1)    saturate(1); }
  35%  { transform: scale(1.14) rotate(3deg) translateY(-1px); filter: brightness(1.18) saturate(1.25); }
  70%  { transform: scale(0.97) rotate(-2deg) translateY(0);   filter: brightness(0.96) saturate(1.05); }
  100% { transform: scale(1.08) rotate(4deg) translateY(-1px); filter: brightness(1.12) saturate(1.2); }
}

@media (max-width: 900px) {
  .nav-creator-full { display: none; }
  .nav-creator-short { display: inline; }
}
@media (max-width: 560px) {
  .nav { gap: 0.5rem; }
  .nav-creator, .nav > :last-child { font-size: 0.8125rem; padding: 0.65rem 0.9rem; }
  .nav-creator-short { display: none; }   /* flame only */
  .nav-creator { gap: 0; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .flame { animation: none; }
}

/* One placement card gets a slow push-in so the row is not four frozen stills.
   This is a STILL being animated, not a clip — see the note in TEAM-TODO about
   dropping a real 3-second loop in here. */
.pl-media--live img { animation: pushin 9s ease-in-out infinite alternate; transform-origin: 52% 40%; }
@keyframes pushin {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .pl-media--live img { animation: none; }
}
