:root {
  --black: #050706;
  --black-soft: #0c100e;
  --black-card: #11161300;
  --emerald: #0f7a45;
  --emerald-bright: #1aa35c;
  --emerald-deep: #064027;
  --emerald-glow: rgba(26, 163, 92, 0.35);
  --gold: #c9a86a;
  --cream: #f4f1ea;
  --muted: #9aa39d;
  --line: rgba(255, 255, 255, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3rem;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 6, 0.85);
  backdrop-filter: blur(14px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.nav__brand span {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  border: 1px solid var(--emerald);
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  color: var(--cream) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav__cta:hover {
  background: var(--emerald);
  box-shadow: 0 0 24px var(--emerald-glow);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  border: 1px solid transparent;
}
.btn--gold {
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-deep));
  color: var(--cream);
  border-color: var(--emerald-bright);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--emerald-glow);
}
.btn--ghost {
  border-color: rgba(244, 241, 234, 0.3);
  color: var(--cream);
}
.btn--ghost:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(15, 122, 69, 0.18), transparent 55%),
    var(--black);
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__logoWrap {
  --logo-w: min(440px, 82vw);
  --logo-crop: 0.71; /* keep top portion through "Pour Me", clip the baked-in tagline */
  width: var(--logo-w);
  height: calc(var(--logo-w) * var(--logo-crop));
  overflow: hidden;
  margin: 0 auto;
  filter: drop-shadow(0 0 60px rgba(26, 163, 92, 0.22));
}
.hero__logo {
  width: 100%;
  display: block;
}
.hero__tagline {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 2.4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #cfd6d1;
  margin: 0.3rem 0 1.5rem;
  padding-left: 0.34em; /* compensate trailing letter-spacing for true centering */
}
.hero__art {
  position: relative;
  color: var(--emerald-bright); /* fallback before shine paints */
  background: linear-gradient(120deg, #0f7a45 0%, #1aa35c 20%, #ffffff 50%, #1aa35c 80%, #064027 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: artShine 3.2s ease-in-out 0.7s 1 forwards;
}
.hero__art::after,
.hero__art::before {
  content: "\2726"; /* ✦ */
  position: absolute;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 0;
  pointer-events: none;
}
.hero__art::after {
  top: -0.55em;
  right: -0.85em;
  font-size: 0.72em;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 8px rgba(26, 163, 92, 0.9);
  animation: artSparkle 2s ease-out 1.5s 1 forwards;
}
.hero__art::before {
  bottom: -0.3em;
  left: -0.6em;
  font-size: 0.44em;
  text-shadow: 0 0 12px rgba(234, 255, 243, 0.85);
  animation: artSparkle 1.8s ease-out 2.1s 1 forwards;
}
@keyframes artShine {
  0%   { background-position: 100% 0; filter: drop-shadow(0 0 0 rgba(26, 163, 92, 0)); }
  50%  { filter: drop-shadow(0 0 22px rgba(26, 163, 92, 0.7)); }
  100% { background-position: 0 0; filter: drop-shadow(0 0 6px rgba(26, 163, 92, 0.3)); }
}
@keyframes artSparkle {
  0%   { opacity: 0; transform: scale(0.2) rotate(0deg); }
  35%  { opacity: 1; transform: scale(1.35) rotate(15deg); }
  60%  { opacity: 0.9; transform: scale(1) rotate(26deg); }
  100% { opacity: 0; transform: scale(0.5) rotate(46deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__art { animation: none; -webkit-text-fill-color: transparent; }
  .hero__art::after { animation: none; opacity: 0; }
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #cfd6d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.6rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section__head {
  text-align: center;
  margin-bottom: 4rem;
}
.section__kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}
.section__lead {
  max-width: 540px;
  margin: 1.2rem auto 0;
  color: var(--muted);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__text p { margin-bottom: 1.3rem; color: #cdd4cf; font-size: 1.02rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--emerald-deep);
  padding-left: 2.5rem;
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--emerald-bright);
  line-height: 1;
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Experience cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  padding: 2.4rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(15, 122, 69, 0.06), rgba(255, 255, 255, 0.01));
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--emerald-glow);
}
.card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--cream);
}
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.quote {
  padding: 2.6rem 2rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--emerald-deep);
  position: absolute;
  top: -0.6rem; left: 1rem;
  line-height: 1;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}
.quote figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}

/* ---------- Consultation ---------- */
.consultation {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.consultation__glow {
  position: absolute;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  bottom: -20%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(15, 122, 69, 0.25), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}
.consult__cta {
  position: relative;
  z-index: 2;
}
.consult__cta .btn { padding: 1.25rem 3.2rem; font-size: 0.82rem; }
.consult__meta {
  margin-top: 1.1rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Program Matcher overlay ---------- */
.matcher {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5vh 2vw;
}
.matcher[hidden] { display: none; }
.matcher__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 4, 0.86);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}
.matcher__panel {
  position: relative;
  width: min(1100px, 100%);
  height: min(880px, 95vh);
  border-radius: 6px;
  overflow: hidden;
  background: #0e0d0c;
  border: 1px solid rgba(201, 168, 106, 0.35);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
  animation: matcherIn 0.42s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.matcher__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.matcher__close {
  position: absolute;
  top: 10px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.22);
  background: rgba(10, 12, 11, 0.72);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.matcher__close:hover {
  background: rgba(201, 168, 106, 0.9);
  border-color: transparent;
  color: #0e0d0c;
  transform: rotate(90deg);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes matcherIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
body.matcher-open { overflow: hidden; }

/* Inline "take the quiz" prompt + matched-program badge */

@media (max-width: 900px) {
  .matcher { padding: 0; }
  .matcher__panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 4rem 2rem 3rem;
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}
.footer__brand span {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0.6rem 0 1.6rem;
}
.footer__fine {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.footer__copy { font-size: 0.78rem; color: #5b635d; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav.scrolled { padding: 1rem 1.5rem; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 7, 6, 0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-left: 1px solid var(--line);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 110; }
  .section { padding: 5rem 1.5rem; }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__stats { flex-direction: row; flex-wrap: wrap; border-left: none; padding-left: 0; gap: 2rem 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
