.brand-presentation { position:relative; isolation:isolate; overflow:hidden; background:var(--brand-background); color:var(--brand-ink); }
.brand-presentation p { color:inherit; }
.brand-backdrop { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.brand-backdrop img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.brand-composition { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); column-gap:clamp(1rem,3vw,3rem); max-width:1600px; margin-inline:auto; padding:2rem clamp(1.25rem,3vw,3rem) 3rem 0; }
.brand-composition > * { min-width:0; grid-column:2; text-align:center; }
.brand-art { grid-column:1; grid-row:1 / span 6; align-self:start; padding-top:clamp(1rem,5vw,5rem); }
.brand-art img { width:100%; max-height:850px; object-fit:contain; object-position:left top; }
.brand-identity { display:grid; place-items:center; margin-bottom:1.5rem; }
.brand-presentation-logo { width:min(100%,430px); max-height:190px; object-fit:contain; }
.brand-intro { font-size:clamp(1rem,1.4vw,1.25rem); line-height:1.45; max-width:42rem; justify-self:center; }
.brand-intro p { margin-bottom:1rem; }
.brand-intro .brand-strapline { font-size:1.25em; font-weight:700; }
.brand-actions { margin:1.5rem 0 2.5rem; }
.brand-visit { display:inline-flex; justify-content:center; align-items:center; gap:.75rem; max-width:100%; min-height:48px; border:2px solid transparent; border-radius:999px; background:#fff; color:#33204a; padding:.65rem 1.5rem; line-height:1.4; font-size:1rem; }
.brand-visit:hover { border-color:currentColor; }
.brand-presentation :focus-visible { outline:3px solid var(--brand-ink); outline-offset:5px; }
.brand-metrics { margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:1rem; row-gap:2rem; }
.brand-metric { min-width:0; }
.brand-metric:last-child:nth-child(3n + 1) { grid-column:2; }
.brand-metric dt { display:flex; flex-direction:column; align-items:center; gap:.75rem; line-height:1.45; font-size:clamp(.95rem,1.4vw,1.15rem); }
.brand-metric dt span { max-width:10rem; text-wrap:balance; }
.brand-metric-icon { width:38px; height:42px; object-fit:contain; }
.brand-metric dd { margin:.6rem 0 0; font-weight:750; font-size:clamp(1.3rem,2.25vw,2rem); line-height:1.25; white-space:pre-wrap; }
.brand-sources { padding-top:2rem; font-size:.75rem; line-height:1.55; }
.brand-sources p { margin-bottom:.5rem; }
.brand-sources a { display:inline-flex; align-items:center; min-height:44px; padding:.5rem; text-decoration:underline; text-underline-offset:.2em; }
.brand-editorial { padding-block:2rem 4rem; }
.brand-editorial header { max-width:60rem; margin-inline:auto; text-align:center; }
.brand-editorial h1 { text-transform:none; }
.brand-editorial-logo { width:min(100%,350px); max-height:180px; object-fit:contain; margin:0 auto 2rem; }
.brand-programme-date { color:var(--yellow); }
.brand-editorial-art { max-width:68rem; margin:2rem auto; }
.brand-editorial-art img { width:100%; }
.brand-editorial-copy { max-width:52rem; margin:2rem auto; font-size:1.125rem; }
.brand-editorial > .button-row { justify-content:center; }
.brand-editorial-source { max-width:52rem; margin:2rem auto 0; }
.brand-episode-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.brand-episodes { margin-top:4rem; }
.brand-episodes h2 { font-size:clamp(1.8rem,3vw,3rem); }
.brand-episode { min-width:0; border:1px solid var(--border); border-radius:var(--radius-small); overflow:hidden; background:#371749; }
.brand-episode > img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.brand-episode > div { padding:1.25rem; }
.brand-episode h3 { font-size:1.25rem; line-height:1.4; }
.brand-episode h3 a { text-decoration:underline; text-underline-offset:.2em; }
.brand-episode p { font-size:1rem; }
.brand-episode p:last-child { margin-bottom:0; }
.brand-unavailable { padding-block:3rem 5rem; text-align:center; }
.brand-unavailable-logo { display:flex; justify-content:center; margin-bottom:1.5rem; }
.brand-unavailable-logo .brand-mark { display:flex; align-items:center; justify-content:center; height:120px; width:240px; margin:0; padding:0; border:0; border-radius:0; background:transparent; }
.brand-unavailable-logo img { height:120px; max-height:120px; min-height:0; width:100%; object-fit:contain; }
.brand-unavailable h1 { text-transform:none; }
.brand-trailer { position:relative; }
.brand-trailer .video-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); }
.brand-trailer iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.brand-trailer.is-playing { aspect-ratio:16/9; }
@media(max-width:1100px) and (min-width:901px) {
  .brand-composition { grid-template-columns:minmax(0,.7fr) minmax(0,1fr); }
}
@media(max-width:900px) {
  .brand-presentation { display:grid; grid-template-columns:minmax(0,1fr); padding:2rem var(--gutter) 2.5rem; }
  .brand-composition { display:contents; }
  .brand-composition > * { grid-column:1; }
  .brand-identity { grid-row:1; }
  .brand-intro { grid-row:2; }
  .brand-art { grid-row:3; padding-top:.5rem; margin:0 auto; width:min(100%,500px); }
  .brand-art img { max-height:450px; object-position:center; }
  .brand-actions { grid-row:4; margin:1.5rem 0 2rem; }
  .brand-metrics { grid-row:5; width:min(100%,600px); justify-self:center; gap:1.75rem .75rem; }
  .brand-sources { grid-row:6; }
  .brand-presentation-logo { max-height:150px; }
  /* Put the source decoration behind the artwork after reordering the content.
     Its grid area prevents transparent motifs from covering the introduction. */
  .brand-backdrop { grid-column:1; grid-row:3 / 4; }
  .brand-backdrop img { object-fit:cover; object-position:center top; }
  .brand-metric dd { font-size:clamp(1.2rem,4vw,1.8rem); }
  .brand-episode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:380px) {
  .brand-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .brand-metric:last-child:nth-child(3n + 1) { grid-column:1 / -1; }
}
@media(max-width:650px) { .brand-episode-grid { grid-template-columns:minmax(0,1fr); } }
