/* McMillan & Black, PLLC — design system
   Ink + warm paper + deep teal + bronze accent.
   Display: Newsreader (serif). UI/body: Inter (grotesque). */

/* Self-hosted fonts — no third-party request, better LCP. */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink:      #11161a;
  --ink-90:   #1b2228;
  /* brand navy, sampled from the current mcmillanblack.com team page */
  --deep:     #04243c;
  --deep-dk:  #021728;
  --paper:    #faf8f5;
  --paper-2:  #f3efe9;
  --sand:     #e7e0d5;
  --accent:   #a2662f;
  --accent-tx:#8a5424; /* accent tuned for text: >=4.5:1 on paper and paper-2 */
  --accent-dk:#83511f;
  --mid:      #5c6670;
  --mid-lt:   #8a939c;
  --line:     rgba(17, 22, 26, 0.12);
  --line-soft:rgba(17, 22, 26, 0.07);
  --line-inv: rgba(250, 248, 245, 0.18);

  --serif: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(64px, 9vw, 118px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); line-height: 1.03; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.22; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a  { color: var(--accent-dk); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-tx);
  margin: 0 0 1.1rem;
  display: block;
}
.eyebrow--inv { color: #d8b98e; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--ink-90); max-width: 62ch; }
.muted { color: var(--mid); }
.small { font-size: .87rem; line-height: 1.6; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--deep { background: var(--deep); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--paper); }
.section--ink a:not(.btn), .section--deep a:not(.btn) { color: #e2c49b; }
.section--ink .muted, .section--deep .muted { color: rgba(250,248,245,.68); }
.section--rule { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: .9rem;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ---------- header ---------- */
.topbar {
  background: var(--ink); color: rgba(250,248,245,.78);
  font-size: .78rem; letter-spacing: .04em;
}
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: rgba(250,248,245,.9); }
.topbar__items { display: flex; gap: 22px; align-items: center; }
@media (max-width: 720px) { .topbar__note { display: none; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__name {
  font-family: var(--serif); font-size: 1.32rem; letter-spacing: -0.015em; color: var(--ink); line-height: 1;
}
.brand__sub {
  font-size: .62rem; letter-spacing: .19em; text-transform: uppercase; color: var(--mid); font-weight: 500;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav > .btn { display: none; } /* shown only in the mobile drawer */
.nav a {
  font-size: .875rem; color: var(--ink-90); font-weight: 400; letter-spacing: -0.003em; white-space: nowrap;
  padding-block: 6px; border-bottom: 1.5px solid transparent;
}
.nav a:hover { text-decoration: none; border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .005em;
  padding: 13px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: 2px; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--inv { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--inv:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost-inv { background: transparent; color: var(--paper); border-color: var(--line-inv); }
.btn--ghost-inv:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.navtoggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 13px; font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .navtoggle { display: inline-block; }
  .header__cta { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 22px; max-height: 78vh; overflow-y: auto;
  }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav.is-open > .btn { display: inline-flex; margin-top: 16px; padding: 14px 22px; border-bottom: 0; }
}

/* contact page: two-up on desktop, single column on small screens */
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split--even { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 78% at 88% 6%, rgba(13,58,69,.09), transparent 62%),
    radial-gradient(42% 62% at 6% 92%, rgba(162,102,47,.08), transparent 66%);
}
.hero__in { position: relative; z-index: 1; padding-block: clamp(66px, 11vw, 130px); }
.hero h1 { max-width: 15ch; margin-bottom: .38em; }
.hero .lede { max-width: 56ch; }
.hero--page .hero__in { padding-block: clamp(52px, 7.5vw, 88px); }
.hero--page h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }

.crumbs { font-size: .78rem; color: var(--mid); margin-bottom: 1.4rem; letter-spacing: .01em; }
.crumbs a { color: var(--mid); }
.crumbs span { margin-inline: 8px; opacity: .5; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; }
.stat { padding: clamp(26px, 3vw, 38px) clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--line-inv); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1; color: var(--paper); margin-bottom: .45rem; letter-spacing: -0.02em; }
.stat__l { font-size: .79rem; line-height: 1.5; color: rgba(250,248,245,.66); letter-spacing: .01em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat { border-left: 0; padding-left: 0; padding-block: 22px; border-top: 1px solid var(--line-inv); }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
}

/* ---------- practice cards ---------- */
.pcard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 32px; background: var(--paper);
  border: 1px solid var(--line-soft); border-top: 2px solid var(--ink);
  border-radius: 2px; height: 100%; position: relative;
  transition: border-top-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
/* the whole card is the link target; "Read more" is decorative */
.pcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard:has(a:focus-visible) { outline: 2px solid var(--accent-dk); outline-offset: 3px; }
.pcard:hover .pcard__more { text-decoration: underline; text-underline-offset: 3px; }
.pcard:hover { border-top-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px -20px rgba(17,22,26,.4); }
.pcard h3 { margin: 0; }
.pcard h3 a { color: var(--ink); }
.pcard h3 a:hover { text-decoration: none; color: var(--accent-dk); }
.pcard p { font-size: .93rem; color: var(--mid); margin: 0; flex-grow: 1; }
.pcard__more { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dk); }
.pcard--alt { background: transparent; border-color: var(--line); border-top-color: var(--accent); border-style: dashed; }
.pcard--alt:hover { border-top-color: var(--ink); }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li {
  position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line-soft);
  font-size: .97rem; line-height: 1.55;
}
.checklist li:first-child { border-top: 1px solid var(--line-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 3px; top: 25px;
  width: 7px; height: 7px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}
.cols-2 > .checklist li:first-child { border-top: 1px solid var(--line-soft); }

/* ---------- numbered approach ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { counter-increment: s; display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.5rem; color: var(--accent); line-height: 1;
}
.step h3 { margin-bottom: .35em; }
.step p { font-size: .95rem; color: var(--mid); margin: 0; }
@media (max-width: 620px) { .step { grid-template-columns: 42px 1fr; gap: 14px; } }

/* ---------- attorney cards ---------- */
.acard { display: flex; flex-direction: column; gap: 0; }
.acard__photo {
  aspect-ratio: 4 / 5; background: linear-gradient(158deg, var(--deep) 0%, var(--deep-dk) 100%);
  display: flex; align-items: center; justify-content: center; border-radius: 2px; overflow: hidden;
  position: relative;
}
.acard__photo img { width: 100%; height: 100%; object-fit: cover; }
.acard__mono {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: rgba(250,248,245,.42);
  letter-spacing: .04em;
}
.acard__photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(162,102,47,.22), transparent 70%);
}
.acard__body { padding-top: 18px; }
.acard__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.015em; margin: 0 0 3px; }
.acard__name a { color: var(--ink); }
.acard__role { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: var(--accent-tx); font-weight: 600; margin-bottom: 10px; }
.acard__desc { font-size: .9rem; color: var(--mid); margin: 0; }

