/* ==================================================
   PER4MANCE X — main stylesheet (dark cinematic design)
   Design tokens first; all colours, spacing and motion
   are editable from the :root block below.
   ================================================== */

:root {
  /* Colour system */
  --black: #0B0B0C;
  --deep-black: #050505;
  --red: #E31B23;
  --red-hover: #C9161D;
  --offwhite: #F5F3EE;
  --white: #FFFFFF;
  --grey: #9A9A9A;
  --ink: #171717;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(10, 10, 10, 0.12);
  --glass-dark: rgba(10, 10, 10, 0.68);
  --glass-light: rgba(255, 255, 255, 0.72);

  /* Typography */
  --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Courier New", monospace;

  /* Spacing rhythm */
  --section-pad: clamp(2.75rem, 5.5vw, 5rem);
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radius + blur */
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-pill: 100px;
  --blur: 18px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-micro: 200ms;
  --dur-ui: 320ms;
  --dur-reveal: 700ms;
  --dur-page: 520ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.35vw + 0.85rem, 1.0625rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--white);
  background: var(--deep-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: var(--section-pad); position: relative; }
.section--light { background: var(--offwhite); color: var(--ink); }
.section--offwhite { background: var(--white); color: var(--ink); }
.section--dark { background: var(--black); color: var(--white); }
.section--deep { background: var(--deep-black); color: var(--white); }

/* ---------- Typography ---------- */
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.55rem, 6.1vw, 5.6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 18ch;
}
.section-heading--xl { max-width: 16ch; margin-inline: auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.section-label__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-heading { margin-inline: auto; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head__note {
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--grey);
  padding-bottom: 0.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease),
    background-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease),
    box-shadow var(--dur-ui) var(--ease);
  will-change: transform;
}
.btn__label { position: relative; z-index: 2; }
.btn__arrow {
  position: relative; z-index: 2;
  display: inline-block;
  transition: transform var(--dur-micro) var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--red-hover);
  transform: translateX(-104%) skewX(-14deg);
  transition: transform var(--dur-ui) var(--ease);
  z-index: 1;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 26px -12px rgba(227, 27, 35, 0.55);
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 10, 10, 0.35);
}
.btn--secondary::before { background: var(--red); }
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: var(--border-dark);
}
.btn--ghost-light::before { background: var(--red); }
.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: scale(1.02); }
  .btn:hover::before { transform: translateX(0) skewX(0deg); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
  .btn--secondary:hover, .btn--ghost-light:hover { color: var(--white); border-color: var(--red); }
}
.btn:active { transform: scale(0.99); }

/* ==================================================
   FULL-SCREEN LOGO OPENING (plays on every load)
   ================================================== */
html.is-loading { overflow: hidden; }
html.is-loading body { overflow: hidden; }
.opening {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  pointer-events: none;
}
/* Four quadrant panels — on click they fly out along the X diagonals,
   so the site reveals in a cross, matching the X mark */
.opening__panel {
  position: absolute;
  width: 50.5%;
  height: 50.5%;
  background: var(--deep-black);
  transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.opening__panel--t { top: -1px; left: -1px; }
.opening__panel--r { top: -1px; right: -1px; }
.opening__panel--b { bottom: -1px; right: -1px; }
.opening__panel--l { bottom: -1px; left: -1px; }
.opening.is-open .opening__panel--t { transform: translate(-115%, -115%); }
.opening.is-open .opening__panel--r { transform: translate(115%, -115%); }
.opening.is-open .opening__panel--b { transform: translate(115%, 115%); }
.opening.is-open .opening__panel--l { transform: translate(-115%, 115%); }
.opening__enter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 16px;
}
.opening__enter:focus-visible { outline: 2px solid var(--red); outline-offset: 10px; }
.opening.is-open .opening__enter { pointer-events: none; cursor: default; }
.opening__logo {
  display: block;
  width: clamp(200px, 42vmin, 440px);
  height: auto;
  transform: scale(0.92);
  opacity: 0;
  transition: opacity 450ms var(--ease), transform 450ms var(--ease);
  will-change: transform, opacity;
}
.opening.is-logo .opening__logo {
  opacity: 1;
  transform: scale(1);
  animation: openingPulse 2.2s ease-in-out 700ms infinite;
}
.opening.is-logo .opening__enter:hover .opening__logo { animation-play-state: paused; transform: scale(1.08); }
@keyframes openingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
/* Click: the X shatters into dots (canvas drawn by JS) */
.opening.is-split .opening__logo { animation: none; opacity: 0; transition: opacity 120ms linear; }
.opening.is-split .opening__enter { pointer-events: none; cursor: default; }
.opening.is-split .opening__hint { opacity: 0; transition: opacity 200ms var(--ease); }
.opening__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}
.opening__hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vmin, 16px);
  margin-top: clamp(20px, 4vmin, 36px);
  font-family: var(--font-mono);
  font-size: clamp(13px, 2.2vmin, 18px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.85);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms var(--ease) 240ms, transform 500ms var(--ease) 240ms;
  will-change: transform, opacity;
}
.opening__hint-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vmin, 12px);
  white-space: nowrap;
}
.opening__hint-logo {
  display: block;
  width: clamp(28px, 5vmin, 44px);
  height: auto;
  opacity: 0.95;
}
.opening.is-logo .opening__hint { opacity: 1; transform: translateY(0); }
.opening.is-open .opening__hint { opacity: 0; transition: opacity 200ms var(--ease); }
.opening.is-done { display: none; }
@media (prefers-reduced-motion: reduce) {
  .opening.is-logo .opening__logo { animation: none; }
}

