/* =========================================================
   Susan Gann — Emotional Intelligence
   Warm, earthy, calm. Vanilla CSS. Mobile-first.
   ========================================================= */

:root {
  /* Palette */
  --cream:       #FAF5EC;
  --cream-deep:  #F2E9D8;
  --card:        #FFFDF8;
  --sage:        #6E8467;
  --sage-dark:   #4F6349;
  --sage-light:  #A9BB9E;
  --clay:        #BE6A47;
  --clay-dark:   #9C5232;
  --clay-soft:   #E5C4B2;
  --ink:         #3A352F;
  --ink-soft:    #5E574D;
  --ink-faint:   #8A8175;
  --line:        rgba(58, 53, 47, .12);
  --line-strong: rgba(58, 53, 47, .2);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(58, 53, 47, .5);
  --shadow-soft: 0 10px 30px -20px rgba(58, 53, 47, .45);
  --header-h: 74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 3.1vw, 3.7rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.65rem); }
h3 { font-size: clamp(1.22rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; }
p  { margin: 0 0 1.1em; }
a  { color: var(--clay-dark); }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--wrap-narrow); }
.sr-only, .visually-centered .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; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--sage-dark); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin: 0 0 1rem;
}
.eyebrow-sage { color: var(--sage-dark); }
.eyebrow-clay { color: var(--clay-dark); }
.eyebrow-oncolor { color: var(--clay-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sage-dark);
  --btn-fg: #fff;
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .85rem 1.7rem;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 8px 18px -10px rgba(79, 99, 73, .8);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(79, 99, 73, .9); }
.btn-primary { --btn-bg: var(--clay); box-shadow: 0 8px 18px -10px rgba(158, 82, 50, .85); }
.btn-primary:hover, .btn-primary:focus-visible { --btn-bg: var(--clay-dark); box-shadow: 0 14px 28px -12px rgba(158, 82, 50, .95); }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.05rem; }
.btn-outline {
  background: transparent; color: var(--sage-dark);
  border-color: var(--sage); box-shadow: none;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--sage); color: #fff; box-shadow: var(--shadow-soft); }

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

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 236, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; }
.brand-text em { font-style: normal; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); font-weight: 700; }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: .93rem; padding: .5rem .7rem; border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active { color: var(--sage-dark); background: rgba(110, 132, 103, .12); }
.primary-nav a.nav-cta {
  background: var(--clay); color: #fff; margin-left: .4rem;
}
.primary-nav a.nav-cta:hover, .primary-nav a.nav-cta:focus-visible { background: var(--clay-dark); color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--card); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 22px; height: 15px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2.4px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6.3px; }
.nav-toggle-bars span:nth-child(3) { top: 12.6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6.3px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6.3px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .primary-nav.open { max-height: 70vh; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .primary-nav a { padding: .85rem .5rem; border-radius: 10px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child a { border-bottom: 0; }
  .primary-nav a.nav-cta { margin: .6rem 0 0; text-align: center; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: clamp(3rem, 8vh, 7rem) 0;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40,34,28,.28) 0%, rgba(40,34,28,.10) 30%, rgba(58,53,47,.42) 100%),
    linear-gradient(90deg, rgba(45,38,30,.55) 0%, rgba(45,38,30,.12) 60%, rgba(45,38,30,0) 100%);
}
.hero-content {
  position: relative;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  max-width: 720px;
  color: #fff;
}
.hero .eyebrow { color: #F1D9C6; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(30,24,18,.4); margin-bottom: .35em; }
.hero-kicker {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: clamp(1rem, .85rem + 0.6vw, 1.3rem); letter-spacing: .01em;
  color: var(--clay-soft); margin-bottom: .2em;
}
.hero-lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: #F7F1E7; max-width: 40ch; margin-bottom: 1.8rem;
  text-shadow: 0 1px 12px rgba(30,24,18,.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-hero-ghost {
  background: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: none;
}
.btn-hero-ghost:hover, .btn-hero-ghost:focus-visible { background: #fff; color: var(--sage-dark); border-color: #fff; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.section-tint { background: var(--cream-deep); }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head-lede { color: var(--ink-soft); font-size: 1.08rem; margin-top: .6rem; }

.prose p { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* Intro */
.intro { padding-top: clamp(2.6rem, 5vw, 4rem); }

/* EI section */
.ei-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
@media (min-width: 820px) { .ei-grid { grid-template-columns: 1.6fr 1fr; } }
.pull-stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .4rem;
  background: var(--sage); color: #fff;
  border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 0.72;
}
.pull-stat-big { font-family: var(--serif); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 600; line-height: 1; }
.pull-stat-small { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }

.callout-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-top: 5px solid var(--clay);
}
.callout-card h3 { color: var(--clay-dark); margin-bottom: .8rem; }
.callout-card p:last-child { margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 320px 1fr; } }
.about-media { position: relative; }
@media (min-width: 820px) { .about-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 26%;
  border-radius: var(--radius);
  border: 5px solid var(--card);
  box-shadow: var(--shadow);
}

/* Offerings */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage-light); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.1rem;
  background: rgba(110, 132, 103, .14); color: var(--sage-dark);
}
.card { display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-soft); }
.card-sub {
  font-family: var(--serif); font-style: italic; font-size: 1.02rem;
  color: var(--sage-dark); margin-bottom: .9rem;
}
.offerings-cta {
  margin-top: 2.6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.offerings-cta p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); margin: 0; }

