/* Battle Buddy: a dossier for PCS home buying around JBLM */

:root {
  --navy: #0E1A2B;
  --brass: #B08D57;
  --parchment: #F1ECE2;
  --olive: #4B5320;
  --signal: #9E2B25;

  --ink: var(--navy);
  --paper: var(--parchment);
  --paper-deep: #E7E0D2;
  --paper-light: #F8F5EF;
  --muted: #4A5566;
  --rule: rgba(14, 26, 43, .16);
  --rule-strong: rgba(14, 26, 43, .55);

  --serif: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gut: max(28px, calc((100vw - 1320px) / 2));
  --idx: 14.5rem;
  --gap: 4.5rem;
  --lead: calc(var(--gut) + var(--idx) + var(--gap));
  --measure: 40rem;
}

@media (max-width: 1180px) {
  :root { --idx: 12rem; --gap: 3rem; }
}
@media (max-width: 900px) {
  :root { --gut: 20px; --lead: 20px; }
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
@media (max-width: 600px) { body { font-size: 1.03rem; line-height: 1.64; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
strong { font-weight: 600; }

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

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.site-foot :focus-visible, .band :focus-visible, .utility :focus-visible { outline-color: var(--brass); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--navy); color: var(--parchment);
  padding: .6rem 1rem; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.nw { white-space: nowrap; }
.tab { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Utility strip and masthead ---------- */

.utility {
  background: var(--navy);
  color: rgba(241, 236, 226, .82);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .04em;
}
.utility__inner {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem var(--gut);
}
.utility a { color: var(--parchment); text-decoration: none; font-variant-numeric: tabular-nums; }
.utility a:hover { color: var(--brass); }
@media (max-width: 720px) { .utility__where { display: none; } .utility__inner { justify-content: flex-end; } }

.masthead {
  position: relative;
  border-bottom: 1px solid var(--rule-strong);
  background: var(--paper);
  z-index: 20;
}
.masthead__inner {
  display: grid;
  grid-template-columns: calc(var(--idx) + var(--gap)) 1fr auto;
  align-items: end;
  padding: 1.35rem var(--gut) 1.2rem;
}
.wordmark {
  display: inline-flex; flex-direction: column; gap: .3rem;
  text-decoration: none; color: var(--navy); justify-self: start;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.wordmark__line {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--olive);
  padding-top: .38rem;
  border-top: 1px solid var(--brass);
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; flex-wrap: wrap; }
.nav a {
  display: inline-block;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--brass); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--navy); }

.menu-btn {
  display: none;
  font: 500 .78rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: .7rem .9rem;
  cursor: pointer;
  align-items: center; gap: .6rem;
}
.menu-btn__bars { width: 16px; height: 9px; position: relative; display: inline-block; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .2s ease, top .2s ease;
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 7.5px; }
.menu-open .menu-btn__bars::before { top: 3.75px; transform: rotate(45deg); }
.menu-open .menu-btn__bars::after { top: 3.75px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .nav ul { gap: 1.4rem; } .nav a { font-size: .9rem; } }

@media (max-width: 900px) {
  .masthead__inner { grid-template-columns: 1fr auto; align-items: center; padding: 1rem var(--gut); }
  .wordmark__name { font-size: 1.4rem; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    grid-column: 1 / -1;
    margin-top: 1rem;
    border-top: 1px solid var(--rule-strong);
  }
  .menu-open .nav, .no-js .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav a {
    display: flex; justify-content: space-between; width: 100%;
    font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--navy);
    padding: .8rem 0; border-bottom: 0;
  }
  .nav a[aria-current="page"] { border-bottom: 0; color: var(--olive); }
  .nav a[aria-current="page"]::after { content: "You are here"; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; align-self: center; }
}

/* ---------- Home hero photograph ---------- */

.hero { margin: 0; position: relative; }
.hero img {
  width: 100%;
  height: clamp(300px, 43vw, 720px);
  object-fit: cover;
  object-position: 42% 62%;
}
.hero figcaption, .fig figcaption, .bleed figcaption {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .06em;
  font-variant-caps: all-small-caps;
  font-size: .82rem;
  color: var(--muted);
  padding-top: .6rem;
}
.hero figcaption { padding: .6rem var(--gut) 0; text-align: right; }
@media (max-width: 600px) {
  .hero img { height: auto; aspect-ratio: 4 / 3; object-position: 30% 60%; }
}

/* ---------- Dossier frame: sticky index + content column ---------- */

.dossier {
  position: relative;
  padding: 0 var(--gut) 0 var(--lead);
}
.index {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--gut) - var(--lead));
  width: var(--idx);
  z-index: 1;
}
.index__inner { position: sticky; top: 2rem; padding-top: 3.2rem; }
.index__title {
  margin: 0 0 1rem;
  font: 500 .86rem/1.2 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
}
.index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule-strong); }
.index li { margin: 0; }
.index ol a {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  padding: .42rem 0 .42rem .9rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  text-decoration: none;
  font-size: .87rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease;
}
.index ol a .n {
  font: 500 .75rem/1.6 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}
