/* ==========================================================================
   Alex Dirdara | Performance Coaching
   Shared stylesheet for every page.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #f5f0e6;
  --bg-deep: #ece4d4;
  --surface: #fbf8f2;
  --sage-50: #eef2ea;
  --sage-100: #dde6d6;
  --sage-200: #c6d4bf;
  --sage-400: #8ea78a;
  --sage-600: #557457;
  --green-700: #2f4a3a;
  --green-800: #253b2e;
  --green-900: #1b2a22;

  /* Ink */
  --ink: #1e2620;
  --ink-soft: #3f4a42;
  --muted: #687168;
  --line: #ddd4c3;
  --line-soft: #e8e1d3;
  --cream: #f4eee2;

  /* Accent (used sparingly) */
  --clay: #a85f3a;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 38, 32, 0.06);
  --shadow: 0 10px 30px -12px rgba(30, 38, 32, 0.22);
  --shadow-lg: 0 30px 60px -28px rgba(30, 38, 32, 0.35);

  --container: 1160px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Keep anchor targets clear of the sticky header */
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "opsz" 96;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--green-700); color: var(--cream); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; border-radius: 6px; }

/* Text treatments --------------------------------------------------------- */
.u {
  text-decoration: underline;
  text-decoration-color: var(--sage-400);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hl { color: var(--green-700); font-style: italic; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-600);
  margin-bottom: 18px;
}
.eyebrow.with-rule::after { content: ""; width: 40px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.accent-bar {
  width: 120px; height: 4px; border-radius: 4px; margin: 22px 0 0;
  background: linear-gradient(90deg, var(--green-700), var(--sage-400) 60%, var(--clay));
}
.center .accent-bar { margin-left: auto; margin-right: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--green-700); color: var(--cream); box-shadow: 0 10px 22px -12px rgba(47, 74, 58, .7); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--green-900); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .9375rem; border-radius: 10px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .96rem;
  padding: 8px 14px; border-radius: 8px; transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-deep); }
.main-nav a[aria-current="page"] { color: var(--green-700); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block; overflow: hidden; max-height: 0; transition: max-height .3s ease;
    border-top: 1px solid transparent;
  }
  .mobile-nav.open { max-height: 480px; border-top-color: var(--line-soft); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 12px var(--gutter) 22px; }
  .mobile-nav a {
    display: block; padding: 13px 4px; text-decoration: none; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-nav li:last-child a { border-bottom: 0; }
  .mobile-nav .btn { margin-top: 14px; width: 100%; color: var(--cream); }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .header-cta .btn { display: none; }
  .brand span { font-size: 1.15rem; }
}

/* Hero -------------------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(198, 212, 191, .55), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(236, 228, 212, .9), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--sage-50); border: 1px solid var(--sage-200);
  color: var(--green-700); font-size: .84rem; font-weight: 600; letter-spacing: .01em;
  margin-bottom: 26px;
}
.pill .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--sage-400); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-figure { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-figure::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg); background: var(--sage-100); z-index: -1;
}
.hero-figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-note {
  text-align: center; max-width: 640px; margin: clamp(44px, 6vw, 72px) auto 0;
  color: var(--ink-soft); font-size: 1.05rem;
  padding-top: 28px; border-top: 1px solid var(--line);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; max-width: 380px; margin-right: 14px; }
  .hero-figure::before { inset: 14px -14px -14px 14px; }
}
@media (max-width: 560px) {
  .pill { flex-direction: column; align-items: flex-start; border-radius: 16px; gap: 2px; }
  .pill .sep { display: none; }
}

/* Testimonial card -------------------------------------------------------- */
/* Standalone testimonial bands on the home page: the neighbouring sections'
   padding sets the gap, so these add none of their own. */
.section-quote { padding: 0; }
.section-quote.after-hero { padding-top: clamp(16px, 2.5vw, 32px); }

