/* Awakening Eden homepage final polish · 16 September 2026
   Homepage-only layer. Keep the opening calm, human, botanical and clear. */

body.final-home-polish {
  --home-paper: #fffaf0;
  --home-cream: #f6eddc;
  --home-forest: #294334;
  --home-forest-deep: #213829;
  --home-gold: #b88a38;
  --home-clay: #a9654d;
}

body.final-home-polish .hero--welcome {
  padding-bottom: clamp(2.8rem, 6vw, 5.2rem);
}

body.final-home-polish .hero--welcome .hero-promise {
  max-width: 18ch;
  margin-inline: auto;
}

body.final-home-polish .hero--welcome .hero-intro {
  max-width: 42rem;
}

/* The approved Benjy + Sofia Tree of Life artwork is the one founders image on the homepage. */
body.final-home-polish .threshold-section {
  padding-top: clamp(0.4rem, 1.5vw, 1rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

body.final-home-polish .hero-portal--welcome {
  width: min(100%, 62rem);
  margin-inline: auto;
}

body.final-home-polish .hero-portal--welcome .welcome-home-art {
  display: block;
  width: 100%;
  height: auto;
}

/* Clear first actions sit immediately after the threshold image. */
body.final-home-polish .home-hero-actions {
  width: min(100%, 54rem);
  margin: clamp(1.3rem, 3vw, 2rem) auto 0;
}

body.final-home-polish .home-hero-actions a {
  min-height: 5.4rem;
  align-content: center;
}

/* Let the founders welcome breathe without repeating the portrait. */
body.final-home-polish .founders-welcome {
  padding-top: clamp(2.4rem, 6vw, 5rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

body.final-home-polish .founders-welcome__grid {
  display: block;
  width: min(100%, 50rem);
  margin-inline: auto;
  text-align: center;
}

body.final-home-polish .founders-welcome__copy {
  max-width: 48rem;
  margin-inline: auto;
}

body.final-home-polish .founders-welcome__copy h2 {
  max-width: 18ch;
  margin-inline: auto;
}

body.final-home-polish .founders-welcome__copy .lead {
  max-width: 44rem;
  margin-inline: auto;
}

body.final-home-polish .founders-welcome .story-links {
  justify-content: center;
}

/* The hummingbird/tree artwork becomes a quiet divider rather than a banner. */
body.final-home-polish .founders-welcome__divider {
  width: min(76vw, 30rem) !important;
  max-width: 30rem !important;
  margin: clamp(1.8rem, 4vw, 2.8rem) auto 0 !important;
  opacity: 0.95;
}

/* Keep the later founders story as text, without repeating Benjy + Sofia imagery. */
body.final-home-polish .story-section .story-grid {
  display: block;
  width: min(100%, 50rem);
  margin-inline: auto;
}

body.final-home-polish .story-section .story-copy {
  max-width: 48rem;
  margin-inline: auto;
}

/* Circle of Belonging: premium framed portal, with image doing the emotional work. */
body.final-home-polish .invitation-section--opening-vision {
  padding-top: clamp(3rem, 7vw, 6rem);
}

body.final-home-polish .invitation-section--opening-vision .invitation-film {
  width: min(100%, 54rem);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(105 112 82 / 0.26);
  border-radius: clamp(1rem, 2.8vw, 2rem);
  background: var(--home-forest-deep);
  box-shadow: 0 24px 60px rgb(35 49 38 / 0.15);
}

body.final-home-polish .invitation-section--opening-vision .invitation-film img {
  display: block;
  width: 100%;
  height: auto;
}

body.final-home-polish .invitation-section--opening-vision .invitation-film figcaption {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 3vw, 1.55rem) clamp(1rem, 3vw, 1.75rem);
  text-align: left;
}

/* Drawn / colourful library cards return as visual anchors, while keeping current routes. */
body.final-home-polish .library-section {
  position: relative;
  overflow: hidden;
}

body.final-home-polish .library-section::before,
body.final-home-polish .library-section::after {
  position: absolute;
  z-index: 0;
  width: clamp(5rem, 11vw, 10rem);
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  pointer-events: none;
  opacity: 0.72;
}

body.final-home-polish .library-section::before {
  top: 2rem;
  left: -1.2rem;
  background-image: url('/assets/corners/botanical-corner-01.webp');
}

body.final-home-polish .library-section::after {
  right: -1.4rem;
  bottom: 1rem;
  background-image: url('/assets/corners/botanical-corner-04.webp');
  transform: rotate(180deg);
}

body.final-home-polish .library-section > .container {
  position: relative;
  z-index: 1;
}

body.final-home-polish .library-grid {
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

body.final-home-polish .library-room--illustrated {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
  overflow: hidden;
  padding: 0;
  border-color: rgb(105 112 82 / 0.26);
  background: rgb(255 253 247 / 0.88);
  box-shadow: 0 15px 36px rgb(35 49 38 / 0.09);
}

body.final-home-polish .library-room--illustrated .library-room__art {
  display: block;
  width: 100%;
  height: clamp(7.25rem, 15vw, 10rem);
  object-fit: cover;
  object-position: center;
}

body.final-home-polish .library-room--illustrated > .room-icon,
body.final-home-polish .library-room--illustrated > span:last-child {
  margin-inline: 1rem;
}

body.final-home-polish .library-room--illustrated > .room-icon {
  margin-top: -1.25rem;
  z-index: 1;
  background: var(--home-paper);
  box-shadow: 0 7px 18px rgb(35 49 38 / 0.13);
}

body.final-home-polish .library-room--illustrated > span:last-child {
  margin-top: 0.6rem;
  margin-bottom: 1rem;
  color: var(--home-forest-deep);
}

body.final-home-polish .library-room--illustrated > span:last-child strong {
  color: var(--home-forest-deep);
}

body.final-home-polish .library-room--illustrated > span:last-child small {
  color: var(--olive);
}

body.final-home-polish .library-room .room-icon {
  border-color: rgb(184 138 56 / 0.38);
}

body.final-home-polish .library-room:hover,
body.final-home-polish .library-room:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgb(35 49 38 / 0.12);
}

@media (max-width: 42rem) {
  body.final-home-polish .home-hero-actions {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.final-home-polish .founders-welcome__divider {
    width: min(82vw, 23rem) !important;
  }

  body.final-home-polish .library-room--illustrated .library-room__art {
    height: 7rem;
  }
}


/* Highest-version homepage alignment · 28 September 2026 */
body.final-home-polish .home-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 48rem);
  margin: 1.6rem auto 1.2rem;
}
body.final-home-polish .home-hero-actions .button {
  min-height: 3.25rem;
  justify-content: center;
  text-align: center;
}
body.final-home-polish .mission-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgb(184 138 56 / 0.09), transparent 32rem), linear-gradient(180deg, rgb(255 250 240 / 0.96), rgb(246 237 220 / 0.72));
}
body.final-home-polish .mission-section::before {
  position: absolute;
  top: 1.25rem;
  left: -1.5rem;
  width: clamp(5rem, 10vw, 8rem);
  aspect-ratio: 1;
  background: url('/assets/corners/botanical-corner-02.webp') center / contain no-repeat;
  content: "";
  opacity: 0.6;
  pointer-events: none;
}
body.final-home-polish .mission-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(16rem, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
body.final-home-polish .mission-copy { max-width: 46rem; }
body.final-home-polish .mission-copy h2 { max-width: 15ch; }
body.final-home-polish .mission-declaration {
  margin-top: 1.35rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--home-gold);
  color: var(--home-forest-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.28rem, 2.3vw, 1.72rem);
  line-height: 1.34;
}
body.final-home-polish .mission-art {
  width: min(100%, 20rem);
  justify-self: end;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgb(105 112 82 / 0.28);
  border-radius: clamp(1rem, 2.4vw, 1.6rem);
  background: var(--home-forest-deep);
  box-shadow: 0 20px 50px rgb(35 49 38 / 0.13);
}
body.final-home-polish .mission-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.final-home-polish .mission-art figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem 1.15rem;
  color: #fffaf0;
}
body.final-home-polish .mission-art figcaption strong {
  color: #e2bd72;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.final-home-polish .mission-art figcaption span {
  color: rgb(255 250 240 / 0.86);
  font-size: 0.92rem;
  line-height: 1.45;
}
body.final-home-polish .story-section .story-grid { max-width: 52rem; }
body.final-home-polish .story-section .story-copy { text-align: left; }
@media (max-width: 50rem) {
  body.final-home-polish .home-hero-actions { grid-template-columns: 1fr; }
  body.final-home-polish .mission-grid { grid-template-columns: 1fr; }
  body.final-home-polish .mission-art { width: min(100%, 20rem); justify-self: center; margin-inline: auto; }
}

