@charset "UTF-8";
/* ==========================================================================
   kelleahmeuth.com
   The Operator's Ledger: navy ink, limestone paper, caliche clay accents,
   serif headlines and tabular figures.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #F5F1EA;           /* Limestone */
  --surface: #FBF9F5;
  --surface-2: #EDE7DC;
  --ink: #13233A;          /* Ledger Navy */
  --ink-muted: #4E5A6A;
  --rule: #D9D2C5;
  --accent: #B5532A;       /* Caliche Clay: buttons, large figures */
  --accent-ink: #9A4322;   /* Deep Clay: small accent text, 5.8:1 on --bg */
  --accent-soft: #F0DDD0;
  --sage: #5E7A6B;         /* Live Oak Sage: tags, dividers */
  --on-accent: #FFFFFF;
  --inv-bg: #13233A;
  --inv-fg: #F5F1EA;
  --inv-muted: #B4BCC7;
  --inv-rule: #4A5A70;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-14: 0.9375rem;
  --fs-16: 1.0625rem;
  --fs-18: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-22: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-28: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-40: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-56: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-72: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1520;
    --surface: #132033;
    --surface-2: #182740;
    --ink: #ECE7DF;
    --ink-muted: #A3ACB8;
    --rule: #26344A;
    --accent: #E07A45;
    --accent-ink: #EC9265;
    --accent-soft: #3A2419;
    --sage: #8FA99B;
    --on-accent: #0D1520;
    --inv-bg: #ECE7DF;
    --inv-fg: #13233A;
    --inv-muted: #4E5A6A;
    --inv-rule: #A7AFBA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1520;
  --surface: #132033;
  --surface-2: #182740;
  --ink: #ECE7DF;
  --ink-muted: #A3ACB8;
  --rule: #26344A;
  --accent: #E07A45;
  --accent-ink: #EC9265;
  --accent-soft: #3A2419;
  --sage: #8FA99B;
  --on-accent: #0D1520;
  --inv-bg: #ECE7DF;
  --inv-fg: #13233A;
  --inv-muted: #4E5A6A;
  --inv-rule: #A7AFBA;
  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --nav-h: 76px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1;
  transition: background-color 200ms ease, color 200ms ease;
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--accent-soft); color: var(--ink); }

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--fs-14);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Placeholder flags. Every [CONFIRM] must be resolved before launch. */
.confirm {
  font-family: var(--font-mono);
  font-size: 0.75em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.grid > * { grid-column: 1 / -1; }

.section {
  padding-block: 80px;
  border-top: 1px solid var(--rule);
}
.section--tint { background: var(--surface); }
@media (min-width: 900px) {
  .section { padding-block: 112px; }
}

.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split__sticky { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}

/* ---------- Type ---------- */
.section-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.page-hero > .section-label,
.page-hero .section-label,
.hero__kicker {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem);
}
.section-label::after {
  content: "";
  flex: 0 0 100%;
  height: 4px;
  margin-top: 12px;
  border-top: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  max-width: 56px;
}

.display-xl,
.display-lg,
.display-md,
.display-sm,
.pullquote,
.wordmark {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.display-xl { font-size: var(--fs-72); line-height: 1.02; }
.display-lg { font-size: var(--fs-56); line-height: 1.06; max-width: 20ch; }
.display-md { font-size: var(--fs-40); line-height: 1.12; max-width: 24ch; margin-bottom: 20px; }
.display-sm { font-size: var(--fs-28); line-height: 1.2; }

.lede {
  font-size: var(--fs-22);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 52ch;
}
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-14); }

/* ---------- Links and buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: var(--fs-16);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: var(--on-accent); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-underline {
  position: relative;
  font-size: var(--fs-16);
  font-weight: 500;
  text-decoration: none;
  padding-block: 4px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.link-underline:hover::after { transform: scaleX(0.35); }

.link-arrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: var(--fs-16);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 200ms ease;
}
.link-arrow::after { content: "\2192"; transition: transform 300ms var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover::after { transform: translateX(4px); }

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Wordmark: small caps serif over the accountant's double rule */
.wordmark {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 3px double var(--accent);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  justify-self: start;
  width: max-content;
}

