/* responsive.css - 5 Nov 2026: one layout for phone, tablet, laptop and TV.
   Loaded last, so it only adjusts what the older sheets do. */

html, body { overflow-x: hidden; max-width: 100%; }
img, video, canvas { max-width: 100%; }

/* ---- trust strip (replaces the old architecture section) ---- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.trust-strip > div {
  background: var(--bg-card, #fff); border: 1px solid var(--border-subtle, #dbe3f1);
  border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px;
}
.trust-strip b { font-family: var(--font-display, inherit); font-size: 1.1rem; color: var(--text-main, #0c1528); }
.trust-strip span { font-size: .88rem; color: var(--text-dim, #4a5873); line-height: 1.45; }
#architecture { padding-top: 40px; padding-bottom: 40px; }

/* ---- menu button (shown when the link row is hidden) ---- */
.nav-menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-subtle, #dbe3f1);
  background: var(--bg-card, #fff); color: var(--text-main, #0c1528); font-size: 20px; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
@media (max-width: 1100px) {
  .nav-menu-btn { display: inline-flex; }
  .hud-nav.open .nav-links {
    display: flex !important; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--bg-card, #fff); border: 1px solid var(--border-subtle, #dbe3f1); border-radius: 16px;
    padding: 14px 18px; gap: 4px; box-shadow: 0 18px 40px rgba(12, 21, 40, .14); z-index: 60;
  }
  .hud-nav.open .nav-links .nav-link { display: block; padding: 10px 4px; font-size: 1rem; }
}

/* ---- 3D screen tour: card and rail never cover the screen ---- */
.screen-narrative-container { max-width: min(440px, 92vw); }
@media (max-width: 1024px) {
  .screen-progress-rail { display: none; }
  .screen-narrative-container { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .screen-narrative-card { padding: 16px 18px; }
  .screen-narrative-card .sc-desc { font-size: .88rem; }
}

/* ---- tablet ---- */
@media (max-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats-band { flex-wrap: wrap; gap: 14px; }
}

/* ---- phone ---- */
@media (max-width: 640px) {
  .trust-strip { grid-template-columns: 1fr; }
  .hud-nav { left: 12px !important; right: 12px !important; padding: 8px 12px !important; }
  .hud-nav .brand-official-logo { height: 34px; width: auto; }
  .nav-actions .btn-cyber-ghost { display: none; }
  .nav-actions .btn-cyber-primary { padding: 9px 14px; font-size: .8rem; }
  .hero-h1 { font-size: clamp(2rem, 10vw, 2.8rem) !important; line-height: 1.05; }
  .hero-lead { font-size: .98rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group a { text-align: center; }
  .hero-right-overlay .interactive-pill-card { display: none; }
  .sec-layer, .section { padding-left: 16px !important; padding-right: 16px !important; }
  #deploy .pilot-form { flex-direction: column; }
  #deploy div[style*="gap:32px"] { flex-direction: column; gap: 8px !important; align-items: center; }
}

/* ---- big screens / TV: keep content centred, scale text up ---- */
@media (min-width: 1800px) {
  html { font-size: 18px; }
  .sec-layer, .section .wrap { max-width: 1680px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 2600px) {
  html { font-size: 24px; }
  .sec-layer, .section .wrap { max-width: 2300px; }
}

/* ---- screen gallery: show only the working area, no full-size view ---- */
.suite-thumb-wrap { overflow: hidden; }
.suite-thumb-img { width: 116%; max-width: none; margin-left: -16%; }
.suite-thumb-overlay, .btn-inspect-4k, .suite-inspect-link { display: none !important; }
.suite-thumb-wrap { cursor: default; }
