/* ==========================================================================
   Hibiscus Collaborative — bold / minimal / brutalist
   Palette: black, white, lavender, ochre. Nothing else.
   Lavender marks what is owned or decided. Ochre marks what is unowned,
   stalled, or costly. They carry near-identical contrast against black
   (10.6:1 and 10.4:1) so neither reads as louder than the other.
   Rules:   sharp corners, thick rules, no shadows, no gradients.
   ========================================================================== */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --lavender: #cba8ff;
  --ochre: #f0a92e;

  --grey: #6a6a6a;        /* the one grey for text: labels, notes */
  --line-grey: #d9d9d9;   /* the one grey for hairlines */

  --line: 3px;
  --line-thick: 6px;

  --max: 84rem;
  --measure: 46rem;   /* the single text measure */
  --gap: clamp(1.15rem, 4vw, 3.5rem);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; border-radius: 0 !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Type -------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.95rem, 5.2vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.35rem, 2.9vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.15rem; }

.lede {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.55;
  max-width: var(--measure);
}

.big {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  font-weight: 500;
  max-width: var(--measure);
  letter-spacing: -0.02em;
}

/* Solid marker highlight, not a squiggle */
.mark-hl {
  background: var(--lavender);
  padding: 0.02em 0.1em;
  margin: 0 -0.02em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
  z-index: 40;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.9vw, 1.15rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2.25rem);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: var(--line) solid transparent;
  white-space: nowrap;
}

.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--lavender); }

@media (max-width: 58rem) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0.65rem; }
  .site-nav { width: 100%; gap: 1.1rem; flex-wrap: wrap; }
}

/* Sections ---------------------------------------------------------------- */
section { padding: clamp(3.5rem, 8vw, 7rem) 0; border-bottom: var(--line) solid var(--ink); }
/* No divider means the two sections should read as continuous, so close the
   padding on both sides of the join. */
.no-rule { border-bottom: 0; padding-bottom: clamp(0.75rem, 1.4vw, 1.15rem); }
.no-rule + section { padding-top: clamp(0.75rem, 1.4vw, 1.15rem); }

.invert { background: var(--ink); color: var(--paper); }
.invert h2, .invert h3 { color: var(--paper); }
.lav  { background: var(--lavender); color: var(--ink); }  /* used by practice/community CTA */

/* Section head: number block + header */
.section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* Number chip stacks above the header: every section keeps ONE left edge,
   shared with the content below it. */

.section-num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -0.02em;
  background: var(--ink);
  color: var(--paper);
  padding: 0.3rem 0.6rem;
  align-self: start;
  justify-self: start;
}

.invert .section-num { background: var(--lavender); color: var(--ink); }

.head-body h2 { margin-bottom: 1.25rem; }

/* Number chip sits on the same line as its heading */
.block-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.block-head .section-num { margin-bottom: 0; flex-shrink: 0; }
.block-head h3 { margin: 0; }

.head-body .lede:last-child, .head-body .big:last-child { margin-bottom: 0; }

/* Hero -------------------------------------------------------------------- */
.hero { padding-top: clamp(3rem, 8vw, 6.5rem); border-bottom: var(--line-thick) solid var(--ink); }

/* Secondary pages: headline + one paragraph, so the homepage's
   padding leaves the block floating. */
.hero--compact {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero .wrap > :last-child { margin-bottom: 0; }
.hero h1 { margin-bottom: 2.25rem; }

.page-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-bottom: 1rem;
}

.page-eyebrow::before { content: "\2014  "; }
.hero .big { margin-bottom: 2.5rem; }

/* Links / CTAs ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  background: var(--lavender);
  border: var(--line) solid var(--ink);
  padding: 0.75rem 1.35rem;
  transition: background 0.12s linear, color 0.12s linear;
  /* The email address is one unbreakable token; a <wbr> after the @ lets it
     wrap inside narrow CTA boxes. `anywhere` rather than `break-word`: only
     `anywhere` also shrinks the element's min-content width, which is what
     lets it stop forcing its flex parent wider than the box. */
  overflow-wrap: anywhere;
  text-align: center;
}

.btn:hover { background: var(--ink); color: var(--lavender); }

.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.invert .btn { border-color: var(--lavender); }
.invert .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.link-underline {
  text-decoration: none;
  border-bottom: var(--line) solid var(--lavender);
  padding-bottom: 1px;
}

.link-underline:hover { border-bottom-color: currentColor; }

/* Spec strip — a document header, not a banner ---------------------------- */
.spec { border-bottom: var(--line) solid var(--ink); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin: 0;
}

.spec-grid > div {
  padding: 0.95rem 1.35rem;
  border-left: 1px solid var(--ink);
}

.spec-grid > div:first-child { border-left: 0; padding-left: 0; }
.spec-grid > div:last-child { padding-right: 0; }

.spec-grid dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin-bottom: 0.3rem;
}

.spec-grid dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Institutional record — roles held, not clients. Sits directly under the
   spec strip so the names are read before the services, not after. --------- */
.proof {
  border-bottom: var(--line) solid var(--ink);
  padding: 0.95rem 0;   /* matches .spec-grid > div's vertical rhythm */
}

/* Same treatment as .spec-grid dt */
.proof__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin-bottom: 0.3rem;
}

.proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
}

/* Same treatment as .spec-grid dd, including the 1px ink divider */
.proof__list li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0 1.35rem;
  border-left: 1px solid var(--ink);
}

.proof__list li:first-child { padding-left: 0; border-left: 0; }

@media (max-width: 40rem) {
  .proof__list { display: block; }
  .proof__list li {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
    padding-top: 0.35rem;
    margin-top: 0.35rem;
  }
  .proof__list li:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
}

/* Two-column document grid: content + margin notes ----------------------- */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

@media (max-width: 64rem) {
  .doc { grid-template-columns: minmax(0, 1fr); }
}

.doc__meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--grey);
  border-top: var(--line) solid var(--lavender);
  padding-top: 0.85rem;
}

.doc__meta p { margin: 0 0 0.8rem; max-width: none; }
.doc__meta p:last-child { margin-bottom: 0; }

.doc__meta .label {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

/* Marginalia — the "(and what doesn't)" instinct, as a system element ------ */
.annotation {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--grey);
  border-top: var(--line) solid var(--lavender);
  padding-top: 0.9rem;
  max-width: none;
  margin: 1.5rem 0 0;
}

.doc__meta .annotation { border-top: 0; padding-top: 0; margin: 0; font-size: inherit; }

.annotation::before { content: "\203B  "; color: var(--ink); }

/* Self-diagnostic — the symptom list, made usable. Layout and checkbox styling
   only apply once diagnostic.js has added .dx__list, so the no-JS list is
   untouched. ------------------------------------------------------------- */
.dx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

@media (max-width: 64rem) {
  .dx { grid-template-columns: minmax(0, 1fr); }
}

.dx__list li { padding: 0; }

.dx__row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) 0;
  cursor: pointer;
}

.dx__box {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  border: var(--line) solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.dx__box:checked { background: var(--ink); }

.dx__box:checked::after {
  content: "";
  display: block;
  width: 0.32rem;
  height: 0.62rem;
  margin: 0.03rem auto 0;
  border: solid var(--ochre);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.dx__box:focus-visible { outline: var(--line) solid var(--lavender); outline-offset: 3px; }
.dx__row:hover .dx__box { background: var(--lavender); }
.dx__row:hover .dx__box:checked { background: var(--ink); }

.dx__panel {
  border: var(--line) solid var(--ink);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.dx__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin-bottom: 0.7rem;
}

.dx__prompt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--grey);
}

.dx__panel.is-active { background: var(--lavender); }

.dx__count {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--ink);
}

.dx__count strong { font-size: 1.9rem; }

.dx__lead {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dx__service {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.dx__meta {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.dx__send {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  padding: 0.7rem 0.8rem;
}

.dx__send:hover { background: var(--paper); color: var(--ink); }

/* Who this is not for — stated plainly, because only a practice with work
   turns some of it away. -------------------------------------------------- */
.notfor {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: var(--line) solid var(--ink);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.notfor h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin-bottom: 1rem;
}

/* 17rem, not .doc's default 15rem, so this note shares a left edge with the
   diagnostic panel directly above it. */
.notfor .doc { grid-template-columns: minmax(0, 1fr) 17rem; }

@media (max-width: 64rem) {
  .notfor .doc { grid-template-columns: minmax(0, 1fr); }
}

.notfor ul { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }

.notfor li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  position: relative;
  border-top: 1px solid var(--lavender);
}

.notfor li:first-child { border-top: 0; padding-top: 0; }

.notfor li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--grey);
}