.nav__links { display: none; }
.nav__tools { display: flex; align-items: center; gap: 4px; }

.theme-toggle,
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

@media (min-width: 1000px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
  }
  .nav__links a {
    position: relative;
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--ink-muted);
    padding-block: 8px;
    transition: color 200ms ease;
  }
  .nav__links a:hover,
  .nav__links a[aria-current="page"] { color: var(--ink); }
  .nav__links a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: var(--accent);
  }
  .nav__links .btn { min-height: 40px; padding: 8px 18px; color: var(--bg); }
  .nav__links .btn:hover { color: var(--on-accent); }
  .nav__links .btn[aria-current="page"]::after { display: none; }
  .nav__links .btn[aria-current="page"] { color: var(--bg); }
  .nav__tools .menu-btn { display: none; }
}

.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet__head {
  height: var(--nav-h);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.menu-sheet__links {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  padding-bottom: 40px;
}
.menu-sheet__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-28);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.menu-sheet__links a[aria-current="page"] { color: var(--accent-ink); }
.menu-sheet__links .mono { font-size: 0.75rem; font-weight: 400; color: var(--ink-muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: 56px; padding-bottom: 72px; }
.page-hero .lede { margin-top: 24px; }
.page-hero .ctas { margin-top: 36px; }
@media (min-width: 900px) {
  .page-hero { padding-top: 96px; padding-bottom: 96px; }
}
.page-hero--media { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) {
  .page-hero--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
}

/* ---------- Home hero ---------- */
.hero { padding-top: 48px; padding-bottom: 56px; }
.hero__grid { row-gap: 48px; align-items: end; }
.hero__kicker { margin-bottom: 20px; }
.hero__title { font-size: var(--fs-72); line-height: 1.02; margin-bottom: 28px; max-width: 14ch; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--accent-ink); }
.hero__sub {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  color: var(--ink-muted);
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero__portrait { max-width: 420px; width: 100%; }
.hero__portrait img,
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--rule);
  background: var(--surface-2);
}
.caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (min-width: 900px) {
  .hero { padding-top: 88px; }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__portrait { grid-column: 9 / span 4; justify-self: end; }
}

/* ---------- Proof strip ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px 16px;
}
.stat:nth-child(odd) { padding-left: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--rule); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
.stat dt { font-size: var(--fs-14); color: var(--ink-muted); line-height: 1.4; }
.stat dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-40);
  line-height: 1.05;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.stat dd small { font-size: 0.5em; font-weight: 500; color: var(--ink-muted); }
@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 28px 24px; }
  .stat:nth-child(odd) { padding-left: 24px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-left: 1px solid var(--rule); }
  .stat:nth-child(-n+2) { border-bottom: 0; }
}

/* ---------- Lanes ---------- */
.lanes { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lanes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .lane { padding: 32px 28px 36px; }
  .lane:nth-child(odd) { padding-left: 0; }
  .lane:nth-child(even) { border-left: 1px solid var(--rule); }
}
@media (min-width: 1100px) {
  .lane,
  .lane:nth-child(odd) { padding-left: 24px; padding-right: 24px; border-bottom: 0; }
  .lane:first-child { padding-left: 0; }
  .lane + .lane { border-left: 1px solid var(--rule); }
}
.lane::after {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.lane:hover::after,
.lane:focus-within::after { transform: scaleX(1); }
.lane__num { font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.08em; }
.lane__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; }
.lane p { color: var(--ink-muted); font-size: var(--fs-16); flex: 1; }
.lane .link-arrow { align-self: flex-start; }
.lane--lead .lane__title { color: var(--accent-ink); }

