/* ==========================================================================
   MEGA KING ADVERTISING — prototype styles
   Tokens follow Brand Guidelines v1.0 (Onyx / Parchment / Crown Red, Anton + Inter)
   ========================================================================== */

:root {
  --onyx: #0B0B0B;
  --graphite: #1C1C1C;
  --red: #FF3D2E;
  --parchment: #F2EFE8;
  --stone: #CFC8B8;
  --mute: #8a857b;

  --f-display: "Anton", Impact, sans-serif;
  --f-text: "Inter", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--onyx);
  color: var(--parchment);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
}
.xxl { font-size: clamp(64px, 15vw, 260px); }
.xl  { font-size: clamp(54px, 10.5vw, 190px); }
.lg  { font-size: clamp(44px, 7vw, 120px); }
.md  { font-size: clamp(34px, 4.6vw, 76px); }
.sm  { font-size: clamp(26px, 2.6vw, 42px); }

.label {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.label--rule { display: inline-flex; align-items: center; gap: 14px; }
.label--rule::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.lead { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; max-width: 34ch; font-weight: 400; }
.muted { color: var(--mute); }
.red { color: var(--red); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--parchment); }
.light .outline, .stone .outline, .redbg .outline { -webkit-text-stroke-color: var(--onyx); }
.outline-stone { color: transparent; -webkit-text-stroke: 1.5px var(--stone); }

/* The Crown Dot — one red full stop per headline */
.dot {
  display: inline-block;
  width: .2em; height: .2em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: baseline;
}

/* Split text masks */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; }
.pad { padding-top: clamp(90px, 14vw, 220px); padding-bottom: clamp(90px, 14vw, 220px); }
.pad-sm { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.light { background: var(--parchment); color: var(--onyx); }
.stone { background: var(--stone); color: var(--onyx); }
.redbg { background: var(--red); color: var(--onyx); }
.graphite { background: var(--graphite); }

.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* ---------- Grain ---------- */
.grain {
  pointer-events: none;
  position: fixed; inset: -100%;
  width: 300%; height: 300%;
  z-index: 90;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  z-index: 200; pointer-events: none;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s;
  mix-blend-mode: normal;
}
.cursor span { font: 700 10px/1 var(--f-text); letter-spacing: .18em; color: #fff; opacity: 0; transition: opacity .2s; text-transform: uppercase; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255, 61, 46, .25); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--onyx);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader svg { width: min(180px, 40vw); overflow: visible; }
.preloader .pl-path { fill: transparent; stroke: var(--parchment); stroke-width: 6; }
.preloader__count { font-family: var(--f-display); font-size: 14px; letter-spacing: .3em; color: var(--mute); }
.preloader__bar { width: 160px; height: 2px; background: rgba(242, 239, 232, .12); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Page transition ---------- */
.transition {
  position: fixed; inset: 0; z-index: 250;
  pointer-events: none;
  display: grid; place-items: center;
}
.transition__panel { position: absolute; inset: 0; background: var(--red); transform: translateY(100%); }
.transition__panel--2 { background: var(--onyx); }
.transition svg { position: relative; width: 110px; opacity: 0; color: var(--onyx); }

/* ---------- Header ---------- */
.header {
  transition: color .4s;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: transform .6s var(--ease), color .4s;
  color: var(--parchment);
}
.header.on-light { color: var(--onyx); }
.menu-open .header { color: var(--onyx); }
.header.is-hidden { transform: translateY(-110%); }
.header__logo { display: flex; align-items: center; height: 26px; }
.header__logo svg { height: 100%; width: auto; fill: currentColor; }
.header__logo .crown-part { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease-out); }
.header__logo:hover .crown-part { transform: translateY(-8%) rotate(-6deg); }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { position: relative; padding-left: 12px; margin-left: -12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; overflow: hidden; display: inline-block; height: 1.35em; }
.nav a span { display: block; transition: transform .5s var(--ease-out); }
.nav a span::after { content: attr(data-t); display: block; }
.nav a:hover span { transform: translateY(-50%); }
.nav a.is-active::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: currentColor; }
.header__cta {
  font-size: 13px; font-weight: 700;
  padding: 12px 20px; border: 1.5px solid currentColor; border-radius: 100px;
  transition: background .3s, color .3s;
}
.header__cta:hover { background: var(--red); border-color: var(--red); color: #fff; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 25px; }
.menu-open .burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--red); color: var(--onyx);
  clip-path: inset(0 0 100% 0);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 40px;
  visibility: hidden;
}
.menu__links a { display: block; font-family: var(--f-display); font-size: clamp(54px, 15vw, 120px); line-height: .95; text-transform: uppercase; overflow: hidden; }
.menu__links a span { display: inline-block; }
.menu__foot { display: flex; justify-content: space-between; margin-top: 40px; font-weight: 600; font-size: 14px; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px; border-radius: 100px;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px;
  overflow: hidden; isolation: isolate;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--parchment);
  border-radius: 50% 50% 0 0;
  transform: translateY(101%);
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--onyx); }
.btn .arr { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn--dark { background: var(--onyx); }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn--ghost::before { background: var(--red); }
.btn--ghost:hover { color: #fff; border-color: var(--red); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; display: flex; user-select: none; }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; }
.marquee--red { background: var(--red); color: var(--onyx); padding: 18px 0; }
.marquee--red .marquee__item { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 56px); text-transform: uppercase; line-height: 1; }
.crown-ico { display: inline-block; width: .9em; height: .75em; flex-shrink: 0; }
.crown-ico svg { width: 100%; height: 100%; fill: currentColor; display: block; }

/* ---------- Image reveal ---------- */
.media { position: relative; overflow: hidden; background: var(--graphite); }
.media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.media--duo img { filter: grayscale(1) contrast(1.1); transition: filter .8s var(--ease-out); }
.media--duo.is-live img, .media--duo:hover img { filter: none; }
.media--duo::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: 0; transition: opacity .6s; pointer-events: none; }

