/* Mind Moves Performance — MindMoves.com */

:root {
  --navy: #12263F;
  --navy-soft: #1B3554;
  --clay: #C8663D;
  --clay-dark: #A9512D;
  --bg: #F7F7F5;
  --bg-alt: #EFEFEB;
  --ink: #15181B;
  --muted: #8C8C88;
  --line: #DEDED8;
  --white: #FFFFFF;

  --maxw: 1160px;
  --narrow: 720px;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.15rem, 1.6vw, 1.3rem);
  --text-xl: clamp(1.5rem, 2.8vw, 2rem);
  --text-2xl: clamp(2rem, 4.6vw, 3rem);
  --text-hero: clamp(2.35rem, 6.2vw, 4.15rem);

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;

  --section-y: clamp(3.75rem, 8vw, 7rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.022em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-weight: 640; line-height: 1.3; letter-spacing: -0.012em; }

p { margin: 0 0 var(--sp-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--clay); }

strong { font-weight: 640; color: var(--navy); }

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

::selection { background: rgba(200,102,61,0.18); }

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

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.narrow { max-width: var(--narrow); }

section { padding: var(--section-y) 0; }
section.tight { padding: clamp(2.75rem, 5vw, 4.25rem) 0; }

.eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-2);
}

.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--navy-soft); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247,247,245,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-name { font-size: var(--text-sm); font-weight: 680; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav a {
  font-size: var(--text-sm);
  font-weight: 520;
  color: var(--navy-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--clay); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 560;
  font-family: inherit;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.82rem 1.5rem;
  border-radius: 3px;
  border: 1.5px solid var(--clay);
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  border-bottom-width: 1.5px;
}
.nav a.btn, .nav a.btn:hover { border-bottom-color: var(--clay); color: #fff; }
.nav a.btn:hover { border-bottom-color: var(--clay-dark); }
.btn, .nav a.btn { text-decoration: none !important; }
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { background: transparent; border-color: var(--navy); color: var(--navy); }

.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-sm { padding: 0.6rem 1.15rem; font-size: var(--text-xs); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--sp-4); }

/* ---------- hero ---------- */

.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero:has(.hero-solo) { padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }
.hero h1 { font-size: var(--text-hero); max-width: 19ch; }
.hero.page h1 { font-size: var(--text-2xl); max-width: 24ch; }
.hero .lede { margin-top: var(--sp-3); max-width: 46ch; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* text-forward hero: no image, more air, slightly wider measure */
.hero-solo > * { min-width: 0; }
.hero-solo h1,
.hero-solo .eyebrow,
.hero-solo .lede { overflow-wrap: break-word; }
.hero-solo h1 { max-width: 22ch; }
.hero-solo .lede { max-width: 42ch; }

/* ---------- image placeholder ---------- */

.imgph {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-3);
  min-height: 300px;
  overflow: hidden;
}
.imgph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}
.imgph::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border: 1.5px solid var(--clay);
  opacity: 0.22;
  border-radius: 50%;
}
.imgph span {
  position: relative;
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 560;
  background: var(--bg);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.imgph.tall { min-height: 420px; }

/* ---------- callout band ---------- */

.band {
  background: var(--navy);
  color: #fff;
  padding: clamp(3.25rem, 7.5vw, 5.75rem) 0;
}
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,0.78); }
.band .eyebrow { color: rgba(255,255,255,0.55); }

.band-line {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 30ch;
  margin: 0;
  text-wrap: balance;
}
.band-line em { font-style: normal; color: #E9A57F; }

.band-sub { margin-top: var(--sp-3); max-width: 52ch; color: rgba(255,255,255,0.72); }

/* ---------- grids ---------- */

.cols { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split.rev { grid-template-columns: 1.15fr 0.85fr; }
.split-sticky { position: sticky; top: 108px; }

/* ---------- cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--navy-soft); font-size: var(--text-sm); line-height: 1.6; }

.pillar {
  border-top: 2px solid var(--navy);
  padding-top: var(--sp-2);
}
.pillar .num {
  display: block;
  font-size: var(--text-xs);
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.5rem;
}
.pillar h3 { margin-bottom: 0.55rem; }
.pillar p { color: var(--navy-soft); font-size: var(--text-sm); line-height: 1.6; }

.svc {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-2);
}
.svc h3 { font-size: var(--text-base); font-weight: 660; margin-bottom: 0.4rem; }
.svc p { font-size: var(--text-sm); color: var(--navy-soft); line-height: 1.55; }

/* ---------- lists ---------- */

.checks { list-style: none; margin: var(--sp-2) 0 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--navy-soft);
  line-height: 1.55;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--clay);
  border-radius: 50%;
}
.checks.tight li { margin-bottom: 0.45rem; font-size: var(--text-sm); }
.band .checks li { color: rgba(255,255,255,0.8); }
.band .checks li::before { border-color: #E9A57F; }

.dl { margin: var(--sp-2) 0 0; }
.dl div { padding: var(--sp-2) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: var(--sp-3); }
.dl dt { font-weight: 640; color: var(--navy); font-size: var(--text-sm); }
.dl dd { margin: 0; color: var(--navy-soft); font-size: var(--text-sm); line-height: 1.6; }

/* ---------- prose ---------- */

.prose p { max-width: 64ch; color: var(--navy-soft); margin-bottom: var(--sp-2); }
.prose p.first { font-size: var(--text-lg); color: var(--navy); line-height: 1.55; }
.prose h2 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); }