/* ---------- Cards and tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
@media (min-width: 640px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  padding: 22px 22px 26px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}
.tile__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.tile__value { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-22); line-height: 1.25; }
.tile p { margin-top: 8px; color: var(--ink-muted); font-size: var(--fs-16); }

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.card + .card { margin-top: 20px; }

/* Lists with a rule between items */
.rule-list > li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--rule);
}
.rule-list > li:last-child { border-bottom: 1px solid var(--rule); }
.rule-list__num { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--ink-muted); padding-top: 3px; }
.rule-list h3 { font-size: var(--fs-18); font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.rule-list p { color: var(--ink-muted); font-size: var(--fs-16); max-width: 56ch; }

.check-list > li,
.x-list > li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-16);
}
.check-list > li:last-child,
.x-list > li:last-child { border-bottom: 1px solid var(--rule); }
/* List marks: the accountant's tick for "yes", a clay cross for "no".
   Plus and minus are reserved for things that expand and collapse. */
.check-list > li { --li-pad: 12px; }
.check-list > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(var(--li-pad) + 0.8em - 5px);
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.x-list > li::before {
  content: "\00D7";
  position: absolute;
  left: 2px; top: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent-ink);
}

/* ---------- Steps (process timeline) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--ink); }
}
.step {
  position: relative;
  padding: 20px 0 24px 44px;
  border-top: 1px solid var(--rule);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--accent-ink);
}
@media (min-width: 900px) {
  .step { padding: 56px 20px 8px 0; border-top: 0; }
  .step::before { top: 20px; }
  .step::after {
    content: "";
    position: absolute;
    left: 0; top: -5px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
  }
}
.step h3 { font-size: var(--fs-18); font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.step p { font-size: var(--fs-16); color: var(--ink-muted); }

/* ---------- Screener ---------- */
.screener { border-top: 1px solid var(--ink); }
.screener__q {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) {
  .screener__q { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
}
.screener__q legend { float: left; width: 100%; padding: 0; font-size: var(--fs-16); }
.screener__q fieldset { border: 0; margin: 0; padding: 0; display: contents; }
.yn { display: flex; gap: 8px; }
.yn label { position: relative; }
.yn input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.yn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.yn label:hover span { border-color: var(--ink); }
.yn input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.yn input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.screener__result {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--sage);
  background: var(--surface);
  font-size: var(--fs-16);
  min-height: 64px;
}
.screener__result strong { font-weight: 600; }
.screener__result[data-state="fit"] { border-left-color: var(--accent); }

/* ---------- Packages (consulting) ---------- */
.packages { display: grid; gap: 20px; }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); } }
.package {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .package { border: 0; }
  .package + .package { border-left: 1px solid var(--rule); }
}
.package--lead { border-top: 3px solid var(--accent); }
.package__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; }
.package__price { font-family: var(--font-mono); font-size: var(--fs-14); letter-spacing: 0.04em; color: var(--accent-ink); }
.package__price strong { font-family: var(--font-display); font-size: var(--fs-28); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.package > p { color: var(--ink-muted); font-size: var(--fs-16); }
.package .check-list { margin-top: auto; }
.package .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-muted);
}
.badge--live { border-color: var(--sage); color: var(--ink); }
.badge--accent { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Figures ledger (deal numbers) ---------- */
.figures { border-top: 1px solid var(--rule); }
.figures div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-16);
}
.figures dt { color: var(--ink-muted); }
.figures dd { font-family: var(--font-mono); text-align: right; }
.figures .figures__total { border-bottom: 3px double var(--ink); font-weight: 600; }
.figures .figures__total dd { color: var(--accent-ink); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-align: center;
  padding: 12px;
}

