/* ============================================
   SEED STUDIO — Global Styles
   ============================================ */

/* --- Font Face Declarations --- */
@font-face {
  font-family: 'Maison Neue';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/fonnts.com-Maison_Neue_Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maison Neue';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/fonnts.com-Maison_Neue_Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maison Neue';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/fonnts.com-Maison_Neue_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maison Neue Mono';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/fonnts.com-Maison_Neue_Mono.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Queens';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/Queens Var.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Optician Sans';
  src: url('https://seedstudio.b-cdn.net/assets/fonts/Optician-Sans.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables (Brand Colors) --- */
:root {
  --felt: #EFEFEF;
  --glacier: #ECECF1;
  --cobalt: #363A3C;
  --near-black: #232323;
  --true-black: #0E1213;
  --accent: #C8F53E;

  --bg-primary: #12130e;
  --bg-card: #1e1f1a;
  --bg-card-border: #2e2f2a;
  --text-primary: #c8c6c5;
  --text-secondary: #c4c4c4;
  --text-muted: #a0a0a0;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Maison Neue', sans-serif;
  --font-mono: 'Optician Sans', 'Maison Neue Mono', monospace;
  --font-serif: 'Queens', serif;

  --max-width: 1600px;
  --side-padding: 40px;

  /* Theme-aware aliases */
  --header-bg: rgba(18,19,14,0.92);
  --card-bg: #2e2f2a;
  --card-hover-bg: #3a3b36;
  --overlay-bg: rgba(14,18,19,0.98);
  --border-subtle: rgba(255,255,255,0.1);
  --border-medium: rgba(255,255,255,0.2);
  --icon-color: white;
  --logo-filter: brightness(0) invert(1);
  --logo-opacity: 0.85;

  /* Easing curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Spacing scale (8px grid) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --space-3xl: 120px;

  /* Border radius tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Z-index layers */
  --z-base: 1;
  --z-content: 10;
  --z-sticky: 100;
  --z-header: 1000;
  --z-lightbox: 1100;
  --z-overlay: 2000;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-primary: #f5f5f0;
  --bg-card: #ffffff;
  --bg-card-border: #e0e0dc;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #777777;
  --cobalt: #e8e8e4;
  --near-black: #f0f0ec;

  --header-bg: rgba(245,245,240,0.92);
  --card-bg: #ebebea;
  --card-hover-bg: #e0e0dc;
  --overlay-bg: rgba(245,245,240,0.98);
  --border-subtle: rgba(0,0,0,0.08);
  --border-medium: rgba(0,0,0,0.15);
  --icon-color: #1a1a1a;
  --logo-filter: none;
  --logo-opacity: 1;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Typography --- */
.heading-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
}

.heading-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
}

.label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.label-bracket {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.body-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-text-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.95);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-left .tagline,
a.tagline {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: opacity 0.3s;
  max-width: calc(50vw - 120px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 25%,
    var(--text-primary) 50%,
    var(--accent) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
  line-height: 1.3;
}

@keyframes tagline-gradient {
  0%   { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

a.tagline:hover {
  opacity: 0.7;
}

/* Header center logo */
.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.header-logo img {
  height: 88px;
  width: auto;
  display: block;
}

/* On homepage, logo starts hidden and slides up when scrolled */
.home-page .header-logo {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.home-page .header-logo.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.logo-link svg {
  height: 24px;
  width: auto;
}

.logo-link img,
.logo-img {
  height: 24px;
  width: auto;
  display: inline-block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right .nav-text-link {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.08s ease;
}

.header-right .nav-text-link:hover {
  color: var(--accent);
}

.header-right .nav-text-link.cta-glitching {
  color: #c8f53e;
  text-shadow: 0 0 8px rgba(200, 245, 62, 0.6);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
  cursor: pointer;
  background: transparent;
}

.menu-btn:hover {
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.06);
}

.menu-btn:hover svg line {
  stroke: var(--accent);
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FULLSCREEN MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 20px var(--side-padding);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-in-out), opacity 0.4s ease, visibility 0.4s;
  overflow: hidden;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

/* Subtle drifting radial glow */
.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(200, 245, 62, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(200, 245, 62, 0.04) 0%, transparent 70%);
  /* static glow — no animation for performance */
  pointer-events: none;
  z-index: 0;
}

/* Grain overlay — lightweight PNG noise instead of SVG feTurbulence */
.menu-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMFBQUFBQWHBkSOAAAASUlEQVQ4y2MYBaNg2AKmUBBgYOAOBQEGBq5QEGBgYAkFAQYG5lAQYGBgDAUBBgaGUBBgYKAPBQEGBppQEGBgoAoFAQaK3AcAYmEEAYFdiYQAAAAASUVORK5CYII=");
  background-size: 48px 48px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Scanline effect */
.menu-overlay-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(200, 245, 62, 0.015) 3px,
    rgba(200, 245, 62, 0.015) 4px
  );
  pointer-events: none;
  z-index: 0;
}

@keyframes menuGlow {
  0%   { opacity: 0.4; transform: scale(1) translate(0, 0); }
  50%  { opacity: 1; transform: scale(1.1) translate(-2%, 3%); }
  100% { opacity: 0.6; transform: scale(1.05) translate(2%, -2%); }
}

.menu-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.menu-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 62, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.3s, background 0.3s;
}

.menu-close-btn:hover {
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.08);
}

.menu-close-btn:hover svg line {
  stroke: var(--accent);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.menu-nav > a,
.menu-nav-item > a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  display: block;
  position: relative;
}

.menu-nav > a:hover,
.menu-nav-item > a:hover {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

/* Menu link glitch on hover */
@media (hover: hover) {
  .menu-nav > a::before,
  .menu-nav > a::after,
  .menu-nav-item > a::before,
  .menu-nav-item > a::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
    text-align: inherit;
    -webkit-text-stroke: inherit;
  }

  .menu-nav > a::before,
  .menu-nav-item > a::before,
  .menu-nav > a::after,
  .menu-nav-item > a::after {
    color: var(--accent);
  }

  .menu-nav > a:hover,
  .menu-nav-item > a:hover {
    animation: menu-glitch-skew 0.5s ease both;
    text-shadow: 0 0 8px rgba(200, 245, 62, 0.25);
  }

  .menu-nav > a:hover::before,
  .menu-nav-item > a:hover::before {
    opacity: 1;
    animation: menu-glitch-left 0.5s steps(3, jump-none) both;
    clip-path: polygon(0 0, 100% 0, 100% 42%, 0 42%);
  }

  .menu-nav > a:hover::after,
  .menu-nav-item > a:hover::after {
    opacity: 1;
    animation: menu-glitch-right 0.5s steps(3, jump-none) both;
    clip-path: polygon(0 58%, 100% 58%, 100% 100%, 0 100%);
  }
}

@keyframes menu-glitch-left {
  0%   { transform: translate(0); opacity: 0; }
  15%  { transform: translate(-4px, -1px); opacity: 0.6; }
  30%  { transform: translate(3px, 1px); opacity: 0.4; }
  50%  { transform: translate(-2px, 0); opacity: 0.5; }
  70%  { transform: translate(3px, 0); opacity: 0.35; }
  85%  { transform: translate(-1px, 0); opacity: 0.2; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes menu-glitch-right {
  0%   { transform: translate(0); opacity: 0; }
  15%  { transform: translate(3px, 1px); opacity: 0.5; }
  30%  { transform: translate(-2px, -1px); opacity: 0.4; }
  50%  { transform: translate(3px, 0); opacity: 0.35; }
  70%  { transform: translate(-2px, 0); opacity: 0.45; }
  85%  { transform: translate(1px, 0); opacity: 0.2; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes menu-glitch-skew {
  0%   { transform: skewX(0deg); }
  15%  { transform: skewX(-1deg); }
  35%  { transform: skewX(0.7deg); }
  55%  { transform: skewX(-0.5deg); }
  75%  { transform: skewX(0.3deg); }
  100% { transform: skewX(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .menu-nav > a:hover,
  .menu-nav-item > a:hover,
  .menu-nav > a:hover::before,
  .menu-nav-item > a:hover::before,
  .menu-nav > a:hover::after,
  .menu-nav-item > a:hover::after {
    animation: none !important;
  }
}

.menu-nav > a,
.menu-nav > .menu-nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s, opacity 0.4s ease, transform 0.4s ease;
}

.menu-overlay.active .menu-nav > a,
.menu-overlay.active .menu-nav > .menu-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.active .menu-nav > :nth-child(1) { transition-delay: 0.06s; }
.menu-overlay.active .menu-nav > :nth-child(2) { transition-delay: 0.12s; }
.menu-overlay.active .menu-nav > :nth-child(3) { transition-delay: 0.18s; }
.menu-overlay.active .menu-nav > :nth-child(4) { transition-delay: 0.24s; }
.menu-overlay.active .menu-nav > :nth-child(5) { transition-delay: 0.30s; }
.menu-overlay.active .menu-nav > :nth-child(6) { transition-delay: 0.36s; }

.menu-social {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
  position: relative;
  z-index: 1;
}

.menu-overlay.active .menu-social {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay .menu-nav a,
.menu-overlay .menu-nav .menu-nav-item > a {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out-expo),
              transform 0.4s var(--ease-out-back);
}

.menu-overlay.active .menu-nav a,
.menu-overlay.active .menu-nav .menu-nav-item > a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.active .menu-nav a:nth-child(1),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(1) > a { transition-delay: 0.15s; }
.menu-overlay.active .menu-nav a:nth-child(2),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(2) > a { transition-delay: 0.20s; }
.menu-overlay.active .menu-nav a:nth-child(3),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(3) > a { transition-delay: 0.25s; }
.menu-overlay.active .menu-nav a:nth-child(4),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(4) > a { transition-delay: 0.30s; }
.menu-overlay.active .menu-nav a:nth-child(5),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(5) > a { transition-delay: 0.35s; }
.menu-overlay.active .menu-nav a:nth-child(6),
.menu-overlay.active .menu-nav .menu-nav-item:nth-child(6) > a { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .menu-overlay {
    transform: none;
    transition: opacity 0.01s, visibility 0.01s;
  }
  .menu-overlay .menu-nav a,
  .menu-overlay .menu-nav .menu-nav-item > a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Service sub-links: appear underneath SERVICES on hover/tap */
.menu-nav-item {
  position: relative;
  display: inline-block;
  text-align: right;
}

.menu-sub-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-left: 0;
  /* Always takes up space — no layout shift */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.menu-nav-item:hover .menu-sub-links,
.menu-nav-item.open .menu-sub-links {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-sub-links a {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  line-height: 1.6;
}

.menu-sub-links a:hover {
  color: var(--accent);
}

.menu-social {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.menu-social-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.menu-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 62, 0.3);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.menu-social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.08);
}

.menu-social-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(14,18,19,0.2) 0%, rgba(14,18,19,0.4) 100%);
  z-index: 1;
}


.hero-grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-letterbox {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-grain { display: none; }
  .hero-letterbox { display: none; }
}

.hero-logo {
  position: relative;
  z-index: 2;
}

.hero-logo svg,
.hero-logo img {
  width: clamp(200px, 25vw, 360px);
  height: auto;
  fill: white;
}

.hero-reel-controls {
  position: absolute;
  bottom: 30px;
  left: var(--side-padding);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-reel-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out-quart), box-shadow 0.3s;
}

.hero-reel-controls button:hover {
  background: rgba(200, 245, 62, 0.15);
  border-color: rgba(200, 245, 62, 0.5);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(200,245,62,0.15);
}

.hero-reel-controls button:hover svg {
  stroke: var(--accent);
}

/* ============================================
   STATEMENT / TAGLINE SECTION
   ============================================ */
.statement-section {
  padding: 100px var(--side-padding) 60px;
  text-align: center;
}

.statement-section .heading-xl {
  max-width: 1000px;
  margin: 0 auto;
}

.statement-philosophy {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 40px auto 0;
  letter-spacing: 0;
  line-height: 1.4;
}

.statement-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 60px auto 0;
  padding: 0 var(--side-padding);
}

.statement-meta .label {
  text-align: left;
  font-size: 18px;
  letter-spacing: 0;
}

/* ============================================
   WORK TICKER / MARQUEE (Homepage)
   ============================================ */
.work-ticker-section {
  padding: 40px 0;
  overflow: hidden;
}

.ticker-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.ticker-row:hover {
  z-index: 10;
}

.ticker-track {
  display: flex;
  gap: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Row 1 & 3: move right, Row 2: move left */
.ticker-row[data-direction="right"] .ticker-track {
  animation: ticker-right 40s linear infinite;
}

.ticker-row[data-direction="left"] .ticker-track {
  animation: ticker-left 40s linear infinite;
}

/* Pause on hover (desktop only) */
@media (hover: hover) {
  .ticker-row:hover .ticker-track {
    animation-play-state: paused;
  }
}

@keyframes ticker-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ticker-left {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ticker-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
  height: 260px;
  background: var(--near-black);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-quart),
              box-shadow 0.5s ease,
              border-color 0.4s ease;
  border: 1px solid transparent;
  z-index: 1;
}

.ticker-item.small {
  width: 420px;
}

.ticker-item.medium {
  width: 480px;
}

.ticker-item.large {
  width: 540px;
}

.ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticker-item-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.5s ease;
}

video.ticker-item-inner {
  object-fit: cover;
}

/* Hover: item scales up, gains green glow, siblings dim */
@media (hover: hover) {
  .ticker-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: rgba(200,245,62,0.15);
    z-index: 2;
  }

  .ticker-row:hover .ticker-item:not(:hover) {
    opacity: 0.35;
    transition: opacity 0.4s ease;
  }

  .ticker-row:hover .ticker-item:not(:hover) .ticker-item-inner {
    opacity: 0.35;
  }
}

.ticker-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .ticker-item:hover .ticker-item-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticker-item-caption .caption-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

@media (hover: hover) {
  .ticker-item-caption .caption-title::before,
  .ticker-item-caption .caption-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
    color: var(--accent);
  }

  .ticker-item:hover .caption-title {
    animation: glitch-skew 0.4s ease both;
  }

  .ticker-item:hover .caption-title::before {
    opacity: 1;
    animation: ticker-glitch-left 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  }

  .ticker-item:hover .caption-title::after {
    opacity: 1;
    animation: ticker-glitch-right 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  }
}

@keyframes ticker-glitch-left {
  0%   { transform: translate(0); opacity: 0; }
  20%  { transform: translate(-3px, -1px); opacity: 0.6; }
  40%  { transform: translate(2px, 1px); opacity: 0.4; }
  60%  { transform: translate(-2px, 0); opacity: 0.5; }
  80%  { transform: translate(1px, 0); opacity: 0.3; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes ticker-glitch-right {
  0%   { transform: translate(0); opacity: 0; }
  20%  { transform: translate(3px, 1px); opacity: 0.5; }
  40%  { transform: translate(-2px, -1px); opacity: 0.4; }
  60%  { transform: translate(2px, 0); opacity: 0.35; }
  80%  { transform: translate(-1px, 0); opacity: 0.2; }
  100% { transform: translate(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-item:hover .caption-title,
  .ticker-item:hover .caption-title::before,
  .ticker-item:hover .caption-title::after {
    animation: none !important;
  }
}

.ticker-item-caption .caption-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
}

.ticker-item-caption .caption-cta {
  display: none;
}

.work-grid-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 0 var(--side-padding);
}

.work-grid-nav a,
.work-grid-nav button {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 10px 24px;
  transition: border-color 0.3s, color 0.3s;
}

.work-grid-nav a:hover,
.work-grid-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 245, 62, 0.06);
}

/* ============================================
   SERVICES SECTION — Sticky Stacking Cards
   ============================================ */
.services-stack {
  padding: 0 var(--side-padding) 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-stack-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-primary);
  padding: 80px 0 32px;
}

.services-stack-header .heading-lg {
  font-size: clamp(48px, 6vw, 88px);
  text-align: center;
}

.services-stack-title .glitch-loop {
  font-style: normal;
}

.services-stack-cards {
  position: relative;
  padding-bottom: 0;
}

.stack-card {
  position: sticky;
  top: calc(clamp(48px, 6vw, 88px) + 116px + var(--card-index, 0) * 20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 28px 48px;
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  will-change: transform;
  transform-origin: center top;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transition: border-color 0.4s ease, box-shadow 0.5s ease;
}


.stack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200,245,62,0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.stack-card:hover::before {
  opacity: 1;
}

@media (hover: hover) {
  .stack-card:hover {
    border-color: rgba(200, 245, 62, 0.2);
    box-shadow: 0 12px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(200,245,62,0.1);
  }
  .stack-card:hover .stack-card-number {
    transform: scale(1.1);
    text-shadow: 0 0 40px rgba(200,245,62,0.3);
  }
  .stack-card:hover .stack-card-title {
    color: var(--accent);
  }
  .stack-card:hover .stack-card-cta {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,245,62,0.25);
  }
  .stack-card:hover .stack-card-media {
    border-color: rgba(200,245,62,0.2);
  }
  .stack-card:hover .stack-card-media video {
    transform: scale(1.08);
  }
}

.stack-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stack-card-number {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: transform 0.5s var(--ease-out-quart), text-shadow 0.5s ease;
}

.stack-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.4s var(--ease-out-quart);
}

.stack-card-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.stack-card-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 28px;
}

