/* ==========================================================================
   Samia Broadcast — site components (loaded after /brand/css/samia.css)
   Drawn television sets, strand rows, the test card, the press facts grid.
   Everything moves with transform/opacity only and stops under reduced motion.
   ========================================================================== */

/* Small shell fixes for this site */
.center .inline-form { margin-inline: auto; }
.hero + .marquee { border-top: 0; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.hero.night.rays::before { opacity: .22; }
.hero.night .lead { max-width: 34em; }
.twinkle.late { animation-delay: -2.4s; }
.art text { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }

/* Hero art: the drawn television (home) */
.art.tv-art { max-width: 540px; margin-inline: auto; }
.art.tv-art svg { overflow: visible; }

/* Strand tiles on the home page */
.strands .tile .status { margin-top: 2px; }
.strands .tile.ink .status { color: var(--sun); }
.tile.ink .link-arrow { color: var(--paper); }

/* Rules tiles */
.rules .tile .n { font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--red); letter-spacing: -.02em; font-variation-settings: "wdth" 80; }

/* Signal mast illustration (home, streaming section) */
.art.mast { max-width: 440px; margin-inline: auto; }

/* Strand rows (programmes page) */
.strand { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: var(--s3); padding-block: var(--s5); border-top: var(--bw) solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.strand:last-child { border-bottom: var(--bw) solid var(--ink); }
.strand .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: var(--s2); }
.strand h3 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); margin: 0 0 var(--s2); max-width: 16em; }
.strand .cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s3) var(--s5); align-items: start; }
.strand .cols .stack { max-width: 36em; }
.strand .before { background: var(--paper-2); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 18px 20px; box-shadow: 3px 3px 0 var(--ink); }
.strand .before h4 { margin: 0 0 10px; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.strand .before .checks { font-size: var(--fs-small); }
.strand .foot-link { margin-top: var(--s2); }
@media (max-width: 900px) { .strand .cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .strand { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding-block: var(--s4); } }

/* The empty programme card: an honest placeholder for the first release */
.release { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: var(--s3); align-items: center; padding: clamp(18px, 2.4vw, 26px); border: var(--bw) dashed var(--ink); border-radius: var(--r); background: var(--paper-2); }
.release .shot { aspect-ratio: 16 / 9; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--sand); display: grid; place-items: center; background-image: radial-gradient(rgba(21,19,26,.14) .8px, transparent .9px); background-size: 6px 6px; }
.release .shot svg { width: 56px; height: 56px; }
.release h3 { margin: 0 0 6px; }
.release .lines { display: grid; gap: 8px; margin-top: var(--s2); }
.release .lines i { display: block; height: 10px; border-radius: 5px; background: var(--line); }
.release .lines i.w7 { width: 70%; } .release .lines i.w5 { width: 50%; } .release .lines i.w3 { width: 32%; }
@media (max-width: 640px) { .release { grid-template-columns: minmax(0, 1fr); } }

/* The television set, built in CSS so its screen can hold real type (watch page) */
.tv-set { position: relative; width: 100%; max-width: 480px; margin-inline: auto; padding-top: 74px; }
.tv-set .aerial { position: absolute; left: 50%; top: 0; width: 200px; height: 90px; transform: translateX(-50%); }
.tv-set .aerial i { position: absolute; bottom: 0; left: calc(50% - 3px); width: 6px; height: 92px; background: var(--ink); border-radius: 3px; transform-origin: bottom center; }
.tv-set .aerial i:nth-child(1) { transform: rotate(-36deg); }
.tv-set .aerial i:nth-child(2) { transform: rotate(36deg); }
.tv-set .aerial svg { position: absolute; width: 44px; height: 44px; right: 4px; top: -8px; overflow: visible; }
.tv-set .body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; padding: 16px; background: var(--paper-2); border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: 10px 10px 0 var(--sun), 10px 10px 0 3px var(--ink); }
.tv-set .screen { aspect-ratio: 4 / 3; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--ink); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.tv-set .bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tv-set .bars i:nth-child(1) { background: var(--sky); }
.tv-set .bars i:nth-child(2) { background: var(--lemon); }
.tv-set .bars i:nth-child(3) { background: var(--mint); }
.tv-set .bars i:nth-child(4) { background: var(--lilac); }
.tv-set .bars i:nth-child(5) { background: var(--peach); }
.tv-set .bars i:nth-child(6) { background: var(--rose); }
.tv-set .bars i:nth-child(7) { background: var(--paper); }
.tv-set .band { display: grid; place-items: center; padding: 14px 10px; border-top: 3px solid var(--ink); background: var(--night); }
.tv-set .band .caption { margin: 0; }
.tv-set .side { display: grid; align-content: start; justify-items: center; gap: 12px; padding-top: 4px; }
.tv-set .dial { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sun); position: relative; box-shadow: 2px 2px 0 var(--ink); }
.tv-set .dial::after { content: ""; position: absolute; left: calc(50% - 1.5px); top: 3px; width: 3px; height: 10px; background: var(--ink); border-radius: 2px; }
.tv-set .dial.pink { background: var(--pink); transform: rotate(42deg); }
.tv-set .grille { width: 40px; height: 58px; margin-top: 6px; background: repeating-linear-gradient(to bottom, var(--ink) 0 3px, transparent 3px 11px); }
.tv-set .legs { display: flex; justify-content: space-between; padding: 0 64px; }
.tv-set .legs i { width: 9px; height: 36px; background: var(--ink); border-radius: 0 0 4px 4px; transform: skewX(-16deg); }
.tv-set .legs i:last-child { transform: skewX(16deg); }
@media (max-width: 480px) {
  .tv-set .body { grid-template-columns: minmax(0, 1fr) 54px; padding: 12px; gap: 10px; }
  .tv-set .dial { width: 28px; height: 28px; }
  .tv-set .grille { width: 30px; height: 44px; }
  .tv-set .legs { padding: 0 44px; }
}

/* Where programmes will be (watch page) */
.where .tile .when { font-family: var(--display); font-weight: 900; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); font-variation-settings: "wdth" 84; }

/* Press: facts grid, the mark on show, the boilerplate */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5px; margin: 0; border: var(--bw) solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.facts > div { background: var(--paper-2); padding: 16px 20px; display: grid; gap: 4px; min-width: 0; }
.facts dt { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.show { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--paper); }
.show.ink { background: var(--ink); }
.show.sun { background: var(--sun); }
.show img { width: 40%; height: auto; }
.show img.wide { width: 78%; }
.boilerplate { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.boilerplate .arabic { color: var(--blue); font-size: 1.25em; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; padding: 6px 10px 6px 6px; border: 1.5px solid var(--ink); border-radius: var(--pill); background: var(--paper-2); color: var(--ink); }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; }
.swatches .i-ink { background: var(--ink); } .swatches .i-paper { background: var(--paper); } .swatches .i-red { background: var(--red); } .swatches .i-sun { background: var(--sun); } .swatches .i-blue { background: var(--blue); }

/* Mailboxes */
.mail .tile h3 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 1.1rem; font-variation-settings: normal; overflow-wrap: anywhere; }

/* Motion added by this site stops under reduced motion (the shared classes already do) */
@media (prefers-reduced-motion: reduce) {
  .twinkle.late { animation: none !important; }
}
