:root {
  --blue: #1e3a5f;
  --gold: #c79a3b;
  --green: #4c7a5a;
  --ink: #182333;
  --muted: #5e6978;
  --paper: #fafaf8;
  --white: #ffffff;
  --line: #e5e1d8;
  --shadow: 0 18px 50px rgb(24 35 51 / 13%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgb(250 250 248 / 90%);
  border-bottom: 1px solid rgb(229 225 216 / 80%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  color: var(--blue);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-toggle,
.button {
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: #eef3f1;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  padding: 9px 12px;
}

.scripture-ticker {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid rgb(229 225 216 / 80%);
  background: #132840;
  color: var(--white);
  overflow: hidden;
}

.scripture-ticker-label {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 clamp(14px, 3vw, 26px);
  background: var(--gold);
  color: #111820;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.scripture-ticker-label span {
  color: rgb(17 24 32 / 70%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.scripture-ticker-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 34px,
    #000 calc(100% - 34px),
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 34px,
    #000 calc(100% - 34px),
    transparent
  );
}

.scripture-ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 8px 12px;
  animation: scripture-ticker-scroll 166s linear infinite;
}

.scripture-ticker:hover .scripture-ticker-track,
.scripture-ticker:focus-within .scripture-ticker-track {
  animation-play-state: paused;
}

.scripture-ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(520px, 82vw);
  min-height: 34px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 90%);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-ref {
  color: var(--white);
}

.ticker-text {
  max-width: 34ch;
  overflow: hidden;
  color: rgb(255 255 255 / 72%);
  font-weight: 650;
  text-overflow: ellipsis;
}

.scripture-ticker-item:hover,
.scripture-ticker-item:focus-visible {
  border-color: rgb(199 154 59 / 80%);
  background: rgb(255 255 255 / 16%);
  color: var(--white);
  outline: none;
}

@keyframes scripture-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: clamp(80px, 14vw, 160px) clamp(18px, 5vw, 64px)
    clamp(42px, 8vw, 84px);
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    75deg,
    rgb(15 32 50 / 76%),
    rgb(15 32 50 / 48) 48%,
    rgb(15 32 50 / 20)
  );
}

.home-hero {
  background-image: url("https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?auto=format&fit=crop&q=80&w=1800");
  background-position: center 48%;
}

.home-hero::before {
  background: linear-gradient(
    90deg,
    rgb(15 32 50 / 78%) 0%,
    rgb(15 32 50 / 58%) 34%,
    rgb(15 32 50 / 18%) 62%,
    rgb(15 32 50 / 4%) 100%
  );
}
.visit-hero {
  background-image: url("../images/building/church-front.jpg");
}

.hero-copy {
  position: relative;
  width: min(760px, 100%);
}

.hero-credit {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 8px;
  z-index: 1;
  margin: 0;
  color: rgb(255 255 255 / 34%);
  font-size: 0.25rem;
  line-height: 1.2;
}

.hero-credit a {
  color: inherit;
  text-underline-offset: 3px;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.page-intro p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 850;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--gold);
  color: #1b1408;
  box-shadow: 0 10px 30px rgb(199 154 59 / 24%);
}

.button.ghost {
  background: rgb(255 255 255 / 88%);
  color: var(--blue);
  border-color: rgb(255 255 255 / 38%);
}

button.button {
  cursor: pointer;
  font: inherit;
}

.compact-actions {
  margin-top: 18px;
}

