/* Auto-generated from inline <style> in index.html. */
/* All selectors scoped to .page-home to prevent cross-page edit bleed. */

/* =========================================================================
     HOME — variations + home-specific blocks
     ========================================================================= */

  /* ---------- HERO VARIATIONS ---------- */
  /* Shared */
  .page-home .hero { position: relative; overflow: hidden; }

  /* ===== Variation 1: Full-bleed photo with overlaid headline ===== */
  .page-home .hero-photo {
    min-height: min(88vh, 780px);
    background: #1a2e20;
    color: var(--cream);
    display: flex;
    align-items: flex-end;
  }
  .page-home .hero-photo .hero-bg {
    position: absolute; inset: 0;
    display: block;
    background-color: #1a2e20;
    overflow: hidden;
  }
  .page-home .hero-photo .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.68) saturate(1.1);
  }
  .page-home .hero-photo .hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(23, 60, 34, 0.35) 0%, rgba(23, 60, 34, 0.85) 85%);
  }
  .page-home .hero-photo .wrap {
    position: relative; z-index: 2;
    padding-top: 120px; padding-bottom: 80px;
    width: 100%;
  }
  .page-home .hero-photo .eyebrow { color: var(--wheat); }
  .page-home .hero-photo .eyebrow::before { background: var(--wheat); }
  .page-home .hero-photo h1 {
    color: var(--cream);
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    max-width: 16ch;
    margin-bottom: 28px;
    letter-spacing: -0.015em;
  }
  .page-home .hero-photo h1 em {
    font-style: italic;
    color: var(--wheat);
  }
  .page-home .hero-photo p.lead {
    color: rgba(242, 235, 226, 0.92);
    max-width: 54ch;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  }
  .page-home .hero-photo .hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

  /* ===== Variation 2: Split — image + type ===== */
  .page-home .hero-split {
    padding: clamp(60px, 8vw, 110px) 0;
    background: var(--cream);
  }
  .page-home .hero-split .split-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }
  @media (max-width: 860px) { .page-home .hero-split .split-grid { grid-template-columns: 1fr; } }
  .page-home .hero-split h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    margin-bottom: 24px;
  }
  .page-home .hero-split h1 em { font-style: italic; color: var(--forest); }
  .page-home .hero-split .hero-img {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 5/6;
    background: #ddd;
  }
  .page-home .hero-split .hero-img img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .page-home .hero-split .hero-img::before {
    content: "";
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    background: var(--apricot);
    border-radius: 50%;
    z-index: -1;
  }
  .page-home .hero-split .hero-img { isolation: isolate; }
  .page-home .hero-split .hero-img::after {
    content: "";
    position: absolute;
    top: -30px; left: -30px;
    width: 120px; height: 120px;
    background: var(--lime);
    border-radius: 50%;
    z-index: -1;
  }
  .page-home .hero-split .hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

  /* ===== Variation 3: Typographic w/ color blocks ===== */
  .page-home .hero-type {
    padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px);
    background: var(--paper);
    position: relative;
  }
  .page-home .hero-type h1 {
    font-size: clamp(3rem, 8.5vw, 8rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    max-width: 13ch;
    margin-bottom: 40px;
  }
  .page-home .hero-type h1 .accent-wheat { background: var(--wheat); padding: 0 0.15em; border-radius: 8px; }
  .page-home .hero-type h1 .accent-apricot { color: var(--apricot); font-style: italic; }
  .page-home .hero-type .hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    border-top: 1px solid var(--rule);
    padding-top: 32px;
  }
  @media (max-width: 860px) { .page-home .hero-type .hero-bottom { grid-template-columns: 1fr; gap: 24px; } }
  .page-home .hero-type .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .page-home .hero-type .hero-blocks {
    position: absolute;
    top: 60px; right: 60px;
    display: flex; gap: 8px;
  }
  .page-home .hero-type .hero-blocks span {
    width: 36px; height: 36px; border-radius: 50%;
  }
  @media (max-width: 860px) { .page-home .hero-type .hero-blocks { display: none; } }

  /* ---------- THE CHALLENGE ---------- */
  .page-home .challenge { background: var(--cream); }
  .page-home .challenge-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
  }
  @media (max-width: 860px) { .page-home .challenge-grid { grid-template-columns: 1fr; } }
  .page-home .challenge .challenge-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    background: #ddd;
  }
  .page-home .challenge .challenge-visual img { width: 100%; height: 100%; object-fit: cover; }
  .page-home .challenge .challenge-copy h2 em { font-style: italic; color: var(--forest); }
  .page-home .challenge .challenge-copy p { font-size: 1.08rem; color: var(--ink-soft); }
  .page-home .challenge .impact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 22px 28px;
    background: var(--forest);
    color: var(--cream);
    border-radius: 18px;
    font-weight: 600;
    font-size: 1rem;
    transition: background .2s, transform .2s;
  }
  .page-home .challenge .impact-link:hover { background: var(--forest-deep); color: var(--cream); transform: translateY(-2px); }
  .page-home .challenge .impact-link svg { width: 20px; height: 20px; }

  /* ---------- MISSION QUOTE BAND ---------- */
  .page-home .quote-band {
    background: var(--forest-ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .page-home .quote-band::before {
    content: "";
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(136, 178, 60, 0.18), transparent 70%);
  }
  .page-home .quote-band::after {
    content: "";
    position: absolute;
    bottom: -180px; left: -180px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 211, 127, 0.10), transparent 70%);
  }
  .page-home .quote-band .wrap { position: relative; z-index: 2; }
  .page-home .quote-band .eyebrow { color: var(--lime); }
  .page-home .quote-band .eyebrow::before { background: var(--lime); }
  .page-home .quote-band-text {
    margin: 32px 0 0;
    position: relative;
    padding-left: 40px;
  }
  .page-home .quote-band-text::before {
    content: "\201C";
    position: absolute;
    left: -10px;
    top: -40px;
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(5rem, 10vw, 8rem);
    line-height: 1;
    color: var(--wheat);
    opacity: 0.55;
  }
  .page-home .quote-band-text p {
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.2;
    color: var(--cream);
    margin: 0;
    max-width: 22ch;
  }
  .page-home .quote-band-attribution {
    margin-top: 24px;
    font-family: var(--sans, inherit);
    font-style: normal;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: rgba(242, 235, 226, 0.7);
  }
  @media (max-width: 860px) {
    .page-home .quote-band-text { padding-left: 28px; max-width: none; }
    .page-home .quote-band-text::before { top: -28px; }
  }

  /* ---------- WHAT SETS US APART ---------- */
  .page-home .apart { background: var(--paper); padding: clamp(44px, 6vw, 88px) 0; }
  .page-home .apart-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
  }
  @media (max-width: 860px) { .page-home .apart-grid { grid-template-columns: 1fr; } }
  .page-home .apart-visual {
    position: relative;
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
  }
  .page-home .apart-visual .tile {
    border-radius: 18px;
    overflow: hidden;
    background: #ddd;
  }
  .page-home .apart-visual .tile img { width: 100%; height: 100%; object-fit: cover; }
  .page-home .apart-visual .tile-1 { grid-column: 1; grid-row: 1 / span 2; }
  .page-home .apart-visual .tile-2 { background: var(--wheat); padding: 0; }
  .page-home .apart-visual .tile-2 picture { display: block; width: 100%; height: 100%; }
  .page-home .apart-visual .tile-2 picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .page-home .apart-visual .tile-2 .serif-big {
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    color: var(--forest-ink);
    line-height: 1;
  }
  .page-home .apart-visual .tile-3 { background: #88b23c; }


  /* ---------- CTA BAND ---------- */
  .page-home .cta-band {
    background: #88b23c;
    color: var(--forest-ink);
    padding: clamp(72px, 9vw, 112px) 0;
    position: relative;
    overflow: hidden;
  }
  .page-home .cta-band::before {
    content: "";
    position: absolute;
    left: -100px; top: -100px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 211, 127, 0.5), transparent 70%);
  }
  .page-home .cta-band::after {
    content: "";
    position: absolute;
    right: -140px; bottom: -140px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 116, 68, 0.2), transparent 70%);
  }
  .page-home .cta-band .wrap {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 48px;
    align-items: center;
  }
  @media (max-width: 860px) { .page-home .cta-band .wrap { grid-template-columns: 1fr; text-align: left; } }
  .page-home .cta-band h2 {
    color: var(--forest-ink);
    font-size: clamp(2rem, 3.6vw, 3rem);
    max-width: 20ch;
    margin-bottom: 12px;
  }
  .page-home .cta-band p { color: rgba(23, 60, 34, 0.8); margin: 0; max-width: 48ch; }
  .page-home .cta-band .btn-primary {
    background: var(--forest-ink);
    border-color: var(--forest-ink);
    padding: 18px 36px;
    font-size: 1.05rem;
  }
  .page-home .cta-band .btn-primary:hover { background: #0d2614; border-color: #0d2614; }


  .page-home .btn-accent--outline {
    background: transparent;
    color: #ffffff;
    border-color: #e7d37f;
  }
  .page-home .btn-accent--outline:hover {
    background: rgba(231, 211, 127, 0.15);
    border-color: #e7d37f;
    color: #ffffff;
  }
