*, *::before, *::after { box-sizing: border-box; }

:root {
  --font-head: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  --ease-io: cubic-bezier(.77,0,.18,1);
  --font-sub: 'Just Sans', 'Outfit', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --brand-red: #CC0000;
  --brand-red-dark: #990000;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.theme-dark {
  --bg-primary: #0A0A0A; --bg-secondary: #141414; --text-primary: #F9F9F7;
  --text-muted: #999990; --line-color: rgba(255,255,255,0.12); --card-bg: #141414;
  --logo-text-color: #FFFFFF;
  --overlay-hero: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 75%, #0A0A0A 100%);
}

body.theme-light {
  --bg-primary: #F9F9F7; --bg-secondary: #F0F0EC; --text-primary: #0A0A0A;
  --text-muted: #666660; --line-color: rgba(0,0,0,0.12); --card-bg: #FFFFFF;
  --logo-text-color: #0A0A0A;
  --overlay-hero: linear-gradient(to bottom, rgba(249,249,247,0.3) 0%, rgba(249,249,247,0.85) 75%, #F9F9F7 100%);
}

::selection { background: var(--brand-red); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
[hidden] { display: none !important; }

.font-sub { font-family: var(--font-sub); font-weight: 500; }
.eyebrow {
  font-family: var(--font-sub); font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand-red); display: block; margin-bottom: 8px;
}
.hint {
  font-family: var(--font-sub); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 896px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) {
  .container, .container-narrow, .nav-inner, .footer-inner, .stats-grid { padding-left: 48px; padding-right: 48px; }
}

/* Viewfinder corners and custom cursor */
.vf-corner {
  position: fixed; width: 20px; height: 20px; pointer-events: none; z-index: 40;
  border-color: var(--text-primary); opacity: 0.3; border-style: solid; border-width: 0;
}
.vf-tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; }
.vf-tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; }
.vf-bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; }
.vf-br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; }

#cur-dot {
  width: 6px; height: 6px; background: var(--brand-red); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
}
#cur-ring {
  width: 36px; height: 36px; border: 1.5px solid var(--text-primary); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* Navigation */
nav.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  border-bottom: 1px solid var(--line-color); backdrop-filter: blur(12px);
  transition: color 0.3s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover .emblem { transform: scale(1.05); }
.emblem { width: 36px; height: 36px; color: var(--brand-red); flex-shrink: 0; transition: transform 0.3s; }
.emblem-sm { width: 24px; height: 24px; color: var(--brand-red); flex-shrink: 0; }
.logo-word {
  font-family: var(--font-head); font-size: 20px; letter-spacing: 0.025em; font-weight: 400;
  color: var(--logo-text-color); display: flex; align-items: center; transition: color 0.3s;
}
.logo-word .flip { display: inline-block; transform: scaleX(-1); }
.logo-word .apos { color: var(--brand-red); font-weight: 700; margin-left: 2px; }
.logo-sub {
  font-family: var(--font-sub); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 2px; display: block;
}
.nav-links { display: none; gap: 32px; }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; } }
.nav-links a, .footer-links a {
  font-family: var(--font-sub); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-primary); transition: color 0.2s;
}
.nav-links a:hover, .footer-links a:hover { color: var(--brand-red); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-right .btn-red { padding: 10px 24px; }
.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 24px; background: var(--brand-red); color: #fff;
  font-family: var(--font-sub); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; border-radius: 4px; border: 0; cursor: pointer;
  transition: background-color 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-red:hover { background: var(--brand-red-dark); }

/* Theme switch (moon / sun) */
.theme-switch {
  position: fixed; top: 108px; right: 24px; z-index: 45;
  display: flex; align-items: center; justify-content: space-between;
  width: 104px; height: 48px; padding: 0 12px;
  border-radius: 999px; border: 2px solid #3a3a3a; background: #161616; cursor: pointer;
}
.theme-switch-knob {
  position: absolute; top: 4px; left: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-red); transition: transform 0.3s ease;
}
.theme-switch[aria-checked="true"] .theme-switch-knob { transform: translateX(56px); }
.theme-switch-icon { position: relative; z-index: 1; width: 16px; height: 16px; }
.theme-switch-moon { color: #ffffff; }
.theme-switch-sun { color: #8a8a86; }

/* Hero */
#hero {
  position: relative; width: 100%; min-height: 100vh; display: flex; align-items: flex-end;
  padding: 128px 24px 80px; border-bottom: 1px solid var(--line-color); overflow: hidden;
}
@media (min-width: 1024px) { #hero { padding-left: 48px; padding-right: 48px; } }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg img {
  width: 100vw; height: 100vh; object-fit: cover; position: absolute; top: 50%; left: 50%;
  transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1.08);
  pointer-events: none; opacity: 0.45; filter: brightness(0.7);
  transition: transform 0.6s ease-out;
}
.hero-overlay { position: absolute; inset: 0; background: var(--overlay-hero); z-index: 10; pointer-events: none; }