.index ol a:hover { color: var(--navy); }
.index ol a[aria-current="true"] { color: var(--navy); border-left-color: var(--navy); font-weight: 500; }
.index ol a[aria-current="true"] .n { color: var(--signal); }
.index__foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
}
.index__foot a { font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.index__foot a:hover { text-decoration: underline; text-decoration-color: var(--brass); }

@media (max-width: 900px) {
  .index { position: static; width: auto; margin: 0 0 0; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--rule-strong); }
  .index + .sec { border-top-color: var(--rule); }
  .fig + .index { margin-top: 2.2rem; }
  .index + .sec--first { margin-top: 0; }
  .index__inner { position: static; padding-top: 0; }
  .index ol { columns: 2; column-gap: 1.25rem; border-left: 0; }
  .index li { break-inside: avoid; }
  .index ol a { padding: .3rem 0; border-left: 0; grid-template-columns: 1.7rem 1fr; font-size: .86rem; }
  .index__foot { display: none; }
}
@media (max-width: 420px) { .index ol { columns: 1; } }

.main { position: relative; }

/* ---------- Cover (title block) ---------- */

.cover { padding: 3rem 0 2.75rem; }
.cover--home { padding-top: 3.4rem; }
.cover h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.55rem, 5.6vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -.012em;
  margin: 0 0 1.75rem;
  max-width: 14ch;
}
.cover--home h1 { max-width: 11em; font-size: clamp(2.7rem, 6.6vw, 6.1rem); line-height: .98; }
.cover .lede {
  font-size: clamp(1.15rem, 1.6vw, 1.36rem);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 0 2rem;
  color: var(--ink);
}
.docline {
  display: flex; flex-wrap: wrap; gap: .35rem 1.6rem;
  margin: 0; padding: .8rem 0 0;
  border-top: 1px solid var(--rule);
  font: 500 .84rem/1.4 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .06em;
  color: var(--muted);
  max-width: 44rem;
}
.docline span { white-space: nowrap; }
@media (max-width: 600px) { .docline span { white-space: normal; } .cover { padding: 2.2rem 0 2rem; } }

/* ---------- Sections ---------- */

.sec {
  position: relative;
  border-top: 1px solid var(--rule-strong);
  padding: 4.5rem 0 4.75rem;
}
.sec--tight { padding: 3rem 0 3.25rem; }
.sec--first { margin-top: 3.5rem; }
.sec--roomy { padding: 6rem 0 6.5rem; }
.sec::after { content: ""; display: table; clear: both; }
.sec__ref {
  position: absolute; top: .8rem; right: 0;
  margin: 0;
  font: 500 .86rem/1 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}
