/* =============================================================
   PIER8 — Production Agency
   Design system + component styles
   Dark, cinematic. Tune the whole look from :root below.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg:            #0a0a0b;   /* near-black page background */
  --bg-2:          #0e0e10;   /* alternating section band */
  --surface:       #141416;   /* cards / raised surfaces */
  --surface-2:     #1c1c1f;   /* hover / inputs */
  --line:          #2a2a2e;   /* hairline borders */
  --text:          #f4f2ee;   /* warm off-white */
  --muted:         #9a978f;   /* secondary text */
  --muted-2:       #6f6d68;   /* tertiary / captions */
  --accent:        #c9f24a;   /* electric neon lime — change here to re-skin the whole site */
  --accent-2:      #dbf683;
  --accent-rgb:    201, 242, 74;  /* accent as r,g,b — used by translucent glows */
  --accent-ink:    #1a2103;   /* text on accent surfaces */

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 9px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 1.4rem + 6.6vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); text-transform: uppercase; }
.h3 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.9rem); }

.lede {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  color: var(--muted);
  max-width: 46ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.accent { color: var(--accent); }
.muted  { color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); }
.section--band { background: var(--bg-2); }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 1rem + 4vw, 3.75rem);
}
.section-head .lede { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, 0.5rem + 2vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--accent-2); }

.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--accent); gap: 0.75rem; }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand svg { height: 26px; width: auto; }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%,  7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 120px clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(var(--accent-rgb),0.16), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(var(--accent-rgb),0.07), transparent 60%),
    linear-gradient(180deg, #0c0c0e 0%, #0a0a0b 60%, #08080a 100%);
}
/* filmic grain + vignette */
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(0,0,0,0.6) 100%);
  mix-blend-mode: multiply;
}
.grain {
  position: absolute; inset: -50%;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__title { margin-bottom: 1.5rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-top: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero__scroll {
  position: absolute;
  right: var(--gutter); bottom: clamp(2.5rem, 5vw, 5rem);
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--muted-2), transparent);
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* stat / meta row */
.stat { display: flex; flex-direction: column; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.stat .label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.4rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 0.9rem + 1.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Work cards ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--muted-2); }
.filter-btn.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
.work-card {
  position: relative;
  grid-column: span 6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 11;
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
}
.work-card.span-4 { grid-column: span 4; }
.work-card.span-6 { grid-column: span 6; }
.work-card.span-8 { grid-column: span 8; }
.work-card.tall { aspect-ratio: 4 / 5; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s var(--ease); }
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,6,7,0.85) 100%);
  transition: opacity 0.4s var(--ease);
}
.work-card__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.work-card__title { font-size: 1.25rem; }
.work-card__cat {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.35rem;
}
.work-card__plus {
  flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(244,242,238,0.4);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); }
.work-card:hover img { transform: scale(1.06); filter: brightness(1.05); }
.work-card:hover .work-card__meta { transform: translateY(0); opacity: 1; }
.work-card:hover .work-card__plus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.work-card.is-hidden { display: none; }

/* ---------- Services ---------- */
.service {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(var(--accent-rgb),0.12), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
/* Only the link cards (e.g. homepage offerings) feel clickable; info cards
   (departments, values, capabilities) stay static so tags don't imply a click. */
a.service { cursor: pointer; }
a.service:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),0.4); background: var(--surface-2); }
a.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--muted-2);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.service__icon {
  width: 48px; height: 48px; margin: 1.25rem 0 1.5rem;
  color: var(--accent);
}
.service__icon svg { width: 100%; height: 100%; }
.service h3 { margin-bottom: 0.75rem; }
.service p { color: var(--muted); position: relative; }
.service__list { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; }
.tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Detailed service rows (services.html) */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 1rem + 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 5vw, 6rem);
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--line);
  line-height: 1;
}
.service-row ul.checks { margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.service-row ul.checks li {
  display: flex; gap: 0.75rem; color: var(--muted); align-items: flex-start;
}
.service-row ul.checks li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center/9px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 9px no-repeat,
    var(--surface-2);
  border: 1px solid rgba(var(--accent-rgb),0.4);
}

