/* ==========================================================================
   tomcedoz.com — design system
   Deep navy · charcoal · white. Serif headlines, quiet sans UI.
   No frameworks. No required JavaScript.
   ========================================================================== */

:root {
  --navy: #0a1f3f;
  --navy-deep: #071833;
  --navy-line: #22395e;
  --ink: #25272b;
  --slate: #545d6a;
  --mist: #6b7480;
  --steel: #b9c3d4;
  --line: #e3e6eb;
  --line-soft: #eef0f3;
  --wash: #f6f7f9;
  --paper: #ffffff;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --w-site: 1080px;
  --w-prose: 46rem;
  --w-text: 40rem;
}

/* ---- Reset / base ----------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;            /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }

a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2.5px; text-decoration-color: var(--steel); transition: color 120ms ease, text-decoration-color 120ms ease; }
a:hover { color: var(--navy-deep); text-decoration-color: var(--navy); }

::selection { background: var(--navy); color: #fff; }

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

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

/* ---- Layout helpers ---------------------------------------------------- */

.container { max-width: var(--w-site); margin: 0 auto; padding: 0 1.5rem; }

.prose { max-width: var(--w-prose); }
.prose h2 { font-size: 1.45rem; margin-top: 2.4em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
  font-family: var(--sans); font-size: 0.85rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Header ------------------------------------------------------------ */

.site-head { border-top: 3px solid var(--navy); border-bottom: 1px solid var(--line); background: var(--paper); }

.head-row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 0.5rem 2rem;
  padding-top: 1.4rem; padding-bottom: 1.3rem;
}

.wordmark {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
}
.wordmark:hover { color: var(--navy); }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.9rem; }
.site-nav a {
  font-family: var(--sans); font-size: 0.875rem; font-weight: 500;
  color: var(--slate); text-decoration: none; padding: 0.2rem 0;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current] {
  color: var(--navy); font-weight: 600;
  box-shadow: 0 1.5px 0 0 var(--navy);
}

@media (max-width: 420px) {
  .site-nav { gap: 0.25rem 1.05rem; }
  .site-nav a { font-size: 0.82rem; }
}

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

.hero { padding: 5.5rem 0 4.5rem; }
.hero.hero-library { padding-bottom: 3.2rem; }
.hero.hero-insights { padding-bottom: 3rem; }

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
  max-width: 26ch;
  margin-bottom: 0.55em;
}

.hero .lede {
  font-size: 1.17rem; line-height: 1.6; color: var(--slate);
  max-width: 36rem; margin-bottom: 1.2rem;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  font-family: var(--sans); font-size: 0.8rem; color: var(--mist);
  padding: 0; margin: 0; list-style: none;
}
.hero-meta li::before { content: "—"; margin-right: 0.55rem; color: var(--steel); }

@media (max-width: 640px) { .hero { padding: 3.5rem 0 3rem; } }

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

.section { padding: 4.2rem 0; }
.section.section-recent { padding-top: 4.2rem; }
.section.section-person { padding-top: 1rem; }
.section + .section { padding-top: 0; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem; margin-bottom: 2.2rem;
}
/* the chapter rule lives in ::after so it can draw itself in (see motion) */
.section-head::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--navy);
}
.section-head h2 { font-size: 1.4rem; letter-spacing: 0; margin: 0; }
.section-head .more {
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500;
  white-space: nowrap; text-decoration: none; color: var(--slate);
}
.section-head .more:hover { color: var(--navy); }

/* ---- Resource cards ------------------------------------------------------ */

.res-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.res-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--paper);
  padding: 1.5rem 1.5rem 1.3rem; border-radius: 2px;
  transition: border-color 140ms ease;
}
.res-card:hover { border-color: var(--navy); }
.res-card:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(10, 31, 63, 0.14);
}

.res-card .type {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--mist);
  margin: 0 0 0.9rem;
}

.res-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.5rem; }
.res-card h3 a { text-decoration: none; color: var(--navy); }
.res-card h3 a::after { content: ""; position: absolute; inset: 0; }
.res-card h3 a:focus-visible { outline: none; }
.res-card:focus-within h3 a { text-decoration: underline; text-decoration-color: var(--steel); }

.res-card .desc { font-size: 0.94rem; line-height: 1.55; color: var(--slate); margin: 0 0 1.2rem; text-wrap: pretty; }

