/* Maverick Video Productions — site styles
   Plain CSS, no build step. Sections: tokens, base, layout, header, hero,
   components, page sections, footer, utilities, motion. */

:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --bg-3: #181b21;
  --line: #262a32;
  --text: #f3f1ec;
  --muted: #a3a7b0;
  --accent: #ff6a3d;
  --accent-2: #ffb347;
  --rec: #ff3b30;
  --ink: #140b07;
  --radius: 14px;
  --wrap: 1200px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 5.75rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font: 700 .95rem/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost { border-color: #3a3f4a; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn svg { width: 1em; height: 1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 13, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo img { width: 190px; filter: invert(1) brightness(1.6); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  padding: .4rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--accent); }
.nav .btn { padding: .7rem 1.15rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--text); width: 2.75rem; height: 2.75rem; cursor: pointer; }
.nav-toggle svg { margin: auto; }
@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 1.25rem; justify-content: center; padding: 1rem; }
  .logo img { width: 160px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 106, 61, .22), transparent 60%),
    radial-gradient(40rem 26rem at 0% 110%, rgba(255, 179, 71, .10), transparent 60%);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .split { align-items: center; }
.hud { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.rec { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); }
.rec::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--rec); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 24rem at 90% 0%, rgba(255, 106, 61, .18), transparent 60%); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); max-width: 18ch; }
.crumbs { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* viewfinder frame around media */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); isolation: isolate; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--vf::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(#fff, #fff) top left / 22px 2px, linear-gradient(#fff, #fff) top left / 2px 22px,
    linear-gradient(#fff, #fff) top right / 22px 2px, linear-gradient(#fff, #fff) top right / 2px 22px,
    linear-gradient(#fff, #fff) bottom left / 22px 2px, linear-gradient(#fff, #fff) bottom left / 2px 22px,
    linear-gradient(#fff, #fff) bottom right / 22px 2px, linear-gradient(#fff, #fff) bottom right / 2px 22px;
  background-repeat: no-repeat; opacity: .85;
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 10 / 9; }

/* ---------- lite YouTube ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #000; border-radius: var(--radius); overflow: hidden; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .88; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
  position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: grid; place-items: center; z-index: 3;
  box-shadow: 0 0 0 0 rgba(255, 106, 61, .55); transition: transform .25s;
  animation: pulse 2.4s infinite;
}
.yt:hover .yt__play { transform: scale(1.08); }
.yt__play svg { width: 1.5rem; height: 1.5rem; margin-left: 3px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 1.25rem rgba(255, 106, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0); } }
.yt__label { position: absolute; left: 1.5rem; bottom: 1.35rem; z-index: 3; font: 600 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px #000; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 1.1rem 0; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 800 1.05rem/1 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: "✦"; color: var(--accent); font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: #414754; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.5rem 1.5rem 1.75rem; }
.card__body p { color: var(--muted); margin: 0; font-size: 1rem; }
.card__num { font: 600 .75rem/1 var(--mono); letter-spacing: .14em; color: var(--accent-2); margin-bottom: .9rem; display: block; }

.tile { padding: 1.75rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
.tile svg { width: 2rem; height: 2rem; color: var(--accent); margin-bottom: 1.1rem; }
.tile p { color: var(--muted); margin: 0; font-size: 1rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 1.75rem 1.5rem; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); font-stretch: 85%; color: var(--text); margin-bottom: .5rem; }
.stat span { color: var(--muted); font-size: .95rem; }

/* service rows */
.service { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1.05fr 1fr; }
  .service:nth-of-type(even) > .frame { order: 2; }
}
.service ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.service li, .tag { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* process */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.step { background: var(--bg-2); padding: 2rem 1.75rem; counter-increment: step; }
.step::before { content: "0" counter(step); font: 800 2.75rem/1 var(--display); font-stretch: 85%; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* work grid */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { font: 600 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: #414754; }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.work-item[hidden] { display: none; }
.work-item h3 { font-size: 1.15rem; margin: 1rem 0 .35rem; }
.work-item p { color: var(--muted); font-size: .9rem; margin: 0; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.work-item .yt__play { width: 3.5rem; height: 3.5rem; animation: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; font: 700 1.15rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; translate: 0 -50%; font: 400 1.75rem/1 var(--body); color: var(--accent); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: .5rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(4.5rem, 10vw, 8rem) 0; background: linear-gradient(135deg, #ff6a3d 0%, #ff9547 55%, #ffb347 100%); color: var(--ink); }
.cta-band h2 { font-size: clamp(2.4rem, 7vw, 5.5rem); margin-bottom: .35em; }
.cta-band p { font-size: 1.2rem; max-width: 46ch; margin-inline: auto; font-weight: 500; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn--primary { background: var(--ink); color: #fff; }
.cta-band .btn--primary:hover { background: #2a1a12; }
.cta-band .btn--ghost { border-color: rgba(20, 11, 7, .5); color: var(--ink); }
.cta-band .btn--ghost:hover { border-color: var(--ink); }

/* contact */
.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field label, .form legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; border-radius: 10px; border: 1px solid #343944;
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 61, .25); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: block; padding: .7rem 1rem; border-radius: 999px; border: 1px solid #343944; font-size: .92rem; color: var(--muted); transition: all .2s; }
.check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.check input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.25rem; border-radius: 10px; font-weight: 600; }
.form-status[data-state="ok"] { background: rgba(52, 199, 89, .14); border: 1px solid rgba(52, 199, 89, .5); }
.form-status[data-state="err"] { background: rgba(255, 59, 48, .12); border: 1px solid rgba(255, 59, 48, .5); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.contact-list svg { width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); color: var(--accent); }
.contact-list small { display: block; font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.contact-list a:hover { color: var(--accent); }
.contact-list address { font-style: normal; font-weight: 600; line-height: 1.5; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.75rem); }

/* ---------- footer ---------- */
.site-footer { background: #060709; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.site-footer .logo-stack { width: 150px; margin-bottom: 1.25rem; }
.site-footer h2 { font: 600 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.6; }
.social { display: flex; gap: .6rem; }
.social a { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: all .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.social svg { width: 1.15rem; height: 1.15rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .85rem; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; }
.gallery img { transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .g-wide { grid-column: span 2; aspect-ratio: 8 / 3; }
}
@media (max-width: 799px) { .gallery .g-wide { grid-column: span 2; aspect-ratio: 16 / 9; } }
