/* GENERATED FILE: edit the CSS string in videos/build-videos.mjs, then run  node videos/build-videos.mjs */
.vintro { padding-block: 48px 8px; }
.vintro .kicker { font-family: var(--font-hand); font-size: 1.6rem; color: var(--clay-deep); margin: 0; }
.vintro h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em; margin: 4px 0 14px; }
.vintro p { max-width: 68ch; color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 10px; }
.vintro a { color: var(--clay-deep); text-underline-offset: 3px; }

.vfilter { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px 6px; }
.vfilter button {
  font: 600 0.92rem var(--font-sans); color: var(--ink-soft); background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.vfilter button:hover { border-color: var(--ink); color: var(--ink); }
.vfilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.vfilter .n { opacity: .65; font-weight: 500; margin-left: 4px; }

.vlist { display: grid; gap: 22px; padding-block: 18px 64px; }
.vcard {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start;
  background: var(--bg-panel); border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px;
  box-shadow: 0 6px 18px rgba(110, 90, 73, .07); scroll-margin-top: 90px;
}
.vcard[hidden] { display: none; }
.vcard:target { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-light); }
.vcard-media { position: sticky; top: 86px; }

.vthumb, .vembed {
  position: relative; display: block; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 12px; overflow: hidden; background: var(--ink);
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vthumb:hover img { transform: scale(1.03); }
.vplay {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(36, 37, 41, .78); color: #fff;
  transition: background .18s ease, transform .18s ease;
}
.vplay svg { width: 34px; height: 34px; }
.vthumb:hover .vplay, .vthumb:focus-visible .vplay { background: var(--clay-deep); transform: scale(1.06); }
.vtime {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .78); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 2px 7px; border-radius: 5px;
}
.vembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; font-size: .88rem; color: var(--stone); }
.vpill { font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); }
.vpill-code { background: #DCE3EA; color: #3D4C5C; }
.vpill-create { background: var(--clay-light); color: var(--clay-deep); }
.vpill-care { background: #E6DCE0; color: #6A4855; }

.vcard h2 { font-size: 1.32rem; line-height: 1.28; margin: 0 0 10px; }
.vcard h2 a { text-decoration: none; }
.vcard h2 a:hover { color: var(--clay-deep); }
.vsummary { margin: 0 0 14px; color: var(--ink); }
.vcard h3, .vdetail h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); margin: 0 0 6px; }
.vtakeaways { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); }
.vtakeaways li { margin: 4px 0; }

.vchapters { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-block: 10px; margin-bottom: 12px; }
.vchapters summary { cursor: pointer; font-weight: 600; font-size: .95rem; }
.vchapter-list { list-style: none; padding: 0; margin: 10px 0 2px; columns: 2; column-gap: 24px; }
.vchapter-list li { break-inside: avoid; margin: 0 0 6px; font-size: .92rem; }
.vchapter-list a { text-decoration: none; color: var(--ink-soft); }
.vchapter-list a:hover { color: var(--ink); text-decoration: underline; }
.vchapter-list a span { font-variant-numeric: tabular-nums; color: var(--clay-deep); font-weight: 600; margin-right: 6px; }

.vtools { margin: 0 0 12px; font-size: .92rem; color: var(--ink-soft); }
.vlinks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.vwatch { font-weight: 600; color: var(--clay-deep); text-decoration: none; }
.vwatch:hover { text-decoration: underline; text-underline-offset: 3px; }

.vsubscribe { text-align: center; padding-block: 0 64px; }
.vsubscribe p { color: var(--ink-soft); margin: 0 0 16px; }
.vsubscribe .btn { background: var(--ink); color: var(--bg); }
.vsubscribe .btn:hover { background: var(--clay-deep); transform: translateY(-2px); }

/* ---- Single video page ---- */
.vdetail { max-width: 860px; padding-block: 28px 56px; }
.vcrumbs { font-size: .88rem; color: var(--stone); margin: 0 0 18px; }
.vcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.vcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.vcrumbs a { color: var(--ink-soft); text-underline-offset: 3px; }
.vdetail h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; margin: 6px 0 20px; }
.vdetail .vplayer { margin-bottom: 24px; box-shadow: 0 14px 34px rgba(36, 37, 41, .18); border-radius: 14px; }
.vdetail .vlede { font-size: 1.14rem; line-height: 1.6; color: var(--ink); margin: 0 0 30px; }
.vdetail section { margin-bottom: 30px; }
.vdetail .vtakeaways { font-size: 1.02rem; }
.vdetail .vchapter-list { margin-top: 8px; }
.vtranscript { background: var(--bg-panel); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 20px; }
.vtranscript summary { cursor: pointer; font-weight: 600; }
.vtranscript summary span { font-weight: 400; color: var(--stone); margin-left: 6px; }
.vtranscript-body { margin-top: 14px; max-height: 70vh; overflow-y: auto; padding-right: 6px; }
.vtranscript-body p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.65; }
.vtranscript-body a { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .85rem; color: var(--clay-deep); text-decoration: none; margin-right: 8px; }
.vtranscript-body a:hover { text-decoration: underline; }
.vnote { font-size: .85rem; color: var(--stone); margin: 8px 0 0; }
.vactions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.vactions a {
  display: inline-flex; align-items: center; font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 20px; color: var(--ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.vactions a.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.vactions a:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--bg); }

.vmore { border-top: 1px solid var(--line-soft); padding-block: 40px 64px; }
.vmore h2 { font-size: 1.3rem; margin: 0 0 18px; }
.vmore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vmini { text-decoration: none; color: inherit; display: block; }
.vmini-img { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink); margin-bottom: 10px; }
.vmini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vmini:hover .vmini-img img { transform: scale(1.04); }
.vmini h3 { font-size: 1rem; line-height: 1.35; margin: 0 0 4px; }
.vmini:hover h3 { color: var(--clay-deep); }
.vmini p { font-size: .84rem; color: var(--stone); margin: 0; }

@media (max-width: 820px) {
  .vcard { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .vcard-media { position: static; }
  .vchapter-list { columns: 1; }
  .vmore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .vintro { padding-top: 32px; }
  .vdetail { padding-top: 18px; }
  .vtranscript { padding: 12px 14px; }
}
