/* Kainos Lev: gold on near-black, Cinzel headings, Source Serif 4 for reading. Light and dark from the same tokens. */
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/SourceSerif4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #f6f1e7; --bg-2: #eee6d6; --surface: #fffaf2; --ink: #1d1811; --ink-2: #4b4236;
  --gold: #8a5a10; --gold-2: #b47a22; --gold-hi: #6f470a; --line: rgba(40, 30, 15, .16); --line-2: rgba(40, 30, 15, .3);
  --btn: #d29a3a; --btn-ink: #1a1206; --shadow: 0 1px 2px rgba(40,25,5,.08), 0 12px 32px -12px rgba(60,35,5,.25);
  --play-bg: rgba(12, 9, 6, .62); --yt-red: #ff0033;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --r: 16px; --gut: 16px; --max: 74rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0907; --bg-2: #120e0a; --surface: #18130e; --ink: #f2e9da; --ink-2: #c4b6a2;
    --gold: #e8b862; --gold-2: #d39a3c; --gold-hi: #f6d48f; --line: rgba(242, 233, 218, .12); --line-2: rgba(242, 233, 218, .26);
    --btn: #e2ad52; --btn-ink: #170f04; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0907; --bg-2: #120e0a; --surface: #18130e; --ink: #f2e9da; --ink-2: #c4b6a2;
  --gold: #e8b862; --gold-2: #d39a3c; --gold-hi: #f6d48f; --line: rgba(242, 233, 218, .12); --line-2: rgba(242, 233, 218, .26);
  --btn: #e2ad52; --btn-ink: #170f04; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.8);
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 clamp(1.125rem, 1.04rem + .38vw, 1.3125rem)/1.6 var(--serif);
  font-optical-sizing: auto; overflow-wrap: anywhere; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--caps); font-weight: 500; line-height: 1.12; letter-spacing: .015em; margin: 0; overflow-wrap: normal; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.5vw, 3.1rem); text-wrap: balance; }
h3 { font-size: 1.12em; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 1.25em; height: 1.25em; flex: none; }
.i-cut { fill: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; font: 600 .95em/1.1 var(--serif); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-gold { background: linear-gradient(180deg, #f0c470, var(--btn)); color: var(--btn-ink); box-shadow: 0 8px 24px -10px rgba(226, 160, 60, .7); }
.btn-gold:hover { color: var(--btn-ink); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(236, 170, 70, .85); }
.btn-line { border-color: currentColor; color: var(--gold); background: transparent; }
.btn-line:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.btn-line .i rect, .btn-sub .i rect, .act-sub .i rect { fill: var(--yt-red); }
.arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.top-in { max-width: var(--max); margin: 0 auto; padding: 8px var(--gut); display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.02rem/1 var(--caps); letter-spacing: .12em; text-transform: uppercase; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 18px -4px rgba(240, 140, 40, .6); }
.brand:hover { color: var(--ink); }
.nav { display: none; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: var(--gold); }
.btn-sub { min-height: 42px; padding: .5em 1em; font-size: .88rem; background: var(--ink); color: var(--bg); }
.btn-sub:hover { color: var(--bg); transform: translateY(-1px); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Hero: a dark stage in both themes, the burning heart lit from behind */
.hero {
  --ink: #f2e9da; --ink-2: #cdbfa9; --gold: #e8b862; --gold-hi: #f6d48f;
  position: relative; overflow: hidden; background: #000; color: var(--ink); isolation: isolate;
  padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 8vw, 110px);
}
.hero-glow {
  position: absolute; inset: -10% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 50% 34%, rgba(255, 140, 40, .26), transparent 70%),
    radial-gradient(60% 50% at 50% 40%, rgba(170, 60, 10, .18), transparent 75%),
    linear-gradient(180deg, #000 0%, #070503 70%, #0b0907 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: ember 7s ease-in-out infinite alternate; }
  @keyframes ember { from { opacity: .78; transform: scale(1); } to { opacity: 1; transform: scale(1.04); } }
}
.hero-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; justify-items: center; text-align: center; gap: 8px; }
.hero-mark { position: relative; margin: 0; width: min(80vw, 30rem); aspect-ratio: 1; }
.hero-video, .hero-still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 88%, transparent);
  mask-composite: intersect;
}
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-on { opacity: 1; }
.hero-video.is-on + .hero-still { opacity: 0; transition: opacity 1.2s ease; }
.hero-words { max-width: 34rem; }
.hero h1 {
  font-size: clamp(2rem, 1.35rem + 3vw, 3.7rem); font-weight: 600; letter-spacing: .02em; line-height: 1.14; margin: 8px 0 18px; text-wrap: balance;
  background: linear-gradient(180deg, #fbe3a8 0%, #e9b45a 55%, #b9761f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px rgba(255, 150, 50, .22));
}
.hero-meaning { color: var(--ink-2); font-size: .92rem; letter-spacing: .04em; margin-bottom: 1.6em; }
.hero-meaning span { color: var(--gold); font-size: 1.1em; }
.hero-meaning i { font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .btn-line { color: var(--gold); }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; text-align: left; gap: 48px; }
  .hero-mark { width: 100%; max-width: 38rem; justify-self: end; }
  .hero-cta { justify-content: flex-start; }
}

