/* 2026 in review. House / outbound style: oxblood on cream, Georgia, light only
   (SALUCA-BRAND-STANDARD.md: product and web surfaces have no dark mode). */
:root {
  --accent: #6e0f1a;
  --accent-tint: rgba(110, 15, 26, 0.07);
  --accent-tint-strong: rgba(110, 15, 26, 0.14);
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --muted: #5f5f5f;
  --rule: #d4d4d4;
  --paper: #fbfbfa;
  --panel: #f4f3ef;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, Cambria, "Times New Roman", serif;
  --label-w: 232px;
  --gutter: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  font-size: 17px;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary, input[type="range"] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 6px;
}

/* ---------- header ---------- */
.masthead { padding: 48px 0 28px; border-bottom: 2px solid var(--accent); }
.brand { display: flex; align-items: center; gap: 22px; }
.brand img { width: 145px; height: 169px; flex: none; display: block; }
h1 { font-size: 52px; line-height: 1.05; margin: 0; font-weight: normal; letter-spacing: 0.005em; }
.lede { color: var(--ink-soft); font-size: 19px; max-width: 720px; margin: 24px 0 0; }

section.block { padding: 40px 0; border-bottom: 1px solid var(--rule); }
h2 { font-size: 30px; line-height: 1.2; font-weight: normal; margin: 0 0 8px; }
h3 { font-size: 20px; font-weight: normal; margin: 0 0 6px; }
.sub { color: var(--ink-soft); margin: 0 0 18px; max-width: 720px; }

