/* ============================================================
   Content Theory — brand tokens
   ============================================================ */
:root {
  --lime: #C8FF00;
  --ink: #111110;
  --cream: #FFFCEE;
  --ink-soft: #2A2A27;
  --cream-line: rgba(17, 17, 16, 0.1);
  --lime-line: rgba(200, 255, 0, 0.4);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.3s;
  --dur: 0.6s;
  --dur-slow: 0.9s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200,255,0,0.25); flex: none; }

/* ---- tilted lime-block motif ---- */
.blockmark {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  padding: 0.02em 0.28em 0.08em;
  transform: rotate(-2deg);
  border-radius: 2px;
  white-space: nowrap;
}
h1 .blockmark, h2 .blockmark { transform: rotate(-2deg) translateY(2%); }

/* ---- wordmark lockup (recreated from the supplied logo's tilted-block motif;
   swap for the exported wordmark file when available) ---- */
.wordmark { display: inline-flex; flex-direction: column; gap: 4px; line-height: 1; }
.wordmark span {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  padding: 0.08em 0.22em;
  border-radius: 2px;
  width: max-content;
}
.wordmark span:first-child { transform: rotate(-3deg); }
.wordmark span:last-child { transform: rotate(2deg) translateX(6%); }
.wordmark--sm span { font-size: 13px; }
.wordmark--lg span { font-size: clamp(20px, 3vw, 30px); }
footer .wordmark span { background: var(--ink); color: var(--lime); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-2px); background: #d9ff33; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--cream-line); }
.btn-ghost:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0.3); transform-origin: left; transition: transform var(--dur-fast) var(--ease); opacity: 0.4; }
.text-link:hover::after { transform: scaleX(1); opacity: 1; }
.text-link svg { transition: transform var(--dur-fast) var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(255, 252, 238, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-weight: 600; font-size: 14.5px; position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; }
.menu-btn { display: none; z-index: 110; }
.mobile-panel {
  position: fixed; inset: 0; background: var(--ink); color: var(--cream); z-index: 99;
  display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 0 32px;
  transform: translateY(-100%); transition: transform var(--dur) var(--ease);
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.mobile-panel .btn-lime { width: max-content; margin-top: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em; margin: 18px 0 22px; }
.hero-copy p { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-media { position: relative; aspect-ratio: 1 / 1.05; }
.hero-media .tile { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(17,17,16,0.35); background: var(--ink); }
.hero-media .tile video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tile canvas.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease); }
.hero-media .tile canvas.poster.showing { opacity: 1; }
.hero-media .tile-a { width: 56%; aspect-ratio: 9/16; top: 0; right: 0; z-index: 3; transform: rotate(2deg); }
.hero-media .tile-b { width: 44%; aspect-ratio: 9/16; bottom: 6%; left: 0; z-index: 2; transform: rotate(-4deg); }
.hero-media .tile-c { width: 34%; aspect-ratio: 9/16; top: 20%; left: 8%; z-index: 1; transform: rotate(-9deg); opacity: 0.9; }
.hero-media .badge {
  position: absolute; bottom: -16px; right: 8%; z-index: 4;
  background: var(--lime); color: var(--ink); border-radius: 999px;
  padding: 9px 16px; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; width: max-content;
  transform: rotate(-3deg);
  box-shadow: 0 12px 24px -10px rgba(17,17,16,0.4);
}

/* ============================================================
   Proof / marquee strip
   ============================================================ */
.proof-bar { background: var(--ink); color: var(--cream); padding: 20px 0; overflow: hidden; }
.proof-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .proof-track { animation: none; } }
.proof-track span { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; opacity: 0.9; }
.proof-track span b { color: var(--lime); font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Section shell
   ============================================================ */
.section { padding: 110px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.01em; margin-top: 14px; max-width: 18ch; }
.section-tint { background: var(--ink); color: var(--cream); }
.section-tint .eyebrow { color: rgba(255,252,238,0.7); }
.section-tint .eyebrow i { box-shadow: 0 0 0 4px rgba(200,255,0,0.18); }

/* ============================================================
   Work / video showcase — one filterable, unified grid
   ============================================================ */
.work-filters { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.work-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  flex: none; font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--cream-line); color: var(--ink-soft);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.work-filter-desc { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 32px; min-height: 1.4em; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }

.video-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #000; cursor: pointer; isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur-fast), visibility var(--dur-fast);
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -24px rgba(17,17,16,0.4); }
.video-card.is-hidden { display: none; }
.video-card .frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden;
  background: repeating-linear-gradient(135deg, #1c1c19, #1c1c19 12px, #232320 12px, #232320 24px);
}
.video-card video, .video-card canvas.poster, .video-card .thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease);
}
.video-card:hover video, .video-card:hover canvas.poster, .video-card:hover .thumb-img { transform: scale(1.06); }
.video-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%); pointer-events: none; }
.video-card .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease);
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.5);
}
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-card .platform-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(17,17,16,0.72); color: var(--cream);
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 9px; border-radius: 999px;
}
.video-card .meta { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; transition: transform var(--dur-fast) var(--ease); text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.video-card:hover .meta { transform: translateY(-2px); }
.video-card .meta strong { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; }
.video-card .meta span { font-size: 11.5px; opacity: 0.85; }

.player-embed { max-width: 92vw; max-height: 88vh; }
.player-embed blockquote { margin: 0 !important; }

/* ---- FAQ accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.faq-item { border: 1px solid var(--cream-line); border-radius: 16px; background: #fff; overflow: hidden; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.faq-item.open { background: var(--cream); border-color: var(--ink); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; text-align: left; }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; transition: transform var(--dur-fast) var(--ease); }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-answer p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 65ch; }

.repeat-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ============================================================
   Video modal
   ============================================================ */
dialog.player-modal {
  border: none; padding: 0; background: transparent;
  max-width: 92vw; max-height: 92vh; margin: 0;
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
dialog.player-modal[open] { display: flex; }
dialog.player-modal::backdrop { background: rgba(17,17,16,0.9); backdrop-filter: blur(4px); }
.player-inner { position: relative; display: flex; align-items: center; justify-content: center; }
.player-inner video { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 12px; background: #000; }
.player-close {
  position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
@media (max-width: 640px) { .player-close { top: 10px; right: 10px; } }

/* ============================================================
   Services
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { padding: 34px; border-radius: 20px; background: #fff; border: 1px solid var(--cream-line); transition: transform var(--dur) var(--ease); }
.service-card:hover { transform: translateY(-6px); }
.service-number { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.service-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 18px 0 10px; }
.service-card p { color: var(--ink-soft); margin-bottom: 18px; }
.service-card li { padding-left: 20px; position: relative; font-size: 14.5px; margin-bottom: 8px; }
.service-card li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; }

/* ============================================================
   About / why
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-grid h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.about-copy p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }

/* ============================================================
   Creators landing page
   ============================================================ */
.creators-hero { padding: 150px var(--gutter) 70px; max-width: 760px; margin: 0 auto; text-align: center; }
.creators-hero .eyebrow { justify-content: center; }
.creators-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 72px); line-height: 1.05; margin: 18px 0 26px; }
.creators-hero p { font-size: 18px; color: var(--ink-soft); max-width: 56ch; margin: 0 auto 36px; }

.creators-lists { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.creators-list h3 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 18px; }
.creators-list li { padding-left: 24px; position: relative; font-size: 16.5px; margin-bottom: 14px; line-height: 1.5; }
.creators-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--lime); border-radius: 2px; transform: rotate(45deg); }

@media (max-width: 980px) {
  .creators-lists { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Closing CTA
   ============================================================ */
.closing { text-align: center; padding: 130px var(--gutter); }
.closing h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.01em; }
.closing p { margin: 22px auto 34px; max-width: 44ch; color: rgba(255,252,238,0.72); font-size: 18px; }
.closing .actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.closing .email-link { color: rgba(255,252,238,0.8); }

/* ============================================================
   Footer
   ============================================================ */
footer { background: var(--ink); color: var(--cream); padding: 60px var(--gutter) 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,252,238,0.12); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,252,238,0.5); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; margin-bottom: 10px; color: rgba(255,252,238,0.85); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: rgba(255,252,238,0.45); flex-wrap: wrap; gap: 10px; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-media { order: -1; width: 100%; max-width: 420px; margin: 0 auto 20px; aspect-ratio: 1 / 1.05; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .closing { padding: 90px var(--gutter); }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .video-card .play { width: 42px; height: 42px; }
  .video-card .meta strong { font-size: 12.5px; }
  .video-card .meta span { font-size: 10px; }
}
