/* ==========================================================================
   Musser Videos — design system
   Brand red #ED1F24 sampled from the logo mark. Red is reserved for exactly
   three jobs: the play affordance, the primary CTA, and the logo. Nothing else.
   ========================================================================== */

:root {
  /* surfaces */
  --bg-0: #0a0a0b;
  --bg-1: #111113;
  --bg-2: #191a1d;
  --bg-inv: #f4f3f1;

  /* ink */
  --ink-0: #f5f4f2;
  --ink-1: #b6b4b0;
  --ink-2: #7c7a77;
  --ink-inv-0: #16161a;
  --ink-inv-1: #55555c;

  /* line */
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* brand */
  --red: #ed1f24;
  --red-hi: #ff3a3f;

  /* type */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* metrics */
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --r: 3px;
  --header-h: 76px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

/* ---------------------------------------------------------------- type -- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; }
p { margin: 0; }

.display {
  font-size: clamp(2.5rem, 5.9vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 0.96;
}
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -0.033em; }
.h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -0.022em; line-height: 1.25; }

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--red);
  vertical-align: 4px;
  margin-right: 12px;
}

.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-1); line-height: 1.6; }
.muted { color: var(--ink-1); }
.small { font-size: 0.875rem; }

/* mono is reserved for data only: prices, durations, phone numbers */
.data { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* -------------------------------------------------------------- layout -- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--alt { background: var(--bg-1); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hi); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink-0); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-0); background: rgba(255, 255, 255, 0.05); }
.btn--inv { background: var(--ink-inv-0); color: var(--bg-inv); }
.btn--inv:hover { background: #2c2c34; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.arrow { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.arrow::after { content: "→"; transition: transform 0.16s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* -------------------------------------------------------------- header -- */
/* Static, not sticky: the header sits at the top of the document and scrolls
   away with it, so nothing is permanently covering the film. */
.header {
  position: relative;
  z-index: 60;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
}
.header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; object-fit: contain; }

/* Header lockup is the mark on its own. logo.png is cropped tight to the
   artwork, so the rendered size is the mark's real size — the old file carried
   ~65% empty padding, which is why it read as a speck at 34px. The wordmark is
   only 13% of the full lockup's height and cannot be legible at header scale,
   so it lives in the footer instead of being shrunk into nothing here. */
.brand--mark { gap: 0; }
.brand--mark img { width: 42px; height: 40px; }
@media (max-width: 600px) {
  .brand--mark img { width: 38px; height: 36px; }
}
.brand__txt { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-1);
  transition: color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink-0); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__tel { text-decoration: none; font-size: 0.9rem; color: var(--ink-1); }
.header__tel:hover { color: var(--ink-0); }
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink-0);
  padding: 9px 13px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav, .header__tel { display: none; }
  .burger { display: block; }
  .header__in { gap: 14px; }
  .nav--open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav--open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.94) 0%, rgba(6, 6, 8, 0.72) 46%, rgba(6, 6, 8, 0.28) 100%),
    linear-gradient(0deg, var(--bg-0) 2%, rgba(6, 6, 8, 0) 46%);
}
.hero__in {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) var(--gutter) clamp(44px, 6vw, 72px);
}
.hero__copy { max-width: 13ch; }
.hero .lede { max-width: 46ch; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: 0.83rem;
  color: var(--ink-2);
  max-width: 760px;
}

/* page hero (interior pages) */
.phero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 6, 8, 0.95) 0%, rgba(6, 6, 8, 0.78) 55%, rgba(6, 6, 8, 0.45) 100%);
}
.phero__in {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(48px, 7vw, 78px);
}
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.038em; max-width: 19ch; }
.phero .lede { max-width: 54ch; margin-top: 18px; }

/* --------------------------------------------------------------- video -- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity 0.25s ease, transform 0.5s ease; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.video:hover img { opacity: 0.85; transform: scale(1.02); }
.play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 44px rgba(237, 31, 36, 0.4);
  transition: transform 0.18s ease;
}
.video:hover .play { transform: scale(1.08); }
.play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 19px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-1);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
.video--slot { display: grid; place-items: center; background: var(--bg-2); border-style: dashed; }
.video--slot p { color: var(--ink-2); font-size: 0.86rem; padding: 24px; text-align: center; max-width: 34ch; }

/* ------------------------------------------------------------ reel row -- */
.reel { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
@media (min-width: 900px) { .reel { grid-template-columns: 1.55fr 1fr; } }

/* --------------------------------------------------------------- tiles -- */
/* Deliberately staggered rather than a uniform card grid: the portrait
   column and the landscape column carry different aspect ratios. */
.tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 18px; }
  /* The staggered arrangement only works with exactly four tiles. With any
     other count the build omits .tiles--4 and this degrades to a plain grid,
     so adding a fifth service page cannot break the layout. */
  .tiles--4 > :nth-child(1) { grid-row: span 2; }
  .tiles--4 > :nth-child(1) .tile__media { aspect-ratio: 4 / 5; }
  .tiles--4 > :nth-child(4) { grid-column: 1 / -1; }
  .tiles--4 > :nth-child(4) .tile__media { aspect-ratio: 21 / 8; }
  .tiles--4 > :nth-child(4) .tile__media img { object-position: center 42%; }
}
.tile {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-1);
}
.tile__media { position: relative; aspect-ratio: 16 / 10; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s ease; opacity: 0.78; }
.tile:hover .tile__media img { transform: scale(1.045); opacity: 0.95; }
.tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 6, 8, 0.95) 6%, rgba(6, 6, 8, 0.18) 62%);
}
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); }
.tile__body p { color: var(--ink-1); font-size: 0.92rem; margin-top: 7px; max-width: 42ch; }
.tile__go { margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--red-hi); }
.tile:hover .tile__go { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ list row -- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}
.row:hover { padding-left: 8px; }
.row__t { font-weight: 650; font-size: 1.06rem; min-width: 190px; }
.row__d { color: var(--ink-1); font-size: 0.94rem; flex: 1; }
.row__x { color: var(--ink-2); font-size: 0.85rem; }
.row:hover .row__x { color: var(--red-hi); }

