/* Components. One bold thing per page is the narrated scene; everything here stays quiet. */

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 2.35rem; width: auto; }
.brand__name { font-stretch: 78%; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; line-height: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: brightness(1.15); } }

.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav__list { display: flex; gap: var(--s-5); list-style: none; }
.nav__list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--t-sm); padding: var(--s-2) 0; border-bottom: 2px solid transparent; }
.nav__list a:hover { border-bottom-color: var(--orange); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--accent); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: var(--t-xs); font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 0.55rem 0.8rem; border-radius: 999px; text-decoration: none; color: var(--ink-2); line-height: 1; }
.lang-switch [aria-current="true"] { background: var(--ink); color: var(--bg); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.5rem 0.65rem; cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__toggle svg { width: 1.25rem; height: 1.25rem; }
.nav__toggle [data-icon="close"], .nav__toggle[aria-expanded="true"] [data-icon="menu"] { display: none; }
.nav__toggle[aria-expanded="true"] [data-icon="close"] { display: block; }
html[data-menu-open] { overflow: hidden; }

@media (max-width: 999px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: 4.25rem 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: var(--s-5) var(--gutter) var(--s-6);
    display: none; flex-direction: column; align-items: flex-start; gap: var(--s-5);
    box-shadow: 0 18px 30px -20px rgb(13 27 42 / .35);
    max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav__panel[data-open] { display: flex; }
  .nav__list { flex-direction: column; gap: var(--s-3); }
  .nav__list a { font-size: var(--t-lg); }
}
@media (min-width: 1000px) { .nav__panel { display: contents; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 2.9rem; padding: 0.7rem 1.25rem; border-radius: var(--r-sm);
  font-weight: 650; font-size: var(--t-sm); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); text-decoration: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--quiet { border-color: var(--line); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.section--band .btn { border-color: var(--band-ink); color: var(--band-ink); }
.section--band .btn:hover { background: var(--band-ink); color: var(--band-bg); }
.section--band .btn--primary { background: var(--orange); border-color: var(--orange); color: #0D1B2A; }

/* ---------- Maturity tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 600; line-height: 1; padding: 0.38em 0.6em 0.38em 0.5em;
  border-radius: 999px; border: 1px solid currentColor; color: var(--ink-2);
}
.tag::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: currentColor; }
.tag[data-maturity="production"] { color: var(--green); }
.tag[data-maturity="delivered"] { color: var(--link); }
/* Only two chips (spec D26): "In production" and "Delivered". Anything else is shown without a chip. */

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1.75rem, 0.8rem + 3vw, 3.5rem); padding-bottom: var(--s-7); }
.hero__grid { display: grid; gap: var(--s-5); grid-template-areas: "title" "stage" "copy"; }
.hero__title { grid-area: title; }
.hero__stage { grid-area: stage; min-width: 0; }
.hero__copy { grid-area: copy; display: grid; gap: var(--s-5); align-content: start; }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 18ch; }
/* 1.6rem on phones fits a 12-character phrase in a 328 px (360 px screen) column, since Chinese hero titles break
   only at punctuation and spaces (base.css) */
html[lang^="zh"] .hero h1 { font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); max-width: 14em; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "title stage" "copy stage"; column-gap: var(--s-7); row-gap: var(--s-5); align-items: start; }
}
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: var(--t-sm); color: var(--ink-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.hero__stage { min-width: 0; }
/* Product pages: title + aside on top, full-width film below */
.hero__top { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.hero__top h1 { max-width: 17ch; }
.hero__aside { display: grid; gap: var(--s-4); max-width: 40rem; }
@media (min-width: 1000px) { .hero__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-7); align-items: start; } }
.hero__product { display: block; font-size: var(--t-xl); font-weight: 750; font-stretch: 90%; line-height: 1.15; letter-spacing: 0; color: var(--accent); margin-bottom: 0.35em; }
.section--strip { padding-block: var(--s-6); border-top: 1px solid var(--line); background: var(--bg); }
.section--strip .partners { border-top: 0; padding-top: 0; }

