/* Awakening Eden visual revival v4 - 12 August 2026
   A landscape threshold, human proof, exact Lotus portal and illustrated
   pathways. This layer deliberately preserves the established site systems. */

:root {
  --revival-ink: #233126;
  --revival-forest: #294334;
  --revival-paper: #fffaf0;
  --revival-linen: #f1e6d0;
  --revival-gold: #b88a38;
}

/* The chrome should feel typographic and calm, not like a clip-art badge. */
.site-header .brand { gap: 0.85rem; }
.site-header .brand img { object-fit: contain; }
.site-header .brand-words strong {
  color: var(--revival-forest);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 0.055em;
}
.site-header .brand-words small { color: #6d684d; }

/* Landscape threshold directly beneath the navigation. */
.eden-threshold {
  position: relative;
  width: min(100%, 118rem);
  margin: 0 auto;
  overflow: hidden;
  background: var(--revival-forest);
  box-shadow: 0 18px 60px rgb(35 49 38 / 0.17);
}
.eden-threshold picture,
.eden-threshold picture > img { display: block; width: 100%; }
.eden-threshold picture > img {
  height: clamp(27rem, 52vw, 44rem);
  object-fit: cover;
  object-position: 50% 45%;
}
.eden-threshold::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  pointer-events: none;
  /* Weighted to the right, where the caption sits, so the painted Lotus in
     the centre of the root cradle is not washed out by it. */
  background:
    linear-gradient(to top, rgb(16 37 27 / 0.42), transparent 82%),
    linear-gradient(to left, rgb(16 37 27 / 0.34), transparent 46%);
}
.eden-threshold__caption {
  position: absolute;
  z-index: 3;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  color: #fff7e8;
  font-family: var(--hand);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  text-shadow: 0 2px 10px rgb(18 36 25 / 0.8);
}

/* The welcome opens the page as a spacious editorial introduction, with the
   Tree of Life threshold art and the human story following underneath. */
.hero--welcome {
  position: relative;
  min-height: 0;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgb(255 255 255 / 0.7), transparent 46%),
    linear-gradient(180deg, var(--revival-paper), #f6eddc);
}
.hero--welcome .hero-grid {
  display: block;
  width: min(100%, 58rem);
  margin-inline: auto;
}
.hero--welcome .hero-copy { padding: 0; text-align: center; }
.hero--welcome .hero-intro { margin-inline: auto; }
.hero--welcome .hero-refrain,
.hero--welcome .button-row { justify-content: center; }
.hero--welcome .community-whisper { display: inline-flex; margin-top: 1.25rem; }
.hero--welcome::before,
.hero--welcome::after {
  content: "";
  position: absolute;
  width: clamp(11rem, 22vw, 23rem);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.18;
  background: radial-gradient(circle, rgb(184 138 56 / 0.26), transparent 68%);
}
.hero--welcome::before { left: -8rem; bottom: -9rem; }
.hero--welcome::after { top: -9rem; right: -8rem; }

/* Three clear first pathways beneath the welcome invitation, using the same
   warm-card language as the pathways further down the page. */
