/* ============================================================
   VSIBLE CORP — style.css
   Design language: drinksom.eu inspired
   ============================================================ */

/* ── LOCAL FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Michroma-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Norwester';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/norwester.otf') format('opentype');
}

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:       #1c1e1f;
  --ink:      #f4f5f3;
  --muted:    rgba(244,245,243,0.45);
  --border:   rgba(244,245,243,0.12);
  --fire:     #d52009;
  --orange:   #e8671b;
  --gold:     #d9a773;
  --azul:     #4d72b0;
  --azul-dk:  #1a2035;
  --azul-md:  #2b3560;

  --f-head: 'Fjalla One', sans-serif;
  --f-body: 'Nunito Sans', sans-serif;
  --f-serif:'Instrument Serif', serif;
  --f-brand:'Michroma', sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 12px; scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-stretch: condensed;
  font-weight: 500;
  line-height: 1.65;
  cursor: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ── GRAIN — global fixed (drinksom GrainOverlay) ──────── */
.grain {
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

/* ── TICK PROGRESS BAR ───────────────────────────────────── */
/* Default: horizontal at top (hero) */
.tick-bar {
  position: fixed;
  top: 10px; left: 20px; right: 20px;
  height: 14px; width: auto;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  transition: opacity 0.6s ease;
  opacity: 0;
}
.tick-bar.tick-bar--ready { opacity: 1; }
.tick-bar.tick-bar--ready.tick-bar--left { opacity: 0.45; }
.tick-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.2) 0px,
    rgba(255,255,255,0.2) 2px,
    transparent 2px,
    transparent 14px
  );
}
.tick-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  overflow: hidden;
}
.tick-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.95) 0px,
    rgba(255,255,255,0.95) 2px,
    transparent 2px,
    transparent 14px
  );
}

/* Vertical left side — after hero */
.tick-bar.tick-bar--left {
  top: 20px; bottom: 20px; left: 10px; right: auto;
  width: 14px; height: auto;
}
.tick-bar.tick-bar--left::before {
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.2) 0px,
    rgba(255,255,255,0.2) 2px,
    transparent 2px,
    transparent 14px
  );
}
.tick-bar.tick-bar--left .tick-bar-fill {
  top: 0; left: 0; right: 0; bottom: auto;
  width: 100%; height: 0%;
}
.tick-bar.tick-bar--left .tick-bar-fill::after {
  height: 100vh; width: 100%;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.95) 0px,
    rgba(255,255,255,0.95) 2px,
    transparent 2px,
    transparent 14px
  );
}

/* ── LOADER ──────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  z-index: 8000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Luma-Spin V — same scale as hero VSIBLE text */
.loader-v-svg {
  height: clamp(4.5rem, 13.5vw, 13.5rem);
  width: auto;   /* preserves viewBox 100:86 aspect ratio */
  overflow: visible;
}
/* Track: faint full V outline */
.lv-track {
  fill: none;
  stroke: rgba(244,245,243,0.15);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Glow: soft blurred trail behind the beam */
.lv-glow {
  fill: none;
  stroke: var(--ink);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.18;
  stroke-dasharray: 40 177;
  stroke-dashoffset: 177;
  filter: blur(6px);
  animation: lvBeam 2.4s cubic-bezier(0.45,0,0.55,1) infinite;
}
/* Beam: crisp bright line that travels the V */
.lv-beam {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 28 177;
  stroke-dashoffset: 177;
  animation: lvBeam 2.4s cubic-bezier(0.45,0,0.55,1) infinite;
}

@keyframes lvBeam {
  0%   { stroke-dashoffset:  177; }
  100% { stroke-dashoffset: -177; }
}

/* ── CURSOR ──────────────────────────────────────────────── */
#cursorDot, #cursorRing {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 0.3s;
}
#cursorDot {
  width: 6px; height: 6px;
  background: #fff;
  mix-blend-mode: difference;
}
#cursorRing {
  width: 32px; height: 32px;
  border: 1.5px solid #fff;
  mix-blend-mode: difference;
  transition: transform 0.12s ease, width 0.2s, height 0.2s;
}
#cursorRing.hover {
  width: 52px; height: 52px;
}

/* ── NAV — right-side vertical ───────────────────────────── */
#nav {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}
.nav-logo {
  position: absolute;
  top: 20px;
  left: 2rem;
  pointer-events: all;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-right-panel {
  position: absolute;
  top: calc(50% - 200px);
  transform: translateY(-50%);
  right: 2.5rem;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.nav-right-panel.nav-visible { opacity: 1; }
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-link {
  font-family: var(--f-head);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,245,243,0.50);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: rgba(244,245,243,0.9);
  transition: width 0.25s ease;
  flex-shrink: 0;
}
.nav-link:hover { color: rgba(244,245,243,0.85); }
.nav-link.active {
  color: rgba(244,245,243,1);
}
.nav-link.active::after { width: 22px; }
.nav-divider-line {
  width: 1px;
  height: 18px;
  background: rgba(244,245,243,0.18);
  margin: 0.9rem 0;
  align-self: flex-end;
}
.lang-toggle {
  font-family: var(--f-head);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(244,245,243,0.55);
  display: flex;
  gap: 0.15rem;
}
.lang-en, .lang-es { transition: color 0.2s; }
.lang-en.active, .lang-es.active { color: rgba(244,245,243,1); }
.lang-div { opacity: 0.35; }

/* Nav light mode — over off-white sections */
#nav.nav--light .nav-link { color: rgba(28,30,31,0.5); }
#nav.nav--light .nav-link:hover,
#nav.nav--light .nav-link.active { color: rgba(28,30,31,1); }
#nav.nav--light .nav-link.active::after { background: rgba(28,30,31,0.9); }
#nav.nav--light .lang-toggle { color: rgba(28,30,31,0.5); }
#nav.nav--light .lang-en.active,
#nav.nav--light .lang-es.active { color: rgba(28,30,31,1); }
#nav.nav--light .nav-logo-img { filter: invert(1); }

/* ── BLOBS — drinksom technique ─────────────────────────── */
.blob-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
}
/* Azul blob */
.blob--azul {
  width: 85%; height: 65%;
  background: radial-gradient(circle at center, var(--azul-dk) 0%, var(--azul-md) 28%, var(--azul) 55%, rgba(154,196,216,0.4) 75%, transparent 90%);
  filter: blur(75px);
  opacity: 0.82;
}
/* Fire blob */
.blob--fire {
  width: 80%; height: 60%;
  background: radial-gradient(circle at center, #4a0a03 0%, var(--fire) 35%, var(--orange) 60%, rgba(217,167,115,0.4) 80%, transparent 95%);
  filter: blur(75px);
  opacity: 0.80;
}
/* Positions */
.blob--azul:not([class*="--t"]):not([class*="--b"]) { top: 15%; left: 8%; }
.blob--tl  { top: -20%; left: -5%; }
.blob--tr  { top: -20%; right: -5%; }
.blob--br  { bottom: -20%; right: -5%; }
.blob--c   { top: 20%; left: 10%; }
.blob--bc  { bottom: -15%; left: 10%; }

/* ── WATERMARK — "Beyond. Always." effect ───────────────── */
.wm {
  position: absolute;
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.wm--hero {
  font-size: clamp(8rem, 22vw, 22rem);
  opacity: 0.04;
  bottom: -2rem; left: -2rem;
  white-space: nowrap;
}
.wm--r {
  font-size: clamp(6rem, 16vw, 16rem);
  opacity: 0.04;
  top: 50%; right: -2rem;
  transform: translateY(-50%);
  white-space: nowrap;
}
.wm--l {
  font-size: clamp(6rem, 16vw, 16rem);
  opacity: 0.04;
  top: 50%; left: -2rem;
  transform: translateY(-50%);
  white-space: nowrap;
}
.wm--c {
  font-size: clamp(6rem, 16vw, 16rem);
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.22);
  z-index: 1;
}
.s-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh + 20px);
  -webkit-transform: translateZ(0); /* Safari: force GPU layer */
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 4rem 4rem;
  background-image: url('images/hero-gradient.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* subtle vignette to help text readability */
.s-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.22) 100%);
  z-index: 2;
}
/* hero child elements above overlay */
.s-hero .hero-body,
.s-hero .hero-scroll,
.s-hero .wm { z-index: 3; }
.hero-body {
  position: relative;
  z-index: 3;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
}
.hero-eyebrow {
  font-family: var(--f-head);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1) 0.2s, transform 1.1s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.hero-eyebrow.enter { opacity: 1; transform: translateY(0); }

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  margin-bottom: 2rem;
}
.ht-top {
  display: block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1) 0.4s, transform 1.2s cubic-bezier(0.16,1,0.3,1) 0.4s;
}
.ht-top.enter { opacity: 0.5; transform: translateY(0); }

