/* ThinkPivot design system. Owned by the system (Phase 1).
   Page-specific CSS for new pages goes in pages.css, not here. See DESIGN.md. */

:root {
  --canvas: #f8f6f2;
  --paper: #f2efe9;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-2: #45433f;
  --muted: #6c6a65;
  --line: #e7e3dc;
  --rule: #dcd6cb;
  --ember: #e0582a;

  --find: #3b5b78;
  --find-deep: #1b2731;
  --find-tint: #e8eef3;
  --convert: #a3502b;
  --convert-deep: #6a371f;
  --convert-tint: #f5e9e1;
  --operate: #2f5d3a;
  --operate-deep: #18301f;
  --operate-tint: #e6efe6;

  /* Soft tints: calm pastel surfaces in the openai.com manner.
     One per block, never stacked, never behind long body copy on canvas. */
  --tint-sky: #edf2f6;     /* from Find */
  --tint-peach: #f8ece3;   /* from Convert, warmed */
  --tint-sage: #ebf2ea;    /* from Operate */
  --tint-lilac: #efecf5;   /* neutral editorial (Thinking, Substack) */
  --lilac-deep: #4b4566;

  /* CTA hover: vivid signal orange. White text = 3.6:1 (AA large / UI). */
  --signal: #4f46e5;
  --signal-grad: linear-gradient(90deg, #f4e1c6 0%, #ecd3c6 35%, #e6cbc7 55%, #dfd2e4 80%, #dcd3ef 100%);

  /* Living-field breathing pairs (two near-identical tints per practice) */
  --find-field-a: #f6f8fa;
  --find-field-b: #eef3f7;
  --convert-field-a: #fbf7f3;
  --convert-field-b: #f8eee7;
  --operate-field-a: #f5f8f4;
  --operate-field-b: #edf3ec;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1200px;
  --gutter: 32px;
  --section: 152px;

  --r-chip: 8px;
  --r-card: 12px;
  --r-panel: 20px;
  --shadow: 0 0 0 1px rgba(28, 26, 23, 0.06), 0 1px 3px rgba(28, 26, 23, 0.06);
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 28px;
  letter-spacing: -0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Frame: dashed column rules ---------- */

.frame { position: relative; isolation: isolate; }

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  --w: min(var(--max), calc(100% - 2 * var(--gutter)));
  --x0: calc((100% - var(--w)) / 2);
  --dash: repeating-linear-gradient(to bottom, var(--rule) 0 5px, transparent 5px 11px);
  background-image: var(--dash), var(--dash), var(--dash), var(--dash), var(--dash);
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position:
    calc(var(--x0)) 0,
    calc(var(--x0) + var(--w) * 0.25) 0,
    calc(var(--x0) + var(--w) * 0.5) 0,
    calc(var(--x0) + var(--w) * 0.75) 0,
    calc(var(--x0) + var(--w) - 1px) 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section { padding-block: var(--section) 0; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 500;
}

.lead {
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}

.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; letter-spacing: -0.005em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.eyebrow .sep { color: var(--rule); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; flex: none;
  background: var(--ink);
}
.dot--find { background: var(--find); }
.dot--convert { background: var(--convert); }
.dot--operate { background: var(--operate); }

.num {
  font-feature-settings: "tnum" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
}

/* ---------- Practice themes ----------
   Any element with a theme class exposes --c (colour), --t (chip tint),
   --d (deep), --soft (soft surface) and --field-rgb (living field ink).
   Put .theme-find|convert|operate on <body> of a practice page and every
   template component picks the right colour. */

.theme-find, .cap--find, .media--find, .offer--find, .person--find, [data-field="find"] {
  --c: var(--find); --t: var(--find-tint); --d: var(--find-deep); --soft: var(--tint-sky);
  --field-rgb: 59 91 120; --field-a: var(--find-field-a); --field-b: var(--find-field-b);
}
.theme-convert, .cap--convert, .media--convert, .offer--convert, .person--convert, [data-field="convert"] {
  --c: var(--convert); --t: var(--convert-tint); --d: var(--convert-deep); --soft: var(--tint-peach);
  --field-rgb: 163 80 43; --field-a: var(--convert-field-a); --field-b: var(--convert-field-b);
}
.theme-operate, .cap--operate, .media--operate, .offer--operate, .person--operate, [data-field="operate"] {
  --c: var(--operate); --t: var(--operate-tint); --d: var(--operate-deep); --soft: var(--tint-sage);
  --field-rgb: 47 93 58; --field-a: var(--operate-field-a); --field-b: var(--operate-field-b);
}

/* ---------- Living field ----------
   site.js inserts <canvas class="field__canvas"> as the first child.
   The host becomes an isolated stacking context so the canvas sits above
   the host background and below its content. */

[data-field] {
  position: relative;
  isolation: isolate;
  background-color: var(--field-a);
  animation: field-breathe 26s ease-in-out infinite alternate;
}
.field__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.has-field .field__canvas { opacity: 1; }
@keyframes field-breathe {
  from { background-color: var(--field-a); }
  to { background-color: var(--field-b); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn--primary { background: var(--ink); color: #fff; }
.btn--ghost { border: 1px solid rgba(28, 26, 23, 0.14); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: rgba(28, 26, 23, 0.4); background: var(--surface); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--sm .arrow { margin-right: -2px; }

/* Signal hover: every primary pill and every "Start a conversation"
   (.btn--cta) melts into the hero's peach-rose-lilac gradient with ink text. */
.btn--primary:hover, .btn--primary:focus-visible,
.btn--cta:hover, .btn--cta:focus-visible {
  background: var(--signal-grad);
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 6px 20px -8px rgba(160, 120, 170, 0.45), inset 0 0 0 1px rgba(28, 26, 23, 0.08);
}
.btn--light:not(.btn--cta):hover { background: #ece8e1; }
.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(3px); }
.btn--primary:active, .btn--cta:active { transform: translateY(1px); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.link:hover { border-color: currentColor; gap: 9px; }
.link--find { color: var(--find); }
.link--convert { color: var(--convert); }
.link--operate { color: var(--operate); }

/* ---------- Tags and chips ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: repeating-linear-gradient(135deg, var(--muted) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 0 1px var(--muted);
  opacity: 0.8;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-chip);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.chip--find { background: var(--find-tint); color: var(--find-deep); }
.chip--convert { background: var(--convert-tint); color: var(--convert-deep); }
.chip--operate { background: var(--operate-tint); color: var(--operate-deep); }

.pill-practice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 242, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.brand img { width: 24px; height: 24px; border-radius: 6px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); background: rgba(28, 26, 23, 0.05); }
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(28, 26, 23, 0.06); }

.nav__sep { width: 1px; height: 16px; margin-inline: 8px; background: var(--rule); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; }

.nav__menu { display: none; }
.nav__menu path { transition: transform 0.25s ease; transform-origin: 8px 8px; }
.nav.is-open .nav__menu .l1 { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__menu .l2 { transform: translateY(-3px) rotate(-45deg); }
.nav__cta-mobile { display: none !important; }
.nav.is-open .nav__cta-mobile { display: inline-flex !important; }

/* ---------- Hero ---------- */

.hero { padding-top: 120px; }

.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}

.hero__title { margin-top: 24px; max-width: 13ch; }
.hero__aside { padding-bottom: 8px; max-width: 420px; justify-self: end; }
.hero__aside .lead { color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Stage panel (home) ---------- */

.stage {
  position: relative;
  margin-top: 88px;
  border-radius: var(--r-panel);
  overflow: hidden;
  padding: 104px 32px 32px;
  background-color: #f6d7c3;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(60% 80% at 8% 0%, #ffe6c9 0%, rgba(255, 230, 201, 0) 70%),
    radial-gradient(50% 70% at 100% 10%, #e4d6f2 0%, rgba(228, 214, 242, 0) 70%),
    radial-gradient(70% 90% at 85% 100%, #cfe0f2 0%, rgba(207, 224, 242, 0) 70%),
    radial-gradient(60% 80% at 20% 100%, #f3c3b8 0%, rgba(243, 195, 184, 0) 70%),
    linear-gradient(120deg, #fbdcc4 0%, #f2cfc9 45%, #dcd5ee 100%);
}

.stage__inner { max-width: 780px; margin-inline: auto; }

.stage__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.stage__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(28, 26, 23, 0.1);
  background: rgba(255, 255, 255, 0.38);
  color: rgba(28, 26, 23, 0.68);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.stage__tab svg { width: 16px; height: 16px; flex: none; }
.stage__tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.stage__tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: var(--shadow);
}
.stage__tab[aria-selected="true"] .tab-dot { opacity: 1; }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; opacity: 0.5; }

.stage__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(28, 26, 23, 0.05), 0 1px 4px rgba(43, 43, 48, 0.08);
  padding: 22px 28px 20px;
}

.stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}
.stage__head .live { display: inline-flex; align-items: center; gap: 8px; }

.live-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
}
.live-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ember);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.stage__panel[hidden] { display: none; }

.sentence {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--ink);
  min-height: 3.1em;
}

.tok { white-space: nowrap; }
.tok::before { content: "["; opacity: 0.45; }
.tok::after { content: "]"; opacity: 0.45; }
.tok--q { color: #7a7873; }
.tok--q::before { content: "\201C"; opacity: 1; }
.tok--q::after { content: "\201D"; opacity: 1; }
.tok--find { color: var(--find); }
.tok--convert { color: var(--convert); }
.tok--operate { color: var(--operate); }
.tok--flag {
  color: var(--ember);
}

.stage__panel.is-playing .tok {
  animation: tokIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 0.32s + 0.1s);
}
@keyframes tokIn {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}

.stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
}
.stage__chips .chip { height: 26px; font-size: 12.5px; background: transparent; color: var(--muted); }
.stage__chips .chip:first-child { background: var(--paper); color: var(--ink); }
.stage__chips .chip b { font-weight: 500; color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; }

.stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 0 4px;
}
.stage__bar .left { display: flex; gap: 8px; align-items: center; }
.fake-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
}
.fake-btn--dark { background: var(--ink); color: #fff; }
.fake-btn--light { background: rgba(255, 255, 255, 0.85); color: var(--ink); }
.fake-btn svg { width: 12px; height: 12px; }
.stage__by { font-size: 13px; color: rgba(28, 26, 23, 0.55); display: inline-flex; align-items: center; gap: 8px; }
.stage__by strong { font-weight: 500; color: rgba(28, 26, 23, 0.75); letter-spacing: -0.03em; font-size: 14px; }

.progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 18px;
  overflow: hidden;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}
.stage__panel.is-playing .progress span { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Ledger (proof strip and stats) ---------- */

.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.ledger__cell {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}
.ledger__cell + .ledger__cell { border-left: 1px solid var(--line); }
.ledger__num {
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.ledger__num .arr { color: var(--rule); font-weight: 400; margin-inline: 0.06em; }
.ledger__label { margin-top: 14px; font-size: 16px; line-height: 22px; color: var(--ink-2); }
.ledger__meta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.strip { margin-top: 20px; }
.strip__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}

/* ---------- Logos ---------- */

.logos {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
}
.logos__label { font-size: 14px; line-height: 20px; color: var(--muted); max-width: 180px; }
.logos__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}
.logos__row img {
  height: 30px;
  min-width: 0;
  object-fit: contain;
  width: auto;
  filter: grayscale(1) contrast(1.15) brightness(0.55);
  opacity: 0.62;
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease;
}
.logos__row img:hover { opacity: 0.9; }
.logos__row img.tall { height: 44px; }
.logos__row img.short { height: 20px; }

/* ---------- Section heads ---------- */

.head-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.head-split p { max-width: 420px; justify-self: end; }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.head-row .h2 + .tag { margin-left: 4px; }

/* ---------- Leaks list ---------- */

.leaks { border-top: 1px solid var(--ink); }
.leak {
  display: grid;
  grid-template-columns: 40px minmax(0, 4fr) minmax(0, 6fr) 140px;
  gap: 24px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease;
}
.leak__n { font-size: 15px; color: var(--muted); font-feature-settings: "tnum" 1; }
.leak__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.leak__text { color: var(--ink-2); max-width: 520px; }
.leak__to { align-self: center; justify-self: end; }

/* ---------- Practices: capability index ---------- */

.index {
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cap {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  padding: 48px 48px 44px;
}
.cap + .cap { border-top: 1px solid var(--line); }

.cap__side { display: flex; flex-direction: column; align-items: flex-start; }
.cap__name { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--c); }
.cap__name::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--c); }
.cap__title { margin-top: 18px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -0.035em; max-width: 11ch; }
.cap__label { margin-top: 32px; font-size: 13px; color: var(--muted); }
.cap__moves { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cap__moves .chip { background: var(--t); color: var(--d); }
.cap__link { margin-top: auto; padding-top: 32px; }
.cap__link .link { color: var(--c); }

.offerings { border-top: 1px solid var(--ink); }
.offering {
  display: grid;
  grid-template-columns: 18px minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 20px;
  align-items: baseline;
  padding: 18px 0 19px;
  border-bottom: 1px solid var(--line);
}
.offering::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--c);
  transform: translateY(-3px) rotate(45deg);
}
.offering h4, .offering .h4 { font-size: 18px; line-height: 25px; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.offering p { font-size: 15px; line-height: 23px; letter-spacing: -0.008em; color: var(--muted); text-wrap: pretty; }
.includes {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  line-height: 21px;
  color: var(--muted);
}
.includes b { font-weight: 500; color: var(--ink-2); flex: none; }

/* ---------- Work media cards ---------- */

.cases {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}
.cases__side { display: grid; gap: 24px; grid-template-rows: 1fr 1fr; }

.media { display: flex; flex-direction: column; }
.media__visual {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--t);
  min-height: 200px;
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.media:hover .media__visual { transform: translateY(-2px); }

.media__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--d); }
.media__big {
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
  color: var(--d);
  white-space: nowrap;
}
.media--small .media__big { font-size: clamp(44px, 4.6vw, 72px); }
.media--lg .media__big { font-size: clamp(64px, 9.4vw, 148px); }
.media__big small { display: block; margin-top: 12px; font-size: 15px; line-height: 20px; letter-spacing: -0.01em; color: var(--d); font-weight: 400; opacity: 0.8; }
.media__big { position: relative; }
.media__graph { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; pointer-events: none; }
.media__graph path { fill: none; stroke: var(--c); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0.7; }
.media__graph .area { fill: var(--c); stroke: none; opacity: 0.07; }

