/* Phone layouts keep the studio's typography and colours at a useful scale. */
@media (max-width: 700px) {
  .flow-home #nav,
  body.flow-work-page > nav {
    top: max(12px, env(safe-area-inset-top));
    width: calc(100% - 24px);
    max-width: 620px;
    min-height: 64px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 22px;
  }
  .flow-home #nav .logo,
  body.flow-work-page > nav .logo { flex: 0 0 auto; }
  .flow-home #nav .logo img,
  body.flow-work-page > nav .logo img { height: 24px; width: auto; }
  .flow-home #nav .links,
  body.flow-work-page > nav .links { gap: 5px; }
  .flow-home #nav .pill,
  body.flow-work-page > nav .pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: .875rem;
    line-height: 1.2;
  }
  .flow-home #nav .links .langtoggle,
  body.flow-work-page > nav .links .langtoggle,
  .flow-home #nav .burger,
  body.flow-work-page > nav .burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    font-size: .875rem;
  }
  .flow-home #nav .burger,
  body.flow-work-page > nav .burger { flex-direction: column; }

  .flow-home #hero {
    min-height: 0;
    padding: 132px 24px 56px;
    justify-content: flex-start;
    align-items: stretch;
    text-align: start;
  }
  .flow-home #hero h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 10.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-align: start;
  }
  .flow-home #hero .lm { overflow: visible; }
  .flow-home #hero .lm > span { text-wrap: balance; }
  .flow-home #hero .sub {
    max-width: 35em;
    margin-top: 26px;
    font-size: 1.0625rem;
    line-height: 1.75;
    text-align: start;
    text-wrap: pretty;
    color: rgba(255,255,255,.8);
  }
  .flow-home #hero .ctas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
    width: 100%;
  }
  .flow-home #hero .ctas .pill {
    min-width: 0;
    min-height: 52px;
    padding: 12px 10px;
    font-size: 1rem;
    line-height: 1.25;
    justify-content: center;
    text-align: center;
  }
  .flow-home #clients { padding: 32px 24px 40px; }
  .flow-home #clients .klabel { margin-bottom: 26px; }
  .flow-home #clients .wall { gap: 24px 28px; }
}
@media (max-width: 359px) {
  .flow-home #nav .links > .pill,
  body.flow-work-page > nav .links > .pill { display: none; }
  .flow-home #hero { padding-inline: 20px; }
  .flow-home #hero h1 { font-size: 2.25rem; }
  .flow-home #hero .ctas { grid-template-columns: 1fr; }
}