.hero-pathways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(100%, 54rem);
  margin: clamp(1.6rem, 4vw, 2.3rem) auto 0;
  text-align: left;
}
.hero-pathways a {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgb(105 112 82 / 0.28);
  border-radius: 1rem;
  color: var(--forest);
  background: rgb(255 253 247 / 0.8);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.hero-pathways a:hover,
.hero-pathways a:focus-visible {
  transform: translateY(-3px);
  border-color: rgb(184 148 75 / 0.65);
  box-shadow: 0 14px 30px rgb(35 49 38 / 0.1);
}
.hero-pathways strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.15;
  color: var(--forest);
}
.hero-pathways span { color: var(--umber); font-size: 0.86rem; line-height: 1.4; }
.hero-pathways__primary {
  color: var(--forest-deep);
  background: linear-gradient(145deg, #f6dfa0, var(--gold));
  border-color: transparent;
  box-shadow: 0 14px 30px rgb(35 49 38 / 0.14);
}
.hero-pathways__primary strong { color: var(--forest-deep); }
.hero-pathways__primary span { color: rgb(35 49 38 / 0.72); }

/* The opening now moves from the name and promise into the Tree, the people
   behind it, their shared vision, and finally the four pathways. */
.invitation-section--opening-vision { background: #f4ead8; }
.door-card__points {
  display: grid;
  gap: 0.4rem;
  margin: 0.9rem 0 1rem;
  padding: 0;
  color: var(--umber);
  font-size: 0.87rem;
  line-height: 1.38;
  list-style: none;
}
.door-card__points li {
  position: relative;
  padding-left: 1.15rem;
}
.door-card__points li::before {
  position: absolute;
  top: 0.28rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgb(105 112 82 / 0.6);
  border-radius: 50%;
  background: var(--revival-gold);
  content: "";
}

/* A light invitation near the opening doors; the heavier Spotify player stays
   below the fold so it does not delay the welcome artwork or first choices. */
.hero-soundtrack {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem 1rem;
  align-items: center;
  width: min(100%, 54rem);
  margin: 0.85rem auto 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(105 112 82 / 0.24);
  border-radius: 999px;
  color: var(--forest);
  background: rgb(255 253 247 / 0.58);
  text-align: left;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.hero-soundtrack:hover,
.hero-soundtrack:focus-visible {
  border-color: rgb(184 148 75 / 0.62);
  background: rgb(255 253 247 / 0.9);
  box-shadow: 0 10px 24px rgb(35 49 38 / 0.08);
}
.hero-soundtrack__icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgb(184 148 75 / 0.4);
  border-radius: 50%;
}
.hero-soundtrack__icon img { width: 1.65rem; height: 1.65rem; }
.hero-soundtrack strong,
.hero-soundtrack small { display: block; }
.hero-soundtrack strong { font-family: var(--display); font-size: 1.08rem; line-height: 1.15; }
.hero-soundtrack small { margin-top: 0.1rem; color: var(--umber); font-size: 0.76rem; line-height: 1.3; }
.hero-soundtrack__action { color: var(--olive-ink); font-size: 0.76rem; font-weight: 800; white-space: nowrap; }
.soundtrack-section { scroll-margin-top: 5rem; }

@media (max-width: 47.99rem) {
  .hero-copy__body .hero-soundtrack { order: 4; }
}

@media (max-width: 42rem) {
  .hero-pathways { grid-template-columns: 1fr; text-align: center; }
  .hero-soundtrack { grid-template-columns: auto minmax(0, 1fr); border-radius: 1rem; }
  .hero-soundtrack__action { grid-column: 2; white-space: normal; }
}

/* The Tree of Life threshold: a single calm piece of art between the
   welcome invitation and the human story below, not a full-bleed banner. */
.threshold-section { padding-block: clamp(1.5rem, 4vw, 3rem); }
.threshold-section .hero-portal--welcome { margin-inline: auto; }

.welcome-band { overflow: hidden; }
.welcome-band__tree-divider {
  width: min(100%, 66rem) !important;
  margin: clamp(2rem, 5vw, 3.5rem) auto clamp(-4.5rem, -4vw, -2.7rem) !important;
  filter: none !important;
  opacity: 0.98 !important;
}

/* Human proof: use an authentic photo and quiet hand-drawn framing. */
.founders-welcome {
  position: relative;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--paper-light);
}
.founders-welcome__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.founders-welcome__portrait {
  position: relative;
  width: min(100%, 29rem);
  margin: 0 auto;
}
.founders-welcome__portrait > img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
  border: 0.6rem solid var(--paper-light);
  border-radius: 48% 48% 1.5rem 1.5rem;
  box-shadow: 0 24px 55px rgb(35 49 38 / 0.16);
}
.founders-welcome__copy { max-width: 42rem; }
.founders-welcome__copy h2 { max-width: 15ch; }
.home-pathways {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.75rem;
}
.home-pathways a {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgb(105 112 82 / 0.28);
  border-radius: 0.85rem;
  color: var(--forest);
  background: rgb(255 253 247 / 0.72);
  text-decoration: none;
}
.home-pathways a:hover,
.home-pathways a:focus-visible { border-color: rgb(105 112 82 / 0.56); box-shadow: 0 10px 22px rgb(35 49 38 / 0.08); }
.home-pathways strong { font-family: var(--display); font-size: 1.25rem; }
.home-pathways span { color: var(--umber); font-size: 0.93rem; line-height: 1.42; }
.founders-welcome__divider {
  display: block;
  width: min(98vw, 92rem);
  height: auto;
  margin: clamp(3rem, 7vw, 6rem) auto clamp(-3.2rem, -2vw, -1.5rem);
  opacity: 0.98;
}

