/* Conspire for Good — site styles
   Brand: charcoal #3C3C3B · blue-gray #74A6B7 · teal #54808F · gold #D3B33F
   Type: Raleway (UI, echoes the wordmark) + Playfair Display (voice) */

:root {
  --ink: #2a2a29;
  --charcoal: #3c3c3b;
  --charcoal-2: #333332;
  --paper: #f7f4ee;
  --paper-2: #eee9df;
  --line: #d9d3c7;
  --muted: #5f5d59;
  --blue: #74a6b7;
  --blue-soft: #d7e6eb;
  --teal: #54808f;
  --teal-ink: #3d6572;
  --gold: #d3b33f;
  --gold-ink: #8a7220;

  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
p, li, dd, blockquote { text-wrap: pretty; }
.pull, .quote blockquote p, .statement p { text-wrap: balance; }
::selection { background: var(--blue-soft); }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--charcoal); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 600 .75rem/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.dot { color: var(--gold); font-weight: 700; }

.display {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  line-height: 1.08; letter-spacing: -.015em;
}
.display { text-wrap: wrap; }
.nowrap { white-space: nowrap; }
.display em, .h2 em, .serif-em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0;
}
.h2 {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12; letter-spacing: -.01em;
}
.h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--muted); max-width: 38em; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .lede { margin-top: 1.25rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 1.05rem 1.6rem; border-radius: 999px;
  border: 1.5px solid var(--charcoal);
  background: var(--charcoal); color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: #e2c65a; border-color: #e2c65a; color: var(--charcoal); }
.btn--sm { padding: .8rem 1.2rem; font-size: .72rem; }

.text-link {
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--teal-ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .25s;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: .5rem 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; color: var(--ink);
}
.nav-toggle .bars { display: block; width: 24px; height: 14px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 6px; }
.nav-toggle .bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 144px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.75rem;
    box-shadow: 0 24px 40px -28px rgba(0,0,0,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .2s, visibility 0s .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s, opacity .2s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; padding: 1.1rem 0; font-size: .8rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero .display { margin-bottom: 1.75rem; }
.hero .lede { margin-bottom: 2.5rem; }
.hero-mark { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-mark::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; left: 16%; top: 2%;
  border: 1.5px solid var(--gold); border-radius: 50%; opacity: .75;
}
.hero-mark img { position: relative; width: 100%; }
.hero--page .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.hero-photo { position: relative; justify-self: end; width: min(100%, 430px); }
.hero-photo::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
}
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

@media (max-width: 860px) {
  .hero .wrap, .hero--page .wrap { grid-template-columns: 1fr; }
  .hero-mark { width: min(62vw, 300px); order: -1; justify-self: start; }
  .hero-photo { justify-self: start; width: min(100%, 360px); margin-top: 1rem; }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 2.1rem 1.5rem 2.1rem 0; }
.stats li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1; color: var(--charcoal); margin-bottom: .6rem; }
.stat-label { display: block; font-size: .9rem; line-height: 1.45; color: var(--muted); max-width: 15em; }
@media (max-width: 800px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(40,60,70,.45); }
.service-num { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-ink); margin-bottom: 2.25rem; }
.service .h3 { margin-bottom: .9rem; }
.service p { color: var(--muted); font-size: 1rem; }
.service ul { list-style: none; margin: .5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); flex-grow: 1; }
.service li { position: relative; padding: .35rem 0 .35rem 1.2rem; font-size: .98rem; font-weight: 500; }
.service li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.service .text-link { margin-top: 1.75rem; align-self: flex-start; }
.service--feature { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.service--feature p { color: rgba(255,255,255,.78); }
.service--feature ul { border-color: rgba(255,255,255,.18); }
.service--feature li::before { background: var(--gold); }
.service--feature .service-num { color: var(--gold); }
.service--feature .text-link { color: var(--gold); }
.service--feature:hover { border-color: var(--charcoal); }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Split feature (coaching band, about) ---------- */
.band { background: var(--paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.split-photo { position: relative; }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-photo figcaption {
  position: absolute; left: -1px; bottom: 1.5rem; background: var(--paper); padding: .9rem 1.2rem .9rem 1.4rem;
  border-left: 3px solid var(--gold); font-size: .85rem; line-height: 1.4;
}
.split-photo figcaption strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.split .h2 { margin-bottom: 1.5rem; }
.split p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.75rem 0 2.25rem; padding: 0; }
.chips li { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .7rem 1rem; border: 1px solid var(--teal); color: var(--teal-ink); border-radius: 999px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { max-width: 420px; }
}

/* ---------- Testimonial ---------- */
.quote { max-width: 60rem; margin: 0 auto; text-align: center; }
.quote-mark { display: block; font-family: var(--serif); font-size: 6rem; line-height: .6; color: var(--gold); margin-bottom: 1.5rem; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45; color: var(--charcoal);
}
.quote figcaption { margin-top: 2rem; font-size: .95rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: .02em; }

/* ---------- Clients ---------- */
.dark { background: var(--charcoal); color: #fff; }
.dark .eyebrow { color: var(--gold); }
.dark .lede { color: rgba(255,255,255,.74); }
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(2rem, 4.5vw, 3.25rem) clamp(2.25rem, 5vw, 4rem);
}
.logo-wall li { position: relative; display: flex; align-items: center; }
.logo-wall img { opacity: .82; transition: opacity .2s; }
.logo-wall li:hover img { opacity: 1; }
.logo-note .pmark { color: rgba(255,255,255,.62); opacity: 1; }
.logo-note { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; margin: 2.75rem auto 0; font-size: .82rem; color: rgba(255,255,255,.62); }
.pmark { font-family: var(--serif); font-weight: 400; color: inherit; opacity: .55; font-size: 1em; line-height: 0; }
.logo-wall .pmark { position: absolute; right: -.85rem; top: .15rem; font-size: 1rem; line-height: 1; color: rgba(255,255,255,.62); opacity: 1; }
.directory-group .pmark { margin-left: .2rem; font-size: .8rem; vertical-align: super; color: rgba(255,255,255,.5); opacity: 1; }

.directory { margin-top: clamp(4rem, 8vw, 5.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.16); }
.directory-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2.25rem; }
.directory-head .h3 { color: #fff; }
.directory-head p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 clamp(1.75rem, 3.5vw, 3rem); }
.directory-group { margin: 0 0 2rem; }
.directory-group h4 { font: 600 .7rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
.directory-group ul { list-style: none; margin: 0; padding: 0; }
.directory-group li { font-size: .93rem; line-height: 1.45; padding: .22rem 0; color: rgba(255,255,255,.86); }
.js .directory.is-collapsed .directory-grid { max-height: 26rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.directory-toggle { display: none; margin: 1.5rem auto 0; }
.js .directory-toggle { display: flex; }
.directory-toggle.btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.directory-toggle.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }

/* ---------- Team ---------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; max-width: 1000px; }
.member figure { margin: 0; }
.member-photo { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 1; margin-bottom: 1.25rem; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .5s, transform .6s; }
.member:hover .member-photo img, .member:focus-within .member-photo img { filter: none; transform: scale(1.03); }
.member-name { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.member-role { display: block; margin-top: .45rem; font: 600 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink); }
.mascot {
  display: flex; align-items: center; gap: 1.1rem; margin-top: clamp(2.25rem, 4vw, 3rem);
  padding: 1rem 1.5rem 1rem 1rem; border: 1px dashed var(--line); border-radius: 999px; width: fit-content; max-width: 100%;
}
.mascot img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mascot p { margin: 0; line-height: 1.35; font-size: .95rem; color: var(--muted); }
.mascot strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-right: .4rem; }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .mascot { border-radius: 1.25rem; } }

/* ---------- Manifesto teaser / pull lines ---------- */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--charcoal); }
.pull cite { display: block; margin-top: .9rem; font-family: var(--sans); font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact / footer ---------- */
.contact { background: var(--charcoal); color: #fff; padding: var(--section) 0 clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.contact .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: end; }
.contact .display { margin-bottom: 1.5rem; }
.contact .lede { color: rgba(255,255,255,.76); margin-bottom: 2.25rem; }
.contact .text-link { color: #fff; font-size: 1.05rem; }
.contact .pull { color: rgba(255,255,255,.9); border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.contact .pull cite { color: rgba(255,255,255,.6); }
.contact .eyebrow { color: var(--gold); }
.contact-mark { position: absolute; right: -90px; top: -40px; width: 300px; opacity: .045; pointer-events: none; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

.site-footer { background: var(--charcoal-2); color: rgba(255,255,255,.7); font-size: .88rem; padding: 2.75rem 0 2.25rem; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: start; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-mark { width: 30px; opacity: .9; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a { font: 600 .72rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.footer-meta { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-meta p { margin: 0; }
.footer-meta .aside { font-size: .82rem; color: rgba(255,255,255,.55); max-width: 36rem; }
.footer-meta .aside a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-meta { grid-column: 1; }
}

/* ---------- Coaching page ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.focus { border-top: 2px solid var(--charcoal); padding-top: 1.75rem; }
.focus .h3 { margin-bottom: 1.5rem; }
.focus dl { margin: 0; }
.focus dt { font-weight: 700; font-size: 1rem; margin-top: 1.25rem; }
.focus dt:first-child { margin-top: 0; }
.focus dd { margin: .3rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 900px) { .focus-grid { grid-template-columns: 1fr; max-width: 560px; } }

.about-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-cols .body p { font-size: 1.08rem; color: var(--muted); }
.about-cols .body p:first-child { font-size: 1.22rem; color: var(--ink); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.facts .stat-num { font-size: 2.3rem; }
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } }

.statement { max-width: 52rem; margin: 0 auto; text-align: center; }
.statement p { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.45; color: var(--charcoal); }
.statement cite { font-style: normal; font: 600 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem); counter-reset: step; }
.step { padding: 2rem 0 2.25rem; border-top: 1px solid var(--line); }
.step-num { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 1.1rem; }
.step h3 { font: 700 1.08rem/1.35 var(--sans); margin-bottom: .75rem; }
.step p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 90px; margin: 0 auto 2rem; }
.notfound .lede { margin: 1.25rem auto 2.25rem; }
.notfound .cta-row { justify-content: center; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Quote placements ---------- */
.pull--center { max-width: 40rem; margin: clamp(4rem, 8vw, 6rem) auto 0; text-align: center; }
.pull--center::before { content: ""; display: block; width: 44px; height: 1.5px; background: var(--gold); margin: 0 auto 1.75rem; }
.team-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; margin-top: clamp(2.25rem, 4vw, 3rem); }
.team-foot .mascot { margin-top: 0; }
.team-foot .pull { max-width: 34rem; justify-self: end; text-align: right; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
@media (max-width: 860px) {
  .team-foot { grid-template-columns: 1fr; }
  .team-foot .pull { justify-self: start; text-align: left; }
}

/* ---------- Etymology ---------- */
.etymology { max-width: 40rem; margin: clamp(4rem, 8vw, 6rem) auto 0; text-align: center; }
.etymology::before { content: ""; display: block; width: 44px; height: 1.5px; background: var(--gold); margin: 0 auto 1.75rem; }
.etym-word { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--charcoal); margin-bottom: 1rem; }
.etym-def { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); margin: 0; text-wrap: balance; }
.etym-def em { font-family: var(--serif); color: var(--ink); }

/* ---------- AI section ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.ai-card { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.4rem); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.ai-card:hover { border-color: var(--gold); background: rgba(255,255,255,.05); }
.ai-card .service-num { color: var(--gold); margin-bottom: 1.75rem; }
.ai-card .h3 { color: #fff; margin-bottom: .9rem; }
.ai-card p:last-child { color: rgba(255,255,255,.76); font-size: 1rem; margin: 0; }
.ai-cta { margin-top: clamp(2.25rem, 4vw, 3rem); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Testimonial slider ---------- */
.tslider { position: relative; }
.ttrack {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ttrack::-webkit-scrollbar { display: none; }
.ttrack:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: var(--radius); }
.tslide { flex: 0 0 100%; scroll-snap-align: center; display: flex; }
.tcard {
  display: flex; flex-direction: column; margin: 0; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 5vw, 4rem);
}
.band .tcard { background: var(--paper); }
.tcard .quote-mark { font-size: 4rem; margin-bottom: .5rem; line-height: .7; }
.tcard blockquote { margin: 0 0 1.75rem; }
.tcard blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.6; color: var(--charcoal); margin: 0;
}
.tcard figcaption { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); line-height: 1.45; }
.tcard figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; }

.tnav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.js .tnav { display: flex; }
.tarrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font-size: 1rem; line-height: 1; transition: border-color .2s, background .2s, color .2s;
}
.tarrow:hover:not(:disabled) { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.tarrow:disabled { opacity: .35; cursor: default; }
.tdots { display: flex; gap: .55rem; }
.tdot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; background: var(--line); transition: background .2s, transform .2s;
}
.tdot:hover { background: var(--muted); }
.tdot[aria-current="true"] { background: var(--gold); transform: scale(1.35); }
.dark .tcard, .dark .tarrow { border-color: rgba(255,255,255,.18); }
@media (prefers-reduced-motion: reduce) { .ttrack { scroll-behavior: auto; } }

/* ---------- Team bios ---------- */
.member-bio { margin-top: .9rem; }
.member-bio summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--teal-ink); }
.member-bio summary::-webkit-details-marker { display: none; }
.member-bio summary::after { content: "+"; font-weight: 400; font-size: 1.05rem; line-height: 1; transition: transform .2s; }
.member-bio[open] summary::after { transform: rotate(45deg); }
.member-bio p { margin: .75rem 0 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.member-bio p .text-link { font-size: .85rem; }
