/**
 * Caldera Films 2026 — Homepage CSS
 * Loaded only on the front page via functions.php (is_front_page()).
 *
 * @package caldera-films
 */

/* ─── RESET (scoped to homepage sections) ───────────────────────────── */
.hp-hero, .hp-thesis, .hp-still, .hp-films, .hp-reel, .hp-approach-strip,
.hp-director, .hp-12house, .hp-disciplines, .hp-partners, .hp-invitation,
.hp-footer-usa, .hp-rule {
  box-sizing: border-box;
}

/* ─── COLOR FIX — body { color: #111 } in style.css must be overridden ─ */
/* All new homepage sections inherit cream text instead of dark body color */
.hp-hero,
.hp-thesis,
.hp-reel,
.hp-approach-strip,
.hp-director,
.hp-12house,
.hp-disciplines,
.hp-partners,
.hp-invitation,
.hp-footer-usa {
  color: var(--fg);
}

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────── */
:root {
  --bg:        #0e0e0e;
  --fg:        #f0ede6;
  --brand:     #ea3c25;
  --dim:       rgba(240, 237, 230, 0.12);
  --rule:      rgba(240, 237, 230, 0.07);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --max-w:     1100px;
  --pad-x:     clamp(24px, 6vw, 100px);
  --section-y: clamp(140px, 14vw, 220px);
}

/* ─── LAYOUT UTILITY ─────────────────────────────────────────────────── */
.hp-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── SECTION LABEL ──────────────────────────────────────────────────── */
.hp-s-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.32;
  margin-bottom: 56px;
  display: block;
}

/* ─── SCROLL HIGHLIGHT ───────────────────────────────────────────────── */
.sh-word {
  opacity: 0.25;
  transition: opacity 500ms ease;
  display: inline;
  will-change: opacity;
}
.sh-word.sh-lit {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .sh-word { opacity: 1; transition: none; }
}

/* ─── HORIZONTAL RULE ────────────────────────────────────────────────── */
.hp-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   01 · HERO
══════════════════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}
.hp-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,14,14,0.15) 0%,
    transparent 40%,
    rgba(14,14,14,0.7) 100%
  );
}
.hp-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.hp-hero-logo {
  width: clamp(140px, 18vw, 240px);
  opacity: 0.95;
}
.hp-hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.45;
}
/* Scroll cue — animated vertical line */
.hp-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: rgba(240,237,230,0.15);
  overflow: hidden;
}
.hp-scroll-cue::after {
  content: '';
  position: absolute;
  top: -56px;
  left: 0;
  width: 1px;
  height: 56px;
  background: var(--fg);
  animation: scrollLine 2s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes scrollLine {
  0%   { top: -56px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 56px;  opacity: 0; }
}
/* Hero bottom bar — location + scroll label */
.hp-hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(20px,3vw,36px) clamp(28px,4vw,56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
}
.hp-hero-location {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.45;
}
.hp-hero-scroll-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.3;
}

