.weller-menu-toggle { display: none; }

.team-photo img.portrait-original { filter: grayscale(1); image-rendering: auto; }
.team-photo .portrait-ryan { object-position: 50% 32%; transform: scale(1.38); transform-origin: 50% 39%; }
.team-photo .portrait-francesca { object-position: 50% 14%; transform: scale(1.09); transform-origin: 50% 39%; }
.team-photo .portrait-krysta { object-position: 50% 5%; }

@media (max-width: 960px) {
  body > header {
    height: auto;
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px !important;
    padding: 8px clamp(14px, 4vw, 32px) !important;
    align-items: center;
  }
  body > header .brand { gap: 9px; min-width: 0; width: max-content; max-width: 100%; }
  body > header .brand-icon { width: clamp(44px, 12vw, 58px) !important; height: clamp(44px, 12vw, 58px) !important; }
  body > header .brand-wordmark { width: clamp(104px, 29vw, 145px) !important; }

  body > header > nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 2px !important;
    padding: 8px 0 4px;
    border-top: 1px solid #e4edea;
  }
  body > header.weller-menu-ready:not(.weller-menu-open) > nav { display: none; }
  body > header > nav > a:not(.navcta),
  body > header > nav > a.navcta {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.3;
    padding: 10px 12px !important;
    border-radius: 6px;
  }
  body > header > nav > a.active:not(.navcta) { background: #eaf5f2; color: #14574f; }
  body > header > nav > a.navcta { margin-top: 4px; width: 100%; }
  .weller-menu-ready > .weller-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    background: #f1f7f5;
    border: 1px solid #bcd4cf;
    border-radius: 6px;
    color: #0f2f38;
    font: 700 14px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
  }
  .weller-menu-toggle:focus-visible, body > header > nav > a:focus-visible, .jump > a:focus-visible {
    outline: 2px solid #087369;
    outline-offset: 2px;
  }
  .weller-menu-icon {
    width: 16px;
    height: 2px;
    color: inherit;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
  }

  .hero > *, main section > *, .form-grid > *, .fields > * { min-width: 0; }
  .actions, .cta-actions { flex-wrap: wrap; }
  .actions .btn, .cta-actions .btn, .cta .btn, .apply .btn {
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
  main nav.jump {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 12px clamp(14px, 4vw, 32px);
  }
  main nav.jump > a:not(.navcta) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 7px 9px;
    border: 1px solid #cbded8;
    border-radius: 6px;
    background: #fff;
    color: #234e53;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
  }
  main input:not([type="checkbox"]):not([type="radio"]), main textarea, main select {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }
  main select { text-overflow: ellipsis; }
  main input[type="file"]::file-selector-button { white-space: normal; }
}

@media (max-width: 850px) {
  main .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  main .hero h1 { font-size: clamp(32px, 6.4vw, 44px); overflow-wrap: break-word; }
  main .hero-copy { padding: clamp(38px, 8vw, 62px) clamp(18px, 5vw, 36px); }
  main .hero-photo, main .hero-visual { min-height: clamp(230px, 62vw, 390px); }
  main .hero-photo:has(.hero-w-mark) { min-height: clamp(165px, 52vw, 280px); }
  main .hero .form-card .submit-row > button { min-height: 44px; }
  .form-card, .teaming-form, .form-card input, .form-card select, .form-card textarea { min-width: 0; max-width: 100%; }
  .team-grid { gap: 12px; }
  .team-grid .team-card { flex-basis: calc((100% - 12px) / 2); min-width: 0; }
}

@media (max-width: 480px) {
  main .hero .actions { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  main .hero .actions .btn { display: flex; align-items: center; justify-content: center; }
  .team-grid .team-card { flex-basis: 100%; }
  .leader-feature { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); }
  .leader-feature .leader-copy { padding: 18px 13px; }
  .leadership .team-card h4, .leader-feature h3 { overflow-wrap: break-word; }
  .hero input, .hero select, .hero textarea { width: 100%; }
}
