/* ============ Tokens ============ */
:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --line: #26262b;
  --text: #f3f2ef;
  --muted: #9b9ba2;
  --accent: #ff4d2e;
  --accent-soft: rgba(255, 77, 46, 0.12);
  --radius: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ============ Type ============ */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label .tc { color: var(--accent); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav .btn { padding: 9px 16px; font-size: 0.88rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform 0.3s ease;
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.open .nav-links { transform: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav .btn.hide-sm { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: #ff6547; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Sections ============ */
section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-head .label { margin-bottom: 16px; }
.section-head p { max-width: 42ch; color: var(--muted); }
.divider { border-top: 1px solid var(--line); }

/* ============ Hero ============ */
.hero { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(48px, 7vw, 90px); position: relative; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.16), transparent 65%);
  pointer-events: none; z-index: -1;
}
.hero h1 { max-width: 15ch; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .btn-row { margin-top: 36px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin-top: clamp(48px, 7vw, 80px); overflow: hidden; background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stat { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============ Client strip ============ */
.clients { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.clients:hover .marquee { animation-play-state: paused; }
.client { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #d9d8d4; }
.client small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); font-weight: 400; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee, .rec { animation: none; } }

/* ============ Paths (hub cards) ============ */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; min-height: 280px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.path:hover { border-color: var(--accent); transform: translateY(-4px); }
.path .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); }
.path h3 { font-size: 1.6rem; }
.path p { color: var(--muted); font-size: 0.95rem; }
.path .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.92rem; }
.path .arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.25s ease, border-color 0.25s ease; }
.path:hover .arrow { background: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } }

/* ============ Video grid ============ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid.two { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: 14px; }
.card.big { grid-column: span 2; }
@media (max-width: 600px) { .card.big { grid-column: auto; } }

.player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  cursor: pointer; padding: 0; color: inherit;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s ease; }
.player:hover img { transform: scale(1.04); filter: brightness(0.75); }
.player .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(10, 10, 11, 0.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid; place-items: center;
  transition: background 0.25s ease, scale 0.25s ease;
}
.player:hover .play { background: var(--accent); scale: 1.08; border-color: var(--accent); }
.player .badge {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(6px);
  padding: 5px 9px; border-radius: 6px;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.meta { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.meta h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; font-family: var(--font-body); letter-spacing: -0.01em; }
.meta .ch { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.meta .views { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text); white-space: nowrap; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; }

/* ============ Feature list / services ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.feature .label { margin-bottom: 18px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 28px 0; border-left: 0; }
}

/* ============ Testimonials ============ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--accent); margin-bottom: 14px; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.quote footer b { display: block; font-size: 0.95rem; }
.quote footer span { color: var(--muted); font-size: 0.82rem; }
img.avatar { object-fit: cover; padding: 0; }
.quote .quote-src { align-self: flex-start; margin-top: -8px; font-family: var(--font-mono, monospace); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.quote .quote-src:hover, .quote .quote-src:focus-visible { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ============ Process ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); color: var(--accent); font-size: 0.8rem; display: block; margin-bottom: 28px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.workflow-note { margin-top: 20px; padding: 18px 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.workflow-note .label { color: var(--text); }

/* ============ About ============ */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .photo-tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(8px);
  font-size: 0.82rem;
}
.portrait .initials { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: var(--line); letter-spacing: -0.05em; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: #cfcfcb; font-size: 1.05rem; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tools-head { display: flex; margin-top: 32px; }
.tool { font-family: var(--font-mono); font-size: 0.78rem; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }

/* ============ Highlight story (streams page) ============ */
.story { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.story .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 9vw, 6.5rem); letter-spacing: -0.05em; line-height: 0.9; }
.story .big small { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; font-weight: 400; }
.story .to { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.story .right { text-align: right; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; text-align: center; } .story .right { text-align: center; } .story .to { margin: 0 auto; rotate: 90deg; } }

/* ============ CTA / Contact ============ */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 7vw, 5.2rem); max-width: 16ch; margin: 20px auto 22px; }
.cta .lead { margin: 0 auto; }
.cta .btn-row { justify-content: center; margin-top: 36px; }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }
.contact-list a:hover { color: var(--text); }