/* Hero staged entrance after the opening */
.hero .reveal,
.hero .split-reveal .word > span { transition-delay: calc(var(--i, 0) * 90ms + var(--stagger-base, 0ms)); }


/* ---------- Inline brand X (logo mark inside text) ---------- */
.brandx-img {
  display: inline-block;
  height: 0.95em;
  width: auto;
  vertical-align: -0.08em;
}
.brandx-img--xl { height: 0.82em; vertical-align: -0.02em; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 900;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---------- Logo cursor follower ---------- */
.logo-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  z-index: 950;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms var(--ease);
  display: none;
}
@media (hover: hover) and (pointer: fine) { .logo-cursor { display: block; } }
.logo-cursor.is-visible { opacity: 1; }
.logo-cursor img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform 180ms var(--ease); }
.logo-cursor::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(227, 27, 35, 0.55);
  background: rgba(227, 27, 35, 0.08);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.logo-cursor.is-hover img { transform: scale(1.16); }
.logo-cursor.is-hover::after { opacity: 1; transform: scale(1); }
.logo-cursor.is-down img { transform: scale(0.84); }


html.custom-cursor body { cursor: none; }
html.custom-cursor a, html.custom-cursor button { cursor: none; }
html.custom-cursor input, html.custom-cursor textarea, html.custom-cursor select, html.custom-cursor [contenteditable] { cursor: text; }

/* ==================================================
   STICKY CTA — fixed on every section
   ================================================== */
.sticky-cta {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 780;
  gap: 0.45rem;
  padding: 0.62rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 28px -10px rgba(227, 27, 35, 0.55), 0 4px 12px rgba(5, 5, 5, 0.45);
  animation: stickyCtaIn 600ms var(--ease) both;
}
.sticky-cta__icon { width: 16px; height: 16px; flex: none; }
.sticky-cta:hover { transform: translateY(-3px) scale(1.03); }
@keyframes stickyCtaIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Hidden while the click-to-enter opening is on screen */
html.is-loading .sticky-cta { display: none; }
/* Mobile: compact round icon button so it never crowds the screen */
@media (max-width: 640px) {
  .sticky-cta {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
  }
  .sticky-cta__icon { width: 22px; height: 22px; }
  .sticky-cta .btn__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { animation: none; }
}

/* ==================================================
   HEADER
   ================================================== */
.header {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 800;
  padding-inline: clamp(0.75rem, 2.5vw, 1.5rem);
}
.header__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.85rem 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border-dark);
  box-shadow: 0 14px 40px -18px rgba(5, 5, 5, 0.55);
  transition: padding var(--dur-ui) var(--ease), background-color var(--dur-ui) var(--ease);
}
.header.is-scrolled .header__inner {
  padding-block: 0.45rem;
  background: rgba(8, 8, 9, 0.88);
}
.header__brand { display: flex; align-items: center; text-decoration: none; }
.header__logo { height: 24px; width: auto; }
.header__nav ul {
  display: flex;
  gap: clamp(0.3rem, 1.4vw, 1rem);
  list-style: none;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.nav-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--red);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease);
}
.nav-insta svg { width: 18px; height: 18px; }
.nav-insta:hover { color: var(--white); background: rgba(227, 27, 35, 0.25); }
.mobile-nav__insta svg { width: 0.7em; height: 0.7em; margin-left: 0.4em; vertical-align: baseline; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-ui) var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link.is-active { color: var(--white); }
.nav-link.is-active::after { transform: scaleX(1); }
.header__cta { flex: none; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
}
.header__burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--dur-ui) var(--ease), opacity var(--dur-ui) var(--ease);
}
.header__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.header__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--deep-black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem var(--gutter) 2.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur-page) var(--ease), visibility 0s linear var(--dur-page);
  overflow: hidden;
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur-page) var(--ease);
}
.mobile-nav__x {
  position: absolute;
  right: -18%;
  top: 50%;
  width: 90vmin;
  height: 90vmin;
  transform: translateY(-50%);
  opacity: 0.14;
  pointer-events: none;
}
.mobile-nav ul { list-style: none; display: grid; gap: 0.4rem; }
.mobile-nav li {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.mobile-nav.is-open li { opacity: 1; transform: none; }
.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  padding-block: 0.3rem;
  transition: color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease);
}
.mobile-nav__link:hover { color: var(--red); transform: translateX(6px); }
.mobile-nav__cta {
  margin-top: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease) 480ms, transform var(--dur-reveal) var(--ease) 480ms;
}
.mobile-nav.is-open .mobile-nav__cta { opacity: 1; transform: none; }
body.nav-open { overflow: hidden; }

/* ==================================================
   REVEAL SYSTEM
   ================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: transform, opacity;
}
html.js .reveal.in-view { opacity: 1; transform: none; }

/* Parallax elements: JS writes a --py offset, CSS applies it */
[data-parallax] { will-change: transform; }
.hero__img, .hero__deco--mark, .about__img, .contact__img { transform: translateY(var(--py, 0px)); }

/* Split headings: JS wraps each word in .word > span for a mask reveal */
.split-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-reveal .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--w, 0) * 55ms);
  will-change: transform;
}
.split-reveal.in-view .word > span { transform: translateY(0); }