/* ==========================================================================
   HOME
   ========================================================================== */

/* Hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
}
.hero__blueprint {
  position: absolute; z-index: 0;
  right: -12vw; top: 8vh;
  width: 78vw; max-width: 1300px;
  opacity: .9;
  pointer-events: none;
}
.hero__blueprint path { fill: none; stroke: rgba(242, 239, 232, .12); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.hero__blueprint .bp-red { stroke: rgba(255, 61, 46, .35); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(28px, 4vw, 56px); }
.hero__title { font-size: clamp(60px, 11.6vw, 230px); }
.hero__title .line { display: block; white-space: nowrap; }
.hero__pill {
  display: inline-block; position: relative;
  width: 1.55em; height: .74em;
  border-radius: 1em;
  overflow: hidden;
  vertical-align: .06em;
  margin: 0 .06em;
  background: var(--graphite);
}
.hero__pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.25); }
.hero__pill img.is-on { opacity: 1; transform: scale(1); transition: opacity .01s, transform 1.4s var(--ease-out); }
.hero__meta { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: clamp(20px, 4vw, 64px); margin-top: clamp(28px, 4vw, 54px); }
.hero__meta .lead { max-width: 30ch; }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; display: block; width: 1.5px; height: 54px; background: rgba(242, 239, 232, .2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--red); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@media (max-width: 760px) {
  .hero__title { font-size: 20vw; }
  .hero__pill { width: 1.15em; }
  .hero__title .line { white-space: normal; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__blueprint { width: 140vw; right: -40vw; top: 14vh; }
}

/* Statement (scroll-filled words) */
.statement__text { font-size: clamp(54px, 11vw, 200px); }
.statement__text .sw { color: rgba(11, 11, 11, .12); transition: none; }
.statement__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(40px, 6vw, 90px); align-items: end; }
.statement__img { aspect-ratio: 4/5; max-width: 420px; justify-self: end; width: 100%; border-radius: 4px; }
@media (max-width: 760px) { .statement__grid { grid-template-columns: 1fr; } .statement__img { justify-self: start; } }