/* ============ Footer ============ */
footer.site { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.85rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ============ Work filters ============ */
.filters { display: flex; gap: 8px; margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: 500 0.9rem var(--font-body); cursor: pointer; transition: all 0.2s ease;
}
.filter:hover { color: var(--text); border-color: #444; }
.filter[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.more-link { margin-top: 36px; text-align: center; }

/* ============ Activity chart ============ */
.activity { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.act-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.act-summary b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.act-summary span { color: var(--muted); font-size: 0.85rem; }
.act-scroll { overflow-x: auto; }
.act-grid { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 330px; }
.act-grid th { font: 400 0.72rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 0 0 4px; }
.act-grid tbody th { text-align: left; padding-right: 8px; width: 1%; white-space: nowrap; }
.act-grid td { padding: 0; }
.cell {
  display: grid; place-items: center; aspect-ratio: 1; width: 100%; min-width: 18px;
  border-radius: 6px; font: 600 0.8rem var(--font-mono); color: #fff;
  background: var(--surface-2); border: 1px solid var(--line);
}
.cell.l0 { background: var(--surface-2); }
.cell.l1 { background: rgba(255, 77, 46, 0.22); border-color: transparent; }
.cell.l2 { background: rgba(255, 77, 46, 0.45); border-color: transparent; }
.cell.l3 { background: rgba(255, 77, 46, 0.72); border-color: transparent; }
.cell.l4 { background: var(--accent); border-color: transparent; }
.cell.future { background: transparent; border: 1px dashed var(--line); }
.act-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 18px; }
.act-detail { color: var(--muted); font-size: 0.88rem; min-height: 1.4em; }
.act-grid .cell { cursor: pointer; transition: outline-color 0.15s ease; outline: 2px solid transparent; outline-offset: 1px; }
.act-grid .cell.active { outline-color: var(--text); }
.act-legend { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--muted); font-size: 0.78rem; }
.act-legend .cell { width: 14px; min-width: 14px; border-radius: 4px; }
@media (max-width: 560px) {
  .act-summary { grid-template-columns: 1fr 1fr; }
  .act-summary div:last-child { grid-column: span 2; }
  .act-grid { border-spacing: 2px; min-width: 0; table-layout: fixed; }
  .act-grid thead th:first-child, .act-grid tbody th { width: 34px; padding-right: 4px; }
  .act-grid th { font-size: 0.55rem; letter-spacing: 0; }
  .activity { padding: 18px 12px; }
  .cell { font-size: 0.62rem; border-radius: 4px; min-width: 0; }
  .act-grid th { font-size: 0.6rem; }
}

/* ============ Floating "Get a quote" (all screens; appears after the hero, hides at Contact) ============ */
.mobile-cta {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  padding: 15px 24px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 12px 34px rgba(255, 77, 46, 0.35), 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(160%); opacity: 0; transition: transform 0.35s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease, background 0.2s ease;
}
.mobile-cta::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); animation: cta-ping 2s ease-out infinite;
}
@keyframes cta-ping { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.mobile-cta:hover { background: #ff6547; }
.mobile-cta.show { transform: none; opacity: 1; }
@media (max-width: 820px) {
  .mobile-cta { left: 16px; right: 16px; bottom: 16px; padding: 15px; }
  footer.site { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta::before { animation: none; } }

/* ============ Dynamic: rotating words ============ */
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: 0.08em; }
.rotator em { grid-area: 1 / 1; font-style: normal; color: var(--accent); white-space: nowrap; transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.55s ease; }
.rotator em.in-from { transform: translateY(100%); opacity: 0; }
.rotator em.out { transform: translateY(-100%); opacity: 0; }
@media (max-width: 520px) { .rotator { display: grid; } .rotator em { white-space: normal; } }

/* ============ Dynamic: playhead ============ */
.playhead { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.ph-bar { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(255, 77, 46, 0.6); }
.ph-tc {
  position: absolute; right: var(--gutter); top: 6px;
  font: 500 0.66rem var(--font-mono); letter-spacing: 0.06em; color: var(--muted);
  background: rgba(10, 10, 11, 0.8); padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line);
}
@media (max-width: 820px) { .ph-tc { display: none; } }

/* ============ Dynamic: film grain + drifting glow ============ */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.hero::before { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-12%, 18%) scale(1.15); } }

/* ============ Dynamic: card hover ============ */
.card { transition: transform 0.35s ease; }
.card:hover { transform: translateY(-4px); }
.player::after {
  content: "Watch"; position: absolute; right: 12px; bottom: 12px;
  font: 600 0.72rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 6px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease;
}
button.player:hover::after { opacity: 1; transform: none; }