/* ---------- Project cards (expandable) ---------- */
.projects {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}
@media (min-width: 900px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.project {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 1px solid var(--ink);
  min-width: 0;
}
.section--tint .project { background: var(--bg); }
.project__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 454;
  object-fit: cover;
  background: var(--surface-2);
  border-bottom: 1px solid var(--rule);
}
.project .pair { padding: 12px 12px 0; }
.project .pair .placeholder { aspect-ratio: 16 / 10; }
.ba { position: relative; margin: 0; }
.ba img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-2);
}
.ba__zoom { display: block; cursor: zoom-in; }
.ba__zoom img { transition: filter 200ms ease; }
.ba__zoom:hover img { filter: brightness(1.06); }

/* Enlarged photo view */
.zoom {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}
.zoom::backdrop { background: rgba(10, 16, 26, 0.88); }
.zoom__fig { margin: 0; }
.zoom__fig img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1400px);
  max-height: 82vh;
}
.zoom__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5F1EA;
}
.zoom__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  background: #F5F1EA;
  color: #13233A;
  font-size: 1.25rem;
  cursor: pointer;
}
.zoom__close { top: 16px; right: 16px; }
.zoom__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.zoom__next { right: 16px; top: 50%; transform: translateY(-50%); }
.zoom__btn[hidden] { display: none; }

.ba figcaption {
  position: absolute;
  left: 8px; bottom: 8px;
  padding: 3px 8px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project__body { padding: 24px 24px 8px; }
@media (min-width: 640px) { .project__body { padding: 28px 32px 8px; } }
.project__top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.project__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.2; }
.project__meta { margin-top: 6px; font-size: var(--fs-16); color: var(--ink-muted); }
.project__summary { margin-top: 16px; max-width: 60ch; }

.project__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.project__facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.project__facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.project__facts dt {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.project__facts dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-22);
  line-height: 1.25;
}
.project__facts .is-total dd { color: var(--accent-ink); }

.project__more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.project__more > summary::-webkit-details-marker { display: none; }
.project__more > summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease;
}
.project__more[open] > summary::after { content: "\2212"; background: var(--ink); color: var(--bg); }
.project__more > summary:hover::after { background: var(--ink); color: var(--bg); }
.project__more .when-open { display: none; }
.project__more[open] .when-open { display: inline; }
.project__more[open] .when-closed { display: none; }

.project__details { display: grid; gap: 24px; padding: 8px 0 28px; border-top: 1px solid var(--rule); }
.project__details h4 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.project__details p { max-width: 62ch; font-size: var(--fs-16); }
.project__details p + p { margin-top: 0.8em; }
.project__details .figures { margin-top: 16px; }
.project__ledger { margin-top: 16px; border-top: 1px solid var(--ink); }
.project__ledger div {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-16);
}
@media (min-width: 640px) { .project__ledger div { grid-template-columns: 200px 1fr; gap: 16px; } }
.project__ledger dt {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 2px;
}
.project__lists { display: grid; gap: 24px; }
.project__lists .check-list > li { --li-pad: 8px; padding-block: 8px; }
/* Two columns only while cards run full width (tablet) */
@media (min-width: 640px) and (max-width: 899px) {
  .project__lists .check-list--cols { columns: 2; column-gap: 24px; }
  .project__lists .check-list--cols > li { break-inside: avoid; }
  .project__lists .check-list--cols > li:last-child { border-bottom: 0; }
  .project__lists .check-list--cols { border-bottom: 1px solid var(--rule); }
}
.project__note { font-size: var(--fs-14); color: var(--ink-muted); }

