/* Light of Christ+ — single dark theme (brand navy and gold).
   Layout: centered 1180px column; hero splits copy / newest video; grids auto-fill. */
:root {
  --night: #0a1430;
  --deep: #0f1c40;
  --raise: #16264f;
  --ink: #eef0f8;
  --mist: #aab3cd;
  --faint: #7b87aa;
  --gold: #e3b45c;
  --ember: #f7dba2;
  --line: rgba(227, 180, 92, 0.26);
  --hair: rgba(170, 179, 205, 0.16);
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --s-1: 13px;
  --s0: 17px;
  --s1: 20px;
  --s2: clamp(24px, 3vw, 30px);
  --s3: clamp(34px, 5.2vw, 58px);
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff3d6; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 760px; }
.eyebrow { font-family: var(--f-mono); font-size: var(--s-1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.lede { color: var(--mist); font-size: var(--s1); line-height: 1.5; max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn-sm { min-height: 38px; padding: 6px 15px; font-size: 14.5px; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--ember); color: var(--night); }
.btn-ghost { color: var(--ink); border-color: rgba(238, 240, 248, .34); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: rgba(10, 20, 48, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--hair); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 19px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand sup { color: var(--gold); font-size: .72em; margin-left: 1px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--mist); text-decoration: none; font-weight: 500; font-size: 15.5px; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; min-height: 0; }
  .head-row .btn { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin-left: 0; gap: 20px; }
  .brand span { font-size: 17px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--hair); background: radial-gradient(120% 90% at 82% -10%, rgba(227, 180, 92, .38), transparent 60%), linear-gradient(var(--raise), var(--night)); }
.rays { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 { font-family: var(--f-display); font-size: var(--s3); line-height: 1.03; letter-spacing: -.012em; max-width: 15ch; }
.hero .cta-row { margin-top: 6px; }
.feature { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.feature-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .feature-thumb img { transform: scale(1.03); }
.feature-label { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--gold); text-transform: uppercase; }
.feature-title { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; }
.feature:hover .feature-title { color: var(--ember); }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(10, 20, 48, .62); border: 1.5px solid rgba(247, 219, 162, .8); backdrop-filter: blur(4px); transition: transform .3s, background .3s; }
.play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--ember); }
.feature:hover .play, .player-btn:hover .play { transform: scale(1.08); background: rgba(227, 180, 92, .3); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
}

/* Sections */
.section { padding-block: clamp(44px, 6vw, 72px); }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { font-family: var(--f-display); font-size: var(--s2); line-height: 1.15; }
.more { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: minmax(0, 1fr); } }
.topic { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; border: 1px solid var(--hair); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: linear-gradient(180deg, rgba(22, 38, 79, .55), rgba(15, 28, 64, .2)); transition: border-color .25s, transform .25s, background .25s; min-width: 0; }
.topic:hover { color: var(--ink); border-color: var(--line); transform: translateY(-2px); background: linear-gradient(180deg, rgba(22, 38, 79, .9), rgba(15, 28, 64, .4)); }
.topic-label { font-family: var(--f-display); font-size: 22px; line-height: 1.2; }
.topic-blurb { color: var(--mist); font-size: 15px; line-height: 1.45; }
.topic-count { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--gold); letter-spacing: .03em; }

/* Video cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; gap: 9px; min-width: 0; text-decoration: none; color: var(--ink); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card.tilting { transition: transform .08s linear; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--raise); box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .75); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 236, 190, .26), transparent 60%); }
.card.tilting .thumb::after { opacity: 1; }
.dur { position: absolute; right: 8px; bottom: 8px; font: 500 12px var(--f-mono); background: rgba(0, 0, 0, .74); color: #fff; border-radius: 5px; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.card-topic { color: var(--gold); }
.card-date { color: var(--faint); }
.card-title { font-weight: 600; font-size: 16.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { color: var(--ember); }

/* Shorts */
.shorts-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 172px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--raise) transparent; }
.shorts-row .scard { scroll-snap-align: start; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 24px 16px; }
@media (max-width: 420px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.sthumb { display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--raise); box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .75); }
.sthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.scard:hover .sthumb img { transform: scale(1.04); }
.scard-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scard:hover .scard-title { color: var(--ember); }