.sec > * { max-width: var(--measure); }
.sec > .wide, .sec > figure { max-width: none; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 1.5rem;
  max-width: 22ch;
}
.sec > h2 { max-width: 22ch; }
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 2.4rem 0 .6rem;
}
p { margin: 0 0 1.1rem; }
.sec p.intro { font-size: 1.2rem; line-height: 1.55; }
.sec ul, .sec ol.plain { padding-left: 1.15rem; margin: 0 0 1.25rem; }
.sec li { margin-bottom: .45rem; }
.sec li::marker { color: var(--brass); }

.prose a, .sec a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.sec a:not(.btn):hover { color: var(--olive); text-decoration-color: var(--olive); }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin: 2.2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--brass);
  hanging-punctuation: first;
}

/* Margin notes */
.note {
  margin: 1.6rem 0;
  padding: .1rem 0 .1rem 1.1rem;
  border-left: 1px solid var(--brass);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
}
.note__label {
  margin: 0 0 .35rem;
  font: 500 .8rem/1 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
}
.note p:last-child { margin-bottom: 0; }
@media (min-width: 1360px) {
  .note { float: right; clear: right; width: 15rem; margin: .4rem 0 1.5rem; }
}

/* Buttons and actions */
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 2rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  text-decoration: none;
  padding: .85rem 1.3rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--parchment);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--olive); border-color: var(--olive); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--parchment); border-color: var(--navy); }
.btn .tab { letter-spacing: .02em; }

/* ---------- Figures ---------- */

.fig { margin: 0 0 0; }
.fig img { width: 100%; object-fit: cover; }
.fig--cover img { aspect-ratio: 16 / 9; }
.fig--wide img { aspect-ratio: 2 / 1; }
.fig figcaption { text-align: right; }

.bleed {
  position: relative;
  z-index: 3;
  margin: 0 calc(-1 * var(--gut)) 0 calc(-1 * var(--lead));
  background: var(--paper);
  padding-bottom: 2.6rem;
}
.bleed img { width: 100%; height: clamp(280px, 38vw, 640px); object-fit: cover; }
.bleed figcaption { padding: .6rem var(--gut) 0; text-align: right; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.split--photo-right { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.split__text > h2 { margin-top: 0; }
.split .fig img { aspect-ratio: 4 / 5; }
@media (max-width: 1100px) { .split, .split--photo-right { grid-template-columns: 1fr; gap: 2rem; } .split .fig img { aspect-ratio: 4 / 3; } .split .fig { max-width: 36rem; } }

/* ---------- Timeline ---------- */

.tl-tool {
  display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.5rem;
  padding: 1.25rem 0 1.4rem;
  margin: 2rem 0 .5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tl-tool label {
  display: block;
  font: 500 .86rem/1 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  margin-bottom: .5rem;
}
.tl-tool input {
  font: 500 1rem/1.2 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  background: var(--paper-light);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: .6rem .7rem;
  min-height: 2.9rem;
}
.tl-tool p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 26rem; }

.tl { list-style: none; margin: 2.2rem 0 0; padding: 0; position: relative; }
.tl::before {
  content: ""; position: absolute;
  left: 8.5rem; top: .6rem; bottom: 1.2rem;
  width: 1px; background: var(--navy);
}
.tl > li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  position: relative;
  padding: 0 0 2.4rem;
}
.tl > li::before {
  content: "";
  position: absolute;
  left: calc(8.5rem - 5px); top: .5rem;
  width: 11px; height: 11px;
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 50%;
}
.tl > li.is-report::before { background: var(--signal); border-color: var(--signal); width: 13px; height: 13px; left: calc(8.5rem - 6px); }
.tl > li.is-keys::before { background: var(--navy); }
.tl__when {
  padding-right: 1.6rem;
  text-align: right;
  font: 500 .8rem/1.45 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--olive);
  padding-top: .15rem;
}
.tl__when .d { display: block; color: var(--navy); margin-top: .2rem; min-height: 1.1em; }
.tl > li.is-report .tl__when { color: var(--signal); }
.tl__body { padding-left: 2rem; max-width: 38rem; }
.tl__body h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.tl__body p { margin: 0 0 .7rem; }
.tl--compact > li { padding-bottom: 1.6rem; }
.tl--compact .tl__body p { font-size: .98rem; color: var(--muted); }
@media (max-width: 600px) {
  .tl::before { left: 5px; }
  .tl > li { grid-template-columns: 1fr; padding-left: 1.9rem; }
  .tl > li::before { left: 0; top: .3rem; }
  .tl > li.is-report::before { left: -1px; }
  .tl__when { text-align: left; padding: 0 0 .35rem; }
  .tl__when .d { display: inline; margin-left: .6rem; }
  .tl__body { padding-left: 0; }
}