/* Services — horizontal scroll */
.hscroll { overflow: hidden; }
.hscroll__head { padding-top: clamp(90px, 10vw, 160px); }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(90px, 10vw, 160px); width: max-content; }
.scard {
  position: relative; flex-shrink: 0;
  width: clamp(280px, 30vw, 480px);
  height: clamp(420px, 66vh, 720px);
  border-radius: 6px; overflow: hidden;
  color: #fff;
}
.scard .media { position: absolute; inset: 0; }
.scard .media img { transform: scale(1.15); transition: transform 1.2s var(--ease-out), filter .8s; filter: grayscale(.85) brightness(.75); }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.1) 30%, rgba(11,11,11,.92)); pointer-events: none; }
.scard__num { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--f-display); font-size: 20px; }
.scard__body { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.scard__title { font-size: clamp(38px, 3.6vw, 62px); }
.scard__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; max-height: 0; overflow: hidden; transition: max-height .8s var(--ease-out); }
.scard__list li { font-size: 12px; font-weight: 600; padding: 6px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 100px; }
.scard:hover .media img { transform: scale(1.02); filter: grayscale(0) brightness(.85); }
.scard:hover .scard__list { max-height: 200px; }
.scard__plus { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.scard__plus::before, .scard__plus::after { content: ""; position: absolute; width: 14px; height: 2px; background: #fff; }
.scard__plus::after { transform: rotate(90deg); }
.scard:hover .scard__plus { transform: rotate(135deg); }
.scard--end { background: var(--red); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: var(--onyx); }
.scard--end::after { display: none; }
.progress { height: 2px; background: rgba(242,239,232,.12); margin: 0 var(--gutter); }
.progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px) {
  .hscroll__track { width: auto; flex-direction: column; }
  .scard { width: 100%; height: 480px; }
  .scard__list { max-height: 200px; }
  .progress { display: none; }
}

/* Numbers / reach */
.reach__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(242,239,232,.15); margin-top: clamp(50px, 6vw, 90px); }
.stat { padding: 34px 0 0; border-right: 1px solid rgba(242,239,232,.15); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--f-display); font-size: clamp(80px, 12vw, 210px); line-height: .85; }
.stat__n sup { color: var(--red); font-size: .35em; vertical-align: top; }
.markets { margin-top: clamp(60px, 8vw, 120px); }
.market {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(242,239,232,.15);
  padding: 14px 0;
  overflow: hidden;
}
.market:last-child { border-bottom: 1px solid rgba(242,239,232,.15); }
.market__name { font-family: var(--f-display); font-size: clamp(54px, 9vw, 150px); line-height: .95; text-transform: uppercase; position: relative; z-index: 1; transition: transform .7s var(--ease-out), color .4s; }
.market__fill { position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.market:hover .market__fill { transform: scaleY(1); }
.market:hover .market__name { transform: translateX(2vw); color: var(--onyx); }
.market__meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: pulse 2.2s var(--ease-out) infinite; }
.pulse::after { animation-delay: 1.1s; }
.market:hover .pulse { background: var(--onyx); }
.market:hover .pulse::before, .market:hover .pulse::after { border-color: var(--onyx); }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }
@media (max-width: 760px) { .reach__stats { grid-template-columns: 1fr; } .stat { border-right: 0; padding-left: 0; border-bottom: 1px solid rgba(242,239,232,.15); padding-bottom: 24px; } }