.res-card .meta {
  margin-top: auto; font-family: var(--sans); font-size: 0.76rem; color: var(--mist);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.res-card .meta .arrow { color: var(--navy); transition: transform 140ms ease; }
.res-card:hover .meta .arrow { transform: translateX(3px); }

/* Grouped lists on the Resources page */
.res-group { margin-bottom: 3.4rem; }
.res-group:last-child { margin-bottom: 0; }
.res-group > p.groupnote { max-width: var(--w-prose); color: var(--slate); margin: -1.4rem 0 1.8rem; font-size: 0.98rem; }

/* ---- Navy statement band ------------------------------------------------- */

.band {
  background: var(--navy); color: #fff;
  padding: 6.5rem 0;
}
.band .statement {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.35; letter-spacing: -0.012em; font-weight: 400; max-width: 33ch;
  margin: 0 0 1.8rem; color: #fff; text-wrap: balance;
}
.band .statement strong { font-weight: 600; }
.band .note { font-family: var(--sans); font-size: 0.875rem; color: var(--steel); max-width: 44rem; margin: 0; }

/* ---- Landing: AI-section framing + author strip ---------------------------- */

.section-lede {
  max-width: var(--w-text); color: var(--slate);
  font-size: 1.02rem; line-height: 1.6; margin: -0.6rem 0 2rem;
}

.byline-strip {
  display: flex; gap: 1.4rem; align-items: center;
  border-top: 1px solid var(--navy); padding-top: 1.9rem; max-width: 48rem;
}
.byline-strip.byline-late { margin-top: 2.4rem; }
.byline-strip img {
  width: 74px; height: 74px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  filter: grayscale(100%); border: 1px solid var(--line);
}
.byline-name {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist);
  margin: 0 0 0.35rem;
}
.byline-line { font-size: 1rem; line-height: 1.55; color: var(--slate); margin: 0; max-width: 36rem; }
.byline-line a { white-space: nowrap; }

@media (max-width: 520px) {
  .byline-strip { gap: 1rem; }
  .byline-strip img { width: 60px; height: 60px; }
}
.band a { color: #fff; text-decoration-color: var(--navy-line); }
.band a:hover { text-decoration-color: #fff; color: #fff; }

/* ---- Insights list -------------------------------------------------------- */

.insight-list { list-style: none; margin: 0; padding: 0; }

.insight-item { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.insight-item:first-child { padding-top: 0.2rem; }

.insight-item .where {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist);
  margin: 0 0 0.45rem;
}
.insight-item h3 { font-size: 1.38rem; margin: 0 0 0.4rem; line-height: 1.3; }
.insight-item h3 a { text-decoration: none; }
.insight-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--steel); }
.insight-item .sum { color: var(--slate); max-width: var(--w-text); margin: 0 0 0.5rem; font-size: 0.98rem; text-wrap: pretty; }
.insight-item .date { font-family: var(--sans); font-size: 0.78rem; color: var(--mist); margin: 0; }

/* Compact link list inside a grouped "series" insight */
.sublist { list-style: none; margin: 0 0 0.7rem; padding: 0; font-size: 0.92rem; max-width: var(--w-prose); }
.sublist li { position: relative; padding: 0.32rem 0 0.32rem 1.15rem; margin: 0; }
.sublist li::before { content: "\2014"; position: absolute; left: 0; color: var(--steel); }
.sublist .when { font-family: var(--sans); font-size: 0.74rem; color: var(--mist); margin-left: 0.45rem; white-space: nowrap; }

/* ---- Document (resource / article) pages ---------------------------------- */

.doc { padding: 4rem 0 5rem; }

.crumbs {
  max-width: var(--w-prose);
  margin: 0 0 1.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--mist);
}
.crumbs a {
  color: var(--slate);
  text-decoration: none;
}
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs .sep { color: var(--steel); margin: 0 0.45rem; }

.doc-head { max-width: var(--w-prose); margin-bottom: 2.6rem; }
.doc-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); line-height: 1.15; letter-spacing: -0.01em; }
.doc-head.doc-head-tight { margin-bottom: 1.8rem; }
.doc-head.doc-head-loose { margin-bottom: 2.4rem; }
.page-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.doc-head .standfirst { font-size: 1.13rem; line-height: 1.6; color: var(--slate); margin: 0 0 1.5rem; }

