/* ==========================================================================
   House of Prayer & Testimonies — Homepage prototype
   Clean / minimal direction: white ground, green CTAs, red accent touches.
   Primary headings: Host Grotesk (H1). Display serif (Cinzel) reserved for
   lower-level titles (h3 cards, pillars). Body: Cormorant Garamond.
   ========================================================================== */

:root {
  --bg: #fcf9f5;
  --bg-soft: #f6f6f2;
  --bg-card: #ffffff;

  --ink: #12423f;
  --ink-heading: #00433f;
  --ink-soft: #5b6f6c;
  --ink-faint: #93a19f;

  --green: #4f7a3d;
  --green-dark: #3c5d2e;
  --green-tint: #eef2e7;
  --red: #b5432e;
  --red-tint: #f7e9e5;
  --gold: #b57e0f;
  --olive: #6e7348;

  --rule: rgba(18, 66, 63, 0.12);
  --rule-soft: rgba(18, 66, 63, 0.08);

  --font-heading: "Host Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --h1-size: 40px;
  --hero-h1-size: 100px;
  --h1-weight: 700;
  --h1-tracking: -0.04em;
  --h1-leading: 1.04em;
  --h1-color: #00433f;

  --eyebrow-size: 0.72rem;
  --eyebrow-weight: 600;
  --eyebrow-tracking: 0.18em;
  --eyebrow-color: var(--ink);

  --step-h2: clamp(1.85rem, 1.5rem + 1.5vw, 2.85rem);
  --step-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  --step-body: clamp(1.02rem, 1rem + 0.15vw, 1.15rem);

  --container: 1240px;
  --edge: clamp(1.5rem, 4vw, 4rem);
  --grid-cols: 12;
  --grid-gutter: 20px;
  --radius: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h, 58px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: var(--grid-gutter);
}

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .give-wrap > .span-6 { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .span-4,
  .span-6,
  .give-wrap > .span-6 { grid-column: 1 / -1; }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

h1,
.h1,
.section-heading {
  font-family: var(--font-heading);
  font-weight: var(--h1-weight);
  font-size: var(--h1-size);
  letter-spacing: var(--h1-tracking);
  line-height: var(--h1-leading);
  color: var(--h1-color);
  margin: 0;
}

.section-heading {
  margin-top: 0.5em;
}

.section-heading .accent {
  color: var(--red);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin: 0;
}

.section-lede {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0.9em 0 0;
}

.btn {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 20px -12px rgba(18, 66, 63, 0.45);
}
.btn-primary:hover {
  background: #0c302e;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(18, 66, 63, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.btn-on-photo {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.btn-ink {
  background: var(--ink);
  color: #ffffff;
  padding: 0.95em 1.85em;
  box-shadow: 0 8px 20px -12px rgba(18, 66, 63, 0.45);
}
.btn-ink:hover {
  background: #0c302e;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(18, 66, 63, 0.55);
}
.btn-on-photo:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 0.85rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.brand-mark img {
  height: 30px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-end {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:not(.btn):hover {
  color: var(--green);
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.25s var(--ease);
}
.main-nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-nav[hidden] { display: none; }
.mobile-nav:not([hidden]) { display: block; }
.mobile-nav {
  border-top: 1px solid var(--rule-soft);
  background: var(--bg);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem var(--edge) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
}
.mobile-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav .btn {
  align-self: flex-start;
  margin-top: 0.4rem;
}

/* ---------- Scroll hero ---------- */

.scroll-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #081e1d;
  padding-block: 0;
}

.scroll-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scroll-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
}

.scroll-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 30, 29, 0.5), rgba(8, 30, 29, 0.28) 45%, rgba(8, 30, 29, 0.58));
}

.scroll-hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: calc(100svh - var(--header-h, 58px));
  padding-inline: var(--edge);
}

.scroll-hero__media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  z-index: 2;
}

.scroll-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-hero__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 30, 29, 0.55), transparent 46%);
}

.scroll-hero__media-ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1.5rem 5.5rem;
  z-index: 2;
}

.scroll-hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.scroll-hero__title {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  font-size: var(--hero-h1-size);
  color: #faf7f2;
  text-align: center;
  pointer-events: none;
}