.hero-badge {
  position: absolute; top: 112px; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: center; padding: 0 24px;
}
.hero-badge span {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-primary); text-align: center; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-color); background: var(--bg-secondary);
}

.hud {
  position: absolute; z-index: 20; display: none; align-items: center; gap: 24px;
  font-family: var(--font-sub); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); top: 176px;
}
@media (min-width: 640px) { .hud { display: flex; } }
.hud-left { left: 24px; }
.hud-right { right: 24px; gap: 8px; }
@media (min-width: 1024px) { .hud-left { left: 48px; } .hud-right { right: 48px; } }
.hud .cam { color: var(--brand-red); font-weight: 600; }
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red);
  animation: recPulse 1.8s infinite ease-in-out;
}
@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.hero-content { position: relative; z-index: 20; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-title {
  font-family: var(--font-head); font-size: clamp(1.5rem, 4.2vw, 4.2rem); font-weight: 400;
  text-transform: uppercase; white-space: nowrap; line-height: 1; color: var(--text-primary);
  margin-bottom: 8px;
}
.hero-title em { color: var(--brand-red); font-style: italic; font-weight: 300; }
.hero-sub {
  font-family: var(--font-sub); font-size: clamp(0.85rem, 1.7vw, 1.65rem); font-weight: 400;
  max-width: 860px; color: var(--text-muted); margin-bottom: 32px;
}
.hero-body { max-width: 672px; margin-bottom: 40px; color: var(--text-muted); }
.hero-body strong { color: var(--text-primary); font-weight: 600; }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.btn-lg {
  width: 100%; padding: 16px 32px; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-sub); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; border-radius: 4px; transition: all 0.2s;
}
@media (min-width: 640px) { .btn-lg { width: auto; } }
.btn-lg.red { background: var(--brand-red); color: #fff; }
.btn-lg.red:hover { background: var(--brand-red-dark); }
.btn-lg.ghost { border: 1px solid var(--line-color); color: var(--text-primary); background: var(--bg-secondary); }
.btn-lg.ghost:hover { border-color: var(--brand-red); }
.btn-lg svg { width: 16px; height: 16px; }
.btn-lg .play-icon { color: var(--brand-red); fill: currentColor; }

/* Sections */
section.block { padding: 96px 0; border-bottom: 1px solid var(--line-color); }
.bg-secondary { background: var(--bg-secondary); }
.section-head { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; } }
.section-head h2 { font-size: 30px; text-transform: uppercase; color: var(--text-primary); }
@media (min-width: 1024px) { .section-head h2 { font-size: 36px; } }
.section-head .lead { color: var(--text-muted); font-size: 14px; max-width: 448px; }

/* Stats */
#stats { padding: 64px 0; border-bottom: 1px solid var(--line-color); background: var(--bg-secondary); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-family: var(--font-head); font-size: 36px; color: var(--text-primary); }
@media (min-width: 1024px) { .stat-value { font-size: 48px; } }
.stat-value .suffix { color: var(--brand-red); }
.stat-label {
  display: block; margin-top: 8px; font-family: var(--font-sub); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line-color); background: var(--card-bg); border-radius: 4px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--brand-red); }

.service-card {
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.25s ease-out, border-color 0.2s;
  will-change: transform;
  background-image: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), var(--card-spot, rgba(0, 0, 0, 0.32)), transparent 62%);
}
.service-card h3 { font-size: 20px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.service-card a {
  font-family: var(--font-sub); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-red); margin-top: 32px; display: block;
}

/* Work */
.project {
  text-align: left; cursor: pointer; overflow: hidden; padding: 0; width: 100%;
  display: block;
}
.project .thumb { position: relative; aspect-ratio: 16 / 9; background: #171717; overflow: hidden; }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project:hover .thumb img { transform: scale(1.05); }
.project .shade {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center; transition: background-color 0.2s;
}
.project:hover .shade { background: rgba(0,0,0,0.2); }
.play {
  width: 48px; height: 48px; border-radius: 50%; background: var(--brand-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); transition: transform 0.2s;
}
.project:hover .play { transform: scale(1.1); }
.play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.project .info { padding: 24px; }
.project .tag {
  font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); text-transform: uppercase;
  letter-spacing: 0.1em; display: block; margin-bottom: 4px;
}
.project h3 { font-size: 18px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 8px; }
.project p { font-size: 12px; color: var(--text-muted); }

.see-more { display: flex; justify-content: center; margin-bottom: 80px; }
.btn-outline {
  padding: 16px 32px; border: 1px solid var(--line-color); color: var(--text-primary);
  font-family: var(--font-sub); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; border-radius: 4px; background: var(--bg-secondary);
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--brand-red); }

.framework { padding: 32px; border: 1px solid var(--line-color); background: var(--bg-secondary); border-radius: 4px; }
@media (min-width: 1024px) { .framework { padding: 48px; } }
.framework h3 { font-size: 24px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 32px; }
.phases { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase .label {
  font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); letter-spacing: 0.1em;
  display: block; margin-bottom: 8px;
}
.phase h4 { font-size: 18px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 8px; }
.phase p { font-size: 12px; color: var(--text-muted); line-height: 1.65; }