/* Image frames: clip-path reveal */
.img-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #191919, #2b2b2d);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 600ms var(--ease), filter 600ms var(--ease);
}
.img-frame.img-fallback img { display: none; }
.img-frame.img-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  opacity: 0.55;
  background: url("../img/logo-x.png") no-repeat center / contain;
}
html.js .reveal .img-frame img, html.js .img-frame.reveal img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 800ms var(--ease), transform 600ms var(--ease), filter 600ms var(--ease);
}
html.js .reveal.in-view .img-frame img, html.js .img-frame.reveal.in-view img { clip-path: inset(0 0 0 0); }

/* ==================================================
   HERO — dark cinematic
   ================================================== */
.hero {
  background:
    radial-gradient(90vmin 90vmin at 82% 10%, rgba(227, 27, 35, 0.11), transparent 60%),
    var(--deep-black);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 13vh, 9.5rem);
  padding-bottom: 0;
  overflow: hidden;
}
.hero__watermark {
  position: absolute;
  right: -14%;
  top: 50%;
  width: 96vmin;
  height: 96vmin;
  transform: translateY(calc(-50% + var(--py, 0px)));
  opacity: 0.07;
  pointer-events: none;
}
.hero__watermark svg { width: 100%; height: 100%; }
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  position: relative;
  flex: 1;
}
.hero__content { flex: 1; min-width: 0; text-align: left; }

/* ---------- Hero vertical video sliders ---------- */
.hero__reels {
  flex: none;
  display: flex;
  gap: clamp(0.8rem, 1.2vw, 1.2rem);
  height: min(74vh, 640px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.vcol {
  width: clamp(110px, 10.5vw, 165px);
  overflow: hidden;
}
.vcol__track {
  display: flex;
  flex-direction: column;
  animation: vscrollUp var(--vdur, 28s) linear infinite;
  will-change: transform;
}
.vcol--down .vcol__track { animation-name: vscrollDown; }
@keyframes vscrollUp {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes vscrollDown {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.vslide {
  position: relative;
  aspect-ratio: 9 / 16;
  margin-bottom: clamp(0.8rem, 1.2vw, 1.2rem);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227, 27, 35, 0.12), transparent 60%),
    #101012;
  display: grid;
  place-items: center;
}
.vslide svg { width: 34%; height: auto; opacity: 0.45; }
.vslide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mobile: ek horizontal slider, saari videos chhote cards me left se right */
.hero__hreels { display: none; }
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; align-items: center; }
  .hero__content { width: 100%; flex: none; text-align: center; }
  .logoplay { margin-inline: auto; }
  .hero__reels { display: none; }
  .hero__hreels {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top: 1.8rem;
    margin-bottom: 1.4rem;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }
  .hreel__track {
    display: flex;
    width: max-content;
    animation: hscrollLTR 40s linear infinite;
    will-change: transform;
  }
  .hreel__track .vslide {
    width: clamp(100px, 27vw, 134px);
    flex: none;
    margin: 0 0.6rem 0 0;
    border-radius: 14px;
  }
  @keyframes hscrollLTR {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .vcol__track, .hreel__track { animation: none !important; }
}
.hl-red { color: var(--red); }
/* Subtle breathing glow on the highlighted word */
.hero-heading .hl-red,
.section-heading .hl-red { animation: hlGlow 3.2s ease-in-out infinite; }
/* Red glowing section headings (Our Clients, Our Services, ...) */
.section-heading--red {
  color: var(--red);
  animation: hlGlow 3.2s ease-in-out infinite;
}
@keyframes hlGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(227, 27, 35, 0); }
  50% { text-shadow: 0 0 18px rgba(227, 27, 35, 0.4), 0 0 42px rgba(227, 27, 35, 0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-heading .hl-red, .section-heading--red { animation: none; }
}

/* ---------- Animated brand lockup (PER4MANCE [service] X) ---------- */
.logoplay {
  width: max-content;
  max-width: 100%;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  text-align: left;
}
.logoplay__row {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--offwhite);
  /* Width is reserved for the widest service so the loop never shifts layout */
  padding-right: var(--lp-reserve, 0px);
}
.logoplay__word {
  display: block;
  height: 0.62em;
  width: auto;
  flex: none;
}
.logoplay__x {
  flex: none;
  width: 0.78em;
  height: 0.78em;
  margin-left: var(--lp-gap, 16px);
  transform: translate3d(var(--lp-shift, 0px), 0, 0);
  transition: transform 460ms var(--ease);
  will-change: transform;
}
.logoplay__x svg { display: block; width: 100%; height: 100%; }
.logoplay__svc {
  position: absolute;
  left: var(--lp-svcleft, 0px);
  top: 50%;
  font-size: clamp(0.68rem, 1.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(245, 243, 238, 0.92);
  transform: translateY(-50%);
}
.logoplay__measure { visibility: hidden; left: -9999px; transition: none; }
.logoplay__stack { display: none; }
.logoplay.is-stack .logoplay__stack {
  display: block;
  margin-top: clamp(8px, 2vw, 14px);
  font-family: var(--font-heading);
  font-size: clamp(11px, 3.2vw, 17px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(245, 243, 238, 0.92);
  min-height: 1.5em;
}
.logoplay__stack span { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .logoplay__x { transition: none; transform: none !important; }
}
.hero__copy {
  max-width: 46ch;
  margin-top: 1.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
}
.hero__ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.hero__visual {
  position: relative;
  aspect-ratio: 0.78;
  max-width: 460px;
  width: 100%;
  margin-left: auto;
}
.hero__img { position: absolute; }
.hero__img--main {
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: 0 40px 80px -40px rgba(5, 5, 5, 0.9);
}
.hero__img--card {
  left: -18%;
  bottom: 8%;
  width: 52%;
  aspect-ratio: 1.35;
  border-radius: 18px;
  border: 4px solid var(--deep-black);
  box-shadow: 0 30px 60px -30px rgba(5, 5, 5, 0.8);
}
.hero__deco--mark {
  position: absolute;
  right: -9%;
  top: -6%;
  width: clamp(56px, 7vw, 92px);
}
.hero__deco--mark svg { width: 100%; height: 100%; }
.hero__supporting {
  border-top: 1px solid var(--border-dark);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-block: 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero__supporting .container { display: block; }
.hero__supporting b { color: var(--red); font-weight: 600; margin-inline: 0.35rem; }

/* ==================================================
   MARQUEE
   ================================================== */
.marquee {
  overflow: hidden;
  padding-block: 1.15rem;
}
.marquee--dark {
  background: var(--deep-black);
  color: var(--white);
  border-block: 1px solid var(--border-dark);
}
.marquee--red {
  background: var(--red);
  color: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll var(--marquee-speed, 28s) linear infinite;
}
@media (hover: hover) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-inline: 1.4rem;
}
.marquee__sep { width: 18px; height: 18px; flex: none; }
.marquee--red .marquee__sep { filter: brightness(0) invert(1); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================================
   ABOUT — light editorial
   ================================================== */
.about__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.about__copy {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem);
  line-height: 1.5;
  color: rgba(23, 23, 23, 0.82);
  max-width: 46ch;
}
.capabilities { display: grid; gap: 1.35rem; }
.capability__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}
.capability__x { width: 14px; height: 14px; flex: none; }
.capability__track {
  height: 4px;
  border-radius: 4px;
  background: var(--border-light);
  overflow: hidden;
}
.capability__bar {
  display: block;
  height: 100%;
  width: var(--fill, 80%);
  border-radius: 4px;
  background: var(--red);
  transform-origin: left center;
  transition: transform 1100ms var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}
html.js .capability__bar { transform: scaleX(0); }
html.js .capability.in-view .capability__bar { transform: scaleX(1); }
.about__band {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.about__img { aspect-ratio: 2.1; border-radius: var(--radius-lg); }
.about__img--alt { aspect-ratio: auto; }
.about__traits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
}
.trait {
  padding: 1.7rem 1.4rem 0.4rem 1.4rem;
  border-right: 1px solid var(--border-light);
}
.trait:first-child { padding-left: 0; }
.trait:last-child { border-right: 0; }
.trait__icon { width: 20px; height: 20px; display: block; margin-bottom: 0.9rem; }
.trait h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.trait p { font-size: 0.92rem; color: rgba(23, 23, 23, 0.7); }

/* ==================================================
   SERVICES — dark stacked ledger
   ================================================== */
.service-ledger { display: grid; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 260px 60px;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(0.5rem, 2vw, 1.5rem);
  border-top: 1px solid var(--border-dark);
  border-radius: 20px;
  transition: background-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--border-dark); }
