/* home-crown.css — homepage section "War for the Crown" (sc02), option F "Editorial" (scoped under body.page-home).
   Cover: blue notice strip on top → sharp close-up (art-directed 16:9 / 9:16) with the title cutting across it,
   serif teaser top-left, date · time · venue + CTAs at the foot. The FACE-OFF after it keeps its page-home.css rules.
   The fight-week / live variant still uses .home-film--fw (page-home.css). */

/* the section slides over the sinking hero (page-home.js, ≥1024): its top padding fades from clear to --nacht */
.page-home .home-crown {
  position: relative; z-index: 1;
  /* same fade as the live site's film section: hero → clear → --nacht over clamp(64px, 11vh, 144px) */
  padding-top: clamp(64px, 11vh, 144px);
  background: linear-gradient(to bottom, rgba(7, 7, 10, 0) 0, var(--nacht) clamp(64px, 11vh, 144px));
  --crown-pad: max(var(--margin), calc((100% - var(--max)) / 2));
}
.page-home .home-crown__cover { position: relative; background: var(--nacht); }
/* client 2026-10-08: not full width / full height — the cover sits inset as a rounded screen, like the live site's
   film band (--screen-inset from the edges, 21:9 on desktop, 16:9 on tablet; it only grows when the copy needs it) */
.page-home .home-crown__cover {
  width: calc(100% - 2 * var(--screen-inset)); max-width: var(--max-screen); margin-inline: auto;
  border-radius: var(--r-screen); overflow: hidden; isolation: isolate;
  background: var(--zaal);
  --crown-pad: clamp(20px, 3.4vw, 56px);
}
/* the card reads as a screen: a surface a step lighter than the page (--zaal) + a hairline edge above the photo */
.page-home .home-crown__cover::after {
  content: ''; position: absolute; z-index: 4; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(241, 238, 232, .08);
}

/* ---- notice: slim blue strip, edge to edge (C14 Mededeling restyled, still dismissible per session) ---- */
.page-home .home-crown__strip.mededeling {
  position: relative; z-index: 3;
  min-height: 46px; padding: 8px calc(var(--crown-pad) + 44px) 8px var(--crown-pad);
  gap: 4px 14px; border-radius: 0; box-shadow: none;
}
.page-home .home-crown__strip .mededeling__tag { display: inline-flex; align-items: center; gap: 14px; }
.page-home .home-crown__strip .mededeling__tag::after { content: '·'; opacity: .6; font-family: var(--font-body); letter-spacing: 0; }
.page-home .home-crown__strip .mededeling__text { font-size: 14px; font-weight: 400; line-height: 1.4; }
.page-home .home-crown__strip .mededeling__close { right: calc(var(--crown-pad) - 10px); }

/* ---- the cover stage ---- */
.page-home .home-crown__stage { position: relative; isolation: isolate; overflow: hidden; }
.page-home .home-crown__photo { position: absolute; z-index: 0; inset: 0 -37.5% 0 26.4%; pointer-events: none; }
.page-home .home-crown__img, .page-home .home-crown__img img { display: block; width: 100%; height: 100%; }
.page-home .home-crown__img img { object-fit: cover; object-position: 50% 30%; }
/* left: black page → photo; bottom: legibility for the meta + CTAs; right: the blue corner light */
.page-home .home-crown__fade {
  position: absolute; inset: 0 -1px;
  background:
    linear-gradient(to top, var(--zaal) 0%, rgba(16, 16, 20, .9) 8%, rgba(16, 16, 20, 0) 40%),
    radial-gradient(60% 80% at 62% 50%, rgba(0, 51, 255, .25), rgba(0, 14, 92, .08) 45%, transparent 70%);
}
.page-home .home-crown__stage::before {
  content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--zaal) 8%, rgba(16, 16, 20, .88) 22%, rgba(16, 16, 20, 0) 48%);
}

.page-home .home-crown__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "teaser teaser" "gap gap" "title title" "meta ctas";
  align-items: end; column-gap: var(--s-5);
  aspect-ratio: 21 / 9;
  padding: clamp(32px, 5vh, 56px) var(--crown-pad) clamp(28px, 4.5vh, 48px);
}
.page-home .home-crown__title {
  grid-area: title; margin: 0 0 clamp(36px, 6.5vh, 60px);
  /* client 2026-10-08: smaller title, the close-up carries the cover */
  font-size: min(5.6vw, 7rem, 11svh); line-height: .86; letter-spacing: -.012em;
}
.page-home .home-crown__title .line { white-space: nowrap; }
.page-home .home-crown__title .home-crown__l2 { margin-left: .79em; }
.page-home .home-crown__teaser { grid-area: teaser; align-self: start; max-width: 24rem; }
.page-home .home-crown__teaser .serif-l { font-size: clamp(1.5rem, 2.25vw, 2rem); }
.page-home .home-crown__who { margin-top: 8px; color: var(--rook); }
.page-home .home-crown__meta { grid-area: meta; margin: 0; font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; color: var(--bot); }
.page-home .home-crown__sep { color: var(--rook); font-weight: 400; }
.page-home .home-crown__ctas { grid-area: ctas; justify-content: flex-end; gap: 12px; }
.page-home .home-crown__ctas .home-film__cta { display: contents; }
/* briefing pick A2 (2026-10-17): Tickets | PPV as one split pill, Fight card as a text link beside it */
.page-home .home-crown__ctas { align-items: center; }
.page-home .splitbtn { display: inline-flex; align-items: stretch; gap: 1px; }
.page-home .splitbtn__a.btn { border-radius: var(--r-pill) 0 0 var(--r-pill); padding-right: calc(var(--btn-h) * .38); }
.page-home .splitbtn__b.btn { border-radius: 0 var(--r-pill) var(--r-pill) 0; padding-left: calc(var(--btn-h) * .38); background: var(--rood-diep); }
.page-home .splitbtn__b.btn:hover { background: #A80012; }
.page-home .home-crown__fc.btn { margin-left: 12px; color: var(--bot); }

/* tablet: same cover, photo a little further left so the face stays in frame */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .page-home .home-crown__photo { inset: 0 -45% 0 18%; }
  .page-home .home-crown__inner { aspect-ratio: 16 / 9; }
  .page-home .home-crown__title { font-size: min(7.4vw, 11svh); }
  .page-home .home-crown__inner { grid-template-areas: "teaser teaser" "gap gap" "title title" "meta meta" "ctas ctas"; grid-template-rows: auto 1fr auto auto auto; row-gap: 20px; }
  .page-home .home-crown__title { margin-bottom: 12px; }
  .page-home .home-crown__ctas { justify-content: flex-start; }
}