/* ── CYCLING WORDS (WE MAKE ___) — slot machine ───────────── */
@keyframes cw-slide {
  to { translate: 0 var(--cw-dest); }
}

.cw-wrap {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}
.cw-spacer {
  visibility: hidden;
  pointer-events: none;
}
.cw-slot {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
}
.cw-item {
  display: block;
  height: 100%;
  white-space: nowrap;
  translate: 0 var(--cw-origin, 300%);
  animation: cw-slide var(--cw-dur, 9s) var(--cw-delay, 0s) infinite linear;
}

.ht-accent {
  /* flex so that when ha-rest is 0-width, ha-v appears centered */
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--f-brand);
  font-size: clamp(4.5rem, 13.5vw, 13.5rem);
  line-height: 0.95;
  padding-bottom: 0.05em;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition: opacity 1.4s cubic-bezier(0.16,1,0.3,1) 0.55s, transform 1.4s cubic-bezier(0.16,1,0.3,1) 0.55s;
}
.ht-accent.enter { opacity: 1; transform: translateY(0); }
.ha-v {
  flex-shrink: 0;
  will-change: transform;
  transition: transform 1.8s cubic-bezier(0.16,1,0.3,1);
}
.ha-rest {
  /* no max-width, no layout animation — pure opacity + transform (GPU only) */
  display: inline-block;
  opacity: 0;
  transform: translateX(30px);
  will-change: opacity, transform;
  transition: opacity 0.7s ease, transform 1.8s cubic-bezier(0.16,1,0.3,1);
}
.ha-rest.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.hero-sub {
  font-family: var(--f-head);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1) 0.95s, transform 1.1s cubic-bezier(0.16,1,0.3,1) 0.95s;
}
.hero-sub.enter { opacity: 1; transform: translateY(0); }

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1) 1.15s, transform 1.1s cubic-bezier(0.16,1,0.3,1) 1.15s;
}
.hero-ctas.enter { opacity: 1; transform: translateY(0); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.hs-line {
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(28,30,31,0.5));
  animation: lineAnim 2s ease-in-out infinite;
}
@keyframes lineAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hs-label {
  font-family: var(--f-head);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--f-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-line {
  font-family: var(--f-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.9rem 1rem;
  transition: color 0.2s, transform 0.2s;
}
.btn-line:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

/* ── SECTIONS SHARED ─────────────────────────────────────── */
.s-section {
  position: relative;
  min-height: 100vh;
  padding: 9rem 4rem 7rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  isolation: isolate;
}

/* Section head label + number */
.s-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
}
.s-head.visible { opacity: 1; transform: translateY(0); }
.s-num {
  font-family: var(--f-head);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.s-eyebrow {
  font-family: var(--f-head);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.s-head::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

/* Section title */
.s-title {
  position: relative;
  z-index: 2;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1) 0.1s, transform 1.2s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
.s-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; }
.s-title.visible { opacity: 1; transform: translateY(0); }

/* ── ABOUT ───────────────────────────────────────────────── */
.s-about {
  --bg:     #EDECEA;
  --ink:    #1c1e1f;
  --muted:  rgba(28,30,31,0.50);
  --border: rgba(28,30,31,0.15);
  background: #EDECEA;
  border-top: none;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -24px 60px rgba(0,0,0,0.18);
  position: relative;
  z-index: 10;
  margin-top: -16px;
  padding: 0;
  height: 500vh;
  overflow: clip;
}

/* ── ABOUT-SERVICES SCROLL SCENE ─────────────────────────── */
.ab-sv-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #EDECEA;
}

.absv-svc-anchor {
  position: absolute;
  top: 210vh;
  left: 0;
  height: 1px;
  width: 1px;
  pointer-events: none;
}

/* About left content column */
.absv-about {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  padding: calc(2rem - 100px) 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  overflow: hidden;
  will-change: opacity;
}


/* Pull headline + body text up independently */
.absv-about .about-text-group {
  margin-top: 100px;
}
.absv-about .s-head {
  padding-top: 100px;
  margin-bottom: -100px;
}

/* Pin carousel at bottom of about column */
.absv-about .brands-carousel {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  right: 0;
}

/* Services text overlay */
.absv-svcs-text {
  position: absolute;
  left: 50%;
  top: calc(42% - 25px);
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 520px;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

/* ── Left/right card columns ── */
.absv-cards-left,
.absv-cards-right {
  position: absolute;
  top: 0;
  width: 37%;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr;
  gap: 20px;
  /* B3: cinematic ease-in-out on grid resize */
  transition: grid-template-rows 0.65s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity;
  z-index: 2;
  overflow: hidden;
}
.absv-cards-left  { left: 0; }
.absv-cards-right { right: 0; }

/* Each card fills its grid cell */
.svcs-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #edecea;
  transition: opacity 0.4s ease;
}

/* ── Photo background ── */
.svcs-photo-bg {
  position: absolute;
  top: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.82);
  /* A2: width snaps with spring overshoot, height goes smooth */
  transition: filter 0.4s ease,
              width  0.6s cubic-bezier(0.34, 1.4, 0.64, 1),
              left   0.6s cubic-bezier(0.34, 1.4, 0.64, 1),
              right  0.6s cubic-bezier(0.34, 1.4, 0.64, 1),
              height 0.55s cubic-bezier(0.4,0,0.2,1),
              top    0.55s cubic-bezier(0.4,0,0.2,1),
              bottom 0.55s cubic-bezier(0.4,0,0.2,1);
}
/* Left column: photo on right side */
.absv-cards-left .svcs-photo-bg {
  right: 0; left: auto;
  width: 32%;
}
/* Right column: photo on left side */
.absv-cards-right .svcs-photo-bg {
  left: 0; right: auto;
  width: 32%;
}
/* Hover: photo goes to 30% saturation */
.svcs-card:hover .svcs-photo-bg {
  filter: grayscale(0%) saturate(30%) brightness(0.85);
}