/* Clients (logos to be added) */
#clients .client-title { font-size: 30px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 48px; }

/* Story */
.story h2 { font-size: 30px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 24px; }
@media (min-width: 1024px) { .story h2 { font-size: 36px; } }
.story p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.65; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-color); }
.facts .k {
  font-family: var(--font-sub); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-primary); display: block; margin-bottom: 4px;
}
.facts .v { font-size: 14px; color: var(--text-muted); }

/* Contact */
.contact-head { text-align: center; margin-bottom: 64px; }
.contact-head h2 { font-size: 30px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 16px; }
@media (min-width: 1024px) { .contact-head h2 { font-size: 36px; } }
.contact-head p { color: var(--text-muted); font-size: 14px; max-width: 512px; margin: 0 auto; }
form.brief { display: flex; flex-direction: column; gap: 24px; }
.row-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; margin-bottom: 8px; font-family: var(--font-sub); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-primary);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line-color); border-radius: 4px;
  background: var(--card-bg); color: var(--text-primary); font-size: 14px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-red); }
.field textarea { resize: vertical; }
.btn-submit {
  width: 100%; padding: 16px; background: var(--brand-red); color: #fff; border: 0; border-radius: 4px;
  font-family: var(--font-sub); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: background-color 0.2s;
}
.btn-submit:hover { background: var(--brand-red-dark); }
.success {
  padding: 16px; border-radius: 4px; background: rgba(16,185,129,0.1); border: 1px solid #10b981;
  color: #10b981; font-family: var(--font-sub); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.05em; text-align: center;
}

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--line-color); background: var(--bg-primary); }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand span {
  font-family: var(--font-sub); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}
.footer-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-links .sep { color: var(--text-primary); }
.footer-links a { font-size: 12px; letter-spacing: 0.05em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.9); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox-frame {
  position: relative; width: 100%; max-width: 1024px; aspect-ratio: 16 / 9; border-radius: 4px;
  overflow: hidden; background: #000; box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; z-index: 10; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.2); color: #fff; font-size: 16px; cursor: pointer;
  transition: background-color 0.2s;
}
.lightbox-close:hover { background: var(--brand-red); }

@media (hover: none), (pointer: coarse) { #cur-dot, #cur-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Copy update additions */
.client-sub { color: var(--text-muted); margin: -32px 0 32px; }
.client-list { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.client-list span { font-family: var(--font-head); font-size: 22px; text-transform: uppercase; color: var(--text-muted); }
.founder { margin: 8px 0 40px; padding: 24px; border-left: 3px solid var(--brand-red); background: var(--bg-secondary); }
.founder-name { font-family: var(--font-head); font-size: 20px; color: var(--text-primary); margin: 0 0 8px !important; }
.founder-quote { font-style: italic; margin: 0 !important; }
.faq-title { font-size: 30px; text-transform: uppercase; margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line-color); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-color); }
.faq summary { cursor: pointer; font-family: var(--font-sub); font-weight: 500; font-size: 16px; color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-red); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-muted); margin-top: 12px; font-size: 14px; }
.tg-btn { display: inline-block; margin-top: 24px; }
@media (max-width: 639px) { .hero-badge { top: 172px; } }

/* =========================================================
   v3: layout, interaction & motion layer
   ========================================================= */

:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
body.no-scroll, body.menu-open { overflow: hidden; }

/* Cursor: dot + easing focus ring (fine pointers only) */
#cur-dot, #cur-ring { display: none; left: 0; top: 0; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor .project { cursor: none; }
body.has-cursor #cur-dot { display: block; margin: -3px 0 0 -3px; transform: none; transition: opacity .2s; }
body.has-cursor #cur-ring { display: block; width: 0; height: 0; border: 0; transform: none; transition: opacity .2s; }
#cur-ring::before {
  content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--text-primary); transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background-color .3s, border-color .3s;
}
.cur-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font-family: var(--font-sub); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff;
  transition: opacity .25s, transform .35s var(--ease); white-space: nowrap;
}
body.cur-hover #cur-ring::before { width: 56px; height: 56px; border-color: var(--brand-red); }
body.cur-play #cur-ring::before { width: 84px; height: 84px; background: var(--brand-red); border-color: var(--brand-red); }
body.cur-play .cur-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
body.cur-play #cur-dot { opacity: 0; }
body.cur-text #cur-ring, body.cur-out #cur-ring, body.cur-out #cur-dot { opacity: 0; }
body.cur-down #cur-ring::before { width: 28px; height: 28px; }
body.has-cursor .project:hover .play { opacity: 0; transform: scale(.6); }

/* Playhead progress bar */
.playhead {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--brand-red);
  transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none;
}