.section,
.page-intro,
.visit-card-band,
.site-footer {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section h2,
.page-intro h1 {
  color: var(--blue);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.muted {
  background: #f1f4ef;
}

.soft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.soft-cta h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.soft-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visit-card img,
.rounded-media {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.visit-card img {
  aspect-ratio: 4 / 3;
}
.rounded-media {
  aspect-ratio: 4 / 3;
}

.unsplash-feature {
  margin: clamp(24px, 4vw, 40px) 0;
}

.unsplash-feature.wide {
  max-width: 1120px;
}

.unsplash-feature img {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.unsplash-feature figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
}

.unsplash-feature a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.photo-break {
  padding-top: clamp(20px, 4vw, 42px);
  padding-bottom: clamp(20px, 4vw, 42px);
}

.photo-break .unsplash-feature {
  margin: 0 auto;
}

.quick-facts {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.quick-facts div {
  padding: 14px 16px;
  background: #f7f6f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 2px 0 0;
  font-weight: 750;
}

.feature-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.question-grid article,
.check-grid p,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.feature-grid h3,
.feature-grid h2 {
  margin-top: 0;
  color: var(--blue);
}

.question-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.question-grid h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1.2;
}

.question-grid p {
  margin: 0 0 12px;
  color: var(--muted);
}

.question-grid p:last-child,
.feature-grid p:last-child {
  margin-bottom: 0;
}

.scripture-line {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 780;
}

.scripture-button {
  width: 100%;
  border: 1px solid rgb(30 58 95 / 18%);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7f6f1;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.scripture-button:hover,
.scripture-button:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgb(199 154 59 / 20%);
}

.card-step {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.split,
.schedule-layout,
.find-us,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.page-intro {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-grid p::before {
  content: "✓";
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  padding-left: 20px;
  border-left: 4px solid var(--gold);
}

.timeline time {
  color: var(--green);
  font-weight: 850;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

.map-card.compact iframe {
  height: 360px;
}
.map-card.large iframe {
  height: min(72vh, 680px);
}

.life-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.life-group-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.life-group-grid h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1.25rem;
}

.life-group-grid p {
  margin: 0;
  color: var(--muted);
}

.scripture-dialog {
  width: min(980px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.scripture-dialog::backdrop {
  background: rgb(24 35 51 / 58%);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  position: relative;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dialog-shell h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.dialog-shell p:not(.eyebrow) {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.scripture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.scripture-ref-choice {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7f6f1;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.scripture-ref-choice.active {
  border-color: var(--gold);
  background: rgb(199 154 59 / 16%);
}

.scripture-frame-wrap {
  height: min(58vh, 620px);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f6f1;
  margin-bottom: 18px;
}

.scripture-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fdfcf8;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgb(199 154 59 / 20%);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.learning-path,
.info-rows {
  display: grid;
  gap: 18px;
}

.learning-path {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learning-path article,
.info-rows article,
.resource-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.learning-path article {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
}

.learning-path h3,
.info-rows h3,
.resource-panel h3 {
  margin: 0 0 12px;
  color: var(--blue);
}

.learning-path p,
.info-rows p,
.resource-panel li {
  color: var(--muted);
}

.seekers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.seekers-layout h2 {
  margin-top: 0;
}

.resource-panel {
  padding: 26px;
}

.beliefs-intro {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgb(15 32 50 / 90%), rgb(15 32 50 / 70)),
    url("https://images.unsplash.com/photo-1497621122273-f5cfb6065c56?auto=format&fit=crop&q=80&w=1500");
  background-position: center;
  background-size: cover;
}

.beliefs-intro h1,
.beliefs-intro p:not(.eyebrow) {
  color: var(--white);
}

.beliefs-intro p:not(.eyebrow) {
  max-width: 760px;
}

.beliefs-jump {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #fbfbf8, #f4f6ef);
}

.beliefs-jump-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 18px 46px rgb(24 35 51 / 7%);
}

.beliefs-jump h2 {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.beliefs-jump nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beliefs-jump a {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 13px 42px 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgb(24 35 51 / 4%);
}

.beliefs-jump a::after {
  content: ">";
  position: absolute;
  right: 15px;
  color: var(--gold);
  font-weight: 900;
}

.beliefs-jump a:hover,
.beliefs-jump a:focus-visible {
  border-color: rgb(199 154 59 / 55%);
  background: #fffaf0;
  color: #132840;
  outline: none;
  transform: translateY(-1px);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.beliefs-grid article,
.beliefs-detail article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.beliefs-grid article {
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.beliefs-grid h2,
.beliefs-detail h2 {
  margin-top: 0;
  color: var(--blue);
}

.beliefs-grid p,
.beliefs-detail p {
  color: var(--muted);
}

.beliefs-detail {
  display: grid;
  gap: 20px;
}

.beliefs-detail article {
  padding: clamp(24px, 4vw, 36px);
}

.beliefs-document {
  padding-top: clamp(34px, 5vw, 70px);
  background: linear-gradient(180deg, #f7f8f4, var(--paper));
}

.beliefs-document article {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.beliefs-document h2 {
  margin: 0 0 clamp(26px, 4vw, 42px);
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.beliefs-document h3 {
  scroll-margin-top: 100px;
  margin: clamp(42px, 6vw, 68px) 0 14px;
  padding: 20px 0 0 18px;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  color: var(--blue);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.beliefs-document h2 + h3,
.beliefs-document article > h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.beliefs-document p {
  max-width: 82ch;
  color: #263242;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.82;
}

.beliefs-document p + p {
  margin-top: 1.05rem;
}

.beliefs-document .back-to-top {
  max-width: none;
  margin: 26px 0 0;
  padding-bottom: clamp(8px, 2vw, 18px);
  line-height: 1;
}

.beliefs-document .back-to-top a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgb(199 154 59 / 45%);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.beliefs-document .back-to-top a::before {
  content: "^";
  margin-right: 7px;
  color: var(--gold);
  font-weight: 900;
}

.beliefs-document .back-to-top a:hover,
.beliefs-document .back-to-top a:focus-visible {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}

.belief-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.belief-steps > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft);
}

.belief-steps h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1rem;
}

.belief-steps p {
  margin: 0 0 12px;
}

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

.study-courses {
  display: grid;
  gap: clamp(30px, 5vw, 52px);
}

.study-note {
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f1;
}

.study-note h2 {
  margin-top: 0;
  color: var(--blue);
}

.study-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.study-course {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(24 35 51 / 6%);
}

.course-heading h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.course-title {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lesson-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding-left: 22px;
}

.lesson-list li {
  padding-left: 4px;
  color: var(--muted);
}

.lesson-list a,
.answer-link {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.answer-link {
  grid-column: 2;
  justify-self: start;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef3f1;
}

.resource-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.resource-panel a,
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  text-decoration-color: rgb(199 154 59 / 70%);
  text-underline-offset: 3px;
}

.resource-panel a:hover,
.resource-panel a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: #122844;
  text-decoration-thickness: 2px;
  outline: none;
}

.info-rows article {
  padding: 26px;
}

.small-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--blue);
  color: var(--white);
}

.site-footer p {
  color: rgb(255 255 255 / 78%);
}

@media (prefers-reduced-motion: reduce) {
  .scripture-ticker-track {
    width: auto;
    overflow-x: auto;
    animation: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.open {
    display: flex;
  }
  .visit-card,
  .split,
  .schedule-layout,
  .find-us,
  .contact-layout,
  .seekers-layout,
  .study-course {
    grid-template-columns: 1fr;
  }
  .answer-link {
    grid-column: auto;
  }
  .feature-grid,
  .question-grid,
  .check-grid,
  .life-group-grid,
  .learning-path,
  .beliefs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .soft-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .soft-cta .button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 190px;
  }
  .scripture-ticker {
    grid-template-columns: 1fr;
  }
  .scripture-ticker-label {
    justify-content: center;
    min-height: 30px;
  }
  .scripture-ticker-window {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 18px,
      #000 calc(100% - 18px),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 18px,
      #000 calc(100% - 18px),
      transparent
    );
  }
  .scripture-ticker-track {
    animation-duration: 76s;
  }
  .hero {
    min-height: 560px;
    padding-top: 86px;
    padding-bottom: 34px;
  }
  .home-hero {
    background-position: center;
  }
  .feature-grid,
  .question-grid,
  .check-grid,
  .learning-path,
  .belief-steps,
  .lesson-list,
  .beliefs-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .beliefs-jump-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .beliefs-jump nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .beliefs-document article {
    padding: 22px;
  }
  .beliefs-document h3 {
    padding-left: 12px;
  }
  .life-group-grid {
    grid-template-columns: 1fr;
  }
}