/* Reel lightbox */
.hp-reel-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.hp-reel-lightbox.open { display: flex; }
.hp-reel-lightbox-inner {
  position: relative;
  width: 90vw;
  max-width: 1120px;
}
.hp-reel-lightbox-inner::before {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}
.hp-reel-lightbox-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hp-reel-lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.55;
  line-height: 1;
  padding: 8px;
  transition: opacity 0.2s;
}
.hp-reel-lightbox-close:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   02 · THESIS
══════════════════════════════════════════════════════════════ */
.hp-thesis {
  padding: var(--section-y) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hp-thesis-main {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 72px;
}
.hp-thesis-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 640px;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   ANAMORPHIC STILL — 2.39 : 1
══════════════════════════════════════════════════════════════ */
.hp-still {
  position: relative;
  width: 100%;
  background: #161616;
  overflow: hidden;
}
.hp-still::before {
  content: '';
  display: block;
  padding-bottom: 41.84%; /* 100 ÷ 2.39 */
}
.hp-still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Screening Room gateway ──────────────────────────────── */
/* Bottom fade to black — films emerge from the darkness */
.hp-still--gateway::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
/* Text overlay */
.hp-still-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;  /* anchored toward bottom */
  padding-bottom: 16%;        /* sits in lower third of the frame */
  gap: 18px;
  z-index: 2;
  pointer-events: none;
}
.hp-still-caption-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.8vw, 52px);
  color: var(--fg);
  opacity: 0.82;
  letter-spacing: 0.015em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hp-still-caption-arrow {
  font-size: 15px;
  color: var(--fg);
  opacity: 0.38;
  display: block;
  animation: hp-arrow-pulse 2.2s ease-in-out infinite;
}
@keyframes hp-arrow-pulse {
  0%, 100% { opacity: 0.38; transform: translateY(0); }
  50%       { opacity: 0.65; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-still-caption-arrow { animation: none; opacity: 0.5; }
}


/* ═══════════════════════════════════════════════════════════════
   03 · SELECTED FILMS
══════════════════════════════════════════════════════════════ */
.hp-films {
  padding: var(--section-y) 0;
  position: relative;
  /* Top gradient bleeds seamlessly from anamorphic's black fade */
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 10%),
    radial-gradient(ellipse 120% 55% at 50% 0%,   #1e1a16 0%, transparent 65%),
    radial-gradient(ellipse 70%  50% at  8% 100%, #13110f 0%, transparent 55%),
    radial-gradient(ellipse 70%  50% at 92% 100%, #13110f 0%, transparent 55%),
    #090909;
}
.hp-films > * { position: relative; z-index: 1; }

.hp-films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}
/* First card is featured — spans 2 cols to signal flagship work */
.hp-films-grid .work-card:first-child {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .hp-films-grid { grid-template-columns: repeat(2,1fr); }
  .hp-films-grid .work-card:first-child { grid-column: span 1; }
}
@media (max-width: 560px) {
  .hp-films-grid { grid-template-columns: 1fr; }
  .hp-films-grid .work-card:first-child { grid-column: span 1; }
}

/* Work cards — full redefinition for homepage */
.hp-films .work-card {
  border-radius: 18px;
  padding: 5px;
  background: #1c1c1c;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease, opacity 0.7s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 12px 40px rgba(0,0,0,0.4);
  /* Scroll reveal — starts invisible, JS adds .hp-revealed */
  opacity: 0;
  transform: translateY(32px);
}
/* Revealed state */
.hp-films .work-card.hp-revealed {
  opacity: 1;
  transform: translateY(0);
}
.hp-films .work-card.hp-revealed:hover {
  background: #f0ede6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 20px 56px rgba(0,0,0,0.45);
  transform: translateY(-2px);
}
/* No-JS / reduced-motion fallback — always show cards */
@media (prefers-reduced-motion: reduce) {
  .hp-films .work-card {
    opacity: 1;
    transform: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
}
.hp-films .work-card:hover {
  background: #f0ede6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 20px 56px rgba(0,0,0,0.45);
  transform: translateY(-2px);
}
.hp-films .work-card-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.hp-films .work-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.hp-films .work-card:hover .work-card-img-wrap img { transform: scale(1.03); }
.hp-films .work-card-info {
  padding: 13px 12px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.hp-films .work-card-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
  transition: color 0.45s ease;
}
.hp-films .work-card:hover .work-card-title { color: #111; }
.hp-films .work-card-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.45s ease;
}
.hp-films .work-card:hover .work-card-cat { color: rgba(0,0,0,0.42); }
.hp-films .work-card-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.hp-films .work-card-video-overlay video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hp-films-view-all {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 72px;
}
.hp-films-view-all::before,
.hp-films-view-all::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.hp-films-view-all a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.38;
  white-space: nowrap;
  transition: opacity 0.35s ease;
}
.hp-films-view-all a:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   04 · REEL
══════════════════════════════════════════════════════════════ */
.hp-reel {
  padding: var(--section-y) 0;
}
.hp-reel-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  max-width: 560px;
  margin-bottom: 64px;
}
.hp-reel-frame {
  position: relative;
  width: 100%;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}
.hp-reel-frame::before {
  content: '';
  display: block;
  padding-bottom: 41.84%;
}
.hp-reel-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: background 0.4s;
}
.hp-reel-frame:hover .hp-reel-inner {
  background: rgba(255,255,255,0.03);
}
.hp-reel-play-btn {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(240,237,230,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.hp-reel-frame:hover .hp-reel-play-btn {
  border-color: rgba(240,237,230,0.7);
}
.hp-reel-play-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--fg);
  opacity: 0.8;
  margin-left: 3px;
}
.hp-reel-play-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.3;
}
.hp-reel-cta {
  margin-top: 48px;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   05 · APPROACH — Three stacked anamorphic title cards
══════════════════════════════════════════════════════════════ */
.hp-approach-strip {
  /* panels sit flush, no gaps */
}

.hp-approach-panel {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Maintain cinematic 2.39:1 anamorphic frame */
  padding-bottom: 41.84%;
  min-height: 320px;
}
.hp-approach-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dark overlay — makes text legible over any image */
.hp-approach-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}
/* Text centered in the frame — like a film intertitle */
.hp-approach-panel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 6vw, 100px);
  max-width: 860px;
}
.hp-approach-panel-content .hp-s-label {
  margin-bottom: 28px;
}
.hp-approach-panel-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--fg);
  margin: 0;
}
/* Panel 2 — punchy line, more presence */
.hp-approach-panel-text--hero {
  font-size: clamp(26px, 3.4vw, 52px);
  font-style: italic;
  line-height: 1.22;
}

