/* ============================================================
   Joe Keeps Moving — Charity Seminar Landing Page
   ============================================================ */

:root {
  --cream: #f7f2e9;
  --sand: #ece3d3;
  --ink: #16281f;
  --forest: #1d4732;
  --forest-deep: #142e21;
  --muted: #5c6b60;
  --muted-light: #b8c6bb;
  --terra: #c95d2c;
  --terra-dark: #a84a20;
  --line: #ddd3c2;

  --radius: 18px;
  --container: 1100px;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 1.25rem;
}

section {
  padding: 5.5rem 0;
}

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

::selection {
  background: var(--terra);
  color: #fff;
}

/* ---------- Kickers ---------- */

.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.kicker-dark  { color: var(--terra); }
.kicker-light { color: var(--muted-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-small {
  padding: 0.55rem 1.35rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 6px 18px rgba(201, 93, 44, 0.35);
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 93, 44, 0.4);
}

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(200deg, rgba(20, 46, 33, 0.18) 0%, rgba(20, 46, 33, 0.55) 62%, rgba(13, 30, 21, 0.82) 100%),
    url("public/img/hero.jpg") center / cover no-repeat;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}

.wordmark span {
  color: var(--terra);
}

.hero-content {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 7rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  max-width: 33rem;
  font-size: 1.18rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-lead strong {
  color: #fff;
}

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

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  opacity: 0.7;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

@media (min-width: 900px) {
  /* Joe sits center-left in the photo — float the text block to the
     right edge so it clears him. The block is a flex item with auto
     side margins (shrink-to-fit): margin-left alone pushes it right. */
  .hero-content {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    margin-right: clamp(2rem, 5vw, 7rem);
    padding-right: 0;
  }

  .hero-lead {
    margin-left: auto;
  }
}

/* ---------- How it works ---------- */

.how {
  background: var(--cream);
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.how-step {
  border-top: 3px solid var(--terra);
  padding-top: 1.5rem;
}

.how-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--terra);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.how-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.how-step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Benefits ---------- */

.benefits {
  background: var(--forest-deep);
  color: #fff;
}

.benefits-intro {
  max-width: 40rem;
  color: var(--muted-light);
  font-size: 1.12rem;
  margin-bottom: 3rem;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--forest);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.benefit-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-photo img {
  transform: scale(1.04);
}

.benefit-body {
  padding: 1.5rem 1.6rem 1.8rem;
}

.benefit-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.benefit-body p {
  color: var(--muted-light);
  font-size: 0.97rem;
}

.benefits-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefits-note em {
  color: var(--terra);
  font-style: normal;
}

/* ---------- Details strip ---------- */

.details {
  background: var(--terra);
  color: #fff;
  padding: 3rem 0;
}

.details-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.details-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.details-list strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.details-list span {
  font-size: 0.92rem;
  opacity: 0.9;
}

/* ---------- About ---------- */

.about {
  background: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--sand);
}

.about-photo img {
  width: 100%;
}

.about-text p:not(.kicker) {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1rem;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  background: var(--forest-deep);
  color: #fff;
  padding: 6.5rem 0;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.cta p {
  font-size: 1.18rem;
  margin-bottom: 2.5rem;
  color: var(--muted-light);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 88vh;
    /* keep Joe in frame on tall crops */
    background-position: 30% center;
  }

  .how-steps,
  .benefit-cards {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .benefit-photo {
    aspect-ratio: 16 / 10;
  }

  .details-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    max-width: 380px;
  }
}

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

  .hero-scroll {
    animation: none;
  }

  .btn,
  .benefit-card,
  .benefit-photo img {
    transition: none;
  }
}
