/* =============================================================
   kendrickre.com — Red Dot brand
   A red dot marks every home that sells. It means sold.
   Paper #F6F5F1, Ink #1D1D1B, Sold red #E0362C (text-safe #B3241C),
   Unsold #C9C4BA, Concrete #8E8A82, Muted #5A5852, White #FFFFFF.
   Type: Hanken Grotesk (headlines, interface), Newsreader (reading).
   ============================================================= */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2-variations"), url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2-variations"), url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2-variations"), url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --paper: #F6F5F1;
  --surface: #FFFFFF;
  --field: #FFFFFF;
  --ink: #1D1D1B;
  --ink-soft: #3A3936;
  --rule-color: #C9C4BA;
  --concrete: #8E8A82;
  --muted: #5A5852;
  --red: #E0362C;
  --red-deep: #B3241C;
  --red-light: #F4A49C;
  --rule: rgba(29, 29, 27, 0.14);
  --rule-strong: rgba(29, 29, 27, 0.45);

  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 75rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--red-deep); }
strong, b { font-weight: 650; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: #F6CFCA; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.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: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--surface); padding: 0.6rem 1rem;
  font-family: var(--display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--ink); color: var(--surface);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn--light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--red-light); border-color: var(--red-light); color: var(--ink); }
.btn--small { padding: 0.55rem 0.95rem; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: grid; gap: 0.1rem; text-decoration: none; line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand__broker { font-family: var(--display); font-weight: 500; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 1.5rem; font-family: var(--display); }
.nav__list { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav__list li + li { margin-top: 0; }
.nav__list a {
  display: block; padding: 0.4rem 0; text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav__list a:hover { border-bottom-color: var(--rule-color); color: var(--ink); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle {
  display: none; font-family: var(--display); font-weight: 600; font-size: 0.9375rem;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 3px; padding: 0.5rem 0.9rem; cursor: pointer;
}

@media (max-width: 68rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--pad) 1.5rem;
  }
  .js .nav { display: none; }
  .js .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 0.85rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--rule); }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 3px 0 0 var(--red); padding-left: 0.75rem; }
  .nav__cta { margin-top: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--rule); }
.section--bone { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--surface); }
.section__title { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 20ch; }
.section__intro { font-size: 1.2rem; max-width: 38em; margin-top: 1rem; color: var(--ink-soft); }
.subhead { font-size: 1.35rem; margin-top: 3rem; margin-bottom: 1rem; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); } }
.hero__title {
  font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 660;
  line-height: 0.95; letter-spacing: -0.022em;
  max-width: 14ch;
}
.hero__lede { font-size: clamp(1.15rem, 1.55vw, 1.32rem); line-height: 1.55; max-width: 32em; margin-top: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* Stacking plan board (PRESOLD easter egg) */
.board { margin: 0; }
.stack { display: block; width: 100%; height: auto; overflow: visible; }
.stack text { font-family: var(--display); font-size: 12px; font-weight: 500; fill: var(--muted); }
.stack .stack__letters text { font-size: 17px; font-weight: 800; fill: var(--red-deep); }
.stack__grid { fill: none; stroke: var(--rule-color); stroke-width: 1.5; }
.stack__frame { fill: none; stroke: var(--concrete); stroke-width: 1.5; }
.stack__sold, .stack__code { fill: var(--red); }
.stack__code, .stack__letters { opacity: 0; }
.board.is-decoded .stack__code, .board.is-decoded .stack__letters { opacity: 1; }
.board.is-decoded .stack__sold, .board.is-decoded .stack__floors { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .stack__sold, .stack__code, .stack__floors, .stack__letters { transition: opacity 0.4s ease; }
}
.board__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1rem; font-family: var(--display); font-size: 0.9375rem; color: var(--muted); }
.board__legend { display: inline-flex; align-items: center; gap: 0.45rem; }
.board__legend .dot { width: 0.8rem; height: 0.8rem; margin: 0; }
.board__legend .open { display: inline-block; width: 0.8rem; height: 0.8rem; margin-left: 0.9rem; border: 1.5px solid var(--rule-color); }
.board__toggle { display: none; font-family: var(--display); font-size: 0.9375rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0.4rem 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.js .board__toggle { display: inline-block; }
.board__toggle:hover { color: var(--red-deep); }
.board__note { margin: 0.75rem 0 0; min-height: 1.5em; font-family: var(--display); font-size: 0.9375rem; line-height: 1.5; color: var(--ink); }

/* ---------- Two-audience band ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } }
.split__half { padding: clamp(3rem, 6vw, 5.5rem) var(--pad); }
.split__half--dark { background: var(--ink); color: var(--surface); }
.split__half--light { background: var(--surface); }
@media (min-width: 56rem) {
  .split__half--dark { padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); padding-right: clamp(2rem, 4vw, 4rem); }
  .split__half--light { padding-right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); padding-left: clamp(2rem, 4vw, 4rem); }
}
.split__inner { max-width: 33rem; }
.split__title { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1.25rem; }
.split__half--dark a { color: var(--surface); text-decoration-color: var(--red); }
.split__half--dark a:hover { color: var(--red-light); }

.linklist { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid currentColor; font-family: var(--display); }
.split__half--dark .linklist { border-top-color: rgba(246, 245, 241, 0.3); }
.linklist li { margin: 0; border-bottom: 1px solid var(--rule); }
.split__half--dark .linklist li { border-bottom-color: rgba(246, 245, 241, 0.18); }
.linklist a { display: block; padding: 0.85rem 0; font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.linklist a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* ---------- Timeline (a real sequence, so it is numbered) ---------- */
.timeline { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 60rem) { .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; } }
.timeline li { margin: 0; }
.timeline__item { position: relative; padding-top: 3rem; border-top: 2px solid var(--ink); }
.timeline__item::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
}
.timeline__num { position: absolute; top: 0.85rem; left: 0; font-family: var(--display); font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; color: var(--red-deep); }
.timeline__title { font-size: 1.4rem; margin-bottom: 0.6rem; }
.timeline__item p { font-size: 1rem; line-height: 1.55; }