.socials { display: flex; gap: 10px; justify-content: center; }
.cta .socials { margin-top: 24px; }
footer.site .socials { justify-content: flex-start; }
.social {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.social:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
button.social { background: transparent; cursor: pointer; position: relative; padding: 0; }
.social img { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; }
.social.copied::after {
  content: "Copied ✓"; position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
  background: var(--text); color: var(--bg); font: 600 0.72rem var(--font-body);
  padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.client-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; align-self: center; border: 1px solid var(--line); background: var(--surface-2); }
footer.site .social { width: 36px; height: 36px; }
footer.site .wrap { align-items: center; }

.ytj-link { display: inline-flex; align-items: center; gap: 8px; }
.ytj-link img { border-radius: 3px; }
.ytj-link:hover { color: var(--text); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-btn:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  body::after, .hero::before { animation: none; }
  .card:hover, .path:hover { transform: none; }
}

/* ============ Cool: hero thumbnail wall ============ */
.hero > .wrap { position: relative; z-index: 1; }
.hero-wall {
  position: absolute; inset: -10% -20% -10% 30%; z-index: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  transform: rotate(-8deg); opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 75%, transparent 100%), linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 75%, transparent 100%), linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.hero-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,0.35) 40%, rgba(10,10,11,0.15) 100%); }
.wall-row { overflow: hidden; }
.wall-track { display: flex; gap: 14px; width: max-content; animation: wall var(--dur, 60s) linear infinite; }
.wall-row.rev .wall-track { animation-direction: reverse; }
.wall-track img { width: 260px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; filter: saturate(0.85); }
@keyframes wall { to { transform: translateX(-50%); } }
@media (max-width: 820px) {
  .hero-wall { inset: auto -40% -6% -40%; height: 55%; opacity: 0.35; transform: rotate(-6deg); }
  .hero-wall::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,0.4) 50%, var(--bg) 100%); }
  .wall-track img { width: 170px; }
}

/* ============ Cool: kinetic text band ============ */
.band { padding: clamp(40px, 7vw, 90px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.band-row { white-space: nowrap; line-height: 1; }
.band-row span {
  display: inline-block; will-change: transform;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(3rem, 10vw, 8.5rem); color: var(--text);
}
.band-row.outline span { color: transparent; -webkit-text-stroke: 1.5px #3a3a40; }
.band-row + .band-row { margin-top: 0.1em; }

/* ============ Cool: custom cursor ============ */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: grid; place-items: center; opacity: 0;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}
.cursor.on { opacity: 1; }
.cursor span { font: 700 0.72rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.2s ease; }
.cursor.link { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--accent); background: rgba(255, 77, 46, 0.12); }
.cursor.play { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); border-color: var(--accent); }
.cursor.play span { opacity: 1; }

/* ============ Cool: magnetic + spotlight ============ */
.btn, .social, .path .arrow { transition: translate 0.25s cubic-bezier(.2,.7,.2,1), transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 77, 46, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
}
.spot:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; }
}

