/* =========================================================================
   Tikkun Sanctuary — HOME page only (sanctuary/index.html).
   Tokens only, never raw colours: site.css is being re-skinned centrally
   (forest = navy, sage = gold), and token-based rules follow automatically.
   ========================================================================= */

/* ---------- hero ---------- */
.home-hero { min-height: min(94svh, 900px); }
.home-hero .hero__title { max-width: 18ch; }
.home-hero .hero__eyebrow { margin-bottom: 1.35rem; }
.home-hero__aside {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--cream) 86%, transparent);
  max-width: 54ch;
}
.home-hero__aside a {
  color: var(--sage);
  font-weight: 500;
  white-space: nowrap;
}
.home-hero__aside a:hover { color: var(--white); }
@media (max-width: 480px) {
  .home-hero .btn-row .btn { width: 100%; justify-content: center; text-align: center; }
  .home-hero__aside a { white-space: normal; }
}

/* ---------- section intros ---------- */
.home-intro { max-width: var(--maxw-text); margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.home-intro--row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem 2.5rem;
}
.home-intro--row > div { max-width: var(--maxw-text); }
.home-intro--row .link-more { margin-bottom: 0.4rem; }

/* ---------- two ways to step away: two equal, image-led panels ---------- */
.ways {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .ways { grid-template-columns: 1fr 1fr; } }

.way {
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
.way:hover { text-decoration: none; }
.way__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
}
@media (min-width: 820px) { .way__media { aspect-ratio: 5 / 4; } }
.way__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.way:hover .way__media img { transform: scale(1.03); }
.way__body {
  padding: clamp(1.4rem, 2.5vw, 2rem) 0 0;
  display: flex; flex-direction: column; gap: 0.7rem;
  border-top: 1px solid var(--line);
  margin-top: clamp(1.25rem, 2vw, 1.6rem);
}
.way__kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--clay-ink);
}
.way__title { font-size: var(--fs-h3); margin: 0; }
.way__text { color: var(--ink-soft); margin: 0; max-width: 46ch; }
.way .link-more { margin-top: 0.4rem; align-self: flex-start; }
.way:focus-visible { outline-offset: 8px; }

/* ---------- the place ---------- */
.home-place .split__media { background: var(--forest); }
.place-list {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem 0.6rem;
  max-width: 44ch;
}
.place-list li {
  margin: 0;
  font-size: 0.875rem; letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
}
.place-strip {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(0.65rem, 1.4vw, 1rem);
  grid-template-columns: 1fr;
}
.place-strip figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--forest);
}
.place-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) {
  .place-strip { grid-template-columns: 5fr 4fr 3fr; }
  .place-strip figure { aspect-ratio: auto; height: clamp(200px, 22vw, 300px); }
}

/* ---------- a breath: the Maloka from above, no text ---------- */
.home-breath { height: clamp(240px, 32vw, 460px); }
/* bottom-weighted so the crop drops the service track and tarp along the top edge */
.home-breath img { object-position: 50% 92%; }

/* ---------- the closing line ---------- */
.home-pull {
  max-width: 26ch; margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

/* ---------- quiet cross-link to Ha'Nefesh ---------- */
.home-crosslink {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-crosslink > div { max-width: 60ch; }
.home-crosslink__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.home-crosslink p { color: var(--ink-soft); margin: 0; }
