:root {
  --navy-deep: #0b2340;
  --navy: #133c64;
  --navy-soft: #1d4f7c;
  --teal: #2a8a8a;
  --teal-bright: #3eb3b3;
  --teal-pale: #e8f4f4;
  --sand: #f5ede0;
  --sand-warm: #ebdfc7;
  --coral: #e87553;
  --coral-soft: #f4a58a;
  --ink: #0a1929;
  --ink-2: #2d3e50;
  --ink-3: #5a6b7c;
  --mist: #f8f6f1;
  --paper: #fffdf8;
  --line: #d8d1c3;
  --line-soft: #ebe5d5;
  --green: #4a7c4e;
  --red: #b8453a;
  --amber: #c8942a;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'DM Sans', -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(11, 35, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 35, 64, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--mist);
  background-image:
    radial-gradient(ellipse at top left, rgba(42, 138, 138, 0.04), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(19, 60, 100, 0.03), transparent 50%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.masthead {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: white;
  padding: 28px 48px 32px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--teal);
}
.masthead::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(62, 179, 179, 0.15), transparent 70%);
  pointer-events: none;
}
.masthead-inner { max-width: 1480px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 8px;
  font-weight: 500;
}
.masthead h1 {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.05;
}
.masthead h1 em { font-style: italic; color: var(--teal-bright); font-weight: 400; }
.masthead .subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  max-width: 760px;
  line-height: 1.55;
}
.masthead-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
.masthead-meta span strong { color: var(--teal-bright); font-weight: 500; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0 48px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.nav-inner { max-width: 1480px; margin: 0 auto; display: flex; gap: 0; width: 100%; }
.nav a {
  padding: 14px 20px;
  color: var(--ink-3);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }
.nav a.active {
  color: var(--navy-deep);
  border-bottom-color: var(--teal);
}

/* Container */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 36px 48px 72px;
}
section { margin-bottom: 56px; scroll-margin-top: 72px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.section-head-left { flex: 1; min-width: 280px; }
h2 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
h2 .num {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: super;
  margin-right: 10px;
}
.section-desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 720px;
}

/* Methodology note */
.method-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
  border-radius: 2px;
}
.method-note strong { color: var(--navy-deep); font-weight: 600; }
.method-note .m-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

/* Topline classification cards */
.topline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.class-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px 24px 20px;
  position: relative;
  overflow: hidden;
}
.class-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--card-accent);
}
.class-card.branded { --card-accent: var(--navy); }
.class-card.local   { --card-accent: var(--teal); }
.class-card.broader { --card-accent: var(--coral); }
.cc-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--card-accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.cc-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.cc-caption {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
  line-height: 1.45;
  font-style: italic;
  min-height: 34px;
}
.cc-metric { margin-bottom: 16px; }
.cc-metric:last-child { margin-bottom: 0; }
.cc-m-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 6px;
}
.cc-m-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.cc-m-value {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  line-height: 1;
}
.cc-m-unit { font-size: 15px; color: var(--ink-3); }
.cc-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding-top: 6px;
}
.cc-pbar {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
}
.cc-pbar .bar-wrap {
  height: 4px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  margin: 4px 0 3px;
}
.cc-pbar .bar {
  height: 100%;
  background: var(--card-accent);
  border-radius: 2px;
}
.cc-pbar .val {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
}
.cc-pbar .plat {
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cc-n {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px dashed var(--line-soft);
  letter-spacing: 0.04em;
}

/* Two-jobs summary */
.twojobs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.job-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px 26px;
  position: relative;
}
.job-card.destination { border-top: 3px solid var(--coral); }
.job-card.publisher   { border-top: 3px solid var(--navy); }
.job-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--job-color);
  font-weight: 500;
  margin-bottom: 6px;
}
.job-card.destination { --job-color: var(--coral); }
.job-card.publisher   { --job-color: var(--navy); }
.job-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 4px;
  line-height: 1.2;
}
.job-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-style: italic;
}
.job-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
}
.job-n {
  background: var(--mist);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.job-n .lbl {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
}
.job-n .val {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}
.job-n .val.red { color: var(--red); }
.job-n .val.amber { color: var(--amber); }
.job-n .val.green { color: var(--green); }
.job-body { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.job-body strong { color: var(--navy-deep); font-weight: 600; }

/* Action card */
.action-strip {
  margin-top: 28px;
  background: linear-gradient(to right, var(--sand), var(--paper) 60%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 3px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: center;
}
.action-intro .label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 6px;
}
.action-intro .t {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.action-intro .d { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.action-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.action-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.action-stats .stat .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
}
.action-stats .stat .val {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}
.action-stats .stat .sub {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--ff-mono);
}
.action-plat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.action-plat .p {
  text-align: center;
  font-size: 11px;
}
.action-plat .p .plat {
  font-family: var(--ff-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 4px;
}
.action-plat .p .nums { font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-2); }
.action-plat .p .nums strong { color: var(--navy-deep); font-weight: 600; }

/* Card base */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--mist);
}
.card-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
}
.card-sub {
  font-size: 11.5px;
  color: var(--ink-3);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}
.card-body { padding: 20px 22px; }
.card-body.p0 { padding: 0; }

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.filter-bar label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active {
  background: var(--navy-deep);
  color: white;
  border-color: var(--navy-deep);
}
.search {
  flex: 1;
  min-width: 200px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--ff-body);
  font-size: 12.5px;
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}
.search:focus { border-color: var(--teal); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  position: sticky;
  top: 0;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}