.testimonial {
  position: relative; text-align: center;
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px) clamp(22px, 6vw, 96px);
}
.testimonial-avatar {
  width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 22px; object-fit: cover;
  border: 4px solid var(--surface); box-shadow: var(--shadow);
}
.testimonial-avatar.top { object-position: center 18%; }
.testimonial blockquote { margin: 0 auto; max-width: 820px; position: relative; }
.testimonial blockquote::before {
  content: "\201C"; position: absolute; left: -0.55em; top: -0.42em;
  font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--sage-200);
}
.testimonial blockquote p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.45; color: var(--green-700);
  margin: 0;
}
.testimonial blockquote.long p { font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.testimonial-name {
  margin-top: 24px; font-size: .84rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.testimonial-role { font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.testimonial .btn { margin-top: 30px; }
@media (max-width: 560px) {
  .testimonial blockquote::before { left: -0.1em; top: -0.75em; font-size: 4rem; }
}

/* Manifesto (philosophy quote) -------------------------------------------- */
.manifesto h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; margin-bottom: 30px;
}
.manifesto p { font-size: 1.125rem; color: var(--ink-soft); }

/* Comparison -------------------------------------------------------------- */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { max-width: 640px; }
.center .section-head p, .section-head.center p { margin-left: auto; margin-right: auto; }
.compare { display: grid; gap: 12px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-head {
  padding: 18px 22px; border-radius: 14px; font-weight: 700; text-align: center; font-size: 1.02rem;
}
.compare-head.us { background: var(--green-700); color: var(--cream); }
.compare-head.them { background: var(--bg-deep); color: var(--ink-soft); }
.compare-cell {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px; border-radius: 14px; font-size: 1rem; line-height: 1.5;
}
.compare-cell.us { background: var(--surface); border: 1px solid var(--sage-200); color: var(--ink); font-weight: 600; }
.compare-cell.them { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.compare-cell .ico {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
}
.compare-cell.us .ico { background: var(--green-700); color: var(--cream); }
.compare-cell.them .ico { background: var(--bg-deep); color: var(--muted); }
.compare-cell .ico svg { width: 14px; height: 14px; }
.compare-label { display: none; }
.compare-cta { text-align: center; margin-top: 40px; }
@media (max-width: 720px) {
  .compare-row.heads { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
  .compare-row:last-of-type { border-bottom: 0; }
  .compare-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
  .compare-cell.us .compare-label { color: var(--sage-600); }
}

/* Method (three phases) --------------------------------------------------- */
.method-panel {
  background: var(--sage-100); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 72px);
}
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 44px; }
.phase-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.phase-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface); color: var(--green-700); border: 1px solid var(--sage-200);
}
.phase-icon svg { width: 26px; height: 26px; }
.phase-top::after { content: ""; flex: 1; height: 1px; background: var(--sage-400); opacity: .7; }
.phase:last-child .phase-top::after { display: none; }
.phase-num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--sage-600); text-transform: uppercase; margin-bottom: 6px; }
.phase h3 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 400; margin-bottom: 12px; }
.phase p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .phases { grid-template-columns: 1fr; }
  .phase-top::after { display: none; }
}

.method-body {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(48px, 7vw, 80px);
}
.method-body .pull {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--ink);
}
.method-body .pull small { display: block; margin-top: 18px; font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.method-body p { color: var(--ink-soft); }
.method-body .btn { margin-top: 8px; }
.callout {
  border-left: 3px solid var(--sage-600); padding: 4px 0 4px 20px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .method-body { grid-template-columns: 1fr; } }

/* Intro / story teaser ---------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-photo { position: relative; }
.intro-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 57% center;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.intro-photo .badge {
  position: absolute; right: -14px; bottom: 28px;
  background: var(--surface); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.35; color: var(--ink-soft);
}
.intro-photo .badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--green-700); }
.intro-copy h2 { margin-bottom: 22px; }
.intro-copy h2 .sub { display: block; color: var(--green-700); font-style: italic; }
.intro-copy p { color: var(--ink-soft); font-size: 1.1rem; }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-photo { max-width: 420px; }
  .intro-photo .badge { right: 12px; }
}

/* FAQ --------------------------------------------------------------------- */
.faq-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(8px, 2vw, 20px) clamp(20px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-50); color: var(--green-700); transition: transform .25s ease, background-color .2s;
}
.faq-item summary .chev svg { width: 16px; height: 16px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--sage-100); }
.faq-item summary:hover { color: var(--green-700); }
.faq-answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 760px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--green-700); font-weight: 700; }

/* Closing CTA band -------------------------------------------------------- */
.closing {
  background: var(--green-900); color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(22px, 6vw, 88px);
  text-align: center; position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(closest-side, rgba(142, 167, 138, .22), transparent);
  pointer-events: none;
}
.closing > * { position: relative; }
.closing p { color: rgba(244, 238, 226, .82); max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.closing .big {
  font-family: var(--font-display); color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.18;
  max-width: 760px; margin: 34px auto 34px;
}

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 112px); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.footer-nav a:hover { color: var(--green-700); }
.footer-base { margin-top: 32px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Page banner (inner pages) ----------------------------------------------- */
.page-banner {
  position: relative; min-height: clamp(340px, 46vw, 540px);
  display: flex; align-items: flex-end;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
  background: var(--green-900); color: var(--cream);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27, 42, 34, .82) 0%, rgba(27, 42, 34, .45) 45%, rgba(27, 42, 34, .1) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--cream); margin: 0; }
