/* ═══════════════════════════════════════════════
   SECTION: HERO — Poster Composition
   Full-bleed cinematic hero with oversized display type
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--bg-dark);
  }

  /* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(135deg,
      rgba(10,10,10,0.3) 0%,
      rgba(10,10,10,0.6) 40%,
      rgba(10,10,10,0.85) 70%,
      rgba(10,10,10,0.95) 100%
    );
  z-index: 2;
}

.hero__bg-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(142,153,164,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 30% 60%, rgba(142,153,164,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 85% 75%, rgba(200,210,220,0.04) 0%, transparent 40%);
  animation: heroBgDrift 15s var(--ease-in-out) infinite alternate;
}

@keyframes heroBgDrift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.05) translate(-10px, 5px); }
}

/* Gold line decoration — self-drawing vertical stroke */
.hero__line {
  position: absolute;
  right: 12%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-dim) 30%, var(--accent) 50%, var(--accent-dim) 70%, transparent 100%);
  z-index: 3;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  animation: lineDraw 2s var(--ease-out-expo) 1.5s forwards;
}

@keyframes lineDraw {
  0% { transform: scaleY(0); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 0.6; }
}

/* Floating annotation */
.hero__annotation {
  position: absolute;
  right: 10%;
  top: 20%;
  z-index: 5;
  writing-mode: vertical-rl;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8E8E93;
  opacity: 0;
  transform: translateY(20px);
  animation: annotationReveal 1s var(--ease-out-expo) 2s forwards;
}

@keyframes annotationReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Main content */
.hero__content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero__text {
  grid-column: 1 / 2;
  padding-right: 4rem;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
  display: flex;
  align-items: center;
    color: var(--accent-light);
  }

  .hero__eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-light);
  }

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 2rem;
  color: #F2F2F7;
  /* Premium: Enhanced text rendering */
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-line:nth-child(1) {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.hero__title-line:nth-child(2) {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-style: italic;
  font-weight: 400;
  color: #D1D5DB;
}

.hero__title-line:nth-child(3) {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

/* ─── Kinetic Typography ─── */
.hero__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: charSlideUp 0.7s var(--ease-out-expo) forwards;
}

.hero__char--space {
  display: inline;
  width: 0.3em;
  opacity: 1;
  transform: none;
  animation: none;
}

.hero__title-line--1 .hero__char {
  animation-delay: calc(0.6s + var(--char-index) * 0.06s);
}

.hero__title-line--3 .hero__char {
  animation-delay: calc(1.6s + var(--char-index) * 0.05s);
}

/* Artistry line — mask wipe reveal */
.hero__char-mask {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: maskWipeReveal 0.55s var(--ease-out-expo) forwards;
  /* Gradient must be on each character, not parent, for background-clip:text to work */
  background: linear-gradient(135deg, #9CA3AF 0%, #D1D5DB 25%, #F9FAFB 50%, #D1D5DB 75%, #9CA3AF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-line--2 .hero__char-mask {
  animation-delay: calc(1.1s + var(--char-index) * 0.075s);
}

@keyframes charSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes maskWipeReveal {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fg-light);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 1.6s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 1.9s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--accent);
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius-pill);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

/* Premium: Metallic shimmer sweep */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-sweep);
  transform: translateX(-150%);
  transition: transform 0.8s var(--ease-out-expo);
}

/* Premium: Subtle top highlight */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.btn-primary:hover::before { transform: translateX(150%); }
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow:
    0 4px 12px rgba(142,153,164,0.25),
    0 12px 32px rgba(142,153,164,0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
      color: #C8C8CC;
      padding: 1.1rem 0;
      border-bottom: 1px solid rgba(242,242,247,0.25);
      transition: all 0.4s var(--ease-out-expo);
    }

    .btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

.btn-secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn-secondary:hover svg { transform: translateX(6px); }

/* Premium: Button active press state */
.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(142,153,164,0.2);
}

/* Hero right side — visual */
.hero__visual {
  grid-column: 2 / 3;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-frame {
  position: relative;
  width: 85%;
  aspect-ratio: 3/4;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  animation: visualReveal 1.5s var(--ease-out-expo) 1.3s forwards;
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.15),
    0 16px 32px rgba(0,0,0,0.12),
    0 40px 80px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(142,153,164,0.15);
}

@keyframes visualReveal {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero__visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-elevated) 100%);
  position: relative;
}

.hero__visual-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.7) 100%),
    linear-gradient(90deg, transparent 70%, rgba(10,10,10,0.4) 100%);
}

/* Hero visual with real photography */
.hero__visual-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.hero__visual-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.12) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.82) 100%),
    linear-gradient(90deg, transparent 50%, rgba(10,10,10,0.3) 100%),
    radial-gradient(ellipse 30% 50% at 40% 35%, rgba(142,153,164,0.10) 0%, transparent 100%),
    radial-gradient(ellipse 25% 40% at 65% 55%, rgba(142,153,164,0.06) 0%, transparent 100%);
}

@keyframes visualFloat {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(3deg) scale(1.1); }
}

.hero__visual-silhouette {
  position: relative;
  z-index: 2;
  width: 60%;
  height: 80%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Stylized scissors icon */
.hero__visual-icon {
  position: absolute;
  bottom: 15%;
  width: 120px;
  height: 120px;
  opacity: 0.15;
  animation: iconPulse 4s var(--ease-in-out) infinite;
}

@keyframes iconPulse {
  0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.2; transform: scale(1.05) rotate(3deg); }
}

