/* Oben Legal — site.css
   Tokens first; components after. One file, no build step. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic-var.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #17110F;
  --ink-2: #221A17;
  --ink-3: #3A2F2A;
  --paper: #F6F3EC;
  --white: #FFFFFF;
  --sand: #EDE6D8;
  --rule: #DDD6C8;
  --ox: #6E1E24;
  --ox-deep: #4A1318;
  --brass: #D9B77A;
  --brass-ink: #8A5F22;
  --text: #3A2F2A;
  --muted: #5E534C;
  --on-dark: #F0EADD;
  --on-dark-2: #C8BEAE;
  --on-dark-3: #A09484;
  --good: #7E9C6C;
  --warn: #C9A15E;
  --bad: #C1552B;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(56px, 7vw, 80px);
  --gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ox); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ox-deep); }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.on-dark :focus-visible, .tracker :focus-visible, .footer :focus-visible, .utility :focus-visible, .door--dark :focus-visible { outline-color: var(--brass); }
main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ox); color: var(--white); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.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: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 12px 18px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }
.icon { width: 48px; height: 48px; }

/* ---------- small type ---------- */
.kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ox); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.meta__sep { width: 4px; height: 4px; background: currentColor; display: inline-block; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--text); max-width: 38em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; font: 600 0.9375rem/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn--primary { background: var(--ox); color: var(--white); }
.btn--primary:hover { background: var(--ox-deep); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ox); color: var(--white); }
.btn--small { min-height: 44px; padding: 11px 18px; font-size: 0.875rem; }
.btn--large { min-height: 60px; padding: 20px 36px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- utility bar + masthead ---------- */
.utility { background: var(--ink); color: var(--on-dark-2); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.utility__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; }
.utility a { color: var(--brass); text-decoration: none; }
.utility a:hover { text-decoration: underline; color: var(--brass); }

.masthead { border-bottom: 1px solid var(--ink); background: var(--paper); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand { font-family: var(--serif); font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--ox); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--ox); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; margin: -6px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 32px; height: 32px; }
.nav-toggle__close { display: none; }