/* ---------- full bio ---------- */
.bio { padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); }
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio__grid { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .bio__grid { grid-template-columns: 1fr; } .bio__media { max-width: 240px; } }
.bio h2 { margin-bottom: 2px; }
.bio__role { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-tx); font-weight: 600; margin-bottom: 1.3rem; }
.facts { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 148px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: .89rem; }
.facts li:last-child { border-bottom: 1px solid var(--line-soft); }
.facts dt, .facts .k { color: var(--mid); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; padding-top: 2px; }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 3px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.22rem); letter-spacing: -0.012em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 31px; width: 11px; height: 11px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq summary:hover { color: var(--accent-dk); }
.faq__a { padding: 0 0 24px; }
.faq__a p { font-size: .96rem; color: var(--ink-90); }

/* ---------- office cards ---------- */
.office { padding: 30px 0 0; border-top: 2px solid var(--ink); }
.office--inv { border-top-color: rgba(250,248,245,.5); }
.office h3 { margin-bottom: .5em; }
.office address { font-style: normal; font-size: .96rem; line-height: 1.7; color: var(--mid); }
.office--inv address { color: rgba(250,248,245,.72); }

/* ---------- form ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--mid); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); background: #fff; border-radius: 2px; width: 100%;
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(162,102,47,.14); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: .8rem; color: var(--mid); line-height: 1.6; }

/* ---------- callout ---------- */
.callout {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; margin: 2rem 0;
  font-size: .95rem; color: var(--ink-90);
}
.disclaimer-box {
  border: 1px solid var(--line); background: var(--paper-2); padding: 20px 22px; border-radius: 2px;
  font-size: .82rem; line-height: 1.65; color: var(--mid); margin-top: 2rem;
}

/* ---------- CTA band ---------- */
.cta__in { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(250,248,245,.72); font-size: .9rem; }
.footer a { color: rgba(250,248,245,.86); }
.footer h4 { color: var(--paper); font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 1.1rem; font-weight: 600; }
.footer__top { padding-block: clamp(52px, 7vw, 78px); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 52px); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); letter-spacing: -0.018em; margin-bottom: .6rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer address { font-style: normal; line-height: 1.75; color: rgba(250,248,245,.68); font-size: .88rem; }
.footer__legal { border-top: 1px solid var(--line-inv); padding-block: 30px 44px; font-size: .78rem; line-height: 1.7; color: rgba(250,248,245,.55); }
.footer__legal p { max-width: 90ch; margin-bottom: .9em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 6px; }

