/* ==========================================================================
   PLURA — viewport tiers (tablet → 4K), motion/contrast preferences, print.
   Wide screens get wider, deliberate compositions; reading text keeps its measure.
   ========================================================================== */

@media (min-width: 768px) {
  :root { --fs-base: 1.0625rem; }
}
@media (min-width: 1024px) {
  :root { --header-h: var(--plura-header-desktop-height); }
}

/* 1920–2559: genuine breathing room, larger media, 3–4 column grids */
@media (min-width: 1920px) {
  :root { --container: 1520px; --container-wide: 1600px; --container-hero: 1760px; --container-form: 1320px; }
}

/* 2560+: gentle root scaling (respects the user's default font size) + wider composition */
@media (min-width: 2560px) {
  html { font-size: clamp(100%, 62.5% + .26vw, 125%); }
  :root { --container: 1760px; --container-wide: 2000px; --container-hero: 2200px; --container-form: 1480px; --header-h: 88px; }
  .brand__mark { height: 28px; }
  .card-grid--4 { gap: 2rem; }
  /* Controls scale with the composition on very wide screens (still >= 44px targets) */
  .btn { min-height: 3.1rem; padding: .75rem 1.5rem; }
  .btn--header { min-height: 3rem; }
  .field__input { min-height: 3rem; font-size: 1rem; }
  .field__suffix { width: 2.75rem; }
  .ribbon { padding: 1.4rem 1.6rem; }
  .ribbon__submit .btn { min-height: 3.25rem; }
  .ribbon__swap { width: 2.75rem; height: 3rem; }
  .nav-list--desktop .nav-link { font-size: .875rem; }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 3200+ / 4K: full-viewport scenes, wide editorial grids, readable anchors */
@media (min-width: 3200px) {
  :root { --container: 1920px; --container-wide: 2200px; --container-hero: 2600px; --container-form: 1600px; }
  .service-clarity__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); }
  .scope-grid { gap: 2.25rem; }
  .split { min-height: 62vh; }
}

/* Short desktop viewports: keep the hero and ribbon fully visible */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero { min-height: 680px; }
  .hero__inner { padding-top: 2.75rem; }
  .hero .ribbon { margin-top: 2rem; }
}

/* Reduced motion: everything visible, nothing animates */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__canvas { display: none !important; }
}

/* Windows high contrast / forced colours */
@media (forced-colors: active) {
  .btn, .chip, .tile, .field__input, .choice, .ribbon, .card, .faq-item__icon { border: 1px solid CanvasText; }
  .render-label { border: 1px solid CanvasText; }
  .hero__veil, .cta-band__veil { display: none; }
}

/* Print: plain document, no media or controls */
@media print {
  .site-header, .mobile-panel, .hero__media, .hero__veil, .cta-band, .render-label, .wizard__nav, .faq-tools, .ribbon, .tile-map__routes { display: none !important; }
  body, .section, .site-footer { background: none !important; color: var(--plura-midnight) !important; }
  .section { padding-block: 1.5rem; }
  a { color: var(--plura-midnight); }
  .faq-item:not([open]) .faq-item__a { display: block; }
}