/* ── Resting text area ── */
.svcs-rest {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.6rem 1.8rem;
  z-index: 2;
  transition: opacity 0.35s ease, top 0.55s cubic-bezier(0.4,0,0.2,1),
              width 0.55s cubic-bezier(0.4,0,0.2,1);
}
.absv-cards-left  .svcs-rest { left: auto; right: 32%; width: 68%; text-align: right; align-items: flex-end; padding-right: 1.4rem; }
.absv-cards-right .svcs-rest { right: auto; left: 32%; width: 68%; text-align: left;  align-items: flex-start; padding-left: 1.4rem; }

/* Number + dash row */
.svcs-num-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.svcs-num {
  font-family: var(--f-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.5;
}
.svcs-num-line {
  height: 1px;
  width: 1.8rem;
  background: currentColor;
  opacity: 0.3;
}

/* Service title */
.svcs-rest .svcs-title {
  font-family: var(--f-head);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}

/* Tags */
.svcs-tags {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.svcs-tags span {
  font-family: var(--f-head);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
}

/* Explore button */
.svcs-explore {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
}
.svcs-arr-circle {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.svcs-explore span:last-child {
  font-family: var(--f-head);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.45;
}

/* ── Expanded content (inside each card, shown on click) ── */
.svcs-expanded {
  position: absolute;
  inset: 0;
  background: #edecea;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  /* slight delay so photo strip animation plays first */
  transition: opacity 0.35s ease 0.15s;
  z-index: 8;
  overflow: hidden;
  /* top aligns with strip top (65px) + 10px gap; right clears 55px strip */
  padding: 75px 64px 1.4rem 90px;
}
.svcs-card.is-open .svcs-expanded {
  opacity: 1;
  pointer-events: auto;
}

/* Title + X button row */
.svcs-exp-header {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  width: 100%;
  margin-bottom: 0.55rem;
}
.absv-cards-left .svcs-exp-header  { flex-direction: row-reverse; }
.absv-cards-right .svcs-exp-header { flex-direction: row; }

.svcs-exp-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-head);
  font-size: 1.2rem;
  color: var(--ink);
  opacity: 0.4;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.svcs-exp-close:hover { opacity: 1; }

/* Big service title */
.svcs-exp-title {
  font-family: var(--f-head);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.92;
  margin: 0;
  text-align: right;
  flex: 1;
}

/* Thin divider rule */
.svcs-exp-rule {
  width: 100%;
  height: 1px;
  background: rgba(28,30,31,0.18);
  margin-bottom: 0.7rem;
  flex-shrink: 0;
}

/* Description paragraph */
.svcs-exp-desc {
  font-family: var(--f-body);
  font-size: clamp(0.88rem, 1.20vw, 1.10rem);
  color: var(--ink);
  line-height: 1.55;
  opacity: 0.8;
  margin: 0 0 calc(0.9rem + 10px);
  width: 100%;
  font-weight: 500;
  text-align: right;
}

/* Icon items: 2-col grid full width */
.svcs-exp-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.2rem;
  width: 100%;
  direction: rtl;
}
.svcs-exp-items span {
  font-family: var(--f-head);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  opacity: 0.85;
  direction: ltr;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35em;
}
.svc-icon {
  width: 0.9em;
  height: 0.9em;
  flex-shrink: 0;
  stroke: currentColor;
}

/* ── Right column: expanded text left-aligned (photo strip is on left) ── */
.absv-cards-right .svcs-expanded {
  align-items: flex-start;
  padding: 75px 90px 1.4rem 64px;
}
.absv-cards-right .svcs-exp-title,
.absv-cards-right .svcs-exp-desc {
  text-align: left;
}
/* Q2 + Q4: single-line titles */
.absv-cards-right .svcs-card[data-idx="2"] .svcs-exp-title,
.absv-cards-right .svcs-card[data-idx="3"] .svcs-exp-title {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  white-space: nowrap;
}
.absv-cards-right .svcs-exp-items {
  direction: ltr;
}
.absv-cards-right .svcs-exp-items span {
  justify-content: flex-start;
  text-align: left;
}

/* ── Photo-bg: rise above expanded when card is open ── */
.svcs-card.is-open .svcs-photo-bg {
  z-index: 9;
}

/* ═══ OPEN-TOP: top card is open ═══ */
.absv-cards-left.open-top,
.absv-cards-right.open-top {
  grid-template-rows: 73fr 27fr;
}
/* Q1 open: photo narrows to thin vertical strip on right */
.open-top .svcs-card[data-idx="0"] .svcs-photo-bg {
  right: 0; left: auto;
  width: 55px; height: calc(100% - 130px);
  top: 65px; bottom: 65px;
  filter: none;
  background-position: calc(50% + 25px) center;
}
/* Q2 open: photo narrows to thin vertical strip on left */
.open-top .svcs-card[data-idx="2"] .svcs-photo-bg {
  left: 0; right: auto;
  width: 55px; height: calc(100% - 130px);
  top: 65px; bottom: 65px;
  filter: none;
}
.open-top .svcs-card[data-idx="1"],
.open-top .svcs-card[data-idx="3"] { opacity: 0.4; }

/* ═══ OPEN-BOTTOM: bottom card is open ═══ */
.absv-cards-left.open-bottom,
.absv-cards-right.open-bottom {
  grid-template-rows: 27fr 73fr;
}
/* Q3 open: photo narrows to thin vertical strip on right */
.open-bottom .svcs-card[data-idx="1"] .svcs-photo-bg {
  right: 0; left: auto;
  width: 55px; height: calc(100% - 130px);
  top: 65px; bottom: 65px;
  filter: none;
}
/* Q4 open: photo narrows to thin vertical strip on left */
.open-bottom .svcs-card[data-idx="3"] .svcs-photo-bg {
  left: 0; right: auto;
  width: 55px; height: calc(100% - 130px);
  top: 65px; bottom: 65px;
  filter: none;
}
.open-bottom .svcs-card[data-idx="0"],
.open-bottom .svcs-card[data-idx="2"] { opacity: 0.4; }

/* ── Option A: stagger cascade ── */
.svcs-exp-header,
.svcs-exp-rule,
.svcs-exp-desc,
.svcs-exp-items span {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svcs-card.is-open .svcs-exp-header {
  opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}
.svcs-card.is-open .svcs-exp-rule {
  opacity: 1; transform: translateY(0); transition-delay: 0.3s;
}
.svcs-card.is-open .svcs-exp-desc {
  opacity: 0.8; transform: translateY(0); transition-delay: 0.38s;
}
.svcs-card.is-open .svcs-exp-items span:nth-child(1) { opacity: 0.85; transform: translateY(0); transition-delay: 0.46s; }
.svcs-card.is-open .svcs-exp-items span:nth-child(2) { opacity: 0.85; transform: translateY(0); transition-delay: 0.52s; }
.svcs-card.is-open .svcs-exp-items span:nth-child(3) { opacity: 0.85; transform: translateY(0); transition-delay: 0.58s; }
.svcs-card.is-open .svcs-exp-items span:nth-child(4) { opacity: 0.85; transform: translateY(0); transition-delay: 0.64s; }
.svcs-card.is-open .svcs-exp-items span:nth-child(5) { opacity: 0.85; transform: translateY(0); transition-delay: 0.70s; }
.svcs-card.is-open .svcs-exp-items span:nth-child(6) { opacity: 0.85; transform: translateY(0); transition-delay: 0.76s; }

/* Q1 + Q2 (top cards): 50px space at top */
.absv-cards-left  .svcs-card[data-idx="0"],
.absv-cards-right .svcs-card[data-idx="2"] {
  margin-top: 50px;
}

/* Q3 + Q4 (bottom cards): 50px space at bottom */
.absv-cards-left  .svcs-card[data-idx="1"],
.absv-cards-right .svcs-card[data-idx="3"] {
  margin-bottom: 50px;
}

/* V logo wrapper (position driven by JS) */
.absv-logo-wrap {
  position: absolute;
  top: 0;
  height: 200%;  /* starts tall (like original); JS shrinks to 100% at center */
  z-index: 3;
  will-change: left, width;
  pointer-events: none;
}
.absv-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  mix-blend-mode: multiply;
  display: block;
}

/* New about layout */
/* .about-layout — replaced by absv scene */

.about-left {
  padding: 7rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: flex-start;
}

.about-subtitle {
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
  opacity: 0.5;
  margin-top: -0.5rem;
}

.about-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--f-head);
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.about-hl-strong {
  color: var(--ink);
}