/* -------------------------------------------------------------- proof --- */
/* Grayscale + a brightness lift, not a flat silhouette: the FCA crest is built
   from outlines and collapses into an unreadable blob if it is knocked out. */
.proofbar { display: grid; gap: 28px clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 820px) { .proofbar { grid-template-columns: auto 1fr; } }
.proofbar__lead { border-left: 2px solid var(--red); padding-left: 16px; }
.proofbar__lead .kicker::before { display: none; }

.clients { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(30px, 5vw, 60px); }
.clients img {
  height: 46px;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.7) contrast(0.95);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.clients img:hover { opacity: 1; filter: grayscale(0); }
.clients .client--fca { height: 58px; }

/* ------------------------------------------------------------ features -- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checks li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-0);
  font-size: 1rem;
}
.checks li::before { content: "→"; color: var(--red); flex: none; }
.checks--plain li::before { content: "✓"; color: var(--ink-2); }

.steps { counter-reset: s; display: grid; gap: 0; }
.steps li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); list-style: none; }
.steps li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
  padding-top: 4px;
  flex: none;
}
.steps h3 { margin-bottom: 5px; }
.steps p { color: var(--ink-1); font-size: 0.95rem; }

/* ------------------------------------------------------------- pricing -- */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 36px);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price--pick { background: var(--bg-inv); color: var(--ink-inv-0); border-color: transparent; }
.price--pick .price__sub, .price--pick .checks li { color: var(--ink-inv-1); }
.price--pick .checks li { border-bottom-color: rgba(0, 0, 0, 0.1); }
.price__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.price__amt { font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 14px 0 4px; }
.price__sub { font-size: 0.88rem; color: var(--ink-2); }
.price .checks { margin: 22px 0 26px; }
.price .checks li { font-size: 0.92rem; padding: 11px 0; }
.price .btn { margin-top: auto; }

/* ---------------------------------------------------------------- form -- */
.formpanel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 40px);
}
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-1); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink-0);
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 19px) 20px, calc(100% - 13px) 20px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237, 31, 36, 0.16); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); }
.grid2 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 3px; accent-color: var(--red); }
.consent span { font-size: 0.78rem; color: var(--ink-2); line-height: 1.5; }
.formnote { font-size: 0.78rem; color: var(--ink-2); margin-top: 14px; text-align: center; }
.formstatus { font-size: 0.9rem; margin-top: 14px; display: none; }
.formstatus--err { display: block; color: var(--red-hi); }

.contactgrid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .contactgrid { grid-template-columns: 1fr 1.05fr; } }
.deets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.deets li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.deets .k { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-2); }
.deets .v { font-size: 1.02rem; text-decoration: none; }
.deets a.v:hover { color: var(--red-hi); }

/* --------------------------------------------------------------- cta ---- */
.ctaband { border-top: 1px solid var(--line); background: var(--bg-1); }
.ctaband__in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .ctaband__in { grid-template-columns: 1fr auto; gap: 48px; } }

/* -------------------------------------------------------------- footer -- */
.footer { border-top: 1px solid var(--line); background: var(--bg-0); padding: clamp(48px, 6vw, 76px) 0 32px; }
.footer__top { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; } }
.footer h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: var(--ink-1); font-size: 0.93rem; }
.footer a:hover { color: var(--ink-0); }
.footer__bar {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid; place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.social a:hover { border-color: var(--ink-0); background: rgba(255, 255, 255, 0.05); }
.social svg { width: 16px; height: 16px; fill: var(--ink-1); }
.social a:hover svg { fill: var(--ink-0); }

/* ---------------------------------------------------------------- misc -- */
.center-narrow { max-width: 640px; margin: 0 auto; text-align: center; }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 26px; }
.twocol { display: grid; gap: clamp(30px, 5vw, 68px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .twocol { grid-template-columns: 0.85fr 1.15fr; } }
.skip {
  position: absolute; left: -9999px;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