/* Frame corner decorations — refined L-brackets in champagne gold */
.hero__visual-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 3;
  opacity: 0.55;
}

.hero__visual-corner::before,
.hero__visual-corner::after {
  content: '';
  position: absolute;
  border-radius: 1px;
  background: var(--accent-warm);
}

.hero__visual-corner--tl { top: 14px; left: 14px; }
.hero__visual-corner--tl::before { top: 0; left: 0; width: 20px; height: 1.5px; }
.hero__visual-corner--tl::after  { top: 0; left: 0; width: 1.5px; height: 20px; }

.hero__visual-corner--tr { top: 14px; right: 14px; }
.hero__visual-corner--tr::before { top: 0; right: 0; width: 20px; height: 1.5px; }
.hero__visual-corner--tr::after  { top: 0; right: 0; width: 1.5px; height: 20px; }

.hero__visual-corner--bl { bottom: 14px; left: 14px; }
.hero__visual-corner--bl::before { bottom: 0; left: 0; width: 20px; height: 1.5px; }
.hero__visual-corner--bl::after  { bottom: 0; left: 0; width: 1.5px; height: 20px; }

.hero__visual-corner--br { bottom: 14px; right: 14px; }
.hero__visual-corner--br::before { bottom: 0; right: 0; width: 20px; height: 1.5px; }
.hero__visual-corner--br::after  { bottom: 0; right: 0; width: 1.5px; height: 20px; }

/* Hero metrics strip */
.hero__metrics {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242,242,247,0.15);
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 2.2s forwards;
}

.hero__metric {
  padding: 1.5rem var(--container-padding);
  text-align: center;
  position: relative;
}

.hero__metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
    background: rgba(242,242,247,0.15);
  }

.hero__metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  background: var(--accent-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__metric-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
    color: var(--fg-muted-on-dark);
  }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 8rem;
  right: var(--container-padding);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 2.5s forwards;
}

.hero__scroll-text {
  writing-mode: vertical-rl;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
     color: var(--fg-dim);
    }

    .hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--accent-dim), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  }

  /* ═══ Ambient Floating Particles ═══ */
  .hero__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
  }

  .hero__particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142,153,164,0.5), rgba(142,153,164,0) 70%);
  }

  .hero__particle--1 { width: 4px; height: 4px; left: 8%;  bottom: -5%; --p-time: 18s; --p-drift: 30px;  --p-opacity: 0.35; animation: particleFloat var(--p-time) linear infinite; animation-delay: 0s; }
  .hero__particle--2 { width: 3px; height: 3px; left: 22%; bottom: -5%; --p-time: 22s; --p-drift: -20px; --p-opacity: 0.25; animation: particleFloat var(--p-time) linear infinite; animation-delay: 3s; }
  .hero__particle--3 { width: 5px; height: 5px; left: 42%; bottom: -5%; --p-time: 15s; --p-drift: 40px;  --p-opacity: 0.3;  animation: particleFloat var(--p-time) linear infinite; animation-delay: 1s; }
  .hero__particle--4 { width: 2px; height: 2px; left: 58%; bottom: -5%; --p-time: 25s; --p-drift: -35px; --p-opacity: 0.2;  animation: particleFloat var(--p-time) linear infinite; animation-delay: 5s; }
  .hero__particle--5 { width: 4px; height: 4px; left: 73%; bottom: -5%; --p-time: 20s; --p-drift: 25px;  --p-opacity: 0.3;  animation: particleFloat var(--p-time) linear infinite; animation-delay: 8s; }
  .hero__particle--6 { width: 3px; height: 3px; left: 87%; bottom: -5%; --p-time: 19s; --p-drift: -15px; --p-opacity: 0.25; animation: particleFloat var(--p-time) linear infinite; animation-delay: 2s; }
  .hero__particle--7 { width: 6px; height: 6px; left: 33%; bottom: -5%; --p-time: 24s; --p-drift: 50px;  --p-opacity: 0.18; animation: particleFloat var(--p-time) linear infinite; animation-delay: 10s; }

  @keyframes particleFloat {
    0%  { transform: translateY(0) translateX(0); opacity: 0; }
    5%  { opacity: var(--p-opacity); }
    90% { opacity: var(--p-opacity); }
    100%{ transform: translateY(-110vh) translateX(var(--p-drift)); opacity: 0; }
  }

  /* ═══ Magnetic CTA helper ═══ */
  .btn-primary[data-magnetic] {
    will-change: transform;
    transition: transform 0.25s var(--ease-out-expo), background 0.5s var(--ease-out-expo), clip-path 0.5s var(--ease-out-expo);
  }

  /* Hero responsive */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }
  .hero__text {
    grid-column: 1;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__eyebrow::before { display: none; }
  .hero__visual { display: none; }
  .hero__line { display: none; }
  .hero__annotation { display: none; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 600px) {
  .hero__title-line:nth-child(1),
  .hero__title-line:nth-child(2),
  .hero__title-line:nth-child(3) {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
  .hero__metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__metric { padding: 1rem 0.5rem; }
  .hero__scroll { display: none; }
  .hero__actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ═══ Hero Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .hero__char, .hero__char-mask { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__particle { animation: none !important; display: none; }
  .hero__line { animation: none !important; transform: scaleY(1) !important; opacity: 0.6 !important; }
}

/* ═══ SECTION REVEAL ANIMATION ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══ SECTION DIVIDER — defined in base.css ═══ */

/* ═══ PLACEHOLDER for workers to inject sections ═══ */
