/* Large screens (Peter, 25 Nov 2026).
   On wide monitors the pages looked small and boxed in the middle. From 1600px wide,
   each section scales up as a whole (CSS zoom on the section's content), so text,
   animations and logos stay in proportion to each other. --s is the scale.
   Pinned scroll-through sections are not zoomed as a whole, because their script
   measures the screen: only their contents are, which the script copes with.
   The header spans the full width so the logo sits left and the buttons right. */
:root { --s: 1; }
@media (min-width: 1600px) { :root { --s: 1.15; } }
@media (min-width: 1920px) { :root { --s: 1.3; } }
@media (min-width: 2300px) { :root { --s: 1.5; } }
@media (min-width: 2900px) { :root { --s: 1.75; } }

/* Header: full width, logo left, buttons right */
@media (min-width: 1280px) {
  .site-header .wrap, .site-header .bar { max-width: none; padding-left: clamp(24px, 3vw, 80px); padding-right: clamp(24px, 3vw, 80px); }
}
@media (min-width: 1600px) {
  .site-header .wrap { height: calc(68px * var(--s)); }
  .site-header .wrap > *, .site-header .bar > * { zoom: var(--s); }

  /* Homepage */
  .h-page > .hero > .wrap,
  .h-page > .logos > .wrap > p,
  .h-page > .why > .wrap,
  .h-page > .results > .wrap,
  .h-page > .audiences > .wrap,
  .h-page > .integrations > .wrap,
  .h-page > .faq > .wrap,
  .lm-inner,
  .jr-intro, .jr-tabs, .jr-progress,
  .jr-slide > *,
  footer > .wrap { zoom: var(--s); }
  .jr .jr-slide { padding-inline: max(24px, calc((100% - 1180px * var(--s)) / 2)); }
  .lm-toggle { zoom: var(--s); }
  /* line every section up with the hero */
  .h-page > .results > .wrap, .h-page > .faq > .wrap, footer > .wrap { max-width: 1340px; }

  /* Odro Vantage and Odro Capture pages */
  .v-page > section:not(.vsteps) > .wrap,
  .vsteps > .wrap > * { zoom: var(--s); }
  .v-page > section > .wrap { max-width: 1340px; }
  /* How it works zooms its children, not its frame, so the frame must be wider for the children to get the same room */
  .v-page > .vsteps > .wrap { max-width: calc(1340px * var(--s)); }
  /* the pinned How it works must still fit the screen height once zoomed */
  .vsteps--scroll .vs-media { width: min(100%, max(420px, calc((100vh / var(--s) - 640px) * 16 / 9))); }
  .vsteps--scroll .vs-slide--split .vs-media { width: min(100%, calc(max(420px, (100vh / var(--s) - 640px) * 16 / 9) * 1.35)); }
  /* full-width strips inside a zoomed section: undo the zoom on the strip, then zoom its logos */
  .v-page .logo-marquee { zoom: calc(1 / var(--s)); }
}

/* Hero pebbles must never make the page scroll sideways, at any width (clip keeps sticky working) */
.v-page, .h-page { overflow-x: clip; }
