/* Movra landing (movra.com.ng). Same film-lab tokens as the app (apps/web/src/app/globals.css):
   a projection-booth dark, warm paper text, tungsten amber, the record red. One memorable thing:
   the hero reel, a strip of 35 mm film whose six frames are the six stages of a project. */

:root {
  --bg: #0e0d0b;
  --surface-1: #161512;
  --surface-2: #1e1c18;
  --surface-3: #28251f;
  --line: #2e2a23;
  --line-strong: #433d33;
  --text: #ede6d9;
  --text-2: #b3aa9a;
  --text-3: #9e9583;
  --accent: #f2a33a;
  --accent-hover: #f6b357;
  --accent-ink: #1a1205;
  --rec: #e5484d;
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; font-weight: 600; }
.skip:focus { top: 8px; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "opsz" 72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.92;
  margin: 0;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 3px;
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-line { border-color: var(--line-strong); color: var(--text); }
.btn-line:hover { border-color: var(--text-3); background: var(--surface-1); }
.btn-quiet { color: var(--text-2); }
.btn-quiet:hover { color: var(--text); }

/* ---- header ---- */
.top {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.top nav { display: flex; gap: 6px; }

/* ---- hero ---- */
.hero { padding: clamp(24px, 6vw, 72px) 0 0; overflow: hidden; }
.hero-copy {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: 28px; align-items: end;
}
.hero h1 { font-size: clamp(52px, 10.4vw, 150px); line-height: 0.86; letter-spacing: 0.01em; }
.lede { margin: 0; max-width: 46ch; color: var(--text-2); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions-center { justify-content: center; }
@media (min-width: 960px) {
  .hero-side { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .hero-side .actions { margin-top: 0; flex-shrink: 0; }
}

.prompt {
  max-width: var(--max); margin: clamp(40px, 6vw, 64px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
}
.prompt-label { font: 500 13px/1 var(--mono); color: var(--accent); padding-top: 4px; }
.prompt-text { margin: 0; max-width: 62ch; font-size: clamp(17px, 2vw, 21px); color: var(--text); }

/* The reel: a strip of film with sprocket holes top and bottom, frames butted together. */
.reel {
  --sprocket: 14px;
  margin-top: 28px;
  padding: calc(var(--sprocket) + 14px) var(--gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 38%, transparent 40%) top left / 26px var(--sprocket) repeat-x,
    radial-gradient(circle at 50% 50%, var(--bg) 38%, transparent 40%) bottom left / 26px var(--sprocket) repeat-x,
    #060605;
  border-block: 1px solid #000;
}
@media (min-width: 1240px) {
  .reel { grid-auto-columns: 1fr; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}
.frame {
  scroll-snap-align: start;
  background: var(--surface-1);
  border-inline: 3px solid #060605;
  padding: 14px 16px 18px;
  display: flex; flex-direction: column;
}
.frame header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sc { font: 500 11px/1 var(--mono); padding: 3px 6px; background: var(--surface-3); color: var(--text); border-radius: 2px; }
.tc { font: 400 11px/1 var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.frame h2 { font-size: 30px; margin-top: 16px; }
.frame p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Stills: each frame shows its stage in miniature (decorative). */
.still { aspect-ratio: 16 / 10; border-radius: 2px; background: var(--surface-2); position: relative; overflow: hidden; }
.still-script { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 18px; }
.still-script i { display: block; height: 6px; width: var(--w); background: var(--line-strong); border-radius: 1px; }
.still-script i.hl { background: var(--accent); opacity: 0.85; }
.still-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px; }
.still-board b { background: var(--surface-3); border: 1px solid var(--line-strong); border-radius: 1px; }
.still-board b:nth-child(2) { background: linear-gradient(160deg, #3a2a14, #28251f); }
.still-board b:nth-child(5) { background: linear-gradient(200deg, #4a3417, #28251f); }
.still-paint { background: linear-gradient(180deg, #3b2410 0%, #8a4b06 52%, #f2a33a 100%); }
.still-paint .sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; left: 33%; top: 34%; background: #ffd59a; box-shadow: 0 0 40px 10px #f2a33a88; }
.still-paint .hill { position: absolute; left: -10%; right: 30%; bottom: -30%; height: 62%; border-radius: 50% 50% 0 0; background: #1e140a; }
.still-paint .hill-2 { left: 35%; right: -15%; bottom: -36%; height: 58%; background: #120c06; }
.still-voice { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 0 10%; }
.still-voice i { display: block; width: 3%; height: var(--h); background: var(--accent); border-radius: 2px; opacity: 0.9; }
.still-timeline { display: grid; align-content: center; gap: 8px; padding: 14px; }
.still-timeline .track { position: relative; height: 16px; background: var(--surface-3); border-radius: 1px; }
.still-timeline .track b { position: absolute; top: 2px; bottom: 2px; left: var(--x); width: var(--w); background: #6b5636; border-radius: 1px; }
.still-timeline .track-a b { background: #3f5a4a; }
.still-timeline .track-c b { background: #5a4a6b; }
.still-timeline .playhead { position: absolute; top: 10px; bottom: 10px; left: 58%; width: 2px; background: var(--rec); }
.still-print { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #060605; }
.still-print .play { width: 0; height: 0; border-style: solid; border-width: 16px 0 16px 27px; border-color: transparent transparent transparent var(--text); }
.still-print .file { font: 400 11px/1 var(--mono); color: var(--text-3); }

/* The one orchestrated moment: the strip pulls through the gate once on load. */
@media (prefers-reduced-motion: no-preference) {
  .reel { animation: pull 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both 0.15s; }
  @keyframes pull {
    from { transform: translateX(18vw); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
}

/* ---- sections ---- */
.uses, .rates, .trust, .last {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0;
}
.uses h2, .rates h2, .trust h2, .last h2 { font-size: clamp(36px, 5.5vw, 64px); }
.uses-grid { display: grid; gap: 32px; margin-top: 36px; }
.uses h3 { font-size: 26px; color: var(--accent); }
.uses p { margin: 10px 0 0; color: var(--text-2); max-width: 42ch; }
@media (min-width: 820px) {
  .uses-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .uses-grid > div { padding-right: 32px; }
  .uses-grid > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
}

.rates-head { display: grid; gap: 16px; align-items: end; }
.rates-head p { margin: 0; color: var(--text-2); max-width: 56ch; }
@media (min-width: 960px) { .rates-head { grid-template-columns: 1fr 1fr; } }
.table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font: 500 13px/1.2 var(--sans); color: var(--text-3); background: var(--surface-1); }
tbody th { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
tbody td { color: var(--text-2); }
tbody td:nth-child(2) { color: var(--text); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tr.pick { background: color-mix(in srgb, var(--accent) 8%, transparent); }
tr.pick th { color: var(--accent); }
.tag { margin-left: 10px; vertical-align: middle; font: 500 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--accent-ink); background: var(--accent); padding: 4px 7px; border-radius: 2px; }
.rates-foot { margin: 14px 0 0; color: var(--text-3); font-size: 15px; }

.trust { display: grid; gap: 18px; }
.trust p { margin: 0; color: var(--text-2); max-width: 60ch; }
.trust h2 { max-width: 18ch; }
.text-link { color: var(--accent); text-underline-offset: 4px; font-weight: 600; width: fit-content; }
.text-link:hover { color: var(--accent-hover); }

.last { text-align: center; padding-bottom: clamp(64px, 9vw, 120px); }
.last h2 { max-width: 16ch; margin: 0 auto; }
.last .actions { margin-top: 32px; }

/* ---- footer ---- */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  color: var(--text-3); font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