/* ---------- Ledger tables ---------- */

.table-wrap { overflow-x: auto; margin: 2rem 0 1.5rem; }
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.ledger caption {
  caption-side: bottom; text-align: left;
  font-size: .82rem; color: var(--muted); padding-top: .8rem;
}
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: .95rem 1.2rem .95rem 0; border-bottom: 1px solid var(--rule); }
.ledger thead th {
  font: 500 .86rem/1.2 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  border-bottom: 1px solid var(--navy);
  padding-bottom: .6rem;
}
.ledger tbody th { font-weight: 600; width: 26%; }
.ledger td.who { width: 24%; color: var(--navy); }
.ledger td.me { color: var(--navy); font-weight: 500; }
@media (max-width: 700px) {
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto !important; }
  .ledger tr { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .ledger th, .ledger td { border: 0; padding: .1rem 0; }
  .ledger tbody th { font-size: 1.02rem; margin-bottom: .3rem; }
  .ledger td::before {
    content: attr(data-label);
    display: block;
    font: 500 .8rem/1.5 var(--mono);
    font-variant-caps: all-small-caps;
    letter-spacing: .08em;
    color: var(--olive);
    margin-top: .35rem;
  }
}

/* ---------- Place list (home) and town specs ---------- */

.places { list-style: none; padding: 0 !important; margin: 2rem 0 0; border-top: 1px solid var(--navy); }
.places li {
  display: grid;
  grid-template-columns: 12rem 9rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.places .place { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.places .side { font: 500 .84rem/1.3 var(--mono); font-variant-caps: all-small-caps; letter-spacing: .07em; color: var(--olive); }
.places p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (max-width: 800px) {
  .places li { grid-template-columns: 1fr; gap: .25rem; }
}

.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 1.6rem 0 2rem;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}
.spec div { padding: .8rem 1rem .9rem 0; }
.spec div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.spec dt {
  font: 500 .8rem/1.3 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  margin-bottom: .25rem;
}
.spec dd { margin: 0; font-size: .93rem; line-height: 1.4; }
@media (max-width: 800px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

.town-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; max-width: none !important; }

/* Comparison columns */
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 2rem 0 1.5rem;
  border-top: 1px solid var(--navy);
}
.pair > div { padding: 1.4rem 2rem 1rem 0; }
.pair > div + div { padding-left: 2rem; border-left: 1px solid var(--rule); }
.pair h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; }
.pair p { font-size: .98rem; }
@media (max-width: 800px) {
  .pair { grid-template-columns: 1fr; }
  .pair > div { padding: 1.3rem 0 .6rem; }
  .pair > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Definition list of issues */
.issues { margin: 1.8rem 0 0; border-top: 1px solid var(--navy); }
.issues div {
  display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule);
}
.issues dt { font-weight: 600; line-height: 1.4; }
.issues dd { margin: 0; }
.issues dd p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .issues div { grid-template-columns: 1fr; gap: .35rem; } }

/* Compliance notice (VA page) */
.notice {
  margin: 0 0 2.5rem;
  padding: 1rem 1.2rem 1rem 1.2rem;
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--signal);
  background: var(--paper-light);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 44rem;
}
.notice p { margin: 0 0 .4rem; }
.notice p:last-child { margin: 0; color: var(--muted); }

