/* Shared film skin for product, legal, and journal pages.
   Loaded after each page's own stylesheet. Copy and links stay on the page. */

.film-sub {
  --film-gutter: 28px;
  --film-col: 1120px;
  background: #f3ede2 !important;
  color: #1d1a16;
  font-family: Inter, system-ui, sans-serif;
}

.film-sub h1,
.film-sub h2,
.film-sub h3,
.film-legal h1,
.film-legal h2,
.film-legal .section-head h1,
.film-legal .legal-block h2,
.film-legal .contact-card h2 {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.03em;
}

.film-sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 88vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.film-product .film-sky { height: 1180px; }
.film-blog .film-sky { height: 72vh; }

.film-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.46) 0%, rgba(10, 12, 14, 0.08) 32%, rgba(10, 12, 14, 0.18) 58%, rgba(10, 12, 14, 0.72) 100%);
}

.film-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.film-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 16px var(--film-gutter) 22px;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.55) 0%, rgba(8, 10, 12, 0) 100%);
  color: #fff;
}

.film-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: var(--film-col);
}

.film-brand {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.film-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.film-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.film-links a:hover { color: #fff; }

.film-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3ede2;
  color: #1d1a16 !important;
  text-decoration: none !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.film-bar.film-scrolled {
  position: fixed;
  background: rgba(243, 237, 226, 0.94);
  color: #1d1a16;
  border-bottom: 1px solid rgba(29, 26, 22, 0.1);
  backdrop-filter: blur(10px);
}

.film-bar.film-scrolled .film-brand,
.film-bar.film-scrolled .film-links a { color: #1d1a16; }

.film-bar.film-scrolled .film-pill {
  background: #1d1a16;
  color: #f3ede2 !important;
}

.film-sub .wrap,
.film-blog .wrap,
.film-index .wrap,
.film-product .wrap {
  position: relative;
  z-index: 2;
  width: min(var(--film-col), calc(100% - (2 * var(--film-gutter)))) !important;
  max-width: var(--film-col) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.film-product .wrap {
  padding-top: 108px;
}

.film-product .nav {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 12px !important;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 28px !important;
}

.film-product .nav a {
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.film-product h1 {
  color: #fff !important;
  font-size: clamp(40px, 5.4vw, 76px) !important;
  line-height: 0.98 !important;
  font-weight: 300 !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.film-product .lead,
.film-product .hero-sub {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: Inter, system-ui, sans-serif !important;
}

.film-product .badge {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 16px !important;
}

.film-product .badge::before { content: "[ "; }
.film-product .badge::after { content: " ]"; }

.film-product .cta {
  background: #f3ede2 !important;
  color: #1d1a16 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.film-product .cta-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  border-radius: 999px !important;
}

.film-product .card,
.film-product .metric-card,
.film-product .snapshot,
.film-product .signal-card,
.film-product .faq,
.film-product .article,
.film-index .card,
.film-blog .article,
.film-legal .legal-toc,
.film-legal .legal-table {
  background: rgba(246, 240, 229, 0.94) !important;
  border: 1px solid rgba(29, 26, 22, 0.14) !important;
  color: #1d1a16 !important;
  box-shadow: none !important;
}

.film-product .card h3,
.film-product .card p,
.film-product .metric-card .value,
.film-product .metric-card .label,
.film-product .metric-card .detail,
.film-product .snapshot h2,
.film-product .snapshot .title,
.film-product .snapshot .meta,
.film-product .snapshot .num,
.film-product .snapshot .cap,
.film-product .snapshot-eyebrow,
.film-product .snapshot-pill,
.film-product .signal-card .tag,
.film-product .signal-card p,
.film-product .bar-meta .left,
.film-product .bar-meta .right,
.film-product .faq h2,
.film-product .faq h3,
.film-product .faq p {
  color: #1d1a16 !important;
}

.film-product .metric-card .label,
.film-product .signal-card .tag,
.film-product .snapshot-eyebrow,
.film-product .snapshot-pill {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  letter-spacing: 0.08em !important;
  text-transform: lowercase !important;
  color: #6e665b !important;
}

.film-product .faq h2,
.film-product .faq h3 {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 400 !important;
}

.film-product .faq { padding: 22px 22px 8px; }
.film-product .faq-item { border-top-color: rgba(29, 26, 22, 0.14) !important; }
.film-product .faq-item p,
.film-product .card p,
.film-product .metric-card .detail { color: #6e665b !important; }

.film-product img.hero {
  border-color: rgba(29, 26, 22, 0.14) !important;
  border-radius: 18px !important;
  position: relative;
  z-index: 2;
}

.film-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: min(var(--film-col), calc(100% - (2 * var(--film-gutter))));
  max-width: var(--film-col);
  margin: 12px auto 0;
  padding: 22px 0 36px;
  border-top: 1px solid rgba(29, 26, 22, 0.14);
  color: #6e665b;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wrap > .film-foot {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.film-foot a { color: #1d1a16; text-decoration: none; }

/* journal */
.film-blog .kicker,
.film-index .kicker {
  display: block;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.film-index .wrap { padding-top: 22vh; }

.film-index h1 {
  color: #fff !important;
  font-size: clamp(64px, 8vw, 108px) !important;
  line-height: 0.92 !important;
  margin: 0 0 12px !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.film-index .kicker,
.film-blog .kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
}

.film-index .sub {
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 460px;
  font-size: 17px;
  margin: 0 0 36px !important;
}

.film-index .grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.film-index .card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.film-index .card img,
.film-index .ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #efe6d8;
  display: block;
}

.film-index .body { padding: 18px 18px 20px; }
.film-index .body h2 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 8px; }
.film-index .body p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-blog .article p { margin: 0 0 1em; }
.film-blog .article ul,
.film-blog .article ol { padding-left: 1.2em; }
.film-blog .article a { word-break: break-word; }
.film-blog .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.film-blog .hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin: 0 0 22px;
  background: #efe6d8;
}
.film-blog .tag { display: inline-block; padding: 4px 10px; font-size: 0.78rem; }

.film-index .card {
  border-radius: 18px !important;
  overflow: hidden;
  color: #1d1a16 !important;
}

.film-index .card:hover { transform: translateY(-2px); }

.film-index .body h2,
.film-blog h1,
.film-blog h2,
.film-blog h3 {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  color: #1d1a16 !important;
}

.film-index .body p,
.film-index .date { color: #6e665b !important; }

.film-blog .wrap { padding-top: 28vh; }

.film-blog h1 {
  font-size: clamp(36px, 4.2vw, 58px) !important;
  line-height: 1.05 !important;
}

.film-blog .article {
  border-radius: 22px !important;
  padding: 32px 28px !important;
}

.film-blog .article a { color: #1d1a16; text-decoration: underline; text-underline-offset: 2px; }

.film-blog .meta { color: #6e665b !important; }

.film-blog .tag {
  background: #efe6d8 !important;
  color: #4a443c !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400 !important;
  letter-spacing: 0.03em;
  border-radius: 999px;
}

.film-blog .hero {
  border-radius: 14px;
}

.film-blog .article .table-wrap {
  overflow-x: auto;
  margin: 1.25em 0;
  border: 1px solid rgba(29, 26, 22, 0.14);
  border-radius: 14px;
  background: #fbf8f2;
}

.film-blog .article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.45; }
.film-blog .article th,
.film-blog .article td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(29, 26, 22, 0.12); }
.film-blog .article th { font-family: "Newsreader", Georgia, serif; font-weight: 500; background: #efe6d8; }
.film-blog .article tbody tr:last-child td { border-bottom: none; }

.film-blog .cta,
.film-index .film-pill {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.film-blog a.cta {
  display: inline-flex;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1d1a16 !important;
  color: #f3ede2 !important;
  font-weight: 400;
  text-decoration: none !important;
}

.film-blog .footer,
.film-index .film-foot {
  margin-top: 36px;
}

/* legal */
.film-legal {
  --film-gutter: 28px;
  --film-col: 1120px;
  background: #f3ede2 !important;
}

.film-legal header.wps-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.55), rgba(8, 10, 12, 0)) !important;
  border-bottom: none !important;
  color: #fff;
}

.film-legal .wps-nav__inner,
.film-legal .legal-hero,
.film-legal .legal-section,
.film-legal .footer-inner,
.film-legal .film-sig {
  width: min(var(--film-col), calc(100% - (2 * var(--film-gutter)))) !important;
  max-width: var(--film-col) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.film-legal .legal-wrap {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.film-legal header.wps-nav.film-scrolled {
  position: fixed;
  background: rgba(243, 237, 226, 0.94) !important;
  border-bottom: 1px solid rgba(29, 26, 22, 0.1) !important;
}

.film-legal .nav-brand .word,
.film-legal .nav-menu a { color: #fff !important; }

.film-legal header.wps-nav.film-scrolled .nav-brand .word,
.film-legal header.wps-nav.film-scrolled .nav-menu a { color: #1d1a16 !important; }

.film-legal .nav-brand .logo { background: transparent !important; }

.film-legal .nav-cta a {
  background: #f3ede2 !important;
  color: #1d1a16 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-weight: 400 !important;
  border-radius: 999px !important;
}

.film-legal header.wps-nav.film-scrolled .nav-cta a {
  background: #1d1a16 !important;
  color: #f3ede2 !important;
}

.film-legal .legal-hero {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  justify-content: flex-end;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 140px 0 56px !important;
  background: transparent !important;
}

.film-legal .section-head {
  align-items: flex-start !important;
  text-align: left !important;
  margin: 0 !important;
}

.film-legal .section-head h1 {
  color: #fff !important;
  font-size: clamp(48px, 6vw, 84px) !important;
  line-height: 0.96 !important;
  max-width: 14ch;
}

.film-legal .section-head p,
.film-legal .legal-hero .updated,
.film-legal .badge,
.film-legal .badge span {
  color: rgba(255, 255, 255, 0.92) !important;
}

.film-legal .badge {
  background: transparent !important;
  height: auto !important;
  padding: 0 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.film-legal .badge .dot { display: none; }
.film-legal .badge span::before { content: "[ "; }
.film-legal .badge span::after { content: " ]"; }

.film-legal .legal-section {
  position: relative;
  z-index: 2;
  background: #f3ede2;
  padding-top: 28px !important;
}

.film-legal .legal-block h2 { font-size: clamp(28px, 3vw, 36px) !important; line-height: 1.1 !important; }
.film-legal .legal-block p,
.film-legal .legal-block li,
.film-legal .legal-toc a { color: #3a342c !important; }
.film-legal .legal-toc { border-radius: 18px !important; }
.film-legal .legal-block a.inline-link { color: #1d1a16 !important; }

.film-legal .contact-card {
  background: rgba(246, 240, 229, 0.96) !important;
  color: #1d1a16 !important;
  border: 1px solid rgba(29, 26, 22, 0.14);
}

.film-legal .contact-card p,
.film-legal .contact-card a.inline-link { color: #3a342c !important; }

.film-legal footer {
  position: relative;
  z-index: 2;
  background: #1d1a16;
  color: #d8d0c3;
  border-top: none !important;
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.film-legal .footer-word,
.film-legal .footer-brand .tag,
.film-legal .footer-brand .copy,
.film-legal .footer-col h3,
.film-legal .footer-col a { color: #d8d0c3 !important; }

.film-legal .film-sig {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #d8d0c3;
}

@media (max-width: 900px) {
  .film-sub,
  .film-legal { --film-gutter: 20px; }
  .film-links { display: none; }
  .film-bar { padding: 14px var(--film-gutter) 18px; }
  .film-pill {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .film-legal .legal-hero { padding: 120px 0 40px !important; min-height: 78vh; }
  .film-legal .nav-menu { display: none !important; }
  .film-product .wrap { padding-top: 88px; }
  .film-index h1 { font-size: 52px !important; }
  .film-foot { padding-top: 20px; padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .film-ribbon { display: none; }
}

.film-sub .btn,
.film-sub .btn2 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400;
  border-radius: 999px;
  text-decoration: none !important;
}
.film-sub .btn {
  background: #1d1a16 !important;
  color: #f3ede2 !important;
}
.film-sub .btn2 {
  background: transparent !important;
  color: #1d1a16 !important;
  border: 1px solid rgba(29, 26, 22, 0.35) !important;
}

/* === site polish 2026-10-22 === */
.film-sub .btn,.film-sub .btn2{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;font-size:13px;line-height:1;transition:transform .2s ease,background .2s ease}
.film-sub .btn{border:1px solid #1d1a16 !important}
.film-sub .btn:hover,.film-sub .btn2:hover{transform:translateY(-1px)}
.film-sub .btn2:hover{background:rgba(29,26,22,.06) !important}
.film-sub .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.film-sub .article a:not(.btn):not(.btn2):not(.cta){color:#2f6b3a;text-decoration-color:rgba(47,107,58,.35);text-underline-offset:3px}
.film-sub .wrap{scroll-margin-top:96px}
.film-sub img{max-width:100%;height:auto}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .film-sub .article>section,.film-sub .grid>.card,.film-sub .faq,.film-sub .cards>*{animation:fp-rise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
  }
}
@keyframes fp-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media (max-width:420px){
  .film-sub .actions{flex-direction:column;align-items:stretch}
  .film-sub .btn,.film-sub .btn2{justify-content:center}
}
/* blog covers 16:9 */
.film-index .card{border-radius:18px;overflow:hidden;background:#fbf7f0;border:1px solid rgba(29,26,22,.1);box-shadow:0 1px 2px rgba(29,26,22,.04),0 12px 32px -18px rgba(29,26,22,.25);transition:transform .25s ease,box-shadow .25s ease}
.film-index .card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(29,26,22,.05),0 22px 44px -20px rgba(29,26,22,.32)}
.film-index .card img,.film-index .ph{aspect-ratio:16/9 !important;height:auto;object-fit:cover;border-radius:0}
.film-blog .article img.hero{aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;border-radius:14px}
