:root {
  --paper: #f3f5f9;
  --ink: #14213d;
  --tally: #e5383b;
  --marker: #ffd166;
  --track: #c9d2e3;
  --soft: #4a5673;
  --frame: #14213d;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1830; --ink: #eef1f8; --track: #33405f; --soft: #a9b4cf; --frame: #060b18; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Bricolage Grotesque", system-ui, sans-serif;
  font-optical-sizing: auto;
}
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }
.text { max-width: 40rem; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--tally); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 8vw, 5.25rem); max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }

/* Header */
.top { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: baseline; justify-content: space-between; padding-block: 1.5rem; }
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; }
.brand::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.4em; border-radius: 50%; background: var(--tally); }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 1rem; }
.top nav a { text-decoration: none; padding-block: 0.4rem; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--tally); }

/* Hero */
.hero { padding-block: clamp(2rem, 7vw, 5rem) 1rem; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; max-width: 34rem; margin: 1.5rem 0 2rem; color: var(--soft); }
.button {
  display: inline-block; padding: 0.85rem 1.4rem; border-radius: 0.5rem;
  background: var(--tally); color: #fff; font-weight: 700; text-decoration: none;
}
.button:hover { background: #c92a2d; }

/* The cut: one hour of video on a timeline, and the three shorts it becomes */
.cut { margin: clamp(2.5rem, 7vw, 4.5rem) 0 0; }
.timeline { position: relative; height: 3.25rem; border-radius: 0.4rem; background: var(--track); overflow: hidden; }
.range { position: absolute; inset-block: 0; left: var(--at); width: 1.1%; min-width: 0.6rem; background: var(--marker); }
.playhead { position: absolute; inset-block: 0; left: 100%; width: 3px; background: var(--tally); }
.ticks { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.85rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 11rem)); gap: clamp(0.75rem, 3vw, 2rem); list-style: none; padding: 0; margin: 2rem 0 0; }
.short-frame {
  aspect-ratio: 9 / 16; border-radius: 0.6rem; background: var(--frame);
  border-top: 0.5rem solid var(--marker);
  display: flex; align-items: flex-end; justify-content: center; padding: 0 0.85rem 30%;
}
/* Same look as the captions ClipForge burns into every clip: white capitals with a black outline. */
.short-frame span {
  color: #fff; font-weight: 800; font-size: clamp(0.7rem, 2.1vw, 1.15rem); line-height: 1.3; text-align: center;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}
.shorts p { margin: 0.6rem 0 0; font-size: 0.95rem; line-height: 1.35; color: var(--soft); }
.shorts strong { display: block; color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .playhead { animation: sweep 2.6s cubic-bezier(0.3, 0, 0.3, 1) both; }
  .range, .shorts li { animation: appear 0.35s ease-out both; animation-delay: var(--when); }
  @keyframes sweep { from { left: 0; } to { left: 100%; } }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
}

/* Sections */
.band { padding-block: clamp(3.5rem, 9vw, 6.5rem) 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 44rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; padding-block: 1.25rem; border-top: 2px solid var(--track); }
.steps li::before { content: counter(step); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--tally); }
.steps p { margin: 0; color: var(--soft); }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; }
.promises p { margin: 0; color: var(--soft); }

.contact { margin-top: clamp(3.5rem, 9vw, 6.5rem); padding-block: clamp(3rem, 7vw, 5rem); background: var(--ink); color: var(--paper); }
.contact p { max-width: 34rem; }
.contact .mail { font-weight: 800; font-size: clamp(1.4rem, 4.5vw, 2.5rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }

.foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-block: 1.75rem 2.5rem; font-size: 0.95rem; color: var(--soft); }
.foot span { margin-right: auto; }

/* Privacy and terms pages */
.doc { padding-block: clamp(2rem, 6vw, 4rem); }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: 0.75rem; }
.doc h2 { font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.2; margin: 2.5rem 0 0.6rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .updated { color: var(--soft); }
