/* ==========================================================================
   2A MEDYA — DESIGN SYSTEM
   Premium creative-agency system: editorial typography, near-black surfaces,
   a single warm accent, and controlled motion. No SaaS gradients, no glass
   cards, no generic AI-landing patterns.
   ========================================================================== */

:root {
  /* ---- Surfaces ---- */
  --bg: #08090c;
  --bg-elevated: #101116;
  --surface: #15161b;
  --surface-hover: #1b1c22;

  /* ---- Foreground ---- */
  --fg: #f3f2ed;
  --fg-muted: #a8a8a3;
  --fg-dim: #7a7a75;

  /* ---- Lines ---- */
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.22);

  /* ---- Accent: muted brass/gold, used sparingly ---- */
  --accent: #c7a45c;
  --accent-strong: #ddc07f;
  --accent-dim: rgba(199, 164, 92, 0.14);
  --accent-ink: #171208;

  /* ---- Inverse (light chips on dark bg, e.g. form on light card) ---- */
  --on-light-bg: #f3f2ed;
  --on-light-fg: #0c0c0c;

  /* ---- Type ---- */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Structure ---- */
  --container-max: 1560px;
  --edge: clamp(20px, 5vw, 64px);
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg-muted);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
button { background: none; border: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  font-weight: 700;
  text-wrap: balance;
}

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.section { padding: clamp(72px, 11vw, 160px) 0; position: relative; }
.section-tight { padding: clamp(56px, 8vw, 120px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.display-xl {
  font-size: clamp(3.4rem, 8.6vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--fg);
}

.title-lg {
  font-size: clamp(2.6rem, 5.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--fg);
}

.title-md {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--fg);
}

.body-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 46ch;
}

.body-md {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 60ch;
}

.text-fg { color: var(--fg); }
.text-accent { color: var(--accent); }

.hairline { border-color: var(--hairline) !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Reveal-on-scroll base state (JS adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=UTF-8,%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");
}

/* ==========================================================================
   BUTTONS — editorial, not SaaS pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.btn-fill {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.btn-fill:hover { background: var(--accent-strong); transform: translateY(-2px); }

.btn-line {
  position: relative;
  padding-bottom: 6px;
  color: var(--fg);
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  padding: 15px 30px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-dim); }

.magnetic-wrap { display: inline-block; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1100;
  transition: width 0.12s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px var(--edge);
  background: linear-gradient(180deg, rgba(8,9,12,0.65) 0%, rgba(8,9,12,0.28) 65%, transparent 100%);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header.is-scrolled {
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
  padding: 13px var(--edge);
}

.site-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline-strong);
  transition: border-color 0.3s var(--ease);
}

.brand:hover img { border-color: var(--accent); }

.brand-divider {
  width: 1px;
  height: 26px;
  background: var(--hairline-strong);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-muted);
  position: relative;
  padding: 8px 14px;
  transition: color 0.3s var(--ease);
}

.primary-nav a .nav-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 14px; right: calc(100% - 14px);
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}

.primary-nav a:hover, .primary-nav a.active { color: var(--fg); }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 14px; }

.header-cta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  color: var(--fg);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--edge) 60px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.is-open { transform: translateY(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}

.mobile-menu-links a span.num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-foot a { font-weight: 700; color: var(--fg-muted); font-size: 0.95rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
  padding-top: 120px;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,12,0.55) 0%, rgba(8,9,12,0.72) 55%, var(--bg) 100%);
}

.hero-watermark {
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46vw;
  line-height: 1;
  color: var(--fg);
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.hero-eyebrow strong { color: var(--fg); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.4vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--fg);
  max-width: 22ch;
  margin-bottom: 32px;
}

.hero-title .reveal-line { display: block; overflow: hidden; }
.hero-title .reveal-line span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.hero-title.is-in .reveal-line span { transform: translateY(0); }
.hero-title .reveal-line:nth-child(1) span { transition-delay: 0.05s; }
.hero-title .reveal-line:nth-child(2) span { transition-delay: 0.15s; }

.hero-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}

.hero-desc { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg-muted); max-width: 46ch; }

.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-self: end;
}

.hero-rail-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-dim);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.hero-rail-item:hover { color: var(--fg); padding-left: 8px; }
.hero-rail-item .num { color: var(--accent); font-size: 0.75rem; }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { background: var(--bg); }

.manifesto-head { max-width: 1100px; margin-bottom: 64px; }

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--fg-dim);
}

.manifesto-statement .accent-word { color: var(--fg); }

.manifesto-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.manifesto-body p { font-size: 1.1rem; line-height: 1.7; color: var(--fg-muted); }
.manifesto-body p strong { color: var(--fg); font-weight: 700; }

.principles {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.principle {
  background: var(--bg);
  padding: 40px 28px;
}

.principle:nth-child(2) { transform: translateY(28px); }
.principle:nth-child(4) { transform: translateY(28px); }

.principle-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.principle h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.principle p { font-size: 0.92rem; color: var(--fg-muted); line-height: 1.6; }

/* ==========================================================================
   CLIENT STRIP
   ========================================================================== */
.client-strip { padding: 64px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.client-strip-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-bottom: 32px;
}

.client-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.client-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}

