:root {
  --red: #b00020;
  --deep-red: #6f0015;
  --green: #1f7a4d;
  --dark: #241719;
  --muted: #6f6062;
  --line: #eadadd;
  --paper: #fff9f9;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(80, 0, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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: 22px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--deep-red);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #4e3a3e;
  font-size: 15px;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--red);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  min-width: 58px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--deep-red);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.nav-give {
  padding: 9px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(72, 0, 14, 0.88), rgba(142, 0, 28, 0.64) 46%, rgba(20, 44, 32, 0.28)),
    linear-gradient(0deg, rgba(36, 23, 25, 0.54), rgba(36, 23, 25, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 88vw);
  padding: 132px 0 130px 6vw;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #baf0d2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep-red);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--deep-red);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 20px;
}

.hero-actions,
.giving-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
button,
.event-list a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
button {
  color: var(--white);
  background: var(--red);
}

.lang-toggle {
  min-width: 58px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--deep-red);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button.secondary {
  color: var(--deep-red);
  background: var(--white);
}

.button.outline {
  color: var(--deep-red);
  background: var(--white);
  border: 1px solid var(--line);
}

.text-link {
  min-height: 42px;
  padding: 0;
  color: var(--green);
}

.intro,
.about-section,
.program-band,
.split-section,
.resource-section,
.events-section,
.action-section,
.contact-section {
  padding: 86px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 52px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  margin: 36px 0 0;
  color: #4f3d40;
  font-size: 18px;
}

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

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.about-section {
  background: var(--white);
}

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

.about-values article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-values span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

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

.feature-card,
.book-card,
.action-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 250px;
  padding: 30px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.feature-card p,
.book-card p,
.about-values p,
.split-copy p,
.action-panel p,
.events-section p,
.contact-section p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 60px;
  background: var(--deep-red);
  color: var(--white);
}

.split-section h2,
.split-section h3 {
  color: var(--white);
}

.split-copy p {
  color: #f5d9de;
}

.training-list {
  display: grid;
  gap: 16px;
}

.training-list div {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.training-list span {
  color: #f8dfe3;
}

.resource-section {
  background: var(--paper);
}

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

.book-card {
  padding: 22px;
}

.book-cover {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 6px;
  font-size: 42px;
  font-weight: 900;
  isolation: isolate;
}

.image-cover {
  color: var(--white);
  background-position: center;
  background-size: cover;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.image-cover::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(36, 23, 25, 0.12), rgba(36, 23, 25, 0.62)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18));
}

.revival-cover {
  background-image: url("assets/revival-flame.png");
}

.truth-cover {
  color: var(--deep-red);
  background-image: url("assets/truth-bible.png");
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.7);
}

.truth-cover::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.68)),
    linear-gradient(0deg, rgba(176, 0, 32, 0.08), rgba(176, 0, 32, 0.08));
}

.mission-cover {
  background-image: url("assets/mission-cross-runner.png");
}

.event-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.event-list article {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.event-list time {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.event-list h3,
.event-list p {
  margin-bottom: 4px;
}

.event-list a {
  color: var(--white);
  background: var(--green);
}

.action-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 24px;
  background: var(--paper);
}

.action-panel {
  padding: 34px;
}

.action-panel.giving {
  color: var(--white);
  background: var(--deep-red);
  border-color: var(--deep-red);
}

.action-panel.giving h2 {
  color: var(--white);
}

.action-panel.giving p {
  color: #f8dfe3;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
  background: var(--white);
}

.contact-copy p {
  font-size: 18px;
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card span {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.contact-card strong {
  color: var(--deep-red);
  font-size: 20px;
  line-height: 1.35;
}

.signup-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #4f3d40;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 6vw;
  color: var(--white);
  background: #241719;
}

.site-footer p {
  margin: 4px 0 0;
  color: #e5cfd3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 104px 6vw 92px;
  }

  .intro,
  .contact-section,
  .split-section,
  .action-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .about-values,
  .book-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 15px;
  }

  .nav-give {
    padding-inline: 14px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .intro,
  .about-section,
  .program-band,
  .split-section,
  .resource-section,
  .events-section,
  .action-section,
  .contact-section {
    padding: 64px 5vw;
  }

  .event-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-list a {
    width: fit-content;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
