/* ==========================================================================
   CINEVERSE CINEMAS — Page section layouts & responsive rules
   style.css holds the reusable design system; this file holds the specific
   composition of each page's sections and how they behave across breakpoints.
   ========================================================================== */

/* ---------- Global reduced-motion guarantee ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Global small-screen text alignment for section heads ---------- */
@media (max-width: 640px) {
  .section { padding-block: 4rem; }
}

/* ==========================================================================
   INDEX — Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: radial-gradient(120% 100% at 50% 0%, #232323, #0a0a0a 70%);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0.78) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero-logo-mark { height: clamp(52px, 8vw, 84px); width: auto; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.hero-heading { font-size: var(--text-hero); color: var(--white); font-weight: 400; text-shadow: 0 3px 24px rgba(0,0,0,0.58); }
.hero-heading-line { display: block; }
.hero-heading em { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.hero-sub { margin-top: clamp(1.25rem, 2vw, 1.75rem); font-size: var(--text-lead); color: var(--white-80); max-width: 34rem; text-shadow: 0 2px 14px rgba(0,0,0,0.7); }
.hero-actions { margin-top: clamp(2rem, 3vw, 2.75rem); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border: 1px solid var(--white-55); border-radius: 999px;
}
.hero-scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--white);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { opacity: 0; top: 8px; } 30% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; top: 22px; }
}
@media (max-width: 640px) { .hero-scroll-cue { display: none; } }

/* ---------- Brand story ---------- */
.story-list { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--ink-20); }
.story-item { padding-block: 1.75rem; border-bottom: 1px solid var(--ink-20); display: grid; gap: 0.5rem; }
.story-item h3 { font-size: var(--text-h3); font-weight: 400; }
.story-item p { color: var(--ink-70); max-width: 34rem; }
@media (min-width: 780px) {
  .story-item { grid-template-columns: 1fr 1.6fr; align-items: baseline; gap: 2rem; }
}

/* ---------- Cinema experience preview ---------- */
.exp-row { display: grid; gap: 1.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); align-items: center; }
.exp-title { font-size: var(--text-h3); font-weight: 400; margin-bottom: 0.85rem; }
.exp-copy p { color: var(--ink-70); font-size: var(--text-body-lg); line-height: 1.7; max-width: 30rem; }
@media (min-width: 860px) {
  .exp-row { grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 6vw, 5rem); }
  .exp-row--reverse .exp-media { order: 2; }
}
.exp-tags {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  padding-top: 2rem; border-top: 1px solid var(--ink-20);
}
.exp-tag { font-size: var(--text-small); padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--ink-20); color: var(--ink-70); }
.exp-more { margin-left: auto; font-weight: 600; font-size: 0.9rem; color: var(--gold-hover); }
.exp-more:hover { text-decoration: underline; }

/* ==========================================================================
   EXPERIENCE PAGE — mid-page CTA banner (rows reuse .exp-row from homepage)
   ========================================================================== */
