/* Qi Studio, Creative Direction: phone pass (18 Nov 2026 review, Rajvi + Priyasha).
   Loaded last, phones only (<= 760px), so laptops and tablets are untouched.
   - one side margin everywhere (26px) and one rhythm between sections
   - "Where we come in": the six cards as a timed, swipeable slideshow (js/site.js)
   - the four-level folder fits one phone screen
   - case studies keep their shape; only their spacing follows the rhythm */

@media (max-width: 760px) {
  :root { --g: 26px; }
  .qc { --qc-g: 26px; }

  .nav { padding: 10px var(--g); }
  .nav__burger { margin-right: -10px; }

  /* ---------------- landing */
  .hero__main { padding: 26px 0 40px; }

  /* ---------------- where we come in: the slideshow */
  .come__pin { min-height: 0; padding: 48px var(--g) 40px; gap: 22px; }
  .come__head { gap: 14px; }
  .come__head .label { margin-bottom: 0; }
  .come__title { font-size: 30px; line-height: 1.08; }
  .come--slides .deck {
    display: flex; gap: 12px; justify-self: stretch; width: auto; max-width: none; aspect-ratio: auto; margin: 0 calc(-1 * var(--g)); padding: 4px var(--g) 30px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g);
    overscroll-behavior-x: contain; scrollbar-width: none; perspective: none; -webkit-overflow-scrolling: touch;
  }
  .come--slides .deck::-webkit-scrollbar { display: none; }
  .come--slides .pc { position: relative; inset: auto; flex: 0 0 82%; height: 372px; scroll-snap-align: start; perspective: 1400px; transform: none; }
  .come--slides .pc__face { padding: 22px; }
  .come--slides .pc__q { font-size: 29px; }
  .come--slides .pc__help { font-size: 23px; }
  .come--slides .pc__impact { font-size: 14px; }
  .come__dots { display: flex; justify-content: center; gap: 8px; margin-top: -12px; }
  .come__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 7px; background: rgba(98, 48, 60, .28); transition: width .6s cubic-bezier(.16, 1, .3, 1), background .6s; }
  .come__dot[aria-selected="true"] { width: 24px; background: var(--wine); }

  /* ---------------- four levels: the folder fits one screen */
  .levels__pin { padding: 36px var(--g) 30px; gap: 16px; }
  .levels__head .label { margin-bottom: 8px; }
  .levels__title { font-size: 32px; }
  .file__top > * { padding: 12px 18px; }
  .file__top > * + * { border-top: 0; padding-top: 0; }
  .file__name small { font-size: 10px; margin-bottom: 4px; }
  .file__name span { font-size: 36px; }
  .file__lead { font-size: 17px; line-height: 1.3; }
  .file__photo { aspect-ratio: 3 / 1; margin: 0 18px 10px; }
  .file__points { grid-template-columns: 1fr 1fr; }
  .file__points li { padding: 9px 14px 10px; gap: 3px; }
  .file__points li + li { border-top: 0; }
  .file__points li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .file__points li:nth-child(even) { border-left: 1px solid var(--rule); }
  .file__points li::before { font-size: 11px; }
  .file__points h3 { font-size: 18px; line-height: 1.08; }
  .file__points p { font-size: 12.5px; line-height: 1.42; }

  /* ---------------- the impact (founder films) */
  .impact { padding: 44px var(--g) 40px; }
  .impact__head { margin-bottom: 18px; }

  /* ---------------- her quote and portrait */
  .founder { padding: 44px var(--g) 40px; }

  /* ---------------- case studies: same shape, the shared rhythm */
  .cases { padding-top: 44px; padding-bottom: 40px; }

  /* ---------------- voices, how it works */
  .voices { padding: 44px 0 40px; }
  .voices__head { margin-bottom: 22px; }
  .how { padding: 44px var(--g) 40px; }
  .how__title { margin-bottom: 26px; }
  .how__steps { gap: 34px; }

  /* ---------------- closing banner + footer (shared qi-close.css, matched selectors so these win) */
  .qc.start { padding: 36px var(--g) 44px; }
  .qc .start__card { padding: 30px 24px; gap: 18px; }
  .qc.foot { padding: 52px var(--g) 26px; gap: 18px; }
}

/* small phones (360 to 380 wide): the folder still fits one screen */
@media (max-width: 380px) {
  .levels__title { font-size: 30px; }
  .file__lead { font-size: 16px; }
  .file__photo { aspect-ratio: 7 / 2; }
  .file__points h3 { font-size: 17px; }
  .file__points p { font-size: 12px; }
  .come--slides .pc { height: 380px; }
  .come--slides .pc__q { font-size: 27px; }
  .come--slides .pc__help { font-size: 22px; }
}
