/* Scoped home compositions. D09 authorizes the existing rótulo in the video
 * hero; the rest of Karina's page and the accepted location selector remain.
 */
body[data-page="home"] .pretexto-card { text-decoration: none; }
body[data-page="home"] .pretexto-card:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
  border-color: var(--orange);
}

/* One headline over the real video, not a second hero below it. Size by both
 * width and available height; keep supporting copy/actions in normal flow.
 */
body[data-page="home"] .hero-copy-cinema {
  min-height: max(600px, calc(100svh - 108px));
  justify-content: center;
  align-items: flex-end;
  padding: 3rem clamp(1.3rem, 6vw, 6.5rem);
  text-align: center;
}
.hero-copy-cinema .hero-rotulo {
  width: min(540px, 43vw, 58svh);
  margin: 0;
  line-height: 1;
  animation: heroRise .9s .15s ease-out both;
}
.hero-copy-cinema .rotulo-art { width: 100%; max-width: none; }
.hero-copy-cinema .rotulo-depth,
.hero-copy-cinema .rotulo-edge { fill: var(--ink); stroke: var(--ink); }
.hero-copy-cinema .rotulo-underline { fill: var(--orange); }
.hero-copy-cinema .hero-sub {
  max-width: min(43vw, 38ch);
  margin: .3rem 0 0;
  color: var(--cream);
}
.hero-copy-cinema .hero-actions { margin-top: 1.25rem; justify-content: flex-end; }
.hero-copy-cinema .hero-micro { margin: 1rem 0 0; }
.home-hero-cinema .hero-overlay-cinema {
  background:
    linear-gradient(90deg, rgba(10,8,7,.08) 15%, rgba(10,8,7,.18) 45%, rgba(10,8,7,.75) 100%),
    linear-gradient(0deg, rgba(10,8,7,.7), transparent 70%);
}
/* No overlap with the full-width opening announcement. */
body[data-page="home"] .section-after-hero { margin-top: 0; border-radius: 0; box-shadow: none; }

/* A campaign board with real dates, not a directory of Instagram accounts.
 * The orange dates answer "when"; a location/date row answers "where".
 */
body[data-page="home"] .home-agenda {
  --calendar-orange: #b84b16;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: var(--cream);
  color: var(--ink);
}
.home-agenda-intro h2 { max-width: 9ch; margin-bottom: 1.2rem; }
.home-agenda-intro p { max-width: 30ch; margin: 0; line-height: 1.65; }
.home-campaigns { min-width: 0; }
.home-campaign { padding: 1.7rem 0 2rem; border-top: 1px solid rgba(10,8,7,.25); }
.home-campaign:first-child { padding-top: .7rem; }
.home-campaign:last-child { padding-bottom: 0; }
.campaign-dates { display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline;
  color: var(--calendar-orange); font: 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.1 "SY Venue Display", Impact, sans-serif; }
.campaign-copy h3 { margin: .7rem 0; font: 400 clamp(1.9rem, 3.2vw, 3rem)/1.07 "Alfa Slab One", Georgia, serif;
  letter-spacing: -.03em; overflow-wrap: break-word; }
.campaign-copy p { max-width: 52ch; margin: 0 0 1.2rem; line-height: 1.65; }
.campaign-locations { padding: 0; margin: 0; list-style: none; }
.campaign-locations a { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px;
  align-items: center; gap: .8rem; min-height: 48px; padding: .55rem 0; border-top: 1px solid rgba(10,8,7,.12); }
.campaign-locations a > span { font-weight: 600; }
.campaign-locations time { font-size: .875rem; white-space: nowrap; }
.campaign-locations svg { width: 20px; height: 20px; }
.campaign-locations a:hover { color: var(--calendar-orange); }
.campaign-locations a:focus-visible { outline: 3px solid var(--calendar-orange); outline-offset: 3px; }
@media (max-width: 1100px) {
  .hero-copy-cinema .hero-actions { max-width: 43vw; }
}
@media (max-width: 900px) {
  body[data-page="home"] .home-agenda { grid-template-columns: minmax(0, 1fr); }
  .home-agenda-intro h2 { max-width: none; }
  .home-agenda-intro p { max-width: 40ch; }
}
@media (max-width: 760px) {
  body[data-page="home"] .hero-copy-cinema {
    min-height: max(600px, calc(100svh - 76px));
    justify-content: flex-end;
    align-items: center;
    padding: 4rem 1.3rem 2rem;
  }
  .hero-copy-cinema .hero-rotulo { width: min(100%, 390px, 48svh); }
  .hero-copy-cinema .hero-sub { max-width: 31ch; margin-top: .4rem; }
  .hero-copy-cinema .hero-actions { width: min(100%, 360px); max-width: none; margin-top: 1.1rem; }
  .hero-copy-cinema .hero-actions .button { min-height: 48px; }
  .home-hero-cinema .hero-overlay-cinema { background:
    linear-gradient(0deg, rgba(10,8,7,.95), rgba(10,8,7,.6) 45%, rgba(10,8,7,.08) 100%); }
  .campaign-copy h3 { font-size: clamp(1.8rem, 7vw, 2.7rem); }
}
@media (max-height: 650px) and (min-width: 761px) {
  body[data-page="home"] .hero-copy-cinema { min-height: 520px; padding-block: 1.6rem; }
  .hero-copy-cinema .hero-rotulo { width: min(43vw, 48svh); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy-cinema .hero-rotulo { animation: none; }
}