.service-row__num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--grey);
  align-self: start;
  padding-top: 0.4rem;
}
.service-row__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}
.service-row__copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  max-width: 48ch;
  margin-bottom: 1.1rem;
}
.service-row__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.service-row__list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 1.35rem;
  position: relative;
}
.service-row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 12px;
  height: 12px;
  background: url("../img/logo-x.png") no-repeat center / contain;
}
.service-row__img {
  aspect-ratio: 1.5;
  border-radius: 18px;
  opacity: 0.85;
  transition: opacity var(--dur-ui) var(--ease);
}
.service-row__link {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  justify-self: end;
  transition: background-color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease);
}
@media (hover: hover) {
  .service-row:hover { background: rgba(255, 255, 255, 0.04); transform: translateX(6px); }
  .service-row:hover .service-row__img { opacity: 1; }
  .service-row:hover .service-row__img img { transform: scale(1.05); }
  .service-row:hover .service-row__link { background: var(--red); border-color: var(--red); transform: translate(3px, -3px); }
}
.service-row--featured {
  background: var(--red);
  margin-block: -1px;
}
.service-row--featured .service-row__num,
.service-row--featured .service-row__copy,
.service-row--featured .service-row__list li { color: rgba(255, 255, 255, 0.9); }
.service-row--featured .service-row__list li::before { background-image: url("../img/logo-x-white.png"); }
.service-row--featured .service-row__link { border-color: rgba(255, 255, 255, 0.45); }
@media (hover: hover) {
  .service-row--featured:hover { background: var(--red-hover); }
  .service-row--featured:hover .service-row__link { background: var(--black); border-color: var(--black); }
}