/* Why — hover list with floating image */
.why__list { margin-top: clamp(40px, 6vw, 90px); }
.why__item {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 34px) 0;
  border-top: 1.5px solid var(--onyx);
  transition: padding .6s var(--ease-out);
}
.why__item:last-child { border-bottom: 1.5px solid var(--onyx); }
.why__item .display { font-size: clamp(44px, 7.4vw, 128px); transition: transform .6s var(--ease-out); }
.why__item:hover .display { transform: translateX(1.4vw); }
.why__item .label { color: var(--mute); }
.why__item p { max-width: 26ch; font-size: 15px; text-align: right; }
.float-img {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: clamp(220px, 22vw, 340px); aspect-ratio: 3/4;
  pointer-events: none; overflow: hidden; border-radius: 6px;
  opacity: 0; transform: scale(.6);
}
.float-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.float-img img.is-on { opacity: 1; }
@media (max-width: 760px) { .why__item { grid-template-columns: 1fr; gap: 8px; } .why__item p { text-align: left; } }

/* Clients */
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: clamp(40px, 6vw, 80px); background: rgba(242,239,232,.08); }
.client {
  position: relative; aspect-ratio: 1;
  background: var(--onyx);
  display: grid; place-items: center;
  overflow: hidden;
  perspective: 800px;
}
.client__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease-out); }
.client:hover .client__inner { transform: rotateY(180deg); }
.client__face, .client__back { position: absolute; inset: 0; backface-visibility: hidden; display: grid; place-items: center; }
.client__face img { width: 100%; height: 100%; object-fit: cover; }
.client__face--pad { background: #fff; }
.client__face--pad img { width: 62%; height: auto; object-fit: contain; }
.client__back { background: var(--red); color: var(--onyx); transform: rotateY(180deg); padding: 24px; text-align: left; align-content: space-between; justify-items: start; }
.client__back .display { font-size: clamp(26px, 2.6vw, 44px); }
.client__back p { font-size: 13px; font-weight: 600; }
.client--word .client__face { background: var(--graphite); }
.client--word .client__face span { font-family: var(--f-display); font-size: clamp(36px, 4vw, 64px); text-transform: uppercase; }
.client--cta { background: var(--parchment); color: var(--onyx); padding: 24px; align-content: space-between; justify-items: start; display: grid; transition: background .4s; }
.client--cta:hover { background: var(--red); }
.client--cta .display { font-size: clamp(32px, 3vw, 52px); }
@media (max-width: 900px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

/* Work preview grid */
.wgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(50px, 6vw, 90px); }
.wtile { position: relative; display: block; }
.wtile .media { border-radius: 6px; }
.wtile .media img { transform: scale(1.2); transition: transform 1.2s var(--ease-out); }
.wtile:hover .media img { transform: scale(1.06) !important; }
.wtile__cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; gap: 12px; }
.wtile__cap .display { font-size: clamp(26px, 2.4vw, 40px); }
.wtile__cap .label { color: var(--mute); text-align: right; }
.wtile:nth-child(1) { grid-column: 1 / span 6; } .wtile:nth-child(1) .media { aspect-ratio: 4/3; }
.wtile:nth-child(2) { grid-column: 9 / span 4; margin-top: 18vw; } .wtile:nth-child(2) .media { aspect-ratio: 3/4; }
.wtile:nth-child(3) { grid-column: 2 / span 4; margin-top: 4vw; } .wtile:nth-child(3) .media { aspect-ratio: 3/4; }
.wtile:nth-child(4) { grid-column: 7 / span 6; margin-top: 4vw; } .wtile:nth-child(4) .media { aspect-ratio: 16/11; }
@media (max-width: 760px) { .wtile { grid-column: 1 / -1 !important; margin-top: 0 !important; } }

/* CTA band */
.cta { overflow: hidden; }
.cta__echo { display: grid; gap: 0; }
.cta__echo .marquee__item { font-family: var(--f-display); font-size: clamp(70px, 13vw, 230px); text-transform: uppercase; line-height: .9; }
.cta__echo .marquee:nth-child(2) .marquee__item { color: transparent; -webkit-text-stroke: 2px var(--onyx); }
.cta__echo .marquee:nth-child(3) .marquee__item { color: transparent; -webkit-text-stroke: 2px rgba(11,11,11,.45); }
.cta__foot { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 30px; margin-top: clamp(40px, 6vw, 80px); }
.cta .lead { max-width: 28ch; }