/* Numbered stack list ------------------------------------------------------ */
.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line) solid var(--ink);
}

.stack li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0.75rem;
  border-bottom: var(--line) solid var(--ink);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.45;
}

.stack .n { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; }

/* Unnumbered variant — for lists that aren't a sequence */
.stack--plain li { grid-template-columns: minmax(0, 1fr); gap: 0; }

.stack li:hover { background: var(--lavender); }

/* Column grid ------------------------------------------------------------- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  border-top: var(--line) solid var(--ink);
  border-left: var(--line) solid var(--ink);
}

.cols > * {
  border-right: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.invert .cols, .invert .cols > * { border-color: var(--lavender); }

.col-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  display: block;
  margin-bottom: 0.9rem;
}

.cols h3 { margin-bottom: 0.75rem; }

.cols p { margin: 0 0 0.9rem; }
.cols p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin: 1.1rem 0 0.35rem;
}

.invert .eyebrow { color: var(--lavender); }

.cols ul { list-style: none; margin: 0; padding: 0; }

.cols ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.cols ul li:last-child { border-bottom: 0; }
.invert .cols ul li { border-color: var(--lavender); }

.timeline {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  margin-top: 1.1rem;
  display: block;
}

/* Fee sits directly under the duration, not spaced as a separate block */
.timeline--fee { margin-top: 0.35rem; }

/* Current-section indicator ----------------------------------------------
   Injected by JS; shows which section you're reading. Decorative for AT —
   screen readers already navigate by heading. */
.section-indicator {
  position: fixed;
  right: var(--gap);
  top: calc(4.25rem + 1rem);   /* clears the sticky site header */
  z-index: 30;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.section-indicator.is-visible { opacity: 1; transform: none; }
.section-indicator .num { color: var(--ink); }

@media (max-width: 52rem) { .section-indicator { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .section-indicator { transition: none; transform: none; }
}

/* CTA band: text left, action right ------------------------------------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.cta-row__text { flex: 1 1 24rem; }
.cta-row__text h2 { margin-bottom: 1rem; }
.cta-row__text .big { margin-bottom: 0; }

/* Click-to-copy ---------------------------------------------------------- */
/* Injected by JS only when the clipboard API is available, so the plain
   mailto link is never degraded. */
.cta-email {
  display: inline-flex;   /* shrink to the button so it stays left-aligned */
  flex-direction: column;
  align-items: center;
}

.copy-btn {
  border: 0;
  background: none;
  padding: 0.55rem 0 0;
  margin: 0.55rem 0 0;
  display: block;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.12s linear;
}

.copy-btn:hover,
.copy-btn:focus-visible { opacity: 1; }

.copy-btn::before { content: "\2398  "; }
.copy-btn.is-copied { opacity: 1; }
.copy-btn.is-copied::before { content: "\2713  "; }

/* Artifact samples — the documents, drawn in type ------------------------ */
.sample {
  border: var(--line) solid var(--ink);
  margin-top: 1.5rem;
  overflow-x: auto;
}

.sample__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: baseline;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.sample__bar .tag { color: var(--lavender); }

.sample table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  min-width: 42rem;
}

.sample th {
  text-align: left;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0.7rem 1rem;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}

.sample td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line-grey);
  vertical-align: top;
}

.sample tr:last-child td { border-bottom: 0; }
.sample td:first-child { font-weight: 700; }
/* Lavender = owned/decided. Ochre = unowned/stalled/costly. The two marks are
   the palette's only semantic pair; do not use either decoratively. */
.sample .decides { background: var(--lavender); font-weight: 700; }

/* Sample variants: findings list + workflow strip ------------------------ */
.sample__body { padding: 1.1rem 1rem; }

.findings { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 0.82rem; }

.findings li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 6rem 6rem;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-grey);
}

.findings li:last-child { border-bottom: 0; }
.findings .rank { font-weight: 700; }
.findings .cost { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.66rem; }
.findings .hi { background: var(--ochre); padding: 0.1rem 0.35rem; font-weight: 700; }

@media (max-width: 46rem) {
  .findings li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .findings .cost { grid-column: 2; }
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.flow__step {
  flex: 1 1 8rem;
  border: 2px solid var(--ink);
  margin-right: -2px;
  padding: 0.7rem 0.8rem;
  min-width: 8rem;
}

.flow__step .who {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.3rem;
}

.flow__step.stall { background: var(--ochre); }
.flow__step.stall .who { color: var(--ink); }
.flow__note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin: 0.9rem 0 0;
  color: var(--grey);
  border-top: 1px solid var(--lavender);
  padding-top: 0.9rem;
}

/* A note sitting directly under a table has no .sample__body padding to sit
   inside, so it carries its own. */
.sample > .flow__note {
  padding: 0.9rem 1rem 1rem;
  margin-top: 0;
}

/* Reading entry — repeatable; copy the <article> to add another book ------ */
.reading {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding-top: 2rem;
  border-top: var(--line) solid var(--ink);
  margin-top: 2rem;
}

@media (max-width: 40rem) {
  .reading { grid-template-columns: minmax(0, 1fr); }
  .reading__cover { max-width: 11rem; }
}

.reading__cover {
  width: 100%;
  height: auto;
  display: block;
  border: var(--line) solid var(--ink);
}

.reading__how {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

.reading__how .label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.35rem;
}

.reading__title { margin: 0 0 0.35rem; }
.reading__title a { border-bottom-width: var(--line); }
.reading__body > p:last-child { margin-bottom: 0; }

.reading__author {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin: 0 0 1.1rem;
}

/* Portrait grid ---------------------------------------------------------- */
/* Portrait entry — image beside a session card; same spine as .reading ---- */
.portraits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: 2rem;
}

/* Session card left, image right, two entries across. The photo takes the
   flexible track so it gets the space; the card only ever takes what it needs.
   <figcaption> sits before <img> in the markup so reading order matches. */
.portraits figure {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
  margin: 0;
  max-width: 34rem;   /* keeps the photo sane when the grid drops to one column */
}

.portraits img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--line) solid var(--ink);
}

/* The card is the "date box" — it stays narrow so the date reads as a stamp,
   not as a paragraph. */
.portrait__card {
  border: var(--line) solid var(--ink);
  padding: clamp(0.8rem, 1.3vw, 1rem);
}

.portrait__card .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;   /* tighter than the other labels so it holds two lines */
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.4rem;
}

.portrait__date {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.2;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--lavender);
}

.portrait__place {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  margin: 0.7rem 0 0;
}

@media (max-width: 32rem) {
  .portraits figure { grid-template-columns: minmax(0, 1fr); }
  .portraits img { max-width: 17rem; }
  .portrait__card { max-width: 17rem; }
}

/* Pricing bands — the numbers are what people scan for, so they lead ------ */
.bands { list-style: none; margin: 0 0 2.25rem; padding: 0; }

.bands li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--lavender);
}

.bands li:last-child { border-bottom: 0; }

.band__name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.band__fee {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.band__fee abbr { text-decoration: none; border: 0; }
.band__fee small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Sits right under the numbers, where "I can't afford that" happens */
.bands__note {
  border-left: var(--line) solid var(--lavender);
  padding-left: 1.1rem;
  max-width: 46rem;
  margin: 0 0 2.25rem;
}

/* Drivers — deliberately quieter than the bands above them */
.drivers__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lavender);
  margin: 0 0 0.9rem;
}

.drivers { list-style: none; margin: 0; padding: 0; max-width: 46rem; }

.drivers li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.drivers strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Closing CTA ------------------------------------------------------------ */
.cta-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--lavender);
  border: var(--line) solid var(--ink);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Text shrinks so the address stays on the right instead of wrapping under */
.cta-end > div:first-child { flex: 1 1 18rem; }
.cta-end .cta-email { flex: 0 0 auto; }

/* On narrow screens the address is wider than the box it sits in — it is one
   long token, so flex cannot shrink it. Full-width button, smaller type and
   tighter padding, and the <wbr> after the @ breaks it into two clean lines
   instead of letting it run past the box edge. */