/* ==================================================
   WHY — light, sticky editorial
   ================================================== */
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.why__sticky { position: sticky; top: 110px; }
.why__visual {
  margin-top: 2rem;
  aspect-ratio: 1.15;
  max-width: 440px;
  border-radius: var(--radius-lg);
}
.why__features { border-top: 1px solid var(--border-light); }
.feature {
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  align-items: start;
  transition: padding-left var(--dur-ui) var(--ease);
}
.feature:hover { padding-left: 0.6rem; }
.feature__icon { width: 28px; height: 28px; margin-top: 0.2rem; }
.feature h3 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.feature p { font-size: 0.95rem; color: rgba(23, 23, 23, 0.72); max-width: 52ch; }

/* ==================================================
   PROCESS — numbered steps that light up on scroll
   ================================================== */
.steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: start;
  gap: clamp(0.9rem, 3vw, 2.5rem);
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
  list-style: none;
}
/* Connector lines between the numbers — light up red like the steps */
.steps__link {
  height: 2px;
  border-radius: 2px;
  margin-top: clamp(1.3rem, 3.5vw, 2.75rem);
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 600ms var(--ease), box-shadow 600ms var(--ease);
}
.steps__link.is-on {
  background: var(--red);
  box-shadow: 0 0 12px rgba(227, 27, 35, 0.55);
}
.step__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.10);
  transition: color 600ms var(--ease), text-shadow 600ms var(--ease);
}
/* Titles styled like the hero heading — bold uppercase, never red */
.step__title {
  margin-top: 0.4em;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.9vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 600ms var(--ease);
}
.step.is-on .step__num {
  color: var(--red);
  text-shadow: 0 0 24px rgba(227, 27, 35, 0.35), 0 0 60px rgba(227, 27, 35, 0.18);
}
.step.is-on .step__title { color: var(--white); }

/* ==================================================
   TESTIMONIALS — editorial cards + travelling light
   Accent for this section only: var(--red)
   ================================================== */
.testi { background: #0A0A0A; color: #FFFFFF; }
.testi__wrap {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.testi__row {
  position: relative;
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  align-items: stretch;
}
/* Soft elongated light trail travelling behind the cards */
.testi__light {
  position: absolute;
  top: 50%;
  left: 0;
  width: 360px;
  height: 150px;
  margin: -75px 0 0 -180px;
  background: radial-gradient(ellipse 55% 50% at center, rgba(227, 27, 35, 0.55), rgba(227, 27, 35, 0.14) 55%, transparent 75%);
  filter: blur(38px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
  transform: translateX(0);
  transition: transform 1.9s cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
  z-index: 0;
}
.testi-card {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 1.8vw, 1.7rem);
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  transform: scale(1);
  transition: border-color 700ms cubic-bezier(0.45, 0, 0.55, 1),
    transform 700ms cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 700ms cubic-bezier(0.45, 0, 0.55, 1);
}
.testi-card__mark {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.6rem;
  transition: color 700ms cubic-bezier(0.45, 0, 0.55, 1);
}
.testi-card__quote {
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  flex: 1;
  margin-bottom: 1.2rem;
  transition: color 700ms cubic-bezier(0.45, 0, 0.55, 1);
}
.testi-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: color 700ms cubic-bezier(0.45, 0, 0.55, 1);
}
.testi-card__role {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A0;
}
/* Lit state — the light has reached this card */
.testi-card.is-lit {
  border-color: rgba(227, 27, 35, 0.85);
  transform: scale(1.02);
  box-shadow: 0 0 40px -6px rgba(227, 27, 35, 0.28), 0 0 90px -20px rgba(227, 27, 35, 0.18);
}
.testi-card.is-lit .testi-card__mark { color: var(--red); }
.testi-card.is-lit .testi-card__quote { color: rgba(255, 255, 255, 0.92); }
.testi-card.is-lit .testi-card__name { color: var(--red); }
/* Tablet: three cards visible, horizontal scroll */
@media (max-width: 1080px) {
  .testi__row {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-block: 0.6rem;
  }
  .testi__row::-webkit-scrollbar { display: none; }
  .testi-card { flex: 0 0 31.5%; scroll-snap-align: center; }
}
/* Mobile: one main card with neighbours peeking */
@media (max-width: 640px) {
  .testi-card { flex: 0 0 78%; }
}
@media (prefers-reduced-motion: reduce) {
  .testi__light { display: none; }
  .testi-card, .testi-card * { transition: none !important; }
}

/* ==================================================
   AWARDS & PARTNERS — badge strip
   ================================================== */
.awards__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.5vw, 2rem);
}
.award {
  margin: 0;
  width: clamp(120px, 15vw, 190px);
  height: clamp(90px, 11vw, 140px);
  padding: clamp(0.7rem, 1.5vw, 1.1rem);
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  transition: transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.award:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -16px rgba(227, 27, 35, 0.35);
}
.award img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .award { width: 42%; height: 96px; }
}