/* Testimonials */
.visually-centered { text-align: center; }
.quotes-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.6rem;
  margin-top: 2.6rem; align-items: start;
}
@media (min-width: 900px) { .quotes-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.quote {
  position: relative; margin: 0;
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
}
.quote-mark {
  position: absolute; top: -.2em; left: .28em;
  font-family: var(--serif); font-size: 4.4rem; line-height: 1;
  color: var(--clay-soft); pointer-events: none; user-select: none;
}
.quote blockquote { margin: 0; position: relative; }
.quote blockquote p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem); line-height: 1.55;
  color: var(--ink); margin: 0;
}
.quote figcaption { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin-bottom: 1.4rem; }
.quote-name { font-weight: 700; color: var(--sage-dark); font-size: 1.05rem; }
.quote-role { color: var(--ink-faint); font-size: .95rem; }

/* Contact */
.contact {
  position: relative; color: #fff; text-align: center;
  background:
    linear-gradient(150deg, rgba(79,99,73,.94), rgba(158,82,50,.9)),
    url("images/texture.jpg") center / cover no-repeat;
  background-attachment: scroll;
}
.contact h2 { color: #fff; }
.contact-lede { color: #F7EDE4; max-width: 46ch; margin-inline: auto; font-size: 1.12rem; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .btn-primary { background: #fff; color: var(--clay-dark); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); margin-top: .6rem; }
.contact .btn-primary:hover, .contact .btn-primary:focus-visible { background: var(--cream); color: var(--clay-dark); }
.contact-fallback { margin-top: 1.2rem; color: #F7EDE4; font-size: .92rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: #E9E2D6; padding: 3rem 0; }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: .35rem; }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; margin: 0; }
.footer-tag { color: #B7AF9F; margin: 0; font-size: .98rem; }
.footer-copy { color: #8F887A; font-size: .85rem; margin: 1rem 0 0; }

/* =========================================================
   MOTION / REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =========================================================
   TRUST BAR (credibility, above the fold)
   ========================================================= */
.trust-bar {
  background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.trust-bar-inner {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  text-align: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: .4rem .8rem;
  font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--ink-soft);
  vertical-align: middle;
}
.trust-item svg { flex: 0 0 auto; color: var(--sage-dark); }

/* =========================================================
   LEARN MORE / DETAILS (native <details>, no JS)
   ========================================================= */
.expand { margin-top: .7rem; }
.expand-summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-weight: 700; font-size: .9rem; color: var(--sage-dark);
  padding: .15rem 0;
}
.expand-summary::-webkit-details-marker { display: none; }
.expand-summary::marker { content: ""; }
.expand-summary:hover, .expand-summary:focus-visible { color: var(--sage); }
.expand-summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 4px; }
.expand-label-open { display: none; }
.expand[open] > .expand-summary .expand-label-closed { display: none; }
.expand[open] > .expand-summary .expand-label-open { display: inline; }
.expand-chevron {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s ease;
}
.expand[open] > .expand-summary .expand-chevron { transform: rotate(45deg); }
.expand-content { padding-top: .7rem; }
.expand-content p { max-width: 62ch; }
.expand-content p + p { margin-top: 1rem; }
.quote .expand-summary { margin-top: .4rem; }

/* EQ quick-signs list */
.eq-signs { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.eq-signs li {
  display: flex; align-items: baseline; gap: .6rem;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
}
.eq-signs strong { color: var(--sage-dark); flex: 0 0 auto; }

/* 3-step "how it's taught" cards */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: .9rem;
  background: rgba(110,132,103,.14); color: var(--sage-dark);
  font-family: var(--serif); font-weight: 600;
}
.step-card h3 { margin-bottom: .5rem; }
.step-card > p { color: var(--ink-soft); }

/* About credential pills */
.credentials { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.credentials li {
  font-family: var(--sans); font-weight: 600; font-size: .84rem;
  color: var(--clay-dark); background: rgba(158,82,50,.1);
  border: 1px solid var(--clay-soft); padding: .35rem .85rem; border-radius: 100px;
}

/* Footer credit */
.footer-credit { color: #8F887A; font-size: .82rem; margin: .4rem 0 0; }
.footer-credit a { color: #B7AF9F; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: #fff; }