/* FAQ */
.faq { margin: 1.5rem 0 0; border-top: 1px solid var(--navy); }
.faq__item { padding: 1.4rem 0 1.1rem; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 3rem minmax(0, 1fr); }
.faq__n { font: 500 .8rem/1.9 var(--mono); color: var(--brass); font-variant-numeric: tabular-nums; }
.faq__q { margin: 0 0 .5rem; font-size: 1.08rem; }
.faq__a { max-width: 42rem; }
.faq__a p { margin: 0 0 .7rem; }
@media (max-width: 600px) { .faq__item { grid-template-columns: 2.2rem minmax(0, 1fr); } }

/* ---------- Band (closing call to action) ---------- */

.band {
  position: relative; z-index: 3;
  margin: 0 calc(-1 * var(--gut)) 0 calc(-1 * var(--lead));
  padding: 5.5rem var(--gut) 5.5rem var(--lead);
  background: var(--navy);
  color: var(--parchment);
}
.band__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; max-width: 64rem; }
.band h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.02; margin: 0; color: var(--parchment); max-width: 13ch; }
.band p { color: rgba(241, 236, 226, .86); max-width: 30rem; }
.band .btn { background: var(--parchment); color: var(--navy); border-color: var(--parchment); }
.band .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.band .btn--line { background: transparent; color: var(--parchment); border-color: rgba(241, 236, 226, .5); }
.band .btn--line:hover { border-color: var(--parchment); background: transparent; color: var(--brass); }
.band a:not(.btn) { color: var(--parchment); text-decoration-color: var(--brass); }
.band__rule { width: 3.5rem; height: 2px; background: var(--brass); margin: 0 0 1.6rem; border: 0; }
@media (max-width: 900px) {
  .band { padding: 3.75rem var(--gut); }
  .band__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Signature block */
.sig {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.6rem; align-items: start;
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule);
  max-width: 40rem;
}
.sig__photo { background: #fff; border: 1px solid var(--rule); }
.sig__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.sig__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; margin: 0 0 .25rem; }
.sig__role { font-size: .9rem; color: var(--muted); margin: 0 0 .8rem; }
.sig__lines { font-family: var(--mono); font-weight: 500; font-size: .88rem; line-height: 1.8; margin: 0; }
.sig__lines a { text-decoration: none !important; font-variant-numeric: tabular-nums; }
.sig__lines a:hover { color: var(--olive); }
@media (max-width: 480px) { .sig { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.1rem; } }

/* ---------- About ---------- */

