/* Additive overrides, loaded after css/bundle.min.css on every page. */

/* ---- Section labels (pills): larger, consistent, static ---- */
.eyebrow--pill,
.eyebrow--pill-dark,
.immersive .eyebrow--pill-dark,
.page-hero .eyebrow--pill {
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6em 1.3em;
}
.arrival .eyebrow,
.page-hero .eyebrow:not(.eyebrow--pill) {
  display: inline-block;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--rooted-green);
  color: #FDF8EF;
  border: 1px solid var(--rooted-green);
  padding: 0.6em 1.3em;
  border-radius: var(--radius-full);
}

/* anchor offsets for sticky header */
section[id], div[id].container-card, article[id] { scroll-margin-top: 5rem; }

/* ---- Buttons / shared closing invitation ---- */
.btn--green {
  background: var(--moss-leaf);
  border-color: #CFE0C4;
  color: #FDF8EF;
}
.btn--green:hover, .btn--green:focus-visible { background: var(--rooted-green); border-color: #FDF8EF; color: #FDF8EF; }
.closing-invite__actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-3) var(--space-5); margin-top: var(--space-5);
}
.closing-link {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 2.75rem;
  color: #FDF8EF; font-weight: 700; font-size: 1rem; text-decoration: none;
  border-bottom: 1.5px solid rgba(253, 248, 239, 0.55);
}
.closing-link:hover, .closing-link:focus-visible { border-bottom-color: #FDF8EF; color: #FFFFFF; }
.closing-invite p { margin-inline: auto; }

/* ---- Homepage ---- */
.gatherings-strip { position: relative; }
.gatherings-strip__pause {
  position: absolute; right: var(--space-3); top: var(--space-3); z-index: 2;
  min-height: 2.75rem; padding: 0.5em 1.1em; border-radius: var(--radius-full);
  background: rgba(253, 248, 239, 0.94); color: var(--deep-umber);
  border: 1.5px solid var(--rooted-green); font: 700 0.875rem var(--font-body); cursor: pointer;
}
.gatherings-strip__pause:focus-visible { outline: 3px solid var(--rooted-green); outline-offset: 2px; }
.gatherings-marquee.is-paused .gatherings-marquee__track { animation-play-state: paused; }
.gatherings-marquee__set { display: contents; }
@media (prefers-reduced-motion: reduce) {
  .gatherings-marquee { overflow-x: auto; }
  .gatherings-marquee__track { animation: none; }
  .gatherings-marquee__set[aria-hidden="true"] { display: none; }
  .gatherings-strip__pause { display: none; }
}

/* ---- Reading pages (full vision) ---- */
.reading-col { max-width: 42rem; margin-inline: auto; }
.reading-col p { font-size: var(--text-md); line-height: 1.75; margin-top: 1.1em; }
.reading-col h1 + p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.45; margin-top: 0; }

/* ---- The Path ---- */
.path-welcome p { font-size: var(--text-md); margin-top: 1em; }
.section-nav__list { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
.section-nav a { flex: 1 1 10rem; min-width: 9rem; }

.spiral-item { display: flex; flex-direction: column; }
.spiral-item__practice { margin-top: var(--space-3); align-self: flex-start; }

.heart-lede { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; color: var(--ink); }
.heart-question {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-xl);
  line-height: 1.35; color: var(--accent-deep); margin-top: var(--space-5);
  padding-left: var(--space-4); border-left: 3px solid var(--amber-ochre);
}
.heart-body p { margin-top: 1.1em; font-size: var(--text-md); line-height: 1.75; }
/* Ordinary explanatory paragraphs use the body font, as in the sections around it;
   the lede and the closing question keep the serif. */
.heart-body p:not(.heart-lede, .heart-question) { font-family: var(--font-body); }