/* ---------- utility ---------- */
.stack-sm > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.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;
}
@media print {
  .header, .topbar, .cta, .navtoggle { display: none; }
  body { background: #fff; }
}

/* ---------- blog ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,300px); gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }

.post-item { padding-block: clamp(26px, 3.4vw, 40px); border-top: 1px solid var(--line-soft); }
.post-item:first-child { border-top: 0; padding-top: 0; }
.post-item__title { font-family: var(--serif); font-size: clamp(1.32rem, 2.2vw, 1.72rem); line-height: 1.22; letter-spacing: -0.018em; margin: 0 0 .5rem; }
.post-item__title a { color: var(--ink); }
.post-item__title a:hover { color: var(--accent-dk); text-decoration: none; }
.post-item__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); margin-bottom: .85rem; }
.post-item__cat { color: var(--accent-tx); font-weight: 600; }
.post-item__excerpt { font-size: .95rem; color: var(--mid); margin: 0 0 .9rem; max-width: 68ch; }
.post-item__more { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dk); }

.post-empty { border: 1px dashed var(--line); border-top: 2px solid var(--accent); border-radius: 2px; padding: clamp(30px,4vw,48px); background: var(--paper-2); }
.post-empty h2 { margin-bottom: .5rem; }
.post-empty p { color: var(--mid); max-width: 56ch; }

.hero--post h1 { max-width: 22ch; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); margin-top: 1rem; }
.post__hero { width: 100%; height: auto; border-radius: 2px; margin-bottom: clamp(24px,3vw,36px); }
.post__practice { margin-top: clamp(30px,4vw,44px); padding: clamp(22px,3vw,30px); background: var(--paper-2); border-radius: 2px; border-top: 2px solid var(--accent); }
.post__practice h2 { font-size: 1.22rem; }
.post__related { margin-top: clamp(30px,4vw,44px); padding-top: 24px; border-top: 1px solid var(--line); }

/* long-form article body */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.32rem,2.1vw,1.62rem); line-height: 1.25; letter-spacing: -0.015em; margin-top: 2em; }
.prose h3 { font-family: var(--serif); font-size: 1.16rem; margin-top: 1.7em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.72; color: var(--ink-90); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .45em; }
.prose blockquote { margin-left: 0; padding: .2em 0 .2em 1.2em; border-left: 2px solid var(--accent); color: var(--mid); font-style: italic; }
.prose a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 2px; }
.prose img { max-width: 100%; height: auto; border-radius: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.prose code { font-size: .9em; background: var(--paper-2); padding: .12em .35em; border-radius: 2px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

/* sidebar */
.side { display: grid; gap: clamp(26px,3vw,34px); position: sticky; top: 92px; }
@media (max-width: 900px) { .side { position: static; } }
.side__h { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--mid); margin: 0 0 .8rem; font-family: var(--sans); }
.side__list { list-style: none; margin: 0; padding: 0; }
.side__list li { padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .9rem; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.side__list li:first-child { border-top: 0; padding-top: 0; }
.side__list a { color: var(--ink); }
.side__list a:hover { color: var(--accent-dk); }
.side__count, .side__date { font-size: .72rem; color: var(--mid); letter-spacing: .04em; white-space: nowrap; flex-shrink: 0; }
.side__list--cats li, .side__list--archive li { justify-content: space-between; }
.side__empty { font-size: .86rem; color: var(--mid); margin: 0; }
.side__search input {
  width: 100%; font-family: var(--sans); font-size: .9rem; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
}
.side__search input:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 1px; }
.side__results { margin-top: 12px; }
.side__results li { flex-direction: column; align-items: flex-start; gap: 2px; }
.side__cta { padding: 24px; background: var(--paper-2); border-top: 2px solid var(--accent); border-radius: 2px; }
.side__cta p { margin-bottom: 1rem; }

/* pagination */
.pager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: clamp(30px,4vw,46px); padding-top: 24px; border-top: 1px solid var(--line); }
.pager__nums { display: flex; gap: 4px; }
.pager__n { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: .86rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); }
.pager__n:hover { border-color: var(--ink); text-decoration: none; }
.pager__n.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pager__step { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-dk); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