.scroll-hero__title-first,
.scroll-hero__title-rest {
  display: block;
  will-change: transform;
}

.scroll-hero.is-expanded .scroll-hero__cta .btn {
  pointer-events: auto;
}

/* ---------- Section shells ---------- */

section {
  padding-block: clamp(3.25rem, 5vw, 5.5rem);
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Intro split ---------- */

.split-intro {
  background: var(--bg);
  padding-block: 0;
  overflow-x: clip;
}

.split-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 32.5rem) minmax(0, 1fr);
  column-gap: clamp(4rem, 6vw, 6rem);
  align-items: start;
  padding-left: max(var(--edge), calc((100% - min(100%, var(--container))) / 2 + var(--edge)));
}

.split-intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-block: clamp(4rem, 8vw, 7rem);
  align-self: center;
}

.split-intro .eyebrow {
  margin-bottom: 1.25rem;
}

.split-intro__heading {
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.split-intro__sub {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

.split-intro__cta {
  width: 300px;
  height: 54px;
  padding: 0 1.5rem;
  align-self: flex-start;
}

.split-intro__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 8;
}

.split-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}

@media (max-width: 900px) {
  .split-intro__grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .split-intro__copy {
    padding-inline: var(--edge);
  }
  .split-intro__media {
    order: -1;
  }
}

/* ---------- Gathering rail ---------- */

.gathering-rail-section {
  background: var(--bg);
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow-x: clip;
}

.gathering-rail-section .section-head {
  margin-bottom: clamp(2.4rem, 5vw, 3.5rem);
}

.gathering-rail:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.gathering-card {
  position: relative;
  min-width: 0;
  width: auto;
  aspect-ratio: 3 / 4.5;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #1a1410;
}

.gathering-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.42) 0%, rgba(18, 14, 10, 0.14) 28%, transparent 58%);
}

.gathering-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.gathering-card__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gathering-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gathering-card__content {
  position: absolute;
  z-index: 5;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.gathering-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #faf7f2;
  margin: 0 0 0.65rem;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

.gathering-card__desc {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.82);
  margin: 0;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .gathering-rail.site-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--grid-gutter);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    margin-inline: calc(var(--edge) * -1);
    padding-inline: var(--edge);
  }
  .gathering-rail::-webkit-scrollbar { display: none; }
  .gathering-card {
    flex: 0 0 clamp(260px, 44vw, 340px);
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .gathering-card { flex: 0 0 82vw; }
}

/* ---------- Upcoming events ---------- */

.events-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.events-section .site-grid {
  align-items: start;
  row-gap: 2rem;
}

.events-intro .section-heading {
  max-width: 12ch;
}

.events-intro__sub {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.15rem 0 0;
  max-width: 32ch;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-listing {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  background: var(--bg-card);
  border-radius: 18px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 8px 22px -20px rgba(18, 66, 63, 0.28);
}

.event-listing__media {
  flex: 0 0 96px;
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
}

.event-listing__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.event-listing__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--h1-color);
  margin: 0;
}

.event-listing__meta {
  display: flex;
  margin: 0;
  width: 100%;
}

.event-listing__meta > div {
  flex: 1;
  min-width: 0;
  padding: 0 0.85rem;
}

.event-listing__meta > div:first-child { padding-left: 0; }
.event-listing__meta > div:last-child { padding-right: 0; }
.event-listing__meta > div + div { border-left: 1px solid var(--rule); }

.event-listing__meta dt {
  font-family: var(--font-heading);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.18rem;
}

.event-listing__meta dd {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.event-listing__cta {
  width: auto;
  min-width: 0;
  margin-top: 12px;
  padding: 0.5em 1.1em;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .events-intro,
  .event-list { grid-column: 1 / -1; }
  .events-intro .section-heading { max-width: none; }
  .event-listing__media {
    flex: 0 0 80px;
    width: 80px;
    height: 108px;
  }
  .event-listing__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
  }
  .event-listing__meta > div,
  .event-listing__meta > div + div {
    padding: 0;
    border-left: 0;
  }
  .event-listing__cta { min-height: 44px; }
}

/* ---------- Gather / Watch & Listen ---------- */