.stack-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #e0ff7a 25%,
    var(--accent) 50%,
    #e0ff7a 75%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  animation: tagline-gradient 6s linear infinite;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  display: inline-block;
  align-self: center;
  font-weight: 600;
  transition: opacity 0.3s;
}

.stack-card-media {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.stack-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light theme */
[data-theme="light"] .stack-card {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

/* ============================================
   AI PRODUCTION METRICS
   ============================================ */
.metrics-section {
  padding: 100px var(--side-padding) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.metrics-header {
  margin-bottom: 60px;
  text-align: center;
}

.metrics-header .label-bracket {
  display: block;
  margin-bottom: 16px;
}

.metrics-header .heading-lg {
  margin: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-single {
  text-align: center;
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.metric-single .metric-number {
  font-size: clamp(100px, 15vw, 200px);
  text-shadow: 0 0 80px rgba(200,245,62,0.2);
}

.metric-single .metric-unit {
  font-size: clamp(48px, 7vw, 100px);
}

.metric-single .metric-title {
  font-size: 18px;
  letter-spacing: 0.15em;
  margin: 28px 0 14px;
}

.metric-single .metric-context {
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 130px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.04em;
  display: inline-block;
  transition: transform 0.6s var(--ease-out-quart),
              text-shadow 0.6s ease;
  text-shadow: 0 0 40px rgba(200,245,62,0.15);
}

.metric-card:hover .metric-number {
  transform: scale(1.08);
  text-shadow: 0 0 60px rgba(200,245,62,0.3);
}

.metric-unit {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 700;
  color: var(--accent);
  line-height: 0.9;
  vertical-align: top;
  margin-left: 2px;
  display: inline-block;
  opacity: 0.7;
  transition: transform 0.6s var(--ease-out-quart),
              opacity 0.4s ease;
}

.metric-card:hover .metric-unit {
  transform: scale(1.08);
  opacity: 1;
}

.metric-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 24px 0 10px;
  line-height: 1.3;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.metric-card:hover .metric-title {
  color: var(--accent);
}

.metric-context {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.metric-card:hover .metric-context {
  opacity: 1;
}

.metric-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.metric-card-inner {
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-quart);
}

@keyframes metric-glitch-in {
  0% { opacity: 0; transform: scale(1.1) skewX(-3deg); }
  20% { opacity: 1; transform: scale(1.04) skewX(2deg); }
  40% { transform: scale(0.98) skewX(-1deg); }
  60% { transform: scale(1.02) skewX(0.5deg); }
  80% { transform: scale(1.01) skewX(0); }
  100% { opacity: 1; transform: scale(1) skewX(0); }
}

.metric-number.glitch-active {
  animation: metric-glitch-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Glitch color offset layers */
.metric-number.glitch-active::before,
.metric-number.glitch-active::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.metric-number.glitch-active::before {
  color: #ff0040;
  animation: metric-glitch-r 0.7s steps(2) forwards;
  opacity: 0.6;
}

.metric-number.glitch-active::after {
  color: #00f0ff;
  animation: metric-glitch-b 0.7s steps(2) forwards;
  opacity: 0.6;
}

@keyframes metric-glitch-r {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(-3px, 1px); opacity: 0.6; }
  40% { transform: translate(2px, -1px); opacity: 0.4; }
  60% { transform: translate(-1px, 0); opacity: 0.2; }
  80% { transform: translate(0); opacity: 0; }
}

@keyframes metric-glitch-b {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(3px, -1px); opacity: 0.6; }
  40% { transform: translate(-2px, 1px); opacity: 0.4; }
  60% { transform: translate(1px, 0); opacity: 0.2; }
  80% { transform: translate(0); opacity: 0; }
}

.metric-number {
  position: relative;
}


/* ============================================
   MID-PAGE CTA
   ============================================ */
.mid-cta {
  padding: 30px var(--side-padding) 60px;
  text-align: center;
}

.mid-cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 40px;
  padding: 18px 52px;
  transition: transform 0.4s var(--ease-out-quart),
              translate 0.3s var(--ease-out-quart),
              box-shadow 0.4s ease,
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mid-cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.mid-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(200,245,62,0.25);
}

.mid-cta-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   INFO BLOCK (text + mono text)
   ============================================ */
.info-block {
  padding: 60px var(--side-padding);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.info-block .body-text {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.12;
  max-width: 886px;
  margin: 0 auto 20px;
  color: var(--text-primary);
}

.info-block .body-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  display: inline;
  animation: em-pulse 5s ease-in-out infinite;
}

.info-block .body-text b {
  font-weight: 600;
  color: var(--accent);
  animation: em-pulse 5s ease-in-out infinite;
}

.lets-talk-link {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.lets-talk-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lets-talk-section h2 a:hover {
  color: var(--accent) !important;
}

/* ============================================
   CLIENT LOGOS
   ============================================ */
.clients-section {
  padding: 60px 0;
}

.clients-label {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 28px;
  padding: 0 var(--side-padding);
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 25%,
    var(--text-primary) 50%,
    var(--accent) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
  line-height: 1.3;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0 auto 8px;
}

/* Clients ticker (animated logo rows) */
.clients-ticker-row {
  overflow: hidden;
  margin-bottom: 8px;
}

.clients-ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.clients-ticker-row[data-direction="left"] .clients-ticker-track {
  animation: logo-ticker-left 50s linear infinite;
}

.clients-ticker-row[data-direction="right"] .clients-ticker-track {
  animation: logo-ticker-right 50s linear infinite;
}

@media (hover: hover) {
  .clients-ticker-row:hover .clients-ticker-track {
    animation-play-state: paused;
  }
}

@keyframes logo-ticker-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes logo-ticker-right {
  0%   { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

.clients-ticker-row .client-logo-card {
  flex-shrink: 0;
  width: 200px;
  margin-right: 8px;
}

.client-logo-card {
  background: var(--card-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  min-height: 100px;
  transition: background 0.3s;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

a.client-logo-card {
  cursor: pointer;
}

@media (hover: hover) {
  .client-logo-card:hover {
    background: var(--card-hover-bg);
  }
}

/* Logo PNG images inside cards */
.client-logo-img {
  max-height: 48px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  -webkit-filter: var(--logo-filter);
  filter: var(--logo-filter);
  opacity: var(--logo-opacity);
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .client-logo-card:hover .client-logo-img {
    opacity: 1;
  }
}

/* Manchester City crest — skip invert, show original with brightness boost */
.client-logo-img.logo-no-invert {
  -webkit-filter: brightness(1.8) contrast(1.1);
  filter: brightness(1.8) contrast(1.1);
  max-height: 52px;
}

/* Greyscale logos — show original with no filter */
.client-logo-img.logo-original {
  -webkit-filter: none;
  filter: none;
  opacity: 0.85;
}

/* Logo icon (SVG) */
.client-logo-card .logo-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-card .logo-icon svg {
  display: block;
}

/* Logo text base */
.client-logo-card .logo-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.client-logo-card .logo-text.bold {
  font-weight: 700;
}

.client-logo-card .logo-text.italic {
  font-style: italic;
}

.client-logo-card .logo-text.serif {
  font-family: var(--font-serif);
}

.client-logo-card .logo-text.display {
  font-family: var(--font-display);
}

.client-logo-card .logo-text.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.client-logo-card .logo-text.sm {
  font-size: 11px;
}

.client-logo-card .logo-text.md {
  font-size: 14px;
}

.client-logo-card .logo-text.lg {
  font-size: 18px;
}

.client-logo-card .logo-text.xl {
  font-size: 22px;
}

.client-logo-card .logo-text.xxl {
  font-size: 26px;
}

.client-logo-card .logo-text.spaced {
  letter-spacing: 0.15em;
}

.client-logo-card .logo-text.tight {
  letter-spacing: -0.02em;
}

/* Special: Pepsico sub-brands row */
.client-logo-card .logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.client-logo-card .logo-sub-brands {
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-logo-card .logo-sub-brands span {
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* Special: outlined / bordered card variant (Toolstation) */
.client-logo-card.outlined {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.client-logo-card.outlined:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(46,47,42,0.5);
}

/* PRESS special typography */
.client-logo-card .logo-text.press-style {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
}

/* F1 special style */
.client-logo-card .logo-text.f1-style {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
}

/* Coca-Cola script */
.client-logo-card .logo-text.coca-cola-style {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
}

/* WIZZ airline style */
.client-logo-card .logo-text.wizz-style {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 24px;
}

/* Manchester City badge */
.client-logo-card .logo-text.man-city-style {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ============================================
   BIG STATEMENT SECTION
   ============================================ */
.big-statement {
  padding: 120px var(--side-padding);
  text-align: center;
}

.big-statement .heading-xl {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(40px, 5vw, 80px);
}

/* ============================================
   LET'S TALK CTA
   ============================================ */
.cta-section {
  position: relative;
  padding: 80px var(--side-padding);
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.cta-video-bg,
.lets-talk-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.cta-section .cta-label,
.cta-section .heading-lg {
  position: relative;
  z-index: 1;
}

/* Let's Talk section on project pages */
.lets-talk-section {
  position: relative;
  overflow: hidden;
  padding: 80px var(--side-padding);
  text-align: center;
}

.lets-talk-section > p,
.lets-talk-section > h2 {
  position: relative;
  z-index: 1;
}

.cta-section .cta-label {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-section .heading-lg a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 100px);
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s, text-shadow 0.3s;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.cta-section .heading-lg a:hover {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(200, 245, 62, 0.4), 0 0 80px rgba(200, 245, 62, 0.15);
}

.cta-cursor {
  display: inline-block;
  width: 32px;
  height: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 80px var(--side-padding) 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Footer — simplified 3-column layout */
.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  text-align: center;
}

.footer-col .label-bracket {
  display: block;
  margin-bottom: 16px;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 25%,
    var(--text-primary) 50%,
    var(--accent) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
  color: transparent;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-col-links a {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: transform 0.3s var(--ease-out-quart), border-color 0.3s ease, color 0.3s;
  display: inline-block;
}

.footer-col-links a:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 62, 0.3);
  color: var(--text-secondary);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.footer-social-icons a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.08);
}

.footer-social-icons a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-address:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-left .footer-logo svg,
.footer-bottom-left .footer-logo img {
  height: 22px;
  width: auto;
}

.footer-bottom-left .copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-right a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-bottom-right a:hover {
  color: var(--accent);
}

.arrow-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
}

/* ============================================
   INDEX / WORK PAGE
   ============================================ */
.page-intro {
  padding: 140px var(--side-padding) 40px;
  text-align: center;
}

.page-intro .label-bracket {
  display: block;
  margin-bottom: 20px;
}

.page-intro .heading-xl {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.page-intro-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
}

.page-intro-meta .body-text {
  max-width: 380px;
  text-align: left;
}

.page-intro-meta .mono-text {
  color: var(--text-secondary);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px var(--side-padding);
  margin-bottom: 30px;
  position: relative;
}

.filter-pill {
  position: absolute;
  height: 0;
  border-radius: 24px;
  background: var(--accent);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.1, 1),
              top 0.4s cubic-bezier(0.4, 0, 0.1, 1),
              width 0.3s cubic-bezier(0.4, 0, 0.1, 1),
              opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.filter-pill.ready {
  opacity: 1;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 24px;
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  background: transparent;
  transition: color 0.3s, border-color 0.3s, transform 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-align: center;
}

.filter-tab:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-tab.active {
  border-color: transparent;
  color: var(--bg-primary);
}

.filter-tab:active {
  transform: scale(0.93);
}

/* project cards filter transition */
.project-card {
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.project-card.filter-enter {
  animation: filterCardIn 0.4s ease both;
}

@keyframes filterCardIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--near-black);
  border: 2px solid transparent;
  transition: opacity 0.35s ease, transform 0.4s ease, border-color 0.4s ease;
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.project-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.project-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-image img,
.project-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media (hover: hover) {
  .project-card:hover .project-card-image::before {
    opacity: 1;
  }
  .project-card:hover .project-card-image img,
  .project-card:hover .project-card-image video {
    transform: scale(1.05);
  }
  .project-card:hover .project-card-title {
    color: var(--accent);
  }
  .project-card:hover .project-card-tagline {
    opacity: 1;
    transform: translateY(0);
  }
  .project-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  }
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200,245,62,0.08), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 3;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}

.project-card-content::before {
  display: none;
}

.project-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 0.3s ease;
}

.project-card-tagline {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin: 6px 0 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

@media (hover: none) {
  .project-card-tagline {
    opacity: 1;
    transform: translateY(0);
  }
  .project-card-content::before {
    transform: scaleX(1);
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-hero {
  padding: 160px var(--side-padding) 50px;
  text-align: center;
}

.services-hero .label-bracket {
  display: block;
  margin-bottom: 24px;
}

.services-hero .heading-xl {
  max-width: 900px;
  margin: 0 auto 30px;
}

.services-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.service-card {
  margin: 20px var(--side-padding);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.service-card-left .heading-md {
  font-size: clamp(32px, 3.5vw, 58px);
  margin-bottom: 8px;
}

.service-card-left .tagline {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: block;
}

.service-card-left .body-text {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.service-card-left .explore-btn {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 10px 28px;
  display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}

.service-card-left .explore-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.service-card-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card-right .capabilities-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.capability-item {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.capability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Service detail blocks (What it is / When to use it / What clients get) */
.service-detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.service-detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.service-detail p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.service-card-right .image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--cobalt);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.carousel-arrows {
  position: absolute;
  bottom: 50%;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  transform: translateY(50%);
}

.carousel-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14,18,19,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

/* --- Service Slider (functional carousel) --- */
.service-slider {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.service-slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.service-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.service-slide video,
.service-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.service-slide .slide-title {
  position: relative;
  z-index: 1;
}

.service-slide[data-href]:hover .slide-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-slider-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.slider-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14,18,19,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.slider-arrow:hover {
  background: rgba(14,18,19,0.8);
  border-color: rgba(255,255,255,0.5);
}

.slider-arrow:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
}

.slider-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   SERVICE CARDS — CARD HAND LAYOUT
   ============================================ */
.service-hand {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px var(--side-padding) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-hand .service-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: transform 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              opacity 0.4s ease,
              filter 0.4s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: #0a0a0a;
  display: block;
  grid-template-columns: none;
  padding: 0;
  gap: 0;
  margin: 0;
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4) {
  transform: none;
  margin: 0;
  z-index: 1;
}

/* Hover: lift the hovered card (desktop only) */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
    box-shadow:
      0 24px 60px rgba(0,0,0,0.5),
      0 0 0 1px rgba(200, 245, 62, 0.2);
  }

  .service-card:hover .service-card-rule {
    width: 60px;
    background: var(--accent);
  }

  .service-card:hover .service-card-cta {
    border-color: rgba(200, 245, 62, 0.3);
  }

  .service-hand:hover .service-card:not(:hover) {
    opacity: 0.75;
  }
}

/* Background video/image wrap */
.service-card-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.service-card-bg.active {
  opacity: 0.7;
}

@media (hover: hover) {
  .service-card:hover .service-card-bg.active {
    opacity: 0.85;
  }
}

/* Gradient overlay */
.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.2) 80%,
    rgba(0,0,0,0.55) 100%);
  transition: background 0.5s ease;
}

@media (hover: hover) {
  .service-card:hover .service-card-overlay {
    background: linear-gradient(180deg,
      rgba(0,0,0,0.1) 0%,
      rgba(0,0,0,0.0) 40%,
      rgba(0,0,0,0.4) 80%,
      rgba(0,0,0,0.75) 100%);
  }
}

/* Keyboard focus */
.service-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Card content — full height flex column */
.service-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 32px 30px;
}

/* Number — top left */
.service-card-number {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: transform 0.4s var(--ease-out-quart), color 0.3s ease;
  display: inline-block;
}

.service-card:hover .service-card-number {
  transform: scale(1.15);
  color: var(--accent);
}

/* Center block — title + rule + tagline */
.service-card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.02em;
  color: white;
}

.service-card-rule {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  transition: width 0.4s ease, background 0.4s ease;
}

.service-card-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.service-card-tagline em {
  font-style: normal;
  color: rgba(255,255,255,0.75);
}

/* Bottom block — description + CTA */
.service-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0 0 8px;
  max-width: 380px;
}

.service-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.3s, background 0.3s;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  padding: 10px 24px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.45) 0%,
    var(--accent) 25%,
    rgba(255,255,255,0.45) 50%,
    var(--accent) 75%,
    rgba(255,255,255,0.45) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
}

/* Light theme overrides for service cards */
[data-theme="light"] .service-card {
  background: #1a1a1a;
  border-color: rgba(0,0,0,0.15);
}

[data-theme="light"] .service-card-number {
  color: rgba(255,255,255,0.5);
}

[data-theme="light"] .service-card-title {
  color: white;
}

[data-theme="light"] .service-card-desc {
  color: rgba(255,255,255,0.7);
}

[data-theme="light"] .service-card-cta {
  border-color: rgba(255,255,255,0.2);
}

[data-theme="light"] .service-package {
  border-color: rgba(0,0,0,0.08);
}

@media (hover: hover) {
  [data-theme="light"] .service-package:hover {
    border-color: rgba(200, 245, 62, 0.3);
  }
}

/* ============================================
   SERVICES STATEMENT (overview page)
   ============================================ */
.services-statement {
  padding: 100px var(--side-padding) 80px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.services-statement .body-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ============================================
   SERVICE INDIVIDUAL PAGE
   ============================================ */

/* Hero — mirrors .page-intro pattern: centered label + heading, row beneath */
.service-page-hero {
  padding: 140px var(--side-padding) 60px;
  text-align: center;
}

.service-page-hero .label-bracket {
  display: block;
  margin-bottom: 20px;
}

.service-page-hero .heading-xl {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.service-page-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
}

.service-page-intro {
  max-width: 380px;
  text-align: left;
}

.service-page-intro p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.service-view-projects {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.3s, border-color 0.3s;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 35%,
    var(--text-primary) 70%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
}

.service-view-projects:hover {
  border-color: var(--accent);
}

.service-page-descriptor {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 4px;
}

.service-page-descriptor span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- Horizontal scroll showcase ---- */
.hscroll-wrap {
  position: relative;
  /* NO overflow:hidden — breaks position:sticky on child */
  /* height set by JS: panels * 100vh */
}

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
}

.hscroll-track {
  display: flex;
  height: calc((100vw - 160px) * 9 / 16); /* 16:9 based on panel width */
  will-change: transform;
  gap: 12px;
}

.hscroll-panel {
  flex: 0 0 calc(100vw - 160px);
  width: calc(100vw - 160px);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.hscroll-panel video,
.hscroll-panel img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hscroll-panel:hover video,
.hscroll-panel:hover img {
  transform: scale(1.03);
}

.hscroll-panel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 100%);
}