.pullquote {
  margin: var(--sp-6) 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 2px solid var(--clay);
  font-size: var(--text-lg);
  font-weight: 560;
  color: var(--navy);
  line-height: 1.4;
  max-width: 34ch;
}

/* ---------- slots badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  margin-bottom: var(--sp-3);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex-shrink: 0; }
.band .badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }

/* ---------- scope note ---------- */

.scope {
  background: var(--bg-alt);
  border-left: 2px solid var(--navy);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 0 4px 4px 0;
}
.scope h3 { font-size: var(--text-base); font-weight: 660; margin-bottom: 0.5rem; }
.scope p { font-size: var(--text-sm); color: var(--navy-soft); line-height: 1.6; }

/* ---------- form ---------- */

.form { display: grid; gap: var(--sp-3); }
.field { display: grid; gap: 0.4rem; }
.field.two { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field label, .fieldset legend {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}
.field .hint { font-size: var(--text-xs); color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.7rem 0.8rem;
  width: 100%;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(18,38,63,0.08); }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.55; }

.radios { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.radios label, .checkline {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-sm);
  font-weight: 450;
  color: var(--navy-soft);
  line-height: 1.5;
  cursor: pointer;
}
.radios input, .checkline input { margin: 0.28em 0 0; accent-color: var(--clay); flex-shrink: 0; width: auto; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }

.form-note { font-size: var(--text-sm); color: var(--muted); }

.thanks {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--clay);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.thanks.show { display: block; }
.thanks h2 { margin-bottom: var(--sp-2); }
.thanks p { color: var(--navy-soft); max-width: 52ch; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-8) 0 var(--sp-4);
  font-size: var(--text-sm);
}
.footer a { color: rgba(255,255,255,0.85); text-decoration-color: rgba(255,255,255,0.3); }
.footer a:hover { color: #fff; text-decoration-color: #E9A57F; }
.footer .brand { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,0.55); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}
.footer h4 {
  color: #fff;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 620;
  margin-bottom: var(--sp-2);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer .tag { margin-top: var(--sp-2); color: rgba(255,255,255,0.6); max-width: 34ch; }

.disclaimer {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: var(--sp-3);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 84ch;
}
.legal {
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

/* ---------- reveal ---------- */

.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .split.rev { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .dl div { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn { margin-top: 0.85rem; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .header { position: relative; }
}

@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .imgph { min-height: 230px; }
  .imgph.tall { min-height: 280px; }
}

/* ---------- brand mark ---------- */

.brand .mark {
  height: 28px;
  width: auto;
  display: block;
  flex: none;
}
.footer .brand .mark { height: 32px; }

/* ---------- real photography ---------- */

.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-alt);
  align-self: start;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo.tall img { aspect-ratio: 4 / 5; }
.stack { display: grid; gap: var(--sp-3); align-content: start; }

/* ---------- Training the Mind entries ---------- */

.entries { display: grid; gap: var(--sp-4); }
.entry {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.5rem, 3.4vw, 2.25rem);
}
.entry-head { display: flex; gap: var(--sp-3); align-items: flex-start; }
.entry-num {
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--clay);
  padding-top: 0.3rem;
  flex: none;
}
.entry h3 {
  font-size: var(--text-xl);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0.45rem 0 0;
  max-width: 34ch;
  text-wrap: balance;
}
.entry .standfirst {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}
.entry-body { margin-top: var(--sp-3); }
.entry-body summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--clay);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.18s var(--ease);
}
.entry-body summary::-webkit-details-marker { display: none; }
.entry-body summary::after {
  content: "\2193";
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}
.entry-body[open] summary::after { transform: rotate(180deg); }
.entry-body summary:hover { color: var(--clay-dark); }
.entry-body summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.entry-body[open] summary { margin-bottom: var(--sp-3); }
.entry-body .prose { max-width: 68ch; }
.entry-body .prose p { margin: 0 0 1.05em; }
.entry-body .prose p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .entry-head { gap: var(--sp-2); }
  .entry h3 { font-size: var(--text-lg); }
}

.photo figcaption {
  margin-top: 0.7rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* hero grid children must be allowed to shrink below their min-content width */
.hero-grid > * { min-width: 0; }
.hero-grid h1, .hero-grid .eyebrow, .hero-grid .lede { overflow-wrap: break-word; }

/* ---- diagrams (cornerstones donut, care-team venn) ---- */
.diagram{margin:2.25rem 0 0;max-width:340px}
.diagram.wide{max-width:800px;margin:2.75rem 0 0;display:grid;grid-template-columns:300px 1fr;gap:2.5rem 3rem;align-items:center}
.diagram svg{display:block;width:100%;height:auto}
.diagram .legend{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:.85rem}
.diagram .legend li{position:relative;padding-left:1.6rem;font-size:var(--text-sm);font-weight:600;color:var(--navy);line-height:1.35}
.diagram .legend em{display:block;font-style:normal;font-weight:400;color:var(--muted);font-size:var(--text-xs);margin-top:.15rem}
.diagram .legend .sw{position:absolute;left:0;top:.3em;width:.7rem;height:.7rem;border-radius:2px}
.diagram .legend .sw.dark{background:#15181B}
.diagram figcaption{margin-top:1.4rem;font-size:var(--text-xs);color:var(--muted);line-height:1.5;max-width:44ch}
.diagram.wide figcaption{grid-column:1/-1;margin-top:.25rem}
@media (max-width:760px){
  .diagram.wide{grid-template-columns:1fr;gap:.5rem}
  .diagram.wide svg{max-width:300px;margin:0 auto}
}
