:root {
  --ink: #17131d;
  --plum: #210b35;
  --plum-soft: #4c2f61;
  --gold: #d7b95f;
  --paper: #f7f5f0;
  --white: #ffffff;
  --muted: #6f6876;
  --line: #d9d2dc;
  --good: #176344;
  --warning: #8b5d10;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--plum); }

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.report-header {
  background: var(--plum);
  color: var(--white);
  border-bottom: 6px solid var(--gold);
}

.report-header__inner,
.report-main,
.report-footer__inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.report-header__inner { padding: 28px 0 72px; }

.brand-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 40px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-row__client { color: #e7dca9; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.metric__value {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.report-header__summary {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.report-main { padding: 48px 0 80px; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.button--secondary { background: transparent; color: var(--plum); }

.scope-note {
  margin-bottom: 48px;
  padding: 20px 24px;
  border-left: 4px solid var(--warning);
  background: #fff9eb;
}

.scope-note strong { color: var(--warning); }

.section { margin-top: 72px; }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1.3fr);
  gap: 36px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section__head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section__head p { margin: 0; color: var(--muted); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-right: 0;
  margin-top: 28px;
}

.metric {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.metric__label {
  display: block;
  min-height: 42px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric__value {
  display: block;
  margin-top: 14px;
  color: var(--plum);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.metric__detail { display: block; margin-top: 10px; color: var(--good); font-weight: 750; }

.trajectory {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  min-height: 330px;
  margin-top: 30px;
  padding: 30px 26px 22px;
  background: var(--ink);
  color: var(--white);
}

.month {
  display: grid;
  grid-template-rows: 44px 220px auto;
  gap: 10px;
  align-items: end;
  text-align: center;
}

.month__value { align-self: end; font-size: 0.88rem; font-weight: 800; }

.month__rail {
  display: flex;
  align-items: end;
  height: 220px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.month__bar {
  width: 100%;
  min-height: 8px;
  background: linear-gradient(180deg, #f1dd96, var(--gold));
}

.month--mar .month__bar { height: 32%; }
.month--apr .month__bar { height: 37%; }
.month--may .month__bar { height: 71%; }
.month--jun .month__bar { height: 100%; }
.month--jul .month__bar { height: 97%; }
.month--aug .month__bar { height: 61%; }

.month__name {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.month__name small { display: block; margin-top: 4px; letter-spacing: 0; text-transform: none; }

.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; background: var(--white); }

th,
td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }

th {
  background: #eee9f0;
  color: var(--plum);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }

.number { text-align: right; font-variant-numeric: tabular-nums; }

.finding-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.finding,
.work-item { padding: 24px; border: 1px solid var(--line); background: var(--white); }

.finding h3,
.work-item h3 { margin: 0 0 10px; font-size: 1.35rem; }

.finding p,
.work-item p { margin: 0; color: var(--muted); }

.work-item__number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.methodology {
  margin-top: 28px;
  padding: 28px;
  background: #eee9f0;
}

.methodology h3 { margin-top: 0; }

.methodology ul { margin-bottom: 0; padding-left: 20px; }

.report-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); }

.report-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trajectory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section__head { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-row,
  .report-footer__inner { align-items: flex-start; flex-direction: column; }
  .metrics,
  .finding-grid,
  .work-grid { grid-template-columns: 1fr; }
  .trajectory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th, td { padding: 12px; }
}

@media print {
  @page { size: letter; margin: 0.55in; }
  body { background: var(--white); font-size: 10pt; }
  .report-header { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report-header__inner { padding: 18px 0 36px; }
  h1 { font-size: 42pt; }
  .action-row { display: none; }
  .section { margin-top: 36px; break-inside: avoid; }
  .metric { min-height: auto; }
  .trajectory { min-height: 260px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .finding, .work-item, .methodology, table { break-inside: avoid; }
}
