/* ===== TOKENS ===== */
:root {
  --light:        #FBFCF6;   /* morning light: the page */
  --moss-pale:    #EEF3E3;   /* soft green wash */
  --moss:         #D5E2C4;   /* hairlines, soft fills */
  --leaf:         #4F7D3F;   /* living green */
  --leaf-soft:    #8DB07A;
  --canopy:       #1E3D2B;   /* deep forest */
  --canopy-deep:  #13291E;
  --sun:          #E8B33C;   /* direct sunlight */
  --honey:        #F6D98A;
  --honey-pale:   #FBF1D4;
  --sky:          #DCEDF8;
  --ink:          #22312A;
  --ink-soft:     #55655B;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Instrument Sans", system-ui, sans-serif;
  --wrap: 74rem;
  --ease: cubic-bezier(.22, .8, .25, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--light); overflow-x: clip; }
body {
  font: 400 1.08rem/1.75 var(--sans);
  color: var(--ink);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
::selection { background: var(--honey); color: var(--canopy-deep); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* A patch of sunlight that drifts as you walk down the page */
.sun-glow {
  position: fixed; z-index: -1; pointer-events: none;
  top: -18vmax; right: -14vmax;
  width: 72vmax; height: 72vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,179,60,.26), rgba(246,217,138,.12) 40%, rgba(246,217,138,0) 68%);
  transform: translate3d(0, var(--sun-y, 0px), 0);
  will-change: transform;
}

/* ===== TYPE ===== */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 1.08;
  color: var(--canopy);
  letter-spacing: -.012em;
}
h1 { font-size: clamp(3rem, 7.2vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.6rem; font-weight: 400; line-height: 1.2; font-variation-settings: "SOFT" 40, "opsz" 48; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--canopy); }

.prose p { max-width: 62ch; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 24;
  line-height: 1.55;
  color: var(--canopy);
  margin-bottom: 1.4rem;
}

/* Section signposts: a small sunlit line and an italic word */
.marker {
  display: flex; align-items: center; gap: .8rem;
  font: italic 400 1.15rem/1 var(--serif);
  color: var(--leaf);
  margin-bottom: 1.3rem;
}
.marker::before { content: ""; width: 2.2rem; height: 1px; background: var(--sun); flex: none; }
.marker.light { color: var(--honey); }
.center .marker { justify-content: center; }