/* ---------- About ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.stat-band .stat {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-right: 1px solid var(--line);
}
.stat-band .stat:last-child { border-right: none; }
.stat-band .num { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); color: var(--accent); }

.team-card { text-align: left; }
.team-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  margin-bottom: 1rem;
  filter: grayscale(1);
  transition: filter 0.4s var(--ease);
}
.team-card:hover .team-card__photo { filter: grayscale(0); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
.team-card .role { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.05em; }

.process-list { counter-reset: step; display: grid; gap: 0; }
.process-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
}
.process-list h4 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.35rem; }
.process-list p { color: var(--muted); }

/* ---------- Contact / Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); background: var(--surface-2); outline: none; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #d9534f; }
.field .error-msg { color: #e07b78; font-size: 0.82rem; margin-top: 0.4rem; display: none; }
.field.has-error .error-msg { display: block; }

.form-note { color: var(--muted-2); font-size: 0.85rem; margin-top: 0.5rem; }
.form-success {
  display: none;
  padding: 2rem;
  border: 1px solid rgba(var(--accent-rgb),0.4);
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--accent-rgb),0.12), transparent 60%), var(--surface);
}
.form-success.is-visible { display: block; animation: pop 0.5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.contact-aside .contact-item { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.contact-aside .contact-item:first-child { border-top: none; padding-top: 0; }
.contact-aside .contact-item .k { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.4rem; }
.contact-aside .contact-item a, .contact-aside .contact-item p { font-size: 1.05rem; }
.contact-aside .contact-item a:hover { color: var(--accent); }
.socials { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  transition: all 0.2s var(--ease);
}
.socials a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* ---------- CTA strip ---------- */
.cta {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(120% 160% at 85% 20%, rgba(var(--accent-rgb),0.18), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta h2 { max-width: 16ch; }
.cta .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted); padding-block: 0.4rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: 0.85rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: 150px clamp(2.5rem, 2rem + 3vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 80% 0%, rgba(var(--accent-rgb),0.12), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-block: 1.25rem 1.25rem; }
.breadcrumb { color: var(--muted-2); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat:nth-child(2) { border-right: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    inset: 74px 0 auto 0;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .nav-links.is-open a { width: 100%; padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links.is-open a::after { display: none; }

  .work-card, .work-card.span-4, .work-card.span-6, .work-card.span-8 { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* =============================================================
   RENEWAL COMPONENTS — client logo wall, global reach, feature
   ============================================================= */

/* ---------- Client logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-tile {
  background: var(--bg);
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background 0.3s var(--ease);
}
.logo-tile span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.logo-tile:hover { background: var(--surface); }
.logo-tile:hover span { color: var(--text); }
.logo-tile .region {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-top: 0.4rem;
}

/* ---------- Global reach ---------- */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.reach-city {
  background: var(--bg);
  padding: 1.5rem 1.5rem 1.4rem;
  transition: background 0.3s var(--ease);
}
.reach-city:hover { background: var(--surface); }
.reach-city .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.15);
}
.reach-city .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.reach-city .country { color: var(--muted-2); font-size: 0.8rem; letter-spacing: 0.04em; margin-top: 0.35rem; }

/* ---------- Feature / case-study block ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.feature__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(8px);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Responsive: renewal ---------- */
@media (max-width: 960px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { min-height: 104px; }
}

/* =============================================================
   VIDEO SHOWCASE — placeholder tiles + click-to-play lightbox
   Paste a Google Drive / YouTube link into data-video-url later.
   ============================================================= */
.video-featured,
.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  text-align: left;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.video-featured { margin-bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
.video-featured:hover,
.video-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),0.4); }
.video-featured img,
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s var(--ease); }
.video-featured:hover img,
.video-card:hover img { transform: scale(1.05); filter: brightness(1.06); }
.video-featured::after,
.video-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,7,0.1) 0%, transparent 35%, rgba(6,6,7,0.85) 100%);
}

/* Play button */
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,11,0.55);
  border: 1px solid rgba(244,242,238,0.5);
  backdrop-filter: blur(6px);
  color: var(--text);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.play-btn::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),0.5);
  animation: pulse 2.4s var(--ease) infinite;
}
.video-card .play-btn { width: 60px; height: 60px; }
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card .play-btn svg { width: 20px; height: 20px; }
.video-featured:hover .play-btn,
.video-card:hover .play-btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translate(-50%, -50%) scale(1.06); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

/* Tile caption */
.video-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.video-card .video-meta { padding: 1.1rem 1.25rem; }
.video-cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.video-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem); color: var(--text); }
.video-featured .video-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); }