.doc-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem;
  font-family: var(--sans); font-size: 0.8rem; color: var(--mist);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.doc-meta .dot { color: var(--steel); }
.doc-meta .btn-print { margin-left: auto; }

.btn-print {
  display: none;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  color: var(--navy); background: var(--paper);
  border: 1px solid var(--navy); border-radius: 2px;
  padding: 0.45rem 0.9rem; cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.has-js .btn-print { display: inline-block; }
.btn-print:hover { background: var(--navy); color: #fff; }

/* Quiet practice-note callout */
.callout {
  border-left: 2px solid var(--navy);
  background: var(--wash);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  font-size: 0.97rem;
}
.callout p { margin: 0 0 0.6em; }
.callout p:last-child { margin: 0; }
.callout.callout-prose { max-width: var(--w-prose); }
.callout .callout-label {
  display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 0.45rem;
}

/* Checklists */
.checklist { list-style: none; margin: 0 0 1.6em; padding: 0; }
.checklist .check { display: flex; align-items: flex-start; padding: 0.62rem 0; border-bottom: 1px solid var(--line-soft); margin: 0; }
.checklist .check:last-child { border-bottom: 0; }

.check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 1.02rem; height: 1.02rem; flex: none;
  border: 1.5px solid var(--navy); border-radius: 2px;
  margin: 0.26rem 0.8rem 0 0; background: var(--paper); cursor: pointer;
}
.check input[type="checkbox"]:checked {
  background: var(--navy) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" fill="none" stroke="white" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/78% no-repeat;
}
.check label { cursor: pointer; }
.check input:checked + label { color: var(--mist); }
.check strong { color: var(--navy); font-weight: 600; }
.check input:checked + label strong { color: inherit; }

/* Numbered framework steps */
.steps { list-style: none; counter-reset: step; margin: 0 0 1.6em; padding: 0; }
.steps-start-4 { counter-reset: step 3; }
.steps-start-5 { counter-reset: step 4; }
.steps-start-6 { counter-reset: step 5; }
.steps-start-7 { counter-reset: step 6; }
.steps-start-9 { counter-reset: step 8; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.1rem; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0.18em;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--mist);
}
.steps > li::after {
  content: ""; position: absolute; left: 0.55rem; top: 1.7em; bottom: 0.45em;
  width: 1px; background: var(--line);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin: 0 0 0.35rem; }
.steps p { margin: 0 0 0.6em; color: var(--ink); }
.steps p:last-child { margin-bottom: 0; }

/* Decision tree */
.tree { margin: 0 0 1.6em; }
.t-node {
  border: 1px solid var(--line); border-left: 2px solid var(--navy);
  background: var(--wash); padding: 0.85rem 1.1rem; margin-bottom: 0.9rem;
  border-radius: 2px;
}
.t-node .q { font-weight: 600; color: var(--navy); display: block; }
.t-node .hint { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--slate); margin-top: 0.3rem; }
.t-branch { margin: 0 0 0.9rem 1.4rem; padding-left: 1.15rem; border-left: 1px solid var(--line); }
.t-tag {
  display: inline-block; font-family: var(--sans); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
  padding: 0.18rem 0.5rem; margin: 0 0.5rem 0.4rem 0; vertical-align: 0.1em;
}
.t-tag.yes { background: var(--navy); color: #fff; }
.t-tag.no { background: var(--paper); color: var(--navy); border: 1px solid var(--navy); }
.t-leaf { padding: 0.15rem 0 0.6rem; }
.t-leaf p { margin: 0 0 0.5em; }

/* Simple reference tables */
.ref-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 1.6em; }
.ref-table th {
  text-align: left; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate);
  border-bottom: 1px solid var(--navy); padding: 0.5rem 0.9rem 0.5rem 0;
}
.ref-table td { vertical-align: top; border-bottom: 1px solid var(--line); padding: 0.65rem 0.9rem 0.65rem 0; }
.ref-table td:first-child { font-weight: 600; color: var(--navy); }

