/* EDC Motion — Design System
   Single source of truth for all pages.
   No inline styles or page-level <style> blocks. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Design tokens ──────────────────────────────────────────── */
:root {
  --accent:          #67bd59;
  --accent-dim:      rgba(103, 189, 89, 0.10);
  --bg:              #080808;
  --surface:         #111111;
  --surface-2:       #1a1a1a;
  --border:          rgba(255, 255, 255, 0.08);
  --text:            #ffffff;
  --text-muted:      rgba(255, 255, 255, 0.45);
  --text-dim:        rgba(255, 255, 255, 0.55);
  --text-secondary:  rgba(255, 255, 255, 0.7);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Background system ──────────────────────────────────────── */
.bg-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Film grain overlay */
.bg-container::after {
  content: '';
  background-image: var(--noise-url, none);
  background-repeat: repeat;
  background-size: 200px 200px;
  height: 300%;
  left: -50%;
  opacity: 0.12;
  position: fixed;
  top: -110%;
  width: 300%;
  animation: grain 1s steps(1) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate3d(0, 0, 0); }
  10%  { transform: translate3d(-5%, -10%, 0); }
  20%  { transform: translate3d(-15%, 5%, 0); }
  30%  { transform: translate3d(7%, -25%, 0); }
  40%  { transform: translate3d(-5%, 25%, 0); }
  50%  { transform: translate3d(-15%, 10%, 0); }
  60%  { transform: translate3d(15%, 0%, 0); }
  70%  { transform: translate3d(0%, 15%, 0); }
  80%  { transform: translate3d(3%, 35%, 0); }
  90%  { transform: translate3d(-10%, 10%, 0); }
}

/* Floating glow circles */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bg-circle-tl {
  top: -65%; left: -18%;
  width: 62vw; height: 62vw;
  background: var(--accent);
  filter: blur(110px);
  opacity: 0.10;
}
.bg-circle-tr {
  top: -62%; left: 72%;
  width: 55vw; height: 55vw;
  background: var(--accent);
  filter: blur(110px);
  opacity: 0.07;
  animation: bgMove1 5s ease infinite alternate;
}
.bg-circle-br {
  bottom: -68%; left: 48%;
  width: 60vw; height: 60vw;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.05;
  animation: bgMove2 7s ease infinite alternate;
}
.bg-circle-1 {
  top: -70%; left: 70%;
  width: 55vw; height: 55vw;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.07;
  animation: move_1 4s ease infinite alternate;
}

@keyframes bgMove1 {
  from { top: -62%; left: 72%; }
  to   { left: 22%; }
}
@keyframes bgMove2 {
  from { bottom: -68%; left: 48%; }
  to   { left: -12%; }
}
@keyframes move_1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-20vw, 8vw, 0); }
}

/* Subtle grey noise veil */
.bg-noise-veil {
  position: fixed;
  inset: 0;
  background: rgb(123, 123, 123);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* ─── Site header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 32px;
  width: auto;
  filter: invert(1);
  display: block;
}
.header-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.header-clock {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  display: none;
}
@media (min-width: 768px) {
  .header-clock { display: block; }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── Menu trigger ───────────────────────────────────────────── */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.menu-trigger:hover {
  background: rgba(103, 189, 89, 0.06);
  border-color: var(--accent);
}
.menu-trigger-icon {
  font-size: 18px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  display: block;
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1), color 0.25s ease;
}
.menu-trigger:hover .menu-trigger-icon { color: var(--accent); }
.menu-trigger.open .menu-trigger-icon  { transform: rotate(45deg); }
.menu-trigger-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.menu-trigger:hover .menu-trigger-text { color: var(--accent); }

/* ─── Menu backdrop ──────────────────────────────────────────── */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ─── Menu overlay ───────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 5vw 3rem;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path 0.52s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu-overlay.open {
  clip-path: inset(0 0 0% 0);
  pointer-events: all;
}

