:root {
  --bg: #0d0d0b;
  --surface: #161613;
  --surface-2: #1d1d19;
  --line: #2b2b26;
  --text: #f2efe8;
  --muted: #9d998e;
  --accent: #ffb21a;
  --accent-ink: #1a1200;
  --rec: #ff4b3a;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); background: #ffc247; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--small { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 11, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand__rec { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.nav__phone { margin-left: auto; margin-right: 28px; display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--f-mono); color: var(--text); }
.nav__phone svg { width: 16px; height: 16px; fill: var(--accent); }
.nav__phone:hover { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; font-family: var(--f-display); font-size: 24px; font-weight: 700; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); }
.id { margin-bottom: 28px; }
.id__name { font-size: clamp(52px, 8vw, 104px); font-weight: 800; letter-spacing: -0.04em; line-height: .92; }
.id__role { margin-top: 10px; font: 500 14px var(--f-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.id__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.id__phone {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 clamp(18px, 2vw, 22px) var(--f-display); letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s;
}
.id__phone svg { width: 20px; height: 20px; fill: currentColor; }
.id__phone:hover { transform: translateY(-2px); background: #ffc247; }
.id__wa {
  display: inline-flex; align-items: center; height: 54px; padding: 0 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px;
  transition: background .2s;
}
.id__wa::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; margin-right: 10px; }
.id__wa:hover { background: var(--surface); }
.hero__title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__title em { display: inline; }
.hero__lede { margin-top: 24px; max-width: 520px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--f-display); font-size: 28px; font-weight: 700; }

.reel {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  background: var(--surface); text-align: left;
}
.reel__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel:hover .reel__img { transform: scale(1.04); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.75) 100%); }
.reel__tc { position: absolute; top: 20px; left: 22px; font: 500 12px var(--f-mono); letter-spacing: .06em; display: flex; gap: 8px; align-items: center; }
.reel__tc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }
.reel__label { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.play { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.play svg { width: 22px; height: 22px; fill: var(--accent-ink); margin-left: 3px; }
.reel:hover .play { transform: scale(1.08); }
.reel__corners i { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.7); border-style: solid; border-width: 0; }
.reel__corners i:nth-child(1) { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.reel__corners i:nth-child(2) { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.reel__corners i:nth-child(3) { display: none; }
.reel__corners i:nth-child(4) { display: none; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; white-space: nowrap; padding: 0 22px; color: var(--muted); }
.ticker__track span::after { content: "✦"; color: var(--accent); margin-left: 44px; font-size: .7em; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { font: 500 13px var(--f-mono); color: var(--accent); letter-spacing: .04em; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }

/* ---------- Filters ---------- */
.work { padding-bottom: 40px; }
.filters { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(13, 13, 11, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters__scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.filters__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.chip:hover { color: var(--text); }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.chip__count { font: 500 11px var(--f-mono); opacity: .6; }

/* ---------- Genre blocks ---------- */
.genre { padding: 40px 0 24px; border-top: 1px solid var(--line); }
.genre:first-child { border-top: 0; padding-top: 8px; }
.genre__head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px 24px; margin-bottom: 24px; }
.genre__idx { font: 500 13px var(--f-mono); color: var(--muted); }
.genre__head h3 { font-size: clamp(26px, 3.2vw, 38px); }
.genre__blurb { grid-column: 2 / -1; color: var(--muted); max-width: 56ch; font-size: 15px; }
.genre__n { font: 500 13px var(--f-mono); color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; align-items: start; }
.card { grid-column: span 1; }
.card--h { grid-column: span 2; }
.grid--h3 { grid-template-columns: repeat(3, 1fr); }
.grid--h3 .card--h { grid-column: span 1; }

.card__btn { display: block; width: 100%; text-align: left; }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); aspect-ratio: 9 / 16;
}
.card--h .card__media { aspect-ratio: 16 / 9; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.card { position: relative; }
.card__mute {
  position: absolute; z-index: 5; top: 8px; right: 8px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, transform .2s var(--ease);
}
.card__mute:hover { transform: scale(1.06); }
.card__mute svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__mute svg .fill { fill: #fff; stroke: none; }
.card.is-unmuted .card__mute { background: var(--accent); }
.card.is-unmuted .card__mute svg { stroke: var(--accent-ink); }
.card.is-unmuted .card__mute svg .fill { fill: var(--accent-ink); }
.card--video .card__play { display: none; }
.card--video .card__fmt { top: auto; bottom: 10px; }
.card__btn:hover .card__media img, .card__btn:hover .card__media video { transform: scale(1.04); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); pointer-events: none; }
.card__dur { position: absolute; z-index: 2; right: 10px; bottom: 10px; font: 500 11px var(--f-mono); background: rgba(0,0,0,.6); padding: 4px 8px; border-radius: 6px; }
.card__fmt { position: absolute; z-index: 2; left: 10px; top: 10px; font: 500 10px var(--f-mono); letter-spacing: .06em; background: rgba(0,0,0,.55); padding: 4px 8px; border-radius: 6px; color: #ddd; }
.card__play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s var(--ease); }
.card__play svg { width: 20px; fill: var(--accent-ink); margin-left: 3px; }
.card__btn:hover .card__play, .card__btn:focus-visible .card__play { opacity: 1; transform: scale(1); }
.card__meta { padding: 12px 2px 0; }
.card__title { font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.25; }
.card__client { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Placeholder slate for cards without a cover yet */
.slate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: var(--surface-2); }
.slate__bar { height: 22px; border-radius: 4px; background: repeating-linear-gradient(-45deg, var(--text) 0 12px, var(--surface-2) 12px 24px); opacity: .9; }
.slate__body { font: 500 11px/1.6 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.slate__body strong { display: block; color: var(--text); font: 700 18px/1.15 var(--f-display); text-transform: none; letter-spacing: -0.01em; margin-bottom: 6px; }

.card.is-hidden { display: none; }
.genre.is-hidden { display: none; }

/* ---------- Services ---------- */
.services { background: var(--surface); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--bg); border-radius: var(--radius); padding: 28px 24px 30px; border: 1px solid var(--line); }
.svc__n { font: 500 13px var(--f-mono); color: var(--accent); }
.svc h3 { font-size: 22px; margin: 36px 0 10px; }
.svc p { color: var(--muted); font-size: 15px; }
.tools { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.tools__row { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; }
.tools .kicker { margin: 0; }
@media (max-width: 720px) { .tools__row { grid-template-columns: 1fr; gap: 10px; } }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .tc { font: 500 12px var(--f-mono); color: var(--accent); }
.steps h3 { font-size: 24px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(40px, 7vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.contact__lede { color: var(--muted); margin-top: 22px; font-size: 17px; max-width: 46ch; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; }
.footer a:hover { color: var(--text); }

/* ---------- Player ---------- */
.player { padding: 0; border: 0; background: transparent; color: var(--text); max-width: none; max-height: none; width: 100%; height: 100%; }
.player::backdrop { background: rgba(5, 5, 4, .9); backdrop-filter: blur(6px); }
.player[open] { display: grid; place-items: center; }
.player__box { position: relative; width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); display: grid; grid-template-columns: auto 320px; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.player__media { position: relative; border-radius: 12px; overflow: hidden; background: #000; justify-self: center; }
.player__media.is-v { height: min(76dvh, 720px); aspect-ratio: 9 / 16; }
.player__media.is-h { width: min(680px, 100%); aspect-ratio: 16 / 9; }
.player__media video, .player__media img { width: 100%; height: 100%; object-fit: cover; }
.player__media .slate { position: absolute; }
.player__soon { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #ddd; text-align: center; }
.player__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.player__close svg { width: 18px; stroke: var(--text); stroke-width: 2; fill: none; }
.player__genre { font: 500 12px var(--f-mono); color: var(--accent); margin-bottom: 10px; }
.player__info h3 { font-size: 28px; }
.player__client { color: var(--muted); margin-top: 6px; }
.player__desc { margin-top: 18px; font-size: 15px; }
.player__tools { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.player__tools li { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
body.no-scroll { overflow: hidden; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .player__box { grid-template-columns: 1fr; overflow-y: auto; }
  .player__media.is-v { height: min(62dvh, 640px); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .reel { aspect-ratio: 16 / 10; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card--h, .grid--h3 .card--h { grid-column: span 2; }
  .grid--h3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__phone { margin-right: 4px; font-size: 13px; }
  .brand { font-size: 18px; }
  .id__contact > a { flex: 1 1 auto; justify-content: center; }
  .stats { gap: 24px; }
  .stats dd { font-size: 22px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .genre__head { grid-template-columns: 1fr auto; }
  .genre__idx { display: none; }
  .genre__blurb { grid-column: 1 / -1; }
  .card__title { font-size: 15px; }
  .card__play { opacity: 1; transform: scale(.8); width: 44px; height: 44px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc h3 { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .steps h3 { margin-top: 8px; }
  .contact__links .btn { width: 100%; }
  .footer__inner { flex-direction: column; }
  .player__box { padding: 14px; gap: 16px; width: calc(100% - 20px); }
  .player__info h3 { font-size: 22px; }
}

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