/* Mobile geometry from Visa / Main 393, Figma 131:453. */
@media (max-width: 767px) {
  .page { --mobile-u: min(1px, .2544529262vw); }

  /* Grid gaps draw every shared rule exactly once. */
  .hero > .header {
    display: grid;
    grid-template-columns: calc(125 * var(--mobile-u)) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1px;
    height: 79px;
    width: calc(100% - 20px);
    margin: 30px 10px 0;
    padding: 0;
    border: 1px solid var(--ink);
    background: var(--ink);
  }
  .hero > .header .brand {
    grid-column: 1;
    grid-row: 1 / 3;
    width: auto;
    height: 100%;
    min-width: 0;
    border: 0;
    margin: 0;
  }
  .hero > .header .mobile-menu-toggle,
  .hero > .header .header-phone {
    width: auto;
    height: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: white;
  }
  .hero > .header .mobile-menu-toggle { grid-column: 2; grid-row: 1; }
  .hero > .header .header-phone { grid-column: 3; grid-row: 1; }
  .hero > .header > .cta {
    grid-column: 2 / 4;
    grid-row: 2;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    background: white;
    --cta-height: 100%;
  }
  .hero > .header > .cta > .cta-label { width: 100%; height: 100%; min-height: 0; padding: 0; }
  .hero > .header > .cta .cta-label::before { border: 0; }
  .hero > .header .nav { top: 100%; left: -1px; right: -1px; }

  .hero-heading { bottom: 30px; display: block; }
  .hero-heading > .mobile-only .sticker-line { display: flex; margin: 0; }
  .hero-heading > .mobile-only .sticker-line + .sticker-line { margin-top: -1px; }
  .hero-heading > .mobile-only .sticker {
    width: auto !important;
    height: calc(44 * var(--mobile-u));
    margin-top: 0;
    padding: calc(5 * var(--mobile-u));
    font-size: calc(36 * var(--mobile-u));
    letter-spacing: -.04em;
  }

  .about-stats {
    left: 10px;
    right: 10px;
    max-width: none;
    gap: 40px;
    text-align: left;
    justify-items: start;
  }
  .about-stats > div { width: 274px; max-width: 100%; }
  .about-stats > div:first-child { width: 202px; }
  .about-stats dt { font-size: 12px; line-height: 1.3; }
  .about-stats dd { margin-top: 10px; font-size: 36px; line-height: .9; letter-spacing: -.04em; }

  .process-intro { align-items: flex-start; text-align: left; }
  .process-intro .sticker-line { margin-left: 0; margin-right: 0; }
  .process-description { text-align: left; }

  .media-track { align-items: stretch; gap: 20px; }
  .media-card {
    flex: 0 0 min(calc(100vw - 20px), 373px);
    border: 0;
    background: white;
  }
  .media-card > img { width: 100%; height: auto; aspect-ratio: 373 / 497; object-fit: cover; }
  .media-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px;
    min-height: 247px;
  }
  .media-card h3 { width: 100%; max-width: none; margin: 0; font-size: 24px; line-height: .9; letter-spacing: -.96px; }
  .media-meta {
    display: grid;
    grid-template-columns: calc(116 * var(--mobile-u)) minmax(0, 1fr);
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid var(--ink);
    min-height: 60px;
  }
  .media-date { padding-top: 11px; font-size: 10px; line-height: 1; }
  .media-card .media-meta p {
    margin: 11px 0 0;
    padding: 0 0 0 calc(23 * var(--mobile-u));
    border-left: 1px solid var(--ink);
    max-width: none;
    font-size: 10px;
    line-height: 1;
  }
  .media-card .media-read { position: relative; margin: 30px 0 0; padding: 0; }

  /* Keep the form, contacts and socials in one mobile document flow. */
  .contact { position: relative; display: flex; flex-direction: column; gap: 0; padding-bottom: 20px; }
  .contact-left, .contact-right { display: contents; }
  .contact .sticker-heading { order: 1; }
  .contact-underline { left: 111px; top: 103px; }
  .contact .contact-form { order: 2; margin-top: 81px; }
  .contact-details { order: 3; margin-top: 143px; width: 100%; }
  .contact-address {
    width: 100%;
    align-items: center;
    text-align: center;
    font-size: clamp(26px, 10.178vw, 40px);
  }
  .contact-address a,
  .contact-address a:first-child,
  .contact-address a:last-child { align-self: center; text-align: center; white-space: nowrap; overflow-wrap: normal; }
  .footer-socials {
    position: static;
    order: 4;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(3, 48px);
    gap: 1px;
    width: max-content;
    height: 50px;
    padding: 1px;
    margin-top: 60px;
    background: #b5b7d8;
  }
  .footer-socials > span { width: 48px; height: 48px; margin: 0; border: 0; background: #222; }
  .contact .legal { order: 5; width: 100%; margin-top: 30px; }
}
