/* ═══════════════════════════════════════════════════════
   SECTION 2 · WHY VELORAAXIS — split layout
   All colours / fonts / spacing from variables2.css
   ═══════════════════════════════════════════════════════ */

.whs-services {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background-color: var(--v2-color-black);
}

/* ── Background image layer (JS sets from data-bg-*) ── */
.whs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
  transition: opacity 0.6s ease;
}

.whs-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5,5,5,0.6) 0%,
    rgba(5,5,5,0.32) 42%,
    rgba(5,5,5,0.1) 70%,
    rgba(5,5,5,0.03) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.whs-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.whs-watermark svg {
  width: min(70vw, 700px);
  height: auto;
  color: var(--v2-gold-glow);
}

.whs-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(28px,5vh,64px) clamp(24px,5.5vw,88px);
  gap: clamp(24px,3vw,48px);
  box-sizing: border-box;
  overflow: hidden;
}

.whs-left {
  display: flex;
  flex-direction: column;
  gap: clamp(10px,1.4vh,18px);
  min-width: 0;
}

.whs-eyebrow { display: flex; align-items: center; gap: 10px; }
.whs-eyebrow__line {
  display: block;
  width: 34px; height: 1.5px;
  background: var(--v2-gold-400);
  flex-shrink: 0;
}
.whs-eyebrow__text {
  font-family: var(--v2-font-mono);
  font-size: clamp(8px,0.8vw,10px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--v2-gold-300);
}

.whs-company {
  font-family: var(--v2-font-body);
  font-size: clamp(8px,0.75vw,10px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v2-text-muted);
  margin: 0;
}

.whs-headline {
  font-family: var(--v2-font-display);
  font-size: clamp(36px,5.2vw,80px);
  font-weight: 700;
  line-height: 0.90;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.whs-hl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  background: var(--v2-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.whs-hl--gold {
  background: var(--v2-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.whs-body { display: flex; align-items: flex-start; gap: 10px; }
.whs-body__star {
  color: var(--v2-gold-400);
  font-size: 9px;
  margin-top: 4px;
  flex-shrink: 0;
}
.whs-body p {
  font-family: var(--v2-font-body);
  font-size: clamp(11px,0.95vw,14px);
  line-height: 1.74;
  color: var(--v2-text-muted);
  margin: 0;
  max-width: 44ch;
}

.whs-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--v2-color-line);
  padding-top: clamp(10px,1.6vh,18px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.whs-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(7px,1vh,11px) 6px;
  border-bottom: 1px solid var(--v2-color-line);
  cursor: default;
  transition: background var(--v2-transition-fast);
  border-radius: var(--v2-radius-xs);
}
.whs-pillar:last-child { border-bottom: none; }
.whs-pillar:hover { background: var(--v2-gold-glow); }


.whs-pillar__icon {
  width: clamp(14px,1.4vw,20px);
  height: clamp(14px,1.4vw,20px);
  color: var(--v2-gold-400);
  flex-shrink: 0;
}
.whs-pillar__icon svg { width: 100%; height: 100%; }

.whs-pillar__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.whs-pillar__name {
  font-family: var(--v2-font-body);
  font-size: clamp(10px,0.88vw,12.5px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--v2-text-primary);
  text-transform: uppercase;
}
.whs-pillar__desc {
  font-family: var(--v2-font-body);
  font-size: clamp(9px,0.76vw,11px);
  color: var(--v2-text-muted);
  line-height: 1.5;
}


.whs-right { position: relative; height: 100%; min-height: 0; padding: 0 2% 0 6%; }

.whs-card { position: absolute; border-radius: var(--v2-radius-lg); overflow: hidden; }

.whs-card--primary {
  left: 5%; top: 50%;
  transform: translateY(-50%);
  width: 58%;
  aspect-ratio: 1 / 1.1;
  max-height: 78%;
  background: var(--v2-color-canvas);
  box-shadow: var(--v2-shadow-lg), 0 0 0 1px var(--v2-color-line);
  z-index: 2;
  transition: transform 0.6s var(--v2-transition-base), box-shadow 0.6s var(--v2-transition-base);
}
.whs-card--primary:hover {
  transform: translateY(calc(-50% - 6px)) scale(1.015);
  box-shadow: var(--v2-shadow-lg), 0 0 0 1px var(--v2-gold-400), 0 0 32px var(--v2-gold-glow);
}

.whs-card__img-wrap { position: relative; width: 100%; height: calc(100% - 52px); }
.whs-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.whs-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(5,5,5,0.35) 100%);
}

.whs-card__tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--v2-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v2-gold-300);
  background: rgba(5,5,5,0.85);
  border: 1px solid var(--v2-gold-glow);
  border-radius: var(--v2-radius-pill);
  padding: 4px 9px;
}

.whs-card__footer {
  height: 52px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 16px;
  background: var(--v2-color-canvas);
  border-top: 1px solid var(--v2-color-line);
}
.whs-card__footer span {
  font-family: var(--v2-font-mono);
  font-size: clamp(6px,0.65vw,8px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v2-text-muted);
  line-height: 1.5;
}

