/* PHONES, iOS first (design handoff, 2026-11-17). Link it after catalog-plus.css and before palette.css.
   This is the production cut of the prototype's mobile.css: what only served the prototype is gone (its inline-style
   font floor, its checkout page, its landscape inset), and the one rule that waits for new markup is fenced "STEP D".
   [data-hit] and [data-snap] are helpers for the new components (README, "Phones").
   Every rule but the first two sits inside a width or pointer query, so a desktop window with a mouse reads none of it.
   Breakpoints are the site's own: 820px is where the new components go to their phone layout, 680px is the tab bar. */

/* iOS: no grey flash on a tap, no long-press callout on a button's picture */
a,button,summary,label,input,select,textarea,[role="button"]{-webkit-tap-highlight-color:transparent}
button img,a img{-webkit-touch-callout:none}

@media (max-width:820px){
  /* Fields at 16px: under that, iOS Safari zooms the page on focus and stays zoomed */
  input,select,textarea{font-size:16px!important}
  .ec-input::placeholder{font-size:14px}   /* 2026-11-17, review: the field stays 16px (no iOS zoom); its hint goes back to 14px, which fits the footer field at 360px as it did before */
  .sort-select{min-height:44px}
  /* Type has an 11px floor on phones: write new components at 11px or more */
  .seal-center .lab{font-size:10.5px;letter-spacing:.1em}   /* inside the seal's ring: as large as the ring allows */
  .foot-provenance,.foot-provenance span,.foot-provenance b{font-size:11px}
  .mt-badge{font-size:10px}
  /* the pack row on the homepage is a side-scroller on a phone: it snaps, and shows no scrollbar */
  [data-snap]::-webkit-scrollbar{display:none}
}

/* FINGERS: 44px targets. A text-sized button marked data-hit keeps its look and takes a 44px touch area */
@media (max-width:820px),(pointer:coarse){
  [data-hit]{position:relative}
  [data-hit]::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
  .nav .brand{min-height:44px}
  .hamburger{width:44px;height:44px}
  .foot-col a{display:flex;align-items:center;min-height:44px;padding:0}
  .foot-col a::after{bottom:11px}
  /* the menu: ten links are taller than a phone's window with Safari's bars showing, and the close button was the
     flex item that gave way (44px squeezed to 15). Nothing shrinks now; on a short window the links tighten to fit */
  .mobile-nav .mclose,.mobile-nav a{flex:none}
  .mobile-nav .mclose{margin-bottom:10px}   /* 2026-11-17, review: at its full 44px the close button touched the search field under it */
}
@media (max-width:1100px) and (max-height:700px){ .mobile-nav{padding-top:18px} .mobile-nav a{padding:11px 0;font-size:18px} }

@media (max-width:680px){
  /* THE HERO'S FIRST SCREEN. The stage is one small-viewport tall and starts under the promo bar and the nav, and the
     tab bar covers the window's last 57px; so the words sit in what is actually in view: centred there when they fit,
     from the top when they do not (the auto margins), with the trust cells the first thing to go under the fold.
     Measured for a 390 x 664 Safari window (toolbars showing). helix.js draws its caps from where the text rests. */
  .hero-overlay-in{justify-content:flex-start;padding:14px 18px calc(var(--promo-h,38px) + var(--nav-h,70px) + 64px + env(safe-area-inset-bottom))}
  .hero-top{gap:10px;margin-top:auto;margin-bottom:14px}
  .hero-bottom{gap:14px;margin-bottom:auto}
  .hero-eyebrow.eyebrow{font-size:11px;letter-spacing:.16em}
  .hero-title{font-size:clamp(1.1rem,5vw,1.25rem)}
  .hero-overlay .hero-sub{font-size:14px;line-height:1.5}
  .hero-sub .hero-tag{margin-bottom:.25em}
  .hero-cta{gap:10px;margin-bottom:0}
  /* STEP D, once the hero has its Build a pack button: two actions on a phone (Verification stays in the menu and down the page)
  #heroCta a[href="#verification"]{display:none} */
  .hero-trust.trust-row .trust{padding:10px 12px}
  .hero-trust .tl{font-size:11px;letter-spacing:.06em}
}

/* 2026-11-17, review: the flying vials' layer (index.html #vialLayer) is not in store.css's or cinema.css's print lists; a vial lit when the page is printed would be drawn over its first sheet */
@media print{#vialLayer{display:none !important}}