/* Project info at bottom-left */
.hscroll-panel-info {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hscroll-panel-info .hscroll-client {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: none; /* replaced by brand name as main heading */
}

.hscroll-panel-info .hscroll-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hscroll-panel-info .hscroll-attrs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.hscroll-panel-info .hscroll-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  transition: color 0.3s;
}

.hscroll-panel:hover .hscroll-cta {
  color: white;
}

/* Project nav — right side vertical list */
.hscroll-nav {
  position: absolute;
  right: calc(80px + var(--side-padding));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.hscroll-nav-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.4s, font-size 0.4s;
  line-height: 1.3;
  text-align: right;
  cursor: pointer;
}

.hscroll-nav-item.active {
  color: white;
  font-size: 18px;
}

/* Progress bar at bottom */
.hscroll-progress {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hscroll-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s;
}

.hscroll-progress-dot.active {
  background: white;
  transform: scale(1.3);
}

/* ---- Service intro video (16:9) ---- */
.service-video {
  width: 100%;
}

.service-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ---- Service Hero Video (full-bleed video hero) ---- */
.service-hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.service-hero-video > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.service-hero-video .service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.80);
  z-index: 1;
}

.service-hero-video .service-hero-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.service-hero-video .service-hero-center .label-bracket {
  font-size: 18px;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.service-hero-video .service-hero-center .heading-xl {
  font-size: clamp(64px, 8vw, 140px);
  margin-bottom: 40px;
}

.service-hero-video .service-hero-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}

.service-hero-video .service-hero-content .service-page-intro {
  max-width: 560px;
  text-align: left;
}

.service-hero-video .service-hero-content .service-page-intro p {
  font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.service-hero-video .service-hero-content .service-view-projects {
  font-size: 14px;
  padding: 12px 20px;
  margin-top: 28px;
}

.service-hero-video .service-hero-content .service-page-descriptor span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C8F53E;
  position: relative;
  display: inline-block;
}

.service-hero-video .service-page-descriptor span::before,
.service-hero-video .service-page-descriptor span::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  color: #C8F53E;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.service-page-descriptor span.descriptor-glitching {
  animation: glitch-skew 0.3s ease forwards;
  text-shadow: 0 0 12px rgba(200, 245, 62, 0.6), 0 0 30px rgba(200, 245, 62, 0.2);
}

.service-page-descriptor span.descriptor-glitching::before {
  opacity: 1;
  color: #C8F53E;
  animation: glitch-left 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.service-page-descriptor span.descriptor-glitching::after {
  opacity: 1;
  color: #C8F53E;
  animation: glitch-right 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

/* Header dark bg on service pages */
body.service-page .site-header {
  background: transparent;
}

/* ---- Service packages ---- */
.service-packages {
  padding: 100px var(--side-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-package {
  background: var(--card-bg, rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-quart), box-shadow 0.4s ease;
}

.service-package::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .service-package:hover {
    border-color: rgba(200,245,62,0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  }
  .service-package:hover::after {
    transform: scaleX(1);
  }
}

.service-package-number {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 28px;
  transition: transform 0.4s var(--ease-out-quart), color 0.3s ease;
}


.service-package:hover .service-package-number {
  transform: scale(1.1);
  color: var(--accent);
}

.service-package-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.service-package-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---- Service quote ---- */
.service-quote {
  padding: 100px var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.service-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}

.service-quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ---- Service project slider ---- */
.service-slider-wrap {
  padding: 12px var(--side-padding) 0;
  max-width: var(--max-width);
  margin: 0 auto;
  display: none; /* hidden for now */
}

.service-slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.service-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-project-card {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

.service-project-card video,
.service-project-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-project-card:hover video,
.service-project-card:hover img {
  transform: scale(1.04);
}

.service-project-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  transition: background 0.4s ease;
}

.service-project-card:hover .service-project-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.7) 100%);
}

.service-project-info {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-project-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  line-height: 1;
  letter-spacing: -0.01em;
}

.service-project-attrs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.service-project-attrs span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Slider arrows */
.service-slider-prev,
.service-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.service-slider-prev { left: 16px; }
.service-slider-next { right: 16px; }

.service-slider-prev:hover,
.service-slider-next:hover {
  background: rgba(0,0,0,0.65);
  border-color: rgba(255,255,255,0.3);
}

/* Slider dots */
.service-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 0;
}

.service-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}

.service-slider-dot.active {
  opacity: 1;
  transform: scale(1.3);
}

/* Service projects grid — category project cards on service sub-pages */
.service-projects-section {
  padding: 80px var(--side-padding) 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-projects-cta {
  text-align: center;
  margin-bottom: 40px;
}

.service-projects-cta a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 14px 40px;
  border-radius: 60px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-projects-cta a:hover {
  background: var(--accent);
  color: #000;
}

.service-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-projects-grid .project-card {
  border-radius: 6px;
  overflow: hidden;
}

/* Other services cards — link to sibling services */
.service-other {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 80px var(--side-padding) 60px;
}

.service-other.home-services {
  grid-template-columns: repeat(4, 1fr);
}

.home-services-section {
  padding: 80px 0 0;
}

.home-services-header {
  padding: 0 var(--side-padding) 40px;
}

.service-other-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

.service-other-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.service-other-card .other-card-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.service-other-card .other-card-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.service-other-card .other-card-bg.active {
  opacity: 0.3;
}

.service-other-card:hover .other-card-bg.active {
  opacity: 0.6;
}

.service-other-card .other-card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.service-other-card .other-card-content {
  position: relative;
  z-index: 2;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.other-card-content .other-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.other-card-content .other-card-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}

.other-card-content .other-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.5) 0%,
    var(--accent) 25%,
    rgba(255,255,255,0.5) 50%,
    var(--accent) 75%,
    rgba(255,255,255,0.5) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
}

.service-other-card:hover .other-card-cta {
  max-height: 30px;
  opacity: 1;
}

/* --- Project card as link --- */
a.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* --- Project card filter transition (see filter-tabs section) --- */

/* ============================================
   ABOUT US PAGE
   ============================================ */
/* ---- About Hero (mirrors service-page-hero / page-intro pattern) ---- */
.about-hero {
  padding: 140px var(--side-padding) 60px;
  text-align: center;
}

.about-hero .heading-xl {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.about-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
}

.about-hero-intro {
  max-width: 420px;
  text-align: left;
}

.about-hero-intro p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.about-hero-descriptor {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 4px;
}

.about-hero-descriptor span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- About Grid (numbered principles) ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 var(--side-padding) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-grid-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-grid-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.about-grid-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.2;
}

.about-grid-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.work-hero {
  padding: 140px var(--side-padding) 40px;
  text-align: center;
}

.faq-hero {
  padding: 160px var(--side-padding) 60px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.faq-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin: 20px 0 28px;
}

.faq-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.faq-section {
  padding: 0 var(--side-padding) 40px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-category {
  padding: 60px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}

.faq-category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--accent);
  position: relative;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: rotate(0deg);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s;
}

.faq-answer a:hover {
  opacity: 0.7;
}

.faq-answer strong {
  color: var(--text-primary);
}

.faq-cta {
  padding: 80px var(--side-padding) 100px;
  text-align: center;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.faq-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.faq-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.faq-cta-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* Light theme FAQ overrides */
[data-theme="light"] .faq-category {
  border-bottom-color: var(--border-subtle);
}

[data-theme="light"] .faq-item {
  border-bottom-color: var(--border-subtle);
}

/* ============================================
   TEAM PAGE
   ============================================ */

.team-scroll {
  height: 480vh;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.team-scroll-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Scroll progress rail ── */
.scroll-rail {
  position: absolute;
  right: clamp(16px, 2.5vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.scroll-rail.is-visible {
  opacity: 1;
}

/* Track — thin vertical line */
.scroll-rail-track {
  width: 1px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.scroll-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, rgba(200,245,62,0.6), rgba(200,245,62,0.2));
  box-shadow: 0 0 6px rgba(200,245,62,0.3);
  transition: height 0.15s ease-out;
}

/* Dots overlay — positioned over the track */
.scroll-rail-dots {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 120px;
  justify-content: space-between;
  pointer-events: none;
}

.scroll-rail-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%);
  margin-left: 50%;
}

.scroll-rail-dot.is-active {
  background: rgba(200,245,62,0.8);
  border-color: rgba(200,245,62,0.5);
  box-shadow: 0 0 8px rgba(200,245,62,0.4);
  transform: translateX(-50%) scale(1.4);
}

.scroll-rail-dot.is-done {
  background: rgba(200,245,62,0.25);
  border-color: rgba(200,245,62,0.15);
}

/* Counter — mono type below */
.scroll-rail-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.scroll-rail-current {
  color: rgba(200,245,62,0.7);
  font-size: 11px;
}

.scroll-rail-sep {
  opacity: 0.3;
}

.scroll-rail-total {
  opacity: 0.4;
}

/* Mobile: smaller rail, tucked into corner */
@media (max-width: 768px) {
  .scroll-rail {
    right: 8px;
    gap: 8px;
  }
  .scroll-rail-track {
    height: 60px;
  }
  .scroll-rail-dots {
    height: 60px;
  }
  .scroll-rail-dot {
    width: 3px;
    height: 3px;
  }
  .scroll-rail-counter {
    font-size: 8px;
  }
}

/* Scroll hint — fades out as user scrolls */
.team-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.4s ease;
}

.team-scroll-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: saturate(0.3) blur(2px);
  z-index: 0;
}

.team-scroll-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 30%, var(--bg-primary) 75%),
    linear-gradient(to bottom, var(--bg-primary) 0%, transparent 15%, transparent 85%, var(--bg-primary) 100%);
  pointer-events: none;
}

.team-scroll-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.team-scroll-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.team-scroll-item.is-done {
  opacity: 0;
}

/* "We are..." dolly-in moment */
.team-we-are {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 120px);
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  will-change: transform, opacity;
}

/* Vocation crawl — one-at-a-time centered */
.team-scroll-crawl {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.8) 18%,
    black 38%,
    black 62%,
    rgba(0,0,0,0.8) 82%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.8) 18%,
    black 38%,
    black 62%,
    rgba(0,0,0,0.8) 82%,
    transparent 100%);
}

.team-crawl-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  will-change: transform;
}


/* Closing statement -- centered serif text */
.team-scroll-closing {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 36px);
  font-style: italic;
  color: var(--text-secondary);
  max-width: 800px;
  padding: 0 var(--side-padding);
  line-height: 1.6;
  will-change: transform, opacity;
}

.team-scroll-crawl em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 80px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  padding: 0 var(--side-padding);
  box-sizing: border-box;
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: team-word-gradient 3s linear infinite;
  display: block;
  will-change: opacity, filter, transform;
}

