/*
  PeakZone public site. Plain CSS, no build step.

  Palette and type are the app's own dark theme (apps/web/src/index.css), so the site and the
  app read as one product. The three band hues appear ONLY inside the drawn app visuals: colour
  means risk here, exactly as it does inside the app, so the page itself stays slate and chalk.
*/

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #08090c;
  --surface: #111318;
  --surface-2: #191d25;
  --line: #262b35;
  --edge: #667285;
  --mist: #8b94a4;
  --chalk: #f6f8fb;
  --steel: #5b8cff;
  --on-accent: #08090c;
  --low: #33d69f;
  --moderate: #ffb020;
  --high: #ff5147;

  --display: 'Manrope', system-ui, sans-serif;
  --sans: 'Geist', system-ui, sans-serif;

  --gutter: 16px;
  --col: 42rem;
  --wide: 64rem;
  --top-h: 52px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  padding: 8px 12px; background: var(--steel); color: var(--on-accent);
  border-radius: 8px; z-index: 20; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }

/* ---------- Top bar: two menu items, the language, the way into the app ---------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  height: var(--top-h);
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
}
.brand-mark { width: 20px; height: 19px; color: var(--chalk); }
.brand-name { display: none; }
.menu { display: flex; gap: 4px; }
.menu a {
  display: inline-block; padding: 6px 10px; border-radius: 8px;
  text-decoration: none; color: var(--mist); font-size: 15px; font-weight: 500;
}
.menu a[aria-current='page'] { color: var(--chalk); }
.menu a:hover { color: var(--chalk); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang-btn {
  border: 0; background: transparent; color: var(--mist);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 9px; border-radius: 999px; cursor: pointer;
}
.lang-btn[aria-pressed='true'] { background: var(--surface-2); color: var(--chalk); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--edge); background: transparent; color: var(--chalk);
  text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--steel); border-color: var(--steel); color: var(--on-accent); }
.btn-primary:hover { background: #7aa2ff; border-color: #7aa2ff; }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 14px; border-color: var(--edge); }
.btn .narrow { display: inline; }
.btn .wide { display: none; }

.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }

/* ---------- Type scale ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw + 1.4rem, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw + 1rem, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  margin-top: 20px;
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
  line-height: 1.5;
  color: var(--mist);
  max-width: 34ch;
}
.body {
  margin-top: 16px;
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  color: var(--mist);
  max-width: 52ch;
}
.body a { color: var(--chalk); }
.body.small { font-size: 1rem; margin-top: 28px; }
.muted { color: var(--mist); }

/* ---------- Sections: one idea per screen ---------- */

.col { max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); }

.hero {
  padding: clamp(56px, 10vh, 120px) 0 clamp(48px, 8vh, 96px);
  display: grid; gap: 40px;
}
.hero.contact { min-height: calc(100dvh - var(--top-h)); padding-bottom: 96px; }

.section { padding: clamp(64px, 12vh, 140px) 0; }
.feature { display: grid; gap: 36px; }

.honest { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.honest .title { max-width: 18ch; }
.closing { padding-bottom: clamp(80px, 14vh, 160px); }

/* Scroll reveal: a gentle fade only, and none at all for people who asked for less motion. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .settle { animation: none !important; }
}

/* ---------- Shared bits of the drawn app ---------- */

.avatar {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.04em;
  color: var(--chalk); flex: none;
}
.who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who b { font-weight: 600; font-size: 15px; }
.who small { color: var(--mist); font-size: 12.5px; }

.chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid transparent; white-space: nowrap;
}
.chip-low { color: var(--low); border-color: color-mix(in srgb, var(--low) 45%, transparent); background: color-mix(in srgb, var(--low) 12%, transparent); }
.chip-moderate { color: var(--moderate); border-color: color-mix(in srgb, var(--moderate) 45%, transparent); background: color-mix(in srgb, var(--moderate) 12%, transparent); }
.chip-high { color: var(--high); border-color: color-mix(in srgb, var(--high) 45%, transparent); background: color-mix(in srgb, var(--high) 12%, transparent); }

/* A phone frame */
.phone {
  width: min(100%, 340px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px 16px 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.phone-top { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.phone-title { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.phone-sub { font-size: 12.5px; color: var(--mist); }

.squad .row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.squad .row:last-child { border-bottom: 0; }
.squad .who { flex: 1; }

/* The one orchestrated moment on the page: the squad settles into its bands once, on load. */
.hero-phone .settle { opacity: 0; transform: translateY(10px); animation: settle 640ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(260ms + var(--i) * 70ms); }
.hero-phone .settle .chip { opacity: 0; animation: chip 420ms ease forwards; animation-delay: calc(720ms + var(--i) * 70ms); }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes chip { to { opacity: 1; } }

/* The board: three lanes */
.board {
  max-width: var(--col); margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  display: grid; gap: 10px;
}
.lane {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 12px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.lane-name { font-weight: 600; font-size: 14px; margin-right: 6px; min-width: 5.5em; }
.lane-high { color: var(--high); }
.lane-moderate { color: var(--moderate); }
.lane-low { color: var(--low); }

/* A card (top-up, why) */
.card {
  max-width: 30rem; margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 18px 16px; display: grid; gap: 14px;
}
.card-head { display: flex; align-items: center; gap: 12px; }
.card-head .who { flex: 1; }
.card-foot { font-size: 13px; color: var(--mist); padding-top: 10px; border-top: 1px solid var(--line); }

.gauge { display: grid; gap: 8px; }
.gauge-label { display: flex; justify-content: space-between; font-size: 14px; }
.bar { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--steel); border-radius: 999px; }
.bar-gap { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); background: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--moderate) 55%, transparent) 4px 6px); }
.gauge-note { font-size: 13px; color: var(--moderate); }
.gauge-note.ok { color: var(--low); }