/* ---------- Problems ---------- */
.problems { list-style: none; display: grid; gap: var(--s-6) var(--s-7); }
@media (min-width: 760px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.problems li { display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 3px solid var(--ink); }
.problems h3 { font-size: var(--t-lg); font-stretch: 85%; }

/* ---------- Solution line (order → decision) ---------- */
.flowline { list-style: none; position: relative; display: grid; gap: var(--s-4); counter-reset: none; }
.flowline::before { content: ""; position: absolute; left: 0.6rem; top: 0.6rem; bottom: 0.6rem; width: 3px; background: linear-gradient(var(--blue), var(--orange)); border-radius: 3px; }
.flowline li { position: relative; padding-left: 2.4rem; display: grid; gap: var(--s-1); }
.flowline li::before { content: ""; position: absolute; left: 0.18rem; top: 0.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--bg-2); border: 3px solid var(--ink); }
.flowline__title { font-size: var(--t-md); font-stretch: 92%; font-weight: 700; line-height: 1.25; }
.flowline__title a { color: inherit; text-decoration: none; }
.flowline__title a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.flowline .meta { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
@media (min-width: 1080px) {
  .flowline { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-4); }
  .flowline::before { left: 0.6rem; right: 0.6rem; top: 0.6rem; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
  .flowline li { padding-left: 0; padding-top: 2.2rem; align-content: start; }
  .flowline li::before { left: 0.15rem; top: 0.15rem; }
}

/* ---------- Service columns ---------- */
.services { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.service { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-6) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .service { padding: var(--s-2) var(--s-6) var(--s-2) var(--s-6); border-top: 0; border-left: 1px solid var(--line); }
  .service:first-child { padding-left: 0; border-left: 0; }
}
.service__points { list-style: none; display: grid; gap: var(--s-2); }
.service__points li { display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; padding-bottom: var(--s-2); border-bottom: 1px dashed var(--line); font-size: var(--t-sm); }

/* ---------- Results (measured numbers) ---------- */
.results { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .results { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.result { display: grid; gap: var(--s-2); align-content: start; }
.result__value { font-stretch: 68%; font-weight: 800; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result__label { font-weight: 600; }
.result__window { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }
.section--band .result__window { color: var(--band-ink-2); }

/* ---------- Partners / trust ---------- */
/* Logos (Kevin 2026-10-28), each on a white tile so the dark wordmarks read in dark mode too. The tiles share one
   height; each logo's own display size is in _common.partners, balanced by eye. */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.partners__label { margin: 0; font-size: var(--t-sm); color: var(--ink-3); }
.partners__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.partners__logo { display: flex; align-items: center; justify-content: center; height: 4.25rem; min-width: 8.5rem; padding: 0 var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.partners__logo img { display: block; max-width: 100%; height: auto; }
@media (max-width: 520px) { .partners__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .partners__logo { min-width: 0; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); } }
.steps li { counter-increment: step; display: grid; gap: var(--s-3); align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  font-weight: 800; font-stretch: 75%; font-size: var(--t-lg); background: var(--ink); color: var(--bg);
}
.section--band .steps li::before { background: var(--orange); color: #0D1B2A; }
.steps .stop { font-size: var(--t-xs); color: var(--ink-3); border-left: 2px solid var(--orange); padding-left: var(--s-2); }
.section--band .steps .stop { color: var(--band-ink-2); }

/* ---------- Highlights (Kevin 2026-10-28): silent loops, the details in a walkthrough ---------- */
.hl { list-style: none; display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); } }
.hl__item { display: grid; gap: var(--s-2); align-content: start; }
.hl__clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--night); }
.hl__title { font-size: var(--t-lg); margin-top: var(--s-2); }
.hl__cta { font-weight: 600; font-size: var(--t-sm); }

/* ---------- Ways to land it (Kevin 2026-10-28): reuse first, then shadow-to-agent, then engineers on site ---------- */
.ways { list-style: none; display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); }
.section--band .way { border-color: var(--band-line); }
.way--first { border-width: 2px; border-color: var(--orange); }
.section--band .way--first { border-color: var(--orange); }
.way__tag { margin: 0; font-size: var(--t-xs); font-weight: 700; color: var(--orange); }
.way h3 { font-size: var(--t-lg); }
.steps__lead { margin-bottom: var(--s-5); }

