/* RedShot Productions — Director's Cut */

:root {
  --bg: #040306;
  --surface: #0c0812;
  --surface-2: #14101c;
  --red: #ff2d55;
  --red-glow: rgba(255, 45, 85, 0.45);
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.12);
  --text: #f5f2f8;
  --text-muted: #9a8fa8;
  --border: rgba(255, 255, 255, 0.07);
  --font-display: "Play", Georgia, serif;
  --font-body: "Josefin Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 76px;
  --ease-pop: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

body.is-loading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.container {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container > *, [class*="grid"] > * { min-width: 0; }

/* ── Film grain & progress ── */
.film-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(2) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, -1%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  z-index: 10001;
  box-shadow: 0 0 12px var(--red-glow);
  transition: width 0.08s linear;
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}

.curtain.done { transform: scaleY(0); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
  hyphens: auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.section-title .accent { color: var(--red); }

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-inline: auto; }

.text-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(4deg);
  transition: opacity 0.5s var(--ease-pop), transform 0.6s var(--ease-pop);
}

.text-split.visible .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-pop), box-shadow 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px var(--red-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 0 var(--cyan-dim);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: inset 0 0 24px var(--cyan-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  padding-inline: 0;
  letter-spacing: 0.18em;
}

.btn-ghost::after { display: none; }

.btn-block { width: 100%; }

.header-cta {
  padding: 0.7rem 1.1rem;
  font-size: 0.7rem;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(4, 3, 6, 0.82);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.logo img { height: 42px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-desktop a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.nav-desktop a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.35s var(--ease-pop);
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }

.nav-desktop a:hover::before,
.nav-desktop a.active::before { width: 100%; }

.social-links { display: flex; gap: 0.6rem; }

.social-links a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-pop);
}

.social-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 3, 6, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile ul { list-style: none; text-align: center; }
.nav-mobile li { margin: 1rem 0; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-pop);
}

.nav-mobile.open a {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile.open li:nth-child(1) a { transition-delay: 0.05s; }
.nav-mobile.open li:nth-child(2) a { transition-delay: 0.1s; }
.nav-mobile.open li:nth-child(3) a { transition-delay: 0.15s; }
.nav-mobile.open li:nth-child(4) a { transition-delay: 0.2s; }
.nav-mobile.open li:nth-child(5) a { transition-delay: 0.25s; }

.nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  cursor: pointer;
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(300px, calc(100% - 2rem));
}

/* ── Hero cinema ── */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4,3,6,0.95) 0%, rgba(4,3,6,0.2) 45%, rgba(4,3,6,0.55) 100%),
    linear-gradient(90deg, rgba(4,3,6,0.7) 0%, transparent 55%);
}

.viewfinder {
  position: absolute;
  inset: 1.5rem;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.12);
}

.viewfinder::before,
.viewfinder::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.35);
}

.viewfinder::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.viewfinder::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-meta {
  position: absolute;
  top: calc(var(--header-h) + 1rem);
  left: 2rem;
  right: 2rem;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.rec-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: recPulse 1.2s ease infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--red-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: riseIn 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  margin-bottom: 1.25rem;
  line-height: 0.95;
}

.hero-title .line-accent { color: var(--red); display: block; }

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 480px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: riseIn 0.8s 0.55s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: riseIn 0.8s 0.75s var(--ease-out) forwards;
}

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

.hero-nav {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 48px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}

.hero-dot.active {
  background: var(--red);
  width: 72px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── Marquee ── */
.marquee-band {
  padding: 1.25rem 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  white-space: nowrap;
  padding-right: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
}

.marquee-track em {
  font-style: normal;
  color: var(--red);
  -webkit-text-stroke: 0;
  margin-right: 3rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Stats ── */
.stats {
  padding: 4.5rem 0;
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--surface);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.4s ease;
}

.stat-item:hover { background: var(--surface-2); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Services bento ── */
.services { padding: 6rem 0; }

.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.service-card {
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-pop), border-color 0.35s ease;
}

.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 85, 0.35);
}