@media (max-width: 34rem) {
  .cta-end .btn,
  .cta-row .btn {
    display: block;
    width: 100%;
    /* Measured: "hibiscuscollaborative.com" renders 272px at 13.6px, which
       overflowed the 261px text area and broke the domain mid-word. At 12px
       it is 239px, so the address wraps once at the @ and no further. */
    font-size: 0.75rem;
    padding: 0.75rem 0.6rem;
    letter-spacing: 0;
  }
  /* min-width:0 defeats the flex item's automatic min-content floor, so the
     column can actually narrow to the box. */
  .cta-end .cta-email,
  .cta-row .cta-email {
    flex: 1 1 100%;
    min-width: 0;
    align-items: stretch;
  }
}

.cta-end h3 { margin-bottom: 0.4rem; }

.cta-end p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.cta-end .btn,
#cta .btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.cta-end .btn:hover,
#cta .btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

/* Founder ----------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }

@media (min-width: 64rem) {
  .founder { grid-template-columns: 21rem minmax(0, 1fr); gap: 0 clamp(2rem, 4vw, 4rem); }
}

.founder-photo {
  width: 100%;
  max-width: 21rem;
  height: auto;          /* lets aspect-ratio win over the height attribute */
  aspect-ratio: 1 / 1;
  object-fit: cover;          /* file is already cropped square */
  border: var(--line) solid var(--ink);
  display: block;
  margin-bottom: 1.5rem;
}

.founder .name {
  font-family: var(--font-display);
  font-weight: 700;
  /* Trimmed from 2.7rem so "CHRISTELLE" keeps clearance inside the 21rem
     photo column even on a wide fallback face. */
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.05em;
  /* Last-resort break only; without it an overlong name would overflow the
     column instead. Not `anywhere`, which breaks eagerly. */
  overflow-wrap: break-word;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.founder .name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.06em;
  text-decoration-skip-ink: none;
}

.founder .name a:hover { text-decoration-color: var(--ink); }


.founder-body p { max-width: var(--measure); }

/* The bio's first line now sits beside the FOUNDER heading rather than the
   photo's border. Body text carries more half-leading above its cap-height
   than the display face does, so it still needs a nudge — but a smaller one
   than the 0.5rem the hard border wanted. */
.founder-body > p:first-child { margin-top: -0.25rem; }
.founder-body p:last-child { margin-bottom: 0; }

/* FAQ --------------------------------------------------------------------- */
.faq { border-top: var(--line) solid var(--ink); }

.faq details { border-bottom: var(--line) solid var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }

.faq .answer { padding: 0 0.75rem 1.5rem; max-width: var(--measure); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Email lockup ------------------------------------------------------------ */
.email-lockup {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.6vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-decoration: none;
  word-break: break-word;
  border-bottom: var(--line-thick) solid var(--lavender);
  padding-bottom: 0.1em;
}

.email-lockup:hover { border-bottom-color: currentColor; }

.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }

/* Placeholder for pages awaiting content ---------------------------------- */
.placeholder {
  border: var(--line) solid var(--ink);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  max-width: 46rem;
}

.placeholder h3 { margin-bottom: 1rem; }
.placeholder p:last-child { margin-bottom: 0; }

/* In-section blocks -------------------------------------------------------
   Sub-parts of a consolidated section. The h3 is sized like an h2 so it reads
   as a real division, while staying correct in the heading outline. */
.block { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.block--first { margin-top: 1.75rem; }

.block > h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.block > .lede { margin-bottom: 1.75rem; }

/* Entry offer — the cheap door. Lavender rather than inverted so it reads as
   an opening, not as a fourth service competing with the three above. ------ */
.entry {
  background: var(--lavender);
  border: var(--line) solid var(--ink);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: var(--line) solid var(--ink);
}

.entry__head h3 { margin: 0; }

.entry__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.entry__body { max-width: var(--measure); }
.entry .btn { background: var(--ink); color: var(--paper); margin-top: 0.6rem; }
.entry .btn:hover { background: var(--paper); color: var(--ink); }

.bands small { font-family: var(--font-mono); font-weight: 400; text-transform: none; letter-spacing: 0; }

.block-invert {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.block-invert > h3 { color: var(--paper); }
.block-invert p { color: var(--grey); max-width: none; }
.block-invert .btn { border-color: var(--lavender); }
.block-invert .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 2.5rem 0; }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a { text-decoration: none; border-bottom: 2px solid var(--lavender); }

.footer-mark { border-bottom-color: transparent !important; }
.footer-mark:hover { border-bottom-color: var(--ink) !important; }
.site-footer a:hover { border-bottom-color: var(--ink); }

.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Utility ----------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: var(--line) solid var(--lavender); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* ===== Gym-template structure, in the site's own fonts and palette ===== */
:root { --lav-tint: #f1e8ff; --rule: 1px solid var(--ink); }
.gh { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--lav-tint); border-bottom: var(--rule); padding: 0.8rem clamp(1rem, 2vw, 1.5rem); position: sticky; top: 0; z-index: 40; }
.gh__mark { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; text-decoration: none; font-size: clamp(0.85rem, 1.4vw, 1.05rem); }
.gh__nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.gh__nav a { text-decoration: none; }
.gh__nav a[aria-current="page"] { border-bottom: 2px solid var(--ink); }
.gh__cta { background: var(--lavender); padding: 0.6rem 1rem; border: var(--rule); }
.gh__cta:hover { background: var(--ink); color: var(--paper); }

.g { padding: 0; border-bottom: var(--rule); }
.g__title { font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.055em; padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 2vw, 1.5rem); margin: 0; border-bottom: var(--rule); max-width: 22ch; max-width: none; }
.g__accent { color: var(--lavender); -webkit-text-stroke: 0; }
.g__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-bottom: var(--rule); }
.g__photo { position: relative; min-height: 30rem; border-right: var(--rule); }
.g__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.g__panel { background: var(--lav-tint); padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.g__panel-title { font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.05; letter-spacing: -0.04em; margin: 0; }
.g__panel p { font-size: 1rem; line-height: 1.5; margin: 0 0 1.5rem; }
.g__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.g__btn { background: var(--lavender); border: var(--rule); padding: 0.7rem 1.1rem; text-decoration: none; }
.g__btn:hover { background: var(--ink); color: var(--paper); }
.g__link { text-decoration: none; border-bottom: 2px solid var(--ink); }
.g__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g__row a { display: block; text-decoration: none; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem); background: var(--lav-tint); border-right: var(--rule); font-size: 0.95rem; line-height: 1.45; }
.g__row a:last-child { border-right: 0; }
.g__row a:hover { background: var(--lavender); }
.g__row-title { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.1; margin-bottom: 0.6rem; }
@media (max-width: 52rem) {
  .gh { flex-wrap: wrap; } .gh__nav { gap: 0.9rem; flex-wrap: wrap; font-size: 0.7rem; }
  .g__grid, .g__row { grid-template-columns: minmax(0, 1fr); }
  .g__photo { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: var(--rule); }
  .g__row a { border-right: 0; border-bottom: var(--rule); }
}

/* ===== Rest of the site in the same style ===== */
:root {
  --line: 1px;          /* thin rules everywhere, as in the template */
  --line-thick: 1px;
  --gutter: clamp(1rem, 2vw, 1.5rem);
}

/* Content runs edge to edge on the same gutter as the header */
.wrap { max-width: none; padding: 0 var(--gutter); }

