@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --black: #0C0C0D;
  --white: #FFFFFF;
  --paper: #F5F5F3;      /* light off-white content sections */
  --ink: #17171A;
  --ink-soft: #666666;
  --blue: #3E5CE0;       /* "Plan Your Visit" button blue */
  --blue-dark: #2E46B8;
  --orange: #C1592E;     /* "Join Us This Sunday" burnt orange */
  --orange-dark: #A34423;
  --line: #DAD8D2;
  --radius: 8px;
  --max-width: 700px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
}

a { color: var(--blue); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar — matches the black nav with tracked wordmark + blue CTA */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  background: var(--black);
}

.top-bar .wordmark-group { line-height: 1.2; text-decoration: none; }

.top-bar .wordmark {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.top-bar .wordmark-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.top-bar a.back-btn {
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.top-bar a.back-btn:active { background: var(--blue-dark); }

/* Hero — solid black, bold headline treatment, text offset from the left */
.hero {
  position: relative;
  background: var(--black);
  min-height: 320px;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 24px 20px 9%;
  width: 100%;
}

.hero-content .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 29px;
  max-width: none;
  white-space: normal;
}

.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 12px 0 0;
  max-width: 380px;
}

@media (min-width: 600px) {
  .hero { min-height: 380px; }
  .hero-content { padding-left: 18%; }
}

/* Week list */
.week-list { padding: 24px 0 60px; }

.week-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}

.week-card:active { background: #FAFAF8; }

.week-card .latest-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.week-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
}

.week-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.week-card .date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.week-card h2 {
  font-size: 19px;
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

/* Week detail page */
/* Video link — full width of the text column, bordered, with a play button */
.video-link {
  display: block;
  margin: 20px 0 0;
  text-decoration: none;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(12,12,13,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.video-link:active .play-btn { transform: translate(-50%, -50%) scale(0.94); }

.play-btn svg { width: 24px; height: 24px; fill: var(--white); margin-left: 3px; }

@media (min-width: 600px) {
  .play-btn { width: 72px; height: 72px; }
  .play-btn svg { width: 28px; height: 28px; }
}

.week-detail { padding: 28px 20px 70px; background: var(--paper); }

.week-detail .date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.week-detail h1 {
  font-size: 28px;
  margin-bottom: 22px;
}

.scripture-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 8px 10px 0;
}

.scripture-btn:active { background: var(--blue-dark); }

.guide {
  margin-top: 26px;
  padding: 26px 22px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-heading {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 26px;
  margin-bottom: 16px;
}

.guide .scripture-links { margin-bottom: 20px; }

.guide h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  font-weight: 800;
  margin: 26px 0 12px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.guide h3:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.guide p { margin: 0 0 1em; }
.guide ul, .guide ol { margin: 0 0 1em; padding-left: 1.2em; }
.guide li { margin-bottom: 0.6em; }

.back-link {
  display: inline-block;
  margin: 26px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

@media (min-width: 600px) {
  body { font-size: 18px; }
  .hero-content h1 { font-size: 42px; }
  .week-detail h1 { font-size: 32px; }
}
