:root {
  --bg: #f3ead6;
  --bg-deep: #e4d5b6;
  --ink: #1b1511;
  --muted: #6a5e4e;
  --rule: rgba(27, 21, 17, 0.14);
  --rule-strong: rgba(27, 21, 17, 0.35);
  --rubric: #9c2b22;
  --pine: #2f4a3c;
  --pine-soft: rgba(47, 74, 60, 0.1);
  --max: 64rem;
  --measure: 36.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(47, 74, 60, 0.11), transparent 55%),
    radial-gradient(800px 480px at 88% -40px, rgba(156, 43, 34, 0.08), transparent 58%),
    radial-gradient(120% 80% at 50% 0%, #f7f0df 0%, #f3ead6 42%, #e4d5b6 100%);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rubric);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.75rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0 1.2rem;
  border-bottom: 3px solid var(--pine);
  box-shadow: 0 3px 0 var(--rubric);
}

.wordmark {
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark small {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.22rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.sunday-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 -0.15rem;
  padding: 0.65rem 0.85rem;
  background: rgba(243, 234, 214, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.92rem;
}

.sunday-bar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.sunday-bar-label {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rubric);
  font-weight: 600;
}

.sunday-bar-link {
  flex-shrink: 0;
  text-decoration: none;
  color: var(--pine);
  font-size: 0.88rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sunday-bar-link:hover {
  color: var(--rubric);
  border-bottom-color: var(--rubric);
}

.hero {
  position: relative;
  padding: 4.25rem 0 3.5rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero::before {
  content: "189";
  position: absolute;
  right: -0.15em;
  top: 0.05em;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 500;
  line-height: 0.8;
  color: rgba(47, 74, 60, 0.08);
  pointer-events: none;
  letter-spacing: -0.06em;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rubric);
  margin: 0 0 1.15rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 20, "WONK" 1;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  max-width: 16ch;
  margin: 0 0 1.85rem;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 2.1rem;
  color: var(--muted);
}

.facts li + li {
  margin-top: 0.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--pine);
  color: #f4ead8;
  background: var(--pine);
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--rubric);
  border-color: var(--rubric);
  color: #f4ead8;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--pine);
}

.btn-ghost:hover {
  background: var(--pine);
  color: #f4ead8;
}

.section {
  position: relative;
  padding: 3.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--pine), var(--rubric));
  opacity: 0.55;
}

.section:last-of-type::after,
.site-footer + .section::after {
  display: none;
}

.section h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  margin: 0 0 1.2rem;
}

.prose {
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 1.05rem;
  color: var(--ink);
}

.prose p:last-child {
  margin-bottom: 0;
}

.week {
  display: grid;
  gap: 0.4rem;
  padding: 1.6rem 1.5rem 1.45rem;
  background:
    linear-gradient(135deg, rgba(47, 74, 60, 0.06), transparent 42%),
    #efe2c8;
  border-left: 4px solid var(--rubric);
  box-shadow: 0 1px 0 rgba(27, 21, 17, 0.04);
}

.week h3 {
  margin: 0.1rem 0 0.2rem;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
}

.week p {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.week .kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rubric);
}

.week-line {
  color: var(--ink) !important;
  font-size: 1.05rem;
}

.week-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.watch-note,
.midweek-note {
  margin-top: 1.15rem;
}

.midweek-follow {
  margin-top: 1.75rem;
}

.elders-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: var(--measure);
}

.linktree {
  display: grid;
  gap: 1.5rem;
  max-width: 28rem;
}

.linktree-item .btn {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.linktree-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.bio-photo {
  margin: 0 0 1.75rem;
  max-width: 32rem;
}

.bio-photo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule-strong);
}

.bio-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 3px solid var(--pine);
  color: var(--muted);
}

.prose blockquote p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.video {
  position: relative;
  width: min(48rem, 100%);
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--rule-strong);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.midweek {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 42rem;
}

.midweek li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0.85rem;
  margin: 0 -0.85rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.midweek li:last-child {
  border-bottom: 1px solid var(--rule);
}

.midweek li:hover {
  background: var(--pine-soft);
  color: var(--ink);
}

.midweek strong {
  color: var(--ink);
  font-weight: 600;
}

.visit-beats {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 40rem;
  counter-reset: beat;
}

.visit-beats li {
  position: relative;
  padding: 1.35rem 0 1.35rem 3.25rem;
  border-top: 1px solid var(--rule);
  counter-increment: beat;
  transition: background 0.2s ease;
}

.visit-beats li:last-child {
  border-bottom: 1px solid var(--rule);
}

.visit-beats li::before {
  content: counter(beat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--rubric);
}

.visit-beats li:hover {
  background: linear-gradient(90deg, var(--pine-soft), transparent 70%);
}

.beat-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.visit-beats p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

.visit-cta {
  padding: 1.6rem 1.5rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(156, 43, 34, 0.06), transparent 45%),
    #efe2c8;
  border-top: 3px solid var(--pine);
  box-shadow: 0 3px 0 var(--rubric);
}

.visit-cta h2 {
  margin-bottom: 0.55rem;
}

.visit-cta p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  max-width: var(--measure);
}

.visit-cta .week-line {
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.visit-cta .actions {
  margin-top: 1.15rem;
}

.page-hero {
  padding: 3.2rem 0 2rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 0.85rem;
}

.page-hero .actions {
  margin-top: 1.5rem;
}

.lede {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.45;
  margin: 0;
}

.stack {
  display: grid;
  gap: 2.5rem;
}

.site-footer {
  padding: 2.6rem 0 3.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer nav {
  margin-top: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sunday-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.7rem 0.15rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .midweek li {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .visit-beats li {
    padding-left: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .midweek li {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