/* ---------- Career timeline (Real Estate) ---------- */
.subhead {
  margin: 72px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-28);
  line-height: 1.2;
}
.career {
  position: relative;
  margin-top: 48px;
  padding-left: 36px;
}
.career__item { position: relative; padding-bottom: 56px; }
/* Line segment from each node down to the next one */
.career__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -29px; top: 10px; bottom: -10px;
  width: 2px;
  background: var(--accent);
}
.career__item:last-child { padding-bottom: 0; }
.career__item::before {
  content: "";
  position: absolute;
  left: -36px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
}
.section--tint .career__item::before { background: var(--surface); }
.career__item--current::before,
.section--tint .career__item--current::before { background: var(--accent); }
.career__when {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.career__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 14px;
}
.career__figure strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-56);
  line-height: 1;
  color: var(--accent-ink);
}
.career__figure span { font-size: var(--fs-16); color: var(--ink-muted); max-width: 30ch; }
.career__role { font-size: var(--fs-22); font-weight: 600; line-height: 1.35; }
.career__role span { font-weight: 400; color: var(--ink-muted); }
.career__role .badge { margin-left: 8px; vertical-align: 3px; }
.career__item > div > p:not([class]) { margin-top: 8px; max-width: 62ch; color: var(--ink-muted); font-size: var(--fs-16); }
.career__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }

@media (min-width: 900px) {
  .career { margin-left: 232px; padding-left: 48px; }
  .career__item::before { left: -48px; }
  .career__item:not(:last-child)::after { left: -41px; }
  .career__when {
    position: absolute;
    left: -280px; top: 2px;
    width: 208px;
    text-align: right;
    white-space: nowrap;
    margin: 0;
  }
}


/* ---------- Speaking ---------- */
.talks { display: grid; gap: 20px; }
@media (min-width: 900px) { .talks { grid-template-columns: 1fr 1fr; } }
.talk {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
}
.talk__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; }
.talk__aud { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.talk > p { color: var(--ink-muted); font-size: var(--fs-16); }
.talk .check-list { margin-top: 4px; }

.engagement {
  display: grid;
  gap: 28px;
  padding-block: 48px;
  border-top: 1px solid var(--rule);
}
.engagement:first-of-type { border-top-color: var(--ink); }
@media (min-width: 900px) {
  .engagement { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .engagement--flip .engagement__copy { order: 2; }
}
.engagement__when { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--ink-muted); margin-bottom: 10px; }
.engagement__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.2; margin-bottom: 4px; }
.engagement__where { font-size: var(--fs-16); color: var(--accent-ink); margin-bottom: 16px; }
.engagement__copy p { color: var(--ink-muted); font-size: var(--fs-16); max-width: 56ch; }
.engagement__copy p + p { margin-top: 12px; }

.photos { display: grid; gap: 12px; }
.photos--two { grid-template-columns: 1fr 1fr; }
.photos--feature { grid-template-columns: 2fr 1fr; }
.photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--rule);
  background: var(--surface-2);
}
.photos figure { margin: 0; }
.photos figcaption { margin-top: 8px; font-size: 0.75rem; color: var(--ink-muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.photo-wide img { aspect-ratio: 3 / 2; }

.bios { display: grid; gap: 20px; }
@media (min-width: 900px) { .bios { grid-template-columns: 1fr 1fr; } }
.bio-card { padding: 28px; border: 1px solid var(--rule); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.bio-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bio-card p { font-size: var(--fs-16); }
.copy-btn {
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }

/* ---------- Carousel ---------- */
.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border: 1px solid var(--rule);
  background: var(--surface-2);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 3 / 2;
}
.carousel__slide img,
.carousel__slide .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  border: 0;
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.125rem;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}
.carousel__btn:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.carousel__btn[disabled] { opacity: 0.4; cursor: default; background: var(--surface); color: var(--ink); border-color: var(--rule); }
.carousel__count { font-size: var(--fs-14); color: var(--ink-muted); min-width: 48px; text-align: center; }

/* ---------- About ---------- */
.pullquote {
  font-size: var(--fs-40);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  max-width: 20ch;
}
/* About: milestones grouped by year on a clay line */
.journey { border-top: 1px solid var(--ink); }
.journey__year {
  display: grid;
  gap: 12px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) {
  .journey__year { grid-template-columns: 120px 1fr; gap: 24px; }
}
.journey__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-40);
  line-height: 1;
  color: var(--accent-ink);
}
.journey__label small { display: block; margin-top: 6px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.journey__items { position: relative; padding-left: 26px; }
.journey__items::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
}
.journey__items li { position: relative; font-size: var(--fs-16); line-height: 1.5; }
.journey__items li + li { margin-top: 16px; }
.journey__items li::before {
  content: "";
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); }
.tag--investing::before { background: var(--accent); }
.tag--education::before,
.tag--community::before { background: var(--sage); }
.tag--speaking::before { background: var(--accent-ink); border-radius: 50%; }
.journey__items .tag { display: flex; }