/* Per-vocation gradient colors */
.team-scroll-crawl em:nth-of-type(1)  { background-image: linear-gradient(90deg, #C8F53E, #f0ffb0, #C8F53E, #e0ff8f, #C8F53E); animation-delay: 0s; }
.team-scroll-crawl em:nth-of-type(2)  { background-image: linear-gradient(90deg, #00E5FF, #b0f4ff, #00E5FF, #80f0ff, #00E5FF); animation-delay: -0.5s; }
.team-scroll-crawl em:nth-of-type(3)  { background-image: linear-gradient(90deg, #FFD54F, #fff3c4, #FFD54F, #ffe082, #FFD54F); animation-delay: -1.1s; }
.team-scroll-crawl em:nth-of-type(4)  { background-image: linear-gradient(90deg, #FF4081, #ffb0c8, #FF4081, #ff80ab, #FF4081); animation-delay: -0.3s; }
.team-scroll-crawl em:nth-of-type(5)  { background-image: linear-gradient(90deg, #B388FF, #e0d0ff, #B388FF, #d1c4ff, #B388FF); animation-delay: -1.6s; }
.team-scroll-crawl em:nth-of-type(6)  { background-image: linear-gradient(90deg, #448AFF, #a0c4ff, #448AFF, #82b1ff, #448AFF); animation-delay: -0.8s; }
.team-scroll-crawl em:nth-of-type(7)  { background-image: linear-gradient(90deg, #FF6E40, #ffb8a0, #FF6E40, #ff9e80, #FF6E40); animation-delay: -1.3s; }
.team-scroll-crawl em:nth-of-type(8)  { background-image: linear-gradient(90deg, #64FFDA, #c0fff0, #64FFDA, #a7ffeb, #64FFDA); animation-delay: -0.2s; }
.team-scroll-crawl em:nth-of-type(9)  { background-image: linear-gradient(90deg, #FF80AB, #ffc8dd, #FF80AB, #ffb2cc, #FF80AB); animation-delay: -1.8s; }
.team-scroll-crawl em:nth-of-type(10) { background-image: linear-gradient(90deg, #FFD740, #fff0a0, #FFD740, #ffe57f, #FFD740); animation-delay: -0.6s; }

/* ====== SHAPE ITEMS ====== */
.team-scroll-shape {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-scroll-shape > div {
  isolation: isolate;
}

/* Knockout text — dark text that "punches through" the shape */
.team-scroll-shape span {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: absolute;
  z-index: 2;
  color: #fff;
  text-shadow: none;
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}

.team-scroll-shape.is-active span {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: shape-label-illum 2.8s ease-in-out 0.5s infinite;
}

/* Heart label — keep centered, filter-only pulse so transform isn't clobbered */
.team-scroll-shape.is-active .heart-label {
  opacity: 1;
  transform: translateX(-50%) translateY(-50%);
  transition: opacity 0.5s ease;
  animation: shape-label-illum 2.8s ease-in-out 0.5s infinite;
}

/* Mind label — preserve translateX centering on reveal */
.team-scroll-shape.is-active .mind-label {
  opacity: 1;
  transform: translateX(-50%) translateY(-50%);
  transition: opacity 0.5s ease;
  animation: shape-label-illum 2.8s ease-in-out 0.5s infinite;
}

/* Continuous soft glow pulse */
@keyframes shape-label-illum {
  0%, 100% { filter: brightness(1)    drop-shadow(0 0  4px currentColor); }
  50%      { filter: brightness(1.18) drop-shadow(0 0 14px currentColor); }
}

/* SCREENS — cinematic monitor with HUD overlay */
.shape-screen {
  width: clamp(360px, 65vw, 780px);
  aspect-ratio: 21 / 9;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform: perspective(800px) rotateX(8deg);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(200,245,62,0.15),
    inset 0 0 30px rgba(0,0,0,0.8);
}

.shape-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.shape-screen .shape-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.shape-screen span {
  color: #C8F53E;
  z-index: 3;
}

/* STAGES — light beam stage with SVG */
.shape-stage {
  width: clamp(320px, 55vw, 640px);
  height: clamp(280px, 45vw, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shape-stage-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shape-stage span {
  color: #d4a0ff;
}

/* Spotlight sweep animations — each beam pivots from its apex */
.stage-beam {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}

.stage-beam-a { animation: beam-sweep-a 5s ease-in-out infinite; }
.stage-beam-b { animation: beam-sweep-b 6.5s ease-in-out infinite; }
.stage-beam-c { animation: beam-sweep-c 4.2s ease-in-out infinite; }
.stage-beam-d { animation: beam-sweep-d 7s ease-in-out infinite; }

.stage-spot { transform-box: fill-box; transform-origin: 50% 50%; }
.stage-spot-a { animation: spot-sweep-a 5s ease-in-out infinite; }
.stage-spot-b { animation: spot-sweep-b 6.5s ease-in-out infinite; }
.stage-spot-c { animation: spot-sweep-c 4.2s ease-in-out infinite; }
.stage-spot-d { animation: spot-sweep-d 7s ease-in-out infinite; }

@keyframes beam-sweep-a {
  0%, 100% { transform: rotate(-14deg); }
  50%       { transform: rotate(14deg); }
}
@keyframes beam-sweep-b {
  0%, 100% { transform: rotate(16deg); }
  50%       { transform: rotate(-12deg); }
}
@keyframes beam-sweep-c {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(18deg); }
}
@keyframes beam-sweep-d {
  0%, 100% { transform: rotate(12deg); }
  50%       { transform: rotate(-16deg); }
}

/* Spots mirror their beam's sweep (translateX only on floor) */
@keyframes spot-sweep-a {
  0%, 100% { transform: translateX(-55px); }
  50%       { transform: translateX(55px); }
}
@keyframes spot-sweep-b {
  0%, 100% { transform: translateX(60px); }
  50%       { transform: translateX(-45px); }
}
@keyframes spot-sweep-c {
  0%, 100% { transform: translateX(-40px); }
  50%       { transform: translateX(65px); }
}
@keyframes spot-sweep-d {
  0%, 100% { transform: translateX(45px); }
  50%       { transform: translateX(-60px); }
}

/* HEARTS — geometric cyber heart */
.shape-heart {
  width: clamp(320px, 52vw, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  color: #FF1744;
}

.shape-heart svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255,23,68,0.4));
  animation: heart-pump 2.4s ease-in-out infinite;
}

.shape-heart .heart-label {
  position: absolute;
  top: 38%;
  left: 50%;
  display: inline-block;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  /* Inactive: centered but hidden */
  opacity: 0;
  transform: translateX(-50%) translateY(-50%);
  transition: none;
}

@keyframes heart-pump {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.06); }
  24%      { transform: scale(1); }
  36%      { transform: scale(1.04); }
  48%      { transform: scale(1); }
}

/* MINDS — lightbulb */
.shape-mind {
  width: clamp(280px, 44vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.shape-mind .bulb-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Bulb — opacity and glow driven entirely by scroll JS, start hidden */
.shape-mind .bulb-body,
.shape-mind .bulb-aura {
  opacity: 0;
}

.shape-mind .mind-label {
  position: absolute;
  /* sit at the centre of the circle — cy=120 in a 360-tall viewBox = 33% */
  top: 33%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 0.1em;
  color: #fff;
  white-space: nowrap;
  /* Inactive: centered but hidden */
  opacity: 0;
  transform: translateX(-50%) translateY(-50%);
  transition: none;
}

.shape-mind .mind-label em {
  font-style: normal;
  font-size: 1em;
  letter-spacing: 0.08em;
  opacity: 0.85;
  display: block;
}


@keyframes team-word-gradient {
  0%   { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

/* CREATORS heading — stacked so font changes don't shift "NOT PROMPTERS." */
.team-scroll-item[data-scroll-item="0"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* "CREATORS," — glowing illumination + font cycling */
.team-scroll .heading-xl em {
  font-style: normal;
  display: inline-block;
  color: var(--accent);
  animation: team-creators-glow 3s ease-in-out infinite, team-energy-size 2s ease-in-out infinite;
}

/* "& ENERGY." finale */
.team-energy-title {
  font-size: clamp(80px, 18vw, 220px) !important;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.team-energy-title i {
  font-style: normal;
  display: inline-block;
  color: var(--accent);
  animation: team-creators-glow 3s ease-in-out infinite 0.5s, team-energy-size 2s ease-in-out infinite;
}

/* (hearts and minds are now shape items — see .shape-heart, .shape-mind) */

/* (Old per-profession-group gradient colors removed — now using .team-scroll-crawl em:nth-of-type) */

@keyframes team-creators-glow {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* (team-hearts-glow and team-minds-sizzle removed — replaced by shape animations) */

@keyframes team-energy-size {
  0%, 100% { transform: scale(1); }
  49%      { transform: scale(1); }
  49.5%    { transform: scale(1.08); }
  50%      { transform: scale(0.95); }
  50.5%    { transform: scale(1.04); }
  51%      { transform: scale(1); }
}

.team-intro {
  padding: 0 var(--side-padding) 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.team-intro-sub {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto 80px;
}

.team-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
  border: 2px solid var(--bg-card-border);
  outline: 2px solid transparent;
  outline-offset: -2px;
  animation: team-border-glitch 5s ease-in-out infinite;
}

.team-card:nth-child(2) { animation-delay: -0.7s; }
.team-card:nth-child(3) { animation-delay: -1.4s; }
.team-card:nth-child(4) { animation-delay: -2.1s; }
.team-card:nth-child(5) { animation-delay: -2.8s; }
.team-card:nth-child(6) { animation-delay: -3.5s; }
.team-card:nth-child(7) { animation-delay: -0.3s; }
.team-card:nth-child(8) { animation-delay: -1.8s; }

@keyframes team-border-glitch {
  0%, 100% { border-color: var(--bg-card-border); outline-color: transparent; }
  3%  { border-color: rgba(200, 245, 62, 0.6); outline-color: rgba(200, 245, 62, 0.15); }
  4%  { border-color: var(--bg-card-border); outline-color: transparent; }
  5%  { border-color: rgba(200, 245, 62, 0.4); outline-color: rgba(200, 245, 62, 0.1); }
  6%  { border-color: var(--bg-card-border); outline-color: transparent; }
  50% { border-color: var(--bg-card-border); outline-color: transparent; }
  53% { border-color: rgba(200, 245, 62, 0.5); outline-color: rgba(200, 245, 62, 0.12); }
  54% { border-color: rgba(200, 245, 62, 0.3); outline-color: transparent; }
  55% { border-color: var(--bg-card-border); outline-color: transparent; }
}

@media (hover: hover) {
  .team-card:hover {
    transform: translateY(-4px);
    animation: team-border-glitch-fast 0.3s linear infinite;
  }
}

@keyframes team-border-glitch-fast {
  0%   { border-color: rgba(200, 245, 62, 0.7); outline-color: rgba(200, 245, 62, 0.2); }
  15%  { border-color: rgba(200, 245, 62, 0.3); outline-color: transparent; }
  30%  { border-color: rgba(200, 245, 62, 0.9); outline-color: rgba(200, 245, 62, 0.25); }
  45%  { border-color: rgba(200, 245, 62, 0.4); outline-color: rgba(200, 245, 62, 0.1); }
  60%  { border-color: rgba(200, 245, 62, 0.8); outline-color: rgba(200, 245, 62, 0.15); }
  75%  { border-color: rgba(200, 245, 62, 0.2); outline-color: transparent; }
  90%  { border-color: rgba(200, 245, 62, 0.6); outline-color: rgba(200, 245, 62, 0.2); }
  100% { border-color: rgba(200, 245, 62, 0.7); outline-color: rgba(200, 245, 62, 0.2); }
}

.team-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--cobalt);
  overflow: hidden;
}

.team-card-image img,
.team-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

@media (hover: hover) {
  .team-card:hover .team-card-image img,
  .team-card:hover .team-card-image video {
    filter: grayscale(0%);
  }
}

@media (hover: none) {
  .team-card-image img,
  .team-card-image video {
    filter: grayscale(0%);
  }
}

.team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-card-info {
  padding: 20px 24px;
}

.team-card-info .team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-card-info .team-role {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-card-info 
.team-card:hover .team-name {
  color: var(--accent);
}

.team-card:hover .team-bio {
  color: var(--text-primary);
}

.team-bio {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.team-card-info .team-links {
  display: flex;
  gap: 12px;
}

.team-card-info .team-links a {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.team-card-info .team-links a:hover {
  color: var(--text-primary);
}

/* Featured team cards (founders/leadership) */
.team-card.featured .team-card-image {
  aspect-ratio: 1/1;
}

.team-card.featured .team-card-info {
  padding: 24px 24px;
}

.team-card.featured .team-name {
  font-size: 22px;
}

.team-card.featured .team-bio {
  font-size: 15px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  padding: 140px var(--side-padding) 60px;
  text-align: center;
}

.contact-hero .heading-xl {
  max-width: 700px;
  margin: 0 auto 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 20px var(--side-padding) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-left .contact-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: block;
}

.contact-left .body-text-serif {
  font-size: 20px;
  margin-bottom: 24px;
  max-width: 420px;
}

.contact-left .body-text-serif a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: absolute;
  top: 0;
  right: 0;
}


/* ============================================
   PROJECT DETAIL PAGES — Figma-faithful
   ============================================ */

/* Back to index bar — fixed below header */
.project-back-bar {
  position: fixed;
  top: 74px;
  left: var(--side-padding);
  z-index: 1001;
}

.project-back-bar a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c0c0c0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  text-decoration: none;
}

.project-back-bar a:hover {
  color: var(--accent);
}

.project-back-bar a svg {
  width: 12px;
  height: 12px;
}

/* ---- Adaptive Project Hero (image-based) ---- */
.project-hero {
  padding: 100px var(--side-padding) 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-hero-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.project-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 100px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.project-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.project-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
}

/* ---- Adaptive Project Overview (left/right split) ---- */
.project-overview-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-overview-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.project-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Project scroll progress bar ---- */
.project-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1001;
  width: 0%;
  transition: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .project-progress-bar { display: none; }
}

/* Full-bleed hero video */
.project-hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.project-hero-video > video,
.project-hero-video > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.project-hero-video .hero-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
  z-index: 2;
}

.project-hero-video .hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  z-index: 2;
}

/* Project hero video controls (play/pause, sound, fullscreen) */
.project-hero-controls {
  position: absolute;
  bottom: 30px;
  left: var(--side-padding);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-hero-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s, border-color 0.3s;
}

.project-hero-controls button:hover {
  background: rgba(200, 245, 62, 0.1);
  border-color: rgba(200, 245, 62, 0.5);
}

.project-hero-controls button:hover svg {
  stroke: var(--accent);
}

/* Hoxton Hotels hero slider */
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider-track video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider-track video.active {
  opacity: 1;
}

.hero-slider-controls {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slider-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  transition: background 0.3s, border-color 0.3s;
}

.hero-slider-controls button:hover {
  background: rgba(200, 245, 62, 0.1);
  border-color: rgba(200, 245, 62, 0.5);
}

.hero-slider-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

/* Scroll down indicator */
.project-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.project-scroll-indicator:hover {
  color: var(--accent);
}

.project-scroll-indicator:hover .scroll-arrow {
  border-color: var(--accent);
}

.project-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-scroll-indicator .scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #a4a4a4;
  border-bottom: 1.5px solid #a4a4a4;
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* Project content area */
.project-content {
  max-width: 1700px;
  margin: 0 auto;
  padding: 60px 90px 80px;
}

/* Category tag */
.project-category-tag {
  font-family: var(--font-mono);
  font-size: 18px;
  color: #c0c0c0;
  margin-bottom: 30px;
}

.project-tagline {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 30px;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 25%,
    var(--text-primary) 50%,
    var(--accent) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
}

/* Two-column overview: title left, body right */
.project-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  padding: 40px var(--side-padding) 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Reset padding when inside project-content (hybrid/native-ai pages) */
.project-content .project-overview {
  padding: 0;
  max-width: none;
}

.project-content .project-meta-grid {
  padding: 0;
  max-width: none;
}

.project-overview-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 130px);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.project-overview-title .glitch-loop {
  font-style: normal;
}

.project-overview-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: #c0c0c0;
  max-width: 485px;
}

.project-overview-body em,
.body-text-serif em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  display: inline;
  animation: em-pulse 5s ease-in-out infinite;
}

@keyframes em-pulse {
  0%, 100% { text-shadow: none; }
  3%  { text-shadow: -2px 0 rgba(200,245,62,0.4), 2px 0 rgba(0,229,255,0.3); }
  4%  { text-shadow: 2px 0 rgba(200,245,62,0.3), -2px 0 rgba(255,45,120,0.3); }
  5%  { text-shadow: none; }
  50% { text-shadow: none; }
  53% { text-shadow: 1px 0 rgba(200,245,62,0.3), -1px 0 rgba(255,45,120,0.2); }
  54% { text-shadow: -1px 0 rgba(0,229,255,0.3), 1px 0 rgba(200,245,62,0.2); }
  55% { text-shadow: none; }
}

.project-industry-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin-top: 20px;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent) 25%,
    var(--text-primary) 50%,
    var(--accent) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-gradient 6s linear infinite;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 18px;
  color: #c0c0c0;
  margin-top: 20px;
  display: inline-block;
}

/* Structured project metadata — mini card grid */
.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.project-meta-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.6s ease;
}

.project-meta-item:nth-child(1) { animation: meta-card-glow 4s ease-in-out infinite; }
.project-meta-item:nth-child(2) { animation: meta-card-glow 4s ease-in-out 0.5s infinite; }
.project-meta-item:nth-child(3) { animation: meta-card-glow 4s ease-in-out 1s infinite; }
.project-meta-item:nth-child(4) { animation: meta-card-glow 4s ease-in-out 1.5s infinite; }

@keyframes meta-card-glow {
  0%, 100% { border-color: var(--bg-card-border); }
  25%      { border-color: rgba(200, 245, 62, 0.5); }
  50%      { border-color: rgba(200, 245, 62, 0.5); }
  75%      { border-color: var(--bg-card-border); }
}

.project-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-meta-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Client logo in overview */
.project-client-logo {
  margin-top: 30px;
  max-width: 148px;
}

.project-client-logo img {
  width: 100%;
  height: auto;
  -webkit-filter: grayscale(100%) brightness(0.7);
  filter: grayscale(100%) brightness(0.7);
}

/* Caption text */
.project-caption {
  font-family: var(--font-mono);
  font-size: 18.857px;
  line-height: 1.5;
  color: #c0c0c0;
  max-width: 1076px;
  margin: 40px 0;
}

/* Media sections */
.project-media {
  margin-bottom: 60px;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.project-content .project-media {
  padding: 0;
  max-width: none;
}

.project-media-full {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 30px;
  overflow: hidden;
}

.project-media-full img,
.project-media-full video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-media-full.aspect-16-9 {
  aspect-ratio: 16/9;
}

.project-media-full.aspect-16-9 img,
.project-media-full.aspect-16-9 video {
  height: 100%;
}

.project-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.project-media-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.project-media-grid.three-col {
  grid-template-columns: 37% 38% 21%;
}

.project-media-grid.three-equal {
  grid-template-columns: 1fr 1fr 1fr;
}

.project-media-item {
  border-radius: 30px;
  overflow: hidden;
  min-height: 0;
}

.project-media-grid.two-col .project-media-item,
.project-media-grid.four-col .project-media-item {
  aspect-ratio: 16/10;
}

.project-media-grid.three-col .project-media-item,
.project-media-grid.three-equal .project-media-item {
  aspect-ratio: auto;
}

.project-media-item img,
.project-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text section block */
.project-text-block {
  padding: 60px var(--side-padding);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.project-content .project-text-block {
  padding: 60px 0;
  max-width: none;
}

.project-text-block .heading-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 50px);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #c0c0c0;
  margin-bottom: 24px;
}

.project-text-block .body-text {
  max-width: 700px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: #c0c0c0;
}

/* Related projects block */
/* Related projects slider */
.project-related {
  margin: 100px 0 0;
  padding: 60px var(--side-padding) 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.project-content .project-related {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.project-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.project-related-header .related-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text-primary, #fff);
  line-height: 1;
}

.project-related-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-related-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  font-size: 14px;
}

.project-related-arrows button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 245, 62, 0.06);
  box-shadow: 0 0 16px rgba(200, 245, 62, 0.12);
}

.related-slider-viewport {
  overflow: hidden;
}

.related-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-slide {
  flex: 0 0 calc(33.333% - 16px);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s ease;
}

.related-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.related-slide-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  position: relative;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.related-slide-thumb::after {
  content: 'VIEW PROJECT';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: 2;
}

.related-slide:hover .related-slide-thumb::after {
  opacity: 1;
}

.related-slide:hover .related-slide-thumb {
  box-shadow: 0 8px 40px rgba(200, 245, 62, 0.12), 0 0 0 1px rgba(200, 245, 62, 0.2);
  transform: translateY(-4px);
}

.related-slide-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.related-slide:hover .related-slide-thumb video {
  transform: scale(1.05);
}

.related-slide-thumb .related-slide-placeholder {
  width: 100%;
  height: 100%;
}

.related-slide-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.related-slide:hover .related-slide-name {
  color: var(--accent);
}

.related-slide-category {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(164,164,164,0.6);
  margin-top: 4px;
}

/* Project stats row */
.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 60px var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-stat {
  text-align: center;
  padding: 30px 20px;
  background: var(--near-black);
  border-radius: 12px;
}

.project-stat .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.project-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Project quote / pullquote */
.project-quote {
  padding: 80px var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.project-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.4;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 16px;
}

.project-quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* OpenAI Sora sub-sections */
.project-sub-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 60px;
  margin-top: 60px;
}

.project-sub-header {
  margin-bottom: 40px;
}

.project-sub-header .heading-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 50px);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #c0c0c0;
  margin-bottom: 8px;
}

.project-sub-header .label-bracket {
  display: block;
}

/* Light theme variant — for Stella McCartney etc. */
body.project-light {
  background: #f1f1ef;
  color: #000;
}

body.project-light .site-header .menu-btn svg line {
  stroke: #000;
}

body.project-light .project-category-tag,
body.project-light .project-overview-title,
body.project-light .project-overview-body,
body.project-light .project-industry-tag,
body.project-light .project-link,
body.project-light .project-caption {
  color: #000;
}

body.project-light .project-industry-tag {
  background: linear-gradient(
    90deg,
    #000 0%, var(--accent) 25%, #000 50%, var(--accent) 75%, #000 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.project-light .project-meta-item {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}

body.project-light .project-meta-label {
  color: var(--accent);
}

body.project-light .project-meta-value {
  color: #222;
}

body.project-light .project-text-block .heading-md,
body.project-light .project-text-block .body-text {
  color: #000;
}

body.project-light .project-related {
  border-top-color: rgba(0,0,0,0.1);
}

body.project-light .related-slide-name {
  color: rgba(0,0,0,0.5);
}

body.project-light .related-slide:hover .related-slide-name {
  color: var(--accent);
}

body.project-light .related-label {
  color: #000;
}

body.project-light .related-slide-thumb {
  background: #f0f0f0;
}

body.project-light .related-slide:hover .related-slide-thumb {
  box-shadow: 0 8px 40px rgba(200, 245, 62, 0.15), 0 0 0 1px rgba(200, 245, 62, 0.25);
}

body.project-light .project-related-arrows button {
  border-color: rgba(0,0,0,0.15);
  color: rgba(0,0,0,0.4);
}

body.project-light .project-related-arrows button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 245, 62, 0.06);
  box-shadow: 0 0 16px rgba(200, 245, 62, 0.12);
}

body.project-light .lets-talk-section,
body.project-light .lets-talk-section h2,
body.project-light .lets-talk-section p {
  color: #000;
}

body.project-light .site-footer {
  background: #f1f1ef;
}

body.project-light .site-footer,
body.project-light .site-footer a,
body.project-light .site-footer .label-bracket {
  background: linear-gradient(
    90deg,
    #000 0%,
    var(--accent) 25%,
    #000 50%,
    var(--accent) 75%,
    #000 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.project-light .site-footer .copyright,
body.project-light .site-footer .footer-col-links a,
body.project-light .site-footer .footer-address {
  color: #000;
}

body.project-light .site-footer a:hover {
  color: #545454;
}

body.project-light .project-back a {
  color: rgba(0,0,0,0.6);
}

body.project-light .project-back a:hover {
  color: #000;
}

/* Queens serif text block — for editorial narrative sections */
.project-editorial-text {
  display: block;
  padding: 100px 0;
  text-align: center;
}

.project-editorial-text .editorial-divider {
  display: none;
}

body.project-light .project-editorial-text .editorial-divider {
  background: #000;
}

.project-editorial-text .editorial-body {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  color: #c0c0c0;
  max-width: none;
}

body.project-light .project-editorial-text .editorial-body {
  color: #000;
}

/* 4-column equal grid for Hoxton etc. */
.project-media-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

/* Phone mockup section (legacy) */
.project-phone-mockup {
  overflow: hidden;
  margin: 40px 0;
}

/* Phone mockup row — CSS-only iPhone frames */
.phone-mockup-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}
.phone-mockup-row.four-phones {
  gap: 30px;
}
.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.phone-mockup-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 9/19.5;
  background: #1a1a1a;
  border-radius: 40px;
  border: 4px solid #333;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-mockup-row.four-phones .phone-mockup-frame {
  width: 220px;
  border-radius: 34px;
  border-width: 3px;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-mockup-row.four-phones .phone-notch {
  width: 65px;
  height: 20px;
  border-radius: 0 0 14px 14px;
}
.phone-mockup-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-mockup-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.phone-mockup-row.contain-fit .phone-mockup-frame video,
.phone-mockup-row.contain-fit .phone-mockup-frame img {
  object-fit: contain;
  background: #000;
}
.phone-mockup-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(164,164,164,0.6);
}
/* Light theme phone mockups */
.project-light .phone-mockup-frame {
  border-color: #c8c8c8;
  background: #f0f0f0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(0,0,0,0.05);
}
.project-light .phone-notch {
  background: #f0f0f0;
}
.project-light .phone-mockup-label {
  color: rgba(60,60,60,0.6);
}

/* Stella McCartney full-width video blocks */
.stella-video-block {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #f0ebe4;
}
.stella-video-block video {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Stella Slider --- */
.stella-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -90px 40px;
  aspect-ratio: 16 / 9;
  background: #f1f1ef;
}
.stella-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.stella-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stella-slide > video {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Bird grid inside slide 1 — 3:2 grid fitted inside 16:9, centered */
.stella-bird-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 100%;
  aspect-ratio: 3 / 2;
}
.stella-bird-cell {
  background: transparent;
  overflow: hidden;
}
.stella-bird-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider arrows */
.stella-slider-prev,
.stella-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.92);
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: border-color 0.25s, background 0.25s, opacity 0.25s;
}
.stella-slider-prev:hover,
.stella-slider-next:hover {
  border-color: rgba(0,0,0,0.4);
  background: rgba(255,255,255,1);
}
.stella-slider-prev { left: 24px; }
.stella-slider-next { right: 24px; }
.stella-slider-prev.hidden,
.stella-slider-next.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Slider dots */
.stella-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 0;
}
.stella-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.stella-slider-dot.active {
  background: #000;
  border-color: #000;
}

/* --- BHN Campaign Assets (categorised rows) --- */
.bhn-category-section {
  margin-bottom: 48px;
}
.bhn-category-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.bhn-category-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.bhn-tile {
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  flex: 1;
}
/* Proportional flex values based on aspect ratio so all tiles share equal height */
.bhn-tile--portrait { flex: 0.5625; /* 9/16 */ aspect-ratio: 9 / 16; }
.bhn-tile--square   { flex: 1;      aspect-ratio: 1 / 1; }
.bhn-tile--wide     { flex: 1.91;   /* 1200/628 */ aspect-ratio: 1200 / 628; }
.bhn-tile--landscape{ flex: 1.778;  /* 16/9 */ aspect-ratio: 16 / 9; }
.bhn-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Full-width video block */
.project-full-video {
  width: calc(100% + 180px);
  margin-left: -90px;
  margin-right: -90px;
  margin-bottom: 40px;
  overflow: hidden;
}

.project-full-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-full-video.with-aspect {
  aspect-ratio: 16/9;
}

.project-full-video.with-aspect video {
  height: 100%;
}

/* Project next / prev navigation */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 80px var(--side-padding);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.project-content .project-nav {
  padding: 80px 0;
  max-width: none;
}

.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  background: var(--near-black);
  border-radius: 12px;
  transition: background 0.3s;
}

.project-nav-item:hover {
  background: rgba(35, 35, 35, 0.8);
}

.project-nav-item .nav-direction {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-nav-item .nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
}

.project-nav-item.next {
  text-align: right;
}

/* Process / workflow section */
.project-process {
  padding: 60px var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-process .label-bracket {
  display: block;
  margin-bottom: 30px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.process-step {
  background: var(--near-black);
  border-radius: 12px;
  padding: 28px 24px;
}

.process-step .step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--text-muted);
  margin-bottom: 12px;
  opacity: 0.3;
}

.process-step .step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-step .step-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tech stack pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 6px 14px;
}


@keyframes scroll-breathe {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

.hero .project-scroll-indicator .scroll-arrow {
  animation: scroll-breathe 2s var(--ease-in-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero .project-scroll-indicator .scroll-arrow {
    animation: none;
  }
}


/* ============================================
   SCROLL ANIMATIONS — Premium Reveal System
   ============================================ */

/* --- Base: all animated elements start hidden --- */
.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
}

/* --- Fade Up (default — elegant upward drift) --- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fade In (pure opacity, no movement) --- */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.is-visible {
  opacity: 1;
}

/* --- Scale Up (subtle zoom from 95% to 100%) --- */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Slide From Left --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Slide From Right --- */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Mask Reveal (clip from bottom) --- */
.reveal-mask {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}

.reveal-mask.is-visible {
  clip-path: inset(0 0 0 0);
}

/* --- Word-by-word / char-by-char split text --- */
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-text .word-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.split-text.is-visible .word-inner {
  transform: translateY(0);
}

/* --- Scroll-driven text illumination --- */
[data-reveal="illuminate"] {
  opacity: 1 !important;
  transform: none !important;
}

.illum-word {
  display: inline-block;
  opacity: 0.15;
  will-change: opacity;
}

.illum-word em {
  color: var(--accent);
  font-style: normal;
}

.illum-word b {
  font-weight: 600;
  color: var(--accent);
}

.illum-word i {
  font-style: normal;
  color: var(--accent);
}


@media (prefers-reduced-motion: reduce) {
  .illum-word {
    opacity: 1 !important;
  }

  .header-left .tagline,
  a.tagline,
  .project-tagline,
  .clients-label,
  .team-scroll .heading-xl em,
  .team-energy-title i,
  .team-scroll-crawl em,
  .team-scroll-item,
  .stage-beam,
  .stage-spot,
  .team-scroll-shape span,
  .team-scroll-shape .heart-label,
  .shape-heart,
  .shape-heart svg,
  .shape-heart .heart-label,
  .shape-mind,
  .shape-mind .bulb-svg,
  .shape-mind .mind-label,
  .footer-col .label-bracket,
  .project-industry-tag {
    animation: none !important;
    -webkit-text-fill-color: var(--text-primary);
  }

  .project-meta-item,
  .team-card {
    animation: none !important;
    border-color: var(--bg-card-border) !important;
  }
}

/* ============================================
   GLITCH / NOISE EFFECT
   ============================================ */
.glitch-hover {
  position: relative;
  display: inline-block;
}

@media (hover: hover) {
  .glitch-hover:hover {
    animation: glitch-skew 0.4s ease forwards;
  }

  .glitch-hover::before,
  .glitch-hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
  }

  .glitch-hover:hover::before {
    opacity: 1;
    color: rgba(255, 0, 0, 0.7);
    mix-blend-mode: screen;
    animation: glitch-left 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  }

  .glitch-hover:hover::after {
    opacity: 1;
    color: rgba(0, 200, 255, 0.7);
    mix-blend-mode: screen;
    animation: glitch-right 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  }
}

@keyframes glitch-left {
  0%   { transform: translate(0); opacity: 0; }
  20%  { transform: translate(-6px, -2px); opacity: 0.7; }
  40%  { transform: translate(4px, 1px); opacity: 0.5; }
  60%  { transform: translate(-3px, -1px); opacity: 0.8; }
  80%  { transform: translate(2px, 0); opacity: 0.3; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes glitch-right {
  0%   { transform: translate(0); opacity: 0; }
  20%  { transform: translate(5px, 2px); opacity: 0.6; }
  40%  { transform: translate(-4px, -1px); opacity: 0.7; }
  60%  { transform: translate(3px, 1px); opacity: 0.5; }
  80%  { transform: translate(-2px, 0); opacity: 0.4; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes glitch-skew {
  0%   { transform: skewX(0); }
  20%  { transform: skewX(-2deg); }
  40%  { transform: skewX(1.5deg); }
  60%  { transform: skewX(-1deg); }
  80%  { transform: skewX(0.5deg); }
  100% { transform: skewX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .glitch-hover:hover,
  .glitch-hover:hover::before,
  .glitch-hover:hover::after {
    animation: none !important;
  }
}

/* Glitch on the CTA heading */
.cta-section .heading-lg a.glitch-hover::before,
.cta-section .heading-lg a.glitch-hover::after {
  display: block;
  text-align: center;
}

/* Glitch triggered by parent hover (service cards, snippet items) */
.glitch-title {
  position: relative;
  display: inline-block;
}

@media (hover: hover) {
  .glitch-title::before,
  .glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
    font-weight: inherit;
  }

  .service-card:hover .glitch-title,
  .project-card:hover .glitch-title {
    animation: glitch-skew 0.4s ease forwards;
  }

  .service-card:hover .glitch-title::before,
  .project-card:hover .glitch-title::before {
    opacity: 1;
    color: var(--accent);
    animation: glitch-left 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  }

  .service-card:hover .glitch-title::after,
  .project-card:hover .glitch-title::after {
    opacity: 1;
    color: var(--accent);
    animation: glitch-right 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  }

}

@media (prefers-reduced-motion: reduce) {
  .glitch-title,
  .glitch-title::before,
  .glitch-title::after {
    animation: none !important;
  }
}

/* Looping glitch — always-on, lime green */
.glitch-loop {
  position: relative;
  display: inline-block;
  color: #C8F53E;
  font-style: italic;
}

.glitch-loop::before,
.glitch-loop::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: #C8F53E;
}

.glitch-loop::before {
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-loop-left 3s ease-in-out infinite;
}

.glitch-loop::after {
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: glitch-loop-right 3s ease-in-out 0.1s infinite;
}

.glitch-loop {
  animation: glitch-loop-skew 3s ease-in-out infinite;
}

@keyframes glitch-loop-left {
  0%, 100%  { transform: translate(0); opacity: 0; }
  4%        { transform: translate(-6px, -2px); opacity: 0.8; }
  6%        { transform: translate(4px, 1px); opacity: 0.5; }
  8%        { transform: translate(-3px, -1px); opacity: 0.9; }
  10%       { transform: translate(2px, 0); opacity: 0.4; }
  12%       { transform: translate(0); opacity: 0; }
}

@keyframes glitch-loop-right {
  0%, 100%  { transform: translate(0); opacity: 0; }
  4%        { transform: translate(5px, 2px); opacity: 0.7; }
  6%        { transform: translate(-4px, -1px); opacity: 0.6; }
  8%        { transform: translate(3px, 1px); opacity: 0.8; }
  10%       { transform: translate(-2px, 0); opacity: 0.5; }
  12%       { transform: translate(0); opacity: 0; }
}

@keyframes glitch-loop-skew {
  0%, 100%  { transform: skewX(0); }
  4%        { transform: skewX(-2deg); }
  6%        { transform: skewX(1.5deg); }
  8%        { transform: skewX(-1deg); }
  10%       { transform: skewX(0.5deg); }
  12%       { transform: skewX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .glitch-title:hover,
  .glitch-title:hover::before,
  .glitch-title:hover::after {
    animation: none !important;
    transform: none !important;
  }
  .glitch-loop,
  .glitch-loop::before,
  .glitch-loop::after {
    animation: none !important;
  }
}

/* Noise / grain overlay (applied to sections) */
.noise-overlay {
  position: relative;
}

.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMFBQUFBQWHBkSOAAAASUlEQVQ4y2MYBaNg2AKmUBBgYOAOBQEGBq5QEGBgYAkFAQYG5lAQYGBgDAUBBgaGUBBgYKAPBQEGBppQEGBgoAoFAQaK3AcAYmEEAYFdiYQAAAAASUVORK5CYII=");
  background-size: 48px 48px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* Green-tinted noise flash on hover for CTA */
.mid-cta-btn:hover,
.glitch-hover:hover {
  text-shadow:
    0 0 8px rgba(200, 245, 62, 0.3),
    0 0 20px rgba(200, 245, 62, 0.1);
}

/* --- Stagger children (applied via data-stagger or .stagger-children) --- */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.stagger-children.is-visible > *:nth-child(1)  { transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2)  { transition-delay: 0.08s; }
.stagger-children.is-visible > *:nth-child(3)  { transition-delay: 0.14s; }
.stagger-children.is-visible > *:nth-child(4)  { transition-delay: 0.19s; }
.stagger-children.is-visible > *:nth-child(5)  { transition-delay: 0.23s; }
.stagger-children.is-visible > *:nth-child(6)  { transition-delay: 0.26s; }
.stagger-children.is-visible > *:nth-child(7)  { transition-delay: 0.29s; }
.stagger-children.is-visible > *:nth-child(8)  { transition-delay: 0.31s; }
.stagger-children.is-visible > *:nth-child(9)  { transition-delay: 0.33s; }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: 0.35s; }

.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Logo grid stagger (3 rows x 6 cols = 18 cards) --- */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.stagger-grid.is-visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger-grid.is-visible > *:nth-child(2) { transition-delay: 0.04s; }
.stagger-grid.is-visible > *:nth-child(3) { transition-delay: 0.08s; }
.stagger-grid.is-visible > *:nth-child(4) { transition-delay: 0.12s; }
.stagger-grid.is-visible > *:nth-child(5) { transition-delay: 0.16s; }
.stagger-grid.is-visible > *:nth-child(6) { transition-delay: 0.2s; }

.stagger-grid.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-hand.stagger-grid > .service-card {
  opacity: 1;
  transform: translateY(30px) scale(0.96);
}

.service-hand.stagger-grid.is-visible > .service-card {
  transform: translateY(0) scale(1);
}

/* --- Horizontal rule grow (decorative lines) --- */
.reveal-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-line.is-visible {
  transform: scaleX(1);
}

/* --- Counter / number roll-up (utility class) --- */
.reveal-counter {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.reveal-counter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Parallax drift (controlled via JS transform) --- */
.parallax-drift {
  will-change: transform;
  transition: none; /* JS handles transform directly */
}

/* --- Delay utility classes --- */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* --- Speed modifiers --- */
.reveal-slow {
  transition-duration: 1.4s !important;
}

.reveal-fast {
  transition-duration: 0.5s !important;
}

/* --- Backward compat: keep .fade-in working --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced motion: respect user preference --- */
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-fade,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .reveal-mask,
  .reveal-line,
  .reveal-counter,
  .stagger-children > *,
  .stagger-grid > *,
  .split-text .word-inner,
  .fade-in {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
    transform: none !important;
    clip-path: none !important;
    opacity: 1 !important;
  }

  .contact-field:hover label,
  .contact-field label {
    animation: none !important;
  }
}


/* ============================================
   PROJECT LIGHTBOX (iframe-based)
   ============================================ */
/* Hide chrome when page is loaded inside the homepage lightbox iframe */
.in-lightbox .site-header,
.in-lightbox .menu-overlay,
.in-lightbox .project-back-bar,
.in-lightbox .lets-talk-section,
.in-lightbox .site-footer {
  display: none !important;
}

.in-lightbox .project-hero-video {
  margin-top: 0;
}

.project-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.project-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.project-lightbox-card {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.35s ease;
  opacity: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.project-lightbox.active .project-lightbox-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.project-lightbox-close:hover {
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.15);
}

.project-lightbox-close svg {
  width: 12px;
  height: 12px;
}

.lightbox-fullscreen-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lightbox-fullscreen-btn:hover {
  background: rgba(200, 245, 62, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-fullscreen-btn svg {
  width: 16px;
  height: 16px;
}

.lightbox-card-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-primary);
}

.lightbox-card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-card-body {
  padding: 28px 32px 32px;
}

.lightbox-card-category {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.lightbox-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.lightbox-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.lightbox-card-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}

.lightbox-card-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ============================================
   SORA FILM LIGHTBOX (OpenAI project page)
   ============================================ */
.sora-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sora-film-trigger:hover .sora-play-overlay {
  opacity: 1;
}

.sora-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.sora-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.sora-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
}
.sora-lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 16/9;
}
.sora-lightbox-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.sora-lightbox-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.sora-lb-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.sora-lb-btn svg {
  width: 16px;
  height: 16px;
}
.sora-lb-btn:hover {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.8);
}
.sora-lb-close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.sora-lb-close:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}
.sora-lb-title {
  position: absolute;
  bottom: -56px;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* ============================================
   LEGAL PAGES (Privacy Policy / Cookie Policy)
   ============================================ */

.legal-hero {
  padding: 180px var(--side-padding) 60px;
  text-align: center;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--side-padding) 100px;
}

.legal-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--bg-card-border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section .heading-md {
  margin-bottom: 24px;
  color: var(--text-primary);
}

.legal-subheading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin: 32px 0 12px;
}

.legal-section .body-text-serif {
  margin-bottom: 14px;
}

.legal-section .body-text-serif a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}

.legal-section .body-text-serif a:hover {
  opacity: 0.7;
}

.legal-section .body-text-serif strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-info-block {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 16px 0 20px;
}

.legal-info-block .body-text-serif {
  margin-bottom: 6px;
}

.legal-info-block .body-text-serif:last-child {
  margin-bottom: 0;
}

/* Legal lists */
.legal-list {
  margin: 16px 0 20px 0;
  padding-left: 0;
}

.legal-list li {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
}

.legal-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Data categories grid */
.legal-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.legal-data-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 20px 24px;
}

.legal-data-item .label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-data-item .body-text-serif {
  font-size: 15px;
  margin-bottom: 0;
}

/* Rights grid */
.legal-rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.legal-right-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 20px 24px;
}

