@import url('assets/tokens.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ofa-ink); color: #fff; }
html { scroll-behavior: auto; }
/* overflow-x: clip instead of hidden — clip does NOT create a scroll container,
   so it never breaks position:sticky on child sections (manifesto pin, etc.) */
body { overflow-x: clip; cursor: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ============================================================
   CUSTOM CURSOR (glow trail)
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
  transition: width .15s var(--ease-out), height .15s var(--ease-out);
}
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  transition: width .2s var(--ease-out), height .2s var(--ease-out), border-color .2s;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.16), rgba(255,199,44,0) 60%);
  transform: translate(-50%, -50%); transition: background .4s;
}
.cursor-glow.films  { background: radial-gradient(circle, rgba(230,57,70,0.22), rgba(230,57,70,0) 60%); }
.cursor-glow.solutions { background: radial-gradient(circle, rgba(47,128,237,0.22), rgba(47,128,237,0) 60%); }
body.hide-cursor { cursor: auto; }
body.hide-cursor .cursor-dot, body.hide-cursor .cursor-ring, body.hide-cursor .cursor-glow { opacity: 0; }
@media (hover: none) { .cursor-dot, .cursor-ring, .cursor-glow { display: none; } body { cursor: auto; } }

/* ============================================================
   HEADER — Liquid Glass
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: 64px; padding: 0 40px;
  display: grid; grid-template-columns: 160px 1fr 160px; align-items: center;
  backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 8px 32px rgba(0,0,0,0.22);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(11,11,11,0.62);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.45);
}
.site-header .brand { display: flex; align-items: center; }
.site-header .brand img { height: 28px; width: auto; opacity: .9; transition: opacity .15s; }
.site-header .brand img:hover { opacity: 1; }
.site-header nav { display: flex; gap: 32px; align-items: center; justify-content: center; }
.site-header nav a {
  font-family: var(--font-accent); font-weight: 600; font-size: 13px; color: rgba(255,255,255,.52);
  letter-spacing: 0.04em; transition: color .2s; text-decoration: none;
}
.site-header nav a:hover { color: #fff; }
.site-header nav a.active { color: var(--ofa-yellow); }
.header-cta { display: flex; justify-content: flex-end; }

.split-toggle {
  display: inline-flex; align-items: center; gap: 0;
  padding: 4px; border: 1px solid var(--line-1); border-radius: 999px;
  background: rgba(0,0,0,.4);
}
.split-toggle button {
  appearance: none; background: transparent; border: 0; color: var(--fg-3);
  font-family: var(--font-accent); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease-out);
}
.split-toggle button.active.films { background: var(--ofa-films-red); color: #fff; }
.split-toggle button.active.solutions { background: var(--ofa-solutions-blue); color: #fff; }
.split-toggle button.active.all { background: var(--ofa-yellow); color: var(--ofa-ink); }

.cta-pill {
  font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ofa-yellow); color: var(--ofa-ink); padding: 11px 18px; border: 0; border-radius: 2px; cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--ofa-red); transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.cta-pill:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 0 var(--ofa-red); }
.cta-pill:active { transform: translate(2px,2px); box-shadow: 0 0 0 0 var(--ofa-red); }
.cta-pill .arr { display:inline-block; width:8px; height:8px; border-right:2px solid currentColor; border-top:2px solid currentColor; transform: rotate(45deg); margin-left: 6px; vertical-align: 1px; }

/* ============================================================
   BURGER + MOBILE NAV DRAWER
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0;
  z-index: 79;
  flex-direction: column;
  background: rgba(11,11,11,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.2,0.9,0.25,1.1), opacity 0.18s ease;
}
.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-drawer a {
  font-family: var(--font-accent); font-weight: 600;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  display: block;
}
.mobile-nav-drawer a:last-child { border-bottom: none; }
.mobile-nav-drawer a:hover { color: #fff; background: rgba(255,255,255,0.03); }
.mobile-nav-drawer a.active { color: var(--ofa-yellow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; padding: clamp(100px,14vh,160px) 40px 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(255,199,44,0.10), transparent 70%),
    radial-gradient(40% 30% at 50% 50%, rgba(255,122,0,0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 80%);
}

.hero-eyebrow {
  font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ofa-yellow); display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
  z-index: 2;
}
.hero-eyebrow::before, .hero-eyebrow::after { content:''; width: 28px; height: 1px; background: var(--ofa-yellow); }

.hero-logo-wrap {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  width: min(900px, 78vw);
}
.hero-logo-wrap img { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 60px rgba(255,199,44,0.18)); }


.tagline {
  display: flex; gap: clamp(20px, 4vw, 64px); margin-top: 28px; z-index: 2;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -.01em;
}
.tagline span { display: inline-block; }
.tagline .y { color: var(--ofa-yellow); text-shadow: 4px 4px 0 var(--ofa-red); }
.tagline .b { color: var(--ofa-solutions-blue); text-shadow: 4px 4px 0 #0a3a82; }
.tagline .r { color: var(--ofa-films-red); text-shadow: 4px 4px 0 #5a1419; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3);
  z-index: 2;
}
.scroll-hint .line {
  width: 1px; height: 30px; background: linear-gradient(180deg, transparent, var(--ofa-yellow));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   SPLIT IDENTITY (50/50)
   ============================================================ */