/* Intro shutter */
.shutter {
  position: fixed; left: 0; right: 0; height: 50.5vh; background: #050505; z-index: 300; pointer-events: none;
  transition: transform 1s var(--ease-io) .15s;
}
.shutter-top { top: 0; }
.shutter-bottom { bottom: 0; }
body.is-loaded .shutter-top { transform: translateY(-100%); }
body.is-loaded .shutter-bottom { transform: translateY(100%); }

/* Hero title rises line by line after the shutter */
.hero-title .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease) .75s; }
.hero-title .line + .line > span { transition-delay: .87s; }
body.is-loaded .hero-title .line > span { transform: none; }
.hero-sub, .hero-body, .hero-ctas, .hero-badge, .hud { opacity: 0; transition: opacity .8s ease 1.1s; }
body.is-loaded .hero-sub, body.is-loaded .hero-body, body.is-loaded .hero-ctas,
body.is-loaded .hero-badge, body.is-loaded .hud { opacity: 1; }
.timecode { font-variant-numeric: tabular-nums; color: var(--text-primary); margin-left: 8px; }

/* Nav: solid on scroll, active link, compact theme switch, mobile menu */
nav.site-nav { transition: background-color .3s, border-color .3s; }
nav.site-nav.is-scrolled { background: color-mix(in srgb, var(--bg-primary) 82%, transparent); }
.nav-inner { transition: height .3s var(--ease); }
nav.site-nav.is-scrolled .nav-inner { height: 72px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brand-red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--brand-red); }

.nav-right { gap: 16px; }
.theme-switch {
  position: relative; top: auto; right: auto; z-index: auto;
  width: 60px; height: 30px; padding: 0 7px; border-width: 1px; border-color: var(--line-color);
  background: var(--bg-secondary); transition: border-color .2s;
}
.theme-switch:hover { border-color: var(--brand-red); }
.theme-switch-knob { top: 3px; left: 3px; width: 22px; height: 22px; transition: transform .35s var(--ease); }
.theme-switch[aria-checked="true"] .theme-switch-knob { transform: translateX(30px); }
.theme-switch-icon { width: 12px; height: 12px; }
body.theme-light .theme-switch-moon { color: #8a8a86; }
body.theme-light .theme-switch-sun { color: #fff; }

.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 40px; height: 40px; padding: 0 9px; background: none; border: 1px solid var(--line-color); border-radius: 4px; cursor: pointer;
}
.menu-btn span { display: block; height: 1.5px; background: var(--text-primary); transition: transform .3s var(--ease); }
body.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 768px) { .menu-btn { display: none; } }
@media (max-width: 767px) {
  .nav-cta { display: none; }
  .nav-inner { height: 72px; }
}
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--bg-primary);
  display: flex; flex-direction: column; gap: 4px; padding: 32px 24px;
  animation: menuIn .35s var(--ease);
}
.mobile-menu a:not(.btn-red) {
  font-family: var(--font-head); font-size: 34px; text-transform: uppercase; color: var(--text-primary);
  padding: 10px 0; border-bottom: 1px solid var(--line-color);
}
.mobile-menu .btn-red { margin-top: 24px; padding: 16px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.hero-badge { top: 116px; }
@media (max-width: 639px) { .hero-badge { top: 96px; } }

/* Buttons: smooth magnetic return */
.btn-lg, .nav-cta, .btn-submit { transition: transform .4s var(--ease), background-color .2s, border-color .2s; }
.btn-lg.red svg { transition: transform .3s var(--ease); }
.btn-lg.red:hover svg { transform: translateX(4px); }

/* Reveal (cards only) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .2s; }
.reveal.is-in { opacity: 1; transform: none; }
.service-card.reveal.is-in { transition: opacity .7s var(--ease), transform .25s ease-out, border-color .2s; }

/* Work: filters, card hover, clip label */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -32px 0 40px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-color); background: transparent;
  font-family: var(--font-sub); font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--text-primary); border-color: var(--text-muted); }
.chip.is-active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.work-grid { margin-bottom: 48px; }
.project { position: relative; transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s; }
.project.is-out { opacity: 0 !important; transform: scale(.97) !important; transition: opacity .2s, transform .2s; }
.project .thumb img { transition: transform .9s var(--ease), filter .5s; filter: saturate(.85); }
.project:hover .thumb img { transform: scale(1.06); filter: saturate(1.05); }
.project .play { transition: transform .35s var(--ease), opacity .25s; }
.project .frame-no {
  position: absolute; left: 12px; top: 10px; font-family: var(--font-sub); font-size: 11px; letter-spacing: .08em;
  color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums;
}
.project .frame-no::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red);
  margin-right: 6px; vertical-align: 1px; opacity: 0; transition: opacity .2s;
}
.project:hover .frame-no::before { opacity: 1; animation: recPulse 1.4s infinite; }
.project .info h3 { transition: color .25s; }
.project:hover .info h3 { color: var(--brand-red); }

/* Framework phases: red rule draws in on hover */
.phase { position: relative; padding-top: 16px; border-top: 1px solid var(--line-color); }
.phase::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--brand-red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.phase:hover::before { transform: scaleX(1); }