section { padding: clamp(2.25rem, 4.5vw, 3.5rem) 0; border-bottom: var(--rule); }
.section-head { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.head-body h2 { margin-bottom: 1rem; }
h2 { font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 0.95; letter-spacing: -0.055em; }
.block { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.block > h3 { font-size: clamp(1.25rem, 2.4vw, 1.9rem); }

/* Spec + proof strips */
.spec, .proof { border-bottom: var(--rule); }
.spec-grid > div:first-child { padding-left: 0; }

/* Service cards and approach cells become pale-lavender panels */
.cols { border-color: var(--ink); background: var(--lav-tint); }
.cols > * { border-color: var(--ink); }
.cols ul li { border-bottom-color: var(--line-grey); }

/* Pricing: pale lavender instead of black */
.block-invert { background: var(--lav-tint); color: var(--ink); border: var(--rule); }
.block-invert > h3 { color: var(--ink); }
.block-invert p { color: var(--ink); }
.bands li { border-bottom-color: var(--ink); }
.bands__note { border-left-color: var(--ink); }
.drivers__label { color: var(--grey); }

/* Entry offer and closing CTA keep full lavender; thin borders */
.entry, .cta-end { border: var(--rule); }

/* Lists and checkboxes pick up the thin rule */
.stack { border-top: var(--rule); }
.stack li { border-bottom: var(--rule); padding: 1rem 0.75rem; }
.dx__row { padding: 0.75rem 0; }
.dx__box { border-width: 2px; }
.dx__panel { border: var(--rule); background: var(--lav-tint); }
.dx__panel.is-active { background: var(--lavender); }
.notfor { border-top: var(--rule); margin-top: 2.25rem; }
.sample { border: var(--rule); }
.reading, .portrait__card, .reading__cover, .portraits img { border-width: 1px; }
.reading { border-top: var(--rule); }

/* Founder: photo panel beside the bio */
.founder-photo { border: var(--rule); max-width: 24rem; }
@media (min-width: 64rem) { .founder { grid-template-columns: 24rem minmax(0, 1fr); } }

/* Buttons match the header: flat lavender with a thin ink border */
.btn { border-width: 1px; font-family: var(--font-mono); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.06em; padding: 0.75rem 1.1rem; }
.btn-outline { background: transparent; }

/* Inner-page hero */
.hero--compact { border-bottom: var(--rule); }
.hero--compact h1 { font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.055em; }

/* Section indicator sits under the slimmer header */
.section-indicator { border-width: 1px; top: calc(3.5rem + 1rem); }

/* Footer echoes the header bar */
.site-footer { background: var(--lav-tint); border-top: var(--rule); padding: 1.5rem 0; }

/* Fix: the portrait grid's 26rem minimum was wider than a phone, so the
   In Community page scrolled sideways. */
.portraits { grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr)); }
.hero--compact h1 .mark-hl { background: none; color: var(--lavender); padding: 0; margin: 0; }

/* Purple used as TEXT on white or pale lavender. The brand lavender is only
   about 2:1 against white, below the 3:1 accessibility minimum for large
   text; this deeper shade of the same hue is about 5:1. Backgrounds,
   highlights and buttons keep the brand lavender. */
:root { --lavender-text: #8357cc; }
.g__accent, .hero--compact h1 .mark-hl { color: var(--lavender-text); }

/* Spec strip lines up with the three service boxes above it: same three
   equal columns, same dividers, same gutter. */
.spec .wrap { padding: 0; }
.spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-grid > div,
.spec-grid > div:first-child,
.spec-grid > div:last-child { padding: 0.95rem var(--gutter); border-left: var(--rule); }
.spec-grid > div:first-child { border-left: 0; }
@media (max-width: 52rem) {
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-grid > div, .spec-grid > div:first-child { border-left: 0; border-top: var(--rule); }
  .spec-grid > div:first-child { border-top: 0; }
}
/* Dividers on the right, exactly like the service boxes, so the text inside
   starts on the same pixel too. */
.spec-grid > div,
.spec-grid > div:first-child,
.spec-grid > div:last-child { border-left: 0; border-right: var(--rule); }
.spec-grid > div:last-child { border-right: 0; }
@media (max-width: 52rem) { .spec-grid > div, .spec-grid > div:first-child { border-right: 0; } }

/* Home headline on one line: the text is ~25.4x its font size wide, so the
   size is set from the space between the gutters (with a little slack).
   Phones get a larger size and let it wrap. */
.g__title { font-size: calc((100vw - 2 * var(--gutter)) / 26); }
@media (max-width: 52rem) { .g__title { font-size: clamp(2rem, 9vw, 3rem); } }

/* Panel beside the photo: the blurb leads, the founder line sits with the buttons */
.g__panel .g__lead { font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; margin: 0; }

/* ===== Type scale ======================================================
   One hierarchy across all three pages (sizes at a 1440px-wide window):
     page headline (h1) ...... ~54px   home and inner pages match
     section heading (h2) .... ~40px   always below the h1
     block heading ........... ~26px   Pricing, What to expect, My approach
     card / item heading ..... ~19px
     body .................... 18px
     small mono text ......... 12-13px
     labels .................. 11.5px  floor; nothing smaller
   ======================================================================= */
h2 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1; }
.hero--compact h1 { font-size: clamp(2.2rem, 3.75vw, 3.4rem); line-height: 1; }
.block > h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.founder .name { font-size: clamp(1.6rem, 2.35vw, 2.1rem); }
.col-num { font-size: clamp(1.3rem, 1.7vw, 1.5rem); }

/* Labels had dropped to ~10px; 0.72rem (11.5px) is the floor. */
.spec-grid dt, .proof__label, .dx__label, .doc__meta .label, .eyebrow,
.drivers__label, .copy-btn, .band__fee small, .band__name small,
.reading__how .label, .portrait__card .label, .page-eyebrow, .sample__bar,
.sample th, .flow__step .who, .findings .cost, .dx__lead, .footer-fine {
  font-size: 0.72rem;
}
.flow__note { font-size: 0.8rem; }
.section-indicator { font-size: 0.72rem; }
@media (max-width: 52rem) { .gh__nav { font-size: 0.72rem; } }

/* Panel beside the photo: one block of text, evenly spaced. The two
   paragraphs share a size and sit a normal paragraph apart, with the buttons
   right after, instead of being pushed to the top and bottom of the panel. */
.g__panel { justify-content: center; gap: 0; }
.g__panel .g__lead,
.g__panel p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 1.1rem; }
.g__panel .g__actions { margin-top: 0.9rem; }

/* Reading entries: same rhythm as blocks elsewhere (was 2rem + 2rem) */
.reading { margin-top: 1.5rem; padding-top: 1.5rem; }

/* ===== Color balance =================================================
   Pale lavender marks the top of each page; lavender marks what to act on
   or what is decided; ochre marks problems, friction and cost.
   ======================================================================= */
/* 1. Pale lavender marks the top of each page (header, hero, service row)
      and the footer; content sections below sit on white. */
.cols, .block-invert, .dx__panel { background: var(--paper); }
.hero--compact { background: var(--lav-tint); }
/* 2. Labels on full lavender are black, not grey */
.dx__panel.is-active .dx__label, .lav .copy-btn, .entry .copy-btn, .cta-end .copy-btn { color: var(--ink); opacity: 1; }
/* 3. Community: the details beside each book and portrait get the tint */
.portrait__card { background: var(--lav-tint); }

/* 4. More ochre, kept to its meaning: problems, friction, what it costs.
      Ochre is never text on white (2:1); it's a fill behind black text
      (10.4:1) or a marker. */