.mystery { background: var(--bg-canvas); }
.mystery__media { margin: var(--space-5) 0 var(--space-6); border-radius: var(--radius-lg); overflow: hidden; }
.mystery__media img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; display: block; }
.mystery__copy { max-width: 46rem; }
.mystery__copy p { margin-top: 1.1em; font-size: var(--text-md); line-height: 1.75; }
.mystery__close {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-xl);
  line-height: 1.35; color: var(--accent-deep); margin-top: var(--space-5) !important;
  padding-left: var(--space-4); border-left: 3px solid var(--amber-ochre);
}
.cosmology-sub { margin-top: var(--space-8, 6rem); padding-top: var(--space-7); border-top: 1px solid var(--line); }
.cosmology-sub h3 { font-size: var(--text-2xl); margin-top: var(--space-3); }
.cosmology-sub__intro { max-width: 46rem; margin-top: 1em; font-size: var(--text-md); line-height: 1.7; }

.values-intro { max-width: 44rem; margin-inline: auto; text-align: left; }
.values-intro p { margin-top: 1em; font-size: var(--text-md); }
.values-list { max-width: 46rem; }
.values-list__item .name { text-transform: none; }
.values-list__q { display: block; font-family: var(--font-display); font-style: italic; font-size: var(--text-md); color: var(--accent-deep); margin-bottom: 0.7em; }
.values-list__def { font-weight: 700; }
.values-list__body p { margin-top: 0.7em; font-size: var(--text-base); line-height: 1.7; }
.values-list__item summary .q { display: none; }
.values-list__item summary { flex-wrap: nowrap; }

