/* Tactical intelligence homepage. Every rule is scoped to .tactical-home.
   Amber marks measured quantities and the latest value; cream carries the
   reading; dashed outlines mark conceptual illustrations. */

.tactical-home {
  --th-bg: #0b0a08;
  --th-raised: #12100d;
  --th-panel: #17140f;
  --th-line: rgba(243, 234, 216, 0.12);
  --th-line-strong: rgba(243, 234, 216, 0.24);
  --th-cream: #f3ead8;
  --th-text: #e4d9c6;
  --th-muted: #ab9d87;
  --th-amber: #f7931a;
  --th-amber-bright: #ffad42;
  --th-amber-tint: rgba(247, 147, 26, 0.09);
  --th-track: #2a241d;
  --th-serif: Georgia, "Times New Roman", Times, serif;
  --th-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--th-text);
}
.tactical-home [id] { scroll-margin-top: 96px; }
.tactical-home h1,
.tactical-home h2,
.tactical-home h3 { color: var(--th-cream); }
.tactical-home h1 em,
.tactical-home h2 em { color: var(--th-amber); font-style: italic; }

/* ---------- Shared pieces ---------- */

.tactical-home .th-kicker {
  margin: 0 0 18px;
  color: var(--th-amber-bright);
  font: 500 0.78rem/1.4 var(--th-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tactical-home .th-fine { color: var(--th-muted); font-size: 0.94rem; }
.tactical-home .th-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--th-line-strong);
  color: var(--th-cream);
  font: 500 0.7rem/1.4 var(--th-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tactical-home .th-tag-measured { border-color: rgba(247, 147, 26, 0.6); color: var(--th-amber-bright); }
.tactical-home .th-tag-concept { border-style: dashed; color: var(--th-muted); }
.tactical-home .th-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--th-amber-bright);
  font-weight: 600;
  text-decoration: none;
}
.tactical-home .th-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.tactical-home .button { border-radius: 2px; box-shadow: none; font-weight: 650; }
.tactical-home .button:hover { border-color: var(--th-amber); }
.tactical-home .button-secondary { background: transparent; }
.tactical-home .button-secondary:hover { background: var(--th-amber-tint); }

.tactical-home .th-section {
  padding: clamp(72px, 10vw, 128px) 0;
  border-top: 1px solid var(--th-line);
}
.tactical-home .th-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.tactical-home .th-head h2 {
  max-width: 17ch;
  margin: 0;
  font: 400 clamp(2.3rem, 5vw, 4.1rem)/1.02 var(--th-serif);
  letter-spacing: -0.03em;
}
.tactical-home .th-head-note { max-width: 56ch; }
.tactical-home .th-head-note p { margin: 0 0 0.9em; color: var(--th-text); font-size: 1.04rem; line-height: 1.65; }
.tactical-home .th-head-note p.th-fine { color: var(--th-muted); font-size: 0.94rem; }
.tactical-home .th-head-note p:last-child { margin-bottom: 0; }
.tactical-home .th-head-solo h2 { max-width: 22ch; }
@media (min-width: 960px) {
  .tactical-home .th-head:not(.th-head-solo) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: end; }
}

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