/* Sections */
main > section { padding: clamp(64px, 3rem + 6vw, 132px) 0; position: relative; }
main > section + section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(60%, 28rem); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent); opacity: .45;
}
.door:nth-of-type(even), .shorts, .churches { background: var(--bg-2); }
.sec-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { font: 600 .8rem/1.2 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.lede { font-size: 1.08em; color: var(--ink-2); max-width: 36em; margin-top: 18px; }
.kicker { font: 600 .78rem/1.2 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.door-n {
  display: inline-grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 .4em; border-radius: 999px;
  border: 1px solid var(--gold-2); color: var(--gold); font-size: .95em; letter-spacing: .06em;
}

/* Video cards: the picture becomes YouTube's own player when pressed */
.vid { display: grid; gap: 14px; align-content: start; min-width: 0; }
.yt, .coming-art {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.is-short .yt { aspect-ratio: 9 / 16; }
.yt img, .coming-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: var(--play-bg); border: 1.5px solid rgba(246, 212, 143, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease;
}
.yt-play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #f6d48f; }
.is-short .yt-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.is-short .yt-play::after { left: 22px; top: 17px; border-width: 11px 0 11px 17px; }
.yt:hover img { transform: scale(1.035); filter: brightness(1.06); }
.yt:hover .yt-play { transform: scale(1.08); background: rgba(20, 12, 4, .78); box-shadow: 0 0 30px rgba(255, 170, 60, .45); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-title { font-family: var(--serif); font-weight: 600; font-size: 1.02em; line-height: 1.3; letter-spacing: 0; text-wrap: pretty; }
.vid-sum { color: var(--ink-2); margin: 0; font-size: .98em; }
.is-feature .vid-title { font-family: var(--caps); font-weight: 500; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2rem); line-height: 1.18; }
.is-feature .vid-sum { font-size: 1.05em; }
.vid-body { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) {
  .is-feature { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 36px; align-items: center; }
}

/* Actions by every video */
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.act {
  display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: .45em .95em; border-radius: 999px;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink);
  font: 500 .86rem/1 var(--serif); text-decoration: none; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.act:hover { border-color: var(--gold-2); color: var(--gold); }
.act .i { width: 1.15em; height: 1.15em; }
.act-sub { border-color: color-mix(in srgb, var(--gold-2) 60%, transparent); }
.is-short .act { padding: .45em .75em; }
.is-short .act span { font-size: .8rem; }

.grid { display: grid; gap: 32px 24px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.door-body > .strip { margin-top: 40px; }
.door-body > .strip:first-child { margin-top: 0; }

/* Latest: the newest full video, and the newest Short beside it */
.latest-body { display: grid; gap: 40px; }
@media (min-width: 1100px) {
  .latest-body { grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; gap: 48px; }
  .latest-body .is-feature { grid-template-columns: 1fr; }
}
.latest-short { max-width: 18rem; }

/* Coming soon */
.coming-art { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 60%, rgba(200, 90, 20, .35), #000 75%); }
.coming-mark { width: 30%; aspect-ratio: 1; border-radius: 50%; background: url("/img/heart-mark.jpg") center / cover; box-shadow: 0 0 40px rgba(255, 140, 40, .4); }
.coming-tag {
  position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #f6d48f;
  font: 600 .72rem/1 var(--caps); letter-spacing: .18em; text-transform: uppercase; border: 1px solid rgba(246, 212, 143, .5);
}

/* Shorts strip: scrolls inside its own box */
.strip { position: relative; }
.strip-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(58vw, 15rem); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent;
}
.strip-track > * { scroll-snap-align: start; }
.strip-track:focus-visible { outline-offset: 6px; }
.strip-nav { display: none; }
@media (min-width: 900px) {
  .strip-nav:not([hidden]) { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
  .strip-nav button {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--gold);
    font: 400 1.6rem/1 var(--serif); cursor: pointer; transition: border-color .2s ease;
  }
  .strip-nav button:hover { border-color: var(--gold-2); }
}

/* Doors index */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.tiles a {
  position: relative; display: grid; grid-template-columns: 3.4rem 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  padding: 20px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.tiles a::after {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 140, 40, .18), transparent); opacity: 0; transition: opacity .5s ease;
}
.tiles a:hover { transform: translateY(-3px); border-color: var(--gold-2); color: var(--ink); }
.tiles a:hover::after { opacity: 1; }
.tile-n { grid-row: 1 / 3; font: 500 1.7rem/1 var(--caps); color: var(--gold); text-align: center; }
.tile-name { font: 600 1.15rem/1.2 var(--caps); letter-spacing: .04em; }
.tile-line { color: var(--ink-2); font-size: .95rem; line-height: 1.4; margin-top: 4px; }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .tiles a { grid-template-columns: 1fr; grid-template-rows: auto; padding: 28px 24px 30px; min-height: 15rem; align-content: start; }
  .tile-n { grid-row: auto; text-align: left; font-size: 2.4rem; margin-bottom: 26px; }
}

/* How every section ends */
.ends {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: clamp(44px, 5vw, 64px) 0 0;
  font: 600 .84rem/1.4 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.ends::before, .ends::after { content: ""; flex: 1 1 2rem; max-width: 7rem; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.ends::after { transform: scaleX(-1); }
.ends a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; }
.ends a:hover { text-decoration: underline; }

/* About */
.about-in { display: grid; gap: 36px; align-items: center; }
.about-words p { max-width: 34em; }
.about-words .lede { color: var(--ink); font-size: 1.2em; }
.about-art { justify-self: center; width: min(78vw, 26rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 80px -20px rgba(240, 130, 40, .55); }
.about-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
@media (min-width: 900px) { .about-in { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

/* Churches: the picks to send */
.picks { list-style: none; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.picks li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pick-title { font-weight: 600; flex: 1 1 18rem; line-height: 1.35; }
.pick-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Contact */
.contact-in { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.also { color: var(--ink-2); }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95em; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink);
  font: 400 1rem/1.4 var(--serif); font-size: max(16px, 1rem);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.2em; color: var(--ink-2); }
.form-status.err { color: #b3261e; }
:root[data-theme="dark"] .form-status.err { color: #ffb4a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.err { color: #ffb4a8; } }
.form-help { margin: 0; }
.thanks { font: 500 1.3rem/1.4 var(--caps); color: var(--gold); padding: 24px 0; }
.small { font-size: .85rem; color: var(--ink-2); margin: 0; }

/* Footer */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 14px; margin: 0; font: 600 1.15rem/1 var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; }
.foot-brand small { font-size: .7rem; letter-spacing: .24em; color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy { max-width: 46rem; color: var(--ink-2); font-size: .92rem; }
.privacy h2 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.foot .ends { margin-top: 8px; justify-content: flex-start; }
.foot .ends::before { display: none; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; }
.lost-in { text-align: center; padding: 64px var(--gut); }
.lost-in img { margin: 0 auto 24px; border-radius: 50%; }
.lost-in .hero-cta { margin-top: 24px; }

/* Gentle reveal on scroll (only with JavaScript, and only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .sec-head, .js [data-reveal] .door-body, .js [data-reveal] .latest-body, .js [data-reveal] .tiles,
  .js [data-reveal] .about-in, .js [data-reveal] .picks, .js [data-reveal] .contact-in, .js [data-reveal] [data-shorts] {
    opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
  }
  .js [data-reveal].in .sec-head, .js [data-reveal].in .door-body, .js [data-reveal].in .latest-body, .js [data-reveal].in .tiles,
  .js [data-reveal].in .about-in, .js [data-reveal].in .picks, .js [data-reveal].in .contact-in, .js [data-reveal].in [data-shorts] {
    opacity: 1; transform: none;
  }
  .js [data-reveal].in .sec-head + * { transition-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Phone: the closing line without its hairlines, so it stays on one line */
@media (max-width: 599px) { .ends::before, .ends::after { display: none; } }
/* Shorts are narrow: WhatsApp and Share show as icons (they keep their names for screen readers) */
.is-short .acts { gap: 6px; }
.act { position: relative; }
.is-short .act:not(.act-sub) { padding: .45em .7em; }
.is-short .act:not(.act-sub) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-short .act.said span { position: static; width: auto; height: auto; clip-path: none; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2rem, 1.2rem + 1.9vw, 3.2rem); } .hero-words { max-width: 38rem; } }

/* A card's title links to the video's own page (the picture still plays in place) */
.vid-title a { color: inherit; text-decoration: none; }
.vid-title a:hover { color: var(--gold); text-decoration: underline; }

/* One video's page (/v/<slug>/): the player, its description and what's said in it */
.vp { padding: clamp(28px, 1rem + 3vw, 64px) 0 clamp(64px, 3rem + 6vw, 120px); }
.vp-in { max-width: 58rem; }
.vp-crumb { flex-wrap: wrap; gap: 10px; }
.vp-crumb a { text-decoration: none; }
.vp-crumb a:hover { text-decoration: underline; }
.vp-title { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); font-weight: 500; text-wrap: balance; margin: 0 0 clamp(20px, 3vw, 32px); }
.vp-player { display: grid; gap: 16px; }
.vp.is-short .vp-player { max-width: 22rem; }
@media (min-width: 900px) { .vp.is-short .vp-in { max-width: 46rem; } }
.vp-sec { margin-top: clamp(44px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.vp-sec h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 20px; }
.vp-desc, .vp-words { max-width: 38em; }
.vp-desc { color: var(--ink-2); }
.vp-desc a { overflow-wrap: anywhere; }
.vp-sub { font-weight: 600; color: var(--ink); margin-bottom: .5em; }
.vp-chapters { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 2px; }
.vp-chapters li { display: flex; gap: 12px; align-items: baseline; }
.vp-chapters a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.vp-time { font-variant-numeric: tabular-nums; min-width: 3.4em; font-weight: 600; }
.vp-words p { margin-bottom: 1.1em; }
.vp-back { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(44px, 5vw, 64px); }
.vpage .foot-in { gap: 16px; }
.vp-player.is-short .act:not(.act-sub) { padding: .45em .95em; }
.vp-player.is-short .act:not(.act-sub) span { position: static; width: auto; height: auto; clip-path: none; font-size: .86rem; }