/* ---------- South Congress corridor diagram (to scale by street address) ---------- */
.corridor { margin: 3rem 0 0; }
.corridor__track { position: relative; height: 9rem; margin-inline: 0.25rem; }
.corridor__line { position: absolute; left: 0; right: 0; top: 62%; height: 2px; background: var(--ink); }
.corridor__ticks {
  position: absolute; left: 0; right: 0; top: calc(62% - 4px); height: 10px;
  background-image: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 10.8696%);
}
.corridor__num {
  position: absolute; top: calc(62% + 0.8rem); left: var(--at); transform: translateX(-50%);
  font-family: var(--display); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.corridor__num--start { transform: none; }
.corridor__end { position: absolute; left: 0; top: calc(62% - 1.7rem); font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }
.cmark { position: absolute; left: var(--at); top: 62%; width: 0; height: 0; }
.cmark::before {
  content: ""; position: absolute; left: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--ink);
}
.cmark::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 2px; height: 2.4rem; background: var(--ink); transform: translateX(-50%); }
.cmark__label {
  position: absolute; left: 0; bottom: calc(8px + 2.4rem + 0.4rem); transform: translateX(-50%);
  display: grid; gap: 0.1rem; text-align: center; white-space: nowrap; font-family: var(--display); line-height: 1.2;
}
.cmark__label b { font-size: 1.05rem; font-weight: 700; }
.cmark__label span { font-size: 0.8125rem; color: var(--muted); }
.cmark--end .cmark__label { transform: translateX(calc(-100% + 1px)); text-align: right; }
.corridor__cap { font-family: var(--display); font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }

@media (max-width: 44rem) {
  .corridor__track { height: 26rem; margin-left: 3rem; }
  .corridor__line { left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .corridor__ticks { left: -4px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; background-image: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 10.8696%); }
  .corridor__num { top: var(--at); left: auto; right: calc(100% + 0.7rem); transform: translateY(-50%); }
  .corridor__num--start { transform: translateY(0); }
  .corridor__end { top: -1.7rem; left: -3rem; }
  .cmark { left: 1px; top: var(--at); }
  .cmark::after { display: none; }
  .cmark__label, .cmark--end .cmark__label { left: 1.2rem; bottom: auto; top: -0.85rem; transform: none; text-align: left; }
}