.tactical-home .th-hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 120px);
  background: radial-gradient(50% 60% at 88% 18%, rgba(247, 147, 26, 0.09), transparent 70%);
}
.tactical-home .th-hero-grid { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
.tactical-home .th-hero-grid > * { min-width: 0; }
.tactical-home .th-hero h1 {
  max-width: 13ch;
  margin: 0 0 30px;
  font: 400 clamp(3rem, 7vw, 6.4rem)/0.96 var(--th-serif);
  letter-spacing: -0.045em;
}
.tactical-home .th-hero h1 em { display: block; }
.tactical-home .th-lede {
  max-width: 40em;
  margin: 0 0 16px;
  color: var(--th-cream);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}
.tactical-home .th-lede-2 { max-width: 40em; margin: 0; color: var(--th-muted); font-size: 1.04rem; line-height: 1.6; }
.tactical-home .th-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.tactical-home .th-subscriber { margin: 22px 0 0; color: var(--th-muted); font-size: 0.95rem; }
.tactical-home .th-subscriber a { color: var(--th-cream); text-underline-offset: 4px; }
.tactical-home .th-subscriber a:hover { color: var(--th-amber-bright); }
@media (min-width: 1040px) {
  .tactical-home .th-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

/* Hero specimen: one measured finding, printed like an evidence plate. */
.tactical-home .th-specimen {
  margin: 0;
  background: var(--th-panel);
  border: 1px solid var(--th-line-strong);
  border-top: 3px solid var(--th-amber);
}
.tactical-home .th-specimen-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px) 0;
}
.tactical-home .th-specimen-scope { color: var(--th-muted); font: 400 0.82rem/1.4 var(--th-mono); }
.tactical-home .th-specimen-head strong {
  flex-basis: 100%;
  margin-top: 14px;
  color: var(--th-cream);
  font: 400 clamp(1.5rem, 2.4vw, 1.95rem)/1.15 var(--th-serif);
  letter-spacing: -0.015em;
}
.tactical-home .th-specimen-body { padding: 22px clamp(20px, 3vw, 32px) 4px; }
.tactical-home .th-specimen-label { margin: 0; color: var(--th-muted); font-size: 0.95rem; }
.tactical-home .th-specimen-number {
  margin: 4px 0 22px;
  color: var(--th-cream);
  font: 400 clamp(2.6rem, 5vw, 3.9rem)/1 var(--th-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.tactical-home .th-specimen-number span { color: var(--th-muted); font: 500 0.9rem var(--th-mono); letter-spacing: 0.06em; }
.tactical-home .th-hold { display: grid; gap: 14px; margin: 14px 0 22px; }
.tactical-home .th-hold > div {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding-bottom: 20px;
}
.tactical-home .th-hold dt { color: var(--th-text); font-size: 0.94rem; }
.tactical-home .th-hold dd {
  margin: 0;
  color: var(--th-cream);
  font: 600 1rem/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
}
.tactical-home .th-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background: var(--th-track);
}
.tactical-home .th-bar i { display: block; width: 100%; height: 100%; background: rgba(243, 234, 216, 0.42); }
.tactical-home .th-hold .is-latest .th-bar i { background: var(--th-amber); }
.tactical-home .th-hold .is-latest dt { color: var(--th-amber-bright); }
.tactical-home .th-specimen-reading {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--th-amber);
  color: var(--th-cream);
  font: 400 1.08rem/1.5 var(--th-serif);
}
.tactical-home .th-specimen-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  margin-top: 22px;
  padding: 8px clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--th-line);
  color: var(--th-muted);
  font: 400 0.82rem/1.4 var(--th-mono);
}
.tactical-home .th-specimen-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--th-amber-bright);
  font: 600 0.95rem var(--sans);
  text-decoration: none;
}
.tactical-home .th-specimen-foot a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Examples ---------- */

.tactical-home .th-examples { background: var(--th-raised); }
.tactical-home .th-plates { display: grid; gap: 0; border-top: 1px solid var(--th-line-strong); }
.tactical-home .th-plate { min-width: 0; padding: clamp(32px, 4vw, 48px) 0; }
.tactical-home .th-plate + .th-plate { border-top: 1px solid var(--th-line); }
.tactical-home .th-plate-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 18px;
  color: var(--th-muted);
  font: 400 0.82rem/1.4 var(--th-mono);
}
.tactical-home .th-plate h3 {
  max-width: 26ch;
  margin: 0 0 26px;
  font: 400 clamp(1.5rem, 2.5vw, 2rem)/1.2 var(--th-serif);
  letter-spacing: -0.012em;
}
.tactical-home .th-plate > p { max-width: 54ch; margin: 0 0 14px; color: var(--th-text); line-height: 1.65; }
.tactical-home .th-plate > p.th-why { color: var(--th-muted); }
.tactical-home .th-why strong { color: var(--th-cream); font-weight: 600; }
@media (min-width: 960px) {
  .tactical-home .th-plates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tactical-home .th-plate:first-child { padding-right: 48px; }
  .tactical-home .th-plate + .th-plate { padding-left: 48px; border-top: 0; border-left: 1px solid var(--th-line); }
}