.legal-right-item .label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-right-item .body-text-serif {
  font-size: 15px;
  margin-bottom: 0;
}

/* Legal tables */
.legal-table-wrapper {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--bg-card-border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.legal-table thead {
  background: var(--bg-card);
}

.legal-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--bg-card-border);
  font-weight: 400;
}

.legal-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(46,47,42,0.5);
  line-height: 1.5;
  font-size: 14px;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover {
  background: rgba(46,47,42,0.3);
}

/* Cookie category badges */
.cookie-category-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.cookie-category-badge.necessary {
  background: rgba(200, 245, 62, 0.12);
  color: var(--accent);
  border: 1px solid rgba(200, 245, 62, 0.25);
}

.cookie-category-badge.statistics {
  background: rgba(255, 200, 87, 0.12);
  color: #f5c842;
  border: 1px solid rgba(255, 200, 87, 0.25);
}

.cookie-category-badge.marketing {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.25);
}

/* ============================================
   CONTACT PAGE v2
   ============================================ */

/* --- Hero --- */
.contact-hero-v2 {
  padding: 160px var(--side-padding) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact-hero-intro {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-mega-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin: 20px 0 32px;
  color: var(--text-primary);
  margin: 24px 0 60px;
}

.contact-hero-channels {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.contact-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
  transition: color 0.3s, border-color 0.3s;
}

.contact-channel:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(200, 245, 62, 0.15);
}