/* ---------- Footer ---------- */
.footer { background: var(--onyx); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__big { font-family: var(--f-display); font-size: clamp(36px, 4vw, 66px); line-height: .95; text-transform: uppercase; }
.footer__big a { background: linear-gradient(var(--red), var(--red)) left bottom / 0 3px no-repeat; transition: background-size .6s var(--ease-out); }
.footer__big a:hover { background-size: 100% 3px; }
.footer h4 { margin-bottom: 18px; color: var(--mute); }
.footer ul { list-style: none; display: grid; gap: 8px; font-weight: 600; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--red); }
.footer__mark { margin-top: clamp(60px, 8vw, 120px); line-height: 0; }
.footer__mark svg { width: 100%; height: auto; fill: var(--parchment); }
.footer__mark .crown-part { fill: var(--red); }
.footer__bar { display: flex; justify-content: space-between; padding: 22px 0 28px; font-size: 12px; color: var(--mute); flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.phero { min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: clamp(40px, 5vw, 70px); overflow: hidden; }
.phero__label { margin-bottom: clamp(20px, 3vw, 40px); }
.phero__echo { position: absolute; right: var(--gutter); top: 130px; text-align: right; pointer-events: none; }
.phero__echo span { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(40px, 7vw, 120px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(242,239,232,.25); }
.phero__foot { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 60px); }

/* About collage */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.collage .media { border-radius: 6px; }
.collage .c1 { grid-column: 1 / span 7; aspect-ratio: 16/10; }
.collage .c2 { grid-column: 8 / span 5; aspect-ratio: 4/5; margin-top: 12vw; }
.collage .c3 { grid-column: 3 / span 4; aspect-ratio: 1; margin-top: -8vw; }
@media (max-width: 760px) { .collage > * { grid-column: 1 / -1 !important; margin-top: 0 !important; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); }
.split > div { border-top: 1.5px solid currentColor; padding-top: 24px; }
.split .label { display: block; margin-bottom: 28px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* M.E.G.A. values */
.mega { overflow: hidden; }
.mega__letters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid rgba(242,239,232,.18); }
.mega__col { position: relative; padding: 28px clamp(10px, 1.5vw, 24px) 40px; border-right: 1.5px solid rgba(242,239,232,.18); overflow: hidden; min-height: clamp(380px, 46vw, 640px); display: flex; flex-direction: column; justify-content: space-between; transition: background .5s; }
.mega__col:last-child { border-right: 0; }
.mega__col:hover { background: var(--red); color: var(--onyx); }
.mega__letter { font-family: var(--f-display); font-size: clamp(120px, 22vw, 380px); line-height: .8; text-transform: uppercase; transition: transform .8s var(--ease-out); }
.mega__col:hover .mega__letter { transform: translateY(-4%) scale(1.04); }
.mega__word { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 46px); text-transform: uppercase; }
.mega__col p { font-size: 14px; max-width: 24ch; margin-top: 10px; opacity: .8; }
@media (max-width: 760px) { .mega__letters { grid-template-columns: 1fr 1fr; } .mega__col { min-height: 300px; border-bottom: 1.5px solid rgba(242,239,232,.18); } }

