/* ============================================================
   Home Hero — One-Team Slider
   Big-type rotating messages. Dark gradient + grid. Ticker strip.
   ============================================================ */

.oth {
  position: relative;
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(31, 71, 168, 0.42) 0%, transparent 55%),
    radial-gradient(70% 60% at 100% 100%, rgba(56, 200, 255, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #04060f 0%, #060a1a 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.oth-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  pointer-events: none;
}

/* ---------- Top live ticker strip ---------- */
.oth-ticker {
  position: relative;
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.oth-ticker-track {
  display: flex;
  gap: 36px;
  padding: 12px 24px;
  animation: oth-tick 60s linear infinite;
  flex-shrink: 0;
}
.oth-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
}
.oth-ticker-item::before {
  content: '·';
  color: rgba(255,255,255,0.25);
}
.oth-ticker-item:first-child::before { display: none; }
.oth-ticker-item b {
  color: #fff;
  font-weight: 500;
}
.oth-ticker-item .ok { color: #5EFFA4; }
.oth-ticker-item .warn { color: #FFB020; }
.oth-ticker-item .bad { color: #FF4D4F; }
@keyframes oth-tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Stage ---------- */
.oth-stage {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  padding: 100px 32px 60px;
}
@media (max-width: 700px) { .oth-stage { padding: 60px 20px 40px; } }

.oth-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(94,255,164,0.06);
  border: 1px solid rgba(94,255,164,0.18);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.oth-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5EFFA4;
  box-shadow: 0 0 10px #5EFFA4;
  animation: oth-pulse 1.6s ease-in-out infinite;
}
@keyframes oth-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Big rotating headline ---------- */
.oth-h1 {
  margin: 28px 0 0;
  font-family: var(--font-display, 'Newsreader', serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 1300px;
  text-wrap: balance;
  color: #ffffff !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.oth-h1, .oth-h1 br + *, .oth .oth-h1 {
  color: #ffffff;
}
.oth-sub {
  color: rgba(245, 248, 255, 0.88) !important;
}
.oth-h1 .grad {
  background: linear-gradient(90deg, #fff 0%, #B5DAFF 35%, #5EFFA4 70%, #B5FFD8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.oth-h1 em { font-style: italic; font-family: 'Instrument Sans', 'Newsreader', serif; font-weight: 400; }

.oth-slide-stack {
  position: relative;
  min-height: 360px;
}
@media (max-width: 900px) { .oth-slide-stack { min-height: 300px; } }

.oth-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.oth-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 1100px) {
  .oth-slide { grid-template-columns: 1fr; gap: 28px; }
  .oth-stage-art { display: none !important; }
}
.oth-slide-text { min-width: 0; }
.oth-slide.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.oth-sub {
  margin: 36px 0 0;
  max-width: 720px;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
  color: rgba(234, 242, 255, 0.72);
  text-wrap: pretty;
}

.oth-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0 0;
}
.oth-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms;
}
.oth-btn-primary {
  background: #fff;
  color: #06091B;
}
.oth-btn-primary:hover { background: #E7F3FF; transform: translateY(-1px); }
.oth-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.oth-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.04); }
.oth-btn .arr {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.7;
}
.oth-btn:hover .arr { opacity: 1; }

/* ---------- Slide controls ---------- */
.oth-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 700px) { .oth-controls { margin-top: 48px; } }

.oth-dots {
  display: flex;
  gap: 6px;
  flex: 1;
}
.oth-dot {
  position: relative;
  flex: 1;
  max-width: 72px;
  height: 2px;
  border: none;
  padding: 12px 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
.oth-dot::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%);
  transition: background 200ms;
}
.oth-dot:hover::after { background: rgba(255,255,255,0.30); }
.oth-dot.on::after { background: rgba(255,255,255,0.18); }
.oth-dot.on::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, #5EFFA4, #fff);
  transform: translateY(-50%);
  animation: oth-progress var(--oth-dur, 7000ms) linear forwards;
  z-index: 1;
}
@keyframes oth-progress { from { width: 0; } to { width: 100%; } }