@media (max-width: 1000px) {
  .utility__inner { flex-direction: column; gap: 4px; }
  .js .nav-toggle { display: block; }
  .masthead__inner { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 18px; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
  .nav__list a[aria-current="page"] { color: var(--ox); border-bottom-color: var(--rule); }
  .js .nav { display: none; padding-bottom: 8px; }
  .js .nav.is-open { display: flex; }
  .js .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .js .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--rule { border-bottom: 1px solid var(--rule); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head__text { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.section-title { font-size: clamp(2rem, 3.2vw, 2.625rem); }
.section-intro { font-size: 1.0625rem; color: var(--text); }

.page-head { padding-block: clamp(48px, 6vw, 72px) clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--rule); }
.page-head__inner { display: flex; flex-direction: column; gap: 20px; }
.page-head__inner > * { max-width: 900px; }
.page-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(52px, 7vw, 80px) clamp(48px, 6vw, 66px); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.hero__main { grid-column: span 8; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 13em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero__aside { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; border-left: 1px solid var(--rule); padding-left: 36px; }
.figure-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.figure { font-family: var(--serif); font-size: clamp(4.5rem, 7vw, 5.5rem); line-height: 0.9; font-weight: 700; color: var(--ox); letter-spacing: -0.03em; }
.figure-note { font-size: 1rem; line-height: 1.5; color: var(--text); }
.figure-source { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .hero__main, .hero__aside { grid-column: 1 / -1; }
  .hero__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
}

/* ---------- jurisdiction tracker ---------- */
.tracker { background: var(--ink); color: var(--on-dark); padding-block: var(--section); }
.tracker .section-title { color: var(--on-dark); }
.tracker__updated { font-family: var(--mono); font-size: 0.75rem; color: var(--on-dark-3); }
.tracker__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jcard { background: var(--ink-2); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.jcard__head { display: flex; align-items: center; gap: 12px; }
.jmark { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--brass); color: var(--brass); font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.02em; flex-shrink: 0; }
.jcard__region { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.jcard__title { font-size: 1.5625rem; line-height: 1.15; color: var(--white); }
.jcard__summary { font-size: 0.9375rem; line-height: 1.55; color: var(--on-dark-2); }
.jcard__status { margin-top: auto; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--on-dark-3); }
.jcard--highlight { background: var(--ox); }
.jcard--highlight .jmark { border-color: #F0D8AE; color: #F0D8AE; }
.jcard--highlight .jcard__region { color: #F0D8AE; }
.jcard--highlight .jcard__summary { color: #F2E4E5; }
.jcard--highlight .jcard__status { color: #E6C9CB; }
.tracker__foot { margin-top: 28px; }
.tracker__foot a { color: var(--brass); }
@media (max-width: 1100px) { .tracker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tracker__grid { grid-template-columns: 1fr; } .jcard { min-height: 0; } }

.jfull { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; padding-block: 56px; border-bottom: 1px solid var(--rule); }
.jfull__side { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.jmark--large { width: 72px; height: 72px; font-size: 1.625rem; border-color: var(--ox); color: var(--ox); }
.jfull__region { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ox); }
.jfull__status { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.jfull__main { grid-column: 5 / span 7; }
@media (max-width: 900px) { .jfull__side, .jfull__main { grid-column: 1 / -1; } }

/* ---------- the Brief cards ---------- */
.brief-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.brief-grid > .card--lead { grid-column: span 7; }
.brief-grid__side { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color .15s ease; flex-grow: 1; }
.card:hover { border-color: var(--ox); color: var(--ink); }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 26px; flex-grow: 1; }
.card--lead .card__body { padding: 36px 40px 40px; gap: 16px; }
.card__title { font-size: 1.5rem; line-height: 1.15; }
.card__title--lead { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.08; }
.card__summary { font-size: 0.9375rem; line-height: 1.55; color: var(--text); }
.card--lead .card__summary { font-size: 1.0625rem; line-height: 1.6; }
.card .meta { margin-top: auto; padding-top: 10px; }
.brief-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1000px) {
  .brief-grid > .card--lead, .brief-grid__side { grid-column: 1 / -1; }
  .brief-list { grid-template-columns: 1fr; }
}

/* ---------- diagnostic promo band ---------- */
.promo { background: var(--sand); padding-block: clamp(48px, 5vw, 60px); border-bottom: 1px solid var(--rule); }
.promo__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: center; }
.promo__text { grid-column: span 7; display: flex; flex-direction: column; gap: 14px; }
.promo__icon { color: var(--ox); }
.promo__cta { grid-column: span 5; display: flex; justify-content: flex-end; }
@media (max-width: 900px) { .promo__text, .promo__cta { grid-column: 1 / -1; } .promo__cta { justify-content: flex-start; } }

/* ---------- practice grid ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.service { background: var(--white); }
.service__link { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 30px 28px 32px; color: var(--ink); text-decoration: none; }
.service__link:hover { background: var(--paper); color: var(--ink); }
.service__link:hover .service__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.service__icon { color: var(--ox); margin-bottom: 6px; }
.service__entity { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.service--firm .service__entity { color: var(--ox); }
.service__name { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.service__summary { font-size: 0.9375rem; line-height: 1.55; color: var(--text); }
.service--firm { background: var(--ink); }
.service--firm .service__link { color: var(--on-dark); }
.service--firm .service__link:hover { background: var(--ink-2); color: var(--on-dark); }
.service--firm .service__icon { color: var(--brass); }
.service--firm .service__entity { color: var(--brass); }
.service--firm .service__name { color: var(--white); }
.service--firm .service__summary { color: var(--on-dark-2); }
.service--firm :focus-visible { outline-color: var(--brass); }
.service--free { background: var(--sand); }
@media (max-width: 1100px) { .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .practice-grid { grid-template-columns: 1fr; } }

/* ---------- archive ---------- */
.archive-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cat { border-top: 3px solid var(--ox); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cat__icon { color: var(--ox); }
.cat__name { font-size: 1.375rem; }
.cat__name a { color: var(--ink); text-decoration: none; }
.cat__name a:hover { color: var(--ox); text-decoration: underline; }
.cat__blurb { font-size: 0.9375rem; color: var(--muted); }
.cat__list { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.cat__list a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.45; }
.cat__list a:hover { color: var(--ox); text-decoration: underline; }
@media (max-width: 1100px) { .archive-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 600px) { .archive-cats { grid-template-columns: 1fr; } }

.empty { background: var(--white); border: 1px solid var(--rule); padding: 36px 40px; margin-bottom: 48px; max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.empty__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

.archive-section { padding-block: 48px; border-bottom: 1px solid var(--rule); }
.archive-section__head { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: start; margin-bottom: 28px; }
.archive-section__head h2 { font-size: 1.875rem; margin-bottom: 6px; }
.archive-section__head p { color: var(--muted); }
.archive-section__count { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); padding-top: 10px; }
.archive-list { border-top: 1px solid var(--rule); }
.archive-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.archive-list a:hover .archive-list__title { color: var(--ox); text-decoration: underline; }
.archive-list__title { font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; line-height: 1.3; }
.archive-list time { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) {
  .archive-section__head { grid-template-columns: 48px 1fr; }
  .archive-section__count { grid-column: 2; padding-top: 0; }
  .archive-list a { flex-direction: column; gap: 4px; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; }
.about__id { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.about__name { font-size: clamp(2.25rem, 3.5vw, 2.75rem); line-height: 1.05; }
.about__role { color: var(--muted); }
.portrait { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; background: var(--sand); border: 1px solid var(--rule); display: grid; place-items: center; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-align: center; padding: 24px; object-fit: cover; }
.about__text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 22px; }
.about__pull { font-family: var(--serif); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.4; color: var(--ink); }
.about__text > p:not(.about__pull) { font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.tag { border: 1px solid var(--rule); padding: 8px 14px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
@media (max-width: 1000px) { .about__id, .about__text { grid-column: 1 / -1; } }

/* ---------- two doors ---------- */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.door { background: var(--white); border: 1px solid var(--rule); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.door__entity { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ox); }
.door__title { font-size: 1.875rem; }
.door p:not(.door__entity) { color: var(--text); }
.door .text-link { margin-top: auto; padding-top: 14px; }
.door--dark { background: var(--ink); border-color: var(--ink); }
.door--dark .door__entity { color: var(--brass); }
.door--dark .door__title { color: var(--white); }
.door--dark p:not(.door__entity) { color: var(--on-dark-2); }
.door--dark .text-link { color: var(--brass); }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; } .door { padding: 30px; } }

/* ---------- article ---------- */
.article__head { padding-block: clamp(48px, 6vw, 68px) 40px; }
.article__headinner { max-width: 900px; margin-left: calc((100% - var(--gap) * 11) / 12 + var(--gap)); display: flex; flex-direction: column; gap: 22px; }
.article__title { font-size: clamp(2.375rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }
.article__standfirst { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.45; color: var(--text); }
.article__figure { margin: 0 0 8px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 48px 64px; }
.article__aside { grid-column: span 3; display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: 24px; }
.article__body { grid-column: 5 / span 7; max-width: 720px; }
.article__note { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); border-left: 2px solid var(--rule); padding-left: 14px; margin-bottom: 32px; }
.toc { border-top: 3px solid var(--ink); padding-top: 16px; }
.toc__title { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 22px 1fr; font-size: 0.9375rem; line-height: 1.4; }
.toc li::before { content: counter(toc) "."; color: var(--muted); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--ox); text-decoration: underline; }
.aside-promo { border: 1px solid var(--ox); padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 0.9375rem; color: var(--text); }
.aside-promo__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.author-box { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 28px; display: flex; gap: 20px; }
.author-box p { font-size: 1rem; line-height: 1.6; color: var(--text); margin: 0 0 8px; }
.author-box__name { font-family: var(--serif); font-size: 1.375rem !important; font-weight: 600; color: var(--ink) !important; }
.more { padding-block: 48px var(--section); border-top: 1px solid var(--rule); }
.more__title { font-size: 1.5rem; margin-bottom: 20px; }
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.more__list a { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; border-top: 3px solid var(--ox); padding-top: 14px; }
.more__list a:hover { color: var(--ox); text-decoration: underline; }
@media (max-width: 1000px) {
  .article__headinner { margin-left: 0; }
  .article__aside { grid-column: 1 / -1; position: static; order: 2; margin-top: 48px; }
  .article__body { grid-column: 1 / -1; max-width: none; }
  .more__list { grid-template-columns: 1fr; }
}

/* ---------- prose ---------- */
.prose { font-size: 1.1875rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-of-type:not(.article__note) { font-size: 1.3125rem; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: clamp(1.75rem, 2.6vw, 2.125rem); line-height: 1.15; margin-top: 2em; scroll-margin-top: 24px; }
.prose h3 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ox); }
.prose blockquote { margin: 1.6em 0; padding: 24px 28px; border-left: 3px solid var(--ox); background: var(--white); font-family: var(--serif); font-size: 1.4375rem; line-height: 1.5; color: var(--ink); }
.prose blockquote p + p { margin-top: 0.8em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { margin-block: 1.6em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.callout { background: var(--ink); color: var(--on-dark); padding: 32px 36px; margin: 2em 0 !important; }
.callout__label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.callout__text { font-family: var(--serif); font-size: clamp(1.375rem, 2.2vw, 1.6875rem); line-height: 1.35; color: var(--white); }
.sources { font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 2.4em !important; }
.sources p { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field__hint { font-size: 0.875rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #B9AE9C; padding: 13px 14px; border-radius: 0; min-height: 48px; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ox); outline-offset: 0; border-color: var(--ox); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; line-height: 1.5; color: var(--text); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ox); }
.notice { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--ox); padding: 18px 20px; font-size: 0.9375rem; color: var(--text); }
.form-status { font-weight: 600; }
.form-status--error { color: var(--bad); }
.hp { position: absolute; left: -9999px; }

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.contact__form { grid-column: span 7; }
.contact__side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 28px; }
.contact__side h2 { font-size: 1.375rem; margin-bottom: 8px; }
.contact__side p { color: var(--text); font-size: 0.9375rem; }
@media (max-width: 1000px) { .contact__form, .contact__side { grid-column: 1 / -1; } }

/* ---------- diagnostic ---------- */
.diag-progress { height: 4px; background: var(--rule); }
.diag-progress__bar { height: 4px; width: 0; background: var(--ox); transition: width .25s ease; }
.diag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-block: clamp(40px, 5vw, 60px) var(--section); }
.diag__main { grid-column: span 7; display: flex; flex-direction: column; gap: 26px; }
.diag__panel { grid-column: 9 / span 4; align-self: start; position: sticky; top: 24px; background: var(--ink); color: var(--on-dark); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.diag__step { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.diag__section { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ox); }
.diag fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.diag legend { padding: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); }
.diag legend:focus { outline: none; }
.diag__helper { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 36em; }
.options { display: flex; flex-direction: column; gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: baseline; padding: 20px 22px; background: var(--white); border: 1px solid var(--rule); cursor: pointer; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; transition: border-color .12s ease; }
.option__key { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.option input:hover + label { border-color: var(--ink); }
.option input:focus-visible + label { outline: 2px solid var(--ox); outline-offset: 2px; }
.option input:checked + label { background: var(--ox); border-color: var(--ox); color: var(--white); }
.option input:checked + label .option__key { color: #F0D8AE; }
.diag__nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.diag__note { font-size: 0.875rem; color: var(--muted); }
.panel__label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.panel__score { display: flex; align-items: baseline; gap: 8px; }
.panel__num { font-family: var(--serif); font-size: clamp(4.5rem, 7vw, 6rem); line-height: 0.9; font-weight: 700; color: var(--white); letter-spacing: -0.03em; }
.panel__of { font-family: var(--serif); font-size: 2rem; color: var(--on-dark-3); }
.panel__note { font-size: 0.9375rem; line-height: 1.55; color: var(--on-dark-2); }
.panel__rule { height: 1px; background: var(--ink-3); }
.domains { display: flex; flex-direction: column; gap: 16px; }
.domain__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; margin-bottom: 7px; }
.domain__label { font-family: var(--mono); font-size: 0.75rem; color: var(--brass); white-space: nowrap; }
.domain__track { height: 6px; background: var(--ink-3); }
.domain__fill { height: 6px; width: 0; background: var(--on-dark-3); transition: width .3s ease; }
.panel__foot { font-size: 0.8125rem; line-height: 1.55; color: var(--on-dark-3); border-top: 1px solid var(--ink-3); padding-top: 18px; }
.diag__intro { display: flex; flex-direction: column; gap: 22px; }
.diag__intro h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.checklist li::before { content: ""; width: 10px; height: 10px; background: var(--ox); margin-top: 0.55em; }
.gaps { display: flex; flex-direction: column; gap: 16px; }
.gap { background: var(--white); border: 1px solid var(--rule); padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.gap .gap__domain { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ox); }
.gap .gap__title { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.gap p:not([class]) { color: var(--text); font-size: 0.9375rem; line-height: 1.6; }
.band { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--white); }
.report { border-top: 1px solid var(--rule); padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.report h2 { font-size: 1.75rem; }
@media (max-width: 1000px) {
  .diag__main, .diag__panel { grid-column: 1 / -1; }
  .diag__panel { position: static; padding: 24px; }
  .diag--questions .diag__panel { order: -1; }
  .panel__num { font-size: 3.5rem; }
  .diag--questions .domains, .diag--questions .panel__foot, .diag--questions .panel__rule, .diag--questions .panel__label--domains { display: none; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding-top: 56px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__firm { display: flex; flex-direction: column; gap: 14px; max-width: 480px; font-size: 0.9375rem; line-height: 1.6; }
.footer__brand { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; color: var(--on-dark); letter-spacing: -0.02em; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: var(--brass); text-decoration: underline; }
.footer__legal { font-size: 0.8125rem; color: var(--on-dark-3); }
.footer__nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__head { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; }
.footer__base { border-top: 1px solid var(--ink-3); padding-block: 20px 28px; font-family: var(--mono); font-size: 0.75rem; color: var(--on-dark-3); }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(72px, 10vw, 140px); }
.notfound__inner { display: flex; flex-direction: column; gap: 22px; }
.notfound__inner > * { max-width: 760px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- print (articles and diagnostic results) ---------- */
@media print {
  .utility, .masthead, .footer, .article__aside, .more, .skip-link, .diag__nav, .report, .no-print, .promo { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .container { padding-inline: 0; max-width: none; }
  .article__layout, .diag { display: block; padding: 0; }
  .article__body { max-width: none; }
  .diag__panel { position: static; background: #fff; color: #000; border: 1px solid #000; padding: 16px; margin-bottom: 16px; }
  .panel__num, .band { color: #000; }
  .panel__of, .panel__note, .domain__label, .panel__label { color: #333; }
  .domain__track { background: #ddd; }
  .gap { break-inside: avoid; border-color: #999; }
  a { color: #000; text-decoration: none; }
}

.tracker-note { padding-block: 40px var(--section); display: flex; flex-direction: column; gap: 12px; max-width: 760px; color: var(--muted); font-size: 0.9375rem; }
.page-foot { padding-block: 0 var(--section); }
.prose--narrow { max-width: 720px; }
.diag__results { display: flex; flex-direction: column; gap: 28px; }
.results__gaps-title { font-size: 1.75rem; }

@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .utility__inner p + p { display: none; }
}
.portrait--monogram { font-family: var(--serif); font-size: 4.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ox); }
@media (min-width: 1001px) { .article__figure img { aspect-ratio: 2 / 1; } }
.diag__form { display: flex; flex-direction: column; gap: 32px; }
.diag__main > [data-main] { display: flex; flex-direction: column; gap: 14px; }
.jfull .prose > p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
