:root {
  color-scheme: light;
  --ink: #141615;
  --muted: #626762;
  --paper: #f3f0e8;
  --white: #fffdf8;
  --mint: #bff2d2;
  --line: rgba(20, 22, 21, 0.17);
  --accent: #ff624d;
}

* { 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; }
a { color: inherit; }
.portal-header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(24px, 5vw, 76px); border-bottom: 1px solid var(--line); }
.portal-brand img { display: block; width: min(240px, 52vw); height: auto; }
.portal-header__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
main { min-height: calc(100vh - 175px); }
.portal-footer { display: flex; justify-content: space-between; padding: 28px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); font-size: 13px; }
.portal-footer a { text-underline-offset: 4px; }

.access-shell { width: min(1120px, calc(100% - 48px)); min-height: 620px; margin: 0 auto; padding: clamp(70px, 11vw, 150px) 0 90px; position: relative; }
.access-shell::after { content: ""; position: absolute; top: 68px; right: 2%; width: clamp(150px, 24vw, 330px); aspect-ratio: 1; border-radius: 50%; background: var(--mint); filter: blur(.2px); z-index: -1; }
.access-shell__eyebrow, .timeline-heading__eyebrow { display: block; margin-bottom: 24px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.access-shell h1, .report-hero h1 { max-width: 850px; margin: 0; font-size: clamp(54px, 9vw, 128px); line-height: .84; letter-spacing: -.065em; font-weight: 760; }
.access-shell__intro { max-width: 570px; margin: 38px 0 42px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.access-form { max-width: 760px; }
.access-form > label:first-of-type { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 750; }
.access-form__row { display: flex; border-bottom: 2px solid var(--ink); }
.access-form input[type="email"], .access-form__code { flex: 1; min-width: 0; padding: 18px 4px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 20px; }
.access-form__code { letter-spacing: .32em; font-variant-numeric: tabular-nums; }
.access-form button { border: 0; padding: 12px 2px 12px 24px; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.access-form button:hover span { display: inline-block; transform: translate(3px, -3px); }
.access-form__remember { display: flex !important; align-items: center; gap: 9px; margin-top: 20px !important; color: var(--muted); font-weight: 500 !important; }
.form-alert { max-width: 760px; padding: 14px 17px; border-left: 4px solid var(--accent); background: var(--white); }
.access-shell__note { margin-top: 20px; color: var(--muted); font-size: 13px; }

.report-hero { padding: clamp(64px, 10vw, 130px) clamp(24px, 7vw, 110px) 54px; background: var(--ink); color: var(--white); }
.report-hero__meta, .report-hero__footer { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.report-hero h1 { margin: clamp(65px, 10vw, 130px) 0 70px; }
.report-hero__footer { border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.report-hero__footer p { margin: 0; }
.timeline-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 92px 0 130px; }
.timeline-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 56px; }
.timeline-heading__eyebrow { margin-bottom: 12px; }
.timeline-heading h2 { margin: 0; font-size: clamp(38px, 6vw, 72px); letter-spacing: -.05em; line-height: .95; }
.timeline-heading__count { padding-bottom: 7px; color: var(--muted); font-size: 13px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; bottom: 0; left: 8px; width: 1px; background: var(--line); }
.timeline-entry { display: grid; grid-template-columns: 17px 1fr; gap: clamp(26px, 5vw, 62px); padding-bottom: 72px; scroll-margin-top: 30px; }
.timeline-entry__marker { position: relative; padding-top: 6px; }
.timeline-entry__marker span { display: block; width: 17px; height: 17px; border: 4px solid var(--paper); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.timeline-entry--requested .timeline-entry__marker span { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline-entry__content { border-top: 1px solid var(--line); padding-top: 19px; }
.timeline-entry__content, .report-hero h1 { min-width: 0; overflow-wrap: anywhere; }
.timeline-entry__content time { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.timeline-entry__content > p { max-width: 760px; margin: 24px 0 0; white-space: pre-line; font-size: clamp(20px, 2.5vw, 29px); line-height: 1.43; letter-spacing: -.018em; }
.timeline-entry__edited { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; }
.report-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.report-gallery__item { overflow: hidden; background: #ddd9cf; }
.report-gallery img { display: block; width: 100%; height: clamp(210px, 34vw, 410px); object-fit: cover; transition: transform .35s ease; }
.report-gallery__item:hover img { transform: scale(1.015); }
.timeline-empty { padding: 60px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 21px; }
.report-signoff { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 36px clamp(24px, 7vw, 110px); background: var(--mint); }
.report-signoff span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 0; background: transparent; font: inherit; cursor: pointer; }
.timeline-tools, .timeline-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: space-between; }
.timeline-tools { margin: -24px 0 36px; font-size: 14px; }
.timeline-tools p { margin: 0; color: var(--muted); }
.timeline-tools a, .timeline-pagination a { text-underline-offset: 5px; }
.timeline-pagination { border-top: 1px solid var(--line); padding-top: 22px; font-size: 15px; }
.timeline-pagination a, .timeline-tools a, .timeline-tools button { display: inline-flex; align-items: center; min-height: 44px; }
.print-scope { max-width: 760px; color: var(--muted); line-height: 1.6; margin-bottom: 36px; }
.report-gallery__unavailable:not([hidden]) { display: block; padding: 24px; font-size: 14px; line-height: 1.6; }
.report-gallery img[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.access-form input:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }

@media print {
  body { background: white; color: black; }
  .portal-header, .portal-footer, .report-signoff, .timeline-tools button, .timeline-tools a, .timeline-pagination { display: none; }
  .report-hero { padding: 0 0 24px; background: white; color: black; }
  .report-hero h1 { margin: 24px 0; font-size: 36px; }
  .report-hero__footer { border-color: #888; }
  .timeline-shell { width: 100%; padding: 24px 0; }
  .timeline-heading { margin-bottom: 36px; }
  .timeline-heading h2 { font-size: 30px; }
  .timeline-entry { padding-bottom: 32px; break-inside: avoid; }
  .timeline-entry__content > p { font-size: 14px; }
  .report-gallery img { max-height: 280px; height: auto; object-fit: contain; }
  .report-gallery__item { break-inside: avoid; background: transparent; }
}

@media (max-width: 650px) {
  .portal-header { min-height: 76px; padding-block: 18px; }
  .portal-header__label { display: none; }
  .access-shell { width: min(100% - 36px, 1120px); min-height: 570px; padding-top: 76px; }
  .access-shell::after { top: 54px; right: 0; }
  .access-form__row { align-items: end; }
  .access-form button { font-size: 14px; white-space: nowrap; }
  .report-hero { padding-inline: 22px; }
  .report-hero__meta, .report-hero__footer { flex-direction: column; }
  .report-hero h1 { margin-block: 70px 64px; }
  .timeline-shell { width: calc(100% - 36px); padding-block: 70px 85px; }
  .timeline-heading { align-items: start; flex-direction: column; }
  .timeline-entry { gap: 22px; }
  .report-gallery { grid-template-columns: 1fr; }
  .report-signoff { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