.oth-arrows { display: inline-flex; gap: 8px; }
.oth-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 200ms;
}
.oth-arrow:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.oth-counter {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.oth-counter b { color: #fff; font-weight: 500; }

/* ---------- Bottom stats ---------- */
.oth-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .oth-stats { grid-template-columns: repeat(2, 1fr); } }
.oth-stat {
  padding: 28px 24px 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.oth-stat:last-child { border-right: none; }
.oth-stat-n {
  font-family: var(--font-display, 'Newsreader', serif);
  font-weight: 400;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 8px;
}
.oth-stat-l {
  font-size: 13px;
  color: rgba(234,242,255,0.55);
  line-height: 1.4;
}

/* ---------- Slide-specific accent on grad span ---------- */
.oth-h1.tone-1 .grad { background: linear-gradient(90deg, #fff, #6FB7FF 50%, #5EFFA4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oth-h1.tone-2 .grad { background: linear-gradient(90deg, #fff, #FFC480 60%, #FF8A65 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oth-h1.tone-3 .grad { background: linear-gradient(90deg, #fff, #B5DAFF 50%, #5EFFA4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oth-h1.tone-4 .grad { background: linear-gradient(90deg, #fff, #C6A6FF 60%, #6FB7FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oth-h1.tone-5 .grad { background: linear-gradient(90deg, #fff, #FFB5E1 60%, #C6A6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   PER-SLIDE IMAGE STAGE (right column)
   ============================================================ */
.oth-stage-art {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  padding-top: 32px;
}
.oth-stage-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-bottom: 18px;
}
.oth-stage-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5EFFA4;
  box-shadow: 0 0 12px #5EFFA4;
  animation: oth-pulse 1.6s ease-in-out infinite;
}
@keyframes oth-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.oth-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 160px;
  gap: 14px;
}
.oth-stage-cell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0a0e22;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.oth-stage-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.9) brightness(0.92);
  transition: transform 8s ease-out;
}
.oth-slide.on .oth-stage-cell img { transform: scale(1.06); }
.oth-stage-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,27,0) 40%, rgba(6,9,27,0.75) 100%),
              linear-gradient(135deg, rgba(94,255,164,0.05), transparent 50%);
  pointer-events: none;
}
.oth-stage-big { grid-column: 1 / -1; grid-row: 1; }
.oth-stage-sm { grid-row: 2; }
.oth-stage-tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(6,9,27,0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  z-index: 2;
}
.oth-stage-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(94,255,164,0.18) 50%, transparent 100%);
  height: 36%;
  animation: oth-scan 4.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes oth-scan {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(380%); }
}

.oth-stage-chip {
  position: absolute;
  right: -8px; top: 78px;
  background: rgba(10,14,34,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 168px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  z-index: 3;
}
.oth-chip-l {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.oth-chip-v {
  font-family: var(--font-display, 'Newsreader', serif);
  font-size: 28px; font-weight: 400; line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.oth-chip-pulse {
  position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #5EFFA4;
  box-shadow: 0 0 12px #5EFFA4;
  animation: oth-pulse 1.6s ease-in-out infinite;
}
.oth-chip-mint .oth-chip-v { color: #B5FFD8; }
.oth-chip-cyan .oth-chip-pulse { background: #4FC8FF; box-shadow: 0 0 12px #4FC8FF; }
.oth-chip-cyan .oth-chip-v { color: #B5DAFF; }
.oth-chip-violet .oth-chip-pulse { background: #C6A6FF; box-shadow: 0 0 12px #C6A6FF; }
.oth-chip-violet .oth-chip-v { color: #DDC9FF; }
.oth-chip-pink .oth-chip-pulse { background: #FFB5E1; box-shadow: 0 0 12px #FFB5E1; }
.oth-chip-pink .oth-chip-v { color: #FFD9EE; }

/* shrink hero text on widescreen so the image column fits */
@media (min-width: 1101px) {
  .oth-h1 { font-size: clamp(42px, 5.6vw, 84px) !important; }
  .oth-slide-stack { min-height: 540px; }
}
