:root {
  color-scheme: light;
  --ink: #121e1d;
  --pine: #142b24;
  --paper: #f9f4e8;
  --cream: #f7efdc;
  --gold: #e0bf83;
  --gold-ink: #765625;
  --muted: #4a5750;
  --rule: #d8cdb7;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #8c661e; outline-offset: 5px; }
.on-dark :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; }
h1 { font-size: clamp(2.5rem, 5.7vw, 4.85rem); line-height: 1.07; letter-spacing: -.055em; }
h2 { font-size: clamp(1.95rem, 3.8vw, 3.15rem); line-height: 1.13; letter-spacing: -.045em; }
p + p { margin-top: 1rem; }
.wrap { max-width: 89rem; margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: 70rem; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .6rem 1rem; color: var(--ink); background: var(--cream); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { color: var(--cream); background: var(--ink); border-bottom: 1px solid #f7efdc2a; }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.75rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font: 1.45rem/1.15 var(--serif); letter-spacing: -.024em; text-decoration: none; white-space: nowrap; }
.brand img { flex: 0 0 auto; width: 2.85rem; height: 2.85rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem clamp(.8rem, 3vw, 2rem); }
.nav a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--cream); font-size: .925rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; gap: .65rem 2rem; align-items: center; justify-content: space-between; min-height: 6rem; padding-block: 1.25rem; }
.footer-brand { font: 1.2rem/1.2 var(--serif); text-decoration: none; }
.footer-note { color: var(--muted); font-size: .9rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--pine); }
.shore, .shore img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.shore { z-index: -2; }
.shore img { object-fit: cover; object-position: 64% 53%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #10201bf5, #12201ed9 27%, #10201b99 46%, transparent 76%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(29rem, 42vw, 40rem); padding-block: 4rem; }
.hero-copy { max-width: 46rem; }
.hero-copy h1 { font-size: clamp(3rem, 7.3vw, 7.3rem); line-height: .96; letter-spacing: -.052em; }
.hero-copy h1 i { font-weight: normal; color: #ead2a4; }
.hero-copy > p { margin-top: 1.4rem; max-width: 35ch; color: #f7f1e4; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.5rem; margin-top: 1.65rem; }
.button, .quiet-link { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .65em; font-weight: bold; }
.button { padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .15rem; text-decoration: none; }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: #e9d8b2; }
.button-dark { background: var(--pine); color: var(--cream); }
.button-dark:hover { background: #30453c; }
.arrow { font-weight: normal; }

.featured { padding-block: clamp(3.1rem, 6.3vw, 6rem); scroll-margin-top: 1rem; }
.featured > h2 { margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.sermon-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 5.7vw, 5rem); padding-bottom: 1.9rem; border-bottom: 1px solid var(--rule); }
.episode-art { position: relative; display: block; }
.episode-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .18rem; }
.episode-art:hover img { filter: brightness(1.12); }
.duration-tag { position: absolute; right: .65rem; bottom: .65rem; padding: .12rem .45rem; color: white; background: var(--ink); border-radius: .13rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.reference { color: var(--gold-ink); font-size: .925rem; font-weight: bold; }
.sermon-card h3 { margin-top: .55rem; font-size: clamp(1.8rem, 4.5vw, 3.35rem); line-height: 1.12; letter-spacing: -.04em; max-width: 16ch; }
.sermon-card h3 a { text-decoration: none; }
.sermon-card h3 a:hover { text-decoration: underline; }
.sermon-card .summary { margin-top: .8rem; max-width: 42ch; color: var(--muted); }
.sermon-card .quiet-link { margin-top: .65rem; }

.breadcrumb { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .45em; color: var(--muted); font-size: .9rem; text-decoration: none; }
.breadcrumb:hover { text-decoration: underline; }
.guide-intro { color: var(--cream); background: radial-gradient(ellipse at 82% 25%, #2b4036, var(--ink) 69%); border-bottom: 1px solid var(--gold); }
.guide-intro .wrap { padding-block: 1.1rem clamp(2.6rem, 6vw, 5.5rem); }
.guide-intro .breadcrumb { color: #e9dcc0; }
.guide-title { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; align-items: center; gap: 1.4rem; margin-top: clamp(1.5rem, 3vw, 3rem); }
.guide-title img { width: 100%; }
.guide-body { min-height: 23rem; padding-block: clamp(2.75rem, 6vw, 5.35rem); }
.guide-note { border-left: 2px solid var(--gold); padding-left: clamp(1rem, 3vw, 1.75rem); max-width: 39rem; }
.guide-note h2 { margin-bottom: .85rem; font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
.guide-note p { color: var(--muted); max-width: 49ch; }
.guide-note .button { margin-top: 1.35rem; }

.watch { padding-block: 1.25rem clamp(3rem, 6vw, 5.5rem); }
.watch-header { margin-top: clamp(.85rem, 2.5vw, 2rem); }
.watch-header h1 { max-width: 19ch; margin-top: .48rem; }
.watch-deck { max-width: 67ch; margin-top: 1rem; color: var(--muted); font-size: 1.065rem; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .39fr); gap: clamp(1.7rem, 4.3vw, 3.4rem); align-items: start; margin-top: 2rem; }
.video-frame { min-width: 0; overflow: hidden; border-radius: .22rem; background: #101515; container-type: inline-size; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center top; }
@supports (height: 1cqw) { video { height: calc(56.25cqw + 56px); } }
.video-info { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.video-download { margin-top: .6rem; font-size: .9rem; }
.video-error { margin-top: .55rem; }
.chapters h2 { font-size: 1.7rem; }
.chapters ol { list-style: none; margin: .75rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.chapters a { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: .5rem; align-items: center; min-height: 2.9rem; padding-block: .4rem; border-bottom: 1px solid var(--rule); line-height: 1.35; text-decoration: none; }
.chapters a:hover, .chapters a:focus-visible { text-decoration: underline; }
.chapters time { color: var(--gold-ink); font-size: .9rem; font-weight: bold; font-variant-numeric: tabular-nums; }
.watch-text { margin-top: clamp(2.4rem, 5vw, 4rem); max-width: 50rem; }
.watch-text h2 { margin-bottom: 1rem; }
.watch-text .context, .credits { max-width: 68ch; color: var(--muted); }
.credits { font-size: .9rem; }
.transcript { margin-top: 2rem; border-block: 1px solid var(--rule); }
.transcript summary { display: list-item; padding-block: .9rem; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; }
.transcript-copy { padding: .25rem 0 1.5rem; max-width: 69ch; }
.transcript-copy p + p { margin-top: .65rem; }
.watch-next { margin-top: 1.6rem; }

@media (max-width: 760px) {
  .watch-layout { grid-template-columns: 1fr; }
  .chapters a { min-height: 3rem; }
}
@media (max-width: 620px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2.7rem 2rem; }
  .hero-copy > p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.25rem; }

  .sermon-card { grid-template-columns: 1fr; align-items: start; }
  .guide-title { grid-template-columns: minmax(0, 1fr) minmax(3.7rem, 19%); }
}
@media (max-width: 430px) {
  .header-inner { min-height: auto; align-items: flex-start; flex-direction: column; padding-block: .4rem .3rem; }
  .header-inner .nav { gap: 1.3rem; }
  .brand { margin-left: -.28rem; }
  .guide-title img { display: none; }
  .guide-title { display: block; }
}

.guide-article { max-width: 46rem; font-size: clamp(1.025rem, 1.7vw, 1.16rem); }
.guide-article h2 { margin: 2rem 0 .85rem; font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
.guide-article h3 { margin: 1.5rem 0 .65rem; font-size: clamp(1.28rem, 3vw, 1.75rem); }
.guide-article > :first-child { margin-top: 0; }
.guide-article section + section { margin-top: 1.75rem; }
.guide-article blockquote { margin: 1.25rem 0; padding: .15rem 0 .15rem clamp(.8rem, 3.8vw, 1.5rem); border-left: 2px solid var(--gold); font: 1.16em/1.53 var(--serif); }
.guide-article blockquote footer { margin-top: .45rem; color: var(--gold-ink); font: .9rem/1.45 var(--sans); }
.guide-article nav { margin-block: 0 1.6rem; padding: .8rem 1rem; border-block: 1px solid var(--rule); }
.guide-article li + li { margin-top: .35rem; }
.guide-article :is(h2, h3, section)[id] { scroll-margin-top: 1.2rem; }

.guide-article figure { margin: 1.4rem 0 2rem; }
.guide-article figure blockquote { margin-bottom: .45rem; }
.guide-article figcaption { color: var(--gold-ink); font-size: .9rem; }
.guide-article .guide-lead { font: 1.5em/1.3 var(--serif); }
.guide-article ol { padding-inline-start: 1.6rem; }
.guide-article li::marker { color: var(--gold-ink); font-weight: bold; }
.guide-article .guide-source { margin-block: 2rem; }

.section-rule { display:flex; align-items:center; gap: 1.5rem; margin-bottom: 1.7rem; }
.section-rule span { flex: 1; background: #c1b292; height: 1px; }
.featured { padding-block: clamp(2.5rem,5vw,4.7rem); }
.sermon-card { border: 0; padding-bottom: 0; }
.reference { letter-spacing: .035em; }
.about-band { background:#eee7d7; border-top: 1px solid var(--rule); }
.about-grid, .footer-grid { display:grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.3fr); gap: clamp(1.25rem,5vw,5rem); padding-block: clamp(2.5rem,5vw,4.5rem); }
.about-grid p { max-width: 56ch; font: clamp(1.2rem,2.4vw,1.75rem)/1.45 var(--serif); }
.site-footer { background:var(--ink); color:var(--cream); border-top:2px solid #ac8b59; }
.footer-brand { display:block; font-size:clamp(1.65rem,3vw,2.6rem); margin-bottom:1.6rem; }
.footer-grid h2 { font: bold .85rem/1.5 var(--sans); color:#dbbf8b; margin:0 0 .45rem; }
.contact-link { overflow-wrap:anywhere; }
.social-links { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.4rem; }
.social-links a { display:flex; min-height:2.9rem; align-items:center; justify-content:space-between; border-bottom:1px solid #536059; text-decoration:none; }
.social-links a:hover { color:#e7bc70; border-color:currentColor; }
.social-links span { color:#dabd82; }
.guide-intro { background:var(--pine); border-block-end:3px double var(--gold); }
.guide-intro .wrap { padding-block-end:clamp(2rem,5vw,4rem); }
.guide-title { display:block; border-inline-start:3px solid var(--gold); padding-inline-start:clamp(1rem,3vw,2.2rem); }
.guide-article > .guide-lead { color:var(--gold-ink); margin-block-end:1rem; }
.audio-edition { margin-block-start:1.7rem; border-block-start:1px solid var(--rule); padding-block-start:1.2rem; }
.audio-edition h2 { font-size:1.6rem; margin-bottom:.65rem; }
.audio-edition audio { width:100%; max-width:35rem; display:block; }
.audio-edition p { margin-top:.5rem; font-size:.92rem; }
.bible-reading { padding-block:clamp(2rem,5vw,4rem); }
.scripture-body h2 { font-size:clamp(1.7rem,3.8vw,2.8rem); margin-bottom:.65rem; }
.scripture-index ul { display:flex; flex-wrap:wrap; gap:.4rem; list-style:none; padding:0; margin:1.2rem 0 2.4rem; }
.scripture-index a { display:inline-flex; align-items:center; min-height:2.65rem; padding:.3rem .85rem; border:1px solid #b7ad93; border-radius:.2rem; text-decoration:none; }
.scripture-index a:hover { background:#ede4cf; }
.scripture-passage { max-width:46rem; padding:1.4rem 0; border-top:1px solid var(--rule); }
.scripture-passage h3 { font-size:1.7rem; }
.scripture-verses { padding-inline-start:2.4rem; }
.scripture-verses li { font:1.18rem/1.68 var(--serif); padding:.2rem 0 .2rem .45rem; scroll-margin-top:1rem; }
.scripture-verses li::marker { font: .9rem var(--sans); color:var(--gold-ink); }
.scripture-passage:target h3, .scripture-verses li:target { background:#efe2c8; }
@media (max-width:760px) {
  .header-inner { flex-direction:column; align-items:flex-start; padding-block:.45rem .2rem; }
  .header-inner .nav { gap:0 1.1rem; }
  .hero-inner { min-height:27rem; }
  .about-grid, .footer-grid { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .shore img { object-position:65% 30%; }
  .hero::after { background:linear-gradient(0deg,#11211ffb 0%,#11211fe5 36%,#11211f9c 65%,#11211f19 100%); }
  .hero-inner { min-height:32rem; align-items:flex-end; padding-block:6rem 2.5rem; }
  .hero-copy h1 { font-size:clamp(2.8rem,11.8vw,4.4rem); }
  .hero-copy > p { max-width:32ch; }
  .hero-actions { gap:.2rem 1rem; }
  .header-inner .nav { gap:0 .6rem; }
  .nav a { font-size:.9rem; }
}

.topic-entry{padding-top:clamp(2.3rem,5vw,4.5rem)}.topic-entry h2{margin-bottom:.8rem}.topic-entry label{display:block;color:var(--muted);font-size:.9rem}.topic-entry form div{display:flex;gap:.45rem;max-width:36rem;margin:.25rem 0 .45rem}.topic-entry input{min-width:0;flex:1;background:#fffaf0;color:var(--ink);border:1px solid #817a69;padding:.7rem;font:inherit}.topic-entry a{display:inline-block;padding:.35rem 0}