/* ==================================================
   WORK — light asymmetric grid
   ================================================== */
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: border-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.work-card:nth-child(1) { grid-column: span 2; }
.work-card:nth-child(4) { grid-column: span 2; }
.work-card__media { aspect-ratio: 1.6; border-radius: 0; }
.work-card:nth-child(1) .work-card__media,
.work-card:nth-child(4) .work-card__media { aspect-ratio: 2.2; }
.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.55), rgba(227, 27, 35, 0));
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 600ms var(--ease);
  pointer-events: none;
}
.work-card__tag {
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-card__arrow {
  position: absolute;
  right: 1.1rem; bottom: 1.1rem;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
  transition: transform var(--dur-ui) var(--ease), background-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.work-card__body { padding: 1.5rem 1.6rem 1.7rem; }
.work-card__body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.work-card__body p { font-size: 0.95rem; color: rgba(23, 23, 23, 0.72); }
.work-card__services {
  margin-top: 0.5rem;
  font-size: 0.85rem !important;
  color: var(--grey) !important;
}
.work-card__soon {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(227, 27, 35, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
}
@media (hover: hover) {
  .work-card:hover {
    border-color: var(--red);
    transform: translateY(-6px);
    box-shadow: 0 30px 56px -34px rgba(5, 5, 5, 0.4);
  }
  .work-card:hover .work-card__media img { transform: scale(1.05); }
  .work-card:hover .work-card__overlay { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .work-card:hover .work-card__arrow {
    transform: rotate(45deg);
    background: var(--red);
    color: var(--white);
  }
}

/* ==================================================
   PRINCIPLES — deep black
   ================================================== */
.principles { overflow: hidden; }
.principles__x {
  position: absolute;
  right: -12%;
  top: 50%;
  width: 70vmin; height: 70vmin;
  transform: translateY(calc(-50% + var(--py, 0px)));
  opacity: 0.1;
  pointer-events: none;
}
.principles__x svg { width: 100%; height: 100%; }
.principles__list { display: grid; }
.principle {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr 44px;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: 2rem;
  border-bottom: 1px solid var(--border-dark);
  transition: padding-left var(--dur-ui) var(--ease);
  position: relative;
}
.principle:first-child { border-top: 1px solid var(--border-dark); }
.principle:hover { padding-left: 1rem; }
.principle__num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey);
}
.principle__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.principle__copy { color: rgba(255, 255, 255, 0.68); font-size: 0.96rem; }
.principle__mark {
  width: 22px;
  height: 22px;
  justify-self: end;
  transition: transform var(--dur-ui) var(--ease);
}
.principle:hover .principle__mark { transform: translate(3px, -3px); }

/* ==================================================
   CONTACT — dark with floating light form
   ================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__copy {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}
.contact__img {
  margin-top: 2.2rem;
  aspect-ratio: 1.25;
  max-width: 420px;
  border-radius: var(--radius-lg);
}
.contact__form-col {
  background: var(--offwhite);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 40px 90px -40px rgba(5, 5, 5, 0.8);
}
.contact-form { display: grid; gap: 1.15rem; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field { display: grid; gap: 0.4rem; position: relative; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.72);
}
.field__req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23171717' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }
.field__error {
  font-size: 0.78rem;
  color: var(--red);
  display: none;
}
.field.has-error .field__error { display: block; }
.contact-form button[type="submit"] { justify-self: start; margin-top: 0.4rem; }
.contact-form__status { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.contact-form__status.is-success { color: var(--ink); }
.contact-form__status.is-error { color: var(--red); }

/* ==================================================
   TESTIMONIALS — light
   ================================================== */
.testimonials__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}
.testimonials__panel {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.testimonials__panel-x {
  position: absolute;
  right: -12%; top: -16%;
  width: 240px;
  height: 240px;
  opacity: 0.3;
  pointer-events: none;
}
.testimonials__panel h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.testimonials__panel p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.testimonial-slider {
  background: var(--offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.testimonial-slider__viewport { flex: 1; position: relative; min-height: 220px; }
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.testimonial-slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testimonial-slide__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 1.4rem;
}
.testimonial-slide__quote::before { content: "\201C"; color: var(--red); margin-right: 0.15em; }
.testimonial-slide__quote::after { content: "\201D"; color: var(--red); margin-left: 0.1em; }
.testimonial-slide__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}
.testimonial-slide__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.testimonial-slide__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.testimonial-slide__name { font-weight: 600; font-size: 0.95rem; }
.testimonial-slide__role { font-size: 0.83rem; color: var(--grey); }
.testimonial-slide__stars { margin-left: auto; color: var(--red); font-size: 0.85rem; letter-spacing: 0.1em; }
.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease);
}
.slider-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: var(--white); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }
.testimonial-slider__dots { display: flex; gap: 0.5rem; }
.testimonial-slider__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease);
}
.testimonial-slider__dots button.is-active { background: var(--red); transform: scale(1.3); }

/* ==================================================
   TEAM — light
   ================================================== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.team-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -32px rgba(5, 5, 5, 0.35);
}
.team-card__portrait {
  aspect-ratio: 0.95;
  background: linear-gradient(160deg, #1a1a1c, #2e2e31);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.team-card__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 600ms var(--ease);
}
.team-card:hover .team-card__portrait img { transform: scale(1.04); }
.team-card__placeholder {
  width: 40%;
  color: rgba(255, 255, 255, 0.25);
  transition: transform 600ms var(--ease), color 600ms var(--ease);
}
.team-card:hover .team-card__placeholder { transform: scale(1.07); color: rgba(227, 27, 35, 0.5); }
.team-card__meta { padding: 1.4rem 1.5rem 1.6rem; position: relative; }
.team-card__meta h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.team-card__meta p { font-size: 0.88rem; color: var(--grey); }
.team-card__linkedin {
  position: absolute;
  right: 1.3rem; top: 1.4rem;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--ink);
  transition: background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease);
}
.team-card__linkedin svg { width: 16px; height: 16px; }
.team-card__linkedin:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ==================================================
   FINAL CTA — deep black
   ================================================== */