/* ============ Best: film-leader intro (first visit to the homepage only) ============ */
.leader { display: none; }
.intro .leader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: transform 0.7s cubic-bezier(.7,0,.2,1), opacity 0.7s ease;
}
.intro .leader.done { transform: translateY(-100%); }
.leader-ring {
  width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 2px solid var(--line);
  background: conic-gradient(var(--accent) var(--sweep, 0deg), transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 0 0, #000 0);
}
.leader-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.leader-num { position: relative; z-index: 1; font: 700 4.5rem var(--font-display); letter-spacing: -0.04em; }
.leader-label { font: 500 0.75rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ============ Best: smooth page-to-page transitions (Chrome/Edge) ============ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.25s ease both; }
::view-transition-new(root) { animation: vt-in 0.35s ease both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ============ Best: hover previews ============ */
.player video.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.player video.preview.playing { opacity: 1; }
.player .badge, .player .play { z-index: 1; }

/* ============ Best: showreel button + lightbox ============ */
.reel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: rec 1.6s ease-in-out infinite; }
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 5, 6, 0.92); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; }
.lightbox-frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transform: scale(0.96); transition: transform 0.35s ease; }
.lightbox.open .lightbox-frame { transform: none; }
.lightbox-frame iframe, .lightbox-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* ============ Quote form popup ============ */
.quote-modal { align-items: center; overflow-y: auto; }
.qm {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 120px -30px rgba(255, 77, 46, 0.35);
  transform: translateY(14px) scale(0.98); transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.quote-modal.open .qm { transform: none; }
.qm .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
.qm h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 14px 0 8px; }
.qm > .qm-step > .muted { margin-bottom: 24px; }
.qm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qm-grid .full { grid-column: 1 / -1; }
.qm-grid label { display: grid; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.qm-grid input, .qm-grid select, .qm-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 400 0.95rem var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qm-grid textarea { resize: vertical; min-height: 96px; }
.qm-grid input:focus, .qm-grid select:focus, .qm-grid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qm-grid input::placeholder, .qm-grid textarea::placeholder { color: #5d5d64; }
.qm-opt { font-weight: 400; opacity: 0.7; }
.qm-chips.qm-reply > input { position: static; opacity: 1; pointer-events: auto; margin-top: 10px; width: 100%; } /* the text box; the chip rule hides only the radios */
.qm-chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.qm-chips legend { padding: 0; margin-bottom: 7px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.qm-chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.qm-chips label { position: relative; cursor: pointer; }
.qm-chips input { position: absolute; opacity: 0; pointer-events: none; }
.qm-chips span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 500 0.88rem var(--font-body);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.qm-chips label:hover span { border-color: #4a4a52; }
.qm-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.qm-chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.qm-error { color: #ff8a73; font-size: 0.88rem; margin-top: 14px; }
.qm-submit { margin-top: 22px; width: 100%; justify-content: center; }
.qm-preview {
  white-space: pre-wrap; font: 400 0.82rem/1.6 var(--font-mono); color: #cfcfcb;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 0 0 18px; max-height: 220px; overflow: auto;
}
.qm-actions { display: grid; gap: 10px; }
.qm-actions .btn { justify-content: center; }
.qm-note { margin-top: 14px; font-size: 0.9rem; min-height: 1.4em; color: #9ee6b5; }
.qm-close-2 { margin-top: 20px; }
@media (max-width: 560px) { .qm-grid { grid-template-columns: 1fr; } }

/* ============ Showreel section ============ */
.reel-section { padding-top: clamp(48px, 7vw, 90px); }
.reel-stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line); background: #000;
  box-shadow: 0 40px 120px -40px rgba(255, 77, 46, 0.35);
}
.reel-stage video { width: 100%; height: 100%; display: block; background: #000; }
.reel-cover { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.reel-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease, filter 0.4s ease; }
.reel-cover:hover img { transform: scale(1.03); filter: brightness(0.8); }
.reel-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(72px, 9vw, 110px); height: clamp(72px, 9vw, 110px); border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(255, 77, 46, 0.18), 0 0 0 24px rgba(255, 77, 46, 0.08);
  transition: scale 0.3s ease; animation: reel-pulse 2.2s ease-in-out infinite;
}
.reel-cover:hover .reel-play { scale: 1.08; }
@keyframes reel-pulse { 50% { box-shadow: 0 0 0 18px rgba(255, 77, 46, 0.12), 0 0 0 36px rgba(255, 77, 46, 0.04); } }
.reel-meta {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.78rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(10, 10, 11, 0.75); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) { .reel-play { animation: none; } }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1rem; cursor: pointer; }
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }

/* ============ Availability pill ============ */
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.avail {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: #d7f5df;
  background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.35);
  transition: background 0.2s ease;
}
.avail:hover { background: rgba(46, 204, 113, 0.18); }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); animation: avail 2s ease-out infinite; }
@keyframes avail { 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

/* ============ Results ============ */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result {
  display: flex; flex-direction: column; gap: 18px; padding: 24px; min-height: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.result:hover { border-color: var(--accent); transform: translateY(-4px); }
.result-top { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.result-top b { line-height: 1.25; }
.result-top b { display: block; font-size: 0.98rem; }
.result-top span { font: 500 0.7rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.result-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
.result-av.fallback { display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-weight: 700; }
.result-go { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.2s ease; }
.result:hover .result-go { background: var(--accent); border-color: var(--accent); color: #fff; }
.result-num { font: 700 clamp(2.6rem, 4.6vw, 3.6rem)/0.95 var(--font-display); letter-spacing: -0.04em; margin-top: 18px; }
.result-num small { display: block; font: 500 0.82rem var(--font-body); letter-spacing: 0; color: var(--accent); margin-top: 8px; }
.result p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 1000px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } .result { min-height: 0; } }

/* ============ Working together (plans) ============ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 77, 46, 0.1), var(--surface) 55%); }
.plan-num { font: 500 0.75rem var(--font-mono); color: var(--accent); }
.plan-tag { position: absolute; top: 26px; right: 24px; font: 600 0.7rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 5px 9px; border-radius: 6px; }
.plan h3 { font-size: 1.6rem; }
.plan p { color: var(--muted); font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 0.93rem; }
.plan li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d2e' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 600 clamp(1rem, 1.8vw, 1.15rem) var(--font-body); transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 400; font-size: 1.2rem; color: var(--muted);
  transition: rotate 0.3s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq summary:hover { color: var(--accent); }
.faq details[open] summary::after { rotate: 45deg; background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 70ch; animation: faq-in 0.3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Focus ============ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ============ Reveal (only hides content when JS is running) ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