.page-banner .eyebrow { color: var(--sage-200); }
.page-banner p { color: rgba(244, 238, 226, .86); max-width: 520px; margin: 14px 0 0; font-size: 1.15rem; }

.page-intro { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); position: relative; }
.page-intro::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 380px at 80% 0%, rgba(198, 212, 191, .5), transparent 65%);
}
.page-intro h1 { max-width: 880px; }
.page-intro .lead { max-width: 680px; }

/* About story sections ---------------------------------------------------- */
.story { padding: clamp(56px, 8vw, 96px) 0; }
.story-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 72px); max-width: 1000px; margin: 0 auto; }
.story-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.story-title .num { font-size: .8rem; letter-spacing: .14em; font-weight: 700; color: var(--sage-600); text-transform: uppercase; display: block; margin-bottom: 12px; }
.story-body p { font-size: 1.1rem; color: var(--ink-soft); }
.story-body p.kicker { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.story.dark {
  background: var(--green-900); color: var(--cream);
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 93%);
  padding: clamp(110px, 13vw, 170px) 0;
  margin: -24px 0;
}
.story.dark h2 { color: var(--cream); }
.story.dark .story-title .num { color: var(--sage-400); }
.story.dark .story-body p { color: rgba(244, 238, 226, .82); }
.story.dark .story-body p.kicker { color: var(--cream); }
.story.dark strong { color: #fff; }
.story.dark .u { text-decoration-color: var(--sage-400); }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 6px; }
.stat {
  flex: 1 1 150px; border-radius: 14px; padding: 18px 20px;
  background: rgba(244, 238, 226, .06); border: 1px solid rgba(244, 238, 226, .14);
}
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--cream); }
.stat span { font-size: .92rem; color: rgba(244, 238, 226, .72); }
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 8px; }
  .story.dark { clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%); padding: 96px 0; }
}

/* Case studies ------------------------------------------------------------ */
.case-featured {
  background: var(--green-900); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-lg);
}
.case-featured .tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-900); background: var(--sage-200); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.case-featured h2 { color: var(--cream); font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 860px; }
.case-meta { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-600); }
.case-featured .case-meta { color: var(--sage-400); }
.case-featured .case-head { text-align: center; padding-bottom: 28px; border-bottom: 1px solid rgba(244, 238, 226, .14); }
.case-featured .case-head h2 { margin-left: auto; margin-right: auto; }
.video-slot {
  margin: 32px auto 0; max-width: 860px; aspect-ratio: 16 / 9; border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(142, 167, 138, .18), rgba(27, 42, 34, 0) 60%),
    var(--green-800);
  border: 1px dashed rgba(244, 238, 226, .28);
  display: grid; place-items: center; text-align: center; color: rgba(244, 238, 226, .75); font-size: .95rem;
}
.video-slot .play {
  width: 72px; height: 72px; border-radius: 50%; background: var(--cream); color: var(--green-900);
  display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.video-slot .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-slot iframe, .video-slot video { width: 100%; height: 100%; border: 0; border-radius: 16px; }

.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.case-block { border-radius: 14px; padding: 22px; }
.case-block h4 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.case-block h4 .dot { width: 8px; height: 8px; border-radius: 50%; }
.case-block p { margin: 0; font-size: .98rem; line-height: 1.6; }
.case-roi {
  margin: 18px auto 0; text-align: center; border-radius: 14px; padding: 22px 26px; max-width: 760px;
}
.case-roi h4 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px;
}
.case-roi p { margin: 0; font-weight: 600; }
.case-quote {
  margin: 26px auto 0; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.15rem; line-height: 1.55; max-width: 780px;
}

.case-featured .case-block { background: rgba(244, 238, 226, .05); border: 1px solid rgba(244, 238, 226, .12); }
.case-featured .case-block h4 { color: var(--sage-200); }
.case-featured .case-block p { color: rgba(244, 238, 226, .84); }
.case-featured .trap .dot { background: var(--clay); }
.case-featured .shift .dot { background: var(--sage-400); }
.case-featured .case-roi { background: var(--sage-200); color: var(--green-900); }
.case-featured .case-roi p { color: var(--green-900); font-size: 1.08rem; }
.case-featured .case-quote { color: var(--cream); font-size: 1.3rem; }