.split {
  position: relative; min-height: 100vh; display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid var(--line-1);
  overflow: hidden;
}
.split-half {
  position: relative; padding: 80px 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  min-height: 90vh;
  cursor: none;
  transition: background .5s var(--ease-out), filter .5s;
  overflow: hidden;
}
.split-half .bg-tint {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-out);
  pointer-events: none;
}
.split-half.films .bg-tint {
  background:
    radial-gradient(80% 70% at 30% 50%, rgba(230,57,70,0.32), transparent 70%),
    linear-gradient(135deg, rgba(230,57,70,0.10), transparent 60%);
}
.split-half.solutions .bg-tint {
  background:
    radial-gradient(80% 70% at 70% 50%, rgba(47,128,237,0.32), transparent 70%),
    linear-gradient(225deg, rgba(47,128,237,0.10), transparent 60%);
}
.split.hover-films .split-half.films .bg-tint,
.split.hover-solutions .split-half.solutions .bg-tint { opacity: 1; }
.split.hover-films .split-half.solutions { filter: grayscale(1) brightness(.4); }
.split.hover-solutions .split-half.films { filter: grayscale(1) brightness(.4); }

.split-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--line-1) 15%, var(--line-1) 85%, transparent 100%);
  transform: translateX(-0.5px);
}

.split-half .corner-num {
  position: absolute; top: 28px; left: 56px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--fg-3);
  display: flex; align-items: center; gap: 12px;
}
.split-half.solutions .corner-num { left: auto; right: 56px; justify-content: flex-end; }
.split-half .corner-num .dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.split-half.films .corner-num .dot { background: var(--ofa-films-red); color: var(--ofa-films-red); }
.split-half.solutions .corner-num .dot { background: var(--ofa-solutions-blue); color: var(--ofa-solutions-blue); }

.split-half .lockup { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.split-half .lockup img { width: auto; max-width: clamp(280px, 34vw, 420px); height: 110px; object-fit: contain; object-position: left; }

.split-half h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  color: #fff; max-width: 14ch; margin: 0;
}
.split-half h2 em { font-style: normal; }
.split-half.films h2 em { color: var(--ofa-films-red); }
.split-half.solutions h2 em { color: var(--ofa-solutions-blue); }

.split-half .pitch { font-size: 16px; line-height: 1.55; color: var(--fg-2); max-width: 38ch; margin: 0; }