.tactical-home .th-table-scroll { margin: 0 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tactical-home .th-table-scroll:focus-visible { outline: 2px solid var(--th-amber); outline-offset: 2px; }
.tactical-home .th-table { width: 100%; min-width: 320px; border-collapse: collapse; background: var(--th-bg); border: 1px solid var(--th-line); }
.tactical-home .th-table caption {
  padding: 0 0 10px;
  color: var(--th-muted);
  font: 400 0.8rem/1.4 var(--th-mono);
  text-align: left;
}
.tactical-home .th-table th,
.tactical-home .th-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--th-line);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.tactical-home .th-table th:first-child { text-align: left; }
.tactical-home .th-table thead th {
  color: var(--th-muted);
  font: 500 0.72rem/1.3 var(--th-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tactical-home .th-table tbody th { color: var(--th-muted); font: 400 0.88rem var(--th-mono); }
.tactical-home .th-table td { color: var(--th-cream); font-size: 0.95rem; }
.tactical-home .th-table tbody tr:last-child > * { border-bottom: 0; }
.tactical-home .th-table .is-latest { background: var(--th-amber-tint); }
.tactical-home .th-table .is-latest td,
.tactical-home .th-table .is-latest th { color: var(--th-amber-bright); }

.tactical-home .th-steps-figure { margin: 0 0 22px; padding: 18px 18px 20px; background: var(--th-bg); border: 1px solid var(--th-line); }
.tactical-home .th-steps-figure figcaption { margin: 0 0 14px; color: var(--th-muted); font: 400 0.8rem/1.4 var(--th-mono); }
.tactical-home .th-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tactical-home .th-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--th-line-strong);
}
.tactical-home .th-steps span { color: var(--th-muted); font: 400 0.8rem/1.3 var(--th-mono); }
.tactical-home .th-steps strong {
  color: var(--th-cream);
  font: 400 clamp(1.4rem, 2.2vw, 1.75rem)/1.1 var(--th-serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tactical-home .th-steps .is-latest { border-left-color: var(--th-amber); }
.tactical-home .th-steps .is-latest strong,
.tactical-home .th-steps .is-latest span { color: var(--th-amber-bright); }
@media (min-width: 560px) {
  .tactical-home .th-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .tactical-home .th-steps strong { font-size: clamp(1.15rem, 1.9vw, 1.6rem); }
}

/* ---------- Behavioral lexicon ---------- */

.tactical-home .th-lexicon {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--th-line-strong);
}
.tactical-home .th-lexicon > div {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--th-line);
}
.tactical-home .th-lexicon dt {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--th-cream);
  font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--th-serif);
}
.tactical-home .th-lexicon dt span { color: var(--th-amber); font: 500 0.78rem var(--th-mono); }
.tactical-home .th-lexicon dd { margin: 0 0 0 calc(0.78rem * 1.6 + 14px); max-width: 46ch; color: var(--th-muted); line-height: 1.6; }
@media (min-width: 860px) {
  .tactical-home .th-lexicon { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
}

/* ---------- AI learning ---------- */

.tactical-home .th-learning {
  background: radial-gradient(45% 55% at 12% 80%, rgba(247, 147, 26, 0.06), transparent 70%), var(--th-bg);
}
.tactical-home .th-learning-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.tactical-home .th-learning-grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .tactical-home .th-learning-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.tactical-home .th-loop {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px dashed var(--th-line-strong);
}
.tactical-home .th-loop figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.tactical-home .th-loop figcaption strong { color: var(--th-cream); font: 400 1.2rem/1.3 var(--th-serif); }
.tactical-home .th-loop-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tactical-home .th-loop-steps li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 2px 14px;
  padding: 16px 0;
  border-top: 1px solid var(--th-line);
}
.tactical-home .th-loop-steps b {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--th-amber);
  border-radius: 50%;
  color: var(--th-amber-bright);
  font: 500 0.75rem var(--th-mono);
}
.tactical-home .th-loop-steps strong { color: var(--th-cream); font: 400 1.3rem/1.2 var(--th-serif); }
.tactical-home .th-loop-steps span { color: var(--th-muted); font-size: 0.95rem; line-height: 1.55; }
.tactical-home .th-loop-steps li:last-child { background: var(--th-amber-tint); padding-inline: 10px; margin-inline: -10px; }
.tactical-home .th-loop-return {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--th-line);
  color: var(--th-muted);
  font: 400 0.84rem/1.4 var(--th-mono);
}
.tactical-home .th-loop-return span { color: var(--th-amber); font-size: 1.3rem; }

