/* ─── MARQUEE BAND ────────────────────────────────────────── */
.marquee-band {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-inner {
  display: inline-block;
  animation: marqueeScroll 28s linear infinite;
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}

/* ─── OUR STORIES ────────────────────────────────────────── */
#stories { background: #000; padding: 80px 0 0; }
.stories-header { margin-bottom: 40px; padding: 0 56px; }
.stories-eyebrow {
  font-family: var(--font-secondary);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stories-eyebrow.revealed { opacity: 1; transform: translateY(0); }
.stories-header h2 {
  font-family: var(--font-main); font-weight: 700;
  font-size: clamp(72px, 14vw, 200px);
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--red); line-height: 0.9;
  margin-bottom: 28px;
}
/* Per-word wipe reveal */
.stories-word {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.stories-space { display: inline-block; }
.stories-word:nth-child(3) { transition-delay: 0.18s; }
.stories-header h2.revealed .stories-word { clip-path: inset(0 0% 0 0); }

.stories-header p {
  font-family: var(--font-secondary);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em; line-height: 1.8;
  color: #666; max-width: 460px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.9s ease 0.55s, transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s;
}
.stories-header p.revealed { opacity: 1; transform: translateX(0); }

/* ─── VIDEO GRID — 6-col bento ───────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: #111;
}

/* Bento layout: 7 videos */
.video-card { aspect-ratio: 16/9; }
.video-card:nth-child(1) { grid-column: span 6; aspect-ratio: 21/9; }
.video-card:nth-child(2) { grid-column: span 2; }
.video-card:nth-child(3) { grid-column: span 2; }
.video-card:nth-child(4) { grid-column: span 2; }
.video-card:nth-child(5) { grid-column: span 3; }
.video-card:nth-child(6) { grid-column: span 3; }
.video-card:nth-child(7) { grid-column: span 6; }

/* ─── VIDEO CARD BASE ────────────────────────────────────── */
.video-card {
  position: relative;
  background: var(--gray); overflow: hidden;
  display: block; text-decoration: none; cursor: pointer;
  opacity: 0;
  transform: perspective(800px) rotateX(-18deg) translateY(50px);
  transition:
    opacity   0.8s cubic-bezier(0.22,1,0.36,1),
    transform 0.9s cubic-bezier(0.22,1,0.36,1);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.video-card.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0);
}

.video-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--gray);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
}
.video-card:hover .video-thumb { transform: scale(1.04); filter: brightness(1.1); }

.video-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  transition: background 0.4s;
}
.video-card:hover .video-card-overlay {
  background: linear-gradient(to top, rgba(192,0,0,0.18) 0%, rgba(0,0,0,0.12) 100%);
}

/* ─── CARD INDEX NUMBER ──────────────────────────────────── */
.video-index {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-main);
  font-weight: 700; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); z-index: 2;
  transition: color 0.3s;
}
.video-card:hover .video-index { color: rgba(255,255,255,0.7); }

.video-label {
  position: absolute; bottom: 16px; left: 18px;
  font-family: var(--font-main);
  font-weight: 700; font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); z-index: 2;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  transform: translateY(4px);
}
.video-card:hover .video-label { color: #fff; transform: translateY(0); }

.play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px; height: 50px;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s, transform 0.3s; z-index: 2;
}
.play-icon svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.video-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  animation: pulseIcon 0.5s ease-out;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about {
  background: #000; padding: 120px 64px;
  position: relative; overflow: hidden;
}
#about::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
}
#about.anim-in::before { width: 100%; }

.about-inner { max-width: 920px; }
.about-inner h2 {
  font-family: var(--font-main); font-weight: 700;
  font-size: clamp(42px, 6.5vw, 86px);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #bbb; line-height: 0.95; margin-bottom: 36px;
}
.about-inner h2 em { color: var(--red); font-style: normal; }

/* Word-by-word clip reveal */
.anim-w {
  display: inline-block;
  clip-path: inset(0 0 110% 0);
  transition: clip-path 1s cubic-bezier(0.22,1,0.36,1);
}
.anim-w:nth-child(2) { transition-delay: 0.1s; }
.anim-w:nth-child(3) { transition-delay: 0.22s; }
.about-inner.anim-in .anim-w { clip-path: inset(0 0 0% 0); }

.about-inner p {
  font-family: var(--font-secondary);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400; line-height: 1.9;
  color: #888; max-width: 620px;
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.9s ease 0.35s, transform 1s cubic-bezier(0.22,1,0.36,1) 0.35s;
}
.about-inner.anim-in p { opacity: 1; transform: translateX(0); }

.stat-row { display: flex; gap: 64px; margin-top: 72px; }
.stat {
  opacity: 0;
  transform: translateY(50px) scale(0.85);
  transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat.visible { opacity: 1; transform: translateY(0) scale(1); }
.stat-number {
  font-family: var(--font-main); font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--red); letter-spacing: 0.02em; line-height: 1;
}
.stat-label {
  font-family: var(--font-secondary);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-top: 8px;
}

/* ─── CONTACT / APPOINTMENTS ─────────────────────────────── */
#contact     { background: #0a0a0a; padding: 100px 64px; border-top: 1px solid #1a1a1a; }
#appointments{ background: #000;    padding: 100px 64px; }
.contact-inner, .appt-inner { max-width: 680px; }
.contact-inner h2, .appt-inner h2 {
  font-family: var(--font-main); font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--red); line-height: 0.95; margin-bottom: 24px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.22,1,0.36,1);
}
.contact-inner.anim-in h2, .appt-inner.anim-in h2 {
  clip-path: inset(0 0 0% 0);
}
.contact-inner p, .appt-inner p {
  font-family: var(--font-secondary);
  font-size: 13px; line-height: 1.85;
  color: #888; margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.contact-inner.anim-in p, .appt-inner.anim-in p {
  opacity: 1; transform: translateY(0);
}
.contact-inner a, .appt-inner a {
  font-family: var(--font-secondary);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #000; background: #fff;
  border: 1.5px solid #fff; border-radius: 999px;
  padding: 14px 32px; text-decoration: none; display: inline-block;
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.6s ease 0.5s, transform 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.5s, background 0.3s, color 0.3s;
}
.contact-inner.anim-in a, .appt-inner.anim-in a {
  opacity: 1; transform: scale(1);
}
.contact-inner a:hover, .appt-inner a:hover {
  background: transparent; color: #fff;
  transform: scale(1) translateY(-2px);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #000; border-top: 1px solid #111;
  padding: 40px 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-main); font-weight: 700;
  font-size: 18px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #fff;
}
.footer-copy {
  font-family: var(--font-secondary);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.22);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .stories-header { padding: 0 32px; }
  #about, #contact, #appointments { padding: 72px 32px; }
  footer { padding: 32px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { aspect-ratio: 16/9; }
  .video-card:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
  .video-card:nth-child(2) { grid-column: span 1; }
  .video-card:nth-child(3) { grid-column: span 1; }
  .video-card:nth-child(4) { grid-column: span 2; }
  .video-card:nth-child(5) { grid-column: span 1; }
  .video-card:nth-child(6) { grid-column: span 1; }
  .video-card:nth-child(7) { grid-column: span 2; }
  .stat-row { gap: 36px; }
}
@media (max-width: 600px) {
  .stories-header { padding: 0 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card, .video-card:nth-child(n) { grid-column: span 1; aspect-ratio: 16/9; }
  .stat-row { flex-direction: column; gap: 28px; }
}
