/* Qi Studio home, phone pass (18 Nov 2026 review, Rajvi + Priyasha).
   Loaded last, phones only (<= 760px), so laptops and tablets are untouched.
   - one side margin everywhere (26px, was 16px and 10 to 12px in places)
   - each section fits one phone screen: less space between and inside sections
   - hero: bigger logo, bigger headline set higher, a larger corridor of pictures under it */

@media (max-width: 760px) {
  :root { --gutter: 26px; }
  .qc { --qc-g: var(--gutter); }

  /* ---------------- nav + hero */
  .nav { padding: 10px var(--gutter); }
  .nav__logo { width: 74px; }
  .nav__burger { margin-right: -10px; }
  /* the hero is one screen less the top of the Qi Effect card, which rides up into view */
  .hero__pin { height: 86vh; height: 86svh; }
  html:not(.hero-b) .hero__copy { padding-top: 15svh; padding-inline: var(--gutter); }
  html:not(.hero-b) .hero__title { font-size: min(9.2vw, 40px); line-height: 1.06; }
  .hero__cue { display: none; }

  /* ---------------- the Qi Effect card */
  .effect { padding: 52px var(--gutter) 44px; }
  .stamp { padding: 80px 22px 34px; }
  .postmark { width: 66px; top: 12px; right: 12px; }
  .effect__title { font-size: 38px; margin-bottom: 18px; }
  .effect__body { font-size: 16px; line-height: 1.6; }
  .effect__body p + p { margin-top: .9em; }
  .effect__pull { font-size: 1.45em; }

  /* ---------------- before and after */
  .phone .work__pin { padding: 40px var(--gutter) 36px; gap: 16px; }
  .ba, .work__foot { width: 100%; }
  .work__title { font-size: 40px; }

  /* ---------------- how we work: each stage is one row, the art beside its words */
  .path { padding: 48px 0 40px; }
  .path__title { font-size: 34px; }
  .path__stages { gap: 18px; margin-top: 22px; }
  .stage { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 18px; align-items: start; }
  .stage__art { grid-row: 1 / span 3; width: 100%; align-self: center; }
  .stage__no { margin-top: 4px; }
  .stage__title { font-size: 26px; margin: 2px 0 6px; }
  .stage__text { font-size: 15px; line-height: 1.5; max-width: none; }

  /* ---------------- founder */
  .founder { padding: 28px var(--gutter) 36px; }
  .founder__stack.fc { height: min(104vw, 460px); margin-top: 12px; }
  .founder__quote { padding: 22px 22px 26px; gap: 18px; }
  .founder__quotes p { font-size: 25px; line-height: 1.18; }

  /* ---------------- clients */
  .clients { padding: 48px 0 32px; }
  .clients__head { margin-bottom: 26px; }
  .clients__title { font-size: 44px; }
  .clients__sub { margin-top: 12px; font-size: 15.5px; line-height: 1.55; }
  .stats { margin-top: 22px; padding: 14px 26px; }

  /* ---------------- founder voices */
  .voices { padding: 40px 0 44px; }
  .voices__title { font-size: 42px; }
  .voices__sub { margin-top: 8px; font-size: 16px; }
  .quotes { margin-top: 22px; gap: 16px; }
  .quotes__media { aspect-ratio: 3 / 2; }
  .q { gap: 14px; }
  .q blockquote { font-size: 19.5px; line-height: 1.38; }
  .q__who { font-size: 28px; }

  /* ---------------- closing banner + footer (shared qi-close.css, matched selectors so these win) */
  .qc.start { padding: 36px var(--gutter) 44px; }
  .qc .start__card { padding: 30px 24px; gap: 18px; }
  .qc.foot { padding: 52px var(--gutter) 26px; gap: 18px; }
}

/* small phones (360 to 380 wide): the same layout, a touch tighter so each section still fits a screen */
@media (max-width: 380px) {
  .work__foot { column-gap: 12px; }
  .work__foot .link-underline { white-space: nowrap; }
  .work__dots { gap: 8px; }
  .voices__title { font-size: 38px; }
  .quotes__media { aspect-ratio: 16 / 9; }
  .q blockquote { font-size: 18.5px; }
  .stage__text { font-size: 14.5px; }
  .voices { padding: 32px 0 34px; }
  .voices__sub { font-size: 15px; }
  .quotes { margin-top: 16px; gap: 14px; }
}
