/* ==========================================================================
   v3 — film-slate direction
   Grounded in the subject: this studio sells 15–60s ad films, priced per film.
   Signature element: a film strip with sprocket holes and timecodes.
   Everything else stays quiet: one display face, one mono face for data.
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --ink-2: #151d2c;
  --paper: #f3f5f7;
  --blue: #1b5cf0;
  --cyan: #3ed3f4;
  --signal: #ff5a2b;
  --line: rgba(11, 18, 32, 0.12);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- data voice ---------- */
.eyebrow,
.crumb,
.hero__badge b,
.proof,
.trust__stat span,
.pack__name,
.price-glance__head,
.price-glance__badge,
.price-glance b small,
.prow--head,
.prow__price small,
.form-note,
.case__cat,
.step__num,
.footer__col h4,
.site-footer .brand__sub {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.eyebrow {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink);
  opacity: 0.55;
}

.hero__badge b {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.trust__stat b {
  font-family: var(--font-display), var(--font-cjk);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.trust__stat span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- headline: solid ink + a marker underline, no gradient text ---------- */
.hero h1 .accent,
.page-hero h1 .accent {
  background: none !important;
  -webkit-text-fill-color: currentColor;
  color: var(--blue);
  box-shadow: inset 0 -0.18em 0 rgba(27, 92, 240, 0.14);
}

.hero h1 {
  font-family: var(--font-display), var(--font-cjk);
  font-weight: 900;
  font-size: clamp(40px, 5.1vw, 74px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

/* ---------- calmer hero field ---------- */
.hero {
  background:
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 58%, #ffffff 100%);
}
.hero::before { opacity: 0.28; }

/* hairline rule between copy and stage */
.hero__inner { position: relative; }
.hero__inner::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 53.5%;
  width: 1px;
  background: var(--line);
  display: none;
}
@media (min-width: 1100px) { .hero__inner::after { display: block; } }

/* ---------- the slate ---------- */
.hero__stage.slate { padding-top: 46px; }

.slate__bar {
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 14px 0 84px;
  border-radius: 10px 10px 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -18px rgba(11, 18, 32, 0.8);
  z-index: 4;
}
.slate__bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 66px;
  border-radius: 10px 0 0 0;
  background: repeating-linear-gradient(
    -45deg,
    #0b1220 0 9px,
    #ffffff 9px 18px
  );
  border-right: 1px solid rgba(0, 0, 0, 0.35);
}
.slate__bar span:nth-child(3) {
  margin-left: auto;
  color: var(--cyan);
}

/* ---------- cards: quiet print shadow ---------- */
.vcard {
  border-radius: 12px;
  box-shadow: 0 26px 46px -34px rgba(11, 18, 32, 0.75), 0 0 0 5px #fff;
}
.vcard__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- film strip: the one loud thing ---------- */
.filmstrip {
  position: relative;
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.5) 14px 26px
  );
  opacity: 0.7;
}
.filmstrip::before { top: 6px; }
.filmstrip::after { bottom: 6px; }

.filmstrip__track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: stripScroll 68s linear infinite;
}
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }

@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.frame {
  position: relative;
  width: 176px;
  flex: 0 0 auto;
  margin: 0;
}
.frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.frame figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(11, 18, 32, 0.72);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- actions: printed rectangles, labels stay pills ---------- */
.btn {
  border-radius: 10px;
  font-family: var(--font-latin), var(--font-cjk);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(27, 92, 240, 0.9);
}
.btn--primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(27, 92, 240, 0.9);
}
.btn--blue {
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 3px 3px 0 rgba(11, 18, 32, 0.9);
}
.btn--blue:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(11, 18, 32, 0.9);
}
.btn--ghost {
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn--gold {
  box-shadow: 3px 3px 0 rgba(11, 18, 32, 0.35);
}
.btn--sm { border-radius: 8px; }

/* ---------- section rhythm ---------- */
.section-head {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.section-head h2 {
  font-family: var(--font-display), var(--font-cjk);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

/* ---------- pricing accents ---------- */
.pack__price,
.price-glance b,
.prow__price {
  font-family: var(--font-display), var(--font-cjk);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pack--feat {
  border-color: var(--ink);
}
.pack__badge {
  background: var(--signal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}
.pack__cta {
  border-radius: 8px;
  border: 1px solid var(--ink);
}
.pack--feat .pack__cta {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(27, 92, 240, 0.85);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
}
.footer__col h4 {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .slate__bar { left: 0; right: 0; padding-left: 74px; gap: 12px; font-size: 9.5px; }
  .frame { width: 132px; }
  .filmstrip { padding: 14px 0; }
}

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

/* ---------- fixes: slate stacking, chip, strip loop ---------- */
.hero__stage.slate { position: relative; }
.slate__bar { z-index: 6; }
.vcard { z-index: 1; }
.slate .chip-float { display: none; }
.hero__stage.slate .hero__orbits { z-index: 0; }

@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* slate sits above the stack instead of clipping the top card */
.hero__stage.slate { padding-top: 0; margin-top: 46px; }
.slate__bar { top: -46px; height: 36px; left: 0; right: 0; border-radius: 8px 8px 0 0; }

/* rhythm: tighten the gap between hero, strip and trust bar */
.hero { padding-bottom: 54px; }
.hero__proof { margin-top: 22px; }
.trust__inner { padding: 24px 0; }
.filmstrip { margin-top: 0; }

/* quiet the leftover orbit arcs from the previous direction */
.hero__orbits { opacity: 0.45; }

/* ---------- case cards: real clip length ---------- */
.case__dur {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(11, 18, 32, 0.72);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- spec row instead of pill chips ---------- */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hero__proof .proof {
  background: none;
  border: 0;
  padding: 0 16px 0 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}
.hero__proof .proof:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

/* ---------- slate: one unit with the stack ---------- */
.hero__stage.slate { margin-top: 40px; }
.slate__bar {
  top: -40px;
  height: 34px;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

/* ---------- strip label ---------- */
.filmstrip::before { top: 6px; }

/* ---------- drop the old orbit arcs ---------- */
.hero__orbits { display: none; }

/* ---------- hero spec sheet ---------- */
.spec {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 560px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec__row span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.spec__row b {
  font-family: var(--font-latin), var(--font-cjk);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: right;
}
@media (max-width: 640px) {
  .spec { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
}
