@import url("https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #4b70d8;
  --blue-deep: #3a52d6;
  --black: #0a0a0a;
  --paper: #f9f7f4;
  --accent: #fe4f2a;
  --ink: #111;
  --grey: #e8e6e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit; color: inherit; background: none; border: 0;
  padding: 0; cursor: pointer; text-align: left;
}
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  height: 56px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.site-header.is-hero { background: transparent; color: #111; }
.site-header.is-hero .cta { background: #fff; color: #111; }
.site-header.is-scrolled {
  background: #111; color: #fff; border-bottom: 1px solid #2a2a2a;
}
.site-header.is-scrolled .cta {
  background: transparent; color: #fff; border: 1px solid #fff;
}
.logo-text {
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800; font-size: 15px; letter-spacing: 0.06em;
  display: none;
}
.site-header.is-hero .logo-text { display: block; }
.logo-mark { display: none; gap: 4px; align-items: center; }
.logo-mark span {
  width: 13px; height: 13px;
  border: 2.5px solid currentColor; border-radius: 50%;
}
.site-header.is-scrolled .logo-mark { display: flex; }
.top-nav {
  display: flex; gap: 22px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
}
.cta {
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  padding: 8px 12px; border: 1px solid transparent;
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(26vw, 380px);
  padding-top: 56px;
  background: var(--blue);
}
.hero-left {
  color: #111;
  padding: 5vh 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - 56px);
}
.hero-left h1 {
  margin: 8vh 0 0;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(60px, 8.2vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 12ch;
}
.hero-left h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 0.88em;
  letter-spacing: -0.01em;
  position: relative;
  left: -0.04em;
}
.hero-awards {
  overflow: hidden;
  width: 100%;
  margin-top: 24px;
}
.hero-awards-track {
  display: flex;
  gap: 36px;
  width: max-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: ticker-x 28s linear infinite;
}
.hero-right {
  overflow: hidden;
  background: #000;
  height: calc(100svh - 56px);
}
.hero-reel { height: 100%; overflow: hidden; }
.hero-reel-track {
  display: flex; flex-direction: column; gap: 4px; will-change: transform;
}
.hero-reel-track img {
  width: 100%; height: 48vh; min-height: 280px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

/* ===== INTRO (statement-main) ===== */
.intro-section {
  background: #0d0d0d;
  color: var(--blue);
  text-align: center;
  padding: clamp(80px, 12vh, 160px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.intro-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--blue);
}
.intro-copy {
  max-width: 58ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  font-weight: 500;
  color: var(--blue);
}
.intro-copy p { margin: 0 0 1em; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ===== BRAND TICKER ===== */
.brand-ticker {
  overflow: hidden;
  background: #0d0d0d;
  padding: 28px 0 40px;
}
.brand-ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: 0.01em;
  color: #fff;
  animation: ticker-x 30s linear infinite;
  will-change: transform;
}
@keyframes ticker-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== CASES ===== */
.cases-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #111;
  gap: 2px;
}
.case-card {
  background: var(--grey);
  color: #111;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 358 / 410;
}
.case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover .case-media img { transform: scale(1.04); }

.case-banner {
  position: absolute;
  left: 0; top: 0;
  transform-origin: 0 0;
  transform: translateX(42px) rotate(90deg);
  background: var(--side);
  color: var(--ink, #111);
  padding: 8px 0;
  display: flex;
  overflow: hidden;
  width: max(100%, 120vh);
  z-index: 2;
  pointer-events: none;
}
.case-banner-track {
  display: flex;
  gap: 18px;
  animation: banner-x 10s linear infinite;
  will-change: transform;
}
.case-banner-track span {
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}
@keyframes banner-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  background: var(--grey);
  min-height: 52px;
}
.case-meta p {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
}
.case-meta a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.case-card:hover .case-meta a {
  opacity: 1;
  transform: translateX(0);
}

/* ===== STATEMENT ===== */
.statement {
  background: #121212;
  text-align: center;
  padding: clamp(90px, 14vh, 180px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.statement h3 {
  margin: 0;
  max-width: 14ch;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.2vw, 118px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h-highlight {
  display: inline-block;
  background: var(--accent);
  color: #111;
  padding: 0 0.12em;
  position: relative;
  top: 0.06em;
}
.statement-sub {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 36px);
  color: #fff;
}
.statement-body {
  margin: 8px auto 0;
  max-width: 54ch;
  color: #c9cad0;
  font-size: 15px;
  line-height: 1.55;
}

/* ===== CAPABILITIES: BDB barrel selector ===== */
.capabilities-wrap {
  background: #f4f3ef;
  color: #111;
  position: relative;
}

.capabilities {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: 7em 40px;
  align-items: center;
}

.cap-left {
  min-width: 0;
  width: 100%;
}

.cap-left > small {
  display: block;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.5em;
  padding-bottom: 0.55em;
  border-bottom: 1px solid #000;
  width: 60%;
  max-width: 420px;
}

.cap-barrel-wrap {
  width: 100%;
}

.cap-barrel {
  position: relative;
  width: 100%;
  height: 33em;
  overflow: hidden;
  cursor: ns-resize;
  perspective: 1200px;
  transform-style: preserve-3d;
  user-select: none;
}

.cap-barrel-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  backface-visibility: hidden;
  transform-origin: left center;
  will-change: transform, opacity;
  cursor: pointer;
  color: #111;
  text-align: left;
  background: none;
  border: 0;
}

.cap-barrel-item span {
  display: block;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(52px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
}

.cap-barrel-item.is-active {
  color: var(--blue);
}

.cap-right {
  position: relative;
  width: 100%;
  max-width: 45ch;
  min-height: 10em;
}

.cap-intro,
.cap-panel {
  width: 100%;
}

.cap-intro {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.35;
  color: #222;
  transition: opacity 180ms ease;
}

.cap-intro p {
  margin: 0 0 0.9em;
}

.cap-intro p:last-child {
  margin-bottom: 0;
}

.cap-intro.is-hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0 auto auto 0;
}

.cap-panel {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  width: 100%;
}

.cap-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cap-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 11px;
  flex-shrink: 0;
}

.cap-panel p {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.32;
  color: #222;
}


/* ===== CREATOR OS ===== */
.creator-os {
  background: #0f0f0f;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(80px, 12vh, 160px) 40px;
  align-items: start;
}
.os-left h5 {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5.6vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.os-left h5 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}
.os-sub {
  margin: 0 0 48px;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--blue);
  font-weight: 500;
}
.os-powered {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.os-powered span {
  font-size: 14px;
  color: #aaa;
}
.os-powered strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  color: #fff;
}
.os-right p {
  margin: 0;
  color: #d2d3d8;
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}
.btn {
  margin-top: 28px;
  display: inline-block;
  background: #fff;
  color: #111;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ===== LET'S TALK ===== */
.talk-section {
  background: var(--paper);
  color: #111;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: min(70vh, 620px);
  align-items: stretch;
}
.talk-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 48px 40px;
}
.talk-title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
}
.talk-arrow {
  width: 48px; height: 48px;
  background: #111; color: #fff;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 220ms ease;
}
.talk-arrow:hover { transform: translateX(4px); }
.talk-visual {
  position: relative;
  overflow: hidden;
  min-height: min(70vh, 620px);
  height: 100%;
  background: #111;
}

