/* v2 — document / practice, not portfolio template */
:root {
  --ink: #171614;
  --ink-2: #3a3632;
  --mute: #6e6962;
  --faint: #9b958c;
  --paper: #f7f4ef;
  --sheet: #fffcf8;
  --line: #e4ddd2;
  --ember: #a63d1c;
  --ember-deep: #7c2d14;
  --ember-wash: #f3e3d8;
  --ok: #1f6b4a;
  --err: #a61b1b;
  --radius: 2px;
  --max: 1120px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: var(--sheet);
  padding: 8px 12px; z-index: 200;
}
.skip:focus { top: 8px; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mark {
  justify-self: start;
  text-decoration: none; color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.crumbs {
  justify-self: center; display: flex; gap: 22px;
}
.crumbs a {
  font-size: 13px; color: var(--mute); text-decoration: none;
}
.crumbs a:hover, .crumbs a.is-on { color: var(--ink); }
.bar-cta { justify-self: end; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--sheet);
  text-decoration: none; border: 0; cursor: pointer;
  padding: 11px 18px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
}
.cta:hover { background: var(--ember); color: #fff; }
.cta.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.cta.ghost:hover { background: var(--ink); color: var(--sheet); }
.menu {
  display: none; justify-self: end;
  background: none; border: 1px solid var(--line); padding: 8px 10px; cursor: pointer;
}
@media (max-width: 960px) {
  .mark { white-space: normal; font-size: 16px; }
}
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; }
  .crumbs {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--sheet); border-bottom: 1px solid var(--line);
  }
  .crumbs.open { display: flex; }
  .crumbs a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .bar-cta { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 64px);
  max-width: 18ch;
  font-optical-sizing: auto;
}
.hero-copy {
  margin-top: 28px;
  max-width: 46ch;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
}
.hero-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px;
}
.meta-line {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.meta-line b { color: var(--ink); font-weight: 500; }

/* Split bands */
.band { padding: 80px 0; border-bottom: 1px solid var(--line); }
.band.ink {
  background: var(--ink); color: var(--sheet);
  border-bottom: 0;
}
.band.ink .kicker { color: #e08a5d; }
.band.ink .mute { color: #c4bdb3; }
.head-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-bottom: 40px;
}
@media (max-width: 700px) { .head-row { grid-template-columns: 1fr; gap: 8px; } }
.head-row h2 { font-size: clamp(28px, 4vw, 42px); max-width: 18ch; }
.lede { max-width: 54ch; color: var(--mute); font-size: 17px; margin-top: 10px; }
.band.ink .lede { color: #c4bdb3; }

/* Proof list */
.proof {
  display: flex; flex-direction: column; border-top: 1px solid var(--line);
}
.proof-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.proof-item[open] { background: var(--sheet); }
.proof-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
}
.proof-item summary::-webkit-details-marker { display: none; }
@media (max-width: 700px) {
  .proof-item summary { grid-template-columns: 1fr auto; }
  .org { grid-column: 1 / -1; }
}
.org { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.proof-item h3 { font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.nums { font-size: 13px; color: var(--ember); text-align: right; }
.proof-body {
  padding: 0 4px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
}
@media (max-width: 700px) { .proof-body { grid-template-columns: 1fr; } }
.proof-body h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 8px; font-weight: 500;
}
.proof-body p { color: var(--ink-2); font-size: 15px; }
.note {
  font-size: 12px; color: var(--faint); margin-top: 28px;
}

/* Offer */
.offer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } }
.offer article {
  background: var(--sheet);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.offer article .cta {
  margin-top: auto;
  align-self: flex-start;
}
.offer .n {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember);
  margin-bottom: 10px;
}
.offer h3 { font-size: 32px; margin-bottom: 8px; }
.offer .when { color: var(--mute); font-size: 14px; margin-bottom: 22px; }
.offer ul { margin: 0 0 24px; padding: 0; list-style: none; }
.offer li {
  padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.fit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px;
}
@media (max-width: 700px) { .fit { grid-template-columns: 1fr; } }
.fit h3 { font-size: 22px; margin-bottom: 14px; color: var(--sheet); }
.fit li { padding: 8px 0; color: #ddd6cc; font-size: 15px; list-style: none; }
.fit .no h3 { color: #c4bdb3; }

/* Cites — same list grammar as Work / FAQ */
.cites-wrap {
  width: 100%;
}
.cites { border-top: 1px solid var(--line); }
.cites details { border-bottom: 1px solid var(--line); }
.cites summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 16px 4px;
  text-align: center;
}
.cites summary::-webkit-details-marker { display: none; }
.cites summary strong { font-weight: 500; font-size: 16px; }
.cites summary span { font-size: 14px; color: var(--mute); }
.cites details[open] summary strong { color: var(--ember); }
.cites p {
  margin-inline: auto;
  max-width: 52ch;
  padding: 0 4px 18px;
  font-size: 16px; color: var(--ink-2);
  text-align: center;
}
@media (max-width: 700px) {
  .cites summary { align-items: center; }
}
.cite-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 18px;
}
.cite-pager [hidden] { display: none !important; }
.cite-pager button {
  background: none; border: 0; padding: 0;
  color: var(--ink); cursor: pointer;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1;
}
.cite-pager button:hover { color: var(--ember); }
.cite-page {
  margin: 0;
  font-size: 13px; color: var(--mute); letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums; line-height: 1;
}

/* Practice / about */
.cols {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px;
}
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }
.cols p + p { margin-top: 16px; }
.cols .body { font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.side dl { margin: 0; }
.side div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.side dt { color: var(--mute); }
.side dd { text-align: right; }
.side a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 0; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--mute); max-width: 62ch; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.ways a { display: block; color: var(--ink); margin: 10px 0; }
.ways .cta {
  display: inline-flex; width: fit-content;
  color: var(--sheet);
  margin: 0 0 8px;
}
.ways .cta:hover { color: #fff; }
.book-page { padding-top: 48px; }
.book-page h1 { font-size: clamp(32px, 5vw, 48px); }
.tidycal-embed { width: 100%; }
form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
input, select, textarea {
  width: 100%; background: var(--sheet); border: 1px solid var(--line);
  padding: 12px; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--ink); outline-offset: 1px;
}
textarea { min-height: 120px; resize: vertical; }
.invalid { border-color: var(--err); }
.err { color: var(--err); font-size: 12px; display: none; letter-spacing: 0; text-transform: none; }
.err.show { display: block; }
#status { font-size: 14px; min-height: 1.4em; }
#status.ok { color: var(--ok); }
#status.bad { color: var(--err); }
.hp { position: absolute; left: -9999px; }

.foot {
  padding: 28px 0 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--mute);
}
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dock {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  padding: 10px 16px; gap: 8px; background: var(--sheet);
  border-top: 1px solid var(--line); z-index: 40;
}
.dock .cta { flex: 1; }
@media (max-width: 860px) {
  .dock { display: flex; }
  body { padding-bottom: 64px; }
}

.fade { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.fade.in { opacity: 1; transform: none; }