.why-line { font-size: 15px; line-height: 1.45; }
.why-line .muted { display: block; font-size: 12.5px; }
.driver { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.driver-plain { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.driver-plain span:last-child { color: var(--chalk); font-weight: 600; text-align: right; }
.driver-tech { margin-top: 4px; font-size: 12.5px; color: var(--mist); }

/* The import sheet */
.sheet {
  max-width: var(--col); margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  font-size: 13.5px;
}
.sheet-row { display: grid; grid-template-columns: 1fr 0.8fr 0.9fr 1fr 1.3fr; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sheet-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-head { color: var(--mist); font-size: 12.5px; align-items: end; }
.sheet-head > span { white-space: normal; overflow-wrap: anywhere; }
.sheet-note { display: block; color: var(--mist); border-bottom: 0; background: var(--surface-2); }
.sheet-note > span { white-space: normal; }

/* The week */
/* On a phone the week is a list, one day per row: seven columns cannot hold a Romanian word
   like the one for "training" at 390 px. From 560 px up it becomes the seven-column strip. */
.week {
  max-width: var(--col); margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  display: grid; gap: 6px;
}
.day { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); align-items: center; gap: 10px; }
.day-name { font-size: 13px; color: var(--mist); }
.slot {
  display: grid; place-items: center; min-height: 40px; padding: 6px 8px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; line-height: 1.2;
  overflow-wrap: anywhere;
}
.slot-strong { background: color-mix(in srgb, var(--steel) 22%, var(--surface)); border-color: color-mix(in srgb, var(--steel) 40%, var(--line)); }
.slot-match { background: var(--chalk); color: var(--ink); border-color: var(--chalk); font-weight: 700; }
.slot-empty { color: var(--mist); border-style: dashed; }

/* The player's check-in */
.phone-q { font-size: 15px; font-weight: 600; margin: 14px 4px 8px; }
.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.scale span { display: grid; place-items: center; height: 30px; border-radius: 6px; background: var(--surface-2); font-size: 11px; color: var(--mist); }
.scale span.on, .feel span.on { background: var(--steel); color: var(--on-accent); font-weight: 700; }
.feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.feel span { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.phone-cta { margin-top: 16px; display: grid; place-items: center; height: 46px; border-radius: 999px; background: var(--chalk); color: var(--ink); font-weight: 700; }
.phone-note { margin: 10px 4px 0; text-align: center; font-size: 12.5px; color: var(--mist); }

/* Return-to-play stages */
.stages { max-width: 30rem; margin: 0 auto; width: calc(100% - 2 * var(--gutter)); display: grid; gap: 6px; }
.stage {
  display: grid; grid-template-columns: 30px 1fr; grid-template-areas: 'n t' 'n s'; column-gap: 12px; row-gap: 2px;
  padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--mist);
}
.stage-n { grid-area: n; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.stage-t { grid-area: t; font-size: 15px; font-weight: 600; }
.stage-s { grid-area: s; font-size: 12.5px; }
.stage.done { color: var(--chalk); }
.stage.done .stage-n { background: color-mix(in srgb, var(--low) 18%, transparent); border-color: var(--low); color: var(--low); }
.stage.done .stage-s { color: var(--low); }
.stage.now { color: var(--chalk); border-color: var(--steel); }
.stage.now .stage-n { background: var(--steel); border-color: var(--steel); color: var(--on-accent); }
.stage.now .stage-s { color: var(--steel); }

/* Highlight tiles: a swipeable strip on a phone, a grid on a desk */
.tiles {
  margin-top: 28px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 12px;
  scroll-snap-type: x mandatory; scroll-padding: var(--gutter);
  scrollbar-width: none;
}
.tiles::-webkit-scrollbar { display: none; }
.tile {
  scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 20px 20px; display: grid; gap: 10px; align-content: start;
}
.tile-icon { width: 26px; height: 26px; fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.tile h3, .fact h3 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.15; }
.tile p, .fact p { color: var(--mist); font-size: 15px; }

/* Touchline facts */
.facts { max-width: var(--wide); margin: 28px auto 0; padding: 0 var(--gutter); display: grid; gap: 12px; }
.fact { padding: 20px 20px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }

/* The contact page's one thing */
.mail {
  margin-top: 36px;
  display: grid; gap: 4px; text-decoration: none;
  padding: 22px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color 160ms ease;
}
.mail:hover { border-color: var(--edge); }
.mail-label { font-size: 14px; color: var(--mist); }
.mail-address { font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 3vw + 0.6rem, 2rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-inner { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 18px; font-size: 14px; color: var(--mist); }
.foot-legal { max-width: 60ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { text-decoration: none; color: var(--chalk); }
.foot-links a:hover { text-decoration: underline; }

/* ---------- Wider screens: the same page, with more room ---------- */

@media (min-width: 560px) {
  .brand-name { display: inline; }
  .btn .narrow { display: none; }
  .btn .wide { display: inline; }
  .actions { flex-direction: row; }
  .tiles { grid-auto-columns: 46%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .day { grid-template-columns: none; grid-template-rows: auto 1fr; text-align: center; gap: 6px; }
  .day-name { font-size: 12px; }
  .slot { min-height: 64px; padding: 6px 2px; font-size: 11.5px; }
}

@media (min-width: 900px) {
  :root { --gutter: 24px; --top-h: 56px; }
  .hero { text-align: center; padding-top: clamp(80px, 12vh, 140px); }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .hero.contact { text-align: left; }
  .feature .col, .section .col { text-align: center; }
  .feature .body, .section .body { margin-left: auto; margin-right: auto; }
  .honest .title { margin-left: auto; margin-right: auto; }
  .tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: var(--wide); margin-left: auto; margin-right: auto; }
  .facts { grid-template-columns: repeat(5, 1fr); }
  .fact h3, .tile h3 { font-size: 21px; }
  .board { grid-template-columns: 1fr 1.6fr 3fr; max-width: var(--wide); }
  .lane { align-content: start; }
  .phone { padding: 22px 20px 26px; }
}

/* ---------- Text pages: FAQ and Terms ---------- */

.page { padding: clamp(48px, 8vh, 96px) 0 clamp(80px, 12vh, 140px); display: grid; gap: 40px; }
.title-sm { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.updated { margin-top: 14px; font-size: 14px; color: var(--mist); }

/* FAQ: one question per row, opened in place. The chevron is the only decoration. */
.faq { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; font-weight: 600; font-size: 17px; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--steel); outline-offset: -2px; border-radius: 16px; }
.faq-chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mist); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item > p { margin: 0; padding: 0 18px 18px; color: var(--mist); font-size: 16px; line-height: 1.55; max-width: 60ch; }

/* Terms: running text, one column, plain headings. */
.prose { display: grid; gap: 28px; }
.terms-section { display: grid; gap: 10px; }
.terms-section h2 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.terms-section p { color: var(--mist); font-size: 16.5px; line-height: 1.6; max-width: 62ch; }

@media (min-width: 900px) {
  .page .col { text-align: left; }
  .page .lead, .page .body { margin-left: 0; }
  .page .actions { justify-content: flex-start; }
}

/* ---------- Reports: real screens of the app, the light objects on a dark page ---------- */

/* DEFINITE columns (minmax(0, 1fr)), never auto: the pictures declare their natural 1600px size,
   and with an auto column the grid sized its rows for the full-size picture, then spread the
   leftover space between the caption's rows once the picture shrank to fit (seen in the preview). */
.shots { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; width: 100%; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shot-open {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 12px; text-align: left;
}
.shot-open:focus-visible { outline: 2px solid var(--steel); outline-offset: 4px; }
.shot img {
  display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  background: #eef1f5;
}

/* The large view */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: transparent; color: var(--chalk); }
.lightbox::backdrop { background: rgba(8, 9, 12, 0.94); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox-close {
  justify-self: end; margin: calc(12px + env(safe-area-inset-top, 0px)) 16px 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--edge); background: var(--surface); color: var(--chalk);
  font-weight: 600; font-size: 14px; cursor: pointer;
}
/* On a phone the picture is shown wider than the screen and scrolls sideways, so the report's
   text is readable without pinching; pinch-zoom still works on top of that. */
.lightbox-scroll { overflow: auto; padding: 0 12px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: start center; -webkit-overflow-scrolling: touch; }
.lightbox-scroll img { display: block; width: 960px; max-width: none; height: auto; border-radius: 8px; background: #eef1f5; }
@media (min-width: 900px) {
  .lightbox-scroll img { width: auto; max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; }
}
.shot figcaption { display: grid; gap: 2px; padding: 0 4px; }
.shot figcaption b { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.shot figcaption span { color: var(--mist); font-size: 14.5px; }

.report-list { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 10px; width: 100%; }
.report { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.report h3 { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.report p { color: var(--mist); font-size: 14.5px; }

@media (min-width: 560px) {
  .report-list { grid-template-columns: repeat(2, 1fr); }
  .shots { gap: 28px; }
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .report-list { grid-template-columns: repeat(5, 1fr); margin-top: 8px; }
  .report h3 { font-size: 16px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .shot:first-child { grid-column: 1 / -1; }
}