/* Quote of the day */
.qotd { position: relative; overflow: hidden; isolation: isolate; border-block: 1px solid var(--hair); background: radial-gradient(80% 120% at 30% 120%, rgba(227, 180, 92, .16), transparent 60%), var(--deep); padding-block: clamp(48px, 7vw, 88px); }
.motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.qotd-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
@media (max-width: 860px) { .qotd-grid { grid-template-columns: minmax(0, 1fr); } }
.qotd-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-display); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--ink); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--mist); line-height: 1.45; }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote-xl blockquote p { font-size: clamp(25px, 3.1vw, 36px); line-height: 1.26; letter-spacing: -.004em; max-width: 34ch;
  background: linear-gradient(100deg, var(--ember) 0%, #fff6e2 40%, var(--ember) 47%, var(--ink) 56%, var(--ink) 100%);
  background-size: 260% 100%; background-position: 0% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-xl blockquote p.run { animation: sweep 2.8s cubic-bezier(.35, .55, .2, 1) both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.qotd-video { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; text-decoration: none; color: var(--ink); padding: 12px; border: 1px solid var(--hair); border-radius: var(--radius); background: rgba(10, 20, 48, .45); }
.qotd-video .thumb { grid-row: 1 / 3; border-radius: 8px; }
.qv-label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); align-self: end; }
.qv-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.qotd-video:hover { border-color: var(--line); color: var(--ink); }
.qotd-video:hover .qv-title { color: var(--ember); }

/* Subscribe band */
.band { border-top: 1px solid var(--hair); background: radial-gradient(60% 140% at 10% 50%, rgba(227, 180, 92, .14), transparent 70%), var(--night); padding-block: clamp(36px, 5vw, 56px); }
.band-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.band-row img { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.band-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.band h2 { font-family: var(--f-display); font-size: var(--s2); }
.band p { color: var(--mist); max-width: 56ch; }

/* Footer */
.site-foot { border-top: 1px solid var(--hair); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand p { max-width: 42ch; }
.foot-nav { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: flex-end; }
.foot-nav a { color: var(--mist); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.disclaimer { grid-column: 1 / -1; border-top: 1px solid var(--hair); padding-top: 18px; max-width: 80ch; line-height: 1.55; }
@media (max-width: 640px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-nav { justify-content: flex-start; } }

/* Page heads */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 32px); background: radial-gradient(70% 140% at 85% -40%, rgba(227, 180, 92, .2), transparent 60%); }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-family: var(--f-display); font-size: var(--s3); line-height: 1.05; letter-spacing: -.01em; }
.page-head.nf { padding-bottom: 8px; }

/* Library */
.lib { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(48px, 6vw, 80px); }
.lib-controls { display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--mist); text-decoration: none; border: 1px solid var(--hair); border-radius: 999px; padding: 7px 14px; min-height: 38px; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { color: var(--ink); border-color: var(--mist); }
.chip .n { font-family: var(--f-mono); font-size: 12px; color: var(--faint); }
.chip[aria-current="true"] { color: var(--night); background: var(--ember); border-color: var(--ember); }
.chip[aria-current="true"]::before { content: "✓"; font-weight: 700; }
.chip[aria-current="true"] .n { color: rgba(10, 20, 48, .7); }
.lib-tools { display: flex; gap: 12px; flex-wrap: wrap; }
.field { display: flex; }
.field input, .field select { min-height: 44px; border-radius: 10px; border: 1px solid var(--hair); background: var(--deep); padding: 8px 14px; font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 180, 92, .2); }
.search { flex: 1 1 280px; max-width: 460px; }
.search input { width: 100%; }
.lib-count { font-family: var(--f-mono); font-size: 13px; color: var(--faint); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 0; color: var(--mist); }

/* Watch */
.watch { padding-block: 24px clamp(48px, 6vw, 80px); }
.crumbs { font-size: 14.5px; color: var(--faint); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.watch-grid.is-short { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 960px) { .watch-grid, .watch-grid.is-short { grid-template-columns: minmax(0, 1fr); } }
.watch-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .9), 0 0 0 1px var(--hair); }
.player-short { aspect-ratio: 9 / 16; width: min(100%, calc(min(78vh, 760px) * 0.5625)); align-self: center; }
.player-btn { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.player-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.player-btn img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-title { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; margin-top: 6px; }
.watch-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--faint); }
.tag { color: var(--gold); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.tag:hover { color: var(--ember); border-color: var(--gold); }
.prose { display: flex; flex-direction: column; gap: 14px; color: var(--mist); max-width: 68ch; }
.prose p { line-height: 1.65; }
.sub { font-family: var(--f-display); font-size: 22px; margin-top: 18px; }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.chapters button { all: unset; box-sizing: border-box; width: 100%; display: flex; gap: 16px; padding: 10px 4px; border-bottom: 1px solid var(--hair); cursor: pointer; color: var(--ink); font-size: 15.5px; }
.chapters button:hover { color: var(--ember); }
.chapters button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chapters .ts { font-family: var(--f-mono); color: var(--gold); font-size: 13.5px; min-width: 52px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.quotes { display: flex; flex-direction: column; gap: 22px; }
.quotes .quote { padding-left: 18px; border-left: 2px solid var(--line); }
.talks { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--mist); }
.watch-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.watch-side .sub { margin-top: 0; }
.side-list { display: flex; flex-direction: column; gap: 18px; }
.side-list .card { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; }
.side-list .thumb { grid-row: 1 / 3; border-radius: 8px; }
.side-list .card-title { font-size: 14.5px; }
.side-list .card-meta { font-size: 11px; }
.side-list .card-topic { display: none; }
@media (max-width: 960px) { .side-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 26px 20px; } .side-list .card { display: flex; } }
.side-shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 18px 14px; }

/* About */
.about { display: flex; flex-direction: column; gap: 14px; padding-bottom: clamp(48px, 6vw, 80px); color: var(--mist); }
.about h2 { font-family: var(--f-display); font-size: 24px; color: var(--ink); margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .quote-xl blockquote p { background: none; color: var(--ink); }
}