:root { --ochre-tint: #fdf1dc; }
/* The symptom checklist: each problem gets an ochre marker; a checked one
   fills with ochre tint */
.dx__list li, .stack--plain li { border-left: 4px solid var(--ochre); }
.dx__list li:has(.dx__box:checked) { background: var(--ochre-tint); }
.stack--plain li:hover { background: var(--ochre-tint); }
/* "Not your person if": ochre dashes */
.notfor li::before { color: var(--ochre); font-weight: 700; }
.notfor li { border-top-color: var(--ochre); }
/* "Best for" / "Solves": the problem each service answers */
.eyebrow { display: inline-block; background: var(--ochre); color: var(--ink); padding: 0.15rem 0.45rem; }
/* "What moves the number": cost drivers */
.drivers__label { display: inline-block; background: var(--ochre); color: var(--ink); padding: 0.15rem 0.45rem; }

/* Founder name on one line. The name is ~13.9x its font size wide and the
   photo column is 24rem, so 1.65rem fits; on phones it scales to the screen. */
.founder .name { font-size: min(1.65rem, calc((100vw - 2 * var(--gutter)) / 14.2)); }

/* Home headline: "for the people" in the deep purple used for text accents */
.g__title .g__accent { color: var(--lavender-text); background: none; padding: 0; }

/* ===== Warmer ==========================================================
   Warm paper and soft ink instead of pure white and pure black. Page and
   section titles stay in capitals; card-level headings and the founder name
   are in regular case. The typewriter face is kept for small labels only;
   buttons and the menu use the body font.
   ======================================================================= */
:root { --paper: #ffffff; --ink: #1c1a19; }
html { background: var(--paper); }

.cols h3, .g__row-title, .entry__head h3, .reading__title, .founder .name {
  text-transform: none;
  letter-spacing: -0.035em;
}

.gh__nav, .btn, .g__btn, .g__link, .gh__cta {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.98rem;
}

/* "I'm probably not your person if" reads as a sentence, not a title */
.notfor h3 { text-transform: none; letter-spacing: -0.035em; }

/* "Pricing" in regular case */
.block-invert > h3 { text-transform: none; letter-spacing: -0.035em; }

/* Heading case, one rule across all pages:
   page titles (h1) and section titles (h2) in capitals;
   every heading below that (h3 and smaller) in regular case. */
h3, .block > h3, .block-head h3 { text-transform: none; letter-spacing: -0.035em; }

/* ===== Palette: Dusty Grape & Sunflower Gold ==========================
   Ink #07070a on Porcelain #fffffb. Dusty Grape #5b5f97 is the action and
   emphasis color (buttons, highlights, closing bands, headline accent) with
   Porcelain text on it (5.9:1). Pale Slate #b8b8d1, as a light tint, marks
   the top of each page. Sunflower Gold #ffc145 marks problems and cost,
   with ink text (12.4:1). Grape and gold stay distinct for every common
   type of color blindness.
   ======================================================================= */
:root {
  --paper: #fffffb;
  --ink: #07070a;
  --lavender: #5b5f97;        /* role: primary (name kept so older rules follow) */
  --lavender-text: #5b5f97;
  --lav-tint: #e3e3ed;
  --ochre: #ffc145;           /* role: problem / cost marker */
  --ochre-tint: #fff3da;
  --grey: #6b6d75;
  --on-primary: #fffffb;
}
html, body { background: var(--paper); color: var(--ink); }

/* Text on grape is Porcelain */
.mark-hl, .btn, .g__btn, .gh__cta, .sample .decides, .stack li:hover,
.g__row a:hover, .g__row a:hover *, .dx__panel.is-active, .dx__panel.is-active * { color: var(--on-primary); }
.lav, .lav h2, .lav p, .lav .copy-btn,
.entry, .entry h3, .entry p, .entry .entry__price, .entry .copy-btn { color: var(--on-primary); }
.entry__head { border-bottom-color: var(--on-primary); }
.entry { border-color: var(--lavender); }
.lav .btn, .entry .btn { background: var(--on-primary); color: var(--lavender); border-color: var(--on-primary); }
.lav .btn:hover, .entry .btn:hover { background: var(--ink); color: var(--on-primary); border-color: var(--ink); }
.btn:hover, .g__btn:hover, .gh__cta:hover { background: var(--ink); color: var(--on-primary); }
.g__accent, .hero--compact h1 .mark-hl { color: var(--lavender-text) !important; background: none; }

/* Problem markers: gold with ink text */
.eyebrow, .drivers__label, .findings .hi { color: var(--on-primary) !important; }
.flow__step.stall, .flow__step.stall .who { color: var(--on-primary); }
.dx__box:checked::after { border-color: var(--on-primary); }

/* Sample bars are ink; their tag reads in Porcelain */
.sample__bar .tag { color: var(--on-primary); }

.eyebrow, .drivers__label, .findings .hi, .flow__step.stall, .flow__step.stall .who { color: #07070a !important; }
.dx__box:checked::after { border-color: var(--ochre); }

/* Checklist: calm by default, gold only once a box is checked.
   Hover is a pale slate wash with ink text; a checked row gets a pale gold
   fill and a gold edge, and the black box shows a gold tick. */
.dx__list li, .stack--plain li { border-left: 0; }
.dx__row { padding-left: 0.75rem; padding-right: 0.75rem; }
.dx__list li:hover, .stack--plain li:hover { background: var(--lav-tint); }
.dx__list li:hover, .dx__list li:hover *, .stack--plain li:hover, .stack--plain li:hover * { color: var(--ink); }
.dx__list li:has(.dx__box:checked) { background: var(--ochre-tint); box-shadow: inset 4px 0 0 var(--ochre); }
.dx__row:hover .dx__box { background: var(--paper); }
.dx__row:hover .dx__box:checked { background: var(--ink); }

/* ===== Animated approach ("My approach") ===============================
   Three stages on a line that draws left to right. Each stage has a small
   drawing: scattered points being connected (two gold = friction found),
   options branching with one grape path chosen, and blocks locking into a
   grid. Final state is the default; motion only runs once journey.js adds
   .is-ready, and is skipped for prefers-reduced-motion.
   ======================================================================= */
.journey {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
/* the connecting line, behind the number badges */
.journey::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(var(--art-h, 7.5rem) + 1.25rem + 1.1rem);
  height: 3px; background: var(--lavender); transform-origin: left center;
}
.journey__step { padding: 0 clamp(1rem, 2vw, 1.75rem) 0 0; position: relative; }
.journey__art { display: block; width: 100%; max-width: 13rem; height: var(--art-h, 7.5rem); margin-bottom: 1.25rem; overflow: visible; }
.journey__num {
  position: relative; z-index: 1; display: inline-grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50% !important;
  background: var(--lavender); color: var(--on-primary);
  font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem;
  box-shadow: 0 0 0 5px var(--paper);
  margin-bottom: 1rem;
}
.journey h3 { margin-bottom: 0.5rem; }
.journey p { margin: 0 0 0.9rem; max-width: 22rem; }
.journey__out { font-size: 0.95rem; border-top: 1px solid var(--line-grey); padding-top: 0.75rem; }
.journey__out span {
  display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey); margin-bottom: 0.25rem;
}

/* drawing styles: hand-drawn and a bit playful */
.journey__art path, .journey__art line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.j-note { stroke: var(--ink); stroke-width: 1.5; fill: var(--paper); transform-box: fill-box; transform-origin: center; transform: rotate(var(--r, 0deg)); }
.j-note--pale { fill: var(--lav-tint); }
.j-note--gold { fill: var(--ochre); }
.j-note--grape { fill: var(--lavender); }
.j-scribble { stroke: var(--ink); stroke-width: 2; }
.j-bang { font-family: var(--font-display); font-weight: 700; font-size: 18px; fill: var(--ink); }
.j-mag circle { fill: rgba(255,255,255,0.35); stroke: var(--lavender); stroke-width: 3; }
.j-mag line { stroke: var(--lavender); stroke-width: 4; }
.j-mag { transform: translate(135px, 21px); }
.j-cross { stroke: var(--grey); stroke-width: 2.5; }
.j-circle { stroke: var(--lavender); stroke-width: 3; }
.j-tick { stroke: var(--lavender); stroke-width: 3.5; }
.j-snap { transform: none; }
.j-badge circle { fill: var(--lavender); }
.j-badge path { stroke: var(--on-primary); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.j-badge { transform-box: fill-box; transform-origin: center; }
.j-confetti line { stroke: var(--ochre); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }

/* the connecting line: a hand-drawn wave instead of a ruler-straight bar */
.journey::before {
  height: 12px; background: none;
  top: calc(var(--art-h, 7.5rem) + 1.25rem + 1.1rem - 6px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q 10 0 20 6 T 40 6' fill='none' stroke='%235b5f97' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 40px 12px;
}

/* ---- motion: initial states only apply once JS marks .is-ready ---- */
.journey.is-ready::before { clip-path: inset(0 100% 0 0); transform: none; }
.journey.is-ready .journey__step > :not(svg) { opacity: 0; transform: translateY(10px); }
.journey.is-ready .j-scribble, .journey.is-ready .j-cross, .journey.is-ready .j-circle, .journey.is-ready .j-tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.journey.is-ready .j-note { transform: translateY(-30px) rotate(calc(var(--r, 0deg) * 3)); opacity: 0; }
.journey.is-ready .j-snap { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); opacity: 0; }
.journey.is-ready .j-bang { opacity: 0; }
.journey.is-ready .j-mag { transform: translate(10px, 60px); opacity: 0; }
.journey.is-ready .j-badge { transform: scale(0); }

.journey.is-in::before { clip-path: inset(0 0 0 0); transition: clip-path 1.8s cubic-bezier(.65,0,.35,1) 0.2s; animation: j-march 1.2s linear 2.0s 3; }
@keyframes j-march { to { background-position: 40px 0; } }
.journey.is-in .journey__step > :not(svg) { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; transition-delay: calc(0.4s + var(--i) * 0.7s); }

/* stage 1: a tangle scribbles itself in, notes flutter down, the magnifier hunts and finds the gold one */
.journey.is-in .j-scribble { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease .2s; }
.journey.is-in .j-note { opacity: 1; transform: rotate(var(--r, 0deg)); transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; transition-delay: calc(.5s + var(--d) * .15s); }
.journey.is-in .j-mag { opacity: 1; animation: j-hunt 1.6s cubic-bezier(.45,0,.3,1) .9s both; }
@keyframes j-hunt { 0% { transform: translate(10px, 60px); } 35% { transform: translate(60px, 30px); } 65% { transform: translate(95px, 62px); } 100% { transform: translate(135px, 21px); } }
.journey.is-in .j-bang { opacity: 1; transition: opacity .2s ease 2.5s; animation: j-wiggle .5s ease 2.5s 2; transform-box: fill-box; transform-origin: center; }
@keyframes j-wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

/* stage 2: options pinned up, two get crossed out, one gets circled and ticked */
.journey.is-in .journey__step:nth-child(2) .j-note { transition-delay: calc(1.0s + var(--d) * .15s); }
.journey.is-in .j-cross { stroke-dashoffset: 0; transition: stroke-dashoffset .4s ease 1.9s; }
.journey.is-in .j-cross--2 { transition-delay: 2.15s; }
.journey.is-in .j-circle { stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease 2.45s; }
.journey.is-in .j-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .3s ease 3.0s; }

/* stage 3: scattered notes snap into a tidy grid, then a little celebration */
.journey.is-in .j-snap { opacity: 1; transform: none; transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; transition-delay: calc(2.4s + var(--d) * .1s); }
.journey.is-in .j-badge { transform: scale(1); transition: transform .45s cubic-bezier(.34,1.8,.64,1) 3.5s; }
.journey.is-in .j-confetti line { animation: j-pop .7s ease-out 3.6s 1; }
@keyframes j-pop { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.j-confetti { transform-box: fill-box; transform-origin: 134px 76px; }
.j-confetti line { transform-box: view-box; transform-origin: 134px 76px; }

/* phones: stack the stages, line runs down the left */
@media (max-width: 52rem) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .journey::before { top: 0; bottom: 0; left: 1.1rem; right: auto; width: 3px; height: auto; transform-origin: top center; }
  .journey::before { background-image: repeating-linear-gradient(to bottom, var(--lavender) 0 10px, transparent 10px 16px); background-size: auto; width: 3px; height: auto; top: 0; }
  .journey.is-ready::before { clip-path: inset(0 0 100% 0); }
  .journey.is-in::before { clip-path: inset(0 0 0 0); animation: none; }
  .journey__step { padding-left: 3.5rem; }
  .journey__num { position: absolute; left: 0; top: 0; }
  .journey__art { max-width: 11rem; height: 6rem; }
}
/* hide the round-cap dot a not-yet-drawn line leaves behind */
.journey.is-ready .j-scribble, .journey.is-ready .j-cross, .journey.is-ready .j-circle, .journey.is-ready .j-tick { opacity: 0; }
.journey.is-in .j-scribble { opacity: 1; transition: stroke-dashoffset 1.1s ease .2s, opacity 0s .2s; }
.journey.is-in .j-cross { opacity: 1; transition: stroke-dashoffset .4s ease 1.9s, opacity 0s 1.9s; }
.journey.is-in .j-cross--2 { transition: stroke-dashoffset .4s ease 2.15s, opacity 0s 2.15s; }
.journey.is-in .j-circle { opacity: 1; transition: stroke-dashoffset .6s ease 2.45s, opacity 0s 2.45s; }
.journey.is-in .j-tick { opacity: 1; transition: stroke-dashoffset .3s ease 3.0s, opacity 0s 3.0s; }
/* notes: hidden with visibility as well, since an invisible note inside the
   sketch filter can still leave a speck in some browsers */
.journey.is-ready .j-note { visibility: hidden; }
.journey.is-in .j-note { visibility: visible; transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .3s ease, visibility 0s; transition-delay: calc(.5s + var(--d) * .15s); }
.journey.is-in .journey__step:nth-child(2) .j-note { transition-delay: calc(1.0s + var(--d) * .15s); }
.journey.is-in .j-snap { transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .25s ease, visibility 0s; transition-delay: calc(2.4s + var(--d) * .1s); }
/* the sketch filter can paint a stray pixel on an empty drawing; keep each
   later drawing hidden until its stage starts */
.journey.is-ready .journey__step:nth-child(2) .journey__art > g,
.journey.is-ready .journey__step:nth-child(3) .journey__art > g:first-of-type { visibility: hidden; }
.journey.is-in .journey__step:nth-child(2) .journey__art > g { visibility: visible; transition: visibility 0s 1.0s; }
.journey.is-in .journey__step:nth-child(3) .journey__art > g:first-of-type { visibility: visible; transition: visibility 0s 2.4s; }

/* ===== Workflow map animation (In Practice) ============================ */
.flow--live { position: relative; padding-top: 1.6rem; }
.flow__step { position: relative; transition: background .3s ease, opacity .3s ease, border-style 0s; }
.flow--live .flow__step.is-here { background: var(--lav-tint); }
.flow--live .flow__step.is-done .who::after { content: " ✓"; color: var(--lavender); }
.flow--live .flow__step.is-waiting { border-style: dashed; }
.flow--live .flow__step.is-waiting .who::after { content: " · waiting"; color: var(--grey); }
.flow--live .flow__step.stall.is-stuck { animation: flow-shake .45s ease 3; }
@keyframes flow-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-3px) rotate(-.6deg); } 75% { transform: translateX(3px) rotate(.6deg); } }
.flow__token {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; z-index: 2;
  background: var(--lavender); border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  opacity: 0; transition: transform .6s cubic-bezier(.34,1.4,.64,1), opacity .3s ease;
}
.flow__token::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 2px; background: var(--paper); box-shadow: 0 5px 0 var(--paper); }
.flow__token.is-on { opacity: 1; }
.flow__token.is-stuck { animation: token-bob .9s ease-in-out infinite; }
@keyframes token-bob { 50% { margin-top: -4px; } }
.flow__days {
  position: absolute; right: -6px; top: -12px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: .04em;
  background: var(--ink); color: var(--paper); padding: .15rem .4rem;
  transform: rotate(4deg) scale(0); transform-origin: center; transition: transform .3s cubic-bezier(.34,1.8,.64,1);
}
.flow__days.is-on, .flow__step.is-ringed .flow__days { transform: rotate(4deg) scale(1); }
.flow__ring { position: absolute; inset: -10px -8px; width: calc(100% + 16px); height: calc(100% + 20px); overflow: visible; pointer-events: none; }
.flow__ring path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.flow__step.is-ringed .flow__ring path { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .7s ease, opacity 0s; }

