@media (max-width: 850px) {
  .masthead { flex-wrap: wrap; gap: 0 12px; min-height: 57px; }
  .brand { padding-block: 10px; }
  .brand a { font-size: clamp(14px, 4.2vw, 17px); }
  .menu-button:not([hidden]) {
    display: block;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: 700 12px/1.4 "Segoe UI", sans-serif;
    cursor: pointer;
  }
  .menu-button::before { content: "☰"; margin-right: 5px; }
  .menu-button[aria-expanded="true"]::before { content: "×"; }
  .primary li:last-child { margin-inline-start: 0; }
  .primary li:last-child a { border: 0; }
  .primary { flex-basis: 100%; padding-bottom: 12px; }
  .primary ul { display: grid; gap: 2px; }
  .primary[data-collapsed] { display: none; }
  .primary[data-expanded] { animation: reveal .2s ease-out both; }
  .cards { gap: 14px; }
  .card h2, .card p { margin-inline: 14px; }
  .more { margin-inline: 14px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero-inner { min-height: 195px; align-items: end; }
  .hero-copy { width: 100%; padding-block: 54px 18px; }
  .hero h1 { font-size: clamp(22px, 6.9vw, 30px); }
  .hero p { margin-top: 9px; }
  .page-title::before { right: 0; width: 100%; height: 195px; background-position: center top; }
  .hero img { width: calc(100% + 32px); max-width: none; right: -16px; height: 100%; mask-image: linear-gradient(to top, transparent 29%, #000 100%); opacity: .7; animation: none; }
  .cards { grid-template-columns: 1fr; gap: 13px; padding-block: 16px 27px; }
  .card h2, .card p, .more { margin-inline: 14px; }
  th, td { padding: 10px 8px; }
  th { min-width: 5.2em; }
}

@media (max-width: 360px) {
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .primary { grid-column: 1 / -1; }
  .brand a { font-size: 13px; }
  .menu-button:not([hidden]) { padding-inline: 7px; }
}
.recruit-phrase { white-space: nowrap; }
@media (min-width: 690px) {
  .recruit-expectations { white-space: nowrap; }
}