.contact-channel svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Form Section --- */
.contact-form-v2 {
  max-width: 920px;
  margin: 0 auto;
  padding: 140px var(--side-padding) 100px;
}

.contact-form-v2-inner {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 60px 56px 56px;
  position: relative;
  overflow: hidden;
}

.contact-form-v2-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.contact-form-header {
  margin-bottom: 48px;
  text-align: center;
}

.contact-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-form-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-secondary, #b0b0b0);
}

.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
  width: 100%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 0;
  transition: border-color 0.3s;
  outline: none;
}

.contact-field input[type="text"]::placeholder,
.contact-field input[type="email"]::placeholder,
.contact-field textarea::placeholder {
  color: #a0a0a0;
  font-family: var(--font-display);
  font-weight: 400;
}

.contact-field input[type="text"]:focus,
.contact-field input[type="email"]:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
}

.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
  -webkit-text-fill-color: var(--text-primary);
  transition: background-color 5000s ease-in-out 0s;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Chip-style checkboxes */
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chip {
  cursor: pointer;
}

.contact-chip input[type="checkbox"] {
  display: none;
}

.contact-chip span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--bg-card-border);
  border-radius: 50px;
  padding: 10px 24px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  user-select: none;
  -webkit-user-select: none;
}

.contact-chip span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-chip input[type="checkbox"]:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e1213;
}

/* Submit button */

/* Contact field hover -- green glitch on labels */
.contact-field:hover label {
  color: var(--accent);
  animation: contact-label-glitch 0.4s ease-out;
}

.contact-field:hover input,
.contact-field:hover textarea,
.contact-field:hover select {
  border-color: var(--accent);
}

@keyframes contact-label-glitch {
  0%   { transform: translateX(0); opacity: 1; }
  10%  { transform: translateX(-3px); opacity: 0.7; }
  20%  { transform: translateX(2px); opacity: 1; }
  30%  { transform: translateX(-1px); opacity: 0.8; }
  40%  { transform: translateX(1px); opacity: 1; }
  50%  { transform: translateX(0); }
  100% { transform: translateX(0); opacity: 1; }
}

.contact-submit {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e1213;
  width: 100%;
  text-align: center;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50px;
  padding: 20px 48px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  align-self: center;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}


.contact-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: rgba(200,245,62,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.contact-submit:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.contact-submit:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 24px rgba(200, 245, 62, 0.2);
}

/* --- HubSpot Form Wrapper --- */
.hubspot-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.hubspot-form-wrapper .hs-form-field label {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  margin-bottom: 8px !important;
}
.hubspot-form-wrapper .hs-input {
  width: 100% !important;
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  padding: 14px 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--bg-card-border) !important;
  color: var(--text-primary) !important;
  border-radius: 0 !important;
  outline: none !important;
  transition: border-color 0.3s !important;
}
.hubspot-form-wrapper .hs-input:focus {
  border-color: var(--text-primary) !important;
}
.hubspot-form-wrapper textarea.hs-input {
  resize: vertical !important;
  min-height: 120px !important;
}
.hubspot-form-wrapper .hs-submit .actions {
  text-align: center !important;
  margin-top: 16px !important;
}
.hubspot-form-wrapper .hs-button {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 16px 48px !important;
  background: var(--accent) !important;
  color: #0e1213 !important;
  border: 2px solid var(--accent) !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
}
.hubspot-form-wrapper .hs-button:hover {
  background: transparent !important;
  color: var(--accent) !important;
  box-shadow: 0 0 24px rgba(200, 245, 62, 0.2) !important;
}
.hubspot-form-wrapper .hs-error-msgs {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: #e74c3c !important;
}
.hubspot-form-wrapper .submitted-message {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  color: var(--text-primary) !important;
  text-align: center !important;
}

/* --- Find Us / Map Section --- */
.contact-location-section {
  padding: 80px var(--side-padding) 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.contact-location-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-location-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 0.9;
  margin: 16px 0 28px;
}

.contact-location-address p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-location-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-directions-link svg {
  transition: transform 0.3s ease;
}

.contact-directions-link:hover {
  color: var(--accent);
}

.contact-directions-link:hover svg {
  transform: translate(2px, -2px);
}

.contact-email-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email-link:hover {
  color: var(--accent);
}

.contact-map-wrapper {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(1) contrast(1.1);
}

.contact-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 54px;
  transform: translate(-50%, -100%);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */

/* Header */
[data-theme="light"] .site-header.scrolled {
  background: var(--header-bg);
}

[data-theme="light"] .menu-btn svg line,
[data-theme="light"] .menu-close-btn svg line {
  stroke: var(--icon-color);
}

/* Menu overlay */
[data-theme="light"] .menu-overlay {
  background: rgba(0, 0, 0, 0.96);
}