.client-mark:hover { opacity: 1; filter: grayscale(0); }

.client-mark img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: #fff; }
.client-mark span { font-size: 0.9rem; font-weight: 700; color: var(--fg); }

/* ==========================================================================
   EXPERTISE — asymmetric bento
   ========================================================================== */
.expertise-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

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

.bento-card {
  position: relative;
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 36px;
  transition: background 0.35s var(--ease);
}

.bento-card.span-2 { grid-column: span 2; min-height: 440px; }

.bento-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.bento-card:hover .bento-media img { transform: scale(1.045); opacity: 0.62; }

.bento-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,12,0.15) 0%, rgba(8,9,12,0.92) 100%);
}

.bento-content { position: relative; z-index: 1; }

.bento-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.bento-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  transition: transform 0.35s var(--ease);
}

.bento-card p { font-size: 0.98rem; color: var(--fg-muted); max-width: 46ch; margin-bottom: 20px; }

.bento-card .btn-line { display: inline-flex; }
.bento-card:hover h3 { transform: translateX(6px); }

/* ==========================================================================
   SELECTED WORK
   ========================================================================== */
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.work-list { border-top: 1px solid var(--hairline); }

.work-row {
  display: grid;
  grid-template-columns: 90px 96px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 0.35s var(--ease);
}

.work-row:hover { padding-left: 12px; }

.work-index { font-size: 0.9rem; color: var(--fg-dim); font-weight: 700; }

.work-thumb {
  position: relative;
  display: block;
  width: 96px;
  height: 128px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.work-row:hover .work-thumb img { transform: scale(1.06); }

.work-thumb-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,9,12,0.25);
}
.work-thumb-badge span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}
.work-thumb-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(8,9,12,0.6);
  padding: 3px 7px;
  border-radius: 4px;
}

.work-main h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-main .work-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.work-main .work-tags span {
  font-size: 0.78rem;
  color: var(--fg-dim);
  padding: 3px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

.work-year { font-size: 0.9rem; color: var(--fg-dim); }

.work-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.work-row:hover .work-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

.work-preview {
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 170px;
  pointer-events: none;
  overflow: hidden;
  z-index: 500;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.work-preview.is-active { opacity: 1; }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Case study detail block (used inline as expandable content, kept simple/static) */
.case-detail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-detail h4 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.case-detail p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.55; }

.case-detail-2 { grid-template-columns: repeat(2, 1fr); padding-top: 32px; }
@media (max-width: 768px) { .case-detail-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   SHOWREEL
   ========================================================================== */
.showreel {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.showreel-media { position: absolute; inset: 0; }
.showreel-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: blur(2px); }
.showreel-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,0.7), var(--bg-elevated) 90%); }

.showreel-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.showreel-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 24px;
}

.showreel-play {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-weight: 700;
  color: var(--fg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.showreel-play:hover { border-color: var(--accent); background: var(--accent-dim); }
.showreel-play .play-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}

/* Real vertical video player — used wherever we have actual footage */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg);
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  pointer-events: none;
}