/* Video embed (no autoplay, so it plays with sound) */
.video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: var(--green-800); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-featured .video-embed.featured-video { max-width: 860px; margin: 32px auto 0; }

/* Compact featured case study (home page) */
.case-compact { padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px); }
.case-compact-head { margin-bottom: 24px; }
.case-compact .tag { margin-bottom: 12px; }
.case-compact-head h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); margin-bottom: 8px; }
.case-compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.5vw, 40px); align-items: center; }
.case-points { display: grid; gap: 10px; }
.case-compact .case-block { padding: 12px 18px; }
.case-compact .case-block h4 { margin-bottom: 4px; }
.case-compact .case-block p { font-size: .95rem; line-height: 1.5; }
.case-compact .case-roi { margin: 0; max-width: none; text-align: left; padding: 12px 18px; }
.case-compact .case-roi h4 { margin-bottom: 4px; }
.case-compact .case-roi p { font-size: .95rem; line-height: 1.5; }
.case-compact .case-quote { margin-top: 26px; font-size: 1.12rem; max-width: 860px; }
.case-compact-cta { text-align: center; margin-top: 18px; }
@media (max-width: 900px) {
  .case-compact-grid { grid-template-columns: 1fr; }
  .case-compact .video-embed { order: -1; }
}

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.case-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.case-card.span { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; width: 100%; }
.case-card-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.avatar-slot {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-700); font-family: var(--font-display); font-size: 1.4rem;
  border: 1px dashed var(--sage-400); overflow: hidden;
}
.avatar-slot img { width: 100%; height: 100%; object-fit: cover; }
.avatar-slot:has(img) { border: 2px solid var(--surface); box-shadow: 0 2px 8px -2px rgba(30, 38, 32, .25); }
.case-card h3 { font-size: 1.32rem; margin: 2px 0 8px; line-height: 1.25; }
.case-card .case-pair { margin-top: 18px; gap: 12px; }
.case-card .case-block { padding: 16px; background: var(--bg); }
.case-card .case-block p { font-size: .94rem; color: var(--ink-soft); }
.case-card .trap h4 { color: var(--clay); }
.case-card .trap .dot { background: var(--clay); }
.case-card .shift h4 { color: var(--sage-600); }
.case-card .shift .dot { background: var(--sage-600); }
.case-card .case-roi { background: var(--sage-50); border: 1px solid var(--sage-100); padding: 16px 18px; margin-top: 12px; }
.case-card .case-roi h4 { color: var(--green-700); }
.case-card .case-roi p { font-size: .97rem; color: var(--ink); }
.case-card .case-quote { font-size: 1.05rem; color: var(--ink-soft); margin-top: 20px; }
.case-card .case-quote::before { content: ""; display: block; width: 36px; height: 2px; background: var(--sage-400); margin: 0 auto 16px; }
@media (max-width: 1080px) {
  .case-card .case-pair { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card.span { max-width: none; }
}
@media (max-width: 640px) {
  .case-featured .case-pair { grid-template-columns: 1fr; }
}

/* Carousel ---------------------------------------------------------------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.carousel-slide { flex: 0 0 100%; min-width: 0; }
.carousel-slide .testimonial {
  border-radius: var(--radius-lg); height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.carousel-cta { text-align: center; margin-top: 22px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.carousel-btn {
  width: 56px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green-700); color: var(--cream); display: grid; place-items: center;
  box-shadow: 0 8px 18px -10px rgba(47, 74, 58, .8); transition: background-color .2s, transform .2s;
}
.carousel-btn:hover { background: var(--green-800); transform: translateY(-1px); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--sage-200); transition: width .25s, background-color .25s;
}
.carousel-dots button[aria-current="true"] { width: 26px; background: var(--green-700); }

/* Science ----------------------------------------------------------------- */
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.jump-links a:hover { border-color: var(--sage-400); background: var(--sage-50); }
.jump-links .n { font-family: var(--font-display); color: var(--sage-600); }

.angle { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.angle-head { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; align-items: baseline; margin-bottom: 34px; }
.angle-num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--sage-400); line-height: 1; }
.angle-head h2 { margin: 0; }
.angle-head .tagline { grid-column: 2; color: var(--muted); font-weight: 600; margin-top: 8px; }
.angle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.angle-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.angle-copy .kicker {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink);
}
@media (max-width: 900px) { .angle-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .angle-head { grid-template-columns: 1fr; } .angle-head .tagline { grid-column: 1; } }