.harmony-vision {
  position: relative;
  width: min(100% - clamp(1rem, 4vw, 4rem), 98rem);
  margin: 0 auto clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgb(105 112 82 / 0.3);
  border-radius: clamp(1rem, 2.6vw, 2.25rem);
  background: #3d4d39;
  box-shadow: 0 28px 70px rgb(35 49 38 / 0.17);
}
.harmony-vision--community { margin-bottom: clamp(3rem, 7vw, 6rem); }
.harmony-vision > img {
  display: block;
  width: 100%;
  height: auto;
}
.harmony-vision__lotus {
  position: absolute;
  z-index: 2;
  top: 0.8%;
  left: 50%;
  display: grid;
  width: clamp(6.25rem, 12vw, 10.5rem);
  aspect-ratio: 1;
  place-items: center;
  background: transparent;
  filter: drop-shadow(0 7px 16px rgb(35 49 38 / 0.25));
  transform: translateX(-50%);
}
.harmony-vision__lotus img {
  width: 100%;
  height: 100%;
}
.harmony-vision figcaption {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  max-width: 25rem;
  padding: 0.85rem 1.1rem;
  color: #fff8eb;
  text-align: right;
  border-radius: 0.8rem;
  background: rgb(22 44 31 / 0.68);
  backdrop-filter: blur(5px);
}
.harmony-vision .handwritten { color: #f2cb78; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.harmony-vision figcaption span:last-child { font-size: clamp(0.85rem, 1.5vw, 1rem); }

/* One large portal opens the four pathways. */
.grow-section {
  position: relative;
  padding-top: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 50% 12%, rgb(184 138 56 / 0.09), transparent 28rem),
    var(--paper-light);
}
.grow-heading__portal {
  display: block;
  width: min(78vw, 30rem);
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
}
.grow-heading__portal img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 35px rgb(35 49 38 / 0.13));
}
.grow-heading .handwritten { font-size: clamp(1.7rem, 3.5vw, 2.45rem); }