/* ===== Checklist pile (home page) ===================================== */
.dx__side { display: flex; flex-direction: column; gap: 1rem; }
.dx__pile { border: 1.5px dashed var(--grey); padding: .75rem; min-height: 6.5rem; }
.dx__pile-label { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--grey); margin-bottom: .5rem; }
.dx__pile-notes { display: flex; flex-wrap: wrap; gap: 4px; }
.dx__note {
  display: inline-block; width: 34px; height: 34px;
  background: var(--ochre); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(var(--r, 0deg)); position: relative;
}
.dx__note::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink); opacity: .55; }
.dx__note.is-landed { animation: note-land .35s cubic-bezier(.34,1.8,.64,1); }
@keyframes note-land { 0% { transform: rotate(var(--r)) scale(1.15); } 100% { transform: rotate(var(--r)) scale(1); } }
.dx__note.is-leaving { transition: transform .3s ease, opacity .3s ease; transform: rotate(40deg) translateY(-20px) scale(.6); opacity: 0; }
.dx__note--fly { position: fixed; z-index: 60; margin: 0; pointer-events: none; transition: transform .6s cubic-bezier(.5,-0.3,.4,1.3); }
.dx__service { position: relative; display: inline-block; }
.dx__service.is-new { animation: dx-write .5s steps(12) both; }
@keyframes dx-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.dx__scribble { display: block; width: 100%; height: 10px; margin-top: 2px; overflow: visible; }
.dx__scribble path { fill: none; stroke: var(--ochre); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dx__service.is-drawn .dx__scribble path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease .45s; }
/* the stalled step keeps its gold (that's its meaning) and sits above its
   neighbours so the hand-drawn ring isn't covered */
.flow--live .flow__step.stall, .flow--live .flow__step.stall.is-here { background: var(--ochre); z-index: 2; }
.flow__ring path { vector-effect: none; stroke-width: 2.4; }
.flow__ring { inset: -16px -12px; width: calc(100% + 24px); height: calc(100% + 32px); }
.flow__ring path { stroke-width: 1.1; }

