/* =========================================================
   VJB Group — homepage
   ========================================================= */
:root {
  --black: #050505;
  --ink: #0e0e10;
  --bone: #ece7dd;
  --bone-2: #ddd6c8;
  --red: #ed223d;
  --red-deep: #b8142c;
  --white: #f7f5f0;
  --muted: rgba(247, 245, 240, 0.56);
  --muted-dark: rgba(5, 5, 5, 0.62);
  --line: rgba(247, 245, 240, 0.14);
  --line-dark: rgba(5, 5, 5, 0.16);

  --font-display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* Grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 60;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -1%); } 75% { transform: translate(-1%, -3%); } 100% { transform: translate(0, 0); }
}

/* Type scale */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

/* ---------------------------------------------------------
   Loader
   --------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  display: grid; place-items: center;
}
.loader__words {
  position: relative;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 7rem); letter-spacing: -0.03em; line-height: 1;
  height: 1.1em; width: 100%; text-align: center;
}
.loader__word { position: absolute; inset: 0; opacity: 0; text-transform: uppercase; letter-spacing: -0.01em; }
.loader__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  height: 2px; background: var(--line);
}
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------------------------------------------------------
   Cursor
   --------------------------------------------------------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 90;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--white); mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.3s;
    will-change: transform;
  }
  .cursor__label {
    font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
    color: var(--black); opacity: 0; transition: opacity 0.2s; white-space: nowrap;
  }
  .cursor.is-link { width: 56px; height: 56px; }
  .cursor.is-label { width: 96px; height: 96px; mix-blend-mode: normal; background: var(--red); }
  .cursor.is-label .cursor__label { opacity: 1; color: var(--white); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------------------------------------------------------
   Header & menu
   --------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 2.2vw, 30px) var(--gutter);
  transition: transform 0.6s var(--ease), color 0.4s;
  color: var(--white);
}
.header.is-hidden { transform: translateY(-110%); }
body[data-theme="light"] .header { color: var(--black); }
body[data-theme="red"] .header { color: var(--white); }

.logo { position: relative; display: block; height: clamp(38px, 3.6vw, 48px); aspect-ratio: 181 / 95; }
.logo__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s; }
.logo__img--dark { opacity: 1; }
body[data-theme="light"] .logo__img--dark, body[data-theme="red"] .logo__img--dark { opacity: 0; }
body[data-theme="light"] .logo__img--light { opacity: 1; }
body[data-theme="red"] .logo__img--white { opacity: 1; }
body.menu-open .logo__img { opacity: 0; }
body.menu-open .logo__img--dark { opacity: 1; }
body.menu-open .header { color: var(--white); }

.header__right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.header__cta {
  font-weight: 500; font-size: 0.95rem;
  padding: 0.6em 1.1em; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.header__cta:hover { background: var(--red); border-color: var(--red); color: var(--white); }
@media (max-width: 640px) { .header__cta { display: none; } }

.burger {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
}
.burger span {
  position: absolute; width: 26px; height: 2px; background: currentColor;
  transition: transform 0.5s var(--ease), width 0.3s;
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
body.menu-open .burger span:first-child { transform: rotate(45deg); }
body.menu-open .burger span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  overflow: auto;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__inner {
  min-height: 100%;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter);
  padding: calc(var(--gutter) + 80px) var(--gutter) var(--gutter);
}
.menu__cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 24px var(--gutter); align-content: start; }
.menu__list li { overflow: hidden; }
.menu__list--services a { font-size: clamp(1.5rem, 2.9vw, 2.7rem) !important; line-height: 1.12 !important; }
.menu__list a[aria-current="page"] { color: var(--red); }
.menu__list a {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.08; letter-spacing: -0.025em;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease), color 0.3s;
}
body.menu-open .menu__list a { transform: translateY(0); }
.menu__list a:hover { color: var(--red); }
.menu__list li:nth-child(n) a { transition-delay: calc(0.04s * var(--i, 0)); }
.menu__aside {
  align-self: end; color: var(--muted); font-size: 1rem;
  opacity: 0; transform: translateY(20px); transition: opacity 0.6s 0.5s, transform 0.8s 0.5s var(--ease-out);
}
body.menu-open .menu__aside { opacity: 1; transform: none; }
.menu__aside p { margin: 0 0 1.4em; }
.menu__aside a:hover { color: var(--white); }
.menu__social { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; }
@media (max-width: 820px) {
  .menu__inner { grid-template-columns: 1fr; padding-top: 96px; }
  .menu__cols { grid-template-columns: 1fr; gap: 18px; }
  .menu__aside { padding-bottom: 20px; }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 1.9em; border-radius: 999px; overflow: hidden;
  font-weight: 500; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: color 0.4s var(--ease);
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease); z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn--fill { background: var(--red); color: var(--white); }
.btn--fill::before { background: var(--white); }
.btn--fill:hover { color: var(--black); }
.btn--ghost { border: 1px solid var(--line); color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--black); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--red-deep); }
.btn--white::before { background: var(--black); }
.btn--white:hover { color: var(--white); }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) calc(var(--gutter) * 0.9);
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; transform: scale(1.06);
  filter: saturate(0.85) contrast(1.05);
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.25) 35%, rgba(5,5,5,0.72) 70%, var(--black) 100%),
    radial-gradient(60% 60% at 70% 30%, rgba(237,34,61,0.16), transparent 70%);
}
.hero__content { position: relative; z-index: 1; padding-top: 22vh; }

.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.1rem, 12.2vw, 12.5rem); line-height: 0.88; letter-spacing: -0.035em;
  display: flex; flex-direction: column;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__line-in { display: inline-block; transform: translateY(110%); }
.hero__dot { color: var(--red); }

.strike { position: relative; display: inline-block; color: var(--muted); transition: color 0.6s; }
.strike__svg {
  position: absolute; left: -2%; right: -2%; top: 50%; width: 104%; height: 0.22em;
  transform: translateY(-50%); overflow: visible;
}
.strike__svg path {
  fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}
.strike.is-struck { color: rgba(247,245,240,0.32); }

.hero__row {
  display: grid; grid-template-columns: minmax(0, 46ch) auto; justify-content: space-between; align-items: end;
  gap: 28px var(--gutter);
  margin-top: clamp(28px, 4vw, 56px);
  opacity: 0;
}
.hero__lede { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.2rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: clamp(40px, 7vh, 90px);
  padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
  opacity: 0;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 34px; height: 1px; background: var(--red); display: block; animation: scrollhint 1.8s var(--ease) infinite; transform-origin: left; }
@keyframes scrollhint { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
@media (max-width: 760px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__foot span:nth-child(3) { display: none; }
  .hero__content { padding-top: 28vh; }
}

/* ---------------------------------------------------------
   Ticker
   --------------------------------------------------------- */