/* ---------- Plain lists (tech, promise) ---------- */
.rows { list-style: none; display: grid; }
.rows > li { display: grid; gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .rows > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 8.5rem; align-items: baseline; } .rows > li > :last-child { justify-self: end; } }
.section--band .rows > li { border-color: var(--band-line); }

.promise { list-style: none; display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); } }
.promise li { display: grid; gap: var(--s-2); padding-left: var(--s-5); border-left: 3px solid var(--blue); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.contact__lines { display: grid; gap: var(--s-3); }
.contact__line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.contact__value { font-stretch: 75%; font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -0.01em; color: inherit; text-decoration: none; line-height: 1.1; word-break: break-word; }
.copy-btn { background: none; border: 1px solid currentColor; border-radius: var(--r-sm); padding: 0.3rem 0.6rem; font-size: var(--t-xs); font-weight: 600; cursor: pointer; opacity: .8; }
.copy-btn:hover { opacity: 1; }
.copy-btn[data-copied] { color: var(--green); }
.ts-share { margin: var(--s-2) 0 0; }
.section--band .copy-btn[data-copied] { color: #7EE2A8; }

/* ---------- Testimonials (hidden until real quotes exist) ---------- */
.quotes { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; display: grid; gap: var(--s-3); }
.quote blockquote { margin: 0; font-size: var(--t-lg); line-height: 1.45; }
.quote figcaption { font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: var(--s-4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4em; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-top: var(--s-3); color: var(--ink-2); max-width: 44em; }

/* ---------- Rules (blocking vs warning) ---------- */
.rulecols { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .rulecols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rulelist { list-style: none; display: grid; gap: var(--s-3); }
.rulelist li { display: flex; gap: var(--s-3); align-items: baseline; }
.rulelist li::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 2px; transform: translateY(0.05em); }
.rulelist--block li::before { background: var(--red); }
.rulelist--warn li::before { background: var(--amber); border-radius: 50%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-ink-2); padding: var(--s-8) 0 var(--s-6); font-size: var(--t-sm); border-top: 1px solid var(--band-line); }
.site-footer a { color: var(--band-ink); }
.site-footer .wrap { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__h { font-size: var(--t-sm); font-weight: 700; color: var(--band-ink); margin-bottom: var(--s-3); }
.site-footer h2 { font-size: var(--t-lg); color: var(--band-ink); font-stretch: 85%; }
.site-footer ul { list-style: none; display: grid; gap: var(--s-2); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--band-line); padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); padding-bottom: var(--s-6); display: grid; gap: var(--s-5); }
.page-head h1 { font-size: var(--t-3xl); max-width: 22ch; }
.crumbs { font-size: var(--t-sm); color: var(--ink-3); }
.crumbs a { color: inherit; }

/* Small additions used by page templates */
.hero__for { font-size: var(--t-sm); margin-bottom: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
@media (min-width: 1080px) { .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Status colours on dark bands */
.section--band .tag[data-maturity="production"] { color: var(--band-green); }
.section--band .tag[data-maturity="delivered"] { color: var(--band-link); }
.section--band a { color: var(--band-link); }

/* ---------- Watch: video cards, watch page, briefs ---------- */
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); max-width: none; }
.section-head--row > div { display: grid; gap: var(--s-3); max-width: 46rem; }
.vcards { list-style: none; display: grid; gap: var(--s-5); grid-auto-flow: column; grid-auto-columns: minmax(15rem, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); }
.vcards > li { scroll-snap-align: start; }
@media (min-width: 640px) { .vcards { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; } }
@media (min-width: 1080px) { .vcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .vcards:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vcard { display: grid; gap: var(--s-2); align-content: start; }
.vcard__link { display: grid; gap: var(--s-3); color: var(--ink); text-decoration: none; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--band-bg); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #0D1B2A; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .6); }
.vcard__play svg { width: 20px; height: 20px; margin-left: 2px; }
.vcard__time { position: absolute; right: 10px; bottom: 10px; font-size: var(--t-xs); font-weight: 650; color: #fff; background: rgb(6 14 23 / .75); padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.vcard__title { font-weight: 700; font-stretch: 90%; font-size: var(--t-lg); line-height: 1.25; text-wrap: balance; }
.vcard__link:hover .vcard__title { text-decoration: underline; text-decoration-color: var(--orange); }
.vcard__link:hover .vcard__play { background: #fff; }
.vcard__summary { font-size: var(--t-sm); color: var(--ink-2); }
.watch-item__grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.watch-item__text { display: grid; gap: var(--s-3); align-content: start; max-width: 52rem; }
.watch-item__book { justify-self: start; }
.watch-item__text h2 { font-size: var(--t-2xl); }
.briefs { list-style: none; display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .briefs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brief { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); border: 1px solid var(--band-line); border-radius: var(--r-md); }
.brief h3 { color: var(--band-ink); font-size: var(--t-lg); }
.brief .tag { justify-self: start; }
.brief__cta { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--band-ink); color: var(--band-ink) !important; text-decoration: none; font-weight: 650; }
.brief__cta:hover { background: var(--band-ink); color: var(--band-bg) !important; }

/* Measured vs estimate label on number cards */
.kind { justify-self: start; font-size: var(--t-xs); font-weight: 700; padding: .2em .55em; border-radius: var(--r-sm); background: var(--bg-2); color: var(--ink-2); }
.kind[data-kind="estimate"] { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }
.section--band .kind { background: var(--band-line); color: var(--band-ink); }
.section--band .kind[data-kind="estimate"] { color: var(--band-amber); }

/* ---------- Product line: one card per product (the poster is the product's film) ---------- */
.pcards { list-style: none; display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: minmax(0, 1fr); }
.pcard { display: grid; gap: var(--s-4); align-content: start; }
.pcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--band-bg); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard__body { display: grid; gap: var(--s-2); align-content: start; grid-template-rows: auto auto 1fr auto; }
.pcard__name { font-size: var(--t-xl); font-weight: 750; font-stretch: 90%; line-height: 1.15; text-wrap: balance; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__tagline { font-weight: 600; color: var(--ink-2); line-height: 1.35; text-wrap: balance; }
.pcard__summary { font-size: var(--t-sm); color: var(--ink-2); }
.pcard .tag { justify-self: start; margin-top: var(--s-2); }
.pcard:hover .pcard__name a, .pcard__name a:focus-visible { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.15em; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard:hover .vcard__play { background: #fff; }
@media (prefers-reduced-motion: reduce) { .pcard__media img { transition: none; } .pcard:hover .pcard__media img { transform: none; } }
/* Phones: small poster beside the name, so four products don't take four screens */
@media (max-width: 639px) {
  .pcard:not(.pcard--featured) {
    grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: var(--s-1) var(--s-4); align-items: start;
    grid-template-areas: "media name" "media tagline" "summary summary" "tag tag";
    grid-template-rows: auto 1fr auto auto;
  }
  .pcard:not(.pcard--featured) .pcard__tagline { align-self: start; }
  .pcard:not(.pcard--featured) .pcard__body { display: contents; }
  .pcard:not(.pcard--featured) .pcard__media { grid-area: media; }
  .pcard:not(.pcard--featured) .pcard__name { grid-area: name; font-size: var(--t-lg); }
  .pcard:not(.pcard--featured) .pcard__tagline { grid-area: tagline; font-size: var(--t-sm); }
  .pcard:not(.pcard--featured) .pcard__summary { grid-area: summary; margin-top: var(--s-2); }
  .pcard:not(.pcard--featured) .tag { grid-area: tag; }
  .pcard:not(.pcard--featured) .vcard__play { width: 30px; height: 30px; left: 6px; bottom: 6px; }
  .pcard:not(.pcard--featured) .vcard__play svg { width: 14px; height: 14px; }
  .pcard:not(.pcard--featured) .vcard__time { display: none; }
}
/* Five products (D26): the full list is the featured card plus four, the foot of a product page lists four.
   Four cards sit two by two up to 1079 px and four in a row from 1080 px, so no card is ever left on its own.
   A list of three (or a featured card and three) still gets one row of three from 900 px. */
@media (min-width: 640px) {
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { grid-template-rows: auto 1fr; }
  .pcard--featured { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .pcards:not(.pcards--featured):has(> li:nth-child(3):last-child),
  .pcards--featured:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcard--featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; column-gap: var(--s-7); align-items: center; }
  .pcard--featured .pcard__name { font-size: var(--t-2xl); }
  .pcard--featured .pcard__tagline { font-size: var(--t-lg); }
  .pcard--featured .pcard__summary { font-size: var(--t-md); }
}
@media (min-width: 1080px) {
  .pcards:not(.pcards--featured):has(> li:nth-child(4):last-child),
  .pcards--featured:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.section--band .pcard__name, .section--band .pcard__name a { color: var(--band-ink); }
.section--band .pcard__tagline, .section--band .pcard__summary { color: var(--band-ink-2); }
.section--band .pcard__media { background: var(--band-line); }

/* ---------- A film switched off in site/films.yaml: its poster with a quiet "coming soon" chip ---------- */
/* Always over a dark poster, so the colours are the same in light and dark mode. The hollow dot marks "not playing yet". */
.film-chip {
  display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 600; line-height: 1; padding: 0.45em 0.7em 0.45em 0.6em;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--band-ink) 40%, transparent);
  background: color-mix(in srgb, var(--night) 75%, transparent); color: var(--band-ink);
}
.film-chip::before { content: ""; flex: none; width: 0.55em; height: 0.55em; border-radius: 50%; border: 1.5px solid currentColor; }
.pcard__media .film-chip { position: absolute; left: 12px; bottom: 12px; }
/* Product page #film and /watch/: the player's frame, holding the poster; chip and note over a dark fade */
.film-soon {
  position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--night);
  box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 30px 60px -40px rgb(13 27 42 / .55);
  container-type: inline-size;
}
.film-soon__poster { width: 100%; height: 100%; object-fit: cover; }
.film-soon__text {
  position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; justify-items: start; gap: var(--s-2);
  padding: var(--s-7) clamp(0.75rem, 3%, 1.5rem) clamp(0.75rem, 3%, 1.5rem);
}
/* A full-width fade, so text printed low in a poster sits visibly behind the note instead of running on from it */
.film-soon__text::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, color-mix(in srgb, var(--night) 88%, transparent) 40%, transparent);
}
/* Wide frames: lighter in the bottom-right corner, where each poster carries its own notice ("Screens from our software
   in commercial use; sensitive customer data replaced or masked", spec D26). The notice sits in the poster's bottom
   2.6cqw (1.4-4.4% of a 16:9 frame's height) and starts at about 60% of the width, so only that strip lightens: a
   caption printed just above it in the poster stays behind the fade. The note stays in the left half. */
@container (min-width: 60rem) {
  .film-soon__note { max-width: 46cqw; }
  .film-soon__text::before {
    -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(to right, #000 52%, rgb(0 0 0 / .3) 60%);
    mask-image: linear-gradient(#000, #000), linear-gradient(to right, #000 52%, rgb(0 0 0 / .3) 60%);
    -webkit-mask-size: 100% calc(100% - 2.6cqw), 100% 2.6cqw;
    mask-size: 100% calc(100% - 2.6cqw), 100% 2.6cqw;
    -webkit-mask-position: top, bottom;
    mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}
.film-soon__note { max-width: 44em; font-size: var(--t-sm); line-height: 1.45; color: var(--band-ink); text-wrap: pretty; }
html[lang^="zh"] .film-soon__note { line-height: 1.6; }
@media (max-width: 559px) {
  .film-soon__text { padding-top: var(--s-5); gap: var(--s-1); }
  .film-soon__note { font-size: var(--t-xs); }
}
@media (max-width: 639px) {
  /* the small poster beside the name: 11 px is the floor for text on a phone */
  .pcard:not(.pcard--featured) .film-chip { left: 6px; bottom: 6px; font-size: 0.6875rem; padding: 0.4em 0.55em 0.4em 0.5em; }
}
