/* ==========================================================================
   BRVMNT — Bravo Montazhieri
   White-label post-production studio
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #8c8c8c;
  --line: #2b2b2b;
  --box: #161616;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tracking: -0.045em;

  --gutter: clamp(16px, 2.2vw, 32px);
  --section-gap: clamp(72px, 9vw, 136px);
  --label-w: 340px;

  --fs-xs: 11px;
  --fs-sm: 14px;
  --fs-md: clamp(17px, 1.35vw, 20px);
  --fs-lg: clamp(22px, 1.8vw, 28px);
  --fs-xl: clamp(40px, 5.4vw, 88px);
  --fs-num: clamp(44px, 4.4vw, 72px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-stretch: 96%;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity .2s var(--ease); }
a:hover { opacity: .6; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 8px; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  padding-top: var(--section-gap);
}
.row__label {
  flex: 1 1 200px;
  max-width: var(--label-w);
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1;
}
.row__content { flex: 999 1 480px; min-width: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.header__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.nav a {
  font-size: 13px; font-weight: 700; line-height: .95;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav__work { font-size: 15px !important; font-weight: 800 !important; }

.menu-btn {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  font: 800 13px/1 var(--font); letter-spacing: inherit; text-transform: inherit;
  min-height: 44px; padding: 0 4px;
}

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: 60px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 28px; font-weight: 800; min-height: 52px; }
  .nav__work { font-size: 28px !important; }
}

/* ---------- Hero ---------- */
.hero-media {
  width: 100%; aspect-ratio: 3.4 / 1; background: var(--box);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero-media { aspect-ratio: 4 / 3; } }

.headline { font-size: var(--fs-xl); font-weight: 800; line-height: .88; max-width: 1100px; }
.lede {
  margin-top: 28px; max-width: 760px;
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.05;
}

.placeholder { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin-top: 48px;
}
.step { position: relative; border-top: 2px solid var(--fg); padding: 28px 20px 28px 0; }
.step::before {
  content: ""; position: absolute; top: -8px; left: 0;
  width: 14px; height: 14px; border-radius: 50%; background: var(--fg);
}
.step--final { background: var(--fg); color: var(--bg); padding-left: 20px; }
.step--final .step__text { color: var(--bg); }
.step__time { font-size: var(--fs-num); font-weight: 800; line-height: .85; font-variant-numeric: tabular-nums; }
.step__title { margin-top: 20px; font-size: 20px; font-weight: 800; }
.step__text { margin-top: 8px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.1; color: var(--muted); }
.note { margin-top: 24px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.1; color: var(--muted); }

/* ---------- Clients ---------- */
.intro { margin-bottom: 28px; font-size: var(--fs-lg); font-weight: 700; line-height: 1; }
.logos {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.logos__item {
  aspect-ratio: 4 / 3; background: var(--box);
  display: flex; align-items: center; justify-content: center; padding: 18%;
}
.logos__item img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.6); }

/* ---------- Packages ---------- */
.plans {
  display: grid; gap: 48px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.plan { display: flex; flex-direction: column; gap: 16px; }
.plan__name { font-size: 20px; font-weight: 800; }
.plan__tag { font-size: 13px; color: var(--muted); }
.plan__price { font-size: clamp(40px, 4vw, 64px); font-weight: 800; line-height: .9; }
.plan__price small { font-size: 18px; }
.plan__desc { font-size: var(--fs-sm); font-weight: 600; line-height: 1.1; color: var(--muted); }
.list { font-size: var(--fs-md); font-weight: 600; line-height: 1.02; }
.plan .cta { margin-top: auto; }

.cta {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 18px; font-weight: 800;
}
.cta--lg { font-size: var(--fs-lg); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 700; line-height: 1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { transition: transform .25s var(--ease); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p {
  padding-bottom: 20px; max-width: 680px; color: var(--muted);
  font-size: 15px; font-weight: 500; line-height: 1.2;
  text-transform: none; letter-spacing: -0.01em;
}

/* ---------- Big logo + footer ---------- */
.biglogo { padding-top: var(--section-gap); }
.biglogo img { width: 100%; }
main { padding-bottom: var(--section-gap); }
main:has(.biglogo) { padding-bottom: 0; }
.footer {
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 16px 20px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
}

/* ---------- Mobile CTA bar (hidden on desktop) ---------- */
.mbar { display: none; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 760px) {
  :root { --section-gap: 64px; }

  /* full-screen menu (no backdrop-filter on header: it would trap the fixed menu) */
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    inset: 60px 0 0 0;
    justify-content: flex-start;
    padding-top: 24px;
    border-bottom: 0;
  }
  .nav { overflow: hidden auto; }
  .nav a { font-size: 44px; line-height: .9; min-height: 0; max-width: 100%; display: block; padding: 10px 0; }
  .nav__work { font-size: 44px !important; }
  .nav br { display: none; }
  body.menu-open { overflow: hidden; }

  /* label sits above content */
  .row { gap: 14px; }
  .row__label { flex-basis: 100%; max-width: none; font-size: 15px; color: var(--muted); }
  .row__label:empty { display: none; }

  .lede { margin-top: 20px; }

  /* vertical timeline */
  .timeline { grid-template-columns: 1fr; margin-top: 36px; border-left: 2px solid var(--fg); margin-left: 6px; }
  .step { border-top: 0; padding: 0 0 32px 24px; }
  .step::before { top: 4px; left: -8px; }
  .step--final { padding: 20px 20px 20px 24px; margin-left: -2px; }
  .step--final::before { background: var(--bg); border: 2px solid var(--fg); }
  .step__time { font-size: 52px; }
  .step__title { margin-top: 10px; }

  .plans { gap: 56px; }
  .plan { border-top: 1px solid var(--line); padding-top: 24px; }

  .faq summary { font-size: 17px; padding: 18px 0; }

  .footer { flex-direction: column; gap: 6px; padding-bottom: 96px; }

  /* sticky bottom actions */
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    font-size: 15px; font-weight: 800; border: 1px solid var(--fg);
  }
  .mbar a:last-child { background: var(--fg); color: var(--bg); }
  .mbar a:hover { opacity: 1; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* utilities */
.list--gap { margin-top: 22px; }
.list + .cta--lg { margin-top: 40px; }