/* ---------- Callout / disclosure ---------- */
.callout {
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--sage);
  background: var(--surface);
  font-size: var(--fs-16);
  color: var(--ink-muted);
}
.disclosure { font-size: var(--fs-14); color: var(--ink-muted); max-width: 72ch; }

/* ---------- CTA band (inverted) ---------- */
.band {
  background: var(--inv-bg);
  color: var(--inv-fg);
  padding-block: 80px;
}
@media (min-width: 900px) { .band { padding-block: 104px; } }
.band .section-label { color: var(--inv-muted); }
.band .section-label::after { border-color: var(--inv-muted); }
.band__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .band__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.band .lede { color: var(--inv-muted); margin-top: 16px; }
.band .btn--primary { background: var(--inv-fg); color: var(--inv-bg); }
.band .btn--primary:hover { background: var(--accent); color: var(--on-accent); }
.band .link-underline { color: var(--inv-fg); }
.band__links { display: grid; gap: 12px; justify-items: start; }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.contact__meta { margin-top: 32px; display: grid; gap: 10px; font-size: var(--fs-16); color: var(--ink-muted); }
.contact__meta a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }

.form { display: grid; gap: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--ink); }
@media (min-width: 900px) { .form { padding: 40px; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label,
.segmented legend {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.optional { color: var(--ink-muted); text-transform: none; letter-spacing: 0; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-18);
  transition: border-color 200ms ease;
}
.field textarea { resize: vertical; min-height: 140px; padding-top: 8px; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--ink); }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 4px; }
.field input[aria-invalid="true"] { border-bottom-color: var(--accent); }
.field__err { font-size: var(--fs-14); }
.field__err::before { content: "! "; color: var(--accent-ink); font-family: var(--font-mono); }
.field__hint { font-size: var(--fs-14); color: var(--ink-muted); }

.segmented { border: 0; padding: 0; margin: 0; min-width: 0; }
.segmented legend { padding: 0; margin-bottom: 12px; }
.segmented__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented .segmented__opts label { position: relative; font-family: var(--font-body); font-size: var(--fs-16); letter-spacing: 0; text-transform: none; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.segmented label:hover span { border-color: var(--ink); }
.segmented input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: grid; gap: 16px; justify-items: start; padding-top: 8px; }
.form__actions .btn { min-width: 140px; }
.form__error { font-size: var(--fs-16); max-width: 46ch; }
.form__error::before { content: "! "; color: var(--accent-ink); font-family: var(--font-mono); }
.form__success {
  padding: 32px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: var(--fs-28);
  line-height: 1.3;
}
.form__success:focus { outline: none; }

/* ---------- Footer ---------- */
.footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-14);
  color: var(--ink-muted);
}
.footer__top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1fr auto; align-items: start; } }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { text-decoration: none; color: var(--ink); }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: grid; gap: 12px; padding-top: 24px; }
@media (min-width: 760px) { .footer__bottom { grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; } }
.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin: -12px 0 0 -13px;
  color: var(--ink);
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 150ms !important;
    transition-property: opacity, background-color, color, border-color !important;
    animation: none !important;
  }
  .js .reveal { transform: none; transition: opacity 150ms linear; }
  .lane::after { transform: scaleX(1); opacity: 0; }
  .lane:hover::after,
  .lane:focus-within::after { opacity: 1; }
}

@media print {
  .nav, .menu-sheet, .band, .footer__icon, .theme-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { background: #fff; color: #000; }
}