.final-cta { text-align: center; overflow: hidden; }
.final-cta__x {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118vmin; height: 118vmin;
  transform: translate(-50%, calc(-50% + var(--py, 0px)));
  opacity: 0.09;
  pointer-events: none;
}
.final-cta__x svg { width: 100%; height: 100%; }
.final-cta__copy {
  max-width: 52ch;
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}
.final-cta__btns {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  position: relative;
}
.final-cta__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
  position: relative;
  font-family: var(--font-body);
  text-align: center;
}
.final-cta__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.final-cta__meta-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}
.final-cta__meta-item a,
.final-cta__meta-item span:not(.final-cta__meta-label) {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease);
}
.final-cta__meta-item a:hover { color: var(--red); }

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  border-top: 1px solid var(--border-dark);
  color: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-dark);
}
.footer__logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 1.3rem; }
.footer__desc { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; max-width: 34ch; overflow-wrap: anywhere; }
.footer__col h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--dur-micro) var(--ease), padding-left var(--dur-micro) var(--ease);
}
.footer__col a:hover { color: var(--red); padding-left: 4px; }
.footer__placeholder { color: rgba(255, 255, 255, 0.4); font-size: 0.9rem; font-style: italic; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--white);
  transition: background-color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease);
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
}
.footer__line {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease);
}
.footer__legal a:hover { color: var(--red); }
.footer__copyright { color: rgba(255, 255, 255, 0.45); font-size: 0.85rem; }

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 1080px) {
  .header__nav { display: none; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-inline: auto; max-width: 480px; margin-top: 1.5rem; }
  .hero__img--card { left: -4%; }
  .hero__watermark { right: -40%; opacity: 0.05; }

  .about__grid { grid-template-columns: 1fr; }
  .about__band { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 1.7; }
  .about__traits { grid-template-columns: 1fr 1fr; }
  .trait { padding-left: 1.4rem; }
  .trait:nth-child(odd) { padding-left: 0; }
  .trait:nth-child(even) { border-right: 0; }

  .service-row { grid-template-columns: 56px 1fr; }
  .service-row__img { grid-column: 2; max-width: 380px; }
  .service-row__link { grid-column: 2; justify-self: start; }

  .why__grid { grid-template-columns: 1fr; }
  .why__sticky { position: static; }
  .why__visual { max-width: 100%; aspect-ratio: 1.7; margin-bottom: 1rem; }

  .work__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .work-card:nth-child(1), .work-card:nth-child(4) { grid-column: auto; }
  .work-card:nth-child(1) .work-card__media,
  .work-card:nth-child(4) .work-card__media { aspect-ratio: 1.6; }

  .principle { grid-template-columns: 56px 1fr 44px; }
  .principle__copy { grid-column: 2; grid-row: 2; }
  .principle__mark { grid-row: 1; grid-column: 3; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__img { max-width: 100%; aspect-ratio: 1.8; }

  .testimonials__layout { grid-template-columns: 1fr; }
  .testimonials__panel { min-height: 220px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-pad: clamp(2.25rem, 8vw, 3.25rem); }
  .header__logo { height: 19px; }
  .header__inner { padding: 0.5rem 0.55rem 0.5rem 0.9rem; gap: 0.6rem; }
  .header__actions { gap: 0.45rem; }
  .nav-insta { width: 32px; height: 32px; border-radius: 9px; }
  .nav-insta svg { width: 15px; height: 15px; }
  .header__cta { padding: 0.6rem 0.85rem; font-size: 0.62rem; letter-spacing: 0.04em; }
  .header__cta .btn__arrow { display: none; }
  .hero { padding-top: 6.5rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { aspect-ratio: 0.9; }
  .hero__img--card { width: 46%; }
  .about__traits { grid-template-columns: 1fr; }
  .trait { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--border-light); padding-bottom: 1.4rem; }
  .trait:last-child { border-bottom: 0; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__num { padding-top: 0; }
  .service-row__img, .service-row__link { grid-column: 1; }
  .contact-form__row { grid-template-columns: 1fr; }
  .btn--block-mobile { width: 100%; }
  .contact-form button[type="submit"] { justify-self: stretch; }
  .team__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section-head--split .btn { width: 100%; }
  .testimonial-slider { padding: 1.6rem 1.3rem 1.3rem; }
  .testimonials__panel { padding: 1.8rem 1.5rem; }
  .principle { padding-block: 1.5rem; }
  .footer__logo { height: 32px; }
}

/* ==================================================
   REDUCED MOTION
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal, html.js .split-reveal .word > span { opacity: 1 !important; transform: none !important; }
  html.js .reveal .img-frame img, html.js .img-frame.reveal img { clip-path: none !important; }
  html.js .capability__bar { transform: scaleX(1) !important; }
  .marquee__track { animation: none !important; }
  .opening.is-open .opening__panel { transform: none; opacity: 0; }
  .logo-cursor { transition: none !important; }
}

/* ==================================================
   HERO SUBLINE
   ================================================== */
.hero-subline {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--red);
  margin-top: 0.9rem;
}

/* ==================================================
   SERVICES INTRO — content + video
   ================================================== */
.services-intro { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.services-intro__stack {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.services-intro__copy {
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
  margin-bottom: 1.8rem;
}
.services-intro__video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--black);
  box-shadow: 0 40px 80px -40px rgba(5, 5, 5, 0.9);
}
.services-intro__video video {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--black);
}
@media (max-width: 768px) {
  .services-intro__video video { aspect-ratio: 16 / 9; }
}
.services-intro__video-mark {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

/* ==================================================
   SERVICE SELECTOR — 9 cards with checkboxes
   ================================================== */
.service-select { --grid-line: rgba(227, 27, 35, 0.28); }
.service-select__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grid-line);
  border: 1px solid var(--grid-line);
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border-radius: 0;
  padding: 1.7rem 1.5rem 1.15rem;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