/* Rotating words */
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; height: .92em; }
.rotator > span { grid-area: 1 / 1; display: block; color: var(--red); transform: translateY(105%); }
.serve__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .25em; }
.serve__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 70px); }
.chip { font-weight: 600; font-size: 14px; padding: 12px 20px; border: 1.5px solid currentColor; border-radius: 100px; transition: background .3s, color .3s, border-color .3s; }
.chip:hover, .chip.is-active { background: var(--red); color: #fff; border-color: var(--red); }

.bigimg { height: 110vh; overflow: hidden; }
.bigimg .media { position: absolute; inset: 0; }
.bigimg .media img { height: 130%; }
.bigimg__cap { position: absolute; left: var(--gutter); bottom: var(--gutter); z-index: 2; mix-blend-mode: difference; }

/* Services page */
.sindex { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sindex a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid rgba(242,239,232,.2); font-weight: 600; transition: color .3s, padding .4s var(--ease-out); }
.sindex a:hover { color: var(--red); padding-left: 10px; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); border-top: 1px solid rgba(242,239,232,.12); }
.light .service { border-color: rgba(11,11,11,.12); }
.service__media { position: sticky; top: 100px; aspect-ratio: 4/5; border-radius: 6px; }
.service:nth-child(even) .service__media { order: 2; }
.service__num { font-family: var(--f-display); font-size: clamp(90px, 12vw, 200px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.service__title { margin: 20px 0 24px; }
.service__list { list-style: none; margin-top: clamp(30px, 4vw, 60px); }
.service__list li { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 40px); padding: 16px 0; border-top: 1px solid currentColor; transition: color .3s, padding .5s var(--ease-out); }
.service__list li:last-child { border-bottom: 1px solid currentColor; }
.service__list li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease-out); }
.service__list li:hover { color: var(--red); padding-left: 12px; }
.service__list li:hover::after { transform: scale(1); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service__media { position: relative; top: 0; order: 0 !important; } }