.tactical-home .th-learning-copy > p { max-width: 52ch; margin: 0 0 34px; color: var(--th-cream); font: 400 clamp(1.15rem, 1.7vw, 1.35rem)/1.55 var(--th-serif); }
.tactical-home .th-learning-copy h3 { margin: 0 0 6px; font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1.2 var(--th-serif); }
.tactical-home .th-readers { margin: 0; }
.tactical-home .th-readers > div { padding: 18px 0; border-bottom: 1px solid var(--th-line); }
.tactical-home .th-readers dt {
  margin: 0 0 6px;
  color: var(--th-amber-bright);
  font: 500 0.76rem/1.4 var(--th-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tactical-home .th-readers dd { margin: 0; max-width: 54ch; line-height: 1.6; }

/* ---------- Public feeds (renderer classes stay; containers restyled) ---------- */

.tactical-home .th-feeds .pi.pi-section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--th-line); }
.tactical-home .th-feeds .pi .pi-section-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.tactical-home .th-feeds .pi .pi-list > .pi-card:first-child .pi-card-headline { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }

.tactical-home .th-cadence {
  display: grid;
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid var(--th-line);
}
.tactical-home .th-cadence > div { padding: 14px 18px; border-bottom: 1px solid var(--th-line); }
.tactical-home .th-cadence > div:last-child { border-bottom: 0; }
.tactical-home .th-cadence dt {
  color: var(--th-muted);
  font: 500 0.72rem/1.4 var(--th-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tactical-home .th-cadence dd { margin: 4px 0 0; color: var(--th-cream); font: 400 1.08rem/1.35 var(--th-serif); }
.tactical-home .th-cadence .is-current { background: var(--th-amber-tint); }
.tactical-home .th-cadence .is-current dt { color: var(--th-amber-bright); }
@media (min-width: 760px) {
  .tactical-home .th-cadence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tactical-home .th-cadence > div { border-bottom: 0; border-right: 1px solid var(--th-line); }
  .tactical-home .th-cadence > div:last-child { border-right: 0; }
}

/* ---------- Access ---------- */

.tactical-home .th-access { background: radial-gradient(50% 70% at 50% 110%, rgba(247, 147, 26, 0.1), transparent 70%); }
.tactical-home .th-routes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--th-line-strong); }
.tactical-home .th-routes li {
  display: grid;
  gap: 10px 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--th-line);
}
.tactical-home .th-route-label { color: var(--th-cream); font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.2 var(--th-serif); }
.tactical-home .th-routes p { max-width: 50ch; margin: 0; color: var(--th-muted); line-height: 1.6; }
.tactical-home .th-routes .button { justify-self: start; margin-top: 8px; }
@media (min-width: 900px) {
  .tactical-home .th-routes li { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; align-items: center; }
  .tactical-home .th-routes .button { justify-self: end; margin-top: 0; }
}
.tactical-home .th-access-foot { display: grid; gap: 18px; margin-top: 36px; }
.tactical-home .th-access-foot p { margin: 0; max-width: 72ch; color: var(--th-muted); line-height: 1.7; }
.tactical-home .th-access-foot a { color: var(--th-cream); text-underline-offset: 4px; }
.tactical-home .th-access-foot a:hover { color: var(--th-amber-bright); }
.tactical-home .th-cwos { padding-left: 16px; border-left: 2px solid var(--th-amber); }
.tactical-home .th-cwos strong { color: var(--th-cream); }

/* ---------- Phones ---------- */

@media (max-width: 680px) {
  .tactical-home .th-actions { flex-direction: column; align-items: stretch; }
  .tactical-home .th-actions .button,
  .tactical-home .th-routes .button { width: 100%; }
  .tactical-home .th-hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .tactical-home .th-lexicon dd { margin-left: 0; }
}