/* Aligns nav links with header logo */
.menu-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  align-items: flex-end;
}
.menu-overlay-link {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.25s ease;
  display: block;
}
.menu-overlay.open .menu-overlay-link                { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-overlay-link:nth-child(1)   { transition-delay: 0.06s; }
.menu-overlay.open .menu-overlay-link:nth-child(2)   { transition-delay: 0.10s; }
.menu-overlay.open .menu-overlay-link:nth-child(3)   { transition-delay: 0.14s; }
.menu-overlay.open .menu-overlay-link:nth-child(4)   { transition-delay: 0.18s; }
.menu-overlay.open .menu-overlay-link:nth-child(5)   { transition-delay: 0.22s; }
.menu-overlay-link.active  { color: rgba(255, 255, 255, 0.85); }
.menu-overlay-link:hover   { color: var(--accent) !important; }

/* Per-character hover animation */
.menu-char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}
.menu-char-a {
  display: block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu-char-b {
  display: block;
  position: absolute;
  top: 0; left: 0;
  transform: translateY(105%);
  color: var(--accent);
  white-space: pre;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu-overlay-link:hover .menu-char-a { transform: translateY(-105%); }
.menu-overlay-link:hover .menu-char-b { transform: translateY(0%); }

.menu-overlay-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease 0.3s;
}
.menu-overlay.open .menu-overlay-footer { opacity: 1; }
.menu-social-links {
  display: flex;
  gap: 1.75rem;
}
.menu-social-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-right: 0.25rem;
}
.menu-social-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.menu-social-link:hover { color: #fff; }
.menu-footer-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu-footer-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

/* ─── Typography ─────────────────────────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem;
}

.heading-xl {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.01;
}

.heading-lg {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.heading-md {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* Inner-page page-hero heading */
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-accent { color: var(--accent); }
.bg-accent   { background: var(--accent); }
.rule        { border: none; border-top: 1px solid rgba(255, 255, 255, 0.07); margin: 0; }

/* ─── Layout helpers ─────────────────────────────────────────── */
/* Single source of horizontal padding — every section delegates here.
   max-width includes the 5vw padding so content is always ≤1280px wide
   and the left edge matches the hero text at every viewport. */
.site-container {
  max-width: calc(1280px + 10vw);
  margin: 0 auto;
  padding: 0 5vw;
  width: 100%;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.15) 0%,
    rgba(8, 8, 8, 0.05) 30%,
    rgba(8, 8, 8, 0.55) 70%,
    rgba(8, 8, 8, 1)    100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 5.5rem;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-label    { color: rgba(103, 189, 89, 0.8); }
.hero-title    { max-width: 22ch; }

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 40ch;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}

/* ─── Section head (label + heading left, action right) ─────── */
.section-head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 767px) {
  .section-head { gap: 1rem; flex-wrap: nowrap; }
  .section-head > div { flex: 1; min-width: 0; }
  .section-head > a   { flex-shrink: 0; }
}

/* ─── Sections ───────────────────────────────────────────────── */
.section-work {
  padding: 7rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
}
.section-work > .site-container {
  margin-bottom: 3rem;
}

/* General padded section */
.section-std {
  padding: 7rem 0;
}