/* ---------- Project schedule table ---------- */
.schedule-scroll { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; font-family: var(--display); font-size: 1rem; }
.schedule caption { text-align: left; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 0.85rem 1.25rem 0.85rem 0; border-bottom: 1px solid var(--rule); }
.schedule thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.schedule tbody th { font-weight: 650; font-size: 1.1rem; }
.schedule .is-now td:last-child { color: var(--red-deep); font-weight: 600; }
.schedule .group th { padding-top: 1.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
@media (max-width: 40rem) {
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: 100%; }
  .schedule tr { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .schedule th, .schedule td { border: 0; padding: 0.1rem 0; }
  .schedule .group { border-bottom: 1.5px solid var(--ink); padding-top: 1.5rem; }
}

/* ---------- Worksheets list ---------- */
.worklist { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.worklist li { margin: 0; }
.worklist__item { display: grid; gap: 1rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 52rem) { .worklist__item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.worklist__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.5rem; }
.worklist__title a { text-decoration: none; }
.worklist__title a:hover { text-decoration: underline; }
.worklist__item p { max-width: 38em; }

/* ---------- Field notes list ---------- */
.notes { list-style: none; margin: 2.5rem 0 1.5rem; padding: 0; border-top: 2px solid var(--ink); }
.notes li { margin: 0; border-bottom: 1px solid var(--rule); }
.notes__link { display: grid; gap: 0.4rem 3rem; padding: 1.5rem 0; text-decoration: none; }
@media (min-width: 52rem) { .notes__link { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.notes__title { font-family: var(--display); font-weight: 650; font-size: 1.35rem; line-height: 1.15; }
.notes__dek { color: var(--ink-soft); font-size: 1.0625rem; }
.notes__link:hover .notes__title { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }

/* ---------- Contact block ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; } }
.contact__phone { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; margin-top: 2rem; margin-bottom: 0.4rem; font-variant-numeric: tabular-nums; }
.contact__phone a, .contact__email a { text-decoration: none; }
.contact__phone a:hover, .contact__email a:hover { text-decoration: underline; }
.contact__email { font-family: var(--display); font-size: 1.25rem; font-weight: 500; margin-bottom: 1.5rem; }
.contact__broker { font-family: var(--display); font-size: 1.0625rem; color: var(--muted); }
.contact__form { background: var(--surface); padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid rgba(29, 29, 27, 0.12); }

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-head__title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 650; line-height: 0.98; letter-spacing: -0.018em; max-width: 17ch; }
.page-head__lede { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 36em; margin-top: 1.5rem; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.page-head__meta { font-family: var(--display); font-size: 0.9375rem; color: var(--muted); margin-top: 1.25rem; }
.crumbs { font-family: var(--display); font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--rule-color); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Long-form service page layout ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.75rem, 5vw, 4.5rem) var(--section); }
@media (min-width: 64rem) { .doc { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 4.5rem; } }
.toc { display: none; font-family: var(--display); font-size: 0.9375rem; }
@media (min-width: 64rem) { .toc { display: block; position: sticky; top: 2rem; align-self: start; } }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc li { margin: 0; }
.toc a { display: block; margin-left: -2px; padding: 0.4rem 0 0.4rem 1rem; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.3; }
.toc a:hover { color: var(--ink); border-left-color: var(--rule-color); }
.toc a.is-active { color: var(--ink); border-left-color: var(--red); font-weight: 600; }
.toc__cta { margin-top: 1.75rem; }

.doc__main > section + section { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.25rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.doc__main h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); max-width: 22ch; margin-bottom: 1.25rem; }
.doc__main h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.doc__main > section > p, .doc__main > section > ul, .doc__main > section > ol { max-width: 40em; }

/* Definition list used for scopes and topics */
.spec { margin: 1.75rem 0 0; border-top: 1.5px solid var(--ink); max-width: 52rem; }
.spec__row { display: grid; gap: 0.35rem 2.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .spec__row { grid-template-columns: 13rem minmax(0, 1fr); } }
.spec dt { font-family: var(--display); font-weight: 650; font-size: 1.1rem; line-height: 1.3; }
.spec dd { margin: 0; }

/* Numbered steps inside a page (real sequences only) */
.steps { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: step; max-width: 46rem; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.steps > li:first-child { border-top: 1.5px solid var(--ink); }
.steps > li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--red-deep); font-variant-numeric: tabular-nums; line-height: 1.5; }
.steps h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.steps p { font-size: 1.0625rem; }

/* Bulleted list with real weight */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: 42rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin: 0 0 0.75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.8rem; height: 2px; background: var(--red); }

.callout { border-left: 3px solid var(--red); padding: 0.25rem 0 0.25rem 1.25rem; margin: 2rem 0 0; max-width: 42rem; }
.callout p { font-size: 1.0625rem; }
.callout h2, .callout h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }

.panel { background: var(--surface); border: 1px solid rgba(29, 29, 27, 0.12); padding: clamp(1.25rem, 3vw, 2.25rem); margin-top: 1.75rem; }
.panel--dark { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.panel--dark a { color: var(--surface); }

/* FAQ */
.faq { margin-top: 1.5rem; border-top: 1.5px solid var(--ink); max-width: 46rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 620; font-size: 1.15rem; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--red-deep); }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item summary:hover { color: var(--red-deep); }
.faq__a { padding: 0 0 1.35rem; max-width: 40em; }

/* ---------- Article ---------- */
.article { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.prose { max-width: 40rem; font-size: 1.1875rem; line-height: 1.68; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin: 2.75rem 0 0.9rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--red-deep); font-family: var(--display); font-weight: 700; }
.prose blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 3px solid var(--red); font-style: italic; }
.prose .note { font-family: var(--display); font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2.5rem; }
.article__end { max-width: 40rem; margin-top: 3rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > label, .field > .label, .field legend { font-family: var(--display); font-size: 0.9375rem; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.hint { font-family: var(--display); font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="month"], select, textarea {
  width: 100%; font-family: var(--display); font-size: 1rem; line-height: 1.3; color: var(--ink);
  background: var(--field); border: 1px solid #8E8A82; border-radius: 3px; padding: 0.72rem 0.8rem;
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.2rem;
}
textarea { min-height: 8rem; resize: vertical; font-family: var(--text); font-size: 1.0625rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.checks { border: 0; margin: 0; padding: 0; }
.checks__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; font-family: var(--display); font-size: 0.9375rem; }
.checks__list label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.checks__list input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.25rem; }
.form__fine { font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }
.form__status { font-family: var(--display); font-size: 1rem; margin: 0; }
.form__status:empty { display: none; }
.form__status--ok { padding: 1rem 1.1rem; background: var(--ink); color: var(--surface); border-radius: 3px; }
.form__status--error { padding: 0.85rem 1rem; border: 1.5px solid #9B3B2A; color: #7D2E20; border-radius: 3px; }
.form.is-sent .form__row, .form.is-sent .field, .form.is-sent .form__actions, .form.is-sent .checks { display: none; }

/* ---------- Tools (velocity planner, readiness check) ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
@media (min-width: 64rem) { .tool { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.tool__panel { background: var(--surface); border: 1px solid rgba(29, 29, 27, 0.12); padding: 1.5rem; display: grid; gap: 1.1rem; }
@media (min-width: 64rem) { .tool__panel { position: sticky; top: 1.5rem; } }
.tool__panel h2 { font-size: 1.2rem; }
.tool__panel input { font-variant-numeric: tabular-nums; }
.results { display: grid; gap: 2.5rem; min-width: 0; }
.readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
@media (min-width: 48rem) { .readout { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.readout dt { font-family: var(--display); font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.readout dd { margin: 0.25rem 0 0; font-family: var(--display); font-weight: 680; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.readout .readout__note { font-size: 0.875rem; font-weight: 500; color: var(--muted); margin-top: 0.35rem; line-height: 1.35; }
.summary { font-size: 1.25rem; line-height: 1.55; max-width: 38em; }
.chart-fig { margin: 0; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .axis { stroke: var(--rule-strong); stroke-width: 1; }
.chart .line-main { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.chart .line-alt { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 6 5; stroke-linejoin: round; }
.chart .delivery { stroke: var(--red-deep); stroke-width: 1.5; stroke-dasharray: 2 4; }
.chart text { font-family: var(--display); font-size: 12px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .t-strong { fill: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--display); font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend i { display: inline-block; width: 1.6rem; height: 0; border-top: 2.5px solid var(--ink); }
.legend i.alt { border-top: 2px dashed var(--red); }
.legend i.del { border-top: 1.5px dotted var(--red-deep); width: 1rem; }

.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-family: var(--display); font-size: 0.975rem; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font-weight: 650; font-size: 1.15rem; margin-bottom: 0.75rem; }
.table th, .table td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.table .is-current th, .table .is-current td { font-weight: 700; }
.table .is-current th::after { content: " (your pace)"; font-weight: 500; color: var(--muted); }

/* Readiness check */
.quiz-group + .quiz-group { margin-top: 2.75rem; }
.quiz-group h2 { font-size: 1.35rem; padding-bottom: 0.75rem; border-bottom: 1.5px solid var(--ink); }
.q { border: 0; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.q__row { display: grid; gap: 0.8rem; }
@media (min-width: 54rem) { .q__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; } }
.q__text { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; justify-self: start; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { font-family: var(--display); font-size: 0.875rem; font-weight: 600; padding: 0.55rem 0.8rem; cursor: pointer; white-space: nowrap; background: var(--field); }
.seg label + input + label { border-left: 1.5px solid var(--ink); }
.seg input:checked + label { background: var(--ink); color: var(--surface); }
.seg input:focus-visible + label { outline: 3px solid var(--red); outline-offset: -4px; }
.progress { font-family: var(--display); font-size: 0.9375rem; color: var(--muted); }
.bars { display: grid; gap: 1.1rem; }
.bar__label { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--display); font-size: 0.95rem; font-weight: 500; margin-bottom: 0.35rem; }
.bar__track { height: 0.6rem; background: rgba(29, 29, 27, 0.12); }
.bar__fill { height: 100%; width: 0; background: var(--ink); transition: width 0.35s ease; }
.bar.is-focus .bar__fill { background: var(--red); }
.bar.is-focus .bar__label { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .bar__fill { transition: none; } }

/* ---------- Inventory ---------- */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid rgba(29, 29, 27, 0.12); }
.inv-status { font-family: var(--display); font-size: 0.9375rem; color: var(--muted); margin: 1.5rem 0 0; }
.listings { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.listings li { margin: 0; }
.listing { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.75rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .listing { grid-template-columns: 10.5rem minmax(0, 1fr) auto; align-items: center; } }
.listing__photo { aspect-ratio: 4 / 3; background: rgba(29, 29, 27, 0.1); overflow: hidden; }
.listing__photo img { width: 100%; height: 100%; object-fit: cover; }
.listing__addr { font-family: var(--display); font-weight: 650; font-size: 1.15rem; line-height: 1.2; margin: 0 0 0.25rem; }
.listing__meta { font-family: var(--display); font-size: 0.9375rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; margin: 0; }
.listing__courtesy { font-family: var(--display); font-size: 0.8125rem; color: var(--muted); margin: 0.3rem 0 0; }
.listing__price { font-family: var(--display); font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; margin: 0; grid-column: 2; }
@media (min-width: 48rem) { .listing__price { grid-column: auto; text-align: right; } }
.idx-note { font-family: var(--display); font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: 60rem; margin-top: 2rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(2.75rem, 5vw, 4.5rem) var(--section); }
@media (min-width: 60rem) { .about { grid-template-columns: minmax(0, 1fr) 20rem; gap: 5rem; align-items: start; } }
.portrait { margin: 0; }
.portrait__frame { aspect-ratio: 4 / 5; background: var(--ink); color: var(--surface); display: grid; place-items: center; overflow: hidden; }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__mono { font-family: var(--display); font-weight: 700; font-size: 6rem; letter-spacing: -0.03em; color: var(--red); }
.portrait figcaption { font-family: var(--display); font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.facts { margin: 1.5rem 0 0; border-top: 1.5px solid var(--ink); font-family: var(--display); font-size: 0.975rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Projects ---------- */
.project { display: grid; gap: 1.25rem 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--rule); }
.project:first-of-type { border-top: 2px solid var(--ink); }
@media (min-width: 56rem) { .project { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.project__name { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.project__addr { font-family: var(--display); font-size: 1.0625rem; color: var(--muted); margin-top: 0.4rem; }
.project__facts { margin: 1.25rem 0 0; font-family: var(--display); font-size: 0.95rem; }
.project__facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--rule); }
.project__facts dt { color: var(--muted); }
.project__facts dd { margin: 0; font-weight: 600; }
.project__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.project__photo { margin: 0 0 1.25rem; }
.project__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Footer (laid out like a drawing title block) ---------- */
.site-footer { background: var(--ink); color: var(--surface); padding-block: 3.5rem 2.5rem; font-family: var(--display); font-size: 0.9375rem; line-height: 1.5; }
.site-footer a { color: var(--surface); text-decoration-color: rgba(224, 54, 44, 0.85); }
.site-footer a:hover { color: var(--red-light); }
.tb { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(246, 245, 241, 0.28); }
@media (min-width: 52rem) { .tb { grid-template-columns: 1.15fr 1.45fr 1fr 0.8fr; } }
.tb__cell { padding: 1.25rem 1.4rem; border-bottom: 1px solid rgba(246, 245, 241, 0.18); }
.tb__cell p { margin: 0 0 0.6rem; }
@media (min-width: 52rem) {
  .tb__cell { border-bottom: 0; }
  .tb__cell + .tb__cell { border-left: 1px solid rgba(246, 245, 241, 0.18); }
}
.tb__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 0.9rem 1.4rem; border-top: 1px solid rgba(246, 245, 241, 0.28); color: #C4C0B8; font-size: 0.875rem; }
@media (min-width: 52rem) { .tb__base { border-left: 0 !important; } }
.tb__label { font-family: var(--display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: #B5B1A8; margin: 0 0 0.7rem; line-height: 1.3; }
.tb__name { font-weight: 700; font-size: 1.4rem; line-height: 1.1; margin-bottom: 0.5rem !important; }
.tb__list { list-style: none; margin: 0; padding: 0; }
.tb__list li { margin: 0 0 0.35rem; }
.tb__trec a { font-size: 1rem; }
.eho { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem !important; color: #DAD7D0; }
.eho svg { width: 1.9rem; height: auto; flex: none; }

/* ---------- Misc ---------- */
.center-404 { padding-block: clamp(4rem, 12vw, 9rem); }
.lead-list { font-family: var(--display); font-size: 1.125rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

@media print {
  .site-header, .site-footer, .toc, .form, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Additions: dark sections, panels, quiz order, inventory ---------- */
.section--dark .section__intro { color: #D8D5CE; }
.section--dark a { color: var(--surface); }
.panel__title { font-size: 1.35rem; margin: 0 0 0.6rem; }
.panel > * + .panel__title { margin-top: 2.25rem; }
.panel .form { margin-top: 1.25rem; }
.tool--quiz .tool__panel { order: 2; }
@media (min-width: 64rem) { .tool--quiz .tool__panel { order: 0; } }
.contact__direct > .contact__phone:first-child { margin-top: 0; }
.notes--flush { margin-top: 0; }
.linklist--narrow { max-width: 32rem; margin-top: 2rem; }
.inv-signup.is-secondary { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.listing__ask { display: inline-block; margin-top: 0.4rem; font-family: var(--display); font-size: 0.875rem; font-weight: 600; }
.trec-inline a { font-size: 1rem; font-family: var(--display); }
.article__end { max-width: 40rem; margin-top: 3rem; }
.article__end .page-head__actions { margin-top: 1.25rem; }
.page-head .crumbs + .page-head__title { margin-top: 0; }

/* ---------- QA fixes ---------- */
.nowrap { white-space: nowrap; }
.page-head--article .page-head__title { max-width: 24ch; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1; }
.prose .callout { margin: 1.75rem 0; }
@media (max-width: 44rem) { .corridor { padding-top: 2.25rem; } }

/* =============================================================
   Red Dot brand layer
   ============================================================= */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.brand__name { font-weight: 750; letter-spacing: -0.035em; }
.hero__title { font-size: clamp(3rem, 6.6vw, 5.4rem); font-weight: 760; letter-spacing: -0.04em; line-height: 0.96; max-width: 12ch; }
.page-head__title { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 740; letter-spacing: -0.032em; line-height: 1.02; max-width: 19ch; }
.page-head--article .page-head__title { font-size: clamp(2.05rem, 3.9vw, 3.05rem); max-width: 25ch; }
.section__title, .split__title, .project__name { letter-spacing: -0.032em; }
.timeline__title, .worklist__title, .notes__title, .listing__addr, .spec dt, .faq__item summary, .subhead { letter-spacing: -0.015em; }
.readout dd, .contact__phone { font-weight: 750; letter-spacing: -0.02em; }
.tb__name { font-weight: 750; letter-spacing: -0.03em; }

/* The mark: a red dot set like a period */
.dot { display: inline-block; width: 0.3em; height: 0.3em; margin-left: 0.07em; border-radius: 50%; background: var(--red); }

/* Markers become sold dots */
.ticks li::before { left: 0.1rem; top: 0.6em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); }
.timeline__item::before { background: var(--red); border-color: var(--red); }
.cmark::before { border: 0; width: 16px; height: 16px; left: -8px; top: -7px; }
.portrait__frame { background: var(--surface); border: 1px solid var(--rule); }
.portrait__dot { width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.board__note { display: block; flex-basis: 100%; }