.media__title { margin-top: 18px; font-size: 21px; line-height: 28px; letter-spacing: -0.02em; color: var(--ink); font-weight: 500; text-wrap: balance; }
.media--lg .media__title { font-size: 26px; line-height: 32px; letter-spacing: -0.025em; }
.media__meta { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }
.media__meta .sep { margin-inline: 6px; color: var(--rule); }
.media__stats { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.media__stats .sep { margin-inline: 6px; color: var(--rule); }

/* ---------- How we work ---------- */

.how {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}
.how__head { position: sticky; top: 112px; align-self: start; }
.how__list { border-top: 1px solid var(--line); }
.how__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.how__n {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-size: 13px; color: var(--muted);
  margin-top: 2px;
}
.how__item h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.025em; }
.how__item p { margin-top: 10px; color: var(--muted); max-width: 520px; }

/* ---------- Offers ---------- */

.band {
  background: var(--paper);
  margin-top: var(--section);
  padding-block: 104px;
  border-block: 1px solid var(--line);
}
.band + .section { padding-top: 112px; }

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer {
  background: var(--soft, var(--surface));
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.04);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offer:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.06), 0 8px 24px rgba(28, 26, 23, 0.06); }

.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer__practice { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c); }
.offer__practice .dot { background: var(--c); }
.offer__dur { font-size: 14px; color: var(--ink-2); }