/* phone: photo on top (9:16 crop), the title over its faded foot, then meta · teaser · CTAs */
@media (max-width: 767.98px) {
  .page-home .home-crown__strip.mededeling { padding: 10px 52px 10px 16px; gap: 2px 10px; }
  .page-home .home-crown__strip .mededeling__tag { font-size: 11px; }
  .page-home .home-crown__strip .mededeling__tag::after { content: none; }
  .page-home .home-crown__strip .mededeling__text { font-size: 13px; }
  .page-home .home-crown__strip .mededeling__close { right: 6px; }
  .page-home .home-crown__stage { --photo-h: min(190vw, 820px); }
  .page-home .home-crown__stage::before { content: none; }
  .page-home .home-crown__photo { inset: 0 0 auto 0; height: var(--photo-h); }
  .page-home .home-crown__img img { object-position: 60% 20%; }
  .page-home .home-crown__fade { inset: 0; background: linear-gradient(to bottom, rgba(16, 16, 20, 0) 44%, rgba(16, 16, 20, .6) 68%, var(--zaal) 89%); }
  .page-home .home-crown__inner {
    display: flex; flex-direction: column; align-items: flex-start;
    min-height: 0; aspect-ratio: auto; padding: calc(var(--photo-h) * .6) 16px 36px;
  }
  .page-home .home-crown__title { order: 0; margin: 0 0 clamp(32px, 9vh, 72px); font-size: clamp(2.75rem, 13vw, 4rem); }
  .page-home .home-crown__title .home-crown__l2 { margin-left: 0; }
  .page-home .home-crown__meta { order: 1; margin-bottom: 12px; font: 400 var(--fs-mono-s) / 1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rook); }
  .page-home .home-crown__year, .page-home .home-crown__who { display: none; }
  .page-home .home-crown__teaser { order: 2; max-width: none; }
  .page-home .home-crown__teaser .serif-l { font-size: 1.5rem; }
  .page-home .home-crown__ctas { order: 3; margin-top: 40px; justify-content: flex-start; }
  .page-home .home-crown__ctas .btn--l { --btn-h: 48px; font-size: 16px; }
}
@media (max-width: 767.98px) {
  /* tag and text run on as one sentence (two lines at 390 instead of three) */
  .page-home .home-crown__strip.mededeling { display: block; }
  .page-home .home-crown__strip .mededeling__tag { display: inline; margin-right: 10px; }
  .page-home .home-crown__strip .mededeling__text { display: inline; }
}

/* ---- Ronde 6 (client pick 1C): a 4:5 portrait cover (Dortmund: Brice Kombou) instead of the wide close-up ---- */
.page-home .home-crown--portrait .home-crown__photo { inset: 0 0 0 auto; width: min(56%, 820px); }
.page-home .home-crown--portrait .home-crown__img img { object-position: 50% 18%; }
.page-home .home-crown--portrait .home-crown__stage::before {
  background: linear-gradient(90deg, var(--zaal) 46%, rgba(16, 16, 20, .82) 53%, rgba(16, 16, 20, .35) 62%, rgba(16, 16, 20, 0) 74%);
}
.page-home .home-crown--portrait .home-crown__fade {
  background:
    linear-gradient(to top, var(--zaal) 0%, rgba(16, 16, 20, .85) 9%, rgba(16, 16, 20, 0) 38%),
    radial-gradient(55% 80% at 88% 40%, rgba(0, 51, 255, .3), rgba(0, 14, 92, .08) 45%, transparent 70%);
}
.page-home .home-crown__caption {
  position: absolute; z-index: 2; right: var(--crown-pad); bottom: calc(clamp(28px, 4.5vh, 48px) + 64px);
  margin: 0; font-size: var(--fs-mono-s); letter-spacing: .12em; text-transform: uppercase; color: rgba(241, 238, 232, .6);
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .page-home .home-crown--portrait .home-crown__photo { width: 62%; }
  .page-home .home-crown__caption { display: none; }
}
@media (max-width: 767.98px) {
  .page-home .home-crown--portrait .home-crown__stage { --photo-h: min(118vw, 560px); }
  .page-home .home-crown--portrait .home-crown__photo { width: auto; inset: 0 0 auto 0; }
  .page-home .home-crown--portrait .home-crown__img img { object-position: 50% 16%; }
  .page-home .home-crown--portrait .home-crown__inner { padding-top: calc(var(--photo-h) * .78); }
  .page-home .home-crown__caption { display: none; }
}
@media (max-width: 767.98px) { .page-home .home-crown__fc.btn { margin-left: 0; } }