.gather-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.gather-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "intro ."
    "timeline panel";
  column-gap: clamp(2rem, 4vw, 3rem);
  row-gap: 2.4rem;
  align-items: start;
}

.gather-intro {
  grid-area: intro;
  max-width: 34rem;
}

.gather-intro .section-heading {
  margin-top: 0.5em;
}

.gather-intro__sub {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.15rem 0 0;
  max-width: 40ch;
}

.events-timeline {
  grid-area: timeline;
  list-style: none;
  margin: 0;
  padding: 0 0 0 3.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.events-timeline > li {
  list-style: none;
}

.events-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 1.55rem;
  bottom: 1.55rem;
  width: 1px;
  background: var(--rule);
}

.event-item {
  position: relative;
}

.event-item__node {
  position: absolute;
  left: -3.6rem;
  top: 1.35rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 1;
}

.event-item--weekly .event-item__node {
  background: var(--red);
  color: #fff;
}

.event-item--weekly .event-card__label,
.event-item--weekly .event-card__schedule {
  color: var(--red);
}

.event-item--monthly .event-item__node {
  background: var(--olive);
  color: #fff;
}

.event-item--monthly .event-card__label,
.event-item--monthly .event-card__schedule {
  color: var(--olive);
}

.event-item--ondemand .event-item__node {
  background: var(--gold);
  color: #fff;
}

.event-item--ondemand .event-card__label {
  color: var(--gold);
}

.event-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border-radius: 22px;
  padding: 1.55rem 1.5rem 1.55rem 1.7rem;
  box-shadow: 0 18px 40px -24px rgba(18, 66, 63, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(18, 66, 63, 0.32);
}

.event-card__copy {
  flex: 1;
  min-width: 0;
}

.event-card__label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}

.event-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--h1-color);
  margin: 0 0 0.45rem;
}

.event-card__schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}

.event-card__schedule svg {
  flex-shrink: 0;
}

.event-card__desc {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

.event-card__avatars {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.event-card__avatars img,
.event-card__more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  object-fit: cover;
}

.event-card__avatars img + img,
.event-card__avatars img + .event-card__more,
.event-card__more {
  margin-left: -8px;
}

.event-card__more {
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.event-card__cta {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--ink-heading);
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.event-card__cta--round {
  border-radius: 50%;
}

.event-card__cta--square {
  border-radius: 12px;
}

.event-card__cta:hover {
  background: var(--green-tint);
  transform: translateX(2px);
}

.watch-panel {
  grid-area: panel;
  align-self: start;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 1.7rem 1.55rem 0.6rem;
}

.watch-panel__heading {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.75rem;
}

.watch-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 0;
  text-decoration: none;
  color: #fff;
  min-height: 44px;
  transition: opacity 0.2s var(--ease);
}

.watch-row + .watch-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.watch-row:hover {
  opacity: 0.85;
}

.watch-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.watch-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.watch-row__title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
}

.watch-row__sub {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.watch-row__chevron {
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .gather-layout {
    column-gap: 1.5rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.95fr);
  }

  .event-card {
    padding: 1.35rem 1.2rem 1.35rem 1.4rem;
  }
}

@media (max-width: 720px) {
  .gather-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "timeline"
      "panel";
    row-gap: 2rem;
  }

  .events-timeline {
    padding-left: 3.2rem;
  }

  .event-card {
    align-items: flex-start;
  }

  .event-card__cta {
    margin-top: 0.2rem;
  }
}

/* ---------- Book Club ---------- */

.club-section {
  padding-block: clamp(3.25rem, 5vw, 5.5rem);
}

.club-section .site-grid {
  align-items: start;
}

.club-intro .section-lede {
  max-width: 32ch;
}

.club-books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 2rem;
  align-items: start;
}

.club-book {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  outline: none;
}

.club-book:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
  border-radius: 8px;
}

.club-book__stage {
  position: relative;
  width: min(100%, 280px);
  padding-top: 44px;
  margin-inline: auto;
  perspective: 900px;
}

.club-book__tab {
  position: absolute;
  top: 44px;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, 10px);
  padding: 0.38em 0.9em 1.15em;
  border-radius: 8px 8px 0 0;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: var(--eyebrow-weight);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 350ms var(--ease);
}