.split-half .meta-row {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-3);
  text-transform: uppercase;
}
.split-half .meta-row strong { color: #fff; font-weight: 700; }

.split-half .enter-cta {
  display: inline-flex; align-items: center; gap: 14px; align-self: flex-start;
  padding: 14px 22px; font-family: var(--font-accent); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.14); cursor: pointer;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all .25s var(--ease-out); position: relative; z-index: 2;
}
.split-half.films .enter-cta:hover { background: rgba(230,57,70,0.82); border-color: var(--ofa-films-red); backdrop-filter: none; }
.split-half.solutions .enter-cta:hover { background: rgba(47,128,237,0.82); border-color: var(--ofa-solutions-blue); backdrop-filter: none; }
.split-half .enter-cta .arr { width: 22px; height: 1px; background: currentColor; position: relative; }
.split-half .enter-cta .arr::after {
  content: ''; position: absolute; right: 0; top: -3px; width: 8px; height: 8px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg);
}

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(80px, 12vh, 140px) 40px; max-width: 1440px; margin: 0 auto; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ofa-yellow); display: block; margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 4.6vw, 72px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
  color: #fff; max-width: 16ch; margin: 0;
}
.section-head p { font-size: 16px; max-width: 36ch; color: var(--fg-2); margin: 0; }

/* ============================================================
   MANIFESTO (pinned word reveal)
   ============================================================ */
.manifesto {
  min-height: 220vh; position: relative;
  border-block: 1px solid var(--line-1);
}
.manifesto-pin {
  position: sticky; top: 0;
  height: 100vh;
  height: 100svh; /* svh = small viewport height, stable on mobile regardless of address bar */
  display: flex; align-items: center; justify-content: center;
  padding: 0 8vw;
}
.manifesto-text {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, 5.2vw, 84px); line-height: 1.05; letter-spacing: -.02em;
  color: #fff; max-width: 22ch; text-align: left;
  text-wrap: balance;
}
.manifesto-text .word { display: inline-block; transition: color .3s, opacity .3s; opacity: .12; margin-right: .25em; }
.manifesto-text .word.on { opacity: 1; }
.manifesto-text .word.accent { color: var(--ofa-yellow); }
.manifesto-text .word.films { color: var(--ofa-films-red); }
.manifesto-text .word.solutions { color: var(--ofa-solutions-blue); }
.manifesto-tag {
  position: absolute; top: 40px; left: 40px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--fg-3); text-transform: uppercase;
}

/* ============================================================
   WHAT WE DO (Create / Automate / Elevate)
   ============================================================ */
.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.do-card {
  position: relative; padding: 40px 32px 36px; min-height: 360px;
  background: var(--ofa-charcoal); border: 1px solid var(--line-1); border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  cursor: none; overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.do-card::before {
  content: ''; position: absolute; left: -120%; top: 0; bottom: 0; width: 60%;
  background: var(--ofa-yellow); transform: skewX(-12deg);
  transition: left .5s var(--ease-out);
  z-index: 0;
}
.do-card:hover { transform: translate(-3px, -3px); border-color: var(--line-2); box-shadow: 8px 8px 0 0 var(--ofa-red); }
.do-card:hover::before { left: 100%; }
.do-card > * { position: relative; z-index: 1; }
.do-card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--fg-3); }
.do-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; color: #fff; margin: 0; }
.do-card .y { color: var(--ofa-yellow); }
.do-card .b { color: var(--ofa-solutions-blue); }
.do-card .r { color: var(--ofa-films-red); }
.do-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: 32ch; }
.do-card .icon { width: 36px; height: 36px; color: var(--fg-2); }
.do-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.do-card li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; padding-left: 14px; position: relative; }
.do-card li::before { content:''; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: currentColor; }

/* ============================================================
   FEATURED FILMS — horizontal scroll
   ============================================================ */