/* Illustrated cards: generous artwork with a small functional symbol. */
.door-card {
  overflow: hidden;
  padding-top: 0;
  background: linear-gradient(145deg, #fffdf7, #f2e7d2);
}
.door-card__art {
  display: block;
  width: calc(100% + (2 * clamp(1.6rem, 3.4vw, 2.6rem)));
  margin: 0 calc(-1 * clamp(1.6rem, 3.4vw, 2.6rem)) clamp(0.4rem, 1.5vw, 1rem);
  overflow: hidden;
  border-bottom: 1px solid rgb(105 112 82 / 0.18);
  background: #faf3e5;
}
.door-card__art img {
  display: block;
  width: 100%;
  height: clamp(8.5rem, 17vw, 12.5rem);
  object-fit: contain;
  transform: scale(1.08);
}
.door-card__glyph {
  width: 3.7rem;
  height: 3.7rem;
  margin-top: -2.15rem;
  border: 1px solid rgb(184 138 56 / 0.48);
  background: var(--paper-light);
  box-shadow: 0 7px 18px rgb(35 49 38 / 0.11);
}
.door-card__glyph img { width: 2.65rem; height: 2.65rem; }

/* The strong Living Library illustration now opens the Library as a world,
   rather than a small decorative strip. */
.living-library-vision {
  position: relative;
  width: min(calc(100% - clamp(1rem, 4vw, 4rem)), 86rem);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  overflow: hidden;
  border: 1px solid rgb(105 112 82 / 0.3);
  border-radius: clamp(1rem, 2.6vw, 2.25rem) clamp(1rem, 2.6vw, 2.25rem) 0 0;
  background: #e8ca8c;
  box-shadow: 0 28px 70px rgb(35 49 38 / 0.17);
}
.living-library-vision picture,
.living-library-vision picture > img { display: block; width: 100%; }
.living-library-vision picture > img { height: auto; }
.living-library-vision::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(transparent, rgb(25 48 35 / 0.48));
}
.living-library-vision figcaption {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 34rem;
  color: #fff8eb;
  padding: 0.7rem 0.9rem;
  border-radius: 0.7rem;
  background: rgb(18 44 30 / 0.48);
  font-family: var(--body);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  font-weight: 700;
  line-height: 1.42;
  text-align: right;
  text-shadow: 0 2px 9px rgb(20 38 28 / 0.95);
}
.living-library-vision + .library-section { padding-top: clamp(4rem, 7vw, 6rem); }