/* ===== Decision-rights table animation (In Practice) ================== */
.rights--live td.decides { transition: background .35s ease, color .35s ease; }
.rights--live td.decides.is-contested { background: var(--ochre-tint); color: var(--ink); }
.rights__extra { display: inline-block; white-space: nowrap; max-width: 12rem; overflow: hidden; vertical-align: bottom; transition: max-width .4s ease, opacity .3s ease; }
.rights__name {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: 0 55%; background-size: 0% 2px;
  transition: background-size .25s ease;
}
.rights__extra.is-struck .rights__name { background-size: 100% 2px; }
.rights__extra.is-gone { max-width: 0; opacity: 0; }

/* ===== Hand-drawn underlines: headline accent and section titles ====== */
.sk-host { position: relative; }
.sk-headline { position: absolute; left: -2%; width: 104%; bottom: -0.16em; height: 0.28em; overflow: visible; pointer-events: none; }
.sk-headline path { fill: none; stroke: var(--ochre); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk-host.is-drawn .sk-headline path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1); }

.sk-title { position: relative; }
.sk-under { display: block; width: var(--uw, 6em); max-width: 100%; height: 0.32em; margin-top: 0.08em; overflow: visible; }
.sk-under path { fill: none; stroke: var(--ochre); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk-title.is-drawn .sk-under path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.65,0,.35,1); }
.no-motion .sk-under path, .no-motion .sk-headline path { transition: none !important; }

/* ===== Buttons: a little wobble and a hand-drawn underline on hover ==== */
.btn, .g__btn, .gh__cta { position: relative; }
.btn::after, .g__btn::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -10px; height: 7px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C 25 1, 45 8, 70 4 S 92 3, 98 5' fill='none' stroke='%23ffc145' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .35s ease;
}
.btn:hover::after, .g__btn:hover::after, .btn:focus-visible::after, .g__btn:focus-visible::after { clip-path: inset(0 0 0 0); }
.btn:hover, .g__btn:hover, .gh__cta:hover { animation: btn-wobble .45s ease; }
@keyframes btn-wobble { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-2deg); } 65% { transform: rotate(1.5deg); } }
.dx__send::after { display: none; }

/* ===== In Community: pinned covers and taped-on labels ================ */
.reading { position: relative; }
.reading__cover { transform: rotate(-2deg); box-shadow: 3px 4px 0 rgba(7,7,10,.12); transition: transform .3s ease; }
.reading:nth-of-type(even) .reading__cover { transform: rotate(1.8deg); }
.reading__cover:hover { transform: rotate(0); }
.reading::before {
  content: ""; position: absolute; z-index: 2; top: calc(2rem - 9px); left: 3.6rem;
  width: 3.8rem; height: 1.15rem; background: rgba(255,193,69,.75);
  border-left: 1px dashed rgba(7,7,10,.25); border-right: 1px dashed rgba(7,7,10,.25);
  transform: rotate(-5deg); pointer-events: none;
}
.reading:nth-of-type(even)::before { transform: rotate(4deg); left: 3.2rem; }
.portrait__card { position: relative; background: var(--paper); transform: rotate(-1.5deg); box-shadow: 2px 3px 0 rgba(7,7,10,.1); }
.portraits figure:nth-child(even) .portrait__card { transform: rotate(1.2deg); }
.portrait__card::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 3.2rem; height: 1rem; margin-left: -1.6rem;
  background: rgba(184,184,209,.8); transform: rotate(3deg); pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .g__btn:hover, .gh__cta:hover { animation: none; }
  .rights--live td.decides, .rights__extra, .rights__name { transition: none; }
}
.rights--live { table-layout: fixed; } .rights--live td.decides { white-space: normal; }
/* contested names stack under the decider, then fold away */
.rights__sep { display: none; }
.rights__extra { display: block; max-width: none; max-height: 1.6em; transition: max-height .4s ease, opacity .3s ease; }
.rights__extra.is-gone { max-width: none; max-height: 0; }

/* How an engagement starts, under the approach animation */
.journey__after {
  max-width: var(--measure); margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding-top: 1.1rem; border-top: 1px solid var(--line-grey);
  font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.55;
}

/* Two columns under the approach: lines stay readable, block spans the width */
.journey__after {
  max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.journey__after p { margin: 0; max-width: 36rem; }
.journey__after-label {
  display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey); margin-bottom: 0.4rem;
}
@media (max-width: 52rem) { .journey__after { grid-template-columns: minmax(0, 1fr); } }

/* ===== Line system ======================================================
   Three levels, one job each:
   1. Ink (--rule): section breaks only, plus the header, footer and the
      hero frame.
   2. Light grey (--soft): everything inside a section (list rows, card
      dividers, notes).
   3. Hand-drawn gold/grape: decoration and sequence (underlines, the
      approach wave). Boxes that spacing already separates lose their outline.
   ======================================================================= */
:root { --soft: 1px solid var(--line-grey); }

/* inside sections: grey */
.stack, .stack li, .dx__list li, .stack--plain li { border-color: var(--line-grey) !important; }
.notfor { border-top: var(--soft); }
.notfor li { border-top-color: var(--line-grey); }
.doc__meta { border-top-color: var(--line-grey); }
.proof__list li { border-left-color: var(--line-grey); }
.bands__note { border-left-color: var(--line-grey); }
.journey__out, .journey__after { border-top-color: var(--line-grey); }

/* service cards: no outer frame, grey dividers between cards */
.cols { border: 0; background: transparent; }
.cols > * { border: 0; border-left: var(--soft); }
.cols > *:first-child { border-left: 0; padding-left: 0; }
#services .cols > * { padding-top: 0; padding-bottom: 0; }

/* boxes spacing already separates: no outline */
.block-invert { border: 0; padding-left: 0; padding-right: 0; background: transparent; }
.dx__panel { border: 0; }
.dx__pile { border: 0; padding: 0; }
.founder-photo { border: 0; }
.entry { border: 0; }
@media (max-width: 52rem) { .cols > * { border-left: 0; border-top: var(--soft); padding-left: 0; padding-top: 1.25rem; } .cols > *:first-child { border-top: 0; } }

/* same rules on In Practice and In Community */
.sample { border-color: var(--line-grey); }
.sample > .flow__note, .flow__note { border-top-color: var(--line-grey); }
.reading { border-top: var(--soft); }
.reading__cover, .portraits img { border: 0; }
.portrait__card { border-color: var(--line-grey); }
.portrait__date { border-bottom-color: var(--line-grey); }

/* "Your read" card: a pale slate card at rest (grape once something is
   checked); "Your pile" only appears once there's a note in it, and sits on
   the same card so the two read as one unit. */
.dx__side { gap: 0; }
.dx__panel { background: var(--lav-tint); padding: clamp(1rem, 2vw, 1.35rem); }
.dx__panel.is-active { background: var(--lavender); }
.dx__pile { display: none; background: var(--lav-tint); padding: 0.9rem clamp(1rem, 2vw, 1.35rem) 1rem; }
.dx__pile.has-notes { display: block; }