/* Work page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.wlist { margin-top: clamp(40px, 5vw, 70px); }
.wrow {
  position: relative; display: grid; grid-template-columns: 70px 1.3fr 1fr 120px; gap: 20px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-top: 1px solid rgba(242,239,232,.18);
  transition: opacity .5s;
}
.wrow:last-child { border-bottom: 1px solid rgba(242,239,232,.18); }
.wrow .display { font-size: clamp(40px, 6vw, 104px); transition: transform .6s var(--ease-out), color .3s; }
.wrow:hover .display { transform: translateX(1.4vw); color: var(--red); }
.wrow p { font-size: 15px; color: var(--stone); }
.wrow .label { color: var(--mute); }
.wrow__mk { justify-self: end; text-align: right; }
.wrow.is-dim { opacity: .18; }
.wrow.is-gone { display: none; }
@media (max-width: 760px) { .wrow { grid-template-columns: 1fr; gap: 6px; } .wrow__mk { justify-self: start; text-align: left; } }

.masonry { columns: 3 320px; column-gap: clamp(14px, 2vw, 28px); margin-top: clamp(50px, 6vw, 90px); }
.masonry .media { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 28px); border-radius: 6px; }
.masonry .media img { height: auto; }
.masonry .media:hover img { filter: grayscale(0); }
.masonry .media:hover::after { opacity: 0; }
.masonry .media .tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--onyx); color: var(--parchment); padding: 8px 12px; border-radius: 100px; }

/* Contact */
.contact__email { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(26px, 6vw, 104px); line-height: 1; display: inline-block; overflow-wrap: anywhere; background: linear-gradient(var(--red), var(--red)) left 92% / 0 .08em no-repeat; transition: background-size .8s var(--ease-out), color .3s; }
.contact__email:hover { background-size: 100% .08em; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 110px); }
.cinfo { display: grid; gap: 34px; align-content: start; }
.cinfo .label { color: var(--mute); display: block; margin-bottom: 10px; }
.cinfo .display { font-size: clamp(30px, 3vw, 50px); }
.clock { font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 8px; }
.field { position: relative; border-bottom: 1.5px solid rgba(11,11,11,.25); }
.field::after { content: ""; position: absolute; left: 0; bottom: -1.5px; height: 1.5px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; outline: 0; font: 600 clamp(18px, 1.6vw, 24px) var(--f-text); padding: 34px 0 14px; color: var(--onyx); resize: none; border-radius: 0; appearance: none; }
.field label { position: absolute; left: 0; top: 34px; font-size: clamp(18px, 1.6vw, 24px); color: var(--mute); pointer-events: none; transition: transform .4s var(--ease-out), font-size .4s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.6); }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0 10px; }
.form__chips .chip { border-color: rgba(11,11,11,.3); }
.form__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; flex-wrap: wrap; gap: 20px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Pinned services fit the viewport on desktop */
@media (min-width: 761px) {
  .hscroll { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .hscroll__head { padding-top: 90px; }
  .hscroll__head .display { font-size: clamp(44px, 5.4vw, 96px); }
  .hscroll__track { padding: clamp(24px, 3vh, 40px) var(--gutter) clamp(24px, 3vh, 36px); }
  .scard { height: max(360px, calc(100vh - 90px - clamp(44px, 5.4vw, 96px) * 1.76 - 140px)); }
}

/* WordPress admin bar */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* Generic WordPress pages (privacy policy, 404, posts) */
.prose { max-width: 760px; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--f-display); text-transform: uppercase; line-height: 1; font-weight: 400; margin-top: 1.6em; }
.prose h2 { font-size: 40px; } .prose h3 { font-size: 28px; }
.prose a { color: var(--red); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Video tiles */
.media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.masonry .media video { height: auto; }
[data-video] { cursor: pointer; }
[data-video] .media::before, .masonry [data-video]::before, .service__media[data-video]::before {
  content: ""; position: absolute; z-index: 2; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .5s var(--ease-out);
}
[data-video]:hover .media::before, .masonry [data-video]:hover::before, .service__media[data-video]:hover::before { transform: scale(1.2); }
[data-lightbox] { cursor: zoom-in; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(11, 11, 11, .94); display: grid; place-items: center; padding: 70px var(--gutter) 30px; visibility: hidden; opacity: 0; }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox__stage video, .lightbox__stage img { max-width: 100%; max-height: calc(100svh - 110px); border-radius: 6px; background: #000; }
.lightbox__close { position: absolute; top: 18px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; background: var(--red); }
.lightbox__close i { position: absolute; left: 14px; right: 14px; top: 23px; height: 2px; background: #fff; transform: rotate(45deg); }
.lightbox__close i + i { transform: rotate(-45deg); }

/* Client wall: 10 brands */
@media (min-width: 901px) { .clients__grid { grid-template-columns: repeat(5, 1fr); } }

/* "Your brand next" tile in the work grid */
.wtile--cta .media { background: var(--red); color: var(--onyx); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2.4vw, 36px); transition: background .5s; }
.wtile--cta .media .display { font-size: clamp(44px, 5vw, 92px); }
.wtile--cta .crown-ico { width: 64px; height: 52px; align-self: flex-end; transition: transform .8s var(--ease-out); }
.wtile--cta:hover .media { background: var(--onyx); color: var(--red); }
.wtile--cta:hover .crown-ico { transform: rotate(-10deg) scale(1.15); }

/* Logo-only client tile (no flip, no service claim) */
.client--static:hover .client__inner { transform: none; }

/* Footer social links with platform icons */
.footer .social { display: inline-flex; align-items: center; gap: 10px; }
.footer .social svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; transition: transform .4s var(--ease-out); }
.footer .social:hover svg { transform: scale(1.15) rotate(-6deg); }

/* Cursor preview: show logos whole, on white */
.float-img img.is-logo { object-fit: contain; background: #fff; padding: 14%; }

/* Six nav items: tighten spacing on mid-size screens */
@media (max-width: 1180px) { .nav { gap: 22px; } }

/* Festivals & Concerts: client cards */
.fest { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); }
.fest__card { display: grid; grid-template-columns: 42% 1fr; border: 1px solid rgba(242,239,232,.15); border-radius: 6px; overflow: hidden; transition: border-color .4s, background .4s; }
.fest__card:hover { border-color: var(--red); background: var(--graphite); }
.fest__logo { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.fest__logo img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease-out); }
.fest__card:hover .fest__logo img { transform: scale(1.06); }
.fest__body { padding: clamp(18px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.fest__body .display { font-size: clamp(30px, 3vw, 52px); }
.fest__body .label { color: var(--red); }
.fest__body p { color: var(--stone); font-size: 15px; }
@media (max-width: 900px) { .fest { grid-template-columns: 1fr; } }