.section-cta {
  padding: 9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 189, 89, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.label-center {
  text-align: center;
  justify-content: center;
}

.cta-heading {
  text-align: center;
  max-width: 18ch;
  margin: 0 auto;
}

.cta-subtitle {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── About ──────────────────────────────────────────────────── */
.about-copy { padding-top: 0.25rem; }

.body-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.body-text--spaced { margin-bottom: 2rem; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

/* Size modifiers */
.btn-lg { font-size: 15px; padding: 15px 32px; }
.btn-sm { font-size: 13.5px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s;
}
.nav-cta:hover { background: #e8e8e8; }

/* .nav-cta is always visible — no breakpoint needed */

/* Button slide animation */
.btn-slide-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}
.btn-slide-a {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  white-space: nowrap;
}
.btn-slide-b {
  display: inline-block;
  position: absolute;
  top: 0; left: 0;
  transform: translateY(105%);
  white-space: nowrap;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.btn-primary:hover .btn-slide-a,
.btn-ghost:hover .btn-slide-a,
.nav-cta:hover .btn-slide-a   { transform: translateY(-105%); }
.btn-primary:hover .btn-slide-b,
.btn-ghost:hover .btn-slide-b,
.nav-cta:hover .btn-slide-b   { transform: translateY(0); }
.btn-ghost .btn-slide-b       { color: #fff; }
.nav-cta .btn-slide-b         { color: #000; }

/* ─── Project cards ──────────────────────────────────────────── */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
  display: block;
}
.project-card:hover img             { transform: scale(1.05); filter: grayscale(0%); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.35s ease;
}
.project-card:hover .project-card-info { transform: translateY(0); opacity: 1; }
.project-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.project-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
}

/* Aspect ratio helpers */
.ratio-4-3  { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-21-9 { aspect-ratio: 21 / 9; }

/* ─── Work grid (full-width) ──────────────────────────────────── */
.work-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.work-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-stack > .project-card { flex: 1; min-height: 0; }

/* Row heights */
.work-row--h480 { height: 480px; }
.work-row--h290 { height: 290px; }
.work-row--h380 { height: 380px; }
.work-row--h320 { height: 320px; }

/* Card flex proportions */
.card--w3 { flex: 3; }
.card--w4 { flex: 4; }
.card--w5 { flex: 5; }
.card--w6 { flex: 6; }
.card--w7 { flex: 7; }

/* Edge flush: removes radius on the side touching the viewport */
.edge-l { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.edge-r { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

@media (max-width: 768px) {
  .section-work { background: transparent; }

  .work-row { flex-direction: column; height: auto; }
  .work-row--h480, .work-row--h290, .work-row--h380, .work-row--h320 { height: auto; }
  .work-row .project-card { height: 260px; flex: none; border-radius: 0 !important; }
  .work-stack { flex-direction: column; }
  .edge-l, .edge-r { border-radius: 0 !important; }
  .ratio-21-9 { aspect-ratio: 16 / 9; }

  /* Load More — hide rows 3+4 until expanded */
  .work-row--more { display: none; }
  .work-row--more.revealed {
    display: flex;
    animation: fadeInUp 0.4s ease forwards;
  }
}

/* Load More button — mobile only */
.work-load-more-wrap { display: none; }
@media (max-width: 768px) {
  .work-load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0 0;
  }
  .work-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .work-load-more:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
  .work-load-more.hidden { display: none; }
  .work-load-more-wrap.hidden { display: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Clients bento ──────────────────────────────────────────── */
.clients-bento {
  position: relative;
  padding: 0 0 5rem;
}
.clients-bento-head {
  text-align: center;
  padding-bottom: 3rem;
}
/* Extends heading-lg — only the colour differs */
.clients-bento-title {
  color: rgba(255, 255, 255, 0.92);
}
.clients-bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 3rem;
}
.cbc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cbc img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(1.2);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.cbc:hover img {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .clients-bento-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
}

/* ─── Service cards ──────────────────────────────────────────── */
.service-card {
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(38, 38, 38, 0.82) 0%, rgba(28, 28, 28, 0.92) 60%, rgba(22, 22, 22, 0.88) 100%);
  border: none;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}
.service-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(103, 189, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.service-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}
.service-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.75rem, 4vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
  margin-top: 6px;
}
.stat-card {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* ─── Marquee ────────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  padding: 0 3rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
  cursor: default;
}
.client-name:hover { color: rgba(255, 255, 255, 0.65); }

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-clip-wrap { overflow: hidden; }
.reveal-clip {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease;
}
.reveal-clip.visible { transform: translateY(0); opacity: 1; }

.reveal-d1,  .reveal-delay-1 { transition-delay: 0.1s; }
.reveal-d2,  .reveal-delay-2 { transition-delay: 0.22s; }
.reveal-d3,  .reveal-delay-3 { transition-delay: 0.34s; }
.reveal-d4,  .reveal-delay-4 { transition-delay: 0.46s; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4rem 5vw 3rem;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.04em;
}
.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ─── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 1) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ─── Work page ──────────────────────────────────────────────── */
.work-item        { display: block; }
.work-item.hidden { display: none; }
.filter-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(103, 189, 89, 0.08);
}

/* ─── Reel (services page) ───────────────────────────────────── */
.reel-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
}
.reel-card iframe { width: 100%; height: 100%; border: none; }
.reel-label {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(103, 189, 89, 0.2);
  z-index: 2;
  pointer-events: none;
}

/* ─── Contact form ───────────────────────────────────────────── */
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.875rem 1.25rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus         { border-color: var(--accent); }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
select.form-input option { background: var(--surface); }

/* ─── Team cards (who-we-are) ────────────────────────────────── */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}
.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.team-card:hover img { filter: grayscale(20%); transform: scale(1.04); }
.team-card-footer {
  padding: 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.team-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.team-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.team-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ─── Utilities ──────────────────────────────────────────────── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.bg-surface { background: var(--surface); }

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1f1f1f; }
::-webkit-scrollbar-thumb:hover { background: rgba(103, 189, 89, 0.27); }