.weeks { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.weeks span { height: 6px; border-radius: 2px; background: rgba(28, 26, 23, 0.08); }
.weeks span.on { background: var(--c); }
.weeks span.maybe { background: repeating-linear-gradient(135deg, var(--c) 0 2px, transparent 2px 5px); opacity: 0.55; }
.weeks__scale { margin-top: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); opacity: 0.8; letter-spacing: 0.02em; }

.offer__title { margin-top: 32px; font-size: 26px; line-height: 1.12; letter-spacing: -0.03em; }
.offer__text { margin-top: 12px; color: var(--ink-2); }
.offer__get { margin-top: 28px; padding-top: 18px; border-top: 1px dashed rgba(28, 26, 23, 0.16); }
.offer__get .label { font-size: 13px; color: var(--ink-2); }
.offer__get ul { margin-top: 8px; font-size: 15px; line-height: 24px; }
.offer__get li { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; }
.offer__get li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-2px); }

.then {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
}
.then::before, .then::after { content: ""; height: 1px; flex: 1; max-width: 160px; background: var(--rule); }

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.person__photo {
  position: relative;
  aspect-ratio: 330 / 391;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #2b2b2b;
}
.person__photo img.crop {
  position: absolute;
  width: 126.06%;
  height: auto;
  max-width: none;
  left: -13.64%;
  top: -25.06%;
}
.person__photo img.cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
  filter: grayscale(1) contrast(1.06); /* match the founder's black-and-white portrait */
  transition: filter 400ms ease;
}
.person:hover .person__photo img.cover { filter: grayscale(0.15) contrast(1.02); }
.person__photo--ph {
  background: var(--soft, var(--paper));
  display: flex;
  align-items: center;
  justify-content: center;
}
.person__photo--ph .mono {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.06em;
  color: var(--d);
  opacity: 0.9;
}
.person__photo--ph .todo {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--d);
  opacity: 0.75;
  display: inline-flex; align-items: center; gap: 6px;
}
.person__photo--ph .todo::before {
  content: ""; width: 10px; height: 8px; border: 1px solid currentColor; border-radius: 2px;
}
.person__name { margin-top: 16px; font-size: 18px; line-height: 24px; letter-spacing: -0.02em; color: var(--ink); font-weight: 500; }
.person__role { font-size: 14px; line-height: 20px; color: var(--muted); }
.person__name, .person__role { padding-left: 6px; } /* clear the dashed column rule */
.team-line { margin-top: 40px; font-size: 18px; color: var(--ink-2); letter-spacing: -0.015em; }

