:root {
  --bone: #f7f8f6;
  --bone-2: #ecefeb;
  --bone-3: #e1e6e1;
  --deep: #114635;
  --deep-2: #0a2c21;
  --deep-3: #06180f;
  --ink: #0a0c0b;
  --sage: #7fa593;
  --sage-lt: #b7cdc1;
  --gold: #a8862c;
  --gold-lt: #d8bc6a;
  --rule: #d4dad5;
  --sans:
    "Avenir Next", "Avenir", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: var(--deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.018em;
  margin: 0;
}

img,
svg {
  display: block;
}

/* ── header: no section menu, by design ── */
header {
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .glyph {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.brand b {
  font-size: 18.5px;
  color: var(--deep);
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.1;
}

.brand span {
  display: block;
  font-size: 11.5px;
  color: #6c7872;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.hact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hact a.tel {
  text-decoration: none;
  font-weight: 700;
  color: var(--deep);
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
  .brand b {
    font-size: 17px;
  }

  .hact {
    gap: 12px;
  }
}

/* global overflow safety */
p,
li,
h1,
h2,
h3,
h4,
span,
a,
blockquote,
td {
  overflow-wrap: break-word;
  word-break: normal;
}

svg,
img {
  max-width: 100%;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}

.btn.p {
  background: var(--deep);
  color: #fff;
}

.btn.p:hover {
  background: var(--deep-2);
}

.btn.s {
  background: transparent;
  color: var(--deep);
  border: 1.5px solid var(--deep);
}

.btn.s:hover {
  background: var(--bone-2);
}

.btn.g {
  background: var(--gold);
  color: #1a1405;
}

.btn.g:hover {
  background: #c09b33;
}

.btn.sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ── hero ── */
.hero {
  background: var(--deep);
  color: #e7efea;
  padding: 74px 0 78px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(168, 134, 44, 0.28);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -20px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 940px) {
  .heroGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

.kicker {
  font-size: 12.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.13;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-lt);
}

.hero p.sub {
  font-size: 18.5px;
  line-height: 1.58;
  color: #b9d0c4;
  margin: 0 0 28px;
  max-width: 35em;
}

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.heroMeta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.heroMeta div {
  font-size: 14px;
  color: #9fbbac;
  line-height: 1.5;
}

.heroMeta b {
  display: block;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
}

/* opon hero art */
.trayWrap {
  display: flex;
  justify-content: center;
}

.tray {
  position: relative;
  width: min(400px, 88vw);
  aspect-ratio: 1;
}

/* ── generic sections ── */
section {
  padding: 74px 0;
  border-bottom: 1px solid var(--rule);
}

.lead {
  max-width: 60ch;
  margin-bottom: 38px;
}

.lead .kicker {
  color: var(--gold);
}

.lead h2 {
  font-size: clamp(26px, 3.5vw, 37px);
  color: var(--deep);
  line-height: 1.16;
  margin-bottom: 13px;
  font-weight: 700;
}

.lead p {
  margin: 0;
  color: #4a554e;
  font-size: 17.2px;
}

.tint {
  background: var(--bone-2);
}

.dark {
  background: var(--deep);
  color: #dce7e1;
  border-bottom: none;
}

.dark .lead h2 {
  color: #fff;
}

.dark .lead p {
  color: #a9c4b7;
}

.dark .lead .kicker {
  color: var(--gold-lt);
}

/* ── story ── */
.story {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.odubox {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 26px 24px 24px;
  text-align: center;
  position: sticky;
  top: 96px;
}

@media (max-width: 900px) {
  .odubox {
    position: static;
  }
}

.odubox svg {
  margin: 0 auto 16px;
}

.odubox b {
  display: block;
  font-size: 19px;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.odubox span {
  display: block;
  font-size: 13.6px;
  color: #6c7872;
  line-height: 1.55;
  margin-top: 8px;
}

.odubox .rule {
  height: 1px;
  background: var(--rule);
  margin: 18px 0;
}

.odubox .fact {
  font-size: 14px;
  color: #37423c;
  line-height: 1.55;
  text-align: left;
}

.odubox .fact b {
  font-size: 14px;
  color: var(--deep);
  display: inline;
}

.storyText p {
  margin: 0 0 19px;
  color: #2e3833;
  font-size: 17px;
}

.storyText p.first::first-letter {
  float: left;
  font-size: 62px;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  color: var(--deep);
  font-weight: 700;
}

.storyText .pull {
  clear: both;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-size: 21px;
  line-height: 1.45;
  color: var(--deep);
  font-weight: 600;
}

.storyText .sig {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: #5c6862;
}

.storyText .sig b {
  color: var(--deep);
  font-size: 16.5px;
  display: block;
}

/* ── how it starts: three-step flow ── */
.flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 0;
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow .arr {
    display: none;
  }
}

.fcard {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.fcard .ic {
  margin-bottom: 16px;
}

.fcard h3 {
  font-size: 19px;
  color: var(--deep);
  margin-bottom: 9px;
}

.fcard p {
  margin: 0;
  font-size: 15.4px;
  color: #4a554e;
  line-height: 1.6;
}

.arr {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}

.routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.routes div {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 19px 20px;
}

.routes b {
  display: block;
  color: var(--deep);
  font-size: 15.6px;
  margin-bottom: 6px;
}

.routes span {
  font-size: 14.4px;
  color: #4a554e;
  line-height: 1.56;
}

.routes .who {
  display: block;
  margin-top: 9px;
  font-size: 12.6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ── the two paths rail ── */
.rail {
  position: relative;
  margin-top: 10px;
}

.rail .line {
  position: absolute;
  left: 26px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--sage-lt);
}

.step {
  position: relative;
  padding-left: 74px;
  padding-bottom: 30px;
}

.step:last-child {
  padding-bottom: 0;
}

.step .node {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .step .node {
  background: var(--deep);
  border-color: var(--gold-lt);
}

.dark .rail .line {
  background: rgba(216, 188, 106, 0.4);
}

.step .n {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  padding-top: 5px;
}

.step h4 {
  font-size: 18.5px;
  color: var(--deep);
  margin: 5px 0 7px;
  line-height: 1.28;
}

.dark .step h4 {
  color: #fff;
}

.step p {
  margin: 0;
  font-size: 15.4px;
  color: #4a554e;
  line-height: 1.6;
  max-width: 52ch;
}

.dark .step p {
  color: #a9c4b7;
}

.step .tag {
  display: inline-block;
  margin-top: 9px;
  font-size: 12.4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 3px 9px;
  border-radius: 2px;
}

.dark .step .tag {
  color: var(--gold-lt);
  border-color: rgba(216, 188, 106, 0.55);
}

.twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .twin {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

.twinhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

.twinhead h3 {
  font-size: 22px;
  color: var(--deep);
}

.dark .twinhead h3 {
  color: #fff;
}

.twinhead span {
  font-size: 13.4px;
  color: #6c7872;
}

.dark .twinhead span {
  color: #9fbbac;
}

/* ── membership ── */
.memWhy {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 46px;
}

@media (max-width: 900px) {
  .memWhy {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.memWhy p {
  margin: 0 0 16px;
  color: #333d37;
  font-size: 17px;
}

.cadence {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 26px;
}

.cadence h4 {
  font-size: 16.5px;
  color: var(--deep);
  margin-bottom: 16px;
}

.cadence ol {
  margin: 0;
  padding-left: 20px;
}

.cadence li {
  font-size: 15px;
  color: #4a554e;
  line-height: 1.55;
  margin-bottom: 10px;
}

.cadence li b {
  color: var(--deep);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}

.tier {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tier.feature {
  border: 2px solid var(--deep);
  box-shadow: 0 10px 34px rgba(17, 70, 53, 0.09);
}

.tier .top {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.tier.feature .top {
  background: var(--deep);
  border-bottom: none;
}

.tier .top svg {
  margin: 0 auto 14px;
}

.tier h3 {
  font-size: 21px;
  color: var(--deep);
}

.tier.feature h3 {
  color: #fff;
}

.tier .who {
  font-size: 13.8px;
  color: #6c7872;
  margin-top: 7px;
  line-height: 1.5;
}

.tier.feature .who {
  color: #a9c4b7;
}

.tier .badge {
  display: inline-block;
  background: var(--gold);
  color: #1a1405;
  font-size: 11.4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.tier ul {
  list-style: none;
  margin: 0;
  padding: 22px 24px;
  flex: 1;
}

.tier li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #3a453f;
  line-height: 1.55;
}

.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.tier.feature li::before {
  background: var(--gold);
}

.tier .foot {
  padding: 0 24px 24px;
}

.tier .foot a {
  width: 100%;
  text-align: center;
}

.memNote {
  margin-top: 24px;
  font-size: 14.6px;
  color: #5c6862;
  line-height: 1.6;
  max-width: 80ch;
}

/* ── house / associates ── */
.house {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.house div {
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 24px 22px;
}

.house svg {
  margin-bottom: 14px;
}

.house b {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
}

.house span {
  font-size: 14.8px;
  color: #a9c4b7;
  line-height: 1.6;
}

/* ── testimony ── */
.tst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}

.tst figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--sage);
  border-radius: 12px;
  padding: 24px;
}

.tst blockquote {
  margin: 0 0 13px;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3630;
}

.tst figcaption {
  font-size: 13.3px;
  color: #6c7872;
}

.sample {
  background: #fbf3d5;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: #6b5518;
  padding: 13px 17px;
  margin-bottom: 24px;
  font-size: 14.2px;
  line-height: 1.56;
}

/* ── contact ── */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 30px;
  margin-bottom: 34px;
}

.cgrid b {
  display: block;
  font-size: 12.6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 9px;
  font-weight: 700;
}

.cgrid span,
.cgrid a {
  display: block;
  color: #eaf1ed;
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}

.cgrid a.big {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cgrid a:hover {
  color: #fff;
  text-decoration: underline;
}

.cgrid em {
  display: block;
  font-style: normal;
  font-size: 13.8px;
  color: #8fb4a2;
  margin-top: 7px;
  line-height: 1.5;
}

footer {
  background: var(--deep-3);
  color: #7e9288;
  padding: 36px 0 46px;
  font-size: 13.2px;
  line-height: 1.68;
}

footer p {
  margin: 0 0 12px;
  max-width: 94ch;
}

/* ══════════════════════════════════════════════
   Added: scroll-reveal, hover polish, header state,
   back-to-top, and a slow decorative tray rotation.
   All motion is skipped by the existing
   prefers-reduced-motion rule at the top of this file.
   ══════════════════════════════════════════════ */

/* header gains a soft shadow once the page has scrolled */
header {
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

header.is-scrolled {
  box-shadow: 0 6px 18px rgba(10, 20, 16, 0.08);
}

/* scroll-reveal: JS adds .reveal up front, then .in-view once
   the element crosses into the viewport. If JS never runs,
   nothing below is hidden — content stays fully visible. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* card hover lift — tiers, flow cards, testimony, house, routes */
.fcard,
.tier,
.tst figure,
.routes div,
.house div,
.step .node {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.fcard:hover,
.tst figure:hover,
.routes div:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 70, 53, 0.1);
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(17, 70, 53, 0.14);
}

.tier.feature:hover {
  box-shadow: 0 20px 40px rgba(17, 70, 53, 0.22);
}

.house div:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.step:hover .node {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(17, 70, 53, 0.16);
}

/* buttons get a touch of lift too, not just a color swap */
.btn {
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.p:hover {
  box-shadow: 0 10px 22px rgba(17, 70, 53, 0.28);
}

.btn.g:hover {
  box-shadow: 0 10px 22px rgba(168, 134, 44, 0.32);
}

/* the divining-tray tick marks turn, very slowly, as a quiet
   suggestion of the reading itself — a wheel that is always moving */
#hmarks {
  transform-box: fill-box;
  transform-origin: center;
  animation: trayspin 200s linear infinite;
}

@keyframes trayspin {
  to {
    transform: rotate(360deg);
  }
}

/* the sixteen ikin glow faintly in place, like something being read */
.trayWrap .tray svg use {
  animation: ikinpulse 4.5s ease-in-out infinite;
}

@keyframes ikinpulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.72;
  }
}

/* back-to-top control, injected by script.js */
.toTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;
  z-index: 50;
}

.toTop.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.toTop:hover {
  background: var(--deep-2);
}

.toTop svg {
  transform: rotate(-90deg);
}