.club-book__tab--current {
  background: var(--red);
  color: #faf7f2;
}

.club-book__tab--next {
  background: var(--bg-soft);
  color: var(--h1-color);
  box-shadow: 0 0 0 1px var(--rule-soft);
}

.club-book__cover {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 3;
  transform: rotateY(-12deg);
  transform-origin: 50% 100%;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  background: #1a1410;
  box-shadow:
    3px 0 0 0 #2a2420,
    6px 0 0 0 #efe8dc,
    10px 16px 28px -14px rgba(18, 66, 63, 0.38);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}

.club-book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.club-book:hover .club-book__tab,
.club-book:focus-within .club-book__tab {
  transform: translate(-50%, -36px);
}

.club-book:hover .club-book__cover,
.club-book:focus-within .club-book__cover {
  transform: translateY(-8px) scale(1.02) rotateY(-4deg);
  box-shadow:
    3px 0 0 0 #2a2420,
    6px 0 0 0 #efe8dc,
    14px 22px 32px -12px rgba(18, 66, 63, 0.48);
}

.club-book__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--h1-color);
  margin: 1.15rem 0 0;
}

.club-book__author {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}

.club-book__cta {
  width: auto;
  min-width: 0;
  margin-top: 0.85rem;
  padding: 0.5em 1.1em;
  font-size: 0.82rem;
}

@media (hover: none) {
  .club-book__tab {
    transform: translate(-50%, -36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .club-book__tab,
  .club-book__cover {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 900px) {
  .club-intro,
  .club-books {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .club-books {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .club-book__stage {
    margin-inline: 0;
  }
}

/* ---------- Give ---------- */

.give-wrap {
  align-items: center;
}

.give-card {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid var(--rule);
}

.give-card .zelle-row {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.qr-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, var(--ink) 0 6px, var(--bg) 6px 12px);
  border: 1px solid var(--rule);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.qr-placeholder span {
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.56rem;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

.zelle-detail .label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.3em;
}

.zelle-detail .handle {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.give-note {
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.connect-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 1.7rem auto 0;
}

.connect-form input {
  flex: 1 1 240px;
  padding: 0.9em 1.15em;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.95rem;
}
.connect-form input::placeholder { color: var(--ink-faint); }
.connect-form input:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.site-footer {
  --footer-cream: #f4efe6;
  --footer-ink: var(--h1-color);
  --footer-muted: #4f635f;
  --footer-light: #f6f1e8;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--footer-cream);
  color: var(--footer-ink);
  min-height: clamp(40rem, 78vh, 52rem);
  padding-block: clamp(4.5rem, 8vw, 7.25rem) clamp(1.35rem, 2.4vw, 1.85rem);
}

.site-footer__landscape {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-image: url("assets/images/footer.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(7rem, 16vw, 12.5rem);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  row-gap: 2.75rem;
  align-items: start;
}

.footer-brand {
  max-width: 28rem;
}

.footer-logo {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo img {
  height: 38px;
  width: auto;
}

.footer-tagline {
  margin: 1.35rem 0 0;
  max-width: 28ch;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--footer-muted);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(0, 67, 63, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-ink);
  text-decoration: none;
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--footer-ink);
  border-color: var(--footer-ink);
  color: var(--footer-light);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.footer-social svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-col__heading {
  margin: 0.15rem 0 0;
  font-family: var(--font-heading);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--footer-ink);
}

.footer-col ul {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-col a,
.footer-col li {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--footer-ink);
  text-decoration: none;
  line-height: 1.4;
}

.footer-col a {
  width: fit-content;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.footer-bottom {
  padding-top: 0.25rem;
}

.footer-bottom__rule {
  height: 1px;
  background: rgba(246, 241, 232, 0.38);
}

.footer-bottom__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  padding-top: 1.15rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--footer-light);
}

.footer-bottom__row p {
  margin: 0;
}

.footer-heart {
  color: #e8c4b0;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer {
    min-height: 0;
    padding-top: 3.75rem;
  }

  .site-footer__inner {
    gap: 9.5rem;
  }

  .footer-tagline {
    max-width: 28ch;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    gap: 8.25rem;
  }

  .footer-bottom__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .give-card .zelle-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