/* ---------- Closing CTA ---------- */

.closer {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: radial-gradient(90% 120% at 0% 0%, #4a4640 0%, #1c1a17 62%);
  color: #fff;
  padding: 120px 64px 64px;
  isolation: isolate;
}
.closer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  --dash: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 0 5px, transparent 5px 11px);
  background-image: var(--dash), var(--dash), var(--dash);
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position: 25% 0, 50% 0, 75% 0;
}
.closer::after {
  content: "";
  position: absolute; z-index: -1;
  right: -10%; bottom: -60%;
  width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(224, 88, 42, 0.32), rgba(224, 88, 42, 0));
}
.closer h2 { color: #fff; max-width: 14ch; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.045em; }
.closer__row { margin-top: 48px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.closer p { max-width: 520px; color: rgba(255, 255, 255, 0.72); font-size: 18px; line-height: 28px; }

/* ---------- Footer ---------- */

.footer { margin-top: 120px; border-top: 1px solid var(--line); padding-block: 64px 40px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__line { max-width: 30ch; font-size: 17px; line-height: 26px; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.footer__email { color: var(--ink-2); border-bottom: 1px solid var(--rule); transition: color 0.2s ease, border-color 0.2s ease; }
.footer__email:hover { color: var(--ink); border-color: var(--ink); }
.footer__cols { display: contents; }
.footer__h { font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted); letter-spacing: -0.005em; }
.footer__col ul { margin-top: 12px; display: grid; gap: 4px; }
.footer__col li { display: flex; align-items: center; min-height: 32px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; line-height: 24px; color: var(--ink-2); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__col .icon { width: 15px; height: 15px; flex: none; opacity: 0.75; }
.footer__col .dot { width: 6px; height: 6px; }
.footer__bottom {
  margin-top: 56px; padding-top: 20px; border-top: 1px dashed var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- The stack: layered infrastructure, quiet logos ----------
   Logos come from Simple Icons (jsDelivr) as CSS masks, so they render in
   muted ink and tint to their brand colour on hover. site.js sets
   --si on each [data-si] item only after the SVG loads; failed ones stay
   text-only. Compact variant for About: add .stack--compact. */

.section--tight { padding-top: calc(var(--section) * 0.75); }
.stack-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.ai-dots { width: 30px; height: 30px; flex: none; }
.ai-dots circle { transform-box: fill-box; transform-origin: center; animation: dot-breathe 6s ease-in-out infinite; }
.ai-dots circle:nth-child(2n) { animation-delay: -2s; }
.ai-dots circle:nth-child(3n) { animation-delay: -4s; }
@keyframes dot-breathe { 50% { transform: scale(0.82); opacity: 0.75; } }

.stack {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* a quiet signal travelling down through the layers */
.stack::before {
  content: "";
  position: absolute; left: 0; top: -96px;
  width: 2px; height: 96px;
  background: linear-gradient(180deg, rgba(224, 88, 42, 0), rgba(224, 88, 42, 0.55), rgba(224, 88, 42, 0));
  animation: stack-signal 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes stack-signal { from { top: -96px; } to { top: 100%; } }

.stack__row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  align-items: center;
  padding: 18px 32px;
}
.stack__row + .stack__row { border-top: 1px solid var(--line); }
.stack__layer { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: baseline; }
.stack__n { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.stack__name { font-size: 18px; line-height: 24px; letter-spacing: -0.02em; }
.stack__role { grid-column: 2; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--muted); }
.stack__items { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__item {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); letter-spacing: -0.005em;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.stack__mark { display: none; width: 16px; height: 16px; flex: none; background: var(--muted); transition: background-color 0.25s ease; }
.stack__item.has-mark .stack__mark {
  display: block;
  -webkit-mask: var(--si) center / contain no-repeat;
  mask: var(--si) center / contain no-repeat;
}
.stack__item--text { border-style: dashed; color: var(--muted); padding-inline: 14px; }
.stack__item:hover { border-color: rgba(28, 26, 23, 0.2); color: var(--ink); background: var(--canvas); }
.stack__item:hover .stack__mark { background: var(--brand, var(--ink)); }
.stack__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.stack--compact .stack__row { grid-template-columns: 1fr; gap: 12px; padding: 18px 24px; }
.stack--compact .stack__role { display: none; }

/* ---------- Notebook (Substack) block: soft lilac surface ---------- */

.notebook {
  border-radius: var(--r-panel);
  background: var(--tint-lilac);
  padding: 56px 48px 48px;
}
.notebook__head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.notebook__head .lead { max-width: 420px; justify-self: end; color: var(--ink-2); }
.eyebrow-bar { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 500; color: var(--c, var(--lilac-deep)); }
.eyebrow-bar::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; }
.notes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.note {
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.04);
  transition: background-color 0.25s ease, transform 0.3s ease;
}
.note:hover { background: #fff; transform: translateY(-2px); }
.note__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.note__title { margin-top: 18px; font-size: 21px; line-height: 28px; letter-spacing: -0.022em; color: var(--ink); font-weight: 500; text-wrap: balance; }
.note__more { margin-top: auto; padding-top: 24px; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.note__more .arrow { transition: transform 0.2s ease; }
.note:hover .note__more .arrow { transform: translateX(3px); }
.notebook__actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.notebook .btn--ghost { border-color: rgba(28, 26, 23, 0.18); }
.notebook .btn--ghost:hover { background: rgba(255, 255, 255, 0.7); }
.dot--lilac { background: var(--lilac-deep); }

/* =========================================================
   Practice page template (convert.html is the reference).
   Colour comes from .theme-find|convert|operate on <body>.
   ========================================================= */

.practice-hero {
  border-radius: var(--r-panel);
  padding: 64px 56px 56px;
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.05);
  overflow: hidden;
}
.hero--practice { padding-top: 40px; }
.practice-hero .hero__title { margin-top: 120px; }
.practice-hero .hero__aside { padding-bottom: 6px; }

.switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.switcher a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.switcher a:hover { color: var(--ink); }
.switcher a[aria-current="page"] { background: var(--t, var(--paper)); color: var(--d, var(--ink)); }

.hero--practice .hero__title { max-width: 11ch; margin-top: 36px; }
.label-h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -0.005em; color: var(--c, var(--convert)); }
.label-h::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.metric { padding: 36px 32px 34px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.metric:nth-child(3n + 1) { border-left: 0; }
.metric:nth-child(-n + 3) { border-top: 0; }
.metric__name {
  display: flex; align-items: baseline; gap: 10px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.metric__name i { font-style: normal; font-weight: 400; color: var(--rule); }
.metric__def { margin-top: 18px; color: var(--muted); max-width: 300px; font-size: 16px; line-height: 24px; }
.metric__bar { margin-top: 26px; height: 3px; width: 32px; background: var(--c, var(--convert)); border-radius: 2px; }

.familiar { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.familiar__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.familiar__list li:first-child { border-top: 1px solid var(--line); }
.familiar__list .q { color: var(--c, var(--convert)); font-size: 0.9em; line-height: 1; }

.journey {
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: 56px 40px 48px;
}
.journey__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.journey__track::before {
  content: "";
  position: absolute;
  left: calc(100% / 14); right: calc(100% / 14);
  top: 11px;
  height: 2px;
  background: linear-gradient(90deg, var(--t, var(--convert-tint)), var(--c, var(--convert)));
  border-radius: 2px;
}
.step { position: relative; text-align: center; padding-inline: 6px; }
.step__node {
  width: 24px; height: 24px; margin-inline: auto; border-radius: 50%;
  background: #fff; border: 2px solid var(--c, var(--convert));
  display: grid; place-items: center;
}
.step__node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--convert)); }
.step:last-child .step__node { background: var(--c, var(--convert)); }
.step:last-child .step__node::after { background: #fff; }
.step__name { margin-top: 22px; font-size: 20px; letter-spacing: -0.025em; color: var(--ink); font-weight: 500; }
.step__note { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }

.included { border-top: 1px solid var(--ink); }
.included .offering { grid-template-columns: 18px minmax(0, 4fr) minmax(0, 6fr); padding: 24px 0 25px; }
.included .offering h4, .included .offering .h4 { font-size: 21px; line-height: 28px; letter-spacing: -0.024em; }
.included .offering p { font-size: 16px; line-height: 25px; }
.included + .includes { margin-top: 20px; }

.aip {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid var(--ink);
}
.aip__split { display: flex; gap: 8px; margin-bottom: 24px; }
.aip p { font-size: 20px; line-height: 31px; letter-spacing: -0.012em; color: var(--ink-2); }

.case-wide {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 40px;
  align-items: stretch;
}
.case-wide .media__visual { min-height: 340px; }
.case-wide__body { display: flex; flex-direction: column; justify-content: center; padding-block: 16px; }
.case-wide__body .media__title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.035em; margin-top: 16px; }
.case-wide__stats { margin-top: 28px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; }
.case-wide__stats div { font-size: 28px; letter-spacing: -0.035em; color: var(--ink); line-height: 1; font-weight: 500; }
.case-wide__stats span { display: block; margin-top: 8px; font-size: 14px; letter-spacing: -0.005em; color: var(--muted); font-weight: 400; }
.case-wide__body .link { margin-top: 32px; align-self: flex-start; }

.start {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.start__l { padding: 44px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.start__l .start__title { margin-top: auto; padding-top: 48px; }
.start__r { padding: 44px 40px; display: flex; flex-direction: column; }
.start__title { margin-top: 24px; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.04em; }
.start__get li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; letter-spacing: -0.015em; color: var(--ink);
}
.start__get li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--convert)); flex: none; transform: translateY(-3px); }
.start__then { margin-top: 24px; color: var(--muted); }
.start__r .btn { margin-top: 28px; align-self: flex-start; }

/* =========================================================
   Case study template (case-university-x.html)
   ========================================================= */

.case-head { padding-top: 72px; }
.meta-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.meta-row div { padding: 14px 16px 16px 0; }
.meta-row div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.meta-row dt { font-size: 13px; color: var(--muted); }
.meta-row dd { margin: 4px 0 0; font-size: 16px; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }
.meta-row dd .dot { margin-right: 8px; transform: translateY(-1px); }

.case-title { margin-top: 96px; max-width: 14ch; }
.case-sub { margin-top: 28px; max-width: 620px; }

.results {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.result { padding: 32px 32px 28px; display: flex; flex-direction: column; min-height: 220px; }
.result + .result { border-left: 1px solid var(--line); }
.result--hero { grid-column: span 1; }
.result__num {
  font-size: clamp(56px, 6.4vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.result__num--sm { font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -0.04em; line-height: 1.1; }
.result__num--sm .from { color: var(--muted); }
.result__num--sm .arr { color: var(--rule); margin-inline: 0.1em; }
.result__label { margin-top: auto; padding-top: 24px; font-size: 16px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }

.prose {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
}
.prose__label { align-self: start; font-size: 15px; color: var(--muted); display: flex; gap: 10px; align-items: center; padding-top: 10px; }
.prose__big { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.3; letter-spacing: -0.028em; color: var(--ink); text-wrap: pretty; }

.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.finding { padding: 28px 28px 8px 0; }
.finding + .finding { padding-left: 28px; border-left: 1px solid var(--line); }
.finding__n { font-size: 14px; color: var(--muted); }
.finding p { margin-top: 18px; font-size: 21px; line-height: 1.35; letter-spacing: -0.022em; color: var(--ink); }
.hl { color: var(--c, var(--convert)); }

.changes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.change {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: baseline;
}
.change__n {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--t, var(--convert-tint)); color: var(--d, var(--convert-deep));
  font-size: 13px; display: grid; place-items: center;
}
.change p { font-size: 19px; line-height: 1.4; letter-spacing: -0.018em; color: var(--ink); }

.bars {
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: 20px 40px 28px;
}
.bars__legend { display: flex; gap: 20px; justify-content: flex-end; font-size: 13px; color: var(--muted); padding: 12px 0 4px; }
.bars__legend span { display: inline-flex; align-items: center; gap: 8px; }
.bars__legend i { width: 14px; height: 6px; border-radius: 2px; display: inline-block; }
.bar-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.bars__legend + .bar-row { border-top: 0; }
.bar-row h3 { font-size: 20px; letter-spacing: -0.022em; line-height: 1.2; }
.bar-row .delta { display: block; margin-top: 4px; font-size: 14px; color: var(--c, var(--convert)); font-weight: 500; letter-spacing: -0.005em; }
.bar { display: grid; grid-template-columns: 1fr 140px; gap: 16px; align-items: center; }
.bar + .bar { margin-top: 10px; }
.bar__track { height: 14px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; width: var(--w); }
.bar--before .bar__fill { background: #c9c3b9; }
.bar--after .bar__fill { background: var(--c, var(--convert)); }
.bar__val { font-size: 15px; color: var(--ink); text-align: right; letter-spacing: -0.01em; }
.bar--before .bar__val { color: var(--muted); }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who__col { border-radius: var(--r-card); padding: 32px; background: var(--surface); box-shadow: var(--shadow); }
.who__col--ai { background: transparent; box-shadow: none; border: 1px dashed var(--rule); }
.who__col h3 { font-size: 15px; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.who__col ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.who__col li { font-size: 18px; letter-spacing: -0.018em; color: var(--ink); padding: 10px 14px; border-radius: 10px; background: var(--paper); line-height: 1.2; }
.who__col--ai li { background: var(--surface); box-shadow: var(--shadow); }

.quote { max-width: 980px; }
.quote blockquote {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 500;
  text-indent: -0.42em;
}
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.quote figcaption .av { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px dashed var(--rule); }

.next {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.next__label { font-size: 14px; color: var(--muted); }
.next__title { margin-top: 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); font-weight: 500; transition: color 0.2s ease; }
.next:hover .next__title { color: var(--find); }
.next__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.next__arrow {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(28, 26, 23, 0.14);
  display: grid; place-items: center; color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.next:hover .next__arrow { background: var(--ink); color: #fff; transform: translateX(4px); }

.notice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.back { font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.back:hover { color: var(--ink); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .nav__links a { padding: 8px 9px; font-size: 14px; }
  .cap { padding: 40px 32px; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 112px; }
  .nav__links { display: none; }
  .nav__inner { gap: 10px; }
  .nav__inner .brand { margin-right: auto; }
  .nav__menu {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(28, 26, 23, 0.14); background: transparent; cursor: pointer;
  }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--canvas); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
  }
  .nav.is-open .nav__links a { font-size: 18px; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .nav.is-open .nav__links .btn { margin-top: 16px; color: #fff; border: 0; padding: 0 20px; border-radius: 999px; background: var(--ink); justify-content: center; }
  .nav.is-open .nav__links .btn:hover, .nav.is-open .nav__links .btn:focus-visible { background: var(--signal-grad); color: var(--ink); }
  .nav__sep { display: none; }
  .nav.is-open .nav__links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

  .footer__top { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
  .notebook__head { grid-template-columns: 1fr; gap: 18px; }
  .notebook__head .lead { justify-self: start; }
  .notes { grid-template-columns: 1fr; }
  .note { min-height: 0; }
  .note__more { padding-top: 20px; }
  .practice-hero { padding: 48px 32px 40px; }
  .stack__row { grid-template-columns: 1fr; gap: 14px; padding: 22px 24px; }
  .practice-hero .hero__title { margin-top: 72px; }

  .hero__grid, .head-split, .how, .familiar, .prose, .aip, .case-wide, .start { grid-template-columns: 1fr; }
  .hero__aside, .head-split p { justify-self: start; }
  .how__head { position: static; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger__cell:nth-child(3) { border-left: 0; }
  .ledger__cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .logos { grid-template-columns: 1fr; gap: 24px; }
  .cap { grid-template-columns: 1fr; }
  .cap__side { display: contents; }
  .cap__name, .cap__title, .cap__label, .cap__moves { justify-self: start; }
  .cap__title { margin-top: -26px; }
  .cap__label { margin-top: -16px; }
  .cap__moves { margin-top: -22px; }
  .cap__link { order: 2; padding-top: 0; margin-top: -8px; }
  .cases { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .metric:nth-child(2n + 1) { border-left: 0; }
  .metric:nth-child(-n + 2) { border-top: 0; }
  .start__l { border-right: 0; border-bottom: 1px solid var(--line); }
  .results { grid-template-columns: 1fr 1fr; }
  .result:nth-child(3) { border-left: 0; }
  .result:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .findings { grid-template-columns: 1fr; }
  .finding, .finding + .finding { padding: 24px 0; border-left: 0; }
  .finding + .finding { border-top: 1px solid var(--line); }
  .meta-row { grid-template-columns: repeat(3, 1fr); }
  .meta-row div:nth-child(4) { border-left: 0; padding-left: 0; }
  .meta-row div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 88px; }
  body { font-size: 16px; line-height: 26px; }
  .lead { font-size: 18px; line-height: 28px; }

  .frame::before {
    background-image: var(--dash), var(--dash);
    background-position: calc(var(--x0)) 0, calc(var(--x0) + var(--w) - 1px) 0;
  }

  .nav__cta { display: none; }
  .hero { padding-top: 56px; }
  .hero__title { margin-top: 18px; }
  .hero__grid { gap: 24px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .stage { margin-top: 48px; padding: 56px 12px 12px; border-radius: 16px; }
  .stage__tabs { gap: 6px; flex-wrap: nowrap; }
  .stage__tab { height: 34px; padding: 0 12px 0 10px; font-size: 14px; gap: 6px; }
  .stage__tab svg { display: none; }
  .stage__card { padding: 18px 18px 16px; border-radius: 12px; }
  .sentence { font-size: 18px; line-height: 1.55; min-height: 0; }
  .tok { white-space: normal; }
  .stage__bar .stage__by { display: none; }

  .ledger__cell { padding: 20px 18px 18px; min-height: 0; }
  .ledger__num { font-size: clamp(28px, 8.4vw, 40px); }
  .ledger__label { font-size: 14px; line-height: 20px; margin-top: 10px; }
  .ledger__meta { padding-top: 16px; font-size: 12px; }
  .strip__head { flex-wrap: wrap; gap: 8px; }

  .logos { padding-block: 40px; }
  .logos__row { flex-wrap: wrap; justify-content: center; gap: 26px 28px; }
  .logos__row img { height: 24px; }
  .logos__row img.tall { height: 38px; }
  .logos__row img.short { height: 17px; }

  .head-split { margin-bottom: 36px; gap: 18px; }
  .head-row { flex-direction: column; align-items: flex-start; margin-bottom: 32px; gap: 14px; }

  .leak { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .leak__n { display: none; }
  .leak__to { justify-self: start; margin-top: 8px; }

  .cap { padding: 32px 20px 28px; gap: 28px; }
  .offering { grid-template-columns: 16px 1fr; padding: 16px 0; }
  .offering p { grid-column: 2; margin-top: 4px; }
  .offering h4, .offering .h4 { font-size: 17px; line-height: 24px; }
  .includes { flex-direction: column; gap: 2px; }

  .media__visual { min-height: 180px; padding: 20px; }
  .cases__side { grid-template-rows: auto; }

  .how { gap: 28px; }
  .how__item { grid-template-columns: 40px 1fr; padding: 26px 0; }

  .band { padding-block: 80px; }
  .band + .section { padding-top: 88px; }
  .offer { padding: 24px 22px; }
  .then { font-size: 16px; }
  .then::before, .then::after { display: none; }

  .team { gap: 16px 12px; }
  .person__name { font-size: 16px; margin-top: 12px; }
  .person__role { font-size: 13px; }
  .person__photo--ph .todo { left: 10px; bottom: 10px; font-size: 10px; }

  .closer { padding: 72px 22px 28px; border-radius: 16px; }
  .closer::before { background-position: 50% 0; background-image: var(--dash); }
  .closer__row { margin-top: 32px; }
  .closer .btn { width: 100%; }
  .closer p { font-size: 17px; line-height: 26px; }

  .footer { margin-top: 88px; padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__bottom { margin-top: 40px; }

  .notebook { padding: 36px 20px 24px; border-radius: 16px; }
  .stack__row { padding: 20px 18px; }
  .stack__item { height: 34px; font-size: 13px; padding: 0 12px 0 10px; }
  .notes { margin-top: 28px; gap: 12px; }
  .note { padding: 20px; }
  .note__title { font-size: 19px; line-height: 26px; margin-top: 12px; }
  .notebook__actions .btn { flex: 1 1 auto; }

  .hero--practice { padding-top: 20px; }
  .practice-hero { padding: 28px 20px 28px; border-radius: 16px; }
  .practice-hero .hero__title { margin-top: 120px; }

  .metrics { grid-template-columns: 1fr; }
  .metric:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); padding: 26px 22px; }
  .metric:first-child { border-top: 0; }
  .metric__def { margin-top: 10px; }
  .metric__bar { margin-top: 16px; }

  .journey { padding: 28px 22px; }
  .journey__track { grid-template-columns: 1fr; }
  .journey__track::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(180deg, var(--t, var(--convert-tint)), var(--c, var(--convert))); }
  .step { display: grid; grid-template-columns: 24px 1fr; column-gap: 18px; text-align: left; padding: 0 0 22px; }
  .step:last-child { padding-bottom: 0; }
  .step__node { margin: 0; grid-row: span 2; }
  .step__name { margin-top: 0; font-size: 18px; line-height: 24px; }
  .step__note { margin-top: 2px; }

  .included .offering { grid-template-columns: 16px 1fr; padding: 18px 0; }
  .included .offering h4, .included .offering .h4 { font-size: 18px; line-height: 24px; }
  .included .offering p { font-size: 15px; line-height: 23px; }
  .case-wide .media__visual { min-height: 220px; }
  .case-wide__stats { gap: 20px; grid-template-columns: repeat(3, auto); }
  .case-wide__stats div { font-size: 22px; }
  .start__l, .start__r { padding: 28px 22px; }
  .start__get li { font-size: 16px; }
  .start__r .btn { width: 100%; }

  .case-head { padding-top: 40px; }
  .meta-row { grid-template-columns: 1fr 1fr; }
  .meta-row div:nth-child(n) { padding: 12px 12px 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .meta-row div:nth-child(-n + 2) { border-top: 0; }
  .meta-row div:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--line); }
  .case-title { margin-top: 56px; }
  .results { margin-top: 56px; grid-template-columns: 1fr 1fr; }
  .result { padding: 22px 18px; min-height: 0; }
  .result__num { font-size: clamp(40px, 13vw, 56px); }
  .result__num--sm { font-size: 22px; }
  .result__label { font-size: 14px; }
  .change { padding: 22px 20px; }
  .change p { font-size: 17px; }
  .changes { grid-template-columns: 1fr; }
  .bars { padding: 8px 20px 20px; }
  .bars__legend { justify-content: flex-start; }
  .bar-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .bar { grid-template-columns: 1fr 96px; gap: 10px; }
  .bar__val { font-size: 14px; }
  .who { grid-template-columns: 1fr; }
  .who__col { padding: 24px 20px; }
  .who__col li { font-size: 16px; }
  .next { grid-template-columns: 1fr; gap: 20px; }
  .next__arrow { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-field] { background-color: var(--field-a); }
  .progress { display: none; }
}
.stage.is-manual .progress { visibility: hidden; }

/* Client logo inline in case meta lines */
.media__logo { display: block; height: 22px; width: auto; max-width: 96px; object-fit: contain; object-position: left center; margin: 2px 0 8px; filter: grayscale(1); opacity: .8; }

.person__photo img.cover--ayushi { object-position: 42% 30%; }
.person__photo img.cover--aakash { object-position: 52% 35%; }