/* Lightbox */
.video-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(5,5,6,0.86);
  backdrop-filter: blur(12px);
}
.video-lightbox.is-open { display: grid; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.video-lightbox__inner {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.video-lightbox__stage { position: absolute; inset: 0; }
.video-lightbox__inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-lightbox__placeholder {
  display: grid; place-items: center; height: 100%;
  text-align: center; padding: 2rem;
  background: radial-gradient(120% 120% at 50% 0%, rgba(var(--accent-rgb),0.1), transparent 60%), var(--surface);
}
.video-lightbox__placeholder .eyebrow { justify-content: center; margin-bottom: 1rem; }
.video-lightbox__placeholder p { color: var(--muted); max-width: 36ch; margin: 0 auto; }
.video-lightbox__close {
  position: absolute; top: -0.5rem; right: -0.5rem; z-index: 3;
  transform: translate(50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  border: none; display: grid; place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-lightbox__close:hover { background: var(--accent); transform: translate(50%, -50%) scale(1.05); }
.video-lightbox__close svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .video-lightbox__close { top: -3rem; right: 0; transform: none; }
  .video-lightbox__close:hover { transform: scale(1.05); }
}
body.no-scroll { overflow: hidden; }

/* =============================================================
   BEHIND-THE-SCENES gallery — portrait stills
   ============================================================= */
.bts-gallery {
  column-count: 3;
  column-gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}
.bts-shot {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.bts-shot:hover { border-color: rgba(var(--accent-rgb),0.4); }
.bts-shot img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.bts-shot:hover img { transform: scale(1.04); }
.bts-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,6,7,0.82) 100%);
}
.bts-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  display: flex; align-items: center; gap: 0.55rem;
}
.bts-shot figcaption::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 760px) { .bts-gallery { column-count: 2; } }
@media (max-width: 440px) { .bts-gallery { column-count: 1; } }

/* =============================================================
   EQUIPMENT / KIT LIST — spec-sheet style
   ============================================================= */
.kit { border-top: 1px solid var(--line); }
.kit-group {
  display: grid;
  grid-template-columns: 0.62fr 2fr;
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.kit-group__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--muted-2);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.kit-group h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem); margin-top: 0.5rem; }
.kit-items { display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: flex-start; }
.kit-item {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.kit-item:hover { color: var(--text); border-color: rgba(var(--accent-rgb),0.4); background: var(--surface); }
.kit-item--more { color: var(--accent); border-color: rgba(var(--accent-rgb),0.4); }
@media (max-width: 720px) { .kit-group { grid-template-columns: 1fr; gap: 0.9rem; } }

/* =============================================================
   IMAGE LIGHTBOX — click a still to enlarge (BTS / stills galleries)
   ============================================================= */
.bts-shot { cursor: zoom-in; }
.bts-shot__zoom {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10,10,11,0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(244,242,238,0.25);
  display: grid; place-items: center; color: var(--text);
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.bts-shot:hover .bts-shot__zoom { opacity: 1; transform: scale(1); }
.bts-shot__zoom svg { width: 16px; height: 16px; }

.img-lightbox {
  position: fixed; inset: 0; z-index: 210;
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5,5,6,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.img-lightbox.is-open { display: grid; animation: fade 0.3s var(--ease); }
.img-lightbox__img {
  max-width: min(1400px, 100%); max-height: 86vh;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  object-fit: contain; background: var(--surface);
}
.img-lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: clamp(0.75rem, 3vw, 1.75rem);
  text-align: center; color: var(--muted);
  font-size: 0.85rem; letter-spacing: 0.05em;
}
.img-lightbox__close {
  position: absolute; top: clamp(1rem,3vw,1.75rem); right: clamp(1rem,3vw,1.75rem);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--text); color: var(--bg); border: none;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.img-lightbox__close:hover { background: var(--accent); transform: scale(1.05); }
.img-lightbox__close svg { width: 20px; height: 20px; }
.img-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(20,20,22,0.7); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--text);
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.img-lightbox__nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.img-lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.img-lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); }
.img-lightbox__nav svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .img-lightbox__nav { width: 40px; height: 40px; } }

/* =============================================================
   PHOTOGRAPHERS — "behind the lens" credit block (portrait + name)
   ============================================================= */
.photographers {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
}
.photog { display: flex; align-items: center; gap: 1.15rem; }
.photog__photo {
  width: clamp(120px, 9vw, 160px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  flex: none;
}
.photog figcaption { display: flex; flex-direction: column; gap: 0.25rem; }
.photog__label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.photog__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); letter-spacing: -0.01em;
}
.photog__role { color: var(--muted-2); font-size: 0.9rem; letter-spacing: 0.03em; }
.photog__photo.is-zoomable { cursor: zoom-in; transition: filter 0.3s var(--ease); }
.photog__photo.is-zoomable:hover { filter: brightness(1.08); }
/* portraits open smaller than the work stills — feels more natural */
.img-lightbox--portrait .img-lightbox__img { max-width: min(480px, 88%); max-height: 74vh; }