.films-marquee { padding-block: clamp(80px, 12vh, 140px); overflow: hidden; }
.films-marquee .section-head { padding: 0 40px; max-width: 1440px; margin: 0 auto 56px; }
.films-track-wrap { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 40px 24px; -webkit-overflow-scrolling: touch; }
.films-track-wrap::-webkit-scrollbar { display: none; }
.films-track { display: flex; gap: 24px; min-width: max-content; }
.film-tile {
  width: clamp(360px, 32vw, 520px); flex: 0 0 auto;
  cursor: none; position: relative; transition: opacity 0.25s ease;
}
.film-tile .frame {
  aspect-ratio: 16/10; background: var(--ofa-charcoal); border: 1px solid var(--line-1);
  position: relative; overflow: hidden; transition: transform .3s var(--ease-out);
}
.film-tile:hover .frame { transform: scale(1.01); border-color: var(--ofa-films-red); }
.films-track:hover .film-tile { opacity: 0.4; }
.films-track:hover .film-tile:hover { opacity: 1; }
.film-tile .thumb { position: absolute; inset: 0; }
.film-tile .play-glyph {
  position: absolute; top: 16px; left: 16px;
  width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
}
.film-tile .play-glyph::after { content:''; width: 0; height: 0; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 3px; }
.film-tile .badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: #fff; text-transform: uppercase;
  padding: 6px 10px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25);
}
.film-tile .runtime {
  position: absolute; bottom: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 11px; color: #fff;
  padding: 4px 8px; background: rgba(0,0,0,.65);
}
.film-tile .meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 18px; }
.film-tile h4 { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; color: #fff; margin: 0; }
.film-tile .ctx { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--fg-3); text-transform: uppercase; margin-top: 8px; }
.film-tile .tag { font-family: var(--font-accent); font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--ofa-films-red); text-transform: uppercase; white-space: nowrap; }