/* Clients marquee */
.marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .client-list { flex-wrap: nowrap; padding-right: 40px; }
.marquee .client-list span { white-space: nowrap; transition: color .25s; }
.marquee .client-list span:hover { color: var(--text-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ */
.faq summary::after { transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: '+'; transform: rotate(45deg); }
.faq details[open] p { animation: menuIn .35s var(--ease); }

/* Form polish */
.field input, .field select, .field textarea { transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(0,0,0,.28); }
body.theme-light .field input:focus, body.theme-light .field select:focus, body.theme-light .field textarea:focus { box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #e5484d; }
.success { animation: menuIn .4s var(--ease); }

/* Lightbox open/close */
.lightbox { opacity: 0; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; }
.lightbox-frame { transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.is-open .lightbox-frame { transform: none; }
.lightbox-caption {
  position: absolute; left: 16px; bottom: 12px; z-index: 5; margin: 0; pointer-events: none;
  font-family: var(--font-sub); font-size: 13px; color: rgba(255,255,255,.8);
}

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .shutter { display: none; }
  .hero-title .line > span, .reveal { transform: none !important; opacity: 1 !important; }
  .hero-sub, .hero-body, .hero-ctas, .hero-badge, .hud { opacity: 1 !important; }
  .marquee-track { animation: none !important; }
}
.project .thumb img { color: transparent; font-size: 0; }
@media (max-width: 639px) { .hero-title { white-space: normal; font-size: 46px; line-height: 1.02; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-submit:disabled { opacity: .7; cursor: progress; }
.form-error { padding: 16px; border-radius: 4px; background: rgba(229,72,77,.1); border: 1px solid #e5484d; color: #e5484d; font-size: 14px; text-align: center; }
.form-error a { text-decoration: underline; }

.chat-btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.chat-or { width: 100%; font-size: 13px; color: var(--text-muted); }
.chat-btn { display: inline-flex; align-items: center; gap: 10px; }
.chat-btn svg { width: 18px; height: 18px; color: var(--brand-red); transition: transform .3s var(--ease); }
.chat-btn:hover svg { transform: scale(1.12); }

/* =========================================================
   How it works: steps, pricing, build-your-video demo
   ========================================================= */
#how .section-head { margin-bottom: 56px; }

/* Steps with a red line that draws across */
.steps {
  list-style: none; margin: 0 0 72px; padding: 0; position: relative;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps::before, .steps::after {
  content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-color);
}
.steps::after { background: var(--brand-red); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .1s; }
.steps.is-in::after { transform: scaleX(1); }
@media (max-width: 767px) { .steps::before, .steps::after { display: none; } }
.step { position: relative; }
.step-no {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-color); background: var(--bg-primary);
  font-family: var(--font-head); font-size: 18px; color: var(--text-primary); margin-bottom: 20px;
  transition: background-color .4s, border-color .4s, color .4s;
}
.steps.is-in .step-no { border-color: var(--brand-red); }
.steps.is-in .step:nth-child(1) .step-no { transition-delay: .1s; }
.steps.is-in .step:nth-child(2) .step-no { transition-delay: .45s; }
.steps.is-in .step:nth-child(3) .step-no { transition-delay: .8s; }
.steps.is-in .step:nth-child(4) .step-no { transition-delay: 1.15s; }
.step:hover .step-no { background: var(--brand-red); color: #fff; }
.step h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); max-width: 30ch; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-factors, .price-table { border: 1px solid var(--line-color); border-radius: 4px; padding: 32px; background: var(--bg-secondary); }
.pricing h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 20px; }
.price-factors dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-factors dt { font-family: var(--font-sub); font-weight: 600; font-size: 14px; color: var(--text-primary); }
.price-factors dd { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.price-table ul { list-style: none; margin: 0; padding: 0; }
.price-table li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-color); font-size: 14px; color: var(--text-muted);
}
.price-table li strong { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--text-primary); white-space: nowrap; }
.price-note { margin-top: 16px !important; font-size: 13px; color: var(--text-muted); }

/* Builder */
.builder {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
  border: 1px solid var(--line-color); border-radius: 4px; padding: 32px; background: var(--card-bg);
}
@media (min-width: 1024px) { .builder { grid-template-columns: 1.35fr 1fr; padding: 48px; gap: 48px; } }
.builder-title { font-size: 26px; text-transform: uppercase; margin-bottom: 28px; }
.pick { border: 0; margin: 0 0 28px; padding: 0; }
.pick:last-child { margin-bottom: 0; }
.pick legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-family: var(--font-sub); font-weight: 500; font-size: 15px; color: var(--text-primary); }
.pick-no {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-color); font-size: 12px; color: var(--text-muted); transition: all .3s var(--ease);
}
.pick.answered .pick-no { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  position: relative; overflow: hidden; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-color);
  background: transparent; font-family: var(--font-sub); font-size: 14px; color: var(--text-muted); cursor: pointer;
  transition: color .25s, border-color .25s;
}
.opt::before {
  content: ''; position: absolute; inset: 0; background: var(--brand-red); border-radius: inherit;
  transform: scale(0); opacity: 0; transition: transform .35s var(--ease), opacity .25s; z-index: -1;
}
.opt { isolation: isolate; }
.opt:hover { color: var(--text-primary); border-color: var(--text-muted); }
.opt.is-on { color: #fff; border-color: var(--brand-red); }
.opt.is-on::before { transform: scale(1); opacity: 1; }

/* Slate (result card) */
.slate {
  position: relative; border-radius: 4px; overflow: hidden; background: var(--bg-primary);
  border: 1px solid var(--line-color); min-height: 340px; display: flex; flex-direction: column;
}
@media (min-width: 1024px) { .slate { position: sticky; top: 104px; } }
.slate::before { /* clapper stripes */
  content: ''; display: block; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--text-primary) 0 14px, var(--bg-primary) 14px 28px);
  opacity: .9; transform-origin: left bottom; transition: transform .25s var(--ease);
}
.slate.flash::before { animation: clap .45s var(--ease); }
@keyframes clap { 0% { transform: rotate(0); } 35% { transform: rotate(-7deg); } 100% { transform: rotate(0); } }
.slate-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line-color);
  font-family: var(--font-sub); font-size: 12px; color: var(--text-muted);
}
.slate-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.slate-rec { width: 8px; height: 8px; border-radius: 50%; background: var(--line-color); transition: background-color .3s; }
.slate.done .slate-rec { background: var(--brand-red); animation: recPulse 1.8s infinite ease-in-out; }
.slate-empty { padding: 28px 24px; margin: auto 0; color: var(--text-muted); font-size: 14px; }
.slate-progress { display: flex; gap: 6px; margin-top: 20px; }
.slate-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--line-color); transition: background-color .3s; }
.slate-progress span.on { background: var(--brand-red); }
.slate-result { padding: 24px; }
.slate.flash .slate-result > * { animation: slateIn .45s var(--ease) both; }
.slate.flash .slate-result > *:nth-child(2) { animation-delay: .04s; }
.slate.flash .slate-result > *:nth-child(3) { animation-delay: .08s; }
.slate.flash .slate-result > *:nth-child(4) { animation-delay: .12s; }
.slate.flash .slate-result > *:nth-child(5) { animation-delay: .16s; }
@keyframes slateIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slate-label { font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); display: block; margin-bottom: 4px; }
.slate-format { font-family: var(--font-head); font-size: 28px; text-transform: uppercase; margin: 0 0 8px; color: var(--text-primary); }
.slate-what { font-size: 14px; color: var(--text-muted); margin-bottom: 20px !important; }
.slate-rows { margin: 0 0 20px; border-top: 1px solid var(--line-color); }
.slate-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-color); }
.slate-rows dt { font-size: 13px; color: var(--text-muted); }
.slate-rows dd { margin: 0; font-family: var(--font-sub); font-weight: 600; font-size: 14px; color: var(--text-primary); text-align: right; }
.slate-rows div:last-child dd { color: var(--brand-red); font-size: 16px; }
.slate-idea { font-size: 13px; font-style: italic; color: var(--text-muted); margin-bottom: 20px !important; }
.slate-cta { width: 100%; padding: 14px; }
.slate-fine { margin-top: 10px !important; font-size: 12px; color: var(--text-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .steps::after { transform: scaleX(1); }
}
@media (min-width: 768px) and (max-width: 1023px) { .nav-links { gap: 18px; } .nav-links a { font-size: 11px; } }
@media (max-width: 639px) {
  .builder { padding: 20px; }
  .builder-title { font-size: 22px; line-height: 1.2; }
  .price-factors, .price-table { padding: 24px; }
  .price-factors dl { grid-template-columns: 1fr; }
}

.price-table li span small { display: block; font-size: 12px; color: var(--text-muted); opacity: .75; margin-top: 2px; }
.price-table li span { color: var(--text-primary); }
.slate-note { font-size: 13px; color: var(--text-primary); background: var(--bg-secondary); border-left: 2px solid var(--brand-red); padding: 8px 12px; margin-bottom: 14px !important; }
.pricing { align-items: start; }

/* =========================================================
   For tenders page
   ========================================================= */
.tender-link { margin-top: 20px !important; font-size: 13px; }
.tender-link a, .t-more a, .contact-head p a { color: var(--text-primary); border-bottom: 1px solid var(--brand-red); }
.t-hero { padding: 200px 0 96px; border-bottom: 1px solid var(--line-color); }
.t-title { font-size: clamp(44px, 7vw, 96px); text-transform: uppercase; line-height: 1; margin: 8px 0 24px; }
.t-sub { max-width: 640px; color: var(--text-muted); font-size: 17px; margin-bottom: 40px !important; }
.t-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.t-h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 28px; }
.t-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 900px) { .t-grid { grid-template-columns: 1fr 1fr; } }
.t-list { list-style: none; margin: 0; padding: 0; }
.t-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-color); color: var(--text-muted); position: relative; font-size: 15px; }
.t-list li strong { color: var(--text-primary); font-weight: 600; }
.t-list li::before { content: ''; position: absolute; left: 0; top: 23px; width: 12px; height: 1.5px; background: var(--brand-red); }
.t-check li::before { width: 10px; height: 5px; top: 20px; border-left: 1.5px solid var(--brand-red); border-bottom: 1.5px solid var(--brand-red); background: none; transform: rotate(-45deg); }
.docs { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.doc {
  position: relative; display: flex; flex-direction: column; padding: 28px; min-height: 220px;
  border: 1px solid var(--line-color); border-radius: 4px; background: var(--card-bg); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.doc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.doc:hover { border-color: var(--brand-red); transform: translateY(-4px); }
.doc:hover::after { transform: scaleX(1); }
.doc-type { font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); margin-bottom: 12px; }
.doc h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.doc p { font-size: 14px; color: var(--text-muted); }
.doc-open { margin-top: auto; padding-top: 24px; font-family: var(--font-sub); font-size: 13px; font-weight: 600; color: var(--text-primary); }
.t-exp { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { .t-exp { grid-template-columns: repeat(3, 1fr); } }
.t-exp > div { padding-top: 20px; border-top: 1px solid var(--line-color); }
.t-exp .tag { font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); display: block; margin-bottom: 6px; }
.t-exp h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.t-exp p { font-size: 14px; color: var(--text-muted); }
.t-more { font-size: 14px; color: var(--text-muted); }
.t-contact { margin-top: 56px; padding: 24px; border-left: 3px solid var(--brand-red); background: var(--bg-primary); }
.t-contact .k { font-family: var(--font-sub); font-size: 12px; color: var(--brand-red); display: block; margin-bottom: 8px; }
.t-contact p { color: var(--text-muted); font-size: 14px; margin-bottom: 4px !important; }
.t-contact strong { color: var(--text-primary); }
.t-contact a { color: var(--text-primary); }
.page-tenders .t-title, .page-tenders .t-sub, .page-tenders .t-ctas { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.page-tenders .t-sub { transition-delay: .1s; } .page-tenders .t-ctas { transition-delay: .2s; }
.page-tenders.is-loaded .t-title, .page-tenders.is-loaded .t-sub, .page-tenders.is-loaded .t-ctas { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .page-tenders .t-title, .page-tenders .t-sub, .page-tenders .t-ctas { opacity: 1; transform: none; } }
@media (max-width: 639px) { .t-hero { padding: 140px 0 64px; } }

/* Hero background photo */
.hero-bg img { opacity: .8; filter: brightness(.85) saturate(1.05); object-position: 50% 45%; }
.hero-overlay {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg-primary) 70%, transparent) 0%, transparent 60%),
    var(--overlay-hero);
}
body.theme-light .hero-bg img { opacity: .55; filter: brightness(1) saturate(.9); }
.hero-bg img { opacity: 1; filter: brightness(.92) saturate(1.05); }
body.theme-dark { --overlay-hero: linear-gradient(to bottom, rgba(10,10,10,.35) 0%, rgba(10,10,10,.2) 35%, rgba(10,10,10,.7) 72%, #0A0A0A 100%); }
.hero-overlay {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg-primary) 78%, transparent) 0%, color-mix(in srgb, var(--bg-primary) 30%, transparent) 50%, transparent 75%),
    var(--overlay-hero);
}
body.theme-light .hero-bg img { opacity: .7; }
@media (max-width: 639px) { .hero-bg img { object-position: 46% 45%; } }
@media (max-width: 639px) { .hero-sub, .hero-body { text-shadow: 0 1px 12px rgba(0,0,0,.9); } }