.whs-card--secondary {
  right: -2%; bottom: 22%;
  width: 52%;
  background: var(--v2-color-canvas);
  border: 1px solid var(--v2-color-line);
  box-shadow: var(--v2-shadow-md), 0 0 24px var(--v2-gold-glow);
  z-index: 3;
  padding: clamp(16px,2vw,28px);
  transition: transform 0.6s var(--v2-transition-base), box-shadow 0.6s var(--v2-transition-base);
}
.whs-card--secondary:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: var(--v2-shadow-lg), 0 0 0 1px var(--v2-gold-400), 0 0 40px var(--v2-gold-glow);
}

.whs-card__proof {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: clamp(6px,1vh,12px);
}

.whs-proof__stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.whs-proof__value {
  font-family: var(--v2-font-display);
  font-size: clamp(40px,4.8vw,72px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0;
  background: var(--v2-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.whs-proof__suffix {
  font-size: 0.4em;
  margin-left: 2px;
  letter-spacing: 0.05em;
}
.whs-proof__label {
  font-family: var(--v2-font-mono);
  font-size: clamp(6px,0.62vw,8px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--v2-gold-300);
  margin: 0;
}
.whs-proof__rule {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--v2-gold-400), transparent);
  flex-shrink: 0;
}
.whs-proof__text {
  font-family: var(--v2-font-body);
  font-size: clamp(9px,0.82vw,11.5px);
  line-height: 1.70;
  color: var(--v2-text-muted);
  margin: 0;
  max-width: 26ch;
}
.whs-proof__em { font-style: normal; color: var(--v2-gold-300); display: block; margin-top: 3px; }

/* Elements start hidden; JS adds .is-visible to trigger entrance animation */




@keyframes whs-from-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes whs-word-rise {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes whs-from-right {
  from { opacity: 0; transform: translateX(60px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes whs-primary-enter {
  from { opacity: 0; transform: translateY(-50%) translateX(60px) scale(0.97); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}
@keyframes whs-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes whs-pillar-in {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}










@media (max-width: 1024px) {
  .whs-inner       { padding: clamp(24px,4vh,48px) clamp(20px,4vw,52px); gap: clamp(20px,2.5vw,36px); }
  .whs-headline    { font-size: clamp(28px,4.4vw,56px); }
  .whs-card--secondary { width: 48%; }
}
@media (max-width: 860px) {
  .whs-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: clamp(48px,7vh,72px) clamp(20px,5vw,40px) clamp(24px,4vh,40px);
    gap: clamp(24px,3vh,36px);
    align-items: start;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .whs-watermark   { display: none; }
  .whs-headline    { font-size: clamp(32px,7vw,52px); }
  .whs-right       { width: 100%; height: clamp(300px,44vw,440px); }
  .whs-card--primary   { width: 55%; left: 0; top: 50%; }
  .whs-card--secondary { width: 52%; right: 0; bottom: 18%; }
  .whs-proof__value{ font-size: clamp(34px,5.5vw,52px); }
}
@media (max-width: 560px) {
  .whs-inner       { padding: 52px 18px 32px; gap: 22px; }
  .whs-headline    { font-size: clamp(34px,10vw,52px); }
  .whs-pillar__desc{ display: none; }
  .whs-proof__value{ font-size: clamp(28px,7.5vw,44px); }
  .whs-right       { height: clamp(260px,68vw,360px); }
  .whs-card--primary   { width: 60%; left: 0; top: 50%; }
  .whs-card--secondary { width: 55%; right: 0; bottom: 15%; padding: 14px; }
  .whs-proof__text { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .whs-services * {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS — slide from left / right
   All triggered by .whs-services.is-visible
   ═══════════════════════════════════════════════════════════════ */

/* Initial state — hidden until reveal */
.whs-eyebrow,
.whs-company,
.whs-hl,
.whs-body,
.whs-pillars,
.whs-pillar,
.whs-card--primary,
.whs-card--secondary {
  opacity: 0;
  will-change: transform, opacity;
}

/* ── Slide from LEFT ── */
@keyframes vx-slide-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Slide from RIGHT (for elements without base transform) ── */
@keyframes vx-slide-right {
  from { opacity: 0; transform: translateX(60px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Slide from RIGHT preserving translateY(-50%) — for the primary card ── */
@keyframes vx-slide-right-centered {
  from { opacity: 0; transform: translateY(-50%) translateX(60px) scale(0.97); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

/* ── Rise from below (for headline words) ── */
@keyframes vx-rise-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Fade up (subtle) ── */
@keyframes vx-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Background zoom (subtle) ── */
@keyframes vx-bg-zoom {
  from { transform: scale(1.06); opacity: 0.15; }
  to   { transform: scale(1);    opacity: 0.35; }
}
.whs-services.is-visible .whs-bg {
  animation: vx-bg-zoom 1.6s var(--v2-transition-slow) forwards;
}

/* ── Trigger: apply on .is-visible ── */
.whs-services.is-visible .whs-eyebrow {
  animation: vx-slide-left 0.8s cubic-bezier(.16,1,.3,1) 0.05s both;
}
.whs-services.is-visible .whs-company {
  animation: vx-slide-left 0.8s cubic-bezier(.16,1,.3,1) 0.15s both;
}
.whs-services.is-visible .whs-hl--1 {
  animation: vx-rise-up 0.75s cubic-bezier(.16,1,.3,1) 0.25s both;
}
.whs-services.is-visible .whs-hl--2 {
  animation: vx-rise-up 0.75s cubic-bezier(.16,1,.3,1) 0.38s both;
}
.whs-services.is-visible .whs-hl--3 {
  animation: vx-rise-up 0.75s cubic-bezier(.16,1,.3,1) 0.51s both;
}
.whs-services.is-visible .whs-body {
  animation: vx-slide-left 0.85s cubic-bezier(.16,1,.3,1) 0.6s both;
}
.whs-services.is-visible .whs-pillars {
  animation: vx-fade-up 0.7s cubic-bezier(.16,1,.3,1) 0.72s both;
}

/* Pillars stagger one after another — from left */
.whs-services.is-visible .whs-pillar:nth-child(1) {
  animation: vx-slide-left 0.6s cubic-bezier(.16,1,.3,1) 0.82s both;
}
.whs-services.is-visible .whs-pillar:nth-child(2) {
  animation: vx-slide-left 0.6s cubic-bezier(.16,1,.3,1) 0.94s both;
}
.whs-services.is-visible .whs-pillar:nth-child(3) {
  animation: vx-slide-left 0.6s cubic-bezier(.16,1,.3,1) 1.06s both;
}
.whs-services.is-visible .whs-pillar:nth-child(4) {
  animation: vx-slide-left 0.6s cubic-bezier(.16,1,.3,1) 1.18s both;
}

/* Cards — from RIGHT */
.whs-services.is-visible .whs-card--primary {
  animation: vx-slide-right-centered 0.95s cubic-bezier(.16,1,.3,1) 0.35s both;
}
.whs-services.is-visible .whs-card--secondary {
  animation: vx-slide-right 0.95s cubic-bezier(.16,1,.3,1) 0.6s both;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .whs-services.is-visible .whs-bg,
  .whs-services.is-visible .whs-eyebrow,
  .whs-services.is-visible .whs-company,
  .whs-services.is-visible .whs-hl--1,
  .whs-services.is-visible .whs-hl--2,
  .whs-services.is-visible .whs-hl--3,
  .whs-services.is-visible .whs-body,
  .whs-services.is-visible .whs-pillars,
  .whs-services.is-visible .whs-pillar,
  .whs-services.is-visible .whs-card--primary,
  .whs-services.is-visible .whs-card--secondary {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ── Datastrip (shared across all sections) ── */
.h-datastrip {
  position: absolute; bottom: 5px; left: 0; right: 0;
  height: clamp(3rem, 5vh, 3.8rem);
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(5,5,5,0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--v2-gold-glow);
  z-index: 30; overflow: hidden;
}
.h-datastrip__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; padding: 0 clamp(0.4rem, 1vw, 1rem);
  opacity: 0; transform: translateY(8px);
  animation: statsFadeIn var(--v2-transition-base) forwards;
  transition: transform 0.3s ease;
}
.h-datastrip__item:hover { transform: translateY(-2px); }
.h-datastrip__item:nth-child(1) { animation-delay: 0.30s; }
.h-datastrip__item:nth-child(3) { animation-delay: 0.46s; }
.h-datastrip__item:nth-child(5) { animation-delay: 0.62s; }
.h-datastrip__item:nth-child(7) { animation-delay: 0.78s; }
@keyframes statsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.h-datastrip__num {
  font-family: var(--v2-font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 700; color: var(--v2-gold-300); letter-spacing: -0.01em; line-height: 1;
  transition: text-shadow 0.3s ease;
}
.h-datastrip__item:hover .h-datastrip__num { text-shadow: 0 0 14px var(--v2-gold-glow); }
.h-datastrip__lbl {
  font-family: var(--v2-font-mono);
  font-size: clamp(0.42rem, 0.6vw, 0.52rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--v2-text-faint);
}
.h-datastrip__div { width: 1px; height: 1.6rem; background: var(--v2-color-line); flex-shrink: 0; }

@media (max-width: 480px) {
  .h-datastrip { flex-wrap: wrap; height: auto; min-height: 2.8rem; padding: 0.4rem 0; }
  .h-datastrip__item { min-width: 45%; padding: 0.25rem 0.4rem; }
  .h-datastrip__div { display: none; }
  .h-datastrip__div:nth-child(2),
  .h-datastrip__div:nth-child(6) { display: block; height: 1px; width: 80%; margin: 0 auto; }
}
@media (max-height: 620px) {
  .h-datastrip { height: 2.4rem; }
}
@media (hover: none) and (pointer: coarse) {
  .h-datastrip__item:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-datastrip__item { transition: none !important; animation: none !important; opacity: 1 !important; }
}
/* ── Gold bar (pinned at panel bottom) ── */
#section-2 .h-gold-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--v2-gold-gradient);
  z-index: 40;
  pointer-events: none;
  box-shadow: 0 0 20px var(--v2-gold-glow), 0 0 50px var(--v2-gold-glow);
}