.chapter-divider--painted {
  width: min(94vw, 72rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}

.portal-emblem {
  width: min(72vw, 27rem);
  max-height: 34rem;
  object-fit: contain;
}

.casa-card { grid-template-columns: minmax(0, 1fr) auto; }
.footer-brand { gap: 1rem; }
.footer-brand img { object-fit: contain; }

/* Clear text links are quieter than repeated arrow or emoji-like glyphs. */
.door-card__cta,
.text-link,
.community-whisper { text-underline-offset: 0.28rem; }
.soundtrack-card__note--botanical { font-size: 0; }
.soundtrack-card__note--botanical img { display: block; width: 2.8rem; height: 2.8rem; }

@media (max-width: 58rem) {
  .eden-threshold picture > img { height: clamp(25rem, 70vw, 36rem); }
  .eden-threshold__caption { right: auto; left: 1.25rem; max-width: 15rem; }
  .founders-welcome__grid { grid-template-columns: 1fr; text-align: center; }
  .founders-welcome__copy { margin-inline: auto; }
  .founders-welcome__copy h2 { margin-inline: auto; }
  .founders-welcome__copy .story-links { justify-content: center; }
}

@media (max-width: 42rem) {
  .site-header .brand-words strong { font-size: 1.18rem; }
  .eden-threshold picture > img {
    height: 27rem;
    object-position: 50% 47%;
  }
    .eden-threshold__caption { right: 1rem; bottom: 0.85rem; left: auto; max-width: 11.5rem; font-size: 1.05rem; text-align: right; }
  .hero--welcome { padding-block: 4rem; }
  .harmony-vision { width: calc(100% - 1rem); border-radius: 1rem; }
  .harmony-vision figcaption {
    position: static;
    max-width: none;
    text-align: center;
    border-radius: 0;
    background: var(--revival-forest);
  }
  .harmony-vision__lotus { top: 2%; width: 5.1rem; }
  .living-library-vision { width: calc(100% - 1rem); border-radius: 1rem 1rem 0 0; }
  .living-library-vision figcaption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: none;
    padding: 0.6rem 0.7rem;
    font-size: 0.88rem;
    text-align: center;
  }
  .welcome-band__tree-divider { margin-bottom: -2rem !important; }
  .founders-welcome__divider { margin-bottom: -1.5rem; }
  .casa-card { grid-template-columns: 1fr; }
  .grow-heading__portal { width: min(84vw, 24rem); }
  .door-card__art img { height: 9.5rem; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .eden-threshold.reveal { animation: none; }
}

/* ---------- The Living Library gate ----------
   The same illustration now opens the whole page rather than the Library
   chapter, so it becomes a self-contained plate: rounded on every corner, no
   blend-into-the-next-section gradient, and real space beneath it so it and
   the Benjy-and-Sofia threshold read as two chapters rather than one pile. */
.living-library-vision--gate {
  margin-top: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border-radius: clamp(1rem, 2.6vw, 2.25rem);
}
.living-library-vision--gate::after {
  height: 34%;
  background: linear-gradient(transparent, rgb(25 48 35 / 0.34));
}
@media (max-width: 42rem) {
  .living-library-vision--gate {
    width: calc(100% - 1rem);
    border-radius: 1rem;
    margin-bottom: 1.75rem;
  }
  /* Keep the opening promise readable on the first mobile threshold. */
  .living-library-vision--gate::after { height: 24%; }
}

/* The future vision is a wide landscape, not a tall video or a second portal. */
.invitation-film--vision { overflow: hidden; border-radius: 1.35rem; background: #8d7042; box-shadow: var(--shadow); }
.invitation-film--vision picture,
.invitation-film--vision img { display: block; width: 100%; }
.invitation-film--vision img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.invitation-film--vision figcaption { display: grid; gap: .3rem; margin: 0; padding: 0.8rem 1rem; color: var(--paper-light); background: var(--forest); font-size: 0.82rem; line-height: 1.45; }
.invitation-film--vision figcaption strong { color: var(--revival-gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* The opening future vision is 4:3 by design. Keeping the whole painting
   visible protects its community circle, seedling, tree and rooted Lotus. */
.living-library-vision--gate picture > img { aspect-ratio: 4 / 3; object-fit: contain; background: #e7d1a0; }

.library-section { position: relative; overflow: hidden; }
.library-section::before,
.library-section::after { content: ""; position: absolute; z-index: 0; width: clamp(8rem, 15vw, 14rem); aspect-ratio: 1; pointer-events: none; opacity: .15; background: center / contain no-repeat; }
.library-section::before { top: 2rem; left: -3.5rem; background-image: url("assets/corners/botanical-corner-01.webp"); }
.library-section::after { right: -3.5rem; bottom: 2rem; background-image: url("assets/corners/botanical-corner-06.webp"); transform: rotate(180deg); }
.library-section > .container { position: relative; z-index: 1; }
.library-doorway { position: relative; width: min(100%, 62rem); margin: clamp(2rem, 5vw, 4rem) auto; overflow: hidden; border: 1px solid rgb(105 112 82 / .28); border-radius: 1.35rem; background: var(--paper-light); box-shadow: var(--shadow); }
.library-doorway picture, .library-doorway img { display: block; width: 100%; }
.library-doorway figcaption { padding: .8rem 1rem 1rem; color: var(--umber); font-size: .9rem; text-align: center; }

.begin-exploring { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; max-width: 66rem; margin: clamp(2.5rem, 6vw, 5rem) auto 0; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgb(105 112 82 / .28); border-radius: 1.2rem; background: rgb(255 253 247 / .78); box-shadow: 0 12px 30px rgb(35 49 38 / .06); }
.begin-exploring h3 { margin: .3rem 0 .65rem; }
.begin-exploring p { max-width: 47rem; }
.begin-exploring .button-row { justify-content: flex-start; }

@media (max-width: 42rem) {
  .library-section::before, .library-section::after { width: 8rem; opacity: .1; }
  .begin-exploring { grid-template-columns: 1fr; }
}


/* Trusted Living Library gateways, 2026-09-26 */
.library-gateways {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-top: 1.25rem;
}
.library-gateways > span {
  width: 100%;
  color: var(--terracotta, #875840);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.library-gateways a {
  padding: .55rem .78rem;
  border: 1px solid rgb(105 112 82 / .28);
  border-radius: 999px;
  color: var(--forest, #294b36);
  background: rgb(255 253 247 / .78);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.library-gateways a:hover,
.library-gateways a:focus-visible {
  border-color: rgb(184 148 75 / .7);
  background: #fffdf7;
}