/* Readability and contrast finish · 16 October 2026 */
body.final-home-polish .invitation-film--vision figcaption,
body.final-home-polish .growing-toward__vision figcaption{font-size:1rem;line-height:1.58}
body.final-home-polish .invitation-film--vision figcaption strong,
body.final-home-polish .growing-toward__vision figcaption strong{color:#f1d293;font-size:.78rem}
body.final-home-polish .community-socials>span{color:#fffaf0}
body.final-home-polish .community-events-link{color:#fffdf7;background:#59624d;border-color:#f3dfb7}
body.final-home-polish .community-events-link:hover,
body.final-home-polish .community-events-link:focus-visible{color:#263d2d;background:#f3dfb7}

/* Living story: authentic founders first, painted vision further along the journey. */
body.final-home-polish .home-together{color:#81503b;font-size:clamp(1.5rem,3vw,2.1rem);margin:1rem auto}
body.final-home-polish .hero-portal--welcome{max-width:42rem}
body.final-home-polish .hero-portal--welcome .welcome-home-art{border-radius:1.5rem}
body.final-home-polish .hero-portal--welcome figcaption,
body.final-home-polish .home-vision-painting figcaption{font-size:1rem;line-height:1.6;color:#44533e;padding:1rem .5rem;text-align:center}
body.final-home-polish .threshold-section{padding-bottom:1rem}
.home-founders-intro{max-width:44rem;margin:0 auto;text-align:center}
.home-founders-intro h2{font-size:clamp(2rem,4vw,3rem);line-height:1.12;margin:.7rem 0 1rem}
.home-founders-intro p{font-size:1.125rem;line-height:1.7}
.home-quiet-links{justify-content:center;gap:1rem 2rem;margin:1rem auto 2rem;flex-wrap:wrap}
.home-living-story{background:#f6efdf;color:#294334}
.home-living-story .handwritten{color:#805039}
.home-story-heading{max-width:44rem;margin:0 auto 2rem;text-align:center}
.home-story-heading h2,.home-homes-intro h2{font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.12;margin:.5rem 0 1rem}
.home-story-heading>p,.home-homes-intro>p{font-size:1.125rem;line-height:1.65}
.home-pathways{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.home-pathways>a{display:flex;flex-direction:column;align-items:flex-start;background:#fffaf0;border:1px solid #b8b59b;border-radius:1.25rem;padding:1.5rem;text-decoration:none;color:#294334}
.home-pathways img{width:3.5rem;height:3.5rem;margin-bottom:1rem}
.home-pathways__verb{font-size:.8rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#805039}
.home-pathways h3{font-size:1.7rem;line-height:1.15;margin:.6rem 0}
.home-pathways p{font-size:1.05rem;line-height:1.6;margin-bottom:1.5rem}
.home-pathways .text-link{margin-top:auto;font-weight:700}
.home-story-question{text-align:center;font-family:'Cormorant Garamond',serif;font-size:clamp(1.7rem,3vw,2.3rem);margin:2rem auto 5rem;max-width:36rem}
.home-story-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(18rem,31%);gap:1.25rem;overflow-x:auto;scroll-snap-type:x proximity;padding:.4rem .2rem 1.5rem;scrollbar-color:#596b4b #e7dcc8}
.home-story-card{display:block;color:#294334;text-decoration:none;border:1px solid #b8b59b;border-radius:1.25rem;overflow:hidden;background:#fffaf0;scroll-snap-align:start}
.home-story-card figure{margin:0}
.home-story-card img{width:100%;height:17rem;object-fit:cover;display:block}
.home-story-card--concept img{object-fit:contain;background:#eee3cd}
.home-story-card--portrait img{object-position:center 38%}
.home-story-card figcaption{padding:1.4rem;font-size:1rem;line-height:1.6}
.home-story-card small{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#805039}
.home-story-card h3{font-size:1.9rem;line-height:1.15;margin:.6rem 0}
.home-story-card p{margin:0 0 1rem}
.home-story-gallery:focus-visible,.home-story-card:focus-visible,.home-pathways>a:focus-visible,.home-homes-options>a:focus-visible{outline:3px solid #805039;outline-offset:4px}
.home-homes-intro{margin:4rem auto 0;text-align:center;max-width:60rem}
.home-homes-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}
.home-homes-options>a{color:#294334;text-decoration:none;border-block:1px solid #b8b59b;padding:1.5rem .75rem}
.home-homes-options h3{font-size:1.8rem;line-height:1.15;margin:0 0 .5rem}
.home-homes-options p{font-size:1.05rem;line-height:1.6}
.home-vision-painting{margin:2rem auto}.home-vision-painting img{width:100%;height:auto;border-radius:1.25rem}
@media(max-width:60rem){.home-pathways{grid-template-columns:repeat(2,minmax(0,1fr))}.home-story-gallery{grid-auto-columns:70%}}
@media(max-width:35rem){.home-pathways,.home-homes-options{grid-template-columns:1fr}.home-story-gallery{grid-auto-columns:87%}.home-story-card img{height:15rem}.home-founders-intro{padding-inline:.5rem}}
@media(prefers-reduced-motion:reduce){.home-story-gallery{scroll-behavior:auto;scroll-snap-type:none}}