.portrait-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3.5rem; align-items: end;
  padding: 3rem 0 3rem;
}
.portrait { margin: 0; padding: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #fff; border: 1px solid var(--rule); }
.portrait figcaption {
  font: 500 .82rem/1.4 var(--mono); font-variant-caps: all-small-caps; letter-spacing: .07em;
  color: var(--muted); background: var(--paper); padding: .7rem 0 0; text-align: right;
}
.portrait-row h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.012em;
  margin: 0 0 1.5rem;
}
@media (max-width: 900px) { .portrait-row { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; } .portrait { max-width: 22rem; } }

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

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; align-items: start; max-width: none !important; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.form { margin: 0; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.form legend, .form label.lbl, .form .lbl {
  display: block;
  font: 500 .86rem/1.3 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  margin-bottom: .45rem;
  padding: 0;
}
.form .opt { color: var(--muted); letter-spacing: .04em; }
.field { margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%;
  font: 400 1.05rem/1.4 var(--sans);
  color: var(--navy);
  background: var(--paper-light);
  border: 0;
  border-bottom: 1.5px solid var(--navy);
  border-radius: 0;
  padding: .7rem .75rem;
  min-height: 3rem;
  -webkit-appearance: none;
  appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 2px; background: #fff; }
.form [aria-invalid="true"] { border-bottom-color: var(--signal); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: .6rem 1rem; min-height: 2.75rem;
  border: 1px solid var(--rule-strong); font-size: .95rem; background: var(--paper-light);
  transition: background-color .15s ease, color .15s ease;
}
.choice input:checked + span { background: var(--navy); color: var(--parchment); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
.form__hint { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }
.form__error { color: var(--signal); font-size: .92rem; font-weight: 500; margin: 0 0 1rem; min-height: 0; }
.form__error:empty { display: none; }
.form__fine { font-size: .85rem; color: var(--muted); margin-top: 1rem; max-width: 34rem; }
.form button { font: inherit; cursor: pointer; }

.thanks { padding: 2rem 0 1rem; border-top: 2px solid var(--navy); }
.thanks:focus { outline: none; }
.thanks h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0 0 .8rem; }

.direct { border-top: 1px solid var(--navy); padding-top: 1.2rem; }
.direct dl { margin: 0; }
.direct div { padding: .75rem 0 .9rem; border-bottom: 1px solid var(--rule); }
.direct dt { font: 500 .8rem/1.3 var(--mono); font-variant-caps: all-small-caps; letter-spacing: .08em; color: var(--olive); margin-bottom: .2rem; }
.direct dd { margin: 0; font-size: 1rem; }
.direct dd a { font-variant-numeric: tabular-nums; }
.direct .big { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; text-decoration: none !important; }
.direct .big:hover { color: var(--olive); }

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

.site-foot {
  position: relative; z-index: 4;
  background: var(--navy);
  color: rgba(241, 236, 226, .86);
  font-size: .92rem;
  line-height: 1.6;
}
.site-foot a { color: var(--parchment); text-decoration: none; }
.site-foot a:hover { color: var(--brass); }
.foot__grid {
  display: grid;
  grid-template-columns: calc(var(--idx) + var(--gap)) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding: 4.5rem var(--gut) 3rem;
}
.foot__brand .wordmark { color: var(--parchment); }
.foot__brand .wordmark__line { color: rgba(241, 236, 226, .75); }
.foot__brand p { margin: 1.2rem 0 0; font-size: .86rem; color: rgba(241, 236, 226, .7); max-width: 15rem; }
.foot__h {
  margin: 0 0 .9rem;
  font: 500 .84rem/1.2 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--brass);
}
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list li { margin-bottom: .35rem; }
.foot__list a[aria-current="page"] { color: var(--brass); }
.foot__legal {
  margin: 0 var(--gut);
  padding: 1.6rem 0 2.6rem;
  border-top: 1px solid rgba(241, 236, 226, .2);
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(241, 236, 226, .78);
}
.foot__legal p { margin: 0 0 .5rem; max-width: 62rem; }
.foot__legal .primary { color: var(--parchment); font-weight: 500; }
.foot__legal a { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .18em; }
@media (max-width: 1100px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot__grid { grid-template-columns: 1fr; padding-top: 3.25rem; gap: 2rem; } }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .cover > * { animation: settle .7s ease both; }
  .cover > *:nth-child(2) { animation-delay: .06s; }
  .cover > *:nth-child(3) { animation-delay: .12s; }
  @keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Phone refinements ---------- */

@media (max-width: 700px) {
  .ledger caption { display: block; width: auto; padding-top: 1rem; }
}
@media (max-width: 600px) {
  .sec { padding: 3.1rem 0 3.4rem; }
  .sec--roomy { padding: 3.6rem 0 4rem; }
  .sec--tight { padding: 2.6rem 0 2.9rem; }
  .sec--first { margin-top: 2.4rem; }
  .sec__ref { top: .75rem; }
  /* Let photographs run to the screen edge on phones */
  .fig { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); }
  .fig figcaption { padding-right: var(--gut); }
  .fig--cover img, .fig--wide img { aspect-ratio: 3 / 2; }
  .split .fig { max-width: none; }
  .bleed { padding-bottom: 2rem; }
}
@media (max-width: 480px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { justify-content: center; }
}