.talk-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  padding: 48px 28px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand h6 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.footer-tag {
  margin: 0 0 14px !important;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px !important;
  color: #bbb !important;
}
.footer-brand p {
  margin: 0; max-width: 32ch;
  color: #cfcfd4; font-size: 14px; line-height: 1.5;
}
.newsletter-title {
  margin-top: 34px !important;
  font-size: clamp(28px, 3vw, 40px) !important;
}
.newsletter-input {
  margin-top: 16px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid #4a4a4f;
}
.footer-grid > div:not(.footer-brand) h6 {
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
}
.footer-grid a,
.footer-grid > div:not(.footer-brand) p {
  margin: 0; display: block;
  color: #d0d0d5; font-size: 14px; line-height: 1.55;
}
.footer-bottom {
  margin-top: 28px; padding-top: 14px;
  border-top: 1px solid #2c2c30;
  display: flex; justify-content: space-between; gap: 12px;
}
.footer-bottom p, .footer-bottom a {
  margin: 0; color: #9f9fa5; font-size: 12px;
}
.footer-bottom div { display: flex; gap: 14px; }

@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { min-height: auto; padding-top: 28px; }
  .hero-left h1 { margin-top: 20px; font-size: clamp(48px, 14vw, 72px); }
  .hero-right { height: 280px; }
  .hero-reel-track img { height: 220px; min-height: 0; }
  .cases-strip { grid-template-columns: 1fr 1fr; }
  .capabilities {
    grid-template-columns: 1fr; padding: 56px 18px; min-height: 0;
  }
  .cap-barrel { height: 20em; }
  .cap-barrel-item span { font-size: clamp(40px, 11vw, 64px); }
  .cap-left > small { width: 100%; }
  .creator-os, .footer-grid, .talk-section { grid-template-columns: 1fr; }
  .talk-main { padding: 40px 20px; }
}

@media (max-width: 760px) {
  .cases-strip { grid-template-columns: 1fr; }
  .intro-title { font-size: clamp(32px, 9vw, 48px); }
  .statement { padding: 70px 14px; }
  .statement h3 { font-size: clamp(42px, 12vw, 64px); }
  .creator-os { padding: 56px 16px; }
  .footer-brand h6 { font-size: 52px; }
  .footer-grid > div:not(.footer-brand) h6 { font-size: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ticker-track,
  .hero-awards-track,
  .case-banner-track { animation: none; }
}