thead th:hover { color: var(--navy); }
thead th.num-col, tbody td.num-col { text-align: right; font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
thead th.center, tbody td.center { text-align: center; }
tbody tr { border-bottom: 1px solid var(--line-soft); transition: background 0.1s; }
tbody tr:hover { background: var(--teal-pale); }
tbody td { padding: 9px 12px; color: var(--ink-2); vertical-align: middle; }
tbody td.name { font-weight: 500; color: var(--ink); }
.table-scroll { max-height: 560px; overflow-y: auto; }
.table-scroll.tall { max-height: 720px; }

/* Pills */
.pill {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  white-space: nowrap;
}
.pill.relevance-10, .pill.relevance-9 { background: var(--navy-deep); color: white; }
.pill.relevance-8 { background: var(--teal); color: white; }
.pill.relevance-7, .pill.relevance-6, .pill.relevance-5 { background: var(--sand-warm); color: var(--navy); }
.pill.relevance-low { background: var(--line-soft); color: var(--ink-3); }
.pill.action-yes { background: var(--coral); color: white; }
.pill.branded { background: var(--navy); color: white; }
.pill.local { background: var(--teal); color: white; }
.pill.broader { background: var(--coral); color: white; }
.pill.yes { background: var(--green); color: white; }
.pill.no { background: #f0e8d8; color: var(--ink-3); }

/* Heat cells */
.heat {
  display: inline-block;
  min-width: 36px;
  padding: 3px 8px;
  text-align: center;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 11.5px;
  border-radius: 2px;
  color: var(--ink-2);
}
.heat-0 { background: transparent; color: var(--ink-3); }
.heat-low { background: #fbf5e8; color: var(--ink-2); }
.heat-mid { background: #e8f4f4; color: var(--navy); }
.heat-high { background: var(--teal); color: white; }
.heat-max { background: var(--navy-deep); color: white; }

/* Rate bar cell */
.bar-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 500;
}
.bar-cell .bar {
  flex: 1;
  height: 4px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  max-width: 80px;
}
.bar-cell .bar-fill {
  height: 100%;
  border-radius: 2px;
}
.bar-cell .val { min-width: 32px; text-align: right; }

/* Classification matrix */
.class-matrix {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 0;
}
.class-matrix .mh {
  padding: 10px 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  text-align: center;
}
.class-matrix .mh.first { text-align: left; }
.class-matrix .row-h {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.class-matrix .row-h .n {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 400;
}
.class-matrix .mcell {
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.class-matrix .mcell .dual {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--ff-mono);
}
.class-matrix .mcell .d-v {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.class-matrix .mcell .d-v.red { color: var(--red); }
.class-matrix .mcell .d-v.amber { color: var(--amber); }
.class-matrix .mcell .d-v.green { color: var(--green); }
.class-matrix .mcell .d-v.navy { color: var(--navy-deep); }
.class-matrix .mcell .d-lbl {
  font-size: 9px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* Sentiment grid */
.sent-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 0;
}
.sent-grid .hdr {
  padding: 10px 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  text-align: center;
}
.sent-grid .hdr.first { text-align: left; }
.sent-grid .row-label {
  padding: 12px;
  font-weight: 500;
  color: var(--ink);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
}
.sent-grid .cell {
  padding: 8px;
  border-bottom: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.sent-cell-score { font-weight: 600; font-size: 14px; }
.sent-cell-mentions { font-size: 10px; color: var(--ink-3); }
.sent-cell.empty {
  background: repeating-linear-gradient(45deg, transparent, transparent 6px, var(--line-soft) 6px, var(--line-soft) 7px);
}
.sent-100 { background: var(--green); color: white; }
.sent-80 { background: #6a9c5b; color: white; }
.sent-60 { background: #a8b85a; color: var(--ink); }
.sent-40 { background: var(--amber); color: white; }
.sent-low { background: var(--red); color: white; }
.sent-100 .sent-cell-mentions, .sent-80 .sent-cell-mentions, .sent-40 .sent-cell-mentions, .sent-low .sent-cell-mentions { color: rgba(255,255,255,0.8); }

/* Descriptor lists */
.desc-list { display: flex; flex-direction: column; gap: 8px; }
.desc-item {
  padding: 10px 12px;
  background: var(--mist);
  border-left: 3px solid var(--line);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.desc-item.strong { border-left-color: var(--green); }
.desc-item.weak { border-left-color: var(--red); }
.desc-item.gap { border-left-color: var(--amber); }
.desc-item .text { flex: 1; color: var(--ink); font-weight: 500; }
.desc-item .group { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; margin-top: 2px; }
.desc-item .stats {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}
.desc-item .stats strong {
  color: var(--navy);
  font-weight: 600;
  font-size: 12.5px;
  display: block;
}

/* Prompts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prompt-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: start;
  font-size: 12.5px;
}
.prompt-row .ptext { color: var(--ink); line-height: 1.45; }
.prompt-row .pmeta {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prompt-row .indicators { display: flex; gap: 4px; flex-shrink: 0; }
.prompt-row .topic {
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: right;
  min-width: 160px;
  max-width: 220px;
}
.prompt-row .topic strong { color: var(--ink-2); display: block; font-size: 11px; font-weight: 500; line-height: 1.3; }
.prompt-row .topic .rel {
  display: inline-block;
  padding: 1px 6px;
  background: var(--sand-warm);
  color: var(--navy);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* Utility */
.muted { color: var(--ink-3); }
.tnum { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* Footer */
footer {
  padding: 24px 48px 36px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}
footer em { font-family: var(--ff-display); font-style: italic; color: var(--navy); font-size: 13px; }

@media (max-width: 1100px) {
  .topline-grid { grid-template-columns: 1fr; }
  .twojobs, .grid-2 { grid-template-columns: 1fr; }
  .action-strip { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container, .nav, .masthead { padding-left: 20px; padding-right: 20px; }
  .sent-grid, .class-matrix { grid-template-columns: 1fr; }
  .masthead h1 { font-size: 28px; }
}