.about-hl-muted {
  color: rgba(28,30,31,0.28);
}

.about-stats-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 1.4rem;
}
.about-stat:first-child { padding-left: 0; }

.about-stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

.as-n {
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ink);
  line-height: 1;
}

.as-l {
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-tagline-bl {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--f-head);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  line-height: 1.8;
}

/* .about-right — replaced by absv scene */

/* .about-v-img — replaced by absv-logo-img */

.about-sidebar-list {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-agency-label {
  position: absolute;
  right: 2rem;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.8;
}
.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
}
.stat-item {}
.stat-top {
  display: flex;
  align-items: baseline;
  gap: 0.15em;
  margin-bottom: 0.4rem;
}
.stat-n {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-u {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  opacity: 0.6;
}
.stat-l {
  font-family: var(--f-head);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-text {}
.about-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 2.5rem;
  opacity: 0.7;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}
.about-p {
  font-size: 1.14rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.about-p.visible { opacity: 1; transform: translateY(0); }

.about-text-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 22vh;
}
.about-p:nth-child(2) { transition-delay: 0.1s; }
.about-p:nth-child(3) { transition-delay: 0.22s; }

/* About — layout */
.about-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Main row: ghost absolute left, text centered */
.about-main-row {
  position: relative;
  margin-bottom: 5rem;
}

/* Body text — 2-col centered grid, same as before */
.about-body-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Last paragraph accent spans both cols */
.about-p--accent {
  grid-column: 1 / -1;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  opacity: 0;
  color: var(--ink) !important;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.about-p--accent.visible { opacity: 0.65 !important; }

/* Ghost stat — absolute left, doesn't affect text layout */
.about-ghost-stat {
  position: absolute;
  left: 6%;
  top: 0;
  transform: none;
  text-align: left;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  user-select: none;
}
.about-ghost-stat.gs-visible { opacity: 1; }
.ghost-n {
  font-family: var(--f-head);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(28,30,31,0.10);
  -webkit-text-stroke: 0;
}
.ghost-l {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.25;
  margin-top: 0.8rem;
}

.s-about::before,
.s-about::after { display: none; }

/* ── BRANDS CAROUSEL ─────────────────────────────────────── */
.brands-carousel {
  position: relative;
  z-index: 2;
  padding: 0 0 3rem;
  margin-top: 100px;
  width: calc(100% + 350px);
}
.brands-label {
  font-family: var(--f-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0.7rem;
}
.brands-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.brands-track {
  display: flex;
  align-items: center;
  gap: calc(2.5rem + 40px);
  width: max-content;
  animation: brandScroll 60.1s linear infinite;
}
@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.brand-logo:hover { opacity: 0.9; }
/* Individual logo size tweaks */
.brand-logo[alt="Puma"],
.brand-logo[alt="Uber Eats"],
.brand-logo[alt="Adidas"] { height: 32px; }
.brand-logo[alt="Lala"]      { height: 38px; }
.brand-logo[alt="Mora Mora"] { height: 42px; }
.brand-logo[alt="Corona"],
.brand-logo[alt="Modelo"]    { height: 46px; }
.brand-logo[alt="Uber Eats"] { height: 35px; }
.brand-logo[alt="Elite"]     { height: 29px; }
.brand-logo[alt="Bimbo"]     { height: 32px; }
.brand-logo[alt="Nike"]      { height: 24px; }
.brand-logo[alt="Emwa"]      { height: 22px; }
.brand-logo[alt="Rinat"]     { height: 19px; }
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
}

/* ── SCROLL EXPAND — About → Services ───────────────────── */
.se-wrapper {
  position: relative;
  height: 300vh;
  margin-top: calc(-60vh - 100px); /* pull up so box enters sooner */
  z-index: 5;        /* below about (z-index:10) so about content stays on top */
}
.se-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-end;       /* box anchored to bottom of viewport */
  justify-content: center;
  background: #EDECEA;         /* matches about section off-white */
}
.se-media {
  position: relative;
  width: 68vw;
  height: 26vh;
  border-radius: 16px 16px 0 0; /* only top corners — bottom flush with viewport edge */
  overflow: hidden;
  background: url('images/gradient-azul-vivid.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  /* NO transition — scroll-driven, must be real-time */
}
.se-text {
  text-align: center;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}
.se-eyebrow {
  font-family: var(--f-head);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,245,243,0.55);
  margin-bottom: 1.2rem;
}
.se-title {
  font-family: var(--f-brand);
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ── SERVICES — ECOSYSTEM ─────────────────────────────────── */
.s-services-new {
  position: relative;
  background: #EDECEA;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Full-height hourglass connector — centered, blends with cream bg */
.svcs-connector {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
  object-position: top center;
}

/* ── Top area: eyebrow / headline / body (left) + sidebar (right) ── */
.svcs-top {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 5rem 5rem 3rem;
  position: relative;
  z-index: 1;
  gap: 3rem;
}

.svcs-top-left {
  max-width: 440px;
}

.svcs-eyebrow {
  font-family: var(--f-head);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.svcs-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: #888;
}


.absv-svcs-text .svcs-headline {
  -webkit-text-stroke: 4px #EDECEA;
  paint-order: stroke fill;
}

/* Center eyebrow inside the scroll scene (no left-rule) */
.absv-svcs-text .svcs-eyebrow {
  justify-content: center;
}
.absv-svcs-text .svcs-eyebrow::before {
  display: none;
}

.svcs-headline {
  font-family: var(--f-head);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 0.94;
  color: #1c1e1f;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  letter-spacing: -0.02em;
}

.svcs-headline-muted {
  color: rgba(28,30,31,0.35);
}

.svcs-body {
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  max-width: 320px;
}

.svcs-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.svcs-float-label {
  font-family: var(--f-head);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  text-align: right;
  line-height: 1.6;
}

.svcs-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  border-right: 1px solid rgba(28,30,31,0.5);
  padding-right: 1rem;
}

.svcs-sidebar span {
  font-family: var(--f-head);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c1e1f;
}

/* ── Bottom labels ── */
.svcs-ecosystem-label {
  position: absolute;
  bottom: 302px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
  z-index: 1;
  text-align: center;
  line-height: 1.6;
}

.svcs-higher-label {
  position: absolute;
  bottom: 302px;
  right: 5rem;
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
  z-index: 1;
  text-align: right;
  line-height: 1.6;
}

/* ── Cards strip: 5-column grid ── */
.svcs-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 160px 1fr 1fr;
  height: 290px;
  z-index: 1;
}

/* Individual card */
.svcs-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.svcs-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              filter 0.4s ease;
}