/* ===== LAYOUT ===== */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }
.center { text-align: center; }
.center .prose p, .center .lead { margin-inline: auto; }
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; position: relative; }
.bg-moss { background: var(--moss-pale); }
.bg-honey { background: linear-gradient(180deg, var(--light), var(--honey-pale)); }
.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head .marker { justify-content: center; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; max-width: 36rem; margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.8rem;
  border-radius: 6px;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn-sun { background: var(--sun); color: var(--canopy-deep); }
.btn-sun:hover { background: var(--honey); box-shadow: 0 10px 30px -14px rgba(232,179,60,.9); }
.btn-canopy { background: var(--canopy); color: #fff; }
.btn-canopy:hover { background: var(--canopy-deep); box-shadow: 0 12px 30px -16px rgba(19,41,30,.8); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem 0;
  transition: padding .4s, background .4s, box-shadow .4s;
}
#navbar.scrolled {
  padding: .8rem 0;
  background: rgba(251,252,246,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30,61,43,.08);
}
.nav-inner {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font: 500 1.3rem/1 var(--serif);
  font-variation-settings: "SOFT" 60, "opsz" 24;
  color: #fff; text-decoration: none;
  transition: color .4s;
}
.nav-logo svg { width: 22px; height: 22px; color: var(--sun); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#navbar.scrolled .nav-logo { color: var(--canopy); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font: 500 .92rem/1 var(--sans);
  color: rgba(255,255,255,.92); text-decoration: none;
  position: relative; transition: color .4s;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1.5px;
  background: var(--sun); transition: right .35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { right: 0; }
#navbar.scrolled .nav-links a { color: var(--ink); }
.nav-cta {
  padding: .6rem 1.2rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.6);
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta:hover { background: rgba(255,255,255,.14); border-color: #fff; }
#navbar.scrolled .nav-cta { background: var(--sun); border-color: var(--sun); color: var(--canopy-deep); }
#navbar.scrolled .nav-cta:hover { background: var(--honey); border-color: var(--honey); }

.hamburger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 1.5px; margin: 6px 0; background: #fff; transition: background .4s; }
#navbar.scrolled .hamburger span { background: var(--canopy); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 300;
  background: var(--canopy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 1.5rem; cursor: pointer; padding: .5rem; }
.mobile-nav ul { text-align: center; }
.mobile-nav li { margin: 1.4rem 0; }
.mobile-nav a { font: 300 2.4rem/1 var(--serif); color: #fff; text-decoration: none; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-img {
  position: absolute; inset: -5% 0; z-index: -3;
  background: url("images/forest-light.jpg") center 40% / cover no-repeat;
  transform: scale(1.06);
  animation: breathe 36s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes breathe { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.12) translateY(-1.5%); } }

/* Sunbeams: two layers of soft conic rays that drift at different speeds */
.hero-rays {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  mix-blend-mode: screen; opacity: .85;
  background:
    conic-gradient(from 168deg at 66% -12%,
      transparent 0deg, rgba(255,236,180,.55) 3deg, transparent 7deg,
      transparent 13deg, rgba(255,240,200,.42) 15deg, transparent 19deg,
      transparent 27deg, rgba(255,232,170,.5) 29deg, transparent 34deg,
      transparent 41deg, rgba(255,240,200,.35) 43deg, transparent 47deg,
      transparent 360deg);
  transform-origin: 66% -12%;
  animation: rays 22s ease-in-out infinite alternate;
}
.hero-rays::after {
  content: ""; position: absolute; inset: 0;
  background:
    conic-gradient(from 160deg at 62% -10%,
      transparent 0deg, rgba(255,248,220,.3) 2deg, transparent 5deg,
      transparent 21deg, rgba(255,248,220,.28) 23deg, transparent 27deg,
      transparent 36deg, rgba(255,248,220,.26) 38deg, transparent 42deg,
      transparent 360deg);
  transform-origin: 62% -10%;
  animation: rays 31s ease-in-out infinite alternate-reverse;
}
@keyframes rays { from { transform: rotate(-2.5deg); opacity: .7; } to { transform: rotate(2.5deg); opacity: 1; } }

.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 66% 0%, rgba(255,236,180,.28), transparent 70%),
    linear-gradient(180deg, rgba(19,41,30,.16) 0%, rgba(19,41,30,.02) 35%, rgba(19,41,30,.48) 72%, rgba(19,41,30,.8) 100%);
}
.hero-inner {
  position: relative;
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  padding: 9rem 0 4.5rem;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem;
}
.hero-copy { max-width: 42rem; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 24;
  line-height: 1.5;
  color: rgba(255,255,255,.95);
  max-width: 32rem;
  text-shadow: 0 1px 16px rgba(0,0,0,.35);
}
.hero-enter {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font: 500 .9rem/1 var(--sans); letter-spacing: .04em;
  color: rgba(255,255,255,.9); text-decoration: none;
  padding-bottom: .4rem;
}
.hero-enter i {
  width: 1px; height: 64px;
  background: linear-gradient(rgba(255,255,255,.1), var(--sun));
  transform-origin: top;
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(.55); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* Hero entrance: one orchestrated moment */
.hero .marker, .hero h1, .hero-tagline, .hero-enter {
  opacity: 0; transform: translateY(18px);
  animation: arrive 1.3s var(--ease) forwards;
}
.hero h1 { animation-delay: .15s; }
.hero-tagline { animation-delay: .35s; }
.hero-enter { animation-delay: .7s; }
@keyframes arrive { to { opacity: 1; transform: none; } }

/* ===== WELCOME ===== */
.split {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.leaf-figure { position: relative; }
.leaf-img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 11rem 8px 11rem 8px;
  box-shadow: 0 40px 70px -40px rgba(30,61,43,.55);
}
.leaf-figure::after {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1;
  border-radius: 11rem 8px 11rem 8px;
  background: linear-gradient(160deg, var(--honey), var(--moss));
  opacity: .7;
}

/* ===== PHOTO BANDS ===== */
.band {
  position: relative; isolation: isolate;
  padding: clamp(6rem, 13vw, 10rem) 0;
  text-align: center; color: #fff;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,41,30,.26), rgba(19,41,30,.42));
}
.band-gold::before { background: linear-gradient(180deg, rgba(60,45,10,.16), rgba(19,41,30,.42)); }
.band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 300;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 1.3;
  max-width: 50rem; margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.band blockquote em { color: var(--honey); }

/* ===== APPROACH ===== */
.streams {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.75rem; margin-top: 3.5rem;
}
.stream { padding-top: 1.6rem; border-top: 1px solid var(--moss); }
.stream svg {
  width: 40px; height: 40px; margin-bottom: 1.1rem;
  color: var(--sun); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.stream h3 { margin-bottom: .6rem; }
.stream p { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

/* ===== LISTENING ===== */
.listen-list {
  margin: 2.4rem auto 2.6rem; max-width: 34rem;
  display: flex; flex-direction: column; gap: .9rem;
}
.listen-list li {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic; font-weight: 300;
  font-variation-settings: "SOFT" 60, "opsz" 48;
  color: var(--canopy);
  display: flex; align-items: baseline; justify-content: center; gap: .9rem;
  line-height: 1.35;
}
.listen-list li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--sun); flex: none; transform: translateY(-2px);
}
.invite-text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.75;
  color: var(--leaf);
}

/* ===== ABOUT ===== */
.about {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
}
.about-portrait { position: sticky; top: 7rem; }
.portrait { position: relative; max-width: 26rem; margin-inline: auto; }
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 11rem 8px 11rem 8px;
  box-shadow: 0 40px 70px -40px rgba(30,61,43,.55);
  position: relative; z-index: 1;
}
.portrait::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border-radius: 11rem 8px 11rem 8px;
  border: 1px solid var(--sun);
}
.portrait figcaption {
  margin-top: 2rem; text-align: center;
  font: italic 400 1.15rem/1.4 var(--serif);
  color: var(--leaf);
}
.about-opening {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.45rem);
  font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 24;
  line-height: 1.55;
  color: var(--canopy);
  margin-bottom: 1.6rem;
}