[data-theme="light"] .menu-nav a {
  color: rgba(255, 255, 255, 0.5);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .menu-nav a:hover {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

[data-theme="light"] .menu-sub-links a {
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .menu-sub-links a:hover {
  color: var(--accent);
}

/* Logo */
[data-theme="light"] .header-logo img,
[data-theme="light"] .footer-logo img {
  filter: var(--logo-filter);
}

/* Client logo cards */
[data-theme="light"] .client-logo-card {
  background: var(--card-bg);
}

[data-theme="light"] .client-logo-card:hover {
  background: var(--card-hover-bg);
}

[data-theme="light"] .client-logo-img {
  filter: brightness(0);
  opacity: var(--logo-opacity);
}

[data-theme="light"] .client-logo-card:hover .client-logo-img {
  opacity: 1;
}

/* Service cards */
[data-theme="light"] .service-card {
  border-color: var(--bg-card-border);
}

/* Slider arrows */
[data-theme="light"] .slider-arrow {
  background: rgba(255,255,255,0.6);
  border-color: var(--border-medium);
  color: var(--icon-color);
}

[data-theme="light"] .slider-arrow:hover,
[data-theme="light"] .slider-arrow:focus {
  background: rgba(255,255,255,0.8);
  border-color: var(--border-medium);
}

[data-theme="light"] .slider-counter {
  color: var(--text-muted);
}

/* Ticker section */
[data-theme="light"] .ticker-section {
  border-top-color: var(--border-subtle);
  border-bottom-color: var(--border-subtle);
}

/* Team cards */
[data-theme="light"] .team-initials {
  color: rgba(0,0,0,0.1);
}

/* CTA sections */
[data-theme="light"] .cta-section,
[data-theme="light"] .lets-talk-section {
  background: var(--bg-card);
}

[data-theme="light"] .cta-label {
  color: var(--text-secondary);
}

[data-theme="light"] .heading-lg a {
  color: var(--text-primary);
}

[data-theme="light"] .cta-section .heading-lg a {
  color: var(--accent);
}

/* Footer */
[data-theme="light"] .site-footer {
  border-top: 1px solid var(--border-subtle);
}

[data-theme="light"] .footer-bottom {
  border-top-color: var(--border-subtle);
}

[data-theme="light"] .footer-social-icons a {
  color: var(--text-secondary);
  border-color: rgba(200, 245, 62, 0.3);
}

[data-theme="light"] .footer-social-icons a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 245, 62, 0.08);
}

/* Contact page */
[data-theme="light"] .contact-location-section {
  border-top-color: var(--border-subtle);
}

[data-theme="light"] .contact-channel {
  border-color: var(--bg-card-border);
}

[data-theme="light"] .contact-channel:hover {
  border-color: var(--accent);
  color: var(--accent);
}

[data-theme="light"] .contact-map-wrapper {
  border-color: var(--border-subtle);
}

[data-theme="light"] .contact-form-v2-inner {
  background: var(--bg-card);
  border-color: var(--bg-card-border);
}

[data-theme="light"] .contact-form-v2 input,
[data-theme="light"] .contact-form-v2 textarea {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .contact-field input::placeholder,
[data-theme="light"] .contact-field textarea::placeholder {
  color: #999;
}

[data-theme="light"] .contact-field input:-webkit-autofill,
[data-theme="light"] .contact-field input:-webkit-autofill:hover,
[data-theme="light"] .contact-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
}

[data-theme="light"] .contact-submit {
  background: var(--accent);
  color: #0e1213;
  border-color: var(--accent);
}

[data-theme="light"] .contact-submit:hover {
  background: transparent;
  color: var(--accent);
}

/* Map */
[data-theme="light"] .contact-map-wrapper iframe {
  filter: grayscale(0.3) contrast(1.05);
}

/* About page */
[data-theme="light"] .about-hero-intro p { color: var(--text-secondary); }
[data-theme="light"] .about-hero-descriptor span { color: var(--text-muted); }
[data-theme="light"] .about-grid-item { border-color: var(--border-subtle); }
[data-theme="light"] .about-grid-num { color: var(--text-muted); }
[data-theme="light"] .about-grid-title { color: var(--text-primary); }
[data-theme="light"] .about-grid-text { color: var(--text-secondary); }

/* Project pages */
[data-theme="light"] .project-back-bar a {
  color: var(--text-muted);
}

[data-theme="light"] .project-back-bar a:hover {
  color: var(--text-primary);
}

[data-theme="light"] .project-meta-item {
  background: rgba(0,0,0,0.03);
  border-color: var(--border-subtle);
}

/* Services hero */
[data-theme="light"] .services-hero-sub {
  color: var(--text-secondary);
}

/* Scroll indicator */
[data-theme="light"] .project-scroll-indicator {
  color: var(--text-secondary);
}

[data-theme="light"] .scroll-arrow {
  border-color: var(--text-secondary);
}

/* Menu social area */
[data-theme="light"] .menu-social-links a {
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(200, 245, 62, 0.3);
}

[data-theme="light"] .menu-social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Header tagline */
[data-theme="light"] .header-left .tagline,
[data-theme="light"] a.tagline {
  background: linear-gradient(
    90deg,
    var(--text-muted) 0%,
    var(--accent) 25%,
    var(--text-muted) 50%,
    var(--accent) 75%,
    var(--text-muted) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .nav-text-link {
  color: var(--text-primary);
}

/* Hero reel controls */
[data-theme="light"] .hero-reel-controls button {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

[data-theme="light"] .hero-reel-controls button:hover {
  background: rgba(200, 245, 62, 0.12);
  border-color: var(--accent);
}

/* Related projects section */
[data-theme="light"] .project-related {
  border-top-color: var(--border-subtle);
}

[data-theme="light"] .related-slide-thumb {
  background: var(--card-bg);
}

[data-theme="light"] .related-slide:hover .related-slide-thumb {
  box-shadow: 0 8px 40px rgba(200, 245, 62, 0.15), 0 0 0 1px rgba(200, 245, 62, 0.25);
}

[data-theme="light"] .related-slide-name {
  color: var(--text-secondary);
}

[data-theme="light"] .related-slide:hover .related-slide-name {
  color: var(--accent);
}

[data-theme="light"] .related-slide-category {
  color: var(--text-muted);
}

[data-theme="light"] .project-related-arrows button {
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

[data-theme="light"] .project-related-arrows button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 245, 62, 0.06);
  box-shadow: 0 0 16px rgba(200, 245, 62, 0.12);
}

/* Project back bar */
[data-theme="light"] .project-back-bar a:hover {
  color: var(--text-primary);
}

/* Project stats */
[data-theme="light"] .project-stat {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

/* Phone mockups — keep dark */
[data-theme="light"] .phone-mockup-frame {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* Project hover text overlay — keep white for readability over images */

/* Service card detail blocks in light mode */
[data-theme="light"] .service-detail-label {
  color: var(--text-muted);
}

[data-theme="light"] .service-detail p {
  color: var(--text-secondary);
}

[data-theme="light"] .service-card-left .tagline {
  color: var(--text-secondary);
}

[data-theme="light"] .explore-btn {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

[data-theme="light"] .explore-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Label bracket in light mode */
[data-theme="light"] .label-bracket {
  color: var(--text-muted);
}

/* Services hero */
[data-theme="light"] .services-hero h1 {
  color: var(--text-primary);
}

[data-theme="light"] .services-hero-sub {
  color: var(--text-muted);
}

/* Service individual pages in light mode */
[data-theme="light"] .service-page-hero .heading-xl {
  color: var(--text-primary);
}

[data-theme="light"] .service-page-intro p {
  color: var(--text-secondary);
}

[data-theme="light"] .service-page-descriptor span {
  color: var(--text-muted);
}

[data-theme="light"] .service-package {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}

/* Horizontal scroll — all text stays white (over fullscreen video) */
[data-theme="light"] .hscroll-panel-info .hscroll-client,
[data-theme="light"] .hscroll-panel-info .hscroll-cta,
[data-theme="light"] .hscroll-panel-info .hscroll-attrs {
  color: rgba(255,255,255,0.5);
}

[data-theme="light"] .hscroll-panel-info .hscroll-name {
  color: white;
}

[data-theme="light"] .hscroll-nav-item {
  color: rgba(255,255,255,0.2);
}

[data-theme="light"] .hscroll-nav-item.active {
  color: white;
}

[data-theme="light"] .hscroll-progress-dot {
  background: rgba(255,255,255,0.25);
}

[data-theme="light"] .hscroll-progress-dot.active {
  background: white;
}

/* Other services cards keep white text (over video) */
[data-theme="light"] .other-card-content .other-card-label {
  color: rgba(255,255,255,0.5);
}

[data-theme="light"] .other-card-content .other-card-title {
  color: white;
}

[data-theme="light"] .other-card-content .other-card-cta {
  border-color: rgba(255,255,255,0.2);
}

/* Project editorial text */
[data-theme="light"] .project-editorial-text .editorial-divider {
  background: var(--border-medium);
}

[data-theme="light"] .project-editorial-text .editorial-body {
  color: var(--text-secondary);
}

/* Team cards in light mode */
[data-theme="light"] .team-card {
  background: var(--card-bg);
}

[data-theme="light"] .team-name {
  color: var(--text-primary);
}

[data-theme="light"] .team-role {
  color: var(--accent);
}

[data-theme="light"] .team-bio {
  color: var(--text-secondary);
}

/* Project process section */
[data-theme="light"] .project-process .label-bracket {
  color: var(--text-muted);
}

/* Legal pages */
[data-theme="light"] .legal-data-item .label,
[data-theme="light"] .legal-right-item .label {
  color: var(--text-muted);
}

/* Featured team card info area */
[data-theme="light"] .team-card {
  border-color: var(--border-subtle);
}

/* Project sub header */
[data-theme="light"] .project-sub-header .label-bracket {
  color: var(--text-muted);
}

/* Clients section label */
[data-theme="light"] .clients-label {
  background: linear-gradient(
    90deg,
    var(--text-muted) 0%,
    var(--accent) 25%,
    var(--text-muted) 50%,
    var(--accent) 75%,
    var(--text-muted) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Project video/image sections keep working since they use object-fit cover over the actual content */

/* Statement section */
[data-theme="light"] .statement-meta .label {
  color: var(--text-muted);
}

/* CTA video bg overlay for light mode */
[data-theme="light"] .cta-video-bg {
  opacity: 0.1;
}

/* Client logo card text — hardcoded white text needs dark text in light mode */
[data-theme="light"] .client-logo-card .logo-text {
  color: rgba(0,0,0,0.85);
}

[data-theme="light"] .client-logo-card .logo-sub-brands span {
  color: rgba(0,0,0,0.4);
}

/* Outlined logo card (Toolstation) — needs dark border in light mode */
[data-theme="light"] .client-logo-card.outlined {
  border-color: rgba(0,0,0,0.15);
  background: transparent;
}

[data-theme="light"] .client-logo-card.outlined:hover {
  border-color: rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.03);
}

/* Man City crest — no invert needed in light mode, show original */
[data-theme="light"] .client-logo-img.logo-no-invert {
  filter: brightness(1) contrast(1);
}

[data-theme="light"] .client-logo-img.logo-original {
  filter: none;
}

/* Project page — hardcoded #a4a4a4 text elements */
[data-theme="light"] .project-category-tag {
  color: var(--text-muted);
}

[data-theme="light"] .project-overview-title {
  color: var(--text-primary);
}

[data-theme="light"] .project-overview-body {
  color: var(--text-secondary);
}

[data-theme="light"] .project-industry-tag {
  background: linear-gradient(
    90deg,
    var(--text-muted) 0%, var(--accent) 25%, var(--text-muted) 50%, var(--accent) 75%, var(--text-muted) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .project-link {
  color: var(--text-secondary);
}

[data-theme="light"] .project-caption {
  color: var(--text-secondary);
}

[data-theme="light"] .project-text-block .heading-md {
  color: var(--text-primary);
}

[data-theme="light"] .project-text-block .body-text {
  color: var(--text-secondary);
}

/* Related projects label — hardcoded #a4a4a4 */
[data-theme="light"] .project-related-header .related-label {
  color: var(--text-muted);
}

/* Project sub-section border — hardcoded white-alpha */
[data-theme="light"] .project-sub-section {
  border-top-color: var(--border-subtle);
}

/* Project sub-header heading — hardcoded #a4a4a4 */
[data-theme="light"] .project-sub-header .heading-md {
  color: var(--text-primary);
}

/* Project nav — hardcoded white-alpha border */
[data-theme="light"] .project-nav {
  border-top-color: var(--border-subtle);
}

/* Project nav item hover — hardcoded dark rgba */
[data-theme="light"] .project-nav-item:hover {
  background: rgba(0,0,0,0.03);
}

/* Phone mockup — notch and label in light mode */
[data-theme="light"] .phone-notch {
  background: #f0f0f0;
}

[data-theme="light"] .phone-mockup-label {
  color: rgba(60,60,60,0.6);
}

/* Tech stack pills — hardcoded white-alpha border */
[data-theme="light"] .tech-pill {
  border-color: rgba(0,0,0,0.12);
}

/* Filter tab active — pill provides bg, keep text dark */
[data-theme="light"] .filter-tab.active {
  color: var(--bg-primary);
  border-color: transparent;
}

/* View projects button hover — hardcoded white-alpha bg */
[data-theme="light"] .view-projects-btn:hover {
  background: rgba(0,0,0,0.05);
}

/* Project client logo — grayscale filter for light mode */
[data-theme="light"] .project-client-logo img {
  filter: grayscale(100%) brightness(0.4);
}

/* Lightbox — dark overlay in light theme */
[data-theme="light"] .project-lightbox-overlay {
  background: rgba(0,0,0,0.80);
}

[data-theme="light"] .project-lightbox-card {
  background: var(--bg-card);
  border-color: var(--bg-card-border);
}

/* Legal table — hardcoded dark rgba borders and hover */
[data-theme="light"] .legal-table td {
  border-bottom-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .legal-table tbody tr:hover {
  background: rgba(0,0,0,0.03);
}

/* Theme toggle button in menu — hidden */
.theme-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 8px 20px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.theme-toggle:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.theme-toggle-icon {
  font-size: 16px;
  line-height: 1;
}

[data-theme="light"] .service-hero-video .service-page-descriptor span {
  color: #C8F53E;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

  /* --- Variables override --- */
  :root {
    --side-padding: 20px;
  }

  /* --- Hide CTA/Let's Talk video bg on mobile --- */
  .cta-video-bg,
  .lets-talk-video-bg {
    display: none;
  }

  /* --- Lightbox card on mobile --- */
  .project-lightbox-card {
    width: 92%;
    max-width: 420px;
  }

  /* --- Related slider fade hint on mobile --- */
  .related-slider-viewport {
    position: relative;
  }
  .related-slider-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 3;
  }

  /* --- white-space fix for mobile --- */
  .service-card-title {
    white-space: normal;
  }
  .service-page-descriptor span {
    white-space: normal;
  }
  .about-hero-descriptor span {
    white-space: normal;
  }

  /* --- Touch feedback states --- */
  .client-logo-card:active {
    background: var(--card-hover-bg);
  }

  .service-card:active {
    transform: scale(0.98);
  }

  .ticker-item:active {
    opacity: 0.8;
  }

  /* --- Touch-friendly tap targets (min 44px) --- */
  .filter-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .menu-nav > a,
  .menu-nav-item > a {
    min-height: 44px;
  }

  .menu-sub-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .menu-social-links a {
    min-width: 44px;
    min-height: 44px;
  }

  .menu-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-reel-controls button {
    min-width: 44px;
    min-height: 44px;
  }

  .cta-section a,
  .mid-cta-btn {
    min-height: 44px;
  }

  /* --- Header --- */
  .site-header {
    padding: 14px var(--side-padding);
  }

  .header-left .tagline,
  a.tagline {
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: normal;
    max-width: calc(50vw - 80px);
    overflow: visible;
    text-overflow: unset;
  }

  .header-logo img {
    height: 44px;
  }

  .header-right .nav-text-link {
    display: none;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
  }

  /* --- Menu Overlay --- */
  .menu-nav > a,
  .menu-nav-item > a {
    font-size: clamp(32px, 8vw, 48px);
  }

  .menu-sub-links a {
    font-size: 22px;
  }

  .menu-social-links a {
    width: 40px;
    height: 40px;
  }

  /* --- Hero (homepage) --- */
  .hero {
    min-height: 70vh;
  }

  .hero-logo svg,
  .hero-logo img {
    width: clamp(140px, 40vw, 240px);
  }

  .hero-reel-controls {
    bottom: 16px;
    left: 16px;
    gap: 8px;
  }

  .hero-reel-controls button {
    width: 36px;
    height: 36px;
  }

  /* --- Statement Section --- */
  .statement-section {
    padding: 50px var(--side-padding) 40px;
  }

  .heading-xl {
    font-size: clamp(36px, 7vw, 56px);
  }

  .heading-lg {
    font-size: clamp(28px, 5.5vw, 44px);
  }

  .heading-md {
    font-size: clamp(22px, 4vw, 32px);
  }

  .statement-meta {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin-top: 24px;
  }

  .statement-meta .label {
    font-size: 13px;
    text-align: left !important;
  }

  /* --- Work Ticker --- */
  .ticker-item {
    height: 180px;
  }

  .ticker-item.small { width: 240px; }
  .ticker-item.medium { width: 300px; }
  .ticker-item.large { width: 360px; }

  .ticker-item-caption .caption-title {
    font-size: 13px;
  }

  .ticker-item-caption .caption-tagline {
    font-size: 11px;
  }

  .ticker-item-caption .caption-cta {
    font-size: 10px;
  }

  /* --- Services Stacking Cards (homepage) --- */
  .services-stack {
    padding: 0 var(--side-padding) 0;
  }

  .services-stack-header {
    padding: 50px 0 20px;
  }

  .stack-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
    border-radius: 16px;
    margin-bottom: 16px;
    top: calc(70px + var(--card-index, 0) * 14px);
  }

  .stack-card-number {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .stack-card-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .stack-card-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .metrics-section {
    padding: 60px var(--side-padding) 40px;
  }

  .metrics-header {
    margin-bottom: 36px;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    padding: 28px 20px;
  }

  .metric-number {
    font-size: clamp(48px, 12vw, 80px);
  }

  .metric-unit {
    font-size: clamp(28px, 6vw, 44px);
  }

  .stack-card-media {
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .mid-cta {
    padding: 20px var(--side-padding) 40px;
  }

  .mid-cta-btn {
    padding: 14px 36px;
    font-size: 14px;
  }

  /* --- Info Block --- */
  .info-block {
    padding: 40px var(--side-padding);
  }

  .info-block .body-text {
    font-size: 20px;
  }

  .info-block .lets-talk-link {
    font-size: clamp(36px, 8vw, 56px);
  }

  /* --- Client Logos --- */
  .clients-section {
    padding: 40px 0;
  }

  .clients-label {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 6px;
  }

  .client-logo-card {
    padding: 16px 10px;
    min-height: 60px;
    border-radius: 10px;
  }

  .client-logo-img {
    max-height: 30px;
  }

  /* --- Big Statement --- */
  .big-statement {
    padding: 50px var(--side-padding);
  }

  /* --- CTA Section --- */
  .cta-section {
    padding: 50px var(--side-padding);
  }

  .cta-section .heading-lg a {
    font-size: clamp(28px, 7vw, 44px);
  }

  /* --- Footer --- */
  .site-footer {
    padding: 50px var(--side-padding) 24px;
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-col {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-bottom-right {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* --- Work / Index Page --- */
  .page-intro {
    padding: 100px var(--side-padding) 24px;
  }

  .page-intro .heading-xl {
    font-size: clamp(32px, 7vw, 48px);
  }

  .page-intro-meta {
    flex-direction: column;
    gap: 12px;
  }

  .page-intro-meta .body-text {
    font-size: 15px;
  }

  .filter-tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px var(--side-padding);
  }

  .filter-tab {
    font-size: 12px;
    padding: 8px 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* --- Services Page --- */
  .services-hero {
    padding: 100px var(--side-padding) 40px;
  }

  .services-hero-sub {
    font-size: 15px;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
    margin: 16px var(--side-padding);
  }

  .service-slider {
    height: 250px;
    border-radius: 12px;
  }

  /* --- Service Cards (overview — tablet stack) --- */
  .service-hand {
    grid-template-columns: 1fr;
    padding: 20px var(--side-padding) 60px;
    gap: 16px;
  }

  .service-hand .service-card {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .service-card-content {
    padding: 24px;
  }

  .service-card-title {
    font-size: clamp(28px, 5vw, 44px);
  }

  .services-statement {
    padding: 60px var(--side-padding);
  }

  .services-statement .body-text {
    font-size: clamp(20px, 3vw, 28px);
  }

  /* --- Service Individual Pages --- */
  .service-page-hero {
    padding: 100px var(--side-padding) 40px;
  }

  .service-page-hero .heading-xl {
    font-size: clamp(32px, 7vw, 48px);
  }

  .service-page-hero-row {
    flex-direction: column;
    gap: 12px;
  }

  .service-page-intro p {
    font-size: 15px;
  }

  /* --- Service Packages --- */
  .service-packages {
    padding: 50px var(--side-padding);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-package {
    padding: 32px 28px;
  }

  .service-package-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  .service-package::after {
    left: 28px;
    right: 28px;
  }

  .service-quote {
    padding: 60px var(--side-padding);
  }

  .service-quote::before {
    font-size: 60px;
    margin-bottom: 12px;
  }

  /* --- Service Hero Video --- */
  .service-hero-video .service-hero-content {
    flex-direction: column;
    gap: 16px;
  }

  .service-hero-video .service-hero-content .service-page-intro p {
    font-size: 18px;
  }

  .service-hero-video .service-hero-content .service-page-descriptor {
    align-items: flex-start;
  }

  .service-page-descriptor {
    align-items: flex-start;
  }

  .hscroll-sticky {
    padding: 0 var(--side-padding);
  }
  .hscroll-track {
    height: calc((100vw - (var(--side-padding) * 2)) * 9 / 16);
  }
  .hscroll-panel {
    flex: 0 0 calc(100vw - (var(--side-padding) * 2));
    width: calc(100vw - (var(--side-padding) * 2));
  }
  .hscroll-nav {
    display: none;
  }

  .hscroll-panel-info .hscroll-name {
    font-size: clamp(28px, 6vw, 48px);
  }

  .service-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-other {
    grid-template-columns: 1fr;
  }

  .service-other.home-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-other-card {
    min-height: 180px;
  }

  /* --- Work Page --- */
  .work-hero {
    padding: 100px var(--side-padding) 40px;
  }

  /* --- About Page --- */
  .about-hero {
    padding: 100px var(--side-padding) 40px;
  }

  .about-hero-row {
    flex-direction: column;
    gap: 12px;
  }

  .about-hero-descriptor {
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 60px;
  }

  /* --- Team Page --- */
  .team-scroll {
    height: 400vh;
  }

  .team-scroll-crawl em {
    font-size: clamp(20px, 4.5vw, 40px);
  }

  .team-scroll-item[data-scroll-item="1"] {
    font-size: clamp(22px, 5vw, 36px);
  }

  .shape-screen { width: clamp(280px, 85vw, 500px); }
  .shape-stage { width: clamp(240px, 75vw, 440px); height: clamp(160px, 50vw, 300px); }
  .shape-heart { width: clamp(240px, 72vw, 420px); }
  .shape-mind { width: clamp(240px, 72vw, 400px); }
  .team-scroll-shape span { font-size: clamp(24px, 6vw, 44px); }
  .team-energy-title { font-size: clamp(56px, 16vw, 140px) !important; }

  .team-scroll-closing {
    font-size: clamp(16px, 3.5vw, 24px);
    max-width: 90vw;
  }

  .team-intro {
    flex-direction: column;
    gap: 20px;
    padding: 0 var(--side-padding) 40px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .team-card.featured {
    grid-column: span 1;
  }

  .team-card-info {
    padding: 12px 14px;
  }

  .team-card-info .team-name {
    font-size: 15px;
  }

  .team-card-info .team-role {
    font-size: 11px;
  }

  .team-card-info .team-bio {
    font-size: 12px;
  }

  .team-card.featured .team-name {
    font-size: 16px;
  }

  .team-card.featured .team-bio {
    font-size: 13px;
  }

  /* --- FAQ Page --- */
  .faq-hero {
    padding: 120px var(--side-padding) 40px;
  }

  .faq-category {
    padding: 48px 0 14px;
  }

  .faq-cta {
    padding: 60px var(--side-padding) 80px;
  }

  /* --- Contact Page v2 --- */
  .contact-hero-v2 {
    padding: 120px var(--side-padding) 40px;
  }

  .contact-mega-heading {
    font-size: clamp(60px, 12vw, 140px);
    margin: 20px 0 28px;
  }

  .contact-hero-channels {
    gap: 14px;
  }

  .contact-channel {
    width: 46px;
    height: 46px;
  }

  .contact-form-v2 {
    padding: 120px var(--side-padding) 70px;
  }

  .contact-form-v2-inner {
    padding: 48px 40px 44px;
  }

  .contact-form-v2-inner::before {
    left: 40px;
    right: 40px;
  }

  .contact-location-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map-wrapper {
    height: 320px;
  }

  /* --- Legal Pages --- */
  .legal-hero {
    padding: 110px var(--side-padding) 40px;
  }

  .legal-data-grid,
  .legal-rights-grid {
    grid-template-columns: 1fr;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* ===========================================
     PROJECT PAGES — TABLET
     =========================================== */

  /* --- Back bar --- */
  .project-back-bar {
    top: 60px;
  }

  .project-back-bar a {
    font-size: 11px;
  }

  /* --- Full-bleed hero video --- */
  .project-hero-video {
    height: 60vh;
    min-height: 400px;
  }

  .project-hero-video .hero-fade-bottom {
    height: 160px;
  }

  .project-hero-controls {
    bottom: 20px;
    left: var(--side-padding);
    gap: 8px;
  }

  .project-hero-controls button {
    width: 36px;
    height: 36px;
  }

  .project-scroll-indicator {
    bottom: 24px;
  }

  .project-scroll-indicator span {
    font-size: 10px;
  }

  /* Hoxton hero slider controls */
  .hero-slider-controls {
    bottom: 70px;
  }

  .hero-slider-controls button {
    width: 32px;
    height: 32px;
  }

  /* --- Adaptive project hero (image-based) --- */
  .project-hero {
    padding: 90px var(--side-padding) 0;
  }

  .project-hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .project-hero-title {
    font-size: clamp(36px, 8vw, 56px);
  }

  .project-hero-meta {
    align-items: flex-start;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }

  .project-hero-image {
    border-radius: 14px;
  }

  /* --- Project content area --- */
  .project-content {
    padding: 40px var(--side-padding) 60px;
  }

  /* --- Project overview (two-col → stacked) --- */
  .project-overview {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px var(--side-padding) 0;
  }

  .project-content .project-overview {
    padding: 0;
  }

  .project-overview-title {
    font-size: clamp(40px, 10vw, 72px);
  }

  .project-overview-body {
    font-size: 15px;
    max-width: 100%;
  }

  .project-industry-tag {
    font-size: 12px;
  }

  .project-link {
    font-size: 15px;
  }

  .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
  }

  .project-client-logo {
    max-width: 100px;
    margin-top: 20px;
  }

  .project-category-tag {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .project-caption {
    font-size: 14px;
    margin: 24px 0;
  }

  /* --- Media sections --- */
  .project-media {
    margin-bottom: 30px;
    padding: 0 var(--side-padding);
  }

  .project-content .project-media {
    padding: 0;
  }

  .project-media-full {
    border-radius: 14px;
  }

  .project-media-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .project-media-grid.two-col {
    grid-template-columns: 1fr;
  }

  .project-media-grid.three-col {
    grid-template-columns: 1fr;
  }

  .project-media-grid.three-equal {
    grid-template-columns: 1fr;
  }

  .project-media-item {
    border-radius: 14px;
  }

  .project-media-grid.two-col .project-media-item,
  .project-media-grid.four-col .project-media-item {
    aspect-ratio: 16/10;
  }

  /* --- Text blocks --- */
  .project-text-block {
    padding: 40px var(--side-padding);
  }

  .project-content .project-text-block {
    padding: 40px 0;
  }

  .project-text-block .heading-md {
    font-size: clamp(24px, 5vw, 36px);
  }

  .project-text-block .body-text {
    font-size: 15px;
    max-width: 100%;
  }

  /* --- Full-width video --- */
  .project-full-video {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 24px;
  }

  /* --- Phone mockups --- */
  .phone-mockup-row {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .phone-mockup-frame {
    width: 200px;
    border-radius: 30px;
    border-width: 3px;
  }

  .phone-mockup-row.four-phones {
    gap: 16px;
  }

  .phone-mockup-row.four-phones .phone-mockup-frame {
    width: 160px;
    border-radius: 26px;
  }

  .phone-notch {
    width: 60px;
    height: 18px;
  }

  .phone-mockup-label {
    font-size: 10px;
  }

  /* --- Stella video blocks --- */
  .stella-video-block {
    border-radius: 14px;
  }

  /* --- Project stats --- */
  .project-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 40px var(--side-padding);
  }

  .project-stat {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .project-stat .stat-number {
    font-size: clamp(28px, 6vw, 40px);
  }

  /* --- Project quote --- */
  .project-quote {
    padding: 50px var(--side-padding);
  }

  .project-quote blockquote {
    font-size: clamp(20px, 4vw, 32px);
  }

  /* --- Related projects slider --- */
  .project-related {
    margin-top: 60px;
    padding: 40px var(--side-padding) 20px;
  }

  .project-content .project-related {
    padding-left: 0;
    padding-right: 0;
  }

  .project-related-header {
    margin-bottom: 28px;
  }

  .project-related-arrows button {
    width: 38px;
    height: 38px;
  }

  .related-slide {
    flex: 0 0 calc(50% - 12px);
  }

  .related-slide-thumb {
    border-radius: 10px;
  }

  .related-slide-thumb::after {
    border-radius: 10px;
  }

  .related-slide-name {
    font-size: 15px;
    margin-top: 10px;
  }

  .related-slide-category {
    font-size: 10px;
  }

  /* --- Project nav (prev/next) --- */
  .project-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 50px var(--side-padding);
  }

  .project-content .project-nav {
    padding: 50px 0;
  }

  .project-nav-item {
    padding: 20px;
    border-radius: 10px;
  }

  .project-nav-item .nav-title {
    font-size: clamp(18px, 4vw, 24px);
  }

  .project-nav-item.next {
    text-align: left;
  }

  /* --- OpenAI sub-sections --- */
  .project-sub-section {
    padding-top: 40px;
    margin-top: 40px;
  }

  /* --- Process steps --- */
  .project-process {
    padding: 40px var(--side-padding);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* --- Metrics --- */
  .metrics-section {
    padding: 48px var(--side-padding) 32px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 24px 16px;
  }

  /* --- Let's Talk section (project pages) --- */
  .lets-talk-section {
    padding: 50px var(--side-padding);
  }

  /* --- Stella slider: stay within content padding on mobile --- */
  .stella-slider {
    margin: 0 0 24px;
  }
  .stella-slider-prev { left: 8px; }
  .stella-slider-next { right: 8px; }

  /* BHN category rows — wrap on tablet/mobile */
  .bhn-category-section { margin-bottom: 32px; }
  .bhn-category-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .bhn-tile--portrait  { flex: 0 0 calc(25% - 5px); }
  .bhn-tile--square    { flex: 0 0 calc(37% - 5px); }
  .bhn-tile--wide      { flex: 0 0 calc(62% - 3px); }
  .bhn-tile--landscape { flex: 0 0 calc(62% - 3px); }
}

/* ============================================
   RESPONSIVE — PHONE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

  /* --- Variables override --- */
  :root {
    --side-padding: 16px;
  }

  /* --- Typography further scale down --- */
  .heading-xl {
    font-size: clamp(28px, 7.5vw, 40px);
  }

  .heading-lg {
    font-size: clamp(24px, 6.5vw, 34px);
  }

  .heading-md {
    font-size: clamp(20px, 5vw, 26px);
  }

  .body-text,
  .body-text-serif {
    font-size: 15px;
  }

  /* --- Header --- */
  .header-left .tagline,
  a.tagline {
    font-size: 9px;
    white-space: normal;
    max-width: calc(50vw - 60px);
    overflow: visible;
    text-overflow: unset;
  }

  .header-logo img {
    height: 36px;
  }

  /* --- Menu Overlay --- */
  .menu-nav > a,
  .menu-nav-item > a {
    font-size: clamp(28px, 9vw, 40px);
  }

  .menu-sub-links a {
    font-size: 18px;
  }

  .menu-social-links a {
    width: 36px;
    height: 36px;
  }

  .menu-social-links a svg {
    width: 18px;
    height: 18px;
  }

  /* --- Hero --- */
  .hero {
    min-height: 60vh;
  }

  .hero-logo svg,
  .hero-logo img {
    width: clamp(120px, 35vw, 180px);
  }

  /* --- Ticker --- */
  .ticker-item {
    height: 130px;
  }

  .ticker-item.small { width: 180px; }
  .ticker-item.medium { width: 230px; }
  .ticker-item.large { width: 280px; }

  .ticker-item-caption .caption-title {
    font-size: 11px;
  }

  .ticker-item-caption .caption-tagline {
    display: none;
  }

  .ticker-item-caption .caption-cta {
    display: none;
  }

  /* --- Info Block --- */
  .info-block .body-text {
    font-size: 17px;
  }

  /* --- Client Logos --- */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-card {
    padding: 14px 8px;
    min-height: 50px;
    border-radius: 8px;
  }

  .client-logo-img {
    max-height: 24px;
  }

  /* --- Services cards --- */
  .service-card {
    padding: 20px;
    border-radius: 12px;
  }

  .service-slider {
    height: 200px;
    border-radius: 10px;
  }

  .capability-item {
    font-size: 12px;
  }

  .service-detail p {
    font-size: 14px;
  }

  .service-detail-label {
    font-size: 10px;
  }

  /* --- Service Cards (overview — stack on mobile) --- */
  .service-hand .service-card {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
  }

  .service-card-content {
    padding: 20px;
  }

  .service-card-center {
    align-items: center;
    text-align: center;
  }

  .service-card-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .service-card-rule { display: none; }
  .service-card-tagline { display: none; }

  .service-card-desc {
    font-size: 12px;
  }

  .services-statement {
    padding: 50px var(--side-padding);
  }

  .services-statement .body-text {
    font-size: 18px;
  }

  /* --- Service Individual Pages --- */
  .service-page-hero {
    padding: 90px var(--side-padding) 30px;
  }

  .service-page-intro p {
    font-size: 14px;
  }

  .service-page-descriptor span {
    font-size: 10px;
  }

  /* --- Service Packages --- */
  .service-packages {
    padding: 40px var(--side-padding);
    gap: 10px;
  }

  .service-package {
    padding: 24px 20px;
  }

  .service-package-number {
    margin-bottom: 16px;
  }

  .service-package-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .service-package-desc {
    font-size: 14px;
  }

  /* --- Service Hero Video --- */
  .service-hero-video .service-hero-content .service-page-intro p {
    font-size: 16px;
  }

  .hscroll-sticky {
    padding: 0 20px;
  }
  .hscroll-track {
    height: calc((100vw - 40px) * 9 / 16);
  }
  .hscroll-panel {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  .hscroll-panel-info {
    bottom: 20px;
    left: 20px;
  }

  .hscroll-panel-info .hscroll-name {
    font-size: clamp(24px, 8vw, 40px);
  }

  .hscroll-panel-info .hscroll-attrs {
    font-size: 9px;
    gap: 10px;
  }

  .service-project-info {
    bottom: 14px;
    left: 16px;
  }
  .service-project-name {
    font-size: 16px;
  }
  .service-project-attrs span {
    font-size: 9px;
  }
  .service-slider-prev,
  .service-slider-next {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .service-slider-prev { left: 10px; }
  .service-slider-next { right: 10px; }

  .service-projects-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-projects-section {
    padding-top: 48px;
  }

  .service-other {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .other-card-content .other-card-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  /* --- Footer --- */
  .footer-bottom-left {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  /* --- Work --- */
  .work-hero {
    padding: 90px var(--side-padding) 30px;
  }

  /* --- About --- */
  .about-hero {
    padding: 90px var(--side-padding) 30px;
  }

  .about-hero-intro p {
    font-size: 14px;
  }

  .about-hero-descriptor span {
    font-size: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }

  .about-grid-item {
    padding: 24px;
  }

  /* --- Team --- */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .team-card.featured {
    grid-column: span 1;
  }

  .team-card.featured .team-card-image {
    aspect-ratio: 1/1;
  }

  .team-initials {
    font-size: 48px;
  }

  /* --- FAQ Page --- */
  .faq-hero {
    padding: 100px var(--side-padding) 28px;
  }

  .faq-hero-title {
    margin: 16px 0 20px;
  }

  .faq-hero-sub {
    font-size: 15px;
  }

  .faq-category {
    padding: 40px 0 12px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-cta {
    padding: 50px var(--side-padding) 60px;
  }

  .faq-cta-sub {
    font-size: 15px;
  }

  /* --- Contact Page v2 --- */
  .contact-hero-v2 {
    padding: 100px var(--side-padding) 24px;
  }

  .contact-mega-heading {
    font-size: clamp(56px, 16vw, 100px);
    margin: 16px 0 24px;
  }

  .contact-hero-intro {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .contact-hero-channels {
    gap: 12px;
  }

  .contact-channel {
    width: 42px;
    height: 42px;
  }

  .contact-form-v2 {
    padding: 100px var(--side-padding) 50px;
  }

  .contact-form-v2-inner {
    padding: 36px 24px 32px;
    border-radius: 16px;
  }

  .contact-form-v2-inner::before {
    left: 24px;
    right: 24px;
  }

  .contact-form-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .contact-field-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-field input[type="text"],
  .contact-field input[type="email"],
  .contact-field textarea {
    font-size: 16px;
  }

  .contact-chip span {
    font-size: 11px;
    padding: 8px 18px;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }

  .contact-field label {
    color: var(--accent);
    animation: contact-label-glitch-loop 3s ease-in-out infinite;
  }

  @keyframes contact-label-glitch-loop {
    0%, 100% { transform: translateX(0); opacity: 1; }
    48%      { transform: translateX(0); opacity: 1; }
    49%      { transform: translateX(-2px); opacity: 0.7; }
    50%      { transform: translateX(2px); opacity: 0.8; }
    51%      { transform: translateX(-1px); opacity: 1; }
    52%      { transform: translateX(0); opacity: 1; }
  }

  .contact-location-section {
    padding: 50px var(--side-padding) 60px;
  }

  .contact-location-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .contact-location-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-map-wrapper {
    height: 260px;
    border-radius: 8px;
  }

  /* --- Project Cards (work page) --- */
  .project-card-content {
    padding: 14px 16px;
  }

  .project-card-title {
    font-size: 16px;
  }

  .project-card-tagline {
    font-size: 12px;
    margin-top: 4px;
  }

  /* --- Lightbox card smaller on small phones --- */
  .lightbox-card-body {
    padding: 20px 24px 28px;
  }

  .lightbox-card-desc {
    font-size: 14px;
  }

  /* --- Legal Pages --- */
  .legal-hero {
    padding: 100px var(--side-padding) 30px;
  }

  .legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .legal-info-block {
    padding: 16px 18px;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 10px;
    font-size: 11px;
  }

  /* ===========================================
     PROJECT PAGES — PHONE
     =========================================== */

  /* --- Full-bleed hero video --- */
  .project-hero-video {
    height: 50vh;
    min-height: 320px;
  }

  .project-hero-video .hero-fade-bottom {
    height: 120px;
  }

  .project-hero-controls button {
    width: 32px;
    height: 32px;
  }

  .project-scroll-indicator {
    bottom: 16px;
  }

  .hero-slider-controls {
    bottom: 56px;
  }

  /* --- Adaptive project hero --- */
  .project-hero {
    padding: 80px var(--side-padding) 0;
  }

  .project-hero-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .project-hero-image {
    border-radius: 10px;
  }

  /* --- Project content --- */
  .project-content {
    padding: 30px var(--side-padding) 50px;
  }

  .project-overview-title {
    font-size: clamp(32px, 9vw, 52px);
  }

  .project-overview-body {
    font-size: 14px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-meta-item {
    padding: 20px 18px;
    border-radius: 12px;
  }

  .project-category-tag {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .project-caption {
    font-size: 13px;
    margin: 20px 0;
  }

  /* --- Media --- */
  .project-media-full {
    border-radius: 10px;
  }

  .project-media-item {
    border-radius: 10px;
  }

  .stella-video-block {
    border-radius: 10px;
  }

  /* --- Phone mockups --- */
  .phone-mockup-frame {
    width: 160px;
    border-radius: 24px;
  }

  .phone-mockup-row.four-phones .phone-mockup-frame {
    width: 130px;
    border-radius: 20px;
  }

  /* --- Stats --- */
  .project-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 30px var(--side-padding);
  }

  .project-stat {
    padding: 16px 12px;
  }

  .project-stat .stat-number {
    font-size: clamp(24px, 6vw, 36px);
  }

  /* --- Related slides --- */
  .related-slide {
    flex: 0 0 calc(70% - 10px);
  }

  .related-slide-thumb {
    border-radius: 8px;
  }

  .related-slide-name {
    font-size: 12px;
    margin-top: 6px;
  }

  /* --- Project nav --- */
  .project-nav-item {
    padding: 16px;
  }

  .project-nav-item .nav-title {
    font-size: clamp(16px, 4vw, 22px);
  }
}

/* ============================================
   RESPONSIVE — SMALL PHONE (max-width: 375px)
   ============================================ */
@media (max-width: 375px) {

  :root {
    --side-padding: 12px;
  }

  .heading-xl {
    font-size: clamp(24px, 7vw, 34px);
  }

  .heading-lg {
    font-size: clamp(20px, 6vw, 28px);
  }

  .ticker-item.small { width: 150px; }
  .ticker-item.medium { width: 190px; }
  .ticker-item.large { width: 230px; }
  .ticker-item { height: 110px; }

  .hero-logo-watermark {
    width: clamp(100px, 30vw, 150px);
  }

  .contact-mega-heading {
    font-size: clamp(44px, 14vw, 80px);
  }

  .project-lightbox-card {
    width: 94%;
    max-width: 400px;
    border-radius: 16px;
  }

  .related-slide {
    flex: 0 0 calc(80% - 10px);
  }

  /* BHN category rows — stack on phone */
  .bhn-category-section { margin-bottom: 24px; }
  .bhn-category-title { font-size: 12px; margin-bottom: 10px; }
  .bhn-tile--portrait  { flex: 0 0 calc(30% - 4px); }
  .bhn-tile--square    { flex: 0 0 calc(35% - 4px); }
  .bhn-tile--wide      { flex: 0 0 calc(100%); }
  .bhn-tile--landscape { flex: 0 0 calc(100%); }
}

.cookie-category-badge.unclassified {
  background: rgba(200, 198, 197, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(200, 198, 197, 0.2);
}

