/* Rainbow Ripples Healing Arts — rrharts.org
   Earth-forward palette, restrained spectral accent. Target: WCAG 2.2 AA. */

:root {
  /* Ground */
  --cream:        #f7f3ea;
  --cream-deep:   #ede6d8;
  --paper:        #fffdf8;

  /* Ink — all AA or better on cream */
  --ink:          #1d2a22;   /* 13.9:1 on cream */
  --ink-soft:     #46564a;   /*  6.6:1 */
  --ink-faint:    #5d6b60;   /*  4.9:1 */

  /* Land */
  --forest:       #16281f;
  --forest-mid:   #274434;
  --moss:         #3f5c43;
  --clay:         #8a5a3b;
  --gold:         #b8873a;   /* decorative only */
  --gold-ink:     #7f5c1c;   /* 5.1:1 on cream — safe for text */
  --sky:          #3c6b82;

  --line:         #ddd3c0;
  --line-dark:    #33463a;

  --shadow:       0 1px 2px rgba(29,42,34,.06), 0 8px 24px rgba(29,42,34,.07);
  --shadow-lift:  0 2px 6px rgba(29,42,34,.10), 0 18px 44px rgba(29,42,34,.14);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 3rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px — readable for older eyes */
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.05rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.95rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 62ch; }

.skip {
  position: absolute; left: 50%; translate: -50% -130%;
  z-index: 200; background: var(--forest); color: var(--cream);
  padding: .8rem 1.4rem; border-radius: 0 0 10px 10px; font-weight: 600;
}
.skip:focus { translate: -50% 0; }

