.hero { overflow: hidden; padding: clamp(48px, 7cqi, 96px) 0 clamp(72px, 9cqi, 120px); min-height: min(92vh, 900px); display: flex; align-items: center; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 75% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 16%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
:root[data-skin="bold"] .hero-bg {
  background:
    radial-gradient(40% 40% at 85% 20%, color-mix(in srgb, var(--accent-3) 70%, transparent), transparent 70%),
    radial-gradient(35% 40% at 70% 85%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 24px 24px;
}
.hero-gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.hero-gl.is-on { opacity: 1; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(32px, 5cqi, 72px); }
.hero h1 { font-size: calc(clamp(2.6rem, 7.4cqi, 5.6rem) * var(--display-scale)); line-height: 0.98; }
.hero-l1, .hero-l2 { display: block; }
.hero-l2 { color: var(--accent-text); }
:root[data-skin="luxe"] .hero-l2 { font-style: italic; }
:root[data-skin="bold"] .hero-l2 { color: var(--text); }
:root[data-skin="bold"] .hero-l2 .w > span { background: linear-gradient(transparent 58%, var(--accent) 58% 92%, transparent 92%); }
.hero-lead { max-width: 34rem; margin: 22px 0 30px; font-size: clamp(1.05rem, 1.8cqi, 1.22rem); color: var(--muted); }
.hero-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px;
  border: var(--border-w) solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 0.9rem; font-weight: 600;
}
.hero-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c2410c; }
.hero-status.is-open::before { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2); }
.hero-tilt { margin: 16px 0 0 12px; min-height: 44px; padding: 8px 14px; border: 0; cursor: pointer; }

.hero-visual { perspective: 1200px; }
.hero-stack {
  --sx: 0; --sy: 0;
  position: relative; aspect-ratio: 4 / 4.4; max-width: 520px; margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--sx) * 14deg - 8deg)) rotateX(calc(var(--sy) * -10deg + 4deg));
  transition: transform 0.6s var(--ease), opacity 0.9s var(--ease);
}
.hero-card { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--surface-2); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-1 { left: 14%; top: 4%; width: 62%; height: 80%; transform: translateZ(40px); }
.hero-card-2 { left: 0; top: 46%; width: 40%; height: 46%; transform: translateZ(110px) rotate(-5deg); }
.hero-card-3 { right: 0; top: 0; width: 34%; height: 34%; transform: translateZ(160px) rotate(6deg); }
:root[data-skin="luxe"] .hero-card { border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
:root[data-skin="bold"] .hero-card { border: 2px solid var(--text); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px;
  border: var(--border-w) solid var(--line); border-radius: 50%; color: var(--text);
  animation: hero-bob 2.4s ease-in-out infinite;
}
@keyframes hero-bob { 50% { transform: translateY(6px); } }

@container page (max-width: 820px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { max-width: 400px; aspect-ratio: 4 / 3.4; }
  .hero-card-1 { left: 18%; width: 54%; height: 92%; top: 2%; }
  .hero-card-2 { top: 40%; height: 54%; width: 36%; }
  .hero-card-3 { width: 30%; height: 40%; }
  .hero-scroll { display: none; }
}

.reduce-motion .hero-stack { transform: none; transition: none; }
.reduce-motion .hero-scroll { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-stack { transform: none; transition: none; }
  .hero-scroll { animation: none; }
}