/* When a navy call-to-action band runs into the navy footer, separate them with a hairline */
body:has(.band) .foot__grid {
  margin: 0 var(--gut);
  padding-left: 0; padding-right: 0;
  border-top: 1px solid rgba(241, 236, 226, .2);
}
@media (max-width: 1100px) { body:has(.band) .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { body:has(.band) .foot__grid { grid-template-columns: 1fr; } .band { padding-bottom: 3.25rem; } }

/* Blog */

/* Navigation: Briefings joins the list; the section link stays marked on article pages */
@media (min-width: 901px) and (max-width: 1180px) { .nav ul { gap: 1.15rem; } .nav a { font-size: .88rem; } }
@media (min-width: 901px) and (max-width: 1000px) { .masthead__inner { grid-template-columns: auto 1fr auto; column-gap: 2rem; } .nav { justify-self: end; } .nav ul { gap: 1rem; } }
.nav a[aria-current="true"] { color: var(--navy); border-bottom: 2px solid var(--navy); }
.foot__list a[aria-current="true"] { color: var(--brass); }
@media (max-width: 900px) {
  .nav a[aria-current="true"] { border-bottom: 0; color: var(--olive); }
  .nav a[aria-current="true"]::after { content: "You are here"; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; align-self: center; }
}

/* Breadcrumb */
.crumbs { margin: 0 0 1.8rem; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .2rem .55rem;
  font: 500 .86rem/1.4 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .07em;
  color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: baseline; gap: .55rem; }
.crumbs li + li::before { content: "/"; color: var(--brass); }
.crumbs a { color: var(--olive); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.crumbs a:hover { color: var(--navy); border-bottom-color: var(--brass); }
.crumbs [aria-current] { color: var(--navy); }

/* Article title block */
.cover--post { padding: 2.6rem 0 2.6rem; }
.cover--post h1 {
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  max-width: 19ch;
  margin-bottom: 2rem;
}
.bluf {
  max-width: 40rem;
  margin: 0 0 2rem;
  padding: 1rem 0 1.3rem;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}
.bluf__label {
  margin: 0 0 .55rem;
  font: 500 .86rem/1.2 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
}
.bluf__text {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.56;
  color: var(--ink);
  hanging-punctuation: first;
}
.byline {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 40rem;
}
.byline__photo {
  width: 3.5rem; height: 3.5rem;
  object-fit: cover; object-position: 50% 20%;
  background: #fff;
  border: 1px solid var(--rule);
}
.byline__name { margin: 0 0 .2rem; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.byline__meta, .brief-meta {
  margin: 0;
  display: flex; flex-wrap: wrap; gap: .15rem 1.25rem;
  font: 500 .84rem/1.4 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.byline__meta span, .brief-meta span, .brief-meta time { white-space: nowrap; }
.fig--post img { object-position: 50% 55%; }

/* Article body */
.post-sec ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.post-sec ol li::marker { color: var(--brass); font-family: var(--mono); font-weight: 500; font-size: .85em; }
.post-sec li strong { color: var(--navy); }
.post-sec > .table-wrap { max-width: 46rem; }
.post-sec table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.post-sec th, .post-sec td { text-align: left; vertical-align: top; padding: .9rem 1.2rem .9rem 0; border-bottom: 1px solid var(--rule); }
.post-sec thead th {
  font: 500 .86rem/1.25 var(--mono);
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  color: var(--olive);
  border-bottom: 1px solid var(--navy);
  padding-bottom: .6rem;
}
.post-sec tbody td:first-child { font-weight: 600; color: var(--navy); }
.post-sec td:last-child, .post-sec th:last-child { padding-right: 0; }
@media (max-width: 600px) {
  .post-sec table:has(th:nth-child(3)) { min-width: 34rem; }
  .post-sec th, .post-sec td { padding-right: .9rem; }
}
.next__mail { margin-top: 1.2rem; font-size: .92rem; color: var(--muted); }
.sec--next .intro { max-width: 38rem; }

/* Related briefings */
.related {
  list-style: none;
  padding: 0 !important;
  margin: 1.6rem 0 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
}
.related > li { margin: 0; padding: 1.5rem 2rem .5rem 0; }
.related > li + li { padding: 1.5rem 0 .5rem 2rem; border-left: 1px solid var(--rule); }
.related__photo { display: block; margin-bottom: 1rem; overflow: hidden; }
.related__photo img, .register__photo img, .lead-brief__photo img { width: 100%; object-fit: cover; transition: opacity .25s ease; }
.related__photo img { aspect-ratio: 3 / 2; }
.related__photo:hover img, .register__photo:hover img, .lead-brief__photo:hover img { opacity: .9; }
.related h3, .register h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.14;
  margin: .45rem 0 .55rem;
}
.sec .related h3 a, .sec .register h3 a, .sec.lead-brief h2 a { text-decoration: none; color: var(--navy); }
.sec .related h3 a:hover, .sec .register h3 a:hover, .sec.lead-brief h2 a:hover { color: var(--olive); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: .16em; }
.related .dek { font-size: .96rem; color: var(--muted); margin: 0; }
.related__all { margin: 1.6rem 0 0; font-size: .95rem; }
@media (max-width: 800px) {
  .related { grid-template-columns: 1fr; }
  .related > li, .related > li + li { padding: 1.4rem 0 .6rem; border-left: 0; }
  .related > li + li { border-top: 1px solid var(--rule); margin-top: 1rem; }
}

/* Blog index: lead briefing */
.cover--blog { padding-bottom: 3rem; }
.cover--blog h1 { max-width: none; }
.lead-brief > .lead-brief__photo { display: block; max-width: none; }
.lead-brief__photo img { aspect-ratio: 16 / 9; object-position: 50% 55%; }
.lead-brief__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.5rem 3.5rem;
  margin-top: 2rem;
  align-items: start;
}
.lead-brief h2 { font-size: clamp(2.1rem, 3.3vw, 3rem); line-height: 1.06; margin: 0; max-width: 17ch; text-wrap: balance; }
.lead-brief .dek { font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.1rem; max-width: 40rem; }
.lead-brief__go { margin: 1.6rem 0 0; }
@media (max-width: 1100px) { .lead-brief__grid { grid-template-columns: 1fr; } .lead-brief h2 { max-width: 18ch; } }

/* Blog index: the register of briefings */
.register {
  list-style: none;
  padding: 0 !important;
  margin: 1.8rem 0 0 !important;
  border-top: 1px solid var(--navy);
}
.register > li {
  display: grid;
  grid-template-columns: 4.5rem 14rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 0;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.register__no { font: 500 .8rem/2 var(--mono); color: var(--brass); font-variant-numeric: tabular-nums; }
.register__photo { display: block; overflow: hidden; }
.register__photo img { aspect-ratio: 3 / 2; }
.register h3 { margin-top: 0; font-size: 1.65rem; max-width: 30ch; }
.register .dek { margin: 0 0 .75rem; font-size: .98rem; color: var(--muted); max-width: 36rem; }
@media (max-width: 1180px) { .register > li { grid-template-columns: 3.5rem 11rem minmax(0, 1fr); gap: 1.5rem; } }
@media (max-width: 700px) {
  .register > li { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .6rem 1.1rem; padding: 1.4rem 0; }
  .register__no { grid-column: 1 / -1; line-height: 1; }
  .register h3 { font-size: 1.3rem; margin-bottom: .45rem; }
  .register .dek { font-size: .93rem; }
}
@media (max-width: 380px) { .register > li { grid-template-columns: 5.25rem minmax(0, 1fr); } }