/* Doc footer */
.doc-foot { max-width: var(--w-prose); margin-top: 3rem; }
.doc-byline { font-family: var(--sans); font-size: 0.85rem; line-height: 1.55; color: var(--slate); margin: 0 0 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.doc-byline a { color: var(--navy); text-decoration-color: var(--steel); }
.doc-foot .related { font-family: var(--sans); font-size: 0.85rem; color: var(--slate); margin: 1.6rem 0 0.4rem; }
.doc-foot .backlink { font-family: var(--sans); font-size: 0.85rem; margin: 0.2rem 0 0; }
.doc-foot .backlink a { text-decoration: none; color: var(--slate); }
.doc-foot .backlink a:hover { color: var(--navy); }

/* Print-only source line */
.print-note { display: none; }
.print-legal { display: none; }

/* Article endnotes */
.article-note {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--mist);
}
.article-note-slate {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--slate);
}
.article-mini-heading { font-size: 1.1rem; }
.article-pullquote {
  border-left: 2px solid var(--navy);
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
}
.endnotes { font-size: 0.88rem; color: var(--slate); }
.endnotes ol { padding-left: 1.2rem; }
.endnotes li { margin-bottom: 0.6em; }
.endnotes a { overflow-wrap: anywhere; }

/* ---- How I Work ------------------------------------------------------------ */

.bio-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 3.5rem; align-items: start; }
.bio-row .portrait { margin: 0; }
.bio-row .portrait img { filter: grayscale(100%); border: 1px solid var(--line); }
.bio-row .portrait figcaption { font-family: var(--sans); font-size: 0.75rem; color: var(--mist); margin-top: 0.6rem; line-height: 1.5; }
@media (max-width: 720px) {
  .bio-row { grid-template-columns: 1fr; gap: 2rem; }
  .bio-row .portrait { max-width: 200px; }
}

/* ---- Contact form ------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-label {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist);
  margin: 0 0 0.5rem;
}
.contact-email { font-family: var(--serif); font-size: clamp(1.3rem, 2.7vw, 1.75rem); line-height: 1.3; margin: 0 0 1.5rem; }
.contact-email a { text-decoration-color: var(--steel); text-underline-offset: 3px; }

.contact-warning {
  max-width: 34rem;
  border-left: 2px solid var(--navy);
  background: var(--wash);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
}

.form-note { font-family: var(--sans); font-size: 0.8rem; color: var(--mist); line-height: 1.6; margin-top: 1.1rem; }

.aside-list { list-style: none; margin: 0; padding: 0; font-size: 0.97rem; }
.aside-list li { border-bottom: 1px solid var(--line-soft); padding: 0.75rem 0; }
.aside-list li:first-child { padding-top: 0; }
.aside-list .what { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--mist); margin-bottom: 0.2rem; }

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

.site-foot { background: var(--navy-deep); color: var(--steel); margin-top: 5rem; }
.site-foot.foot-close { margin-top: 2rem; }

.foot-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1.4fr; gap: 2.5rem;
  padding-top: 3.2rem; padding-bottom: 2.6rem;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }

.site-foot p { margin: 0 0 0.5em; }
.foot-affiliation { font-size: 0.95rem; }
.foot-location { font-family: var(--sans); font-size: 0.8rem; color: #8b97ab; }
.foot-name {
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.site-foot a { color: #fff; text-decoration-color: var(--navy-line); }
.site-foot a:hover { color: #fff; text-decoration-color: #fff; }

.foot-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-nav a { font-family: var(--sans); font-size: 0.85rem; color: var(--steel); text-decoration: none; }
.foot-nav a:hover { color: #fff; }

.foot-legal { font-family: var(--sans); font-size: 0.78rem; line-height: 1.65; color: #8b97ab; }
.foot-legal p { margin-bottom: 0.8em; }

.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  border-top: 1px solid var(--navy-line);
  padding-top: 1.2rem; padding-bottom: 1.4rem;
  font-family: var(--sans); font-size: 0.76rem; color: #8b97ab;
}
.foot-bottom p { margin: 0; }

/* ---- Landing page: editorial art direction --------------------------------- */

/* Drawn arrow — a line that extends under the cursor (replaces the glyph) */
.res-card .meta .arrow {
  font-size: 0; line-height: 0;
  position: relative; display: inline-block; flex: none;
  width: 26px; height: 1px; background: var(--navy);
  transition: width 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.res-card .meta .arrow::after {
  content: ""; position: absolute; right: -1px; top: -3.5px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--navy); border-right: 1px solid var(--navy);
  transform: rotate(45deg);
}
.res-card:hover .meta .arrow { transform: none; width: 44px; }