/* Interactive stage fog */
.hero-fog { position: absolute; inset: 0; z-index: 15; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 2s ease 1.2s; }
body.is-loaded .hero-fog { opacity: 1; }
body.theme-light .hero-fog { opacity: .5; mix-blend-mode: normal; }

.hero-fog {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.7) 35%, #000 60%), linear-gradient(to bottom, #000 60%, rgba(0,0,0,.3) 100%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.7) 35%, #000 60%);
}
/* Logo mark (PNG) + live wordmark */
img.emblem, img.emblem-sm { object-fit: contain; display: block; }
/* Phone polish: bigger tap targets */
.service-card a.svc-cta { display: inline-block; padding: 12px 0; margin-top: 20px; }
@media (max-width: 767px) {
  .theme-switch { height: 36px; width: 66px; }
  .theme-switch-knob { top: 5px; left: 5px; }
  .theme-switch[aria-checked="true"] .theme-switch-knob { transform: translateX(30px); }
  .menu-btn { width: 44px; height: 44px; }
  .footer-links { gap: 4px 16px; }
  .footer-links a { padding: 10px 4px; }
  .t-contact a, .tender-link a, .contact-head p a { display: inline-block; padding: 6px 0; }
}

/* Client logos: white in dark mode, black in light mode */
.client-list { align-items: center; }
.client-logo { display: inline-flex; align-items: center; flex-shrink: 0; opacity: .7; transition: opacity .3s; }
.client-logo:hover { opacity: 1; }
.client-logo img { height: 48px; width: auto; display: block; }
.client-logo.client-shinhan img { height: 34px; }
.client-logo.client-fn img { height: 40px; }
.client-logo.client-moeys img, .client-logo.client-mot img { height: 58px; }
.client-logo .on-light { display: none; }
body.theme-light .client-logo .on-dark { display: none; }
body.theme-light .client-logo .on-light { display: block; }
.marquee .client-list { gap: 56px; padding-right: 56px; }
.marquee .client-list .client-name { font-family: var(--font-head); font-size: 18px; line-height: 1.15; text-transform: uppercase; color: var(--text-muted); white-space: normal; max-width: 180px; flex-shrink: 0; }
.marquee { padding: 8px 0; }
@media (max-width: 639px) { .client-logo img { height: 38px; } .client-logo.client-moeys img, .client-logo.client-mot img { height: 46px; } .client-logo.client-shinhan img { height: 28px; } }