/* The one place the rainbow is literal: a thin ripple across the top. */
.spectrum {
  height: 3px;
  background: linear-gradient(90deg,#8a3b52,#b8873a,#6f8a3b,#3f7f6a,#3c6b82,#5b4b82);
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,234,.94);
  backdrop-filter: saturate(140%) blur(9px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 1.4rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .68rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand b { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; line-height: 1.15; display: block; }
.brand span { font-size: .705rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; gap: .15rem; align-items: center; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .905rem; font-weight: 500;
  padding: .55rem .68rem; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--cream-deep); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }

.nav-toggle {
  display: none; font: inherit; font-size: .9rem; font-weight: 600;
  background: var(--forest); color: var(--cream); border: 0;
  padding: .6rem .95rem; border-radius: 9px; cursor: pointer;
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1rem; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .82rem .4rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: .935rem; }
  .brand span { font-size: .645rem; letter-spacing: .09em; }
  .head-in { gap: .8rem; min-height: 66px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none;
  padding: .82rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  min-height: 46px; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-mid); color: var(--cream); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-on-dark { border-color: rgba(247,243,234,.55); color: var(--cream); background: rgba(247,243,234,.07); }
.btn-on-dark:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Section furniture ---------- */
section { padding-block: clamp(3.4rem, 7.5vw, 6.4rem); }
.eyebrow {
  font-size: .745rem; font-weight: 700; letter-spacing: .155em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 1rem;
}
.dark { background: var(--forest); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.dark .eyebrow { color: #d7b26a; }
.dark a { color: #e2c07f; }
.dark p { color: #ddd8cb; }
.tint { background: var(--cream-deep); }
.lede { font-size: clamp(1.075rem, 1.55vw, 1.22rem); color: var(--ink-soft); }
.dark .lede { color: #cfd6cb; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--forest); color: var(--cream); overflow: clip; padding: 0; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(178deg, rgba(12,22,16,.86) 0%, rgba(12,22,16,.55) 46%, rgba(12,22,16,.93) 100%),
    radial-gradient(115% 88% at 12% 8%, rgba(12,22,16,.72), transparent 62%);
}
.hero-in { position: relative; z-index: 2; padding-block: clamp(4.2rem, 12vw, 8.4rem); }
.hero h1 { color: var(--cream); max-width: 15ch; margin-bottom: .38em; }
.hero p { color: #dfe3da; max-width: 60ch; font-size: clamp(1.06rem, 1.55vw, 1.22rem); }
.hero .btn-row { margin-top: 2rem; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .755rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase;
  padding: .42rem .85rem; border-radius: 999px;
  border: 1px solid rgba(247,243,234,.4); color: #e6e2d6; background: rgba(12,22,16,.4);
  margin-bottom: 1.5rem;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card > figure { margin: 0; position: relative; background: var(--forest); }
.card > figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .38rem; }
.card-body p { color: var(--ink-soft); font-size: .955rem; }
.card-body .more { margin-top: auto; padding-top: .9rem; font-weight: 600; font-size: .9rem; }

/* Status badges — nothing is ACTIVE until leadership confirms it. */
.badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .105em; text-transform: uppercase;
  padding: .26rem .62rem; border-radius: 999px; margin-bottom: .7rem;
  border: 1px solid;
}
.badge-planning { color: #5a4a12; background: #f4e9c9; border-color: #dcc687; }
.badge-future   { color: #2f4a55; background: #dfeaef; border-color: #a9c4d0; }
.badge-active   { color: #1f4a2c; background: #d9ecdc; border-color: #96c5a2; }

/* "Concept rendering" marker — these are not photographs of built things. */
.concept {
  position: absolute; left: .6rem; bottom: .6rem;
  font-size: .655rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase;
  background: rgba(12,22,16,.8); color: #e6e2d6;
  padding: .3rem .6rem; border-radius: 6px; border: 1px solid rgba(247,243,234,.24);
}

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > figure { order: 2; } }
.split > figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--forest); }
.split > figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Campus plan ---------- */
.plan-figure {
  margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark); background: #0d1a13;
}
.zones { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem;
         grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.zones li { display: flex; gap: .8rem; padding: .82rem .9rem; border-radius: 10px;
            background: rgba(247,243,234,.055); border: 1px solid rgba(247,243,234,.13); }
.zones .n {
  flex: 0 0 auto; width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--cream); color: var(--forest); font-variant-numeric: tabular-nums;
}
.zones b { display: block; font-size: .93rem; font-weight: 600; color: var(--cream); }
.zones span.d { font-size: .845rem; color: #c3cbc0; display: block; }
.zones .acres { font-size: .755rem; letter-spacing: .07em; text-transform: uppercase; color: #d7b26a; }

.disclaimer {
  margin-top: 1.6rem; padding: 1.05rem 1.2rem; border-radius: 10px;
  border-left: 3px solid var(--gold);
  background: rgba(247,243,234,.06); font-size: .89rem; color: #cfd6cb;
}
.disclaimer.on-light { background: var(--cream-deep); color: var(--ink-soft); border-left-color: var(--clay); }

/* ---------- Phase timeline ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem;
          grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.phase { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.35rem; }
.phase h3 { font-size: 1.09rem; margin-bottom: .55rem; }
.phase ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.phase li { margin-bottom: .28rem; }
.phase .badge { margin-bottom: .8rem; }

/* ---------- People / serve list ---------- */
.serves { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .55rem;
          grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }
.serves li { padding: .78rem .95rem; border-radius: 10px; background: rgba(247,243,234,.06);
             border: 1px solid rgba(247,243,234,.13); font-size: .93rem; color: #ddd8cb; }

/* ---------- Cornerstone ---------- */
.cornerstone { background: var(--cream-deep); text-align: center; }
.cornerstone blockquote {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--serif); font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.3; color: var(--ink); letter-spacing: -.015em;
}
.cornerstone .ripple { width: 76px; height: 3px; margin: 0 auto 2rem; border-radius: 2px;
  background: linear-gradient(90deg,#8a3b52,#b8873a,#6f8a3b,#3f7f6a,#3c6b82,#5b4b82); }

/* ---------- Footer ---------- */
.site-foot { background: var(--forest); color: #ccd3c8; padding-block: clamp(3rem, 6vw, 4.6rem) 2.2rem; font-size: .93rem; }
.foot-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.site-foot h4 { font-family: var(--sans); font-size: .755rem; font-weight: 700; letter-spacing: .145em;
                text-transform: uppercase; color: #d7b26a; margin: 0 0 .9rem; }
.site-foot a { color: #e4e8e0; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .48rem; }
.legal {
  margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid rgba(247,243,234,.18);
  font-size: .825rem; line-height: 1.62; color: #a9b3a8; max-width: 88ch;
}
.legal strong { color: #ccd3c8; font-weight: 600; }
.foot-end { margin-top: 1.5rem; font-size: .8rem; color: #93a094; }
