:root {
  color-scheme: light;
  --red: #ff0000;
  --black: #000;
  --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #000; }
img { display: block; max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.content { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }

.hero { background: #080808; }
.hero img { width: 100%; height: auto; }

.intro { position: relative; min-height: 35.4vw; background: var(--red); overflow: hidden; isolation: isolate; }
.intro__paper { position: absolute; z-index: 0; inset: auto 0 -1px; width: 100%; height: auto; aspect-ratio: 1920 / 134; background: url('./paper-top-transition.png') center / 100% 100% no-repeat; pointer-events: none; }
.intro__content { position: relative; z-index: 1; padding-top: 5vw; padding-bottom: 4vw; color: #fff; }
.intro p { max-width: 1200px; margin: 0 0 35px; font: 700 clamp(18px, 1.7vw, 32px)/1.3 Georgia, 'Times New Roman', serif; }
.intro p:last-child { margin-bottom: 0; }

.case { position: relative; z-index: 1; background: #000 url('./cool-ripped-torn-paper-texture-background%201.png') center -30vw / 100% auto no-repeat; padding: 6.5vw 0 0; }
.case > .content { position: relative; z-index: 1; }
.case h2, .footer h2 { margin: 0; font-family: Impact, 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase; text-align: center; }
.case h2 { font-size: clamp(56px, 7.8vw, 150px); line-height: .97; letter-spacing: -.025em; transform: scaleX(.85); margin-bottom: 70px; }
.case p, .evidence p, .findings p { margin: 0; font: 700 clamp(18px, 1.65vw, 31px)/1.26 Georgia, 'Times New Roman', serif; text-align: justify; }
.video { margin-top: 70px; position: relative; z-index: 2; }
.video__button { width: 100%; aspect-ratio: 1200 / 680; border: 0; border-radius: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.video__button:hover, .video__button:focus-visible { background: #dc0000; }
.video__button:focus-visible, .video-dialog__close:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.video__button svg { width: clamp(90px, 12vw, 180px); height: auto; }

.evidence { position: relative; background: #000; color: #fff; margin-top: -120px; padding-top: 170px; padding-bottom: 90px; }
.evidence__content { position: relative; z-index: 1; }
.evidence figure { margin: 0; }
.evidence__photo img { width: 100%; height: auto; border-right: 8px solid var(--red); }
.evidence__photo figcaption { margin-top: 12px; font: 400 13px/1.3 Georgia, 'Times New Roman', serif; }
.evidence p { margin-top: 68px; }
.evidence__messages { margin-top: 70px !important; }
.evidence__messages-open { display: block; width: 100%; padding: 0; border: 20px solid var(--red); border-radius: 0; background: var(--red); cursor: zoom-in; }
.evidence__messages-open img { width: 100%; height: auto; }
.evidence__messages-open:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.evidence__messages figcaption { margin-top: 10px; color: #fff; font: 400 15px/1.3 Arial, Helvetica, sans-serif; }

.findings { padding: 80px 0 95px; background: #fff; }
.findings__diagrams { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; margin-top: 100px; }
.findings__diagrams img { width: 100%; height: 430px; object-fit: cover; }
.findings__organization { width: 100%; margin-top: 80px; height: 840px; object-fit: cover; object-position: center; }

.footer { background: var(--red); }
.footer h2 { min-height: 315px; display: grid; place-content: center; font-size: clamp(40px, 5vw, 96px); line-height: .9; letter-spacing: -.015em; }
.footer__legal { min-height: 80px; padding: 12px 20px 10px; color: #fff; background: #000; text-align: center; font-family: Arial, Helvetica, sans-serif; }
.footer__legal p { margin: 0 0 5px; font-size: 19px; }
.footer__legal small { display: block; font-size: 10px; }

.video-dialog { border: 0; padding: 0; width: min(90vw, 640px); background: #111; color: #fff; }
.video-dialog::backdrop { background: rgb(0 0 0 / .8); }
.video-dialog__inner { padding: 40px; font-family: Arial, Helvetica, sans-serif; }
.video-dialog h2 { margin: 0 0 16px; font: 400 42px/.95 Impact, 'Arial Narrow', sans-serif; text-transform: uppercase; }
.video-dialog p { margin: 0; font-size: 18px; line-height: 1.5; }
.video-dialog__close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; color: #fff; font: 38px/1 Arial, sans-serif; cursor: pointer; }

.image-dialog { width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid #555; background: #111; color: #fff; }
.image-dialog::backdrop { background: rgb(0 0 0 / .88); }
.image-dialog__toolbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 18px; font: 600 16px/1.3 Arial, Helvetica, sans-serif; }
.image-dialog__controls { display: flex; gap: 5px; margin-left: auto; }
.image-dialog__controls button, .image-dialog__close { border: 1px solid #777; background: #222; color: #fff; font: 600 14px/1 Arial, Helvetica, sans-serif; padding: 9px 12px; cursor: pointer; }
.image-dialog__controls button[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.image-dialog__controls button:focus-visible, .image-dialog__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.image-dialog__close { font-size: 23px; padding: 3px 12px; }
.image-dialog__viewport { overflow: auto; max-height: calc(94vh - 64px); background: #000; }
.image-dialog__viewport img { display: block; max-width: none; width: min(100%, 1110px); height: auto; margin: 0 auto; }

@media (max-width: 800px) {
  .content { width: min(100% - 36px, 600px); }
  .hero img { width: 100%; height: auto; }
  .intro { min-height: auto; }
  .intro__content { padding-block: 55px 90px; }
  .intro p { margin-bottom: 22px; font-size: clamp(18px, 4vw, 23px); }
  .case { padding-top: 65px; background-size: auto 1200px; background-position: center -300px; }
  .case h2 { margin-bottom: 38px; }
  .case p, .evidence p, .findings p { font-size: clamp(17px, 3.8vw, 22px); line-height: 1.36; text-align: left; }
  .video { margin-top: 42px; }
  .video__button { aspect-ratio: 16 / 9; }
  .evidence { margin-top: -55px; padding-top: 88px; padding-bottom: 55px; }
  .evidence__photo figcaption { font-size: 11px; }
  .evidence p { margin-top: 36px; }
  .evidence__messages { margin-top: 42px !important; }
  .evidence__messages-open { border-width: 10px; }
  .hero img, .evidence__photo img, .evidence__messages-open img, .findings__diagrams img, .findings__organization { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .findings { padding-block: 55px 70px; }
  .findings__diagrams { grid-template-columns: 1fr; margin-top: 45px; gap: 18px; }
  .findings__diagrams img { height: auto; object-fit: contain; }
  .findings__organization { margin-top: 45px; height: auto; }
  .footer h2 { min-height: 220px; padding: 30px 18px; }
  .footer__legal p { font-size: 13px; }
  .footer__legal small { font-size: 8px; line-height: 1.4; }
  .image-dialog__toolbar { gap: 10px; padding: 10px; font-size: 14px; }
  .image-dialog__controls { order: 3; width: 100%; margin-left: 0; }
  .image-dialog__viewport { max-height: calc(94vh - 100px); }
}

@media (max-width: 520px) {
  .case h2 { font-size: clamp(49px, 13vw, 70px); }
  .findings__diagrams img { max-height: none; }
  .footer h2 { font-size: clamp(37px, 9vw, 55px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .video__button { transition: none; } }