.video-gallery {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.video-gallery .video-frame { max-width: 180px; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-list { border-top: 1px solid var(--hairline); margin-top: 56px; }

.process-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
}

.process-row .p-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.process-row h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.process-row p { max-width: 60ch; color: var(--fg-muted); }

/* ==========================================================================
   ABOUT / AGENCY
   ========================================================================== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 1.1rem; color: var(--fg-muted); line-height: 1.75; margin-bottom: 20px; }
.about-copy p:last-child { margin-bottom: 0; }

.authority-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.authority-grid span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--fg-dim);
  letter-spacing: -0.01em;
}
.authority-grid span.on { color: var(--fg); }

/* ==========================================================================
   INSIGHTS TEASER
   ========================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 40px;
}

.insight-card {
  background: var(--bg-elevated);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: background 0.3s var(--ease);
}
.insight-card:hover { background: var(--surface-hover); }
.insight-cat { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.insight-card h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.insight-card p { font-size: 0.9rem; color: var(--fg-muted); }

/* ==========================================================================
   CONTACT CTA + FORM
   ========================================================================== */
.contact-cta { text-align: left; }
.contact-cta .title-lg { max-width: 14ch; margin-bottom: 24px; }
.contact-cta-foot { display: flex; align-items: center; gap: 32px; margin-top: 40px; flex-wrap: wrap; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--hairline);
}

.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 6px; }
.contact-detail-value { font-size: 1.3rem; font-weight: 700; color: var(--fg); }
.contact-detail-value:hover { color: var(--accent); }

form.lead-form { display: flex; flex-direction: column; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--fg-muted); }

.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 10px 2px;
  color: var(--fg);
  transition: border-color 0.3s var(--ease);
}
.field select { appearance: none; background: transparent; }
.field select option { background: var(--bg-elevated); color: var(--fg); }

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 90px; resize: vertical; }

.field.has-error input, .field.has-error textarea { border-color: #e0664f; }
.field-error { font-size: 0.78rem; color: #e0664f; display: none; }
.field.has-error .field-error { display: block; }

.checkbox-field { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--fg-muted); }
.checkbox-field input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox-field { cursor: pointer; padding: 4px 0; }
.checkbox-field a { text-decoration: underline; color: var(--fg); }

.form-status {
  display: none;
  font-size: 0.9rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
}
.form-status.is-visible { display: block; }
.form-status.success { border-color: var(--accent); color: var(--accent-strong); }
.form-status.error { border-color: #e0664f; color: #e0664f; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--hairline); padding: clamp(64px, 8vw, 120px) 0 32px; }

.footer-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--fg);
  max-width: 16ch;
  margin-bottom: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand p { color: var(--fg-dim); font-size: 0.92rem; margin-top: 14px; max-width: 300px; line-height: 1.6; }
.footer-col-title { color: var(--fg); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--fg-dim); font-size: 0.94rem; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--fg); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--fg-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a:hover { color: var(--accent); }

/* ==========================================================================
   FLOATING CONTACT CONTROL
   ========================================================================== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; }

.float-btn.whatsapp { background: #25D366; }
.float-btn.whatsapp:hover { box-shadow: 0 14px 32px rgba(37,211,102,0.5); }

.float-btn.instagram {
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
}
.float-btn.instagram:hover { box-shadow: 0 14px 32px rgba(220,39,67,0.5); }

.float-btn.phone {
  background: var(--bg-elevated);
  border: 1.5px solid var(--hairline-strong);
  color: var(--fg);
}
.float-btn.phone:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  background: var(--bg-elevated);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  z-index: 990;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cookie-banner.hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.cookie-banner h3 { font-size: 1rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.55; margin-bottom: 18px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   LIGHTBOX (honest media preview — never simulates a fake video player)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,9,12,0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-box { max-width: 900px; width: 100%; }
.lightbox-box img { width: 100%; border-radius: var(--radius-md); }
.lightbox-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 16px; flex-wrap: wrap; }
.lightbox-meta h3 { font-size: 1.1rem; }
.lightbox-meta p { font-size: 0.85rem; color: var(--fg-dim); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  color: var(--fg);
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   SERVICE / SUB PAGES — shared shell
   ========================================================================== */
.page-hero {
  padding: clamp(150px, 20vw, 220px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--hairline);
}

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--fg-dim); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--accent); }

.page-hero .title-lg { max-width: 18ch; margin-bottom: 24px; }