.visual-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.visual-card h4 {
  font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px; font-weight: 700;
}

/* Flow (internal math) */
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 22px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line);
}
.flow li:last-child::before { display: none; }
.flow .step {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sage-50); border: 1px solid var(--sage-200); color: var(--green-700);
}
.flow .step svg { width: 22px; height: 22px; }
.flow li.alarm .step { background: #f6e7dc; border-color: #e7c4ad; color: var(--clay); }
.flow strong { display: block; font-size: 1rem; }
.flow span { font-size: .95rem; color: var(--muted); }

.equation { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); display: grid; gap: 18px; }
.eq-title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; display: flex; justify-content: space-between; }
.eq-title em { font-style: normal; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.bar-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; margin: 6px 0; font-size: .9rem; color: var(--ink-soft); }
.bar { height: 12px; border-radius: 0 6px 6px 0; background: var(--sage-200); }
.bar.defend { background: var(--clay); }
.bar.execute { background: var(--green-700); }
@media (max-width: 420px) { .bar-row { grid-template-columns: 100px 1fr; } }

/* Forgetting curve chart */
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid line { stroke: var(--line-soft); stroke-width: 1; }
.chart-axis text { fill: var(--muted); font-size: 12px; font-family: var(--font-body); }
.chart-axis .axis-title { fill: var(--ink-soft); font-weight: 600; }
.line-workshop { fill: none; stroke: var(--clay); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; }
.line-practice { fill: none; stroke: var(--green-700); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.area-practice { fill: var(--sage-100); opacity: .55; }
.chart-label { font-size: 12.5px; font-weight: 700; font-family: var(--font-body); fill: var(--ink); }
.chart-label.sub { font-weight: 500; fill: var(--muted); }
.chart-dot { stroke: var(--surface); stroke-width: 2; }
.chart-crosshair { stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart-hit { fill: transparent; cursor: crosshair; }
.chart-tooltip {
  position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px));
  background: var(--green-900); color: var(--cream); border-radius: 10px; padding: 10px 12px; font-size: .82rem; line-height: 1.45;
  white-space: nowrap; transition: opacity .12s; box-shadow: var(--shadow);
}
.chart-tooltip b { display: block; margin-bottom: 2px; }
.chart-tooltip .k { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .swatch { width: 22px; height: 0; border-top: 2px solid; }
.legend .swatch.dash { border-top-style: dashed; border-color: var(--clay); }
.legend .swatch.solid { border-color: var(--green-700); }
.chart-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.stat-tile { background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: 16px; padding: 20px; }
.stat-tile strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--green-700); line-height: 1.1; }
.stat-tile span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .stat-tiles { grid-template-columns: 1fr 1fr; } }

/* Context mismatch */
.states { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: stretch; }
.state-box { border-radius: 18px; padding: 20px; position: relative; }
.state-box h5 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.state-box .traits { font-size: .85rem; color: var(--muted); margin: 0 0 16px; }
.state-box.calm { background: var(--sage-50); border: 1px solid var(--sage-200); }
.state-box.desk { background: #f6ece3; border: 1px solid #e7cdb9; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  font-size: .86rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); margin: 0 6px 6px 0;
}
.chip svg { width: 16px; height: 16px; }
.chip.lesson { border-color: var(--sage-400); color: var(--green-700); }
.chip.old { color: var(--clay); border-color: #e7c4ad; }
.chip.ghost { border-style: dashed; color: var(--muted); background: transparent; }
.states-arrow { display: grid; place-items: center; color: var(--clay); }
.states-arrow svg { width: 40px; height: 40px; }
.states-arrow > div { text-align: center; }
.states-arrow svg { margin: 0 auto; }
.states-arrow small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; margin-top: 4px; }
.approach {
  margin-top: 18px; border-radius: 18px; padding: 20px; background: var(--green-900); color: var(--cream);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
}
.approach .check { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-200); color: var(--green-900); display: grid; place-items: center; }
.approach .check svg { width: 22px; height: 22px; }
.approach strong { color: var(--cream); display: block; }
.approach span { color: rgba(244, 238, 226, .78); font-size: .95rem; }
@media (max-width: 560px) {
  .states { grid-template-columns: 1fr; }
  .states-arrow { padding: 6px 0; }
  .states-arrow svg { transform: rotate(90deg); }
}

/* Reveal on scroll -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
