/* YUTO scroll-cinematic.css V8 — Apple iOS-style scroll storytelling */

/* ── Hero overrides (centred, full-bleed) ── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-heading {
  font-size: clamp(3.5rem, 8vw, 7rem);
  max-width: none;
  text-align: center;
}
.hero-sub     { max-width: 65ch; margin-left: auto; margin-right: auto; text-align: center; }
.hero-actions { justify-content: center; }
.hero-trust   { justify-content: center; }
.hero-kicker  { justify-content: center; }

/* Architectural grid behind hero */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
  z-index: 0;
}

/* Cyan glow orb drifting */
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,207,255,.07) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
  z-index: 0;
  animation: glow-drift 12s ease-in-out infinite;
}
@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, 40px); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: rgba(232,235,245,.28);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  z-index: 2;
  animation: cue-bounce 2.5s ease-in-out infinite;
}
.scroll-cue-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(0,207,255,.6), transparent);
}
@keyframes cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,207,255,.03);
  padding: 13px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,235,245,.22);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-item::after {
  content: '·';
  color: rgba(0,207,255,.55);
  margin-left: 3rem;
}

/* ── Showcase (Apple-style pinned scroll) ── */
.showcase-wrap {
  position: relative;
  height: calc(6 * 120vh + 100vh);
}
.showcase-pin {
  position: sticky;
  top: 0; height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 55% 45%;
}

.showcase-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem;
  position: relative;
  border-right: 1px solid rgba(255,255,255,.06);
}
.showcase-step {
  position: absolute;
  inset: 0; padding: 6rem;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.showcase-step.is-active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}

.step-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-body);
}
.step-kicker::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--c1);
  flex-shrink: 0;
}

.step-heading {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.step-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 44ch;
  font-family: var(--ff-body);
}

.showcase-right {
  position: relative; overflow: hidden;
  background: rgba(0,207,255,.03);
  display: flex; align-items: center; justify-content: center;
}
.showcase-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.5s ease;
}
.showcase-visual.is-active { opacity: 1; }

.visual-bg-num {
  font-family: var(--ff-display);
  font-size: 40vw; font-weight: 800;
  color: var(--c1);
  opacity: 0.055;
  line-height: 1; user-select: none;
  position: absolute; pointer-events: none;
}
.visual-icon-wrap { position: relative; z-index: 1; text-align: center; }
.visual-icon { font-size: 5rem; display: block; margin-bottom: 1rem; }
.visual-label {
  font-family: var(--ff-body);
  font-size: 0.875rem; font-weight: 700;
  color: var(--c1);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Navigation dots */
.showcase-dots {
  position: absolute; right: 2rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px; z-index: 10;
}
.showcase-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: all 0.3s ease; cursor: pointer;
}
.showcase-dot.is-active {
  background: var(--c1);
  transform: scale(1.4);
  box-shadow: 0 0 8px var(--c1);
}

/* Progress bar */
.showcase-progress-bar {
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: rgba(255,255,255,.05); z-index: 10;
}
.showcase-progress-fill {
  width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--c1), var(--c2));
  transition: height 0.15s ease;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .showcase-pin { grid-template-columns: 1fr; }
  .showcase-right { display: none; }
  .showcase-left { padding: 3rem 2rem; }
  .showcase-step { padding: 3rem 2rem; }
  .hero-heading { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .scroll-cue { display: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
  .marquee-track { animation: none; }
  .scroll-cue { animation: none; }
  .showcase-step { transition: none; }
  .showcase-visual { transition: none; }
}