.arr {
  position: relative; display: inline-block; vertical-align: middle;
  width: 30px; height: 1px; background: currentColor;
  margin: 0 0 0.1rem 0.65rem;
  transition: width 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.arr::after {
  content: ""; position: absolute; right: -1px; top: -3.5px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
a:hover .arr { width: 46px; }

/* small variant — the one arrow language everywhere a glyph used to sit */
.arr-s { width: 18px; margin-left: 0.5rem; }
a:hover .arr-s { width: 30px; }

/* Hero */
.hero-v2 { padding: 5rem 0 4.8rem; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3.5rem; align-items: center;
}
.hero-v2 h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 24ch;
}
.hero-v2 h1 em { font-style: italic; font-weight: 400; }
.hero-cta { margin: 1.6rem 0 0; }
.hero-cta a {
  display: inline-block;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
  color: var(--navy); text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid var(--navy); border-radius: 2px;
  padding: 0.55rem 1rem;
  transition: background 140ms ease, color 140ms ease;
}
.hero-cta a:hover { background: var(--navy); color: #fff; }
.hero-v2 .hero-meta { margin-top: 1.55rem; }

/* The engraving: Fig. 1 (shared by the desktop and mobile figures).
   Record nodes are solid navy — the identity square; litigation circles stay
   hollow: that side of the line hasn't been written yet. */
.fig { margin: 0; min-width: 0; }
.fig svg { width: 100%; height: auto; display: block; }
.fig .ln, .fig-mobile .ln   { stroke: #c6cdd9; stroke-width: 1; fill: none; }
.fig .lk, .fig-mobile .lk   { stroke: var(--navy); stroke-width: 1.6; fill: none; }
.fig .ghost, .fig-mobile .ghost { stroke: #c6cdd9; stroke-width: 1; fill: none; stroke-dasharray: 2 5; opacity: 0.7; }
.fig .nd, .fig-mobile .nd   { fill: var(--navy); stroke: none; }
.fig .ns, .fig-mobile .ns   { stroke: #aab4c4; stroke-width: 1.1; fill: #fff; }
.fig .nt   { fill: var(--navy); }
.fig .lb, .fig-mobile .lb   { font-family: var(--sans); font-size: 11px; fill: var(--slate); letter-spacing: 0.01em; }
.fig .ch, .fig-mobile .ch   { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; fill: var(--navy); }
.fig .ch.off { fill: #aab4c4; }
.fig-cap {
  font-family: var(--sans); font-size: 0.72rem; color: var(--mist);
  text-align: right; border-top: 1px solid var(--line);
  padding-top: 0.55rem; margin-top: 0.9rem; letter-spacing: 0.02em;
}
.fig-cap em { font-style: italic; font-family: var(--serif); font-size: 0.8rem; color: var(--slate); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .fig { display: none; }
  .hero-v2 { padding: 3.6rem 0 3.2rem; }
}

/* Numbered section heads — quiet Georgia folios, apparatus not ornament */
.section-head .no {
  font-family: var(--serif); font-style: italic; font-size: 0.95rem; font-weight: 400;
  color: var(--slate); letter-spacing: 0.04em; margin-right: 0.7rem;
  position: relative; top: -0.08em;
}

/* Card index numerals — folios in the card's top margin, clear of the text */
.res-card .idx {
  position: absolute; top: 0.4rem; right: 1.4rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; font-weight: 400;
  color: var(--steel); letter-spacing: 0.02em; margin: 0; line-height: 1;
  transition: color 140ms ease;
}
.res-card:hover .idx { color: var(--navy); }

/* Navy band: ghosted section mark + industries row */
.band { position: relative; overflow: hidden; }
.band > .container { position: relative; z-index: 1; }
.band::after {
  content: "\00A7";
  position: absolute; right: -0.5rem; top: 50%; transform: translateY(-52%);
  font-family: var(--serif); font-size: 27rem; font-weight: 600; line-height: 1;
  color: #fff; opacity: 0.075; pointer-events: none; user-select: none;
}
.industries {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel);
  margin: 0 0 1.1rem;
}
.industries span { margin: 0 0.9em; color: var(--navy-line); font-weight: 400; }

/* ---- Motion (only when JS present and motion allowed) ----------------------- */

@media (prefers-reduced-motion: no-preference) {

  /* "from" states live inside the keyframes (fill-mode: both), so the
     resting CSS is always the finished state — robust in print/capture. */
  .js .rv { animation: rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .js .rv-1 { animation-delay: 0.05s; }
  .js .rv-2 { animation-delay: 0.14s; }
  .js .rv-3 { animation-delay: 0.26s; }
  .js .rv-4 { animation-delay: 0.38s; }
  .js .rv-5 { animation-delay: 0.5s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }

  /* the figure draws itself once — one causal sequence, left to right:
     the record line first, each node popping as the line front passes it,
     then the complaint-filed rule, and only after it lands, litigation. */
  .js .fig { animation: appear 0.3s ease both; }
  .js .fig .draw { stroke-dasharray: 1; animation: draw 0.7s ease both; }
  .js .fig .d1 { animation-delay: 0.1s; }
  .js .fig .d3 { animation-delay: 0.85s; }
  .js .fig .d5 { animation-delay: 1.6s; animation-duration: 0.5s; }

  @keyframes draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }

  .js .fig .pop { animation: appear 0.45s ease both; }
  .js .fig .s1 { animation-delay: 0.18s; }
  .js .fig .s2 { animation-delay: 0.37s; }
  .js .fig .s3 { animation-delay: 0.56s; }
  .js .fig .s4 { animation-delay: 0.73s; }
  .js .fig .s5 { animation-delay: 0.95s; }
  .js .fig .s6 { animation-delay: 1.75s; }
  .js .fig .s7 { animation-delay: 1.95s; }

  @keyframes appear {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* once the intro has played, drop the animations entirely so the page
     is plain static content for any renderer (captures, print, etc.) */
  .js.settled .rv,
  .js.settled .fig,
  .js.settled .fig .draw,
  .js.settled .fig .pop { animation: none; }

  /* scroll-in reveals — border-color rides in the list so card hover
     easing survives the reveal transition (and its stagger delays) */
  .js .rvs {
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 140ms ease;
  }
  .js .rvs.in { opacity: 1; transform: none; }
  .js .res-grid .rvs:nth-child(2) { transition: opacity 0.45s ease 0.08s, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s, border-color 140ms ease; }
  .js .res-grid .rvs:nth-child(3) { transition: opacity 0.45s ease 0.16s, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0.16s, border-color 140ms ease; }
  .js .res-grid .rvs:nth-child(4) { transition: opacity 0.45s ease 0.24s, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0.24s, border-color 140ms ease; }

  /* chapter rules draw themselves: the node lands, the line extends from it */
  .js .section-head.rvs { transform: none; }
  .js .section-head.rvs::before {
    transform: scale(0);
    transition: transform 0.2s ease 0.05s;
  }
  .js .section-head.rvs::after {
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
  }
  .js .section-head.rvs.in::before { transform: scale(1); }
  .js .section-head.rvs.in::after { transform: scaleX(1); }
}

/* ---- Print -------------------------------------------------------------------- */

@media print {
  @page { margin: 1.7cm; }

  body { font-size: 10.5pt; line-height: 1.5; color: #000; background: #fff; }

  .site-head, .site-foot, .btn-print, .skip,
  .doc-foot .related, .doc-foot .backlink, .doc-byline, .hero-meta { display: none !important; }

  .doc { padding: 0; }
  .doc-head { margin-bottom: 1.2rem; }
  .doc-head h1 { font-size: 19pt; color: #0a1f3f; }
  .doc-head .standfirst { font-size: 11pt; color: #333; }
  .doc-meta { border-color: #999; color: #444; }

  .print-note {
    display: block; font-family: var(--sans); font-size: 8pt; color: #555;
    border-top: 0.5pt solid #999; margin-top: 1.5rem; padding-top: 0.5rem;
  }
  .print-legal {
    display: block; font-family: var(--sans); font-size: 7.5pt; line-height: 1.4; color: #555;
    border-top: 0.5pt solid #999; margin-top: 1.3rem; padding-top: 0.5rem;
  }
  .print-legal p { margin: 0 0 0.35rem; }

  a { color: #000; text-decoration: none; }

  .callout { background: #fff; border: 0.5pt solid #999; border-left: 2pt solid #0a1f3f; page-break-inside: avoid; }
  .t-node { background: #fff; page-break-inside: avoid; }
  .check { page-break-inside: avoid; }
  .steps > li { page-break-inside: avoid; }

  .check input[type="checkbox"] {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    border: 1pt solid #000;
  }

  h2, h3 { page-break-after: avoid; }
}

/* ==========================================================================
   Landing refinements + site-wide craft (merged June 2026)
   ========================================================================== */

/* A real link affordance in the navy band */
.band a { text-decoration-color: var(--steel); }

/* Hanging punctuation on the big quiet text blocks (progressive enhancement) */
.band .statement, .hero .lede, .prose { hanging-punctuation: first; }

/* Sharpen the display headline */
.hero-v2 h1 { letter-spacing: -0.015em; }
.fig .lb { font-size: 12.5px; }
.fig .ch { font-size: 9.5px; }

/* Desktop hero — top-align the columns and let Fig. 1 structure the spread */
@media (min-width: 1021px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.75rem; align-items: start; }
  .hero-v2 { padding-top: 3.6rem; padding-bottom: 3.6rem; }
}

/* Signature as a system — a small node on each chapter rule (echoes Fig. 1) */
.section-head { position: relative; }
.section-head::before {
  content: ""; position: absolute; left: 0; top: -4px;
  width: 7px; height: 7px; background: var(--navy);
}

/* Chapter break — the AI section sits on a full-bleed wash field, paper cards on top */
#ai {
  background: var(--wash);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 3.6rem 0 4.2rem;
}
#ai .res-card { background: var(--paper); border-color: var(--line); }
#ai .res-card:hover { border-color: var(--navy); }

/* Fig. 1 — one quiet hover affordance */
.fig .nd { transition: fill 140ms ease; }
.fig .nd:hover { fill: var(--navy-line); }

/* Demoted "Missing something?" coda */
.coda-wrap { padding: 0.4rem 0 0; }
.coda { max-width: var(--w-text); color: var(--slate); font-size: 1rem; margin: 0; }

/* Keep a signature on mobile — simplified Fig. 1 instead of hiding it */
.fig-mobile { display: none; }
@media (max-width: 1020px) {
  .fig-mobile { display: block; margin: 1.7rem 0 0; max-width: 420px; }
  .fig-mobile svg { width: 100%; height: auto; }
}

/* Print/capture robustness — never freeze landing reveals at opacity:0 */
@media print {
  .js .rvs, .js .rv, .fig, .fig-mobile { opacity: 1 !important; transform: none !important; }
  .js .rvs::before, .js .rvs::after { transform: none !important; }
  .js .fig, .js .fig .draw, .js .fig .pop { animation: none !important; }
}

/* Wordmark identity node — a single leading square that echoes the Fig. 1 / chapter
   nodes. Uses currentColor so it reads navy in the header and white in the footer. */
.wordmark::before, .foot-name::before {
  content: ""; display: inline-block;
  width: 0.34em; height: 0.34em; background: currentColor;
  margin-right: 0.66em; vertical-align: 0.1em;
}

/* ==========================================================================
   Resource library filter / search (progressive enhancement)
   ========================================================================== */

.res-filter { display: none; }
.has-js .res-filter {
  display: block;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
}
.res-filter-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.9rem 1.6rem;
}
.res-filter-field { display: flex; align-items: baseline; gap: 0.75rem; flex: 1 1 18rem; min-width: 0; }
.res-filter-label {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); flex: none;
}
.res-filter-field input {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--navy);
  padding: 0.4rem 0.1rem; border-radius: 0;
}
.res-filter-field input::placeholder { color: var(--mist); }
.res-filter-field input:focus { outline: none; border-bottom-width: 2px; }

.res-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.res-cat {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--slate);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 0.34rem 0.85rem; cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.res-cat:hover { border-color: var(--navy); color: var(--navy); }
.res-cat.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.res-count {
  font-family: var(--sans); font-size: 0.8rem; color: var(--mist);
  margin: 0.95rem 0 0; min-height: 1em;
}
.res-noresults { font-size: 1rem; color: var(--slate); margin: 0.4rem 0 0; }
.res-reset {
  font-family: var(--sans); font-size: inherit; font-weight: 600; color: var(--navy);
  background: none; border: 0; border-bottom: 1px solid var(--steel);
  padding: 0; cursor: pointer;
}
.res-reset:hover { border-bottom-color: var(--navy); }

.res-card.is-hidden, .res-group.is-hidden { display: none; }

@media (max-width: 600px) {
  .res-filter-field { flex-basis: 100%; }
}
