/* Homepage-only layout and imagery. Shared chrome and button styles live in app.css. */

.home .site-header {
  position: absolute;
  inset: 0 0 auto;
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + 1.5rem) 1.25rem 3rem;
  background: #e7efe8;
  color: #fff;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  z-index: 1;
  background: #2d8a4e;
  mix-blend-mode: color;
  opacity: 0.5;
}

.home-hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 32, 22, 0.55) 0%, rgba(8, 32, 22, 0.2) 55%, rgba(8, 32, 22, 0.35) 100%),
    linear-gradient(to top, rgba(8, 32, 22, 0.4), transparent 45%);
}

.home-hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.12);
  opacity: 0.6;
}

.home-hero-grid {
  position: relative;
  z-index: 3;
  width: min(70rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-hero-copy {
  max-width: 36rem;
}

.home-hero-copy h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow:
    0 0 8px rgba(13, 47, 36, 0.95),
    0 0 18px rgba(13, 47, 36, 0.7),
    0 1px 3px rgba(8, 32, 24, 0.9);
}

.home-hero-copy h1 em {
  color: var(--color-accent);
  font-style: italic;
  -webkit-text-stroke: 4px var(--color-forest);
  paint-order: stroke fill;
  text-shadow:
    -1.5px 0 var(--color-forest),
    1.5px 0 var(--color-forest),
    0 -1.5px var(--color-forest),
    0 1.5px var(--color-forest),
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.7);
}

.home-hero-punch {
  margin-top: 0.85rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-lead {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.home-hero-button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-journey {
  width: 100%;
  max-width: 22rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(13, 47, 36, 0.72);
  box-shadow: 0 12px 40px -16px rgba(13, 47, 36, 0.35);
  backdrop-filter: blur(10px);
}

.home-journey h2 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-journey ol {
  display: grid;
  gap: 0.9rem;
}

.home-journey li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.home-step-number {
  flex: 0 0 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
}

.home-journey h3 {
  font-size: 1rem;
  font-weight: 800;
}

.home-journey p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.home-better {
  width: min(70rem, calc(100% - 2.5rem));
  margin: 3.5rem auto;
  display: grid;
  align-items: center;
  gap: 1.75rem;
}

.home-better h2,
.home-steps-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-better h2 {
  margin-bottom: 0.9rem;
}

.home-better p {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

.home-better-photo {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px -16px rgba(13, 47, 36, 0.35);
}

.home-better-photo img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.home-steps {
  width: min(70rem, calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
}

.home-steps-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.home-steps-cards {
  display: grid;
  gap: 1.25rem;
}

.home-step-card {
  position: relative;
  min-height: 26rem;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-forest);
  color: #fff;
  box-shadow: 0 12px 40px -16px rgba(13, 47, 36, 0.35);
}

.home-step-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-step-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 26rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 16, 0.78) 0%,
    rgba(8, 20, 16, 0.22) 28%,
    rgba(8, 20, 16, 0.22) 72%,
    rgba(8, 20, 16, 0.82) 100%
  );
}

.home-step-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.home-step-card p {
  color: rgba(255, 255, 255, 0.9);
}

.home-step-card .btn-cta {
  align-self: flex-start;
}

.home-cta-band {
  padding: 3rem 1.25rem;
  background: var(--color-forest);
  color: #fff;
  text-align: center;
}

.home-cta-lead {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.home-cta-band .btn-cta {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.home-cta-band blockquote {
  max-width: 40rem;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.home-cta-band blockquote footer {
  margin-top: 0.6rem;
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.home-fees {
  padding: 3rem 1.25rem 4rem;
  background: var(--color-card);
  color: var(--color-text);
}

.home-fees-grid {
  width: min(70rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-fees-copy {
  max-width: 36rem;
}

.home-fees-lead {
  font-weight: 700;
}

.home-fee-points {
  width: 100%;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.home-fee-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.home-fee-points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.home-fees-card {
  width: 100%;
  max-width: 22rem;
  min-height: 16rem;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(13, 47, 36, 0.72);
  color: #fff;
  box-shadow: 0 12px 40px -16px rgba(13, 47, 36, 0.35);
  backdrop-filter: blur(10px);
}

.home-fees-figure {
  text-align: center;
}

.home-fees-percent {
  color: var(--color-accent);
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
}

.home-fees-anchor {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-fees-footnote {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  text-align: left;
}

@media (min-width: 53.75rem) {
  .home-hero {
    align-items: center;
    padding: calc(var(--header-height) + 2rem) 2.5rem 4rem;
  }

  .home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: stretch;
    gap: 4rem;
  }

  .home-journey {
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .home-journey ol {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .home-better {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .home-better-photo img {
    height: 28rem;
  }

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

  .home-cta-band {
    padding: 4rem 2.5rem;
  }

  .home-fees {
    padding: 4rem 2.5rem;
  }

  .home-fees-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: stretch;
    gap: 4rem;
  }

  .home-fees-card {
    width: auto;
    min-height: 0;
  }
}