/* tile artwork — generative gradient panels */
.thumb-1 { background: radial-gradient(120% 80% at 70% 40%, #ff7a00 0%, #d6282b 40%, #160404 80%); }
.thumb-2 { background: radial-gradient(80% 60% at 30% 60%, #ffc72c 0%, #ff7a00 30%, #1a0a02 70%); }
.thumb-3 { background: linear-gradient(135deg, #1a0e0e 0%, #5a1419 40%, #e63946 100%); }
.thumb-4 { background: radial-gradient(100% 80% at 50% 30%, #2c1100 0%, #160404 60%, #050505 100%); }
.thumb-5 { background: linear-gradient(160deg, #0a0a0a 0%, #1a0606 60%, #d6282b 120%); }
.thumb-6 { background: radial-gradient(80% 60% at 80% 80%, #ffc72c 0%, #421a00 50%, #050505 100%); }

/* ============================================================
   SOLUTIONS STORY — narrative + live system widget
   ============================================================ */
.solutions-story { padding: clamp(80px, 12vh, 140px) 40px; max-width: 1440px; margin: 0 auto; position: relative; }
.solutions-story::before {
  content:''; position: absolute; inset: 40px;
  background-image: linear-gradient(rgba(47,128,237,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(47,128,237,.045) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
  mask-image: radial-gradient(60% 60% at 80% 50%, #000 0%, transparent 80%);
}
.solutions-story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; position: relative; }
.solutions-story-grid h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4.6vw, 72px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; color: #fff; max-width: 14ch; }
.solutions-story-grid h2 em { font-style: normal; color: var(--ofa-solutions-blue); }
.solutions-story-grid p { color: var(--fg-2); max-width: 44ch; font-size: 16px; line-height: 1.6; margin-top: 24px; }
.solutions-story-grid .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ofa-solutions-blue); margin-bottom: 20px; }
.solutions-story-grid .cta-row { display: flex; gap: 16px; margin-top: 36px; }
.cta-blue {
  font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ofa-solutions-blue); color: #fff; padding: 14px 22px; border: 0; cursor: pointer;
  box-shadow: 4px 4px 0 0 #0a3a82; transition: transform .15s, box-shadow .15s;
}
.cta-blue:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 0 #0a3a82; }
.cta-ghost {
  font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: #fff; padding: 14px 22px; border: 1px solid var(--line-2); cursor: pointer;
}
.cta-ghost:hover { border-color: #fff; }

/* The system widget — redesigned: no connecting lines, step cards */
.sys {
  background: var(--ofa-charcoal); border: 1px solid var(--line-1);
  padding: 24px; position: relative;
  font-family: var(--font-mono); min-width: 0; overflow: hidden;
}
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Widget header */
.sys-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.sys-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 10px rgba(22,163,74,.75); flex: 0 0 auto; animation: pulseDot 2s ease-in-out infinite; }
.sys-hd-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); }
.sys-hd-ver { font-size: 10px; color: var(--fg-3); margin-left: auto; opacity: .5; }

/* Step cards — 4-col grid, no connectors */
.sys-steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.sys-step-card {
  padding: 14px 10px 12px; background: var(--bg-2); border: 1px solid var(--line-1);
  text-align: center; position: relative; transition: border-color .35s, background .35s, box-shadow .35s;
  min-height: 96px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden;
}
.sys-step-card.active {
  border-color: var(--step-color, var(--ofa-solutions-blue));
  background: rgba(47,128,237,.07);
  box-shadow: 0 0 20px rgba(47,128,237,.18);
}
.sys-step-card.done { opacity: .6; border-color: #16A34A; }
.sys-step-num { font-size: 9px; letter-spacing: .2em; color: var(--fg-3); }
.sys-step-name {
  font-family: var(--font-display); font-weight: 800; font-size: 12px; text-transform: uppercase;
  letter-spacing: .04em; color: #fff; margin-top: 2px;
}
.sys-step-card.active .sys-step-name { color: var(--step-color, var(--ofa-solutions-blue)); }
.sys-step-card.done .sys-step-name { color: #16A34A; }
.sys-step-sub { font-size: 9px; color: var(--fg-3); line-height: 1.35; margin-top: 4px; overflow-wrap: break-word; word-break: break-word; }
.sys-step-live { font-size: 9px; color: var(--step-color, var(--ofa-solutions-blue)); margin-top: 4px; letter-spacing: .04em; overflow-wrap: break-word; word-break: break-word; }
.sys-step-check { position: absolute; top: 7px; right: 8px; color: #16A34A; font-size: 11px; }

/* Progress bar */
.sys-prog-wrap { height: 2px; background: var(--line-1); margin: 16px 0 0; border-radius: 1px; overflow: hidden; }
.sys-prog-fill { height: 100%; background: var(--ofa-solutions-blue); transition: width .55s var(--ease-out); border-radius: 1px; }

/* Current action */
.sys-action { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-1); margin-bottom: 0; height: 44px; overflow: hidden; }
.sys-action-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ofa-solutions-blue); flex: 0 0 auto; animation: pulseDot 1.5s ease-in-out infinite; }
.sys-action-text { font-size: 10px; color: var(--fg-2); letter-spacing: .06em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sys-action-step { font-size: 9px; color: var(--fg-3); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }

.sys-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line-1); margin-top: 16px; }
.sys-stats > div { background: var(--ofa-charcoal); padding: 14px; }
.sys-stats .n { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: #fff; line-height: 1; letter-spacing: -.02em; }
.sys-stats .l { font-size: 10px; letter-spacing: .24em; color: var(--fg-3); text-transform: uppercase; margin-top: 4px; font-family: var(--font-mono); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
.process-step {
  padding: 36px 28px; border-right: 1px solid var(--line-1); position: relative; min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background .3s;
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: rgba(255,199,44,.04); }
.process-step .top { display: flex; align-items: center; justify-content: space-between; }
.process-step .num { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .04em; color: var(--ofa-yellow); }
.process-step .icon { width: 24px; height: 24px; color: var(--fg-2); }
.process-step h4 { font-family: var(--font-display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; color: #fff; margin: 0; }
.process-step p { font-size: 13.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ============================================================
   JOURNAL
   ============================================================ */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.journal-card {
  padding: 28px 24px; background: var(--ofa-charcoal); border: 1px solid var(--line-1);
  display: flex; flex-direction: column; gap: 18px; min-height: 280px; cursor: none;
  transition: border-color .3s, transform .3s;
}
.journal-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.journal-card .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; color: var(--ofa-yellow); text-transform: uppercase; }
.journal-card .tag.films { color: var(--ofa-films-red); }
.journal-card .tag.solutions { color: var(--ofa-solutions-blue); }
.journal-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; color: #fff; margin: 0; max-width: 18ch; }
.journal-card .meta { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; }
.journal-card .read { display: inline-flex; align-items: center; gap: 8px; }
.journal-card .read::after { content:''; width: 16px; height: 1px; background: currentColor; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--ofa-yellow); color: var(--ofa-ink); padding: clamp(64px, 10vw, 120px) 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content:''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,11,11,.18) 1px, transparent 1.5px);
  background-size: 14px 14px; mask-image: linear-gradient(180deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.cta-block .inner { position: relative; max-width: 1100px; margin: 0 auto; }
.cta-block h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; margin: 0 auto 28px; max-width: 14ch; }
.cta-block h2 em { font-style: normal; color: var(--ofa-red); -webkit-text-stroke: 0; }
.cta-block p { font-size: 18px; color: rgba(11,11,11,.74); margin: 0 auto 40px; max-width: 50ch; }
.cta-block .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-block .pri { background: var(--ofa-ink); color: var(--ofa-yellow); border: 0; box-shadow: 6px 6px 0 0 var(--ofa-red); padding: 18px 28px; font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.cta-block .pri:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 0 var(--ofa-red); }
.cta-block .gst { background: transparent; color: var(--ofa-ink); border: 1px solid var(--ofa-ink); padding: 18px 28px; font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cta-block .gst:hover { background: var(--ofa-ink); color: var(--ofa-yellow); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050505; padding: 80px 40px 32px; border-top: 1px solid var(--line-1); }
.footer-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 24px; }
.footer-brand p { color: var(--fg-3); font-size: 13.5px; max-width: 32ch; }
.footer h5 { font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ofa-yellow); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--fg-2); font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  max-width: 1440px; margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-3);
}
.footer-bottom .closing { color: var(--ofa-yellow); font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }



/* Reveal animations triggered by IntersectionObserver via .in class */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.1,1), transform .8s cubic-bezier(.2,.7,.1,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.reveal-x { transform: translateX(40px); }
.reveal.reveal-x.in { transform: none; }



/* ============================================================
   TWEAKS — comic intensity / identity bias / cursor mode / type scale
   ============================================================ */

/* — Comic intensity ————————————————————————————————— */
body.cm-off .tagline .y,
body.cm-off .tagline .b,
body.cm-off .tagline .r { text-shadow: none; }
body.cm-off .hero-logo-wrap img { filter: drop-shadow(0 0 24px rgba(255,199,44,0.10)); }
body.cm-off .hero::before { background:
  radial-gradient(800px 480px at 50% 36%, rgba(255,199,44,0.08), transparent 60%),
  radial-gradient(900px 600px at 80% 100%, rgba(214,40,43,0.06), transparent 60%); }
body.cm-off .cta-pill { box-shadow: 2px 2px 0 0 var(--ofa-red); }
body.cm-max .tagline .y { text-shadow: 6px 6px 0 var(--ofa-red), 0 0 24px rgba(255,199,44,.4); }
body.cm-max .tagline .b { text-shadow: 6px 6px 0 #0a3a82, 0 0 24px rgba(47,128,237,.4); }
body.cm-max .tagline .r { text-shadow: 6px 6px 0 #5a1419, 0 0 24px rgba(230,57,70,.4); }
body.cm-max .hero-logo-wrap img { filter: drop-shadow(0 0 90px rgba(255,199,44,0.32)); }
body.cm-max .cta-pill { box-shadow: 6px 6px 0 0 var(--ofa-red); }
body.cm-max .cta-pill:hover { box-shadow: 8px 8px 0 0 var(--ofa-red); }
body.cm-max .hero::after {
  background-image:
    radial-gradient(circle at center, rgba(255,199,44,0.12) 1px, transparent 1.6px),
    linear-gradient(180deg, transparent 0%, rgba(11,11,11,0.9) 92%);
  background-size: 14px 14px, 100% 100%;
  background-repeat: repeat, no-repeat;
  opacity: 1;
}

/* — Identity bias ————————————————————————————————— */
body { --bias-accent: var(--ofa-yellow); --bias-strength: 0; }
.cta-pill { box-shadow: 4px 4px 0 0 color-mix(in srgb, var(--ofa-red) calc((1 - var(--bias-strength)) * 100%), var(--bias-accent) calc(var(--bias-strength) * 100%)); }
.hero-eyebrow::before, .hero-eyebrow::after { background: color-mix(in srgb, var(--ofa-yellow) calc((1 - var(--bias-strength)) * 100%), var(--bias-accent) calc(var(--bias-strength) * 100%)); }
.scroll-hint .line { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ofa-yellow) calc((1 - var(--bias-strength)) * 100%), var(--bias-accent) calc(var(--bias-strength) * 100%))); }
.scroll-hint span:first-child { color: color-mix(in srgb, var(--ofa-yellow) calc((1 - var(--bias-strength)) * 100%), var(--bias-accent) calc(var(--bias-strength) * 100%)); }

/* — Cursor mode ————————————————————————————————— */
body.cur-stripped { cursor: auto; }
body.cur-stripped .cursor-dot,
body.cur-stripped .cursor-ring,
body.cur-stripped .cursor-glow { display: none; }
body.cur-cinema::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 70;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* — Type scale ————————————————————————————————— */
/* Display: everything goes louder */
body.type-display h1 { font-size: clamp(56px, 8.5vw, 116px); }
body.type-display h2 { font-size: clamp(40px, 6vw, 78px); }
body.type-display .hero-logo-wrap { width: min(1000px, 86vw); }
body.type-display .tagline { font-size: clamp(22px, 2.8vw, 36px); }
body.type-display .manifesto-text { font-size: clamp(32px, 6vw, 96px); }

/* Refined: editorial restraint */
body.type-refined h1 { font-size: clamp(36px, 5vw, 72px); }
body.type-refined h2 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; }
body.type-refined .hero-logo-wrap { width: min(660px, 58vw); }
body.type-refined .tagline { font-size: clamp(14px, 1.6vw, 22px); gap: clamp(14px, 2.5vw, 40px); }
body.type-refined .manifesto-text { font-size: clamp(22px, 3.6vw, 58px); line-height: 1.15; }
body.type-refined .do-card h3 { font-size: 40px; }

/* Reveal animations triggered by IntersectionObserver via .in class */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.1,1), transform .8s cubic-bezier(.2,.7,.1,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.reveal-x { transform: translateX(40px); }
.reveal.reveal-x.in { transform: none; }
/* ============================================================
   RESPONSIVE — tablet + mobile
   ============================================================ */

/* ── 1100px tablet ─────────────────────────────────── */
@media (max-width: 1100px) {
  .do-grid, .process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-step:nth-child(2n) { border-right: 0; }
  .solutions-story-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sys-steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-logo-wrap { width: min(700px, 80vw); }
}

/* ── 768px mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Header — burger (left) | CTA (right), no logo on mobile */
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    /* Force GPU layer so fixed header doesn't cause black bars during fast scroll */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Lighter backdrop-filter — heavy blur triggers repaint flashes on mobile */
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }
  .burger { display: flex; }
  .site-header .brand { display: none; }
  .header-cta { display: flex; align-items: center; }
  .site-header nav { display: none; }
  .mobile-nav-drawer { display: flex; }
  .cta-pill { padding: 7px 12px; font-size: 10px; letter-spacing: 0.06em; }
  .cta-pill .arr { display: none; }

  /* Cinema vignette is too aggressive on narrow screens — disable it */
  body.cur-cinema::before { display: none; }

  /* cm-max dark gradient in hero::after kills corners on mobile — neutralise it */
  body.cm-max .hero::after {
    background-image: radial-gradient(circle at center, rgba(255,199,44,0.10) 1px, transparent 1.6px);
    background-size: 14px 14px;
    background-repeat: repeat;
  }

  /* Widen the base hero::after mask so grid lines don't create a visible box edge */
  .hero::after {
    mask-image: radial-gradient(95% 85% at 50% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(95% 85% at 50% 50%, #000 20%, transparent 75%);
  }

  /* Hero — top padding clears 52px header; content vertically centred */
  .hero { padding: 72px 24px 48px; min-height: 80vh; justify-content: center; }
  .hero-logo-wrap { width: min(300px, 84vw); }
  .hero-eyebrow { font-size: 9.5px; letter-spacing: .16em; gap: 8px; margin-bottom: 16px; }
  .tagline { gap: 12px; margin-top: 20px; font-size: clamp(15px, 4.2vw, 22px); }
  /* Reduce text-shadow depth on mobile so it doesn't look doubled */
  .tagline .y { text-shadow: 2px 2px 0 var(--ofa-red); }
  .tagline .b { text-shadow: 2px 2px 0 #0a3a82; }
  .tagline .r { text-shadow: 2px 2px 0 #5a1419; }
  body.cm-max .tagline .y { text-shadow: 3px 3px 0 var(--ofa-red), 0 0 12px rgba(255,199,44,.25); }
  body.cm-max .tagline .b { text-shadow: 3px 3px 0 #0a3a82, 0 0 12px rgba(47,128,237,.25); }
  body.cm-max .tagline .r { text-shadow: 3px 3px 0 #5a1419, 0 0 12px rgba(230,57,70,.25); }
  .scroll-hint { bottom: 10px; font-size: 8px; letter-spacing: .16em; gap: 4px; }
  .scroll-hint .line { height: 16px; }

  /* Hide custom cursor on mobile — more reliable than hover:none alone */
  .cursor-dot, .cursor-ring, .cursor-glow { display: none !important; }
  body { cursor: auto !important; }

  /* Prevent CTA pill shadow from creating edge overflow glitch */
  .cta-pill { box-shadow: none !important; overflow: hidden; }

  /* Split */
  .split { grid-template-columns: 1fr; }
  .split-half { min-height: 75vh; padding: 60px 28px 44px; }
  .split-half .corner-num { top: 20px; left: 28px; font-size: 10px; }
  .split-half.solutions .corner-num { left: auto; right: 28px; }
  .split-divider { position: relative; left: auto; top: auto; bottom: auto;
    width: 100%; height: 1px; transform: none; }
  .split-half h2 { font-size: clamp(28px, 6vw, 44px); }
  .split-half .lockup img { width: min(240px, 70vw); }

  /* Manifesto */
  .manifesto { min-height: 300vh; }
  .manifesto-text {
    font-size: clamp(24px, 6.5vw, 44px);
    padding: 0;                /* remove extra padding — pin already handles spacing */
    width: calc(100vw - 64px); /* fixed stable width prevents centering jumps */
    max-width: 22ch;
    text-wrap: auto;           /* disable balance — triggers reflow during scroll */
  }

  /* What We Do */
  .do-grid { grid-template-columns: 1fr; }
  .do-card { min-height: 280px; }
  .do-card h3 { font-size: 44px; }

  /* Films row */
  .film-tile { width: clamp(280px, 82vw, 380px); }
  .films-marquee .section-head { padding: 0 24px; }
  .films-track-wrap { padding: 0 24px 16px; }

  /* Solutions story */
  .solutions-story { padding: 64px 24px; }
  .sys-steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }

  /* Sections */
  .section { padding: 64px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }

  /* Process */
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line-1); min-height: auto; }

  /* CTA */
  .cta-block { padding: 64px 24px; }
  .cta-block h2 { font-size: clamp(40px, 10vw, 72px); }
  .cta-block .ctas { flex-direction: column; align-items: center; }
  .cta-block .pri, .cta-block .gst { width: 100%; max-width: 320px; text-align: center; justify-content: center; display: flex; }

  /* Footer */
  .footer { padding: 56px 24px 24px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Misc */
  .solutions-story-grid .cta-row { flex-wrap: wrap; }
  .cta-blue, .cta-ghost { width: 100%; text-align: center; }
}

/* ── 480px small phone ─────────────────────────────── */
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .sys-steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-half { padding: 52px 20px 36px; }
  .split-half .lockup img { width: min(200px, 80vw); }
  .tagline { flex-direction: column; align-items: center; gap: 8px; }
  .hero-eyebrow { display: flex; font-size: 9px; letter-spacing: .14em; gap: 8px; }
}