.ticker {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: var(--black);
}
.ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker__track span {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -0.02em;
  padding: 0 0.7em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(247,245,240,0.5);
}
.ticker__track span:nth-child(3n) { color: var(--white); -webkit-text-stroke: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------
   Showreel
   --------------------------------------------------------- */
.reel { position: relative; }
.reel__pin { height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reel__frame {
  position: relative; width: 100vw; height: 100svh;
  clip-path: inset(30% 32% round 28px);
  overflow: hidden; background: var(--ink);
}
@media (max-width: 759px) { .reel__frame { clip-path: inset(26% 8% round 20px); } }
.reel__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.reel__meta {
  position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px);
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: rgba(247,245,240,0.8);
  opacity: 0; transition: opacity 0.4s;
}
.reel__frame.is-open .reel__meta { opacity: 1; }

/* ---------------------------------------------------------
   Manifesto (light)
   --------------------------------------------------------- */
.manifesto {
  background: var(--bone); color: var(--black);
  padding: clamp(96px, 14vw, 200px) var(--gutter);
}
.manifesto__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.1vw, 4.2rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 26ch;
}
.manifesto__text .word { display: inline-block; }
.manifesto__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter);
  margin-top: clamp(56px, 8vw, 120px); padding-top: 32px; border-top: 1px solid var(--line-dark);
}
.manifesto__facts li { display: grid; gap: 10px; max-width: 34ch; }
.manifesto__facts strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.manifesto__facts span { color: var(--muted-dark); font-size: 1rem; line-height: 1.55; }
@media (max-width: 760px) { .manifesto__facts { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------
   Section head
   --------------------------------------------------------- */
.section-head {
  display: grid; grid-template-columns: 1fr minmax(0, 34ch); gap: 24px var(--gutter); align-items: end;
  padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Services (pinned stage on desktop, stacked on mobile)
   --------------------------------------------------------- */
.services { position: relative; padding: clamp(96px, 14vw, 180px) 0 0; background: var(--black); }
.svc { position: relative; }
.svc__pin { padding: 0 var(--gutter) clamp(72px, 9vw, 120px); }
.svc__nav { display: none; }

.svc__stage { display: grid; gap: clamp(64px, 10vw, 110px); }
.svc__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.svc__media {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 3; background: var(--ink);
  isolation: isolate;
}
.svc__media > video, .svc__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__credit {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: 0.82rem; color: rgba(247,245,240,0.9);
  padding: 6px 10px; border-radius: 999px; background: rgba(5,5,5,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.svc__media--ai { aspect-ratio: 4 / 4.6; }
@media (min-width: 600px) { .svc__media--ai { aspect-ratio: 4 / 3; } }
.svc__info { margin-top: 26px; max-width: 56ch; }
.svc__tag { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }
.svc__desc { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc__chips li {
  font-size: 0.86rem; padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: 999px; color: rgba(247,245,240,0.82);
}
.svc__link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--red);
  transition: gap 0.4s var(--ease-out), color 0.3s;
}
.svc__link::after {
  content: ""; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}
.svc__link:hover { gap: 18px; color: var(--red); }
.svc__progress { display: none; }

/* Branding slideshow */
.brandslide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease-out); }
.brandslide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 3.2s linear; }
.brandslide.is-active { opacity: 1; z-index: 1; }
.brandslide.is-active img { transform: scale(1); }
.brandslide figcaption {
  position: absolute; left: 16px; bottom: 14px; font-size: 0.82rem; color: rgba(247,245,240,0.92);
  padding: 6px 10px; border-radius: 999px; background: rgba(5,5,5,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.brandslide__dots { position: absolute; right: 16px; bottom: 20px; z-index: 3; display: flex; gap: 6px; }
.brandslide__dots i { width: 18px; height: 2px; background: rgba(247,245,240,0.35); overflow: hidden; position: relative; }
.brandslide__dots i.is-active::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: dotfill 2.6s linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Browser mockup */
.svc__media--web { background: radial-gradient(120% 90% at 80% 0%, rgba(237,34,61,0.55), transparent 55%), linear-gradient(160deg, #1b1b1f, #0a0a0b); display: grid; place-items: center; }
.browser {
  position: relative; width: 86%; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateY(6%);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9e6e1; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c5be; }
.browser__bar i:first-child { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 10px; flex: 1; max-width: 240px; font-size: 0.72rem; color: #555; background: #fff; border-radius: 6px; padding: 3px 10px; }
.browser video { display: block; width: 100%; aspect-ratio: 1280 / 665; object-fit: cover; }

/* Phone mockup */
.svc__media--social { display: grid; place-items: center; }
.svc__blur { filter: blur(28px) saturate(1.3) brightness(0.55); transform: scale(1.2); }
.phone {
  position: relative; z-index: 2; height: 88%; aspect-ratio: 9 / 19; border-radius: 26px; overflow: hidden;
  border: 6px solid #111; background: #000; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--ghost { position: absolute; z-index: 1; height: 70%; opacity: 0.55; filter: grayscale(0.3); }
.phone--l { left: 50%; transform: translateX(-140%) rotate(-7deg); }
.phone--r { left: 50%; transform: translateX(40%) rotate(7deg); }
.phone__ui { position: absolute; left: 12px; right: 40px; bottom: 16px; display: grid; gap: 6px; }
.phone__bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.75); width: 80%; }
.phone__bar--short { width: 50%; opacity: 0.6; }
.phone__heart {
  position: absolute; right: -28px; bottom: 30px; width: 18px; height: 16px;
  background: var(--red);
  clip-path: path("M9 16 L1.6 8.6 A4.5 4.5 0 0 1 9 2.6 A4.5 4.5 0 0 1 16.4 8.6 Z");
  animation: heart 1.6s var(--ease-out) infinite;
}
@keyframes heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(1); } }

/* Viewfinder */
.viewfinder { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.65); background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.45) 100%); }
.vf-c { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.vf-c { position: absolute; width: 26px; height: 26px; border-color: rgba(255,255,255,0.85); border-style: solid; border-width: 0; }
.vf-c--tl { left: 18px; top: 18px; border-left-width: 2px; border-top-width: 2px; }
.vf-c--tr { right: 18px; top: 18px; border-right-width: 2px; border-top-width: 2px; }
.vf-c--bl { left: 18px; bottom: 18px; border-left-width: 2px; border-bottom-width: 2px; }
.vf-c--br { right: 18px; bottom: 18px; border-right-width: 2px; border-bottom-width: 2px; }
.vf-rec { position: absolute; left: 54px; top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.vf-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf-tc { position: absolute; right: 54px; top: 22px; font-variant-numeric: tabular-nums; }
.vf-meta { position: absolute; left: 54px; bottom: 22px; opacity: 0.8; }

/* Ad card */
.adcard {
  position: absolute; z-index: 2; right: 6%; bottom: 8%; width: min(46%, 260px);
  padding: 14px; border-radius: 12px; background: rgba(247,245,240,0.94); color: var(--black);
  display: grid; gap: 8px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  transform: translateY(14px); opacity: 0; transition: transform 0.8s var(--ease-out) 0.3s, opacity 0.6s 0.3s;
}
.svc__item.is-active .adcard, .svc__item.in-view .adcard { transform: none; opacity: 1; }
.adcard__label { font-size: 0.7rem; font-weight: 700; color: var(--muted-dark); }
.adcard__line { height: 8px; border-radius: 4px; background: rgba(5,5,5,0.8); width: 90%; }
.adcard__line--short { width: 60%; background: rgba(5,5,5,0.3); }
.adcard__btn { justify-self: start; margin-top: 4px; font-size: 0.78rem; font-weight: 700; color: var(--white); background: var(--red); padding: 6px 12px; border-radius: 999px; }

/* CRM mockup (Software) */
.svc__media--app { background: radial-gradient(120% 90% at 15% 0%, rgba(237,34,61,0.45), transparent 55%), linear-gradient(160deg, #1b1b1f, #0a0a0b); display: grid; place-items: center; }
.browser--app { container-type: inline-size; transform: translateY(5%); background: #f6f4f0; }
.crm { display: grid; grid-template-columns: 7% 1fr; aspect-ratio: 16 / 8.6; font-family: var(--font-body); color: #17171a; font-size: clamp(6px, 1.7cqw, 13.5px); }
.crm__side { background: #141416; display: flex; flex-direction: column; align-items: center; gap: 1.4em; padding: 1.4em 0; }
.crm__side b { width: 2.2em; height: 2.2em; border-radius: 0.6em; background: var(--red); }
.crm__side i { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: rgba(255,255,255,0.14); }
.crm__side i.is-on { background: rgba(255,255,255,0.75); }
.crm__main { padding: 1.6em 1.8em; display: grid; grid-template-rows: auto 1fr; gap: 1.3em; min-width: 0; }
.crm__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.crm__top strong { font-family: var(--font-display); font-weight: 600; font-size: 1.9em; letter-spacing: -0.02em; }
.crm__kpis { display: flex; gap: 1.8em; color: #6b6a66; }
.crm__kpis em { font-style: normal; font-weight: 700; color: #17171a; font-variant-numeric: tabular-nums; }
.crm__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; min-height: 0; }
.crm__col { background: #ebe8e2; border-radius: 0.8em; padding: 0.9em; display: flex; flex-direction: column; gap: 0.7em; overflow: hidden; }
.crm__col h4 { margin: 0 0 0.2em; font-size: 0.95em; font-weight: 700; color: #57564f; }
.crm__card { background: #fff; border-radius: 0.6em; padding: 0.8em 0.9em; display: grid; gap: 0.25em; box-shadow: 0 1px 2px rgba(0,0,0,0.06); border-left: 0.3em solid transparent; transition: border-color 0.6s, box-shadow 0.6s; }
.crm__card b { font-weight: 700; font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm__card span { color: #7b7a74; font-size: 0.92em; }
.crm__card.is-moving { border-left-color: var(--red); box-shadow: 0 0.6em 1.4em -0.4em rgba(237,34,61,0.45); }
.crm__card.is-new { animation: cardin 0.6s var(--ease-out); }
@keyframes cardin { from { opacity: 0; transform: translateY(-0.8em); } }
@container (max-width: 420px) {
  .crm__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crm__col:nth-child(4) { display: none; }
  .crm__kpis span:last-child { display: none; }
}

/* AI agent mockup */
.svc__media--ai {
  container-type: inline-size;
  background:
    radial-gradient(90% 80% at 85% 100%, rgba(237,34,61,0.35), transparent 60%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    #0c0c0e;
  display: grid; place-items: center;
}
.agent { width: 88%; display: grid; grid-template-columns: 1.35fr 1fr; gap: 4cqw; align-items: center; font-size: clamp(9px, 1.72cqw, 15px); }
.agent__chat { background: #f7f5f0; color: #17171a; border-radius: 1.2em; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7); }
.agent__head { display: flex; align-items: center; gap: 0.8em; padding: 1em 1.2em; background: #fff; border-bottom: 1px solid #ebe8e2; }
.agent__avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: conic-gradient(from 200deg, var(--red), #ff7a59, var(--red)); position: relative; }
.agent__avatar::after { content: ""; position: absolute; right: -0.1em; bottom: -0.1em; width: 0.8em; height: 0.8em; border-radius: 50%; background: #28c840; border: 2px solid #fff; }
.agent__head strong { display: block; font-weight: 700; font-size: 1.05em; }
.agent__head em { font-style: normal; color: #7b7a74; font-size: 0.85em; }
.agent__thread { display: flex; flex-direction: column; gap: 0.6em; padding: 1.1em; min-height: 17em; justify-content: flex-end; }
.msg { max-width: 82%; padding: 0.7em 0.95em; border-radius: 1.1em; line-height: 1.35; font-size: 0.98em; }
.msg--in { align-self: flex-end; background: #e5e1d9; border-bottom-right-radius: 0.3em; }
.msg--out { align-self: flex-start; background: var(--black); color: #fff; border-bottom-left-radius: 0.3em; }
.msg--typing { align-self: flex-start; background: #e5e1d9; display: inline-flex; gap: 0.3em; padding: 0.9em 1em; }
.msg--typing i { width: 0.45em; height: 0.45em; border-radius: 50%; background: #8a887f; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; } .msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-0.25em); opacity: 1; } }
.agent__log { display: grid; gap: 0.7em; }
.agent__log li {
  display: flex; align-items: center; gap: 0.8em; padding: 0.8em 1em; border-radius: 0.8em;
  background: rgba(247,245,240,0.06); border: 1px solid rgba(247,245,240,0.12); color: rgba(247,245,240,0.9); font-size: 0.98em;
}
.agent__log li::before {
  content: ""; flex: 0 0 auto; width: 1.4em; height: 1.4em; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}
/* step-driven visibility (JS adds .is-shown); collapsed when hidden so the thread grows naturally */
.svc__media--ai [data-step] { transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out); }
.svc__media--ai.is-animating [data-step]:not(.is-shown) { opacity: 0; transform: translateY(0.6em); }
.svc__media--ai.is-animating .msg[data-step]:not(.is-shown) { display: none; }
.svc__media--ai:not(.is-animating) .msg--typing { display: none; }
@container (max-width: 520px) {
  .agent { grid-template-columns: 1fr; width: 90%; gap: 0.8em; font-size: clamp(8px, 2.6cqw, 12px); }
  .agent__log { grid-template-columns: 1fr 1fr; gap: 0.5em; }
  .agent__log li { padding: 0.55em 0.7em; }
  .agent__log li:nth-child(n+5) { display: none; }
  .agent__thread { min-height: 0; padding: 0.8em; }
  .agent__head { padding: 0.7em 0.9em; }
}

/* ---------- Desktop stage ---------- */
@media (min-width: 1024px) {
  .svc .svc__pin {
    height: 100svh; padding: clamp(88px, 12vh, 130px) var(--gutter) clamp(40px, 6vh, 64px);
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 96px); align-items: center;
  }
  .svc .svc__nav { display: block; position: relative; padding-left: 28px; }
  .svc .svc__nav ul { display: grid; gap: clamp(2px, 0.6vh, 8px); }
  .svc .svc__tab {
    font-family: var(--font-display); font-weight: 600; text-align: left;
    font-size: clamp(1.6rem, min(3vw, 5.4vh), 3.1rem); line-height: 1.08; letter-spacing: -0.03em;
    color: rgba(247,245,240,0.18); transition: color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
    transform-origin: left center;
  }
  .svc .svc__tab:hover { color: rgba(247,245,240,0.5); }
  .svc .svc__tab.is-active { color: var(--white); transform: translateX(10px); }
  .svc .svc__marker {
    position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--red);
    transition: transform 0.6s var(--ease);
  }

  .svc .svc__stage { position: relative; display: grid; align-self: center; }
  .svc .svc__item { grid-area: 1 / 1; display: block; pointer-events: none; }
  .svc .svc__item.is-active { pointer-events: auto; z-index: 2; }
  .svc .svc__item.was-active { z-index: 1; }
  .svc .svc__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc .svc__media { aspect-ratio: auto; height: clamp(260px, 49vh, 540px); clip-path: inset(100% 0 0 0 round 14px); transition: clip-path 1s var(--ease); }
  .svc .svc__item.is-active .svc__media, .svc .svc__item.was-active .svc__media { clip-path: inset(0 0 0 0 round 14px); }
  .svc .svc__item.was-active .svc__media { transition: none; }
  .svc .svc__media > video, .svc .svc__media > img, .brandslide img { transform: scale(1.15); transition: transform 1.4s var(--ease); }
  .svc .svc__item.is-active .svc__media > video, .svc .svc__item.is-active .svc__media > img.svc__blur { transform: scale(1.2); }
  .svc .svc__item.is-active .svc__media > video { transform: scale(1); }
  .svc .svc__media .browser video, .svc .svc__media .phone video { transform: none; }

  .svc .svc__info {
    margin-top: 0; padding-top: 24px; max-width: none;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px clamp(24px, 3vw, 48px); align-items: start;
  }
  .svc .svc__info > * { opacity: 0; transform: translateY(18px); transition: opacity 0.4s, transform 0.6s var(--ease-out); }
  .svc .svc__item.is-active .svc__info > * { opacity: 1; transform: none; transition: opacity 0.6s 0.35s, transform 0.8s 0.35s var(--ease-out); }
  .svc .svc__item.is-active .svc__info > :nth-child(2) { transition-delay: 0.42s; }
  .svc .svc__item.is-active .svc__info > :nth-child(3) { transition-delay: 0.5s; }
  .svc .svc__item.is-active .svc__info > :nth-child(4) { transition-delay: 0.56s; }
  .svc .svc__tag { grid-column: 1; }
  .svc .svc__desc { grid-column: 1; margin-top: 6px; font-size: 0.98rem; }
  .svc .svc__chips { grid-column: 2; grid-row: 1 / span 2; margin-top: 4px; align-content: start; }
  .svc .svc__link { grid-column: 2; margin-top: 14px; justify-self: start; }

  .svc .svc__progress {
    display: block; position: absolute; left: 0; right: 0; top: -18px; height: 2px; background: var(--line); overflow: hidden;
  }
  .svc .svc__progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .svc .svc__desc { display: none; }
}

/* ---------------------------------------------------------
   Work (horizontal)
   --------------------------------------------------------- */
.work { background: var(--ink); color: var(--white); }
.work__pin { padding: clamp(80px, 10vw, 120px) 0 0; overflow: hidden; }
.work__head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  padding: 0 var(--gutter); margin-bottom: clamp(32px, 5vw, 60px);
}
.work__hint { color: var(--muted); font-size: 0.9rem; }
.work__track {
  display: flex; gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--gutter) clamp(80px, 10vw, 120px);
  width: max-content;
}
.card {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 34vw, 560px);
  display: grid; gap: 16px;
}
.card figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #1a1a1c; }
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1s var(--ease-out); }
.card:hover img { transform: scale(1.02); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__meta h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.015em; }
.card__meta span { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.card--end { width: clamp(260px, 28vw, 440px); }
.card__end {
  aspect-ratio: 4 / 5; border-radius: 8px; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
  transition: background-color 0.5s var(--ease), border-color 0.5s;
}
.card__end span { color: var(--muted); }
.card__end strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.card--end:hover .card__end { background: var(--red); border-color: var(--red); }
.card--end:hover .card__end span { color: var(--white); }
@media (max-width: 899px) {
  .work__track { width: auto; flex-direction: column; }
  .card, .card--end { width: 100%; }
  .card figure { aspect-ratio: 4 / 3; }
  .card__end { aspect-ratio: auto; gap: 24px; }
  .work__hint { display: none; }
}

/* ---------------------------------------------------------
   Proof (light)
   --------------------------------------------------------- */
.proof { background: var(--bone); color: var(--black); padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 140px); }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--gutter);
}
.stats li { padding: 28px 0; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; }
.stats strong {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 7rem); line-height: 0.95; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stats li > span:last-child { color: var(--muted-dark); font-size: 0.95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 0 20px; } }

.proof__caption { padding: 0 var(--gutter); margin: clamp(64px, 9vw, 120px) 0 28px; color: var(--muted-dark); }
.logos { overflow: hidden; display: grid; gap: 18px; }
.logos__row { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.logos__row--reverse { animation-direction: reverse; }
.logos__row img {
  height: clamp(54px, 7vw, 90px); width: auto; margin: 0 clamp(18px, 3vw, 44px);
  filter: grayscale(1) contrast(1.1); opacity: 0.72; mix-blend-mode: multiply;
  transition: filter 0.4s, opacity 0.4s;
}
.logos__row img[data-invert] { filter: invert(1) grayscale(1); }
.logos__row:hover img { filter: grayscale(0); opacity: 1; }
.logos__row:hover img[data-invert] { filter: invert(1); }
@media (prefers-reduced-motion: no-preference) { .logos:hover .logos__row { animation-play-state: paused; } }

/* ---------------------------------------------------------
   Quote
   --------------------------------------------------------- */
.quote { background: var(--black); padding: clamp(96px, 14vw, 180px) var(--gutter); }
.quote blockquote { max-width: 30ch; margin-left: auto; }
.quote p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.3vw, 3.3rem); line-height: 1.15; letter-spacing: -0.02em;
}
.quote p .word { display: inline-block; }
.quote footer { margin-top: 32px; display: grid; gap: 2px; }
.quote footer strong { font-weight: 500; }
.quote footer span { color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------
   Process (stacking steps)
   --------------------------------------------------------- */
.process { background: var(--black); padding: 0 0 clamp(96px, 14vw, 180px); }
.steps { padding: 0 var(--gutter); display: grid; gap: 14px; }
.step {
  position: sticky; top: clamp(90px, 14vh, 140px);
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px var(--gutter); align-items: start;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 48px);
  background: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  min-height: clamp(260px, 36vh, 360px);
  transform-origin: top center;
}
.step:nth-child(1) { top: calc(clamp(90px, 14vh, 140px) + 0px); }
.step:nth-child(2) { top: calc(clamp(90px, 14vh, 140px) + 16px); }
.step:nth-child(3) { top: calc(clamp(90px, 14vh, 140px) + 32px); }
.step:nth-child(4) { top: calc(clamp(90px, 14vh, 140px) + 48px); }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--red); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.step p { color: var(--muted); max-width: 44ch; font-size: 1.05rem; align-self: end; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto !important; }
}

/* ---------------------------------------------------------
   CTA + footer (red)
   --------------------------------------------------------- */
.cta {
  background: var(--red); color: var(--white);
  padding: clamp(96px, 14vw, 180px) var(--gutter) clamp(72px, 10vw, 140px);
}
.cta__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(5rem, 22vw, 24rem); line-height: 0.82; letter-spacing: -0.05em;
  display: flex; flex-wrap: wrap; column-gap: 0.18em;
}
.cta__word { display: inline-block; white-space: nowrap; }
.cta__row {
  display: grid; grid-template-columns: minmax(0, 40ch) auto; justify-content: space-between; align-items: end; gap: 28px var(--gutter);
  margin-top: clamp(40px, 6vw, 90px); padding-top: 28px; border-top: 1px solid rgba(247,245,240,0.3);
}
.cta__row p { color: rgba(247,245,240,0.85); font-size: 1.1rem; }
.cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta__phone { color: rgba(247,245,240,0.85); border-bottom: 1px solid rgba(247,245,240,0.4); transition: color 0.3s, border-color 0.3s; }
.cta__phone:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 760px) { .cta__row { grid-template-columns: 1fr; } }

.footer {
  background: var(--red-deep); color: rgba(247,245,240,0.85);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px var(--gutter);
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
  font-size: 0.95rem;
}
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__logo { width: 150px; height: auto; }
.footer__col p { margin-bottom: 1.2em; }
.footer__nav, .footer__social { display: grid; gap: 6px; }
.footer__legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(247,245,240,0.25); font-size: 0.85rem; color: rgba(247,245,240,0.7); }
@media (max-width: 760px) { .footer { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------
   Lightbox
   --------------------------------------------------------- */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh;
  background: rgba(5,5,5,0.96); color: var(--white);
  display: none; place-items: center;
}
.lightbox[open] { display: grid; animation: lbin 0.5s var(--ease-out); }
@keyframes lbin { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(5,5,5,0.9); }
.lightbox__stage { position: relative; display: grid; place-items: center; gap: 18px; width: 100%; padding: 70px var(--gutter) 30px; }
.lightbox__media { max-width: min(100%, 1600px); max-height: calc(100dvh - 170px); border-radius: 10px; background: #000; object-fit: contain; }
video.lightbox__media { width: min(100%, 1600px, calc((100dvh - 170px) * 16 / 9)); }
video.lightbox__media.is-portrait { width: auto; height: calc(100dvh - 170px); aspect-ratio: 9 / 16; }
.lightbox__nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; color: var(--muted); }
.lightbox__nav button { padding: 0.55em 1.1em; border: 1px solid var(--line); border-radius: 999px; color: var(--white); transition: background-color 0.3s, color 0.3s; }
.lightbox__nav button:hover { background: var(--white); color: var(--black); }
.lightbox__caption { position: absolute; left: var(--gutter); top: 30px; font-size: 0.95rem; color: var(--muted); max-width: 60%; }
.lightbox__caption a { color: var(--white); border-bottom: 1px solid var(--red); }
.lightbox__close {
  position: absolute; top: 22px; right: var(--gutter); z-index: 2;
  padding: 0.6em 1.1em; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem;
  transition: background-color 0.3s, color 0.3s;
}
.lightbox__close:hover { background: var(--white); color: var(--black); }

/* ---------------------------------------------------------
   Page transition curtain
   --------------------------------------------------------- */
.curtain { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.curtain i { position: absolute; inset: 0; transform-origin: top; }
.curtain__red { background: var(--red); animation: curtainOut 0.75s 0.05s var(--ease) both; }
.curtain__black { background: var(--black); animation: curtainOut 0.75s 0.18s var(--ease) both; }
@keyframes curtainOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }
body[data-page="home"] .curtain i { animation: none; transform: scaleY(0); }
body.is-leaving .curtain i { transform-origin: bottom; animation: curtainIn 0.6s var(--ease) both; }
body.is-leaving .curtain__black { animation-delay: 0.08s; }
@keyframes curtainIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.js-anim:not(.intro-done) [data-intro] { visibility: hidden; }

/* Skip link */
.skip { position: fixed; left: 16px; top: -60px; z-index: 120; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 500; }
.skip:focus { top: 16px; }

/* ---------------------------------------------------------
   Reveal helpers
   --------------------------------------------------------- */
[data-reveal] .line { overflow: hidden; }

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  body::after { animation: none; }
  .hero__line-in { transform: none; }
  .hero__row, .hero__foot { opacity: 1; }
  .reel__frame { clip-path: inset(0); }
  .reel__video { transform: none; }
  .card img { transform: none; }
  .svc__media { clip-path: none !important; }
  .svc__info > * { opacity: 1 !important; transform: none !important; }
  .loader { display: none; }
  .curtain { display: none; }
  .ticker__track, .logos__row { animation: none; }
}

/* Recent work: result line under each card */
.card__stat { color: var(--muted); font-size: 0.95rem; line-height: 1.3; margin-top: -4px; }
.card__stat strong { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--red); margin-right: 6px; }
.card--result figure img { object-position: top; }

/* ---------------------------------------------------------
   Google reviews
   --------------------------------------------------------- */
.reviews { background: var(--black); padding: clamp(96px, 13vw, 170px) var(--gutter); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 28px 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.rating { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.4s, background-color 0.4s; }
.rating:hover { border-color: var(--red); background: rgba(237,34,61,0.08); }
.rating__num { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; }
.rating__side { display: grid; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 16px; height: 16px; background: var(--red); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.reviews__grid { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 22px); }
.review { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 22px); padding: clamp(24px, 2.4vw, 34px); background: var(--ink); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 20px; transition: border-color 0.4s, transform 0.6s var(--ease-out); }
@media (hover: hover) { .review:hover { border-color: rgba(237,34,61,0.6); transform: translateY(-4px); } }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.gmark { width: 20px; height: 20px; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: rgba(247,245,240,0.86); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__av { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; flex: 0 0 auto; }
.review figcaption strong { display: block; font-weight: 500; }
.review figcaption small { color: var(--muted); font-size: 0.85rem; }
.review:first-child blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--white); }
@media (min-width: 900px) {
  .work__pin { padding-top: clamp(72px, 9vh, 110px); }
  .work__head { margin-bottom: clamp(24px, 3.5vh, 48px); }
  .work .card:not(.card--end) { width: min(34vw, 560px, calc((100svh - 410px) * 0.8)); }
  .work .card--end { width: min(28vw, 440px, calc((100svh - 410px) * 0.8)); }
}
.card--result .card__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
.card--result .card__meta span { white-space: normal; }
@media (min-width: 900px) and (max-height: 820px) {
  .work .card--result figure { aspect-ratio: 1; }
  .work .card:not(.card--end) { width: min(34vw, 520px, calc(100svh - 370px)); }
  .work .card--end { width: min(28vw, 400px, calc(100svh - 370px)); }
  .work .card--end .card__end { aspect-ratio: 1; }
}

/* Reviews v2: sticky intro + stacking cards that fade as the next arrives */
.reviews { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px var(--gutter); align-items: start; }
.reviews__intro { position: sticky; top: 18vh; display: grid; gap: 28px; justify-items: start; }
.reviews__note { color: var(--muted); max-width: 36ch; font-size: 1rem; }
.reviews__stack { display: grid; gap: 12vh; padding-bottom: 6vh; }
.reviews__stack .review { position: sticky; top: calc(16vh + var(--i) * 10px); margin: 0; transform-origin: top center; will-change: transform, opacity; box-shadow: 0 -20px 40px -20px rgba(0,0,0,0.6); }
.review__top { gap: 14px; }
.review__tag { margin-right: auto; font-size: 0.82rem; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.review blockquote { font-size: clamp(1.02rem, 1.25vw, 1.15rem); }
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews__intro { position: static; }
  .reviews__stack { gap: 8vh; }
  .reviews__stack .review { top: calc(84px + var(--i) * 6px); }
}
@media (prefers-reduced-motion: reduce) { .reviews__stack .review { position: static; } .reviews__stack { gap: 16px; } }