/* Light mode: let the stage photo show */
body.theme-light .hero-bg img { opacity: 1; filter: brightness(1.08) saturate(1.05); }
body.theme-light .hero-overlay {
  background:
    linear-gradient(90deg, rgba(249,249,247,.94) 0%, rgba(249,249,247,.8) 38%, rgba(249,249,247,.25) 62%, rgba(249,249,247,0) 80%),
    linear-gradient(to bottom, rgba(249,249,247,.35) 0%, rgba(249,249,247,0) 25%, rgba(249,249,247,0) 70%, #F9F9F7 100%);
}
body.theme-light .hud-right, body.theme-light .hud-right .timecode { color: #F9F9F7; }
@media (max-width: 639px) {
  body.theme-light .hero-overlay { background: linear-gradient(to bottom, rgba(249,249,247,.3) 0%, rgba(249,249,247,.75) 45%, rgba(249,249,247,.92) 70%, #F9F9F7 100%); }
  body.theme-light .hero-sub, body.theme-light .hero-body { text-shadow: none; }
}

.client-logo.client-fn img { height: 44px; }
.client-logo.client-stem img, .client-logo.client-humanhelp img { height: 58px; }
@media (max-width: 639px) { .client-logo.client-stem img, .client-logo.client-humanhelp img { height: 46px; } .client-logo.client-fn img { height: 36px; } }

/* Lightbox: always offer the original video page */
.lightbox { flex-direction: column; gap: 14px; }
.lightbox-yt {
  order: 2; font-family: var(--font-sub); font-size: 13px; font-weight: 600; color: #fff;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; transition: border-color .2s, background-color .2s;
}
.lightbox-yt:hover { border-color: var(--brand-red); background: var(--brand-red); }

/* Work cards: text sits on the thumbnail, fading into the page colour */
.project { background: var(--bg-primary); overflow: hidden; }
.project .thumb { aspect-ratio: 4 / 3; background: var(--bg-primary); }
.project .thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top,
    var(--bg-primary) 0%,
    color-mix(in srgb, var(--bg-primary) 88%, transparent) 26%,
    color-mix(in srgb, var(--bg-primary) 45%, transparent) 48%,
    transparent 70%);
  transition: opacity .4s;
}
.project .shade { background: transparent; z-index: 2; align-items: flex-start; padding-top: 22%; }
.project:hover .shade { background: transparent; }
.project .frame-no { z-index: 3; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.project .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 24px; }
.project .info p { color: var(--text-muted); }
body.theme-light .project .info p { color: #4a4a45; }
@media (max-width: 639px) { .project .thumb { aspect-ratio: 4 / 3.4; } .project .info { padding: 20px; } }
.project .thumb::after {
  background: linear-gradient(to top,
    var(--bg-primary) 0%,
    color-mix(in srgb, var(--bg-primary) 94%, transparent) 30%,
    color-mix(in srgb, var(--bg-primary) 70%, transparent) 50%,
    color-mix(in srgb, var(--bg-primary) 25%, transparent) 68%,
    transparent 85%);
}
.project .shade { padding-top: 13%; }
.project .play { width: 44px; height: 44px; }
.project .frame-no { background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 3px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; text-shadow: none; }

/* Card spotlight: soft dark fade instead of red */
body.theme-light { --card-spot: rgba(0, 0, 0, 0.04); }

/* Fix: menu jumps land below the fixed menu bar */
html { scroll-padding-top: 74px; }

/* Fix: small red text readable on dark backgrounds (AA contrast). Logo, buttons and large red stay #CC0000. */
body.theme-dark { --red-text: #FF4040; }
body.theme-light { --red-text: #CC0000; }
.eyebrow, .hud .cam, .service-card a, .project .tag, .nav-links a.is-active, .nav-links a:hover, .footer-links a:hover,
.slate-label, .t-exp .tag, .t-contact .k, .tag, .faq summary::after { color: var(--red-text); }