.svcs-card:hover .svcs-card-bg {
  transform: scale(1.05);
}

.svcs-strip.has-active .svcs-card:not(.svcs-active) .svcs-card-bg {
  filter: brightness(0.3);
}

.svcs-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  color: #fff;
}

.svcs-num {
  font-family: var(--f-head);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.svcs-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.svcs-card-title {
  font-family: var(--f-head);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.svcs-card-tags {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.svcs-card-tags span {
  font-family: var(--f-head);
  font-size: 0.46rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.svcs-arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  align-self: flex-start;
  transition: transform 0.3s ease, color 0.3s ease;
}

.svcs-card:hover .svcs-arrow {
  transform: translateX(5px);
  color: #fff;
}

/* Center stem column */
.svcs-stem {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.svcs-stem img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 500%;
  width: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
}

/* ── Overlay system ── */
.svcs-ov {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.4rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  background: rgba(18, 18, 18, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
}

.svcs-ov.active { opacity: 1; }

.svcs-ov-title {
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1.05;
}

.svcs-ov-desc {
  font-family: var(--f-body);
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}

/* ── ROSTER ──────────────────────────────────────────────── */
#roster-shader-canvas { display: none; }
.s-roster {
  --bg:    #EDECEA;
  --ink:   #1c1e1f;
  --muted: rgba(28,30,31,0.5);
  min-height: 100vh;
  overflow: visible;
  background: #EDECEA;
  color: #1c1e1f;
  padding: 0 !important;
}

/* Two-column layout: sidebar + carousel */
.r-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  overflow: visible;
}

/* Left sidebar */
.r-sidebar {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
}
.s-roster .s-head { position: relative; z-index: 2; }
.s-roster .s-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-bottom: 2rem;
}
.s-roster .ra-default-title {
  font-size: clamp(4.9rem, 7.35vw, 10.7rem);
  margin-bottom: 0;
}
.r-side-sub {
  font-family: var(--f-head);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.r-side-copy {
  font-size: 0.88rem;
  line-height: 1.78;
  color: rgba(28,30,31,0.5);
  margin-bottom: 2.5rem;
}
.r-side-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.r-meta-n {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.r-meta-l {
  font-family: var(--f-head);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.r-drag-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.r-drag-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--muted);
  opacity: 0.4;
}
.r-drag-label {
  font-family: var(--f-head);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}

/* Carousel track */
.r-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.r-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  width: max-content;
}

/* Cards inside carousel — tall poster style, 3 visible + peek of 4th */
.r-card {
  position: relative;
  /* sidebar(340) + layout-gap(64) + section-padding(128) + 3 gaps(60) + peek(60) = 652 */
  width: clamp(220px, calc((100vw - 652px) / 3), 300px);
  height: 72vh;
  flex-shrink: 0;
  overflow: hidden;
  cursor: none;
}
.r-img {
  position: absolute; inset: 0;
  filter: grayscale(0%);
  transition: transform 0.6s ease;
}
.r-card:hover .r-img {
  transform: scale(1.04);
}
.r-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3.5rem 1.2rem 1.4rem;
  background: linear-gradient(to top, rgba(20,22,23,0.96) 0%, rgba(20,22,23,0.6) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.3s;
}
.r-card:hover .r-info { opacity: 0; }
.r-flag {
  font-family: var(--f-head);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: rgba(244,245,243,0.45);
  margin-bottom: 0.4rem;
}
.r-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4f5f3;
  margin-bottom: 0.75rem;
}
.r-pos {
  font-family: var(--f-head);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(244,245,243,0.14);
  padding-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.r-pos::after {
  content: '+';
  font-size: 1rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.7;
}
.r-hover {
  position: absolute; inset: 0;
  background: rgba(28,30,31,0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.r-card:hover .r-hover { opacity: 1; }
.r-name-lg {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f4f5f3;
  margin-bottom: 1.2rem;
}
.r-stats { display: flex; flex-direction: column; gap: 0.5rem; }
.r-stats div { display: flex; justify-content: space-between; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(244,245,243,0.12); }
.rs-k, .rs-v {
  font-family: var(--f-head);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rs-k { color: rgba(244,245,243,0.45); }
.rs-v { color: rgba(244,245,243,0.85); }

/* ── ROSTER ACCORDION (new) ──────────────────────────────── */
.ra-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

/* Left panel */
.ra-panel {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9rem 2.5rem 3.5rem 4rem;
  overflow: visible;
}

/* Default content */
.ra-default { opacity: 1; transition: opacity 0.35s ease; }
.ra-default.ra-hidden { opacity: 0; pointer-events: none; position: absolute; bottom: 3.5rem; left: 2.5rem; right: 2.5rem; }

/* Player mode — shift whole block up, smaller title, fade out sub-content */
.ra-default.ra-player-mode {
  transform: translateY(-50px);
  transition: transform 0.35s ease;
}
.ra-default {
  transition: transform 0.35s ease;
}
.ra-default.ra-player-mode .ra-default-title {
  font-size: clamp(2.5rem, 4.5vw, 6.5rem);
  transform: translateY(50px);
}
.ra-default.ra-player-mode .s-head {
  transform: translateY(-50px);
}
.ra-title-first {
  font-weight: 200;
}
.ra-title-last {
  font-size: 1.2em;
}

/* Stats card — absolutely positioned, column layout */
.ra-panel-stats {
  position: absolute;
  left: 4rem;
  right: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
  margin-top: 100px;
}
.ra-panel-stats.ra-stats-visible { opacity: 1; pointer-events: auto; }
/* ── STATS CARD (reference image design) ─────────────────── */
.rps-row1, .rps-row2 {
  display: flex; align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(28,30,31,0.12);
}
.rps-r1cell {
  display: flex; flex-direction: column; gap: 0.1rem;
  flex: 1; padding: 0 0.7rem;
}
.rps-r1cell:first-child { padding-left: 0; }
.rps-flagcell { flex-direction: row; align-items: center; gap: 0.5rem; }
.rps-flag { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.rps-flagtext { display: flex; flex-direction: column; }
.rps-r1val {
  font-family: var(--f-head); font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.06em; color: #1c1e1f; text-transform: uppercase;
}
.rps-r1big {
  font-family: var(--f-head); font-size: 1.56rem; font-weight: 800;
  letter-spacing: -0.02em; color: #1c1e1f; line-height: 1;
}
.rps-r1lbl {
  font-family: var(--f-head); font-size: 0.48rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(28,30,31,0.4);
}
.rps-vdiv  { display: block; width: 1px; height: 2rem;   background: rgba(28,30,31,0.15); flex-shrink: 0; }
.rps-vdiv2 { display: block; width: 1px; height: 1.6rem; background: rgba(28,30,31,0.15); flex-shrink: 0; align-self: center; }

.rps-r2cell {
  display: flex; flex-direction: column; gap: 0.15rem;
  flex: 1; padding: 0 0.5rem;
}
.rps-r2cell:first-child { padding-left: 0; }
.rps-r2lbl {
  font-family: var(--f-head); font-size: 0.46rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(28,30,31,0.4);
}
.rps-r2val {
  font-family: var(--f-head); font-size: 1.2rem; font-weight: 800;
  letter-spacing: 0.02em; color: #1c1e1f;
}

/* Gauges row */
.rps-gauges {
  display: flex; gap: 0.3rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(28,30,31,0.12);
}
.rps-gauge {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.rps-gring {
  position: relative; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.rps-gval {
  position: relative; z-index: 1;
  font-family: var(--f-head); font-size: 0.98rem; font-weight: 800; color: #1c1e1f;
}
.rps-glbl {
  font-family: var(--f-head); font-size: 0.43rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(28,30,31,0.5); text-align: center; line-height: 1.6;
}

/* CTA row */
.rps-ctarow {
  display: flex; align-items: center; gap: 1rem; padding-top: 0.75rem;
}
.rps-cta-dark {
  display: inline-flex; align-items: center;
  background: #1c1e1f; color: #EDECEA;
  font-family: var(--f-head); font-size: 0.58rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 0.75em 1.3em; border-radius: 999px; white-space: nowrap;
}
.rps-cta-play {
  display: flex; align-items: center; gap: 0.6rem;
  background: none; border: none; cursor: pointer; padding: 0;
}
.rps-playbtn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(28,30,31,0.3);
  display: flex; align-items: center; justify-content: center; color: #1c1e1f;
  flex-shrink: 0;
}
.rps-playlbl {
  font-family: var(--f-head); font-size: 0.48rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(28,30,31,0.6); line-height: 1.6; text-align: left;
}
.ra-default.ra-player-mode .r-side-sub,
.ra-default.ra-player-mode .r-side-copy,
.ra-default.ra-player-mode .ra-stats-row,
.ra-default.ra-player-mode .ra-ctas,
.ra-default.ra-player-mode .ra-hint {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.r-side-sub, .r-side-copy, .ra-stats-row, .ra-ctas, .ra-hint {
  transition: opacity 0.3s ease;
}
.ra-default-title {
  font-size: clamp(14rem, 26vw, 30rem);
  line-height: 0.85;
  margin-bottom: 1.2rem;
  position: relative;
  top: -150px;
  margin-top: -150px;
}
.ra-hint { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }

/* Stats row: 9 PLAYERS | 5 COUNTRIES | 1 VISION */
.ra-stats-row {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 2rem; margin-top: 0.5rem;
  border-top: 1px solid rgba(28,30,31,0.12);
  border-bottom: 1px solid rgba(28,30,31,0.12);
  padding: 1rem 0;
}
.ra-stat-item {
  display: flex; flex-direction: column; align-items: flex-start; flex: 1;
}
.ra-stat-num {
  font-family: var(--f-head); font-weight: 800;
  font-size: 2.2rem; line-height: 1;
  letter-spacing: -0.03em; color: #1c1e1f;
}
.ra-stat-lbl {
  font-family: var(--f-head); font-size: 0.48rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(28,30,31,0.4); margin-top: 0.2rem;
}
.ra-stat-divider {
  width: 1px; height: 2.5rem;
  background: rgba(28,30,31,0.15); flex-shrink: 0; margin: 0 1rem;
}

/* CTAs */
.ra-ctas {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem;
}
.ra-cta-pill {
  display: inline-flex; align-items: center;
  background: #1c1e1f; color: #EDECEA;
  font-family: var(--f-head); font-size: 0.52rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.7em 1.5em; border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.ra-cta-pill:hover { background: #000; }
.ra-cta-play {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(28,30,31,0.25);
  background: transparent; color: #1c1e1f;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.ra-cta-play:hover { background: rgba(28,30,31,0.08); border-color: rgba(28,30,31,0.5); }

/* Number badges on capsules */
.ra-strip-num {
  position: absolute; top: calc(1rem + 5px); left: calc(1rem + 10px); z-index: 5;
  font-family: var(--f-head); font-size: 1.25rem;
  letter-spacing: 0.08em; font-weight: 700;
  color: rgba(244,245,243,0.35);
  line-height: 1;
}

/* Player info content */
.ra-player { opacity: 0; transition: opacity 0.35s ease; pointer-events: none; position: absolute; bottom: calc(3.5rem + 20px); left: 2.5rem; right: 2.5rem; }
.ra-player.ra-visible { opacity: 1; pointer-events: auto; }

.ra-player-flag-pos { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.ra-flag {
  font-family: var(--f-head); font-size: 0.48rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(28,30,31,0.4);
  border: 1px solid rgba(28,30,31,0.2); padding: 0.2em 0.6em;
}
.ra-pos {
  font-family: var(--f-head); font-size: 0.5rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(28,30,31,0.5);
}
.ra-name {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(1.8rem, 2.88vw, 2.88rem); line-height: 0.9;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: #1c1e1f; margin-bottom: 1.2rem;
}
.ra-bio {
  font-size: 0.8rem; line-height: 1.7; color: rgba(28,30,31,0.5);
  margin-bottom: 1.5rem;
}
.ra-stats-grid {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(28,30,31,0.1);
}
.ra-stat-row {
  display: flex; justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(28,30,31,0.1);
}
.ra-sk { font-family: var(--f-head); font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(28,30,31,0.35); }
.ra-sv { font-family: var(--f-head); font-size: 0.52rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(28,30,31,0.8); }
.ra-stats-section-label {
  font-family: var(--f-head); font-size: 0.44rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(28,30,31,0.25);
  padding: 0.8rem 0 0.3rem; display: block;
}

/* Strips outer — fixed 5-strip window, right-aligned */
.ra-strips-outer {
  flex: 0 0 auto;
  width: calc(5 * 95px + 4 * 24px); /* 571px */
  margin-left: auto;
  margin-right: 160px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: stretch;
  padding: 80px 0;
  transition: width 0.65s cubic-bezier(0.4,0,0.2,1);
}
/* Inner clip — only clips the sliding strip track */
.ra-strips-clip {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: stretch;
  position: relative;
}
.ra-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(28,30,31,0.75); border: 1px solid rgba(28,30,31,0.15);
  color: rgba(244,245,243,0.9);
  border-radius: 999px;
  font-family: var(--f-head); font-size: 0.52rem; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.3s;
  padding: 0.55em 1.1em; white-space: nowrap;
}
.ra-nav:hover { background: rgba(28,30,31,1); }
.ra-nav.ra-hidden { opacity: 0; pointer-events: none; }
.ra-prev { left: 8px; }

/* Standalone PREV PLAYER button */
.ra-nav-prev {
  position: absolute;
  left: -92px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ra-nav-prev.ra-hidden { opacity: 0; pointer-events: none; }

/* Standalone NEXT PLAYER button */
.ra-nav-next {
  position: absolute;
  right: -92px; /* 50px outside the right edge of the strips */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ra-nav-next.ra-hidden { opacity: 0; pointer-events: none; }
.ra-next-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,30,31,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #1c1e1f;
  transition: border-color 0.25s, background 0.25s;
}
.ra-nav-next:hover .ra-next-circle {
  border-color: #1c1e1f;
  background: rgba(28,30,31,0.07);
}
.ra-next-label {
  font-family: var(--f-head);
  font-size: 0.44rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(28,30,31,0.45);
  white-space: nowrap;
}

/* Strip track — always all strips, slides via translateX */
.ra-strips {
  display: flex; align-items: stretch; height: 100%;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
/* When any strip is active, outer expands to show it */
.ra-strips-outer:has(.ra-active) {
  width: calc(275px + 4 * 64px + 4 * 24px);
}
.ra-strips:has(.ra-active) .ra-strip:not(.ra-active) {
  flex: 0 0 64px;
  transform: scaleY(0.85);
}
.ra-strip {
  position: relative;
  flex: 0 0 95px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 999px;
  transition: flex 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.ra-strip.ra-active {
  flex: 0 0 275px;
  border-radius: 20px;
}

.ra-strip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(1);
  transition: transform 0.65s ease, filter 0.65s ease;
}
.ra-strip.ra-active img { transform: scale(1.03); filter: grayscale(0); }
.ra-strip--zoom img { transform: scale(1.45); }
.ra-strip--zoom.ra-active img { transform: scale(1.48); }
.ra-strip--zoom2 img { transform: scale(1.9) translate(-21px, -78px); }
.ra-strip--zoom2.ra-active img { transform: scale(1.93) translate(-21px, -78px); }
.ra-strip--zoomout img { transform: scale(0.8); }
.ra-strip--zoomout.ra-active img { transform: scale(0.83); }
.ra-strip--left img { object-position: -170px center; }
.ra-strip--zoom.ra-strip--left img { transform: scale(1.45); object-position: -170px center; }
.ra-strip--zoom.ra-strip--left.ra-active img { transform: scale(1.48); object-position: -170px center; }

.ra-strip-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.5s ease;
}
.ra-strip.ra-active .ra-strip-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%, transparent 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.ra-strip-label {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: var(--f-head);
  font-size: 1.54rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,245,243,0.9);
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.3s ease, writing-mode 0s, transform 0.3s ease, bottom 0.3s ease, left 0.3s ease;
}
.ra-strip.ra-active .ra-strip-label {
  opacity: 1;
  writing-mode: horizontal-tb;
  height: auto;
  bottom: 1.5rem;
  left: 1.5rem;
  transform: none;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(244,245,243,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ── CONTACT ────────────────────────────────────────────────── */
.s-contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  background-image: url('images/BGC3.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Shader canvas — fills the section behind everything */
#contact-shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Semi-transparent panel */
.contact-panel {
  position: relative;
  z-index: 1;
  width: 82%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4rem;
}

/* Two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-eyebrow {
  font-family: var(--f-head);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.contact-headline {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1c1e1f;
}
.contact-headline em { font-style: italic; }
.contact-body {
  font-family: var(--f-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.55);
}

/* Form card */
.c-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06),
              0 4px 12px rgba(0,0,0,0.08),
              0 12px 32px rgba(0,0,0,0.12),
              0 24px 60px rgba(0,0,0,0.10);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.c-card-label {
  font-family: var(--f-head);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.c-card-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.c-card-field label {
  font-family: var(--f-head);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.c-card-field input,
.c-card-field select,
.c-card-field textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: #1c1e1f;
  width: 100%;
  outline: none;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.c-card-field input::placeholder,
.c-card-field textarea::placeholder { color: rgba(0,0,0,0.25); }
.c-card-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1e1f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255,255,255,0.08);
  padding-right: 2.5rem;
  cursor: pointer;
}
.c-card-field select option { background: #fff; color: #1c1e1f; }
.c-card-field textarea { min-height: 120px; }
.c-card-btn {
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(0,0,0,0.75);
  border-radius: 6px;
  padding: 1rem 2rem;
  font-family: var(--f-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4f5f3;
  text-align: center;
  cursor: none;
  transition: background 0.2s, border-color 0.2s;
  width: 55%;
}
.c-card-btn:hover {
  background: rgba(0,0,0,0.9);
  border-color: rgba(0,0,0,0.9);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 3rem 4rem;
  background: #ffffff;
}
.footer-inner {}
.f-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.f-logo { display: flex; align-items: center; gap: 0.2rem; }
.f-logo img { filter: invert(1); }
.f-tag {
  font-family: var(--f-head);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.f-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.f-copy, .f-credit {
  font-family: var(--f-head);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

/* ── REVEAL on scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-eyebrow, .ht-top, .ht-accent, .hero-sub, .hero-ctas,
  .s-head, .s-title, .about-p, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   Breakpoints: ≤900px | ≤600px
═══════════════════════════════════════════════════════════ */

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-eyebrow, .ht-top, .ht-accent, .hero-sub, .hero-ctas,
  .s-head, .s-title, .about-p, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── CURSOR: natural on pure-touch devices ───────────────── */
@media (hover: none) and (pointer: coarse) {
  body, *, a, button { cursor: auto !important; }
  #cursorDot, #cursorRing { display: none !important; }
}

/* ── NAV — mobile top bar (hidden on desktop) ───────────── */
.nav-top-bar     { display: none; }
.nav-mobile-overlay { display: none; }

/* ═════════════════════════════════════════════════════════
   TABLET + MOBILE  (≤ 900px)
═════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── NAV ─────────────────────────────────────────────── */
  .nav-right-panel { display: none !important; }

  .nav-top-bar {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
    z-index: 501;
  }
  .nav-logo-mobile .nav-logo-img { height: 28px; width: auto; }
  #nav.nav--light .nav-logo-mobile .nav-logo-img { filter: invert(1); }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(244,245,243,0.9);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  #nav.nav--light .nav-hamburger span { background: rgba(28,30,31,0.85); }
  .nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(18, 20, 21, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
  }
  .nav-mobile-links .nav-link {
    font-family: var(--f-head);
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    letter-spacing: 0.08em;
    padding: 0.55rem 0;
    color: rgba(244,245,243,0.55);
    display: block;
    text-align: center;
    transition: color 0.2s;
  }
  .nav-mobile-links .nav-link:hover,
  .nav-mobile-links .nav-link:active { color: rgba(244,245,243,1); }
  .nav-mobile-lang { margin-top: 1.5rem; }
  .nav-mobile-lang .lang-toggle {
    font-family: var(--f-head);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: rgba(244,245,243,0.45);
    display: flex;
    gap: 0.15rem;
  }

  /* ── TICK BAR: hide ──────────────────────────────────── */
  .tick-bar { display: none !important; }

  /* ── HERO ────────────────────────────────────────────── */
  .s-hero {
    padding: 72px 1.5rem 3rem;
    min-height: 100svh;
    min-height: 100vh;
  }
  .hero-scroll { left: 1.5rem; }

  /* ── ABOUT / SERVICES SCROLL SCENE ──────────────────── */
  /* Disable the 500vh scroll-pinned layout, stack content */
  .s-about {
    height: auto !important;
    overflow: visible !important;
    border-radius: 12px 12px 0 0;
    padding: 0 !important;
  }
  .ab-sv-pin {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }
  /* About text block */
  .absv-about {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
  }
  .absv-about .s-head {
    padding-top: 0 !important;
    margin-bottom: 1.5rem !important;
  }
  .absv-about .about-text-group { margin-top: 0 !important; }
  .absv-about .brands-carousel {
    position: relative !important;
    bottom: auto !important; left: auto !important; right: auto !important;
    width: calc(100% + 3rem) !important;
    margin-left: -1.5rem;
    margin-top: 1.5rem;
  }
  /* Services headline */
  .absv-svcs-text {
    position: relative !important;
    left: auto !important; top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    text-align: left;
    max-width: 100%;
    width: 100%;
  }
  .absv-svcs-text .svcs-eyebrow::before { display: inline-block; }
  .absv-svcs-text .svcs-headline {
    -webkit-text-stroke: 0;
    paint-order: fill;
  }
  /* V logo: hide */
  .absv-logo-wrap { display: none !important; }

  /* Service card columns: 2-col grid */
  .absv-cards-left,
  .absv-cards-right {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 10px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }
  /* Remove the desktop 50px margin spacers */
  .absv-cards-left  .svcs-card[data-idx="0"],
  .absv-cards-right .svcs-card[data-idx="2"] { margin-top: 0 !important; }
  .absv-cards-left  .svcs-card[data-idx="1"],
  .absv-cards-right .svcs-card[data-idx="3"] { margin-bottom: 0 !important; }

  /* Card: fixed height + photo full-bleed */
  .svcs-card { min-height: 200px; }
  .absv-cards-left .svcs-photo-bg,
  .absv-cards-right .svcs-photo-bg {
    width: 100% !important;
    left: 0 !important; right: 0 !important;
    filter: grayscale(20%) brightness(0.5) !important;
  }
  /* Scrim for text readability */
  .absv-cards-left .svcs-card::after,
  .absv-cards-right .svcs-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,30,31,0.8) 0%, rgba(28,30,31,0.25) 55%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
  /* Text: full-width, left-aligned, light */
  .absv-cards-left .svcs-rest,
  .absv-cards-right .svcs-rest {
    left: 0 !important; right: 0 !important;
    width: 100% !important;
    text-align: left !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    z-index: 2;
  }
  .absv-cards-left  .svcs-rest .svcs-num,
  .absv-cards-right .svcs-rest .svcs-num,
  .absv-cards-left  .svcs-rest .svcs-title,
  .absv-cards-right .svcs-rest .svcs-title { color: rgba(244,245,243,0.95); }
  .absv-cards-left  .svcs-rest .svcs-tags span,
  .absv-cards-right .svcs-rest .svcs-tags span { color: rgba(244,245,243,0.5); }
  .absv-cards-left  .svcs-rest .svcs-explore span:last-child,
  .absv-cards-right .svcs-rest .svcs-explore span:last-child { color: rgba(244,245,243,0.6); }
  .absv-cards-left  .svcs-rest .svcs-arr-circle,
  .absv-cards-right .svcs-rest .svcs-arr-circle {
    color: rgba(244,245,243,0.9);
    border-color: rgba(244,245,243,0.35);
  }
  /* Num row: force ltr for left column */
  .absv-cards-left .svcs-num-row { flex-direction: row; }
  /* Expanded state: hide on mobile (complex interaction not needed) */
  .svcs-card.is-open .svcs-expanded { opacity: 0 !important; pointer-events: none !important; }

  /* About text sizes */
  .about-headline { font-size: clamp(1.8rem, 6vw, 3.5rem); }
  .about-p { font-size: 0.9rem; }

  /* ── ROSTER ──────────────────────────────────────────── */
  .s-roster { padding: 0 !important; }
  .ra-layout {
    flex-direction: column !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }
  .ra-panel {
    width: 100% !important;
    padding: 3rem 1.5rem 2rem !important;
    position: relative !important;
  }
  .ra-default-title {
    font-size: clamp(4.5rem, 20vw, 9rem) !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }
  .ra-panel-stats { left: 0 !important; right: 0 !important; }
  /* Strips: horizontal scroll container */
  .ra-strips-outer {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 1.5rem 3rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: block !important;
    position: relative;
  }
  .ra-strips-outer::-webkit-scrollbar { display: none; }
  .ra-strips-clip {
    overflow: visible !important;
    display: block !important;
    height: auto;
  }
  .ra-strips {
    display: flex !important;
    width: max-content !important;
    height: 55vw;
    min-height: 280px;
    max-height: 480px;
  }
  /* Outer width override when active strip changes width */
  .ra-strips-outer:has(.ra-active) { width: 100% !important; }
  /* Prev/next nav buttons: hide on mobile (swipe to scroll) */
  .ra-nav-prev, .ra-nav-next { display: none !important; }
  .ra-hint { display: none !important; }

  /* ── CONTACT ─────────────────────────────────────────── */
  .s-section { padding: 7rem 2rem 5rem; }
  .contact-panel { width: 95%; padding: 2.5rem 1.5rem; }
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .c-card-btn { width: 100%; }

  /* ── FOOTER ──────────────────────────────────────────── */
  .footer { padding: 2.5rem 1.5rem; }
  .f-top { flex-direction: column; gap: 0.8rem; }
  .f-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ═════════════════════════════════════════════════════════
   SMALL MOBILE  (≤ 600px)
═════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .s-hero { padding: 68px 1.2rem 2.5rem; }
  .hero-scroll { left: 1.2rem; bottom: 1.5rem; }

  .ab-sv-pin { padding: 2.5rem 1.2rem; }
  .absv-about .brands-carousel {
    width: calc(100% + 2.4rem) !important;
    margin-left: -1.2rem;
  }
  /* Service cards: single column */
  .absv-cards-left,
  .absv-cards-right {
    grid-template-columns: 1fr !important;
  }
  .svcs-card { min-height: 175px; }

  .ra-panel { padding: 2.5rem 1.2rem 1.5rem !important; }
  .ra-strips-outer { padding: 0 1.2rem 2.5rem !important; }
  .ra-default-title { font-size: clamp(3.8rem, 18vw, 7rem) !important; }
  .about-headline { font-size: clamp(1.6rem, 8vw, 2.5rem); }

  .contact-panel { padding: 2rem 1.2rem; }
  .footer { padding: 2rem 1.2rem; }
}