@media (max-width: 640px) {
  .hp-approach-panel {
    padding-bottom: 0;
    min-height: 70vw;
  }
}


/* ═══════════════════════════════════════════════════════════════
   06 · DIRECTOR
══════════════════════════════════════════════════════════════ */
.hp-director {
  padding: var(--section-y) 0;
}
.hp-director-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.hp-director-body {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.65;
}
.hp-quiet-link {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--fg);
  opacity: 0.38;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,237,230,0.18);
  padding-bottom: 3px;
  transition: opacity 0.4s;
}
.hp-quiet-link:hover { opacity: 0.8; }
.hp-director-portrait {
  position: relative;
  background: #161616;
  overflow: hidden;
  border-radius: 4px;
}
.hp-director-portrait::before {
  content: '';
  display: block;
  padding-bottom: 41.84%;
}
.hp-director-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* ═══════════════════════════════════════════════════════════════
   07 · 12 HOUSE
══════════════════════════════════════════════════════════════ */
.hp-12house {
  padding: var(--section-y) 0;
}
.hp-12house-body {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 36px;
}
.hp-12house-still {
  position: relative;
  width: 100%;
  background: #161616;
  margin-top: 64px;
  overflow: hidden;
}
.hp-12house-still::before {
  content: '';
  display: block;
  padding-bottom: 41.84%;
}
.hp-12house-still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ═══════════════════════════════════════════════════════════════
   08 · DISCIPLINES
══════════════════════════════════════════════════════════════ */
.hp-disciplines {
  padding: var(--section-y) 0;
}
.hp-disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.hp-disc-item {
  padding: 52px 48px 52px 0;
  border-right: 1px solid var(--rule);
}
.hp-disc-item:last-child {
  border-right: none;
  padding-right: 0;
}
.hp-disc-item:not(:first-child) {
  padding-left: 48px;
}
.hp-disc-name {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hp-disc-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.42;
}



/* ═══════════════════════════════════════════════════════════════
   09 · SELECTED PARTNERS
══════════════════════════════════════════════════════════════ */
.hp-partners {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--rule);
}
.hp-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(28px,4vw,52px) clamp(20px,4vw,48px);
  align-items: center;
  justify-items: center;
  margin-top: clamp(36px,5vw,64px);
}
.hp-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
/* All logos: convert to white so the grid reads as one unified field */
.hp-logo-item img {
  height: clamp(22px, 2.4vw, 34px);
  width: auto;
  max-width: 130px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.35s;
}
.hp-logo-item:hover img { opacity: 1; }
/* JPEG logos with colored backgrounds — can't invert cleanly; use grayscale instead */
.hp-logo-photo img {
  filter: grayscale(1) contrast(0.8);
  opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════════════
   10 · INVITATION
══════════════════════════════════════════════════════════════ */
.hp-invitation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-y) 0;
}
.hp-invitation-body {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 62px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: 72px;
  opacity: 0.9;
}
.hp-invitation-btn {
  display: inline-block;
  padding: 18px 52px;
  border: 1px solid rgba(240,237,230,0.22);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.4s, background 0.4s;
}
.hp-invitation-btn:hover {
  border-color: rgba(240,237,230,0.6);
  background: rgba(240,237,230,0.04);
}


/* ═══════════════════════════════════════════════════════════════
   USA CARD — above footer
══════════════════════════════════════════════════════════════ */
.hp-footer-usa {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: clamp(48px,7vw,96px) 0;
}
.hp-footer-usa-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: center;
}
.hp-footer-usa-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.4;
  margin-bottom: 20px;
}
.hp-footer-usa-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
}
.hp-footer-usa-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.55;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,237,230,0.2);
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.hp-footer-usa-cta:hover { opacity: 1; }
.hp-footer-usa-body {
  font-family: var(--sans);
  font-size: clamp(14px,1.4vw,17px);
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.45;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hp-director-inner {
    grid-template-columns: 1fr;
  }
  .hp-director-portrait {
    order: -1;
  }
  .hp-disc-grid {
    grid-template-columns: 1fr;
  }
  .hp-disc-item {
    border-right: none;
    border-top: 1px solid var(--rule);
    padding: 40px 0;
  }
  .hp-disc-item:first-child {
    border-top: none;
  }
  .hp-films-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hp-footer-usa-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .hp-process-grid { grid-template-columns: 1fr; }
  .hp-process-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .hp-process-col:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .hp-films-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hp-partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .hp-partners-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
}