.page-section-head { max-width: 800px; margin-bottom: 40px; }
.page-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 14px; }

.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li .mark { color: var(--accent); font-weight: 800; flex-shrink: 0; }
.check-list li div h4 { font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 4px; }
.check-list li div p { font-size: 0.92rem; color: var(--fg-muted); }

.sticky-cta {
  position: sticky;
  top: 110px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 36px;
}
.sticky-cta h3 { font-size: 1.3rem; margin-bottom: 12px; }
.sticky-cta p { font-size: 0.92rem; color: var(--fg-muted); margin-bottom: 24px; }

.numbered-block { display: flex; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--hairline); }
.numbered-block .n { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 1rem; flex-shrink: 0; width: 40px; }
.numbered-block h3 { font-size: 1.2rem; margin-bottom: 8px; }
.numbered-block p { color: var(--fg-muted); max-width: 60ch; }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
}
.faq-q .plus { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--accent); font-size: 1.3rem; }
.faq-item[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--fg-muted); max-width: 68ch; line-height: 1.65; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 24px; }
.related-card { background: var(--bg-elevated); padding: 28px; transition: background 0.3s var(--ease); }
.related-card:hover { background: var(--surface-hover); }
.related-card span { font-size: 0.76rem; color: var(--accent); font-weight: 700; }
.related-card h4 { font-size: 1.05rem; margin: 10px 0 8px; }
.related-card p { font-size: 0.85rem; color: var(--fg-dim); }

/* Legal pages */
.legal-content { max-width: 760px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .updated { font-size: 0.85rem; color: var(--fg-dim); margin-bottom: 40px; }
.legal-content h2 { font-size: 1.35rem; margin: 44px 0 16px; letter-spacing: -0.01em; }
.legal-content p { color: var(--fg-muted); line-height: 1.75; margin-bottom: 14px; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal-content th, .legal-content td { text-align: left; padding: 12px; border-bottom: 1px solid var(--hairline); font-size: 0.9rem; color: var(--fg-muted); }
.legal-content th { color: var(--fg); font-weight: 700; }
.legal-content .info-box { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 24px; margin: 24px 0; }
.legal-content .info-box p { margin-bottom: 8px; }

/* Blog hub */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
}
.blog-featured-media { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md); }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.blog-cat-filter span { font-size: 0.85rem; padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--fg-dim); }
.blog-cat-filter span.on { color: var(--fg); border-color: var(--accent); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.blog-card { background: var(--bg-elevated); }
.blog-card-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 26px; }
.blog-card-body a, .blog-featured p a {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.blog-card-body a:hover, .blog-featured p a:hover { color: var(--accent-strong); }

/* 404 */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.error-num { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; max-width: 16ch; }
.error-page p { color: var(--fg-muted); margin-bottom: 36px; max-width: 46ch; }
.error-actions { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .reveal-line span { transform: none; }
  .hero-media img { transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .about-wrap, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .sticky-cta { position: static; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid > :first-child { grid-column: span 2; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .bento-card.span-2 { grid-column: span 2; }
  .showreel-inner { grid-template-columns: 1fr; text-align: center; }
  .showreel-inner .video-frame { margin: 0 auto; }
  .manifesto-body { grid-template-columns: 1fr; gap: 24px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(n) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-row { grid-template-columns: 40px 72px 1fr auto; }
  .work-thumb { width: 72px; height: 96px; }
  .work-year { display: none; }
  .work-preview { display: none; }
  .case-detail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 100px; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-rail { justify-self: start; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .hero-rail-item { padding: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .client-strip-row { gap: 20px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid > :first-child { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .blog-featured, .blog-grid { grid-template-columns: 1fr; }
  .case-detail { grid-template-columns: 1fr; }
  .numbered-block { gap: 16px; }
  .process-row { grid-template-columns: 1fr; gap: 12px; }
  .cookie-banner { left: 16px; right: 16px; width: auto; bottom: 16px; }
  .float-contact { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  :root { --edge: 18px; }
  .header-cta .btn-fill { display: none; }
  .header-cta { gap: 12px; }
  .hero-title { max-width: 100%; }
  .btn-fill, .btn-ghost { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .magnetic-wrap { width: 100%; }
}