@media (hover: hover) {
  .svc-card:hover {
    background: #150a0b;
    box-shadow: inset 0 0 40px rgba(227, 27, 35, 0.08);
  }
}
.svc-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.svc-card__icon {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 1.15rem;
  image-rendering: pixelated;
}
.svc-card h3 {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
}
.svc-card p {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.65;
  color: rgba(227, 27, 35, 0.85);
  margin-bottom: 1.2rem;
}
.svc-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--grid-line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--dur-micro) var(--ease);
}
.svc-card__check {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 0;
  border: 1px solid rgba(227, 27, 35, 0.75);
  background: transparent;
  transition: background-color var(--dur-micro) var(--ease);
}
.svc-card__check::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--black);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease);
}
.svc-card input:checked ~ .svc-card__cta .svc-card__check { background: var(--red); border-color: var(--red); }
.svc-card input:checked ~ .svc-card__cta { color: var(--red); }
.svc-card input:focus-visible ~ .svc-card__cta .svc-card__check { outline: 2px solid var(--red); outline-offset: 3px; }
.svc-card.is-selected {
  background: #1c0a0c;
  box-shadow: inset 0 0 60px rgba(227, 27, 35, 0.14);
}

/* Request bar */
.request-bar {
  position: sticky;
  bottom: 18px;
  z-index: 700;
  margin-top: 1.6rem;
  display: none;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1rem 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px -20px rgba(5, 5, 5, 0.8);
}
.request-bar.is-visible { display: flex; }
.request-bar__count {
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}
.request-bar__count span { color: var(--red); }
.request-bar__list {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.request-bar .btn { flex: none; }

/* ==================================================
   ABOUT — video left, content right
   ================================================== */
.about__inner {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227, 27, 35, 0.1), transparent 60%),
    #101012;
  display: grid;
  place-items: center;
}
.about__mark { width: 30%; height: auto; opacity: 0.4; }
.about__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content .section-heading { margin-bottom: 1.4rem; }
.about__copy {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.about__btn { margin-top: 0.9rem; }
@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ==================================================
   BRANDS — client logo slider
   ================================================== */
.brands { padding-block: clamp(2.2rem, 4.2vw, 3.8rem); overflow: hidden; }
.brands .section-head { margin-bottom: clamp(1.6rem, 3.2vw, 2.8rem); }
.brands .section-heading { font-size: clamp(1.45rem, 3vw, 2.4rem); }
.brands .section-label { font-size: 0.7rem; margin-bottom: 0.8rem; }
.brandline {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.brandline__track {
  display: flex;
  width: max-content;
  animation: brandScroll 34s linear infinite;
  will-change: transform;
}
.brandline:hover .brandline__track { animation-play-state: paused; }
.brandline__group {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.8rem);
  padding-right: clamp(0.9rem, 2.2vw, 1.8rem);
}
.brand-card {
  flex: none;
  width: clamp(104px, 11.5vw, 152px);
  height: clamp(52px, 5.8vw, 76px);
  background: #FFFFFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.55rem, 1vw, 0.85rem) clamp(0.8rem, 1.4vw, 1.15rem);
}
.brand-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes brandScroll {
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brandline__track { animation: none !important; }
}

/* ==================================================
   WORLD — global presence (dotted country maps)
   ================================================== */
.world { overflow: hidden; }
.countries {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3.5rem);
}
.country {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin: 0;
}
.country img {
  height: clamp(90px, 10.5vw, 150px);
  width: auto;
  filter: drop-shadow(0 0 18px rgba(227, 27, 35, 0.35));
}
.country__name {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
/* Entrance: each country pops in one after another */
html.js .countries.in-view .country {
  animation: countryIn 620ms var(--ease) both;
  animation-delay: calc(var(--d, 0) * 170ms + 200ms);
}
html.js .countries:not(.in-view) .country { opacity: 0; }
@keyframes countryIn {
  0% { opacity: 0; transform: translateY(26px) scale(0.92); }
  70% { opacity: 1; transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Continuous life: soft floating + breathing red glow, staggered */
html.js .countries.in-view .country img {
  animation: countryFloat 4.2s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 500ms + 900ms);
}
@keyframes countryFloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 14px rgba(227, 27, 35, 0.28)); }
  50% { transform: translateY(-7px); filter: drop-shadow(0 0 26px rgba(227, 27, 35, 0.55)); }
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive additions ---------- */
@media (max-width: 1080px) {
  .service-select__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .service-select__grid { grid-template-columns: 1fr; }
  .request-bar { flex-wrap: wrap; border-radius: 24px; padding: 1rem 1.2rem; gap: 0.6rem; }
  .request-bar__list { white-space: normal; flex-basis: 100%; }
  .request-bar .btn { width: 100%; }
}

/* ---------- Reduced motion additions ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .countries .country { animation: none !important; opacity: 1 !important; }
  html.js .countries.in-view .country img { animation: none !important; }
}