/* Roles & handoffs sample: newly owned coordination work */
.sample td .hi { background: var(--ochre); padding: 0.1rem 0.35rem; font-weight: 700; color: var(--ink); }
.sample td .was { display: inline-block; margin-left: 0.4rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* Interim card: the "someone to do the job" line leads the card */
.cols .card-lead { font-weight: 500; margin: 0 0 0.25rem; }

/* short lead under a "From …" heading on In Practice */
.block-lead { max-width: var(--measure); margin: -0.4rem 0 1.25rem; }


/* ===== Home hero illustration (replaces the stock photo) =====
   A tangle of notes on the left, a grape arrow, a clear board on the right.
   Finished state is the default; hero-ill.js adds .is-ready then .is-in. */
.g__ill { background: var(--ochre-tint); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.g__ill svg { width: 100%; height: 100%; max-height: 34rem; overflow: visible; }
.ill rect, .ill path { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ill path { fill: none; }
.ill-note, .ill-snap { transform-box: fill-box; transform-origin: center; }
.ill-note { transform: rotate(var(--r, 0deg)); }
.ill .n-gold { fill: var(--ochre); }
.ill .n-pale { fill: var(--lav-tint); }
.ill .n-white { fill: #fff; }
.ill .n-grape { fill: var(--lavender); }
.ill text { font-family: var(--font-mono); font-size: 15px; text-anchor: middle; fill: var(--ink); stroke: none; }
.ill text.big { font-family: var(--font-display); font-weight: 700; font-size: 42px; }
.ill text.lbl { font-weight: 700; font-size: 14px; letter-spacing: 0.12em; fill: var(--grey); }
.ill .ill-scrib { stroke-width: 2; }
.ill .ill-arrow { stroke: var(--lavender); stroke-width: 5; }
.ill .ill-board { fill: #fff; stroke-width: 3; }
.ill .ill-gold { stroke: var(--ochre); stroke-width: 6; }
.ill .ill-tick { stroke: #fff; stroke-width: 5; }
.ill .ill-line { stroke: var(--grey); stroke-width: 2; }
@media (max-width: 720px) {
  .g__ill { aspect-ratio: auto; padding: 1.5rem 1rem; }
}

/* animation: notes tumble in, tangle draws, arrow sweeps, board fills, ticks land */
.g__ill.is-ready .ill-note { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(calc(var(--r) * 3)); }
.g__ill.is-ready .ill-scrib,
.g__ill.is-ready .ill-arrow,
.g__ill.is-ready .ill-gold,
.g__ill.is-ready .ill-tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.g__ill.is-ready .ill-boardwrap { opacity: 0; }
.g__ill.is-ready .ill-snap { opacity: 0; transform: translate(-14px, 18px) rotate(-14deg) scale(0.7); }

.g__ill.is-in .ill-note {
  opacity: 1; transform: rotate(var(--r));
  transition: opacity 0.25s ease calc(var(--d) * 0.09s), transform 0.5s cubic-bezier(.3,1.5,.5,1) calc(var(--d) * 0.09s);
}
.g__ill.is-in .ill-scrib { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s ease-in-out 0.45s; }
.g__ill.is-in .ill-arrow { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s ease-out 1.35s; }
.g__ill.is-in .ill-arrow--head { transition-delay: 1.7s; transition-duration: 0.2s; }
.g__ill.is-in .ill-boardwrap { opacity: 1; transition: opacity 0.3s ease 1.6s; }
.g__ill.is-in .ill-gold { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s ease 1.8s; }
.g__ill.is-in .ill-snap {
  opacity: 1; transform: none;
  transition: opacity 0.15s ease calc(1.9s + var(--d) * 0.1s), transform 0.35s cubic-bezier(.3,1.6,.5,1) calc(1.9s + var(--d) * 0.1s);
}
.g__ill.is-in .ill-tick { stroke-dashoffset: 0; transition: stroke-dashoffset 0.25s ease-out 2.95s; }
@media (prefers-reduced-motion: reduce) {
  .g__ill * { transition: none !important; }
}

/* service row: keep all three titles on one line so the descriptions line up */
@media (min-width: 721px) {
  .g__row-title { font-size: clamp(0.95rem, 1.32vw, 1.4rem); white-space: nowrap; }
}

/* ===== Quirk layer ======================================================
   Handwritten margin notes, hover doodles, a scribbled checklist tick,
   the "got it" note on copy, and the 404 page.
   All decorative pieces are aria-hidden; motion stops under reduced motion. */

/* margin notes: grape, tilted, with a hand-drawn arrow */
.scrawl {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; line-height: 1.2;
  color: var(--lavender); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem;
  transform: rotate(-4deg); transform-origin: left center; pointer-events: none;
}
.scrawl__arrow { width: 2.6rem; height: auto; flex: none; overflow: visible; }
.scrawl__arrow path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* "yes, really" on the Interim tile */
.g__row a { position: relative; }
.scrawl--tile { position: absolute; right: 1.1rem; bottom: 0.9rem; transition: opacity .1s ease; }
.g__row a:first-child { padding-bottom: 2.6rem; }

/* "the easy way in" beside the Operations Read button */
.entry__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; }
.scrawl--side { transform: rotate(-5deg) translateY(0.2rem); }

/* "ask me about this one" above the board-cycle sample */
.scrawl--above { display: flex; justify-content: flex-end; align-items: flex-end; margin: 1.5rem 1.5rem 0 0; transform: rotate(-3deg); transform-origin: right center; }
.scrawl--above .scrawl__arrow { width: 1.6rem; margin-bottom: -0.4rem; }

/* hover doodles on the service tiles: gold lines draw themselves */
.g__doodle { position: absolute; right: 1rem; bottom: 0.8rem; width: 2.6rem; height: 2.6rem; overflow: visible; }
.g__doodle path { fill: none; stroke: var(--ochre); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .22s ease-out; }
.g__row a:hover .g__doodle path, .g__row a:focus-visible .g__doodle path { stroke-dashoffset: 0; }
.g__row a:hover .g__doodle path + path { transition-delay: .12s; }
.g__row a:hover .g__doodle path { color: var(--ochre); }

/* checklist: the tick lands with a small pop */
@keyframes tick-pop { 0% { transform: scale(.6) rotate(-12deg); } 60% { transform: scale(1.18) rotate(4deg); } 100% { transform: none; } }
.dx__box:checked { animation: tick-pop .32s ease-out; }


/* copied: a gold note sticks on, then peels off */
.copy-btn { position: relative; }
.copy-btn::after {
  content: "got it!"; position: absolute; left: 5.5rem; bottom: 70%;
  background: var(--ochre); color: var(--ink); border: 1.5px solid var(--ink); padding: 0.2rem 0.5rem;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; white-space: nowrap;
  opacity: 0; transform: rotate(8deg) scale(.6); pointer-events: none;
}
.copy-btn.is-copied::after { animation: note-stick 1.9s ease forwards; }
@keyframes note-stick {
  0% { opacity: 0; transform: rotate(14deg) scale(.6); }
  15% { opacity: 1; transform: rotate(-4deg) scale(1.08); }
  25%, 75% { opacity: 1; transform: rotate(-3deg) scale(1); }
  100% { opacity: 0; transform: rotate(10deg) translate(10px, -14px) scale(.9); }
}

/* 404 page */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: var(--rule); }
.lost__art { background: var(--ochre-tint); display: grid; place-items: center; padding: 3rem 1.5rem; border-right: var(--rule); }
.lost__note { width: min(16rem, 70%); aspect-ratio: 1; background: var(--ochre); border: 2.5px solid var(--ink);
  transform: rotate(-8deg); display: grid; place-content: center; text-align: center; gap: 0.4rem;
  box-shadow: 8px 10px 0 rgba(7,7,10,.18); animation: lost-sway 4s ease-in-out infinite; }
.lost__note b { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; }
.lost__note span { font-family: var(--font-mono); font-size: 0.95rem; }
@keyframes lost-sway { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(-3deg) translateY(-6px); } }
.lost__text { padding: clamp(2rem, 5vw, 4rem) var(--gutter); background: var(--lav-tint); display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.lost__text p { margin: 0; max-width: 28rem; font-size: 1.05rem; }
@media (max-width: 720px) {
  .lost { grid-template-columns: minmax(0, 1fr); }
  .lost__art { border-right: 0; border-bottom: var(--rule); }
  .scrawl--above { margin-right: 0.5rem; }
}
@media (max-width: 52rem) {
  .scrawl--tile { position: static; margin-top: 0.6rem; transform: rotate(-3deg); }
  .g__row a:first-child { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .dx__box:checked, .lost__note, .copy-btn.is-copied::after { animation: none !important; }
  .copy-btn.is-copied::after { opacity: 1; transform: rotate(-3deg); }
  .g__doodle path { transition: none !important; }
}
.entry .scrawl { color: var(--ochre); }
@media (max-width: 52rem) { .scrawl--tile { display: flex; width: max-content; margin: 0.5rem 0 0 auto; } }
.scrawl--above { margin-bottom: 0.6rem; }

/* Founder: heading on top-left; the bio starts level with the top of the photo */
@media (min-width: 64rem) {
  .founder { grid-template-rows: auto auto 1fr; }
  .founder > div:first-child { display: contents; }
  .founder .section-head { grid-column: 1; grid-row: 1; }
  .founder-photo { grid-column: 1; grid-row: 2; }
  .founder .name { grid-column: 1; grid-row: 3; align-self: start; }
  .founder-body { grid-column: 2; grid-row: 2 / span 2; }
  /* small nudge so the first line's capitals, not its line box, meet the photo's top edge */
  .founder-body > p:first-child { margin-top: -0.3rem; }
}

/* Founder bio: a touch wider than the standard measure */
.founder-body p { max-width: 52rem; }

/* founder photo wrapper (grid placement) */
.founder-photo-wrap { position: relative; display: block; max-width: 24rem; }
@media (min-width: 64rem) { .founder-photo-wrap { grid-column: 1; grid-row: 2; } }