/* ---------- numbers strip ---------- */
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 16px; margin: 18px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--ink); }
.numbers li:first-child { grid-column: span 2; }
.numbers li:first-child .n { font-size: 46px; }
.num {
  display: block; width: 100%; min-height: 88px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 14px 14px 12px 0; font: inherit; color: inherit;
  transition: background-color 160ms ease;
}
.num:hover { background: var(--panel); }
.num:active { background: var(--accent-tint-strong); }
.num .n { display: block; font-size: 34px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.num .l { display: block; margin-top: 8px; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.num[aria-pressed="true"] { background: var(--accent-tint-strong); box-shadow: inset 0 -3px 0 var(--accent); }
.num[aria-pressed="true"] .n { color: var(--accent); }
.num.total .n { color: var(--accent); }
.num.total { padding-left: 0; }
.num.zero { cursor: default; }
.filter-line { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; min-height: 44px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.linkbtn {
  font: inherit; font-family: var(--sans); font-size: 14px; background: none; border: 1px solid var(--accent);
  color: var(--accent); padding: 0 14px; min-height: 44px; border-radius: 2px;
}
.linkbtn:hover { background: var(--accent); color: var(--paper); }
.linkbtn:active { background: #4f0a12; color: var(--paper); }

/* ---------- legend ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  margin: 0 0 14px; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend svg { flex: none; }

/* ---------- timeline ---------- */
.tl-frame { position: relative; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tl-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.tl { position: relative; }
.tl-row { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid #ebeae6; position: relative; }
.tl-row:last-child { border-bottom: 0; }
.tl-lab {
  position: sticky; left: 0; z-index: 6; flex: none; width: var(--label-w);
  background: var(--paper); padding: 6px 12px 6px 0; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--rule);
}
.tl-lab .nm { font-size: 15px; line-height: 1.25; }
.tl-lab .meta { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.tl-track { position: relative; flex: none; }
.tl-track svg { display: block; overflow: visible; }
.tl-head { min-height: 40px; border-bottom: 1px solid var(--ink); }
.tl-head .tl-lab { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.mbtn {
  position: absolute; top: 0; bottom: 0; background: none; border: 0; border-left: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  text-align: left; padding: 0 0 0 8px;
}
.mbtn:hover { background: var(--panel); color: var(--ink); }
.mbtn[aria-current="true"] { color: var(--accent); font-weight: 600; }
.tl-group { min-height: 34px; background: var(--panel); border-bottom: 1px solid var(--rule); }
.tl-group .tl-lab { background: var(--panel); border-right-color: transparent; }
.tl-group .eyebrow { margin: 0; }
.tl-internal { border-top: 1px solid var(--ink); }
.band {
  position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none;
  background: var(--accent-tint); border-left: 1px solid var(--accent); border-right: 1px solid var(--accent);
  transition: left 240ms ease, width 240ms ease;
}
.badge {
  display: inline-block; font-family: var(--sans); font-size: 11.5px; line-height: 1.3; padding: 1px 6px;
  border: 1px solid currentColor; border-radius: 2px; white-space: normal;
}
.badge.ongoing { color: var(--accent); }
.badge.shipped { color: var(--ink-soft); }
.badge.paused { color: var(--ink-soft); border-style: dashed; }
.badge.retired { color: var(--muted); border-style: dotted; }
.dot { transition: opacity 200ms ease; }
.dot.faded { opacity: 0.12; }
.hit { fill: transparent; }
.marker {
  position: absolute; z-index: 4; width: 24px; height: 18px; margin-left: -12px; top: 0;
  background: none; border: 0; padding: 0; display: grid; place-items: center;
}
.marker::before { content: ""; position: absolute; inset: -4px -10px -2px; }
.marker span { width: 10px; height: 10px; transform: rotate(45deg); border: 2px solid var(--accent); background: var(--paper); }
.marker.industry-first span { background: var(--ink-soft); border-color: var(--ink-soft); }
.marker:hover span { background: var(--accent); }
.marker.industry-first:hover span { background: var(--ink); }

.tip {
  position: fixed; z-index: 20; pointer-events: none; max-width: 300px; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 3px;
  opacity: 0; transition: opacity 120ms ease;
}
.tip.on { opacity: 1; }
.tip b { font-weight: 600; }

.state { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); padding: 28px 0; }
.state.err { color: #8a1c12; }

/* ---------- scrubber ---------- */
.scrubber {
  display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center;
  padding: 14px 0 6px; font-family: var(--sans);
}
.scrubber .step {
  width: 44px; height: 44px; border: 1px solid var(--accent); background: var(--paper); color: var(--accent);
  border-radius: 2px; font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.scrubber .step:hover { background: var(--accent); color: var(--paper); }
.scrubber .step:active { background: #4f0a12; color: var(--paper); }
.scrubber .step:disabled { border-color: var(--rule); color: #8c8c8c; background: var(--paper); }
.range-wrap { position: relative; }
.range-wrap label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 2px; }
.range-wrap output { font-family: var(--serif); font-size: 18px; color: var(--accent); margin-left: 6px; }
input[type="range"] { width: 100%; height: 44px; margin: 0; background: transparent; accent-color: var(--accent); }
.ticks { display: flex; justify-content: space-between; padding: 0 3px; font-size: 11px; color: var(--muted); text-align: center; margin-top: -6px; }

/* ---------- month panel ---------- */
.month-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.month-body { transition: opacity 200ms ease, transform 200ms ease; }
.month-body.swap { opacity: 0; transform: translateY(6px); }
.summary { font-size: 19px; color: var(--ink-soft); margin: 4px 0 20px; max-width: 760px; }
.active { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.active li { font-family: var(--sans); font-size: 13px; border: 1px solid var(--rule); background: var(--paper);
  padding: 5px 9px; border-radius: 2px; display: flex; gap: 6px; align-items: center; }
.active li.unnamed { background: var(--panel); border-style: dashed; color: var(--ink-soft); }
.sgroup { margin: 0 0 28px; }
.sgroup > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 12px; }
.sgroup > h3 .cnt { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--panel); padding: 14px 16px 16px; border-top: 2px solid var(--accent); min-width: 0;
  transition: box-shadow 200ms ease;
}
.card.hl { box-shadow: 0 0 0 3px var(--accent); }
.card .k { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin: 0 0 6px; }
.card a.t { font-size: 16.5px; line-height: 1.35; color: var(--ink); text-decoration-color: var(--rule); overflow-wrap: anywhere; }
.card a.t:hover { color: var(--accent); text-decoration-color: var(--accent); }
.card .cmp { margin-top: 10px; }
.card.agg { grid-column: 1 / -1; border-top-style: double; border-top-width: 4px; }
.card.agg.synth { border-top-color: var(--ink-soft); }
.card.agg p { margin: 0 0 8px; color: var(--ink-soft); }
details.list { margin-top: 6px; }
details.list summary { font-family: var(--sans); font-size: 14px; color: var(--accent); min-height: 44px; display: flex; align-items: center; }
details.list ul { margin: 4px 0 0; padding-left: 18px; columns: 2 320px; column-gap: 28px; font-size: 15px; }
details.list li { margin: 0 0 6px; break-inside: avoid; }
details.list .d { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-right: 6px; }
.more { margin-top: 12px; }
.empty { background: var(--panel); padding: 18px 20px; color: var(--ink-soft); max-width: 760px; }

/* ---------- undated, how ---------- */
.undated { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.undated li { border-bottom: 1px solid var(--rule); padding: 0 0 10px; }
.undated .k { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.how p, .how li { color: var(--ink-soft); }
.how ul { padding-left: 20px; }
.how li { margin-bottom: 8px; }

/* ---------- dialog ---------- */
dialog {
  border: 0; padding: 0; max-width: 620px; width: calc(100% - 32px); background: var(--paper); color: var(--ink);
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.25);
}
dialog::backdrop { background: rgba(20, 20, 20, 0.45); }
.dlg { padding: 24px 24px 20px; border-top: 4px solid var(--accent); }
.dlg .pair { display: grid; gap: 12px; margin: 14px 0; }
.dlg .side { background: var(--panel); padding: 12px 14px; }
.dlg .gap { font-size: 22px; color: var(--accent); margin: 6px 0; }
.dlg .note { color: var(--ink-soft); font-size: 15px; }
.dlg .close { float: right; margin: -6px -6px 0 12px; width: 44px; height: 44px; font-size: 24px; }

/* ---------- footer ---------- */
footer.site { padding: 32px 0 56px; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
footer.site p { margin: 0 0 10px; }
footer.site .sign { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-top: 18px; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer.site .links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- responsive states ---------- */
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  .numbers { grid-template-columns: repeat(4, 1fr); }
  :root { --label-w: 190px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --label-w: 136px; }
  body { font-size: 16px; }
  .masthead { padding: 28px 0 20px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  h1 { font-size: 36px; }
  .lede { font-size: 17px; margin-top: 18px; }
  section.block { padding: 28px 0; }
  h2 { font-size: 25px; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
  .numbers li:first-child .n { font-size: 38px; }
  .num { min-height: 76px; padding-right: 8px; }
  .num .n { font-size: 28px; }
  .tl-lab .nm { font-size: 13.5px; }
  .tl-lab { padding-right: 8px; }
  .summary { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  details.list ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .scrubber, .filter-line, .marker { display: none; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
.marker.mixed span { background: linear-gradient(135deg, var(--paper) 50%, var(--ink-soft) 50%); }
.cmpbox { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 14px; }
.cmpbox h3 { font-size: 19px; margin: 0 0 2px; }
.dlg .src { font-family: var(--sans); font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.dlg .fine { font-size: 14px; margin-top: 16px; }
dialog { max-height: calc(100vh - 32px); overflow-y: auto; }
.tl-ctx { background: transparent; }
.ctx { position: absolute; top: 9px; z-index: 4; font-family: var(--sans); font-size: 12px; color: var(--ink-soft);
  background: var(--paper); border: 1px solid #8a8a8a; padding: 0 8px; min-height: 28px; display: inline-flex; align-items: center;
  white-space: nowrap; text-decoration: none; border-radius: 2px; }
.ctx:hover { color: var(--ink); border-color: var(--ink); text-decoration: underline; }
.ctx-band { position: absolute; top: 40px; bottom: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(120,120,120,0.16) 0 1.5px, transparent 1.5px 6px); }
.tl-row { z-index: auto; }
.milestones { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; max-width: 760px; }
.milestones li { border-left: 0; padding: 10px 14px; background: var(--panel); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.milestones .k { width: 100%; margin: 0; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.ctxnote { color: var(--ink-soft); font-style: italic; margin: 0 0 24px; max-width: 760px; }