.service-card:nth-child(1) { grid-column: span 7; }
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3) { grid-column: span 5; }
.service-card:nth-child(4) { grid-column: span 7; }

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card h3 span { color: var(--cyan); }

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── Work reel (horizontal scroll) ── */
.work {
  padding: 6rem 0;
  background: var(--surface);
  overflow: hidden;
}

.work-reel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.25rem;
  padding: 0.5rem min(2.5rem, calc((100vw - 1240px) / 2 + 1.25rem)) 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.work-reel::-webkit-scrollbar { display: none; }

.work-card {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-pop);
}

.work-card:hover { transform: scale(1.03); }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,3,6,0.9), transparent 55%);
  opacity: 0.85;
  transition: opacity 0.35s ease;
}

.work-card:hover::after { opacity: 1; }

.work-info {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
}

.work-info h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }

.work-info p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.work-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  width: 56px;
  height: 56px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s var(--ease-pop);
}

.work-card:hover .work-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-filters, .work-grid { display: none; }

/* Portfolio page grid */
.page-portfolio .work-reel { display: none; }
.page-portfolio .work-filters { display: flex; }
.page-portfolio .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.page-portfolio .work-card.wide { grid-column: span 2; }

.page-portfolio .work-filters {
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--red);
  color: var(--red);
}

.page-portfolio .work-card {
  flex: unset;
  aspect-ratio: 16/10;
}

.page-portfolio .work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,3,6,0.9), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-portfolio .work-card:hover .work-overlay { opacity: 1; }

.page-portfolio .work-overlay h3 { font-size: 1.1rem; }
.page-portfolio .work-overlay p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── Clients ── */
.clients {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 3.5rem;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.clients-track img {
  height: 40px;
  opacity: 0.45;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.3s ease;
}

.clients-track img:hover { opacity: 1; }

/* ── Funnel timeline ── */
.funnel {
  padding: 6rem 0;
  background: var(--bg);
}

.funnel-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.funnel-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.funnel-step {
  padding: 0 1rem 2rem;
  text-align: center;
  position: relative;
}

.funnel-marker {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  transition: all 0.45s var(--ease-pop);
}

.funnel-step:hover .funnel-marker {
  border-color: var(--red);
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 24px var(--red-glow);
}

.funnel-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.funnel-step p { color: var(--text-muted); font-size: 0.88rem; }

.funnel-steps { display: none; }
.funnel-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Proof quote ── */
.proof-quote {
  padding: 5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
  position: relative;
}

.proof-quote::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--red);
  opacity: 0.12;
  line-height: 1;
}

.proof-quote blockquote {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--text);
}

.proof-quote cite {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  font-style: normal;
}

/* ── CTA finale ── */
.cta {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s linear;
}

.cta:hover .cta-bg { transform: scale(1.12); }

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,3,6,0.88), rgba(255,45,85,0.15));
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Page hero subpages ── */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,45,85,0.08), transparent 65%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero h1 .accent { color: var(--red); }

.page-hero--404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ── About, team, testimonials, contact, etc. ── */
.about-section { padding: 4rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-images img {
  border-radius: 0;
  object-fit: cover;
  width: 100%;
  filter: grayscale(0.2);
  transition: filter 0.4s ease, transform 0.5s var(--ease-pop);
}

.about-images img:hover {
  filter: grayscale(0);
  transform: scale(1.02);
}

.about-images .large {
  grid-row: span 2;
  min-height: 340px;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-columns h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.about-columns p { color: var(--text-muted); font-size: 0.95rem; }

.team { padding: 5rem 0; background: var(--surface); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.06);
  filter: contrast(1.1);
}

.team-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,3,6,0.95), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transform: translateY(40%);
  transition: transform 0.45s var(--ease-pop);
}

.team-card:hover .team-info { transform: translateY(0); }