/* ===== CREDENTIALS ===== */
.formation { margin-top: 2.5rem; }
.formation p { max-width: none; }
.cred-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem;
  margin-top: 2.5rem;
}
.cred-grid li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 0; border-top: 1px solid var(--moss);
  font-size: .98rem; line-height: 1.5;
}
.cred-grid li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun); flex: none; margin-top: .5rem;
}

/* ===== THE CLEARING ===== */
.clearing {
  position: relative; isolation: isolate;
  min-height: 86vh;
  display: grid; place-items: center;
  text-align: center; padding: 8rem 1.25rem 10rem;
  overflow: hidden;
}
.clearing-img {
  position: absolute; inset: 0; z-index: -2;
  background: url("images/field.jpg") center 62% / cover no-repeat;
}
.clearing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255,250,235,.72), rgba(255,250,235,.25) 60%, transparent 80%),
    linear-gradient(180deg, rgba(220,237,248,.05) 0%, transparent 40%, rgba(251,252,246,.35) 85%, var(--light) 100%);
}
.clearing-inner { position: relative; max-width: 40rem; }
.clearing .marker { justify-content: center; color: var(--canopy); }
.clearing .marker::before { background: var(--canopy); }
.clearing h2 { color: var(--canopy-deep); font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 2rem; }
.clearing h2 em { color: var(--canopy); }

/* ===== CONTACT ===== */
#contact .lead { color: var(--ink); }
.inquiry { max-width: 36rem; margin: 2.2rem auto 0; text-align: left; }
.inquiry label { display: block; margin-bottom: 1.1rem; font: 500 .9rem/1.4 var(--sans); color: var(--canopy); }
.inquiry input, .inquiry textarea {
  display: block; width: 100%; margin-top: .4rem;
  padding: .85rem 1rem;
  font: inherit; font-size: 1.02rem; color: var(--ink);
  background: #fff; border: 1px solid var(--moss); border-radius: 6px;
  transition: border-color .3s, box-shadow .3s;
}
.inquiry input:focus, .inquiry textarea:focus {
  outline: none; border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(232,179,60,.25);
}
.inquiry textarea { resize: vertical; min-height: 9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inquiry .btn { margin-top: .4rem; }
.inquiry .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 1rem 0 0; min-height: 1.6em; font: italic 400 1.1rem/1.5 var(--serif); color: var(--leaf); }

/* ===== REFUGE ===== */
.announce-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-variation-settings: "SOFT" 60, "opsz" 24;
  line-height: 1.5;
  color: var(--canopy);
  max-width: 44rem; margin: 1rem auto 0;
}
.refuge-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
  margin-top: 3.5rem;
}
.refuge-image-col { position: sticky; top: 7rem; }
.refuge-image-col .portrait img { object-position: center 28%; }
.refuge-title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 1.4rem; }
.refuge-quote {
  margin-top: 1.8rem;
  padding: 1.6rem 0 1.6rem 1.8rem;
  border-left: 2px solid var(--sun);
  font-family: var(--serif);
  font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 24;
  font-size: clamp(1.25rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--canopy);
  max-width: 34rem;
}

/* ===== FOOTER ===== */
footer { background: var(--canopy-deep); color: rgba(255,255,255,.7); padding: 3.5rem 0 2.5rem; text-align: center; }
.footer-name { font: 400 1.5rem/1.2 var(--serif); color: #fff; margin-bottom: .4rem; }
.footer-sub { font: italic 400 1.1rem/1.4 var(--serif); color: var(--honey); margin-bottom: 1.6rem; }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 64rem) {
  .streams { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 54rem) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 8rem; }
  .hero-enter { align-items: flex-start; flex-direction: row; gap: 1rem; }
  .hero-enter i { width: 48px; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(255,255,255,.1), var(--sun)); }
  @keyframes cue { 0%, 100% { transform: scaleX(.55); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }
  .split, .about, .refuge-grid { grid-template-columns: 1fr; }
  .leaf-figure { max-width: 26rem; }
  .leaf-img { aspect-ratio: 5 / 4; }
  .about-portrait, .refuge-image-col { position: static; }
  .band { background-attachment: scroll; }
  .cred-grid { grid-template-columns: 1fr; }
  .clearing { min-height: 70vh; }
}
@media (max-width: 40rem) {
  body { font-size: 1.02rem; }
  .hero-img { background-image: url("images/forest-light-sm.jpg"); }
  .clearing-img { background-image: url("images/field-sm.jpg"); }
  .streams { grid-template-columns: 1fr; gap: 2.2rem; }
  .listen-list li { justify-content: flex-start; text-align: left; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .marker, .hero h1, .hero-tagline, .hero-enter { opacity: 1; transform: none; }
  .hero-img { transform: none; }
  .sun-glow { transform: none; }
}
