/* Phones. Loaded last. The older stylesheets shrink labels and buttons on small screens;
   these rules keep a readable floor, turn long card stacks into swipeable rows and trim the
   tallest product mocks to what matters. Nothing here changes the desktop layout. */
@media (max-width: 760px) {
  /* A readable floor */
  .brand-parent { font-size: 10.5px; }
  .eyebrow, .hm-group-head h2.eyebrow { font-size: 11px; letter-spacing: .12em; }
  .button, .hero-actions .button, .contact-concise .button { gap: 14px; padding: 13px 18px; font-size: 14px; }
  .hero-category { font-size: 14px; }
  html[data-colour] .hero .hero-lead { font-size: 16px; }
  html[data-colour] .split-heading > p { max-width: none; }
  .site-footer nav strong { font-size: 11px; }
  .site-footer nav a { font-size: 14px; }
  .footer-bottom, .footer-bottom span { font-size: 12px; }
  .contact-concise .contact-light-office > .eyebrow { font-size: 11px; }
  .hm-build-live small, .ag-steps small, .ag-state small { font-size: 12px; }

  /* Swipeable rows instead of long stacks; the next card peeks in */
  .ag-gallery, .ag-controls, .cq-building, .cq-strengths, .hm-pillars, .cq-punch, .cq-pair, .cq-change-shots, #scale .cq-volumes {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  :is(.ag-gallery, .ag-controls, .cq-building, .cq-strengths, .hm-pillars, .cq-punch, .cq-pair, .cq-change-shots, .cq-volumes)::-webkit-scrollbar { display: none; }
  :is(.ag-gallery, .ag-controls, .cq-building, .cq-strengths, .hm-pillars, .cq-punch, .cq-pair, .cq-change-shots, .cq-volumes) > * { scroll-snap-align: start; }
  .cq-building { border: 0; }
  .cq-building > article { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

  /* Agentic Platform hero: Architect and the agent it drafts, without the extras */
  .ag-hint, .ag-pair { display: none; }

  /* nambikk.ai CPQ: the essentials of each mock */
  #intent .qd-pair, #catalogue .cfg-pair { display: none; }
  #intent .qd-structure tbody tr:nth-child(n + 4) { display: none; }
  #scale .bq-sites tbody tr:nth-child(n + 5) { display: none; }
  #architecture .ax-steps p, #architecture .ax-estate ul { display: none; }
}