.team-info p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.team-card.hiring {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  background: var(--surface-2);
}

.team-card.hiring .team-info {
  position: static;
  transform: none;
  text-align: center;
  background: none;
}

.testimonials { padding: 5rem 0; }

.testimonial-slider { overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
}

.testimonial-card { flex: 0 0 100%; padding: 0 0.5rem; }

@media (min-width: 768px) { .testimonial-card { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testimonial-card { flex: 0 0 33.333%; } }

.testimonial-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.35s ease;
}

.testimonial-inner:hover { border-color: rgba(0,212,255,0.3); }

.testimonial-inner p { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; }

.testimonial-author span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button:hover {
  border-color: var(--red);
  color: var(--red);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 3rem 0 1.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s var(--ease-pop);
}

.contact-card:hover { transform: translateY(-4px); }

.contact-card svg { color: var(--red); margin-bottom: 1rem; }

.calendly-wrap {
  border: 1px solid var(--border);
  margin: 1.5rem 0 4rem;
  overflow: hidden;
}

.conversion-band {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, rgba(255,45,85,0.12), rgba(0,212,255,0.08));
  border-block: 1px solid var(--border);
}

.conversion-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.conversion-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.trust-banner {
  padding: 1rem 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.trust-banner a { color: var(--cyan); }

.instagram-block {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.instagram-feed-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.45s var(--ease-pop), border-color 0.3s ease;
}

.instagram-feed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
}

.instagram-feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.35s ease;
}

.instagram-feed-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.instagram-feed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(4, 3, 6, 0.92), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.instagram-feed-card:hover .instagram-feed-overlay,
.instagram-feed-card:focus-visible .instagram-feed-overlay {
  opacity: 1;
}

.instagram-feed-overlay p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--text);
}

.instagram-feed-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 3, 6, 0.72);
  border: 1px solid var(--border);
}

.instagram-feed-cta {
  margin-top: 2rem;
  text-align: center;
}

.instagram-feed-status {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.instagram-feed-status a {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .instagram-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .instagram-block { padding: 4.5rem 0; }

  .instagram-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.trustpilot-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--cyan); }

.footer-cta-btns { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }

/* ── Mobile sticky CTA ── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 3, 6, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  gap: 0.65rem;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-pop);
}

.mobile-sticky-cta.visible {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  transform: translateY(0);
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sticky-call {
  border: 1px solid var(--border);
  color: var(--text);
}

.sticky-primary {
  background: var(--red);
  color: #fff;
}

body.has-sticky-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.legal-content { padding: 2rem 0 4rem; max-width: 720px; }
.legal-content h2 { margin: 1.5rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 0.75rem; }

.services-grid { display: none; }
.services-intro { margin-bottom: 2rem; }

/* Services page list */
.page-services .services-bento { display: none; }
.page-services .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-services .service-card {
  grid-column: span 1 !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-bento .service-card,
  .service-card:nth-child(n) { grid-column: span 12; }
  .funnel-timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .funnel-timeline::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 2rem); }
  .header-inner { width: calc(100% - 2rem); }
  .header-cta { display: none; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .viewfinder { inset: 0.75rem; }
  .hero-meta { left: 1rem; right: 1rem; font-size: 0.62rem; }
  .hero-scroll-hint, .hero-nav { bottom: 5.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .funnel-timeline { grid-template-columns: 1fr; }
  .about-text { order: 1; }
  .about-images { order: 2; }
  .about-columns { grid-template-columns: 1fr; }
  .about-images .large { min-height: 200px; }
  .conversion-band-inner { flex-direction: column; text-align: center; }
  .conversion-actions { width: 100%; flex-direction: column; }
  .conversion-actions .btn { width: 100%; }
  .page-hero .hero-actions { flex-direction: column; width: 100%; }
  .page-hero .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .page-portfolio .work-card.wide { grid-column: span 1; }
  .page-services .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid, .team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .film-grain, .marquee-track, .clients-track { animation: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
