/* wellness-focus — aligned with brand SVG + photography */

:root {
  /* From logo: wordmark & leaves */
  --brand-deep: #496f60;
  --brand-mid: #3d8a72;
  --brand-light: #74c9ad;
  --brand-mist: #a9dbc9;
  --sage: #78b865;
  --bud: #a6d58d;
  --leaf-tint: #c7e9c0;
  /* Blush arc */
  --blush: #efc5b0;
  --blush-soft: #f2cfbc;
  /* Neutrals — warm, stone-adjacent (hero image) */
  --ink: #1c2420;
  --ink-soft: rgba(28, 36, 32, 0.72);
  --paper: #faf7f3;
  --paper-warm: #f5ede4;
  --paper-deep: #ebe2d8;
  --white: #ffffff;
  --line: rgba(73, 111, 96, 0.12);
  --line-strong: rgba(73, 111, 96, 0.22);
  --shadow: 0 4px 28px rgba(28, 36, 32, 0.07);
  --shadow-lg: 0 28px 70px rgba(28, 36, 32, 0.11);
  --shadow-mint: 0 20px 50px rgba(61, 138, 114, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
  --nav-h: 4rem;
  /* Sticky nav offset for in-page anchors (mobile bar stacks taller) */
  --nav-scroll-offset: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-scroll-offset);
  scrollbar-gutter: stable;
}

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

@media (max-width: 900px) {
  :root {
    --nav-scroll-offset: 6.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-scroll-offset: 8rem;
  }
}

main {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(169, 219, 201, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at -10% 100%, rgba(239, 197, 176, 0.12), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand-deep);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* Nav — same content column as main (max-width + side gutters, no double shrink) */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--space);
  background: rgba(250, 247, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 0;
  min-height: var(--nav-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav__brand:hover {
  opacity: 0.9;
}

.nav__mark {
  display: block;
  height: 2.5rem;
  width: auto;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--brand-deep);
  border-bottom-color: var(--brand-mid);
}

/* In-page targets: backup for browsers / nested scroll */
#mission,
#how,
#contact {
  scroll-margin-top: var(--nav-scroll-offset);
}

/* Hero — gutters on section; inner rows share max-width with nav */

.hero {
  padding: 0 var(--space) clamp(3rem, 8vw, 5rem);
  position: relative;
}

/* Full-bleed band: edge-to-edge background, content aligned to same column */
.hero-brand-slab {
  margin: 0 calc(-1 * var(--space));
  width: auto;
  max-width: none;
  padding: clamp(1.75rem, 5vw, 3.25rem) var(--space) clamp(2rem, 5vw, 3rem);
  background: linear-gradient(
    165deg,
    rgba(232, 244, 238, 0.98) 0%,
    var(--paper-warm) 48%,
    rgba(245, 237, 228, 0.92) 100%
  );
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
}

.hero-brand {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.125rem, 3.25vw, 1.75rem);
}

.hero-brand__symbol {
  width: clamp(5rem, 15vw, 7.25rem);
  height: auto;
  margin: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 28px rgba(73, 111, 96, 0.18));
}

.hero-wordmark {
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(100deg, var(--brand-deep) 0%, var(--brand-mid) 42%, var(--brand-mist) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-wordmark {
    color: var(--brand-deep);
    -webkit-text-fill-color: unset;
    background: none;
  }
}

.hero-slogan {
  font-family: var(--font-ui);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin: 0;
  max-width: 28rem;
  background: linear-gradient(105deg, var(--brand-deep) 0%, var(--brand-mid) 45%, var(--sage) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-slogan {
    color: var(--brand-deep);
    -webkit-text-fill-color: unset;
    background: none;
  }
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  box-sizing: border-box;
}

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

.hero__copy {
  min-width: 0;
}

.hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-mid);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(145deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
  color: var(--paper);
  box-shadow: 0 4px 16px rgba(73, 111, 96, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(145deg, #5a8272 0%, #45907a 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(61, 138, 114, 0.32);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--brand-deep);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--brand-mid);
  color: var(--brand-mid);
  background: var(--white);
}

.hero__visual {
  position: relative;
  min-width: 0;
}

/* Soft blush + mint glow behind hero photo — ties to logo arc & greens */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -4% -6%;
  background: radial-gradient(ellipse at 30% 70%, rgba(239, 197, 176, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(169, 219, 201, 0.3) 0%, transparent 50%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-mint);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--paper-warm);
  outline: 1px solid var(--line);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Sections */

.section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--space);
}

.section--tint {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 55%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__header {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  box-sizing: border-box;
}

.section__header--center {
  text-align: center;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: var(--ink);
}

.section__intro {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38rem;
}

.section__header--center .section__intro {
  margin-left: auto;
  margin-right: auto;
}

.section__intro--narrow {
  max-width: 28rem;
}

/* Pillars */

.pillars {
  list-style: none;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 800px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  position: relative;
  background: var(--white);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-mid), var(--blush-soft));
}

.pillar__num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-mid);
  margin-bottom: 0.75rem;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.pillar__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Steps */

.steps {
  list-style: none;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step__icon {
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--bud), var(--brand-mid), var(--blush));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.step__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* CTA — logo greens, subtle depth */

.cta {
  padding: clamp(3rem, 7vw, 4.5rem) var(--space);
  background: linear-gradient(155deg, #3a5248 0%, var(--brand-deep) 38%, var(--brand-mid) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  background: radial-gradient(circle, rgba(169, 219, 201, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: min(45vw, 22rem);
  height: min(45vw, 22rem);
  background: radial-gradient(circle, rgba(239, 197, 176, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.cta__text {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(250, 247, 243, 0.9);
}

.btn--light {
  background: var(--paper);
  color: var(--brand-deep);
  border-color: transparent;
}

.btn--light:hover {
  background: var(--white);
  color: var(--brand-mid);
  transform: translateY(-1px);
}

.cta__action {
  flex-shrink: 0;
}

.cta__note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: rgba(250, 247, 243, 0.58);
  max-width: 16rem;
}

/* Footer — green charcoal, not flat black */

.footer {
  background: linear-gradient(180deg, #1a2220 0%, #141a18 100%);
  color: rgba(250, 247, 243, 0.88);
  padding: 2.5rem var(--space) 2rem;
}

.footer__top {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.footer__logo {
  display: block;
  height: 2.625rem;
  width: auto;
  max-width: min(100%, 14rem);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(169, 219, 201, 0.45);
  max-width: 20rem;
  text-align: right;
}

@media (max-width: 560px) {
  .footer__tagline {
    text-align: left;
    width: 100%;
  }
}

.footer__bottom {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(169, 219, 201, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(250, 247, 243, 0.4);
}

.footer__loc,
.footer__year {
  margin: 0;
}

@media (max-width: 768px) {
  .hero__frame img {
    max-height: 500px;
  }

  .nav__mark {
    height: 2.125rem;
  }

  .footer__logo {
    height: 2.25rem;
  }

  .hero-brand__symbol {
    width: clamp(4.5rem, 22vw, 6rem);
  }
}