.embodiment-intro { max-width: 46rem; }
.embodiment-intro p { margin-top: 1.1em; font-size: var(--text-md); line-height: 1.75; }
.embodiment-intro .lede { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; }
.embodiment-blocks { display: grid; gap: var(--space-6); margin-top: var(--space-7); }
.embodiment-block { display: grid; gap: var(--space-4); align-items: center; }
.embodiment-block__media { border-radius: var(--radius-lg); overflow: hidden; }
.embodiment-block__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.embodiment-block h3 { font-size: var(--text-2xl); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; color: var(--accent-deep); }
.embodiment-block p { margin-top: 0.7em; font-size: var(--text-md); line-height: 1.7; }
@media (min-width: 860px) {
  .embodiment-block { grid-template-columns: 1.15fr 1fr; gap: var(--space-6); }
  .embodiment-block:nth-child(even) .embodiment-block__media { order: 2; }
}
.embodiment-note { max-width: 46rem; margin-top: var(--space-6); font-size: var(--text-md); line-height: 1.7; }
.embodiment-final {
  max-width: 44rem; margin: var(--space-8, 5rem) auto 0; text-align: center;
  font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.35; color: var(--ink);
  padding: var(--space-6) var(--space-4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ---- Walk With Us ---- */
.wwu-intro { max-width: 46rem; }
.wwu-intro p { font-size: var(--text-md); line-height: 1.75; margin-top: 1em; }
.wwu-pause { margin: 0; }
.wwu-pause img { display: block; width: 100%; height: clamp(14rem, 38vw, 30rem); object-fit: cover; }

.door-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; margin-top: var(--space-6); }
@media (min-width: 760px) { .door-grid { grid-template-columns: 1fr 1fr; } }
.door-card { background: var(--bg-canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.door-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.door-card__body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: 0.6em; flex: 1; }
.door-card h3 { font-size: var(--text-xl); }
.door-card p { font-size: var(--text-base); line-height: 1.65; }
.door-card .btn { margin-top: auto; align-self: flex-start; }

.join-list { display: grid; gap: var(--space-7); margin-top: var(--space-6); }
.join-item { display: grid; gap: var(--space-4); align-items: start; scroll-margin-top: 5rem; }
.join-item__media { border-radius: var(--radius-lg); overflow: hidden; }
.join-item__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.join-item h3 { font-size: var(--text-xl); margin-top: 0.4em; }
.join-item__meta { margin-top: 0.4em; font-size: var(--text-sm); font-weight: 700; color: var(--accent); letter-spacing: 0.03em; }
.join-item p { margin-top: 0.9em; font-size: var(--text-base); line-height: 1.7; }
.join-item .btn { margin-top: var(--space-4); }
@media (min-width: 860px) {
  .join-item { grid-template-columns: 5fr 7fr; gap: var(--space-6); }
  .join-item:nth-child(even) .join-item__media { order: 2; }
  .join-item:nth-child(even) { grid-template-columns: 7fr 5fr; }
}

.deepen-group { margin-top: var(--space-6); }
.deepen-group__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.deepen-group__note { margin-top: 0.4em; max-width: 44rem; font-size: var(--text-base); }
.deepen-grid { display: grid; gap: var(--space-4); margin-top: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 860px) { .deepen-grid--3 { grid-template-columns: repeat(3, 1fr); } .deepen-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.deepen-card { background: var(--bg-canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.deepen-card h4 { font-size: var(--text-lg); }
.deepen-card__word { display: block; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: 0.2em; }
.deepen-card__q { font-family: var(--font-display); font-style: italic; color: var(--accent-deep); margin-top: 0.9em; font-size: var(--text-md); }
.deepen-card p { margin-top: 0.8em; font-size: var(--text-base); line-height: 1.65; }
.deepen-card .deepen-card__invite { font-weight: 700; }
.deepen-group--roles { padding-top: var(--space-6); margin-top: var(--space-7); border-top: 2px dotted var(--line); }
.deepen-group--roles .deepen-card { background: var(--sage-wash); border-color: var(--moss-panel); }
.deepen-close { max-width: 44rem; margin: var(--space-6) auto 0; text-align: center; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; }

.truth-grid { display: grid; gap: var(--space-5) var(--space-6); margin-top: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 860px) { .truth-grid { grid-template-columns: 1fr 1fr; } }
.truth-item { border-left: 3px solid var(--amber-ochre); padding-left: var(--space-4); }
.truth-item h3 { font-size: var(--text-lg); }
.truth-item p { margin-top: 0.5em; font-size: var(--text-base); line-height: 1.65; }
.truth-close { max-width: 46rem; margin: var(--space-7) auto 0; text-align: center; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.45; }

.faq-list .faq-a { font-size: var(--text-base); line-height: 1.7; }

/* marquee: spacing via margin so the -50% loop is seamless across two sets */
.gatherings-marquee__track { gap: 0; }
.gatherings-marquee__track img { margin-right: var(--space-4); }

/* Heart of the Path: upright text (passage-text defaults to italic) */
.heart-body, .heart-body h2, .heart-body p { font-style: normal; }
.heart-body .heart-question, .heart-body .heart-question em { font-style: italic; }

/* long Walk With Us headlines: keep readable on small screens */
.wwu-intro h2 { font-size: var(--text-2xl); }
.deepen-group--roles .deepen-card__word, .deepen-group--roles .deepen-card__q { color: var(--deep-umber); }
.gatherings-marquee:focus-visible { outline: 3px solid var(--rooted-green); outline-offset: -3px; }

/* ---- Home: What Rooted Expansion is (colorful, scannable) ---- */
.what-we-are { position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 28rem at 8% 0%, rgba(120, 136, 115, 0.22), transparent 70%),
    radial-gradient(50rem 26rem at 100% 38%, rgba(172, 136, 78, 0.20), transparent 70%),
    radial-gradient(44rem 24rem at 0% 100%, rgba(167, 101, 75, 0.14), transparent 70%),
    var(--bg-canvas); }
.what-we-are .section-head h1 { font-size: var(--text-2xl); }
.wwa-lede { max-width: 54rem; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; color: var(--ink); margin-top: var(--space-4); }
.wwa-lede mark { background: linear-gradient(transparent 60%, rgba(172, 136, 78, 0.45) 60%); color: inherit; padding: 0 0.1em; }
.wwa-tiles { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-top: var(--space-6); }
@media (min-width: 860px) { .wwa-tiles { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.wwa-tile { border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.wwa-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.wwa-tile__body { padding: var(--space-4) var(--space-5) var(--space-5); flex: 1; }
.wwa-tile h2 { font-size: var(--text-xl); line-height: 1.2; }
.wwa-tile p { margin-top: 0.6em; font-size: var(--text-md); line-height: 1.55; }
.wwa-tile--moss { background: var(--rooted-green); } .wwa-tile--moss h2, .wwa-tile--moss p { color: #FDF8EF; }
.wwa-tile--clay { background: var(--terracotta-deep); } .wwa-tile--clay h2, .wwa-tile--clay p { color: #FDF8EF; }
.wwa-tile--amber { background: #D9B97A; } .wwa-tile--amber h2, .wwa-tile--amber p { color: var(--deep-umber); }
.wwa-text { max-width: 46rem; margin-top: var(--space-6); padding-left: var(--space-4); border-left: 3px solid var(--moss-leaf); }
.wwa-text p { font-size: var(--text-md); line-height: 1.7; }
.wwa-text p + p { margin-top: 0.9em; }
.wwa-qa { margin-top: var(--space-6); display: grid; gap: var(--space-3); max-width: 54rem; }
.wwa-qa__item { border-radius: var(--radius-md); border: 1.5px solid var(--line); background: rgba(253, 248, 239, 0.8); border-left-width: 6px; }
.wwa-qa__item--moss { border-left-color: var(--rooted-green); }
.wwa-qa__item--clay { border-left-color: var(--terracotta-deep); }
.wwa-qa__item--amber { border-left-color: var(--amber-ochre); }
.wwa-qa__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); min-height: 3.25rem; font-family: var(--font-display); font-size: var(--text-lg); color: var(--ink); }
.wwa-qa__item summary::-webkit-details-marker { display: none; }
.wwa-qa__item summary:focus-visible { outline: 3px solid var(--rooted-green); outline-offset: 2px; }
.wwa-qa__item[open] summary .plus { transform: rotate(45deg); }
.wwa-qa__a { padding: 0 var(--space-4) var(--space-4); font-size: var(--text-base); line-height: 1.7; }
.wwa-qa__a p + p { margin-top: 0.7em; }
.wwa-qa__a a { color: var(--accent-deep); text-decoration: underline; }

/* ---- About, Walk With Us and shared closing refinements ----------------- */
/* Section labels: more presence sitewide */
.eyebrow--pill,
.eyebrow--pill-dark,
.immersive .eyebrow--pill-dark,
.page-hero .eyebrow--pill,
.arrival .eyebrow,
.page-hero .eyebrow:not(.eyebrow--pill) {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 0.65em 1.5em;
}
/* Home: "What Rooted Expansion is" label in the green of the primary button family */
.what-we-are .eyebrow--pill {
  background: var(--rooted-green);
  border-color: var(--rooted-green);
  color: #FDF8EF;
}
/* Home orientation: smaller heading, wide horizontal reading */
.what-we-are .section-head h1 { font-size: var(--text-xl); }
.what-we-are .wwa-lede,
.what-we-are .wwa-text,
.what-we-are .wwa-qa { max-width: none; }
.what-we-are .wwa-lede { font-size: var(--text-xl); }
.what-we-are .wwa-qa__a,
.what-we-are .wwa-qa__a p,
.what-we-are .wwa-qa__a a { font-size: var(--text-base); line-height: 1.7; }

/* ---- About page (v09.28) ---- */
.about-col { max-width: 44rem; margin-inline: auto; }
.about-col--center { text-align: left; }
.about-col p + p { margin-top: 1.1em; }
.about-col h2 { margin-bottom: var(--space-4); }
.about-intro { padding-block: var(--space-8); background: var(--bg-canvas); }
.about-intro p { font-size: var(--text-md); line-height: 1.75; }
.about-story { padding-block: var(--space-8); }
.about-story__first { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; margin-bottom: var(--space-5) !important; }
.about-story__question { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); line-height: 1.35; margin-block: var(--space-5) !important; color: var(--rooted-green); }
.about-story__fern { max-width: 56rem; margin: var(--space-8) auto 0; padding-inline: var(--space-4); }
.about-story__fern img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-lg); display: block; }
.steward-pair { display: grid; gap: var(--space-7); grid-template-columns: 1fr; margin-top: var(--space-7); }
@media (min-width: 820px) { .steward-pair { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; } }
.steward-pair__item h3 { margin-top: var(--space-4); font-size: var(--text-2xl); }
.steward-pair__item p { margin-top: var(--space-3); line-height: 1.7; }
.bio-page { padding-block: var(--space-7); }
.bio-page h1 { font-size: var(--text-2xl); margin-block: var(--space-4); }
.bio-page h2 { font-size: var(--text-xl); margin-top: var(--space-6); }
.bio-page__note { color: var(--ink-soft); margin-block: var(--space-4); }
.bio-page__portrait { margin: var(--space-5) 0; max-width: 22rem; }
.bio-page__portrait img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.bio-page p + p { margin-top: 1em; }
section[id] { scroll-margin-top: 6.5rem; }

/* v09.30 — centered alignment, larger roots image, mystery band */
.join-item { align-items: center; }
.editorial-split, .steward-pair { align-items: center; }
@media (min-width: 860px) { .editorial-split:has(> .split-media) { align-items: center; } }
#tree-of-life { align-items: stretch; }
#tree-of-life .join-item__media { align-self: stretch; display: flex; }
#tree-of-life .join-item__media img { aspect-ratio: auto; height: 100%; min-height: 24rem; flex: 1; }
@media (min-width: 820px) { #tree-of-life, #tree-of-life:nth-child(even) { grid-template-columns: 5fr 7fr; } #tree-of-life .join-item__media img { min-height: 34rem; } }
.mystery { padding-top: var(--space-7); }
.mystery .wrap { display: flex; flex-direction: column; align-items: center; }
.mystery__copy { margin-inline: auto; text-align: center; }
.mystery .cosmology-sub { width: 100%; }

/* v09.31 — shared axis for text + image */
#grounded-vessel { align-items: stretch; }
#grounded-vessel .join-item__media { align-self: stretch; display: flex; }
#grounded-vessel .join-item__media img { aspect-ratio: auto; height: 100%; min-height: 20rem; flex: 1; object-position: 50% 50%; }
.sustains { text-align: center; }
.sustains > * { margin-inline: auto; }
.sustains__list { list-style: none; padding: 0; max-width: 40rem; }
.sustains__list li { text-wrap: balance; }
.sustains + * , #sustains { padding-bottom: var(--space-5); }
.sustains-interlude { padding-top: 0; }
.sustains-interlude__cap { margin: var(--space-4) auto 0; max-width: 36rem; font-family: var(--font-display); font-style: italic; font-size: var(--text-md); line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }
/* About story: text and image share one column */
.about-col p { text-wrap: pretty; }
.about-story__fern { max-width: 44rem; margin: var(--space-6) auto 0; padding-inline: 0; }
.about-story__fern img { aspect-ratio: 3 / 2; object-position: 50% 100%; }
.about-story { padding-block: var(--space-7); }

/* v09.33: strip now holds 13 photos; keep the same on-screen speed (42s for 8) */
.gatherings-marquee__track { animation-duration: 68s; }

/* Walk With Us + About refinements */
.steward-pair { align-items: start; }
#people .about-col p { font-size: var(--text-md); line-height: 1.75; }
@media (min-width: 860px) {
  .deepen-grid--3 { position: relative; padding-top: 1.4rem; }
  .deepen-grid--3::before { content: ""; position: absolute; top: 0.35rem; left: 8%; right: 8%; height: 0; border-top: 2px dotted var(--amber-ochre); opacity: 0.7; }
  .deepen-grid--3 .deepen-card { position: relative; }
  .deepen-grid--3 .deepen-card::before { content: ""; position: absolute; top: -1.4rem; left: 50%; width: 0.7rem; height: 0.7rem; margin-left: -0.35rem; border-radius: 50%; background: var(--amber-ochre); }
  .deepen-grid--3 .deepen-card:nth-child(2)::before { width: 0.9rem; height: 0.9rem; margin-left: -0.45rem; top: -1.5rem; }
  .deepen-grid--3 .deepen-card:nth-child(3)::before { width: 1.1rem; height: 1.1rem; margin-left: -0.55rem; top: -1.6rem; }
}