.exp-cta-banner {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.exp-cta-banner p { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 400; }

/* ---------- Premium experience ---------- */
.premium-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.premium-copy h2 { font-size: var(--text-h1); font-weight: 400; margin-top: 1rem; color: var(--white); }
.premium-media { position: relative; aspect-ratio: 16/11; }
.float-card {
  position: absolute; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  color: var(--ink); border-radius: var(--radius-md); padding: 1.1rem 1.35rem; max-width: 220px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5);
}
.float-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.float-card p { font-size: 0.82rem; color: var(--ink-70); line-height: 1.5; }
.float-card { top: 8%; left: 6%; }
.float-card--b { top: 42%; right: 6%; left: auto; }
.float-card--c { bottom: 7%; left: 12%; top: auto; }
@media (min-width: 900px) { .premium-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
@media (max-width: 700px) {
  .float-card { max-width: 168px; padding: 0.85rem 1rem; }
  .float-card h4 { font-size: 0.85rem; }
  .float-card p { font-size: 0.76rem; }
  .premium-media { aspect-ratio: 3/4; }
  .float-card { top: 6%; left: 5%; }
  .float-card--b { top: 46%; right: 5%; }
  .float-card--c { bottom: 5%; left: 8%; }
}

/* ==========================================================================
   ABOUT — Editorial timeline
   ========================================================================== */
.timeline-section { padding-top: 1rem; }
.timeline { position: relative; max-width: 46rem; margin-inline: auto; padding-left: 2.25rem; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--ink-20) 90%);
}
.timeline-item { position: relative; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -2.25rem; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
.timeline-body .eyebrow { margin-bottom: 0.75rem; }
.timeline-body p:not(.eyebrow) { font-size: var(--text-body-lg); line-height: 1.75; color: var(--ink-70); max-width: 40rem; }

.about-close-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.about-close-copy h2 { font-size: var(--text-h1); font-weight: 400; margin-bottom: 1rem; }
.about-close-copy p { color: var(--ink-70); font-size: var(--text-body-lg); line-height: 1.7; margin-bottom: 2rem; max-width: 30rem; }
@media (min-width: 860px) { .about-close-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Business development preview ---------- */
.bizdev-quote {
  font-family: var(--font-display); font-size: var(--text-h1); line-height: 1.25;
  margin-top: 1.25rem; margin-bottom: 2.5rem; max-width: 32rem;
}

/* ==========================================================================
   BUSINESS DEVELOPMENT — tabbed pillars
   Without JS, every panel remains visible (stacked) — only once .js
   confirms script execution do panels collapse into a tab interface.
   ========================================================================== */
.pillar-tabs { display: flex; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--ink-20); }
.pillar-tab {
  background: none; border: none; padding: 0.9rem 0.25rem; margin-right: clamp(1.25rem, 3vw, 1.75rem);
  font-size: 0.95rem; font-weight: 600; color: var(--ink-45); position: relative;
  transition: color var(--dur-fast) var(--ease-soft);
}
.pillar-tab::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--gold); transition: right var(--dur-med) var(--ease-luxury); }
.pillar-tab.is-active, .pillar-tab:hover { color: var(--ink); }
.pillar-tab.is-active::after { right: 0; }
.pillar-panels { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pillar-panel { padding-bottom: clamp(2rem, 4vw, 2.5rem); border-bottom: 1px solid var(--ink-20); margin-bottom: clamp(2rem, 4vw, 2.5rem); }
.js .pillar-panel { display: none; border: none; margin: 0; padding: 0; }
.js .pillar-panel.is-active { display: block; }
.pillar-panel p { font-size: var(--text-body-lg); color: var(--ink-70); max-width: 42rem; line-height: 1.75; margin-bottom: 1.75rem; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pillar-tags li { font-size: var(--text-small); padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid var(--ink-20); color: var(--ink-70); }

.bizdev-final { text-align: center; }
.bizdev-final h2 { font-size: var(--text-h1); font-weight: 400; margin-bottom: 2.25rem; }

/* ==========================================================================
   CAREERS — application form
   ========================================================================== */
.application-form { max-width: 44rem; margin-inline: auto; }
.file-drop { padding: 0; overflow: hidden; }
.file-drop-label { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1.25rem; cursor: pointer; text-align: center; }
.file-drop-label svg { width: 26px; height: 26px; color: var(--ink-45); margin-bottom: 0.25rem; }
.file-drop-label .text-gold { text-decoration: underline; text-underline-offset: 2px; }
#resume-filename { font-weight: 600; color: var(--ink-70); }
.careers-form-section { padding-top: clamp(3rem, 6vw, 4rem); }

/* ==========================================================================
   CONTACT — split layout
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.contact-info h2 { font-size: var(--text-h2); font-weight: 400; margin-bottom: 1.5rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.2rem; color: var(--gold-hover); }
.contact-info-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-45); margin-bottom: 0.3rem; font-weight: 600; }
.contact-info-item a, .contact-info-item p { font-size: 1.02rem; }
.contact-form-wrap { background: var(--white); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--ink); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 30%, var(--gold-15), transparent 70%); }
.final-cta h2 { font-size: var(--text-h1); font-weight: 400; margin-bottom: 2.25rem; position: relative; color: var(--white); }
.final-cta .btn { position: relative; }
