.zbb-skip-link {
  background: #f8c968;
  border-radius: 0 0 .65rem .65rem;
  color: #111827;
  font-size: .875rem;
  font-weight: 800;
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: 0;
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 1000;
}

.zbb-skip-link:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(0);
}

.zbb-mobile-mission,
.zbb-collaborators__toggle {
  display: none;
}

@media (max-width: 640px), (max-width: 960px) and (max-height: 600px) {
  :root {
    scroll-padding-top: calc(4rem + env(safe-area-inset-top));
  }

  .zbb-home-page {
    background: #f7f8f7;
    color: #17232d;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  .zbb-home-page *,
  .zbb-home-page *::before,
  .zbb-home-page *::after {
    box-sizing: border-box;
  }

  .zbb-home-page a,
  .zbb-home-page button,
  .zbb-home-page input,
  .zbb-home-page textarea,
  .zbb-home-page summary {
    -webkit-tap-highlight-color: transparent;
  }

  .zbb-home-page :focus-visible {
    outline: 3px solid #f5af33;
    outline-offset: 3px;
  }

  /* Compact, opaque navigation avoids losing controls over the hero photo. */
  .zbb-site-header {
    background: rgba(8, 15, 24, .96) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 30px rgba(4, 9, 15, .22);
    padding-top: env(safe-area-inset-top);
  }

  .zbb-site-nav {
    min-height: 4rem;
    padding: .55rem .85rem !important;
  }

  .zbb-site-logo {
    align-items: center;
    display: inline-flex;
    margin: 0 !important;
    min-height: 2.75rem;
    padding: .35rem 0 !important;
  }

  .zbb-site-logo img {
    height: 2rem !important;
    max-width: min(12rem, 60vw);
    width: auto;
  }

  .zbb-site-nav > [class~="md:flex"] {
    display: flex !important;
    gap: 0 !important;
    margin: 0 .45rem 0 auto !important;
  }

  .zbb-site-nav > [class~="md:flex"] > a {
    display: none !important;
  }

  .zbb-site-nav > [class~="md:flex"] > a[href="/donate"] {
    align-items: center;
    background: #f8c968;
    border: 1px solid #f8c968;
    border-radius: 999px;
    color: #111827;
    display: inline-flex !important;
    font-size: .7rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: .06em;
    margin: 0 !important;
    min-height: 2.75rem;
    padding: .55rem .85rem !important;
    text-transform: uppercase;
  }

  .zbb-mobile-menu-button {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .75rem;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    width: 2.75rem;
  }

  .zbb-site-nav > [class~="md:hidden"] {
    display: block !important;
  }

  .zbb-mobile-menu:not(.hidden) {
    display: block !important;
  }

  .zbb-mobile-menu-button[aria-expanded="true"] {
    background: rgba(248, 201, 104, .14);
    border-color: rgba(248, 201, 104, .72);
    color: #f8c968;
  }

  .zbb-mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 16px 30px rgba(4, 9, 15, .28);
  }

  .zbb-mobile-menu > div {
    background: rgba(8, 15, 24, .98) !important;
  }

  .zbb-mobile-menu a {
    align-items: center;
    border-radius: .7rem;
    display: flex !important;
    min-height: 3rem;
    padding: .65rem .8rem !important;
  }

  /* The phone hero tells one clear story, with no carousel or timer. */
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .hero-media,
  .hero-image {
    height: 100% !important;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, .28) 0%, rgba(5, 10, 18, .62) 38%, rgba(5, 10, 18, .96) 76%, #080f18 100%) !important;
  }

  .hero-image {
    filter: brightness(.76) saturate(.9) !important;
    object-position: 54% 20% !important;
  }

  .hero-shell {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .hero-impact-layout {
    display: flex !important;
    flex-direction: column;
    gap: 1rem !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: calc(4.7rem + env(safe-area-inset-top)) 1rem 1.15rem !important;
  }

  .hero-copy {
    display: flex;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .hero-heading {
    font-size: clamp(1.9rem, 8.7vw, 2.55rem) !important;
    font-weight: 560;
    letter-spacing: -.045em;
    line-height: 1.04 !important;
    margin: .55rem 0 0 !important;
    max-width: 13ch;
    text-shadow: 0 .12em .7em rgba(0, 0, 0, .65);
  }

  .zbb-mobile-mission {
    color: rgba(255, 255, 255, .86);
    display: block;
    font-size: .94rem;
    line-height: 1.52;
    margin: .9rem 0 0;
    max-width: 38ch;
  }

  .hero-standard {
    display: none !important;
  }

  .hero-cta {
    align-items: center !important;
    align-self: stretch !important;
    background: #f8c968;
    border-color: #f8c968 !important;
    color: #111827 !important;
    display: flex !important;
    font-size: .78rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: .08em;
    margin-top: 1rem;
    min-height: 3.1rem;
    padding: .75rem 1.25rem !important;
    width: 100%;
  }

  .impact-panel {
    background: rgba(10, 17, 28, .9) !important;
    border-color: rgba(255, 255, 255, .15) !important;
    border-radius: 1rem !important;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .24) !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: .9rem !important;
  }

  .impact-header {
    align-items: end;
    margin-bottom: .35rem !important;
  }

  .impact-eyebrow {
    font-size: .6rem !important;
  }

  .impact-heading {
    font-size: 1.25rem !important;
    margin-top: .1rem !important;
  }

  .impact-live,
  .impact-country-index {
    display: none !important;
  }

  .impact-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-card {
    border-right: 0 !important;
    display: none !important;
    min-width: 0;
    padding: .62rem .45rem .52rem !important;
  }

  .impact-card:nth-child(1),
  .impact-card:nth-child(2),
  .impact-card:nth-child(3),
  .impact-card:nth-child(5) {
    display: flex !important;
  }

  .impact-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .13) !important;
  }

  .impact-card dt {
    font-size: .68rem !important;
    line-height: 1.25 !important;
  }

  .impact-card .impact-value {
    font-size: clamp(1.45rem, 8vw, 1.9rem) !important;
    margin-top: .3rem !important;
    overflow-wrap: anywhere;
  }

  .impact-note {
    font-size: .58rem !important;
  }

  /* Country programs are normal-flow cards on phones; the SVG map is desktop-only. */
  .global-footprint {
    content-visibility: visible !important;
    padding: 2.85rem 0 2.4rem !important;
  }

  .global-footprint__container {
    padding: 0 1rem !important;
  }

  .global-footprint__header {
    display: block !important;
    margin-bottom: 1.2rem !important;
  }

  .global-footprint__title {
    font-size: clamp(2.1rem, 11vw, 2.8rem) !important;
    letter-spacing: -.045em;
    line-height: .98;
  }

  .global-footprint__tagline {
    font-size: .95rem;
    margin-top: .45rem;
  }

  .global-footprint__meta,
  .global-footprint__map-card {
    display: none !important;
  }

  .global-footprint__experience,
  .global-footprint__map-column {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
  }

  .global-footprint__countries,
  .global-footprint.has-country-selection .global-footprint__countries {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid !important;
    gap: .6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inset: auto !important;
    opacity: 1 !important;
    overflow: visible;
    padding: 0;
    pointer-events: auto !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
  }

  .global-footprint__country-button {
    align-content: center;
    background: #fff;
    border: 1px solid #dbe3e4;
    border-radius: .9rem;
    box-shadow: 0 6px 18px rgba(22, 38, 48, .06);
    display: grid;
    flex-basis: auto !important;
    grid-template-columns: auto 1fr auto;
    min-height: 4.3rem;
    padding: .7rem !important;
    text-align: left;
    width: 100%;
  }

  .global-footprint__country-button[aria-pressed="true"] {
    border-color: #d29a31;
    box-shadow: 0 0 0 2px rgba(234, 167, 43, .16), 0 8px 20px rgba(22, 38, 48, .08);
  }

  .global-footprint__country-name {
    font-size: .86rem !important;
    font-weight: 780;
  }

  .global-footprint__country-type {
    color: #68747e;
    display: block !important;
    font-size: .57rem !important;
    grid-column: 2 / 4;
    line-height: 1.25;
    margin-top: .15rem;
  }

  .global-footprint__country-dot {
    grid-row: 1 / 3 !important;
  }

  .global-footprint__country-arrow {
    grid-column: 3;
    grid-row: 1 / 3 !important;
  }

  .global-footprint__detail,
  .global-footprint__detail.is-country-selected {
    background: #fff;
    border-radius: 1rem;
    bottom: auto !important;
    box-shadow: 0 12px 28px rgba(22, 38, 48, .1);
    display: none;
    inset: auto !important;
    margin: .8rem 0 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 1rem !important;
    pointer-events: auto !important;
    position: relative !important;
    transform: none !important;
    visibility: visible !important;
    width: 100% !important;
  }

  .global-footprint.has-country-selection .global-footprint__detail {
    display: block;
  }

  .global-footprint__detail.is-overview {
    display: none !important;
  }

  .global-footprint__detail-topline {
    align-items: center !important;
    gap: .5rem;
  }

  .global-footprint__detail-actions {
    align-items: flex-end !important;
    flex-direction: column-reverse !important;
  }

  .global-footprint__reset,
  .global-footprint__error button,
  .global-footprint__clear-site,
  .global-footprint__team-link {
    align-items: center;
    display: inline-flex;
    min-height: 2.75rem;
  }

  .global-footprint__detail-title {
    font-size: 1.8rem !important;
    margin-top: .35rem;
  }

  .global-footprint__detail-description {
    font-size: .8rem !important;
    line-height: 1.5;
  }

  .global-footprint__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-footprint__metric {
    min-height: 5rem !important;
  }

  .global-footprint__trend {
    display: none !important;
  }

  .global-footprint__city-list {
    grid-template-columns: 1fr !important;
  }

  .global-footprint__city-button {
    min-height: 2.75rem;
  }

  .global-footprint__why {
    border-radius: 1rem !important;
    gap: .85rem !important;
    grid-template-columns: 1fr !important;
    margin-top: 1.25rem !important;
    padding: 1.1rem !important;
  }

  .global-footprint__why-title {
    font-size: 1.55rem !important;
    line-height: 1.08;
  }

  .global-footprint__why-copy {
    font-size: .82rem;
    line-height: 1.55;
  }

  .global-footprint__why-copy p + p {
    margin-top: .75rem;
  }

  .global-footprint__citation {
    display: none;
  }

  /* A static two-by-two care pathway replaces the animation-heavy phone view. */
  .telerop-workflow {
    padding: 2.9rem 0 !important;
  }

  .telerop-workflow__container {
    padding: 0 1rem !important;
  }

  .telerop-workflow__header {
    display: block !important;
    margin-bottom: 1.35rem !important;
  }

  .telerop-workflow__title {
    font-size: clamp(2.15rem, 11vw, 2.9rem) !important;
    line-height: .98;
  }

  .telerop-workflow__intro {
    margin-top: .8rem;
  }

  .telerop-workflow__statement {
    font-size: 1.08rem !important;
  }

  .telerop-workflow__lead {
    font-size: .84rem !important;
    line-height: 1.5 !important;
    margin-top: .45rem !important;
  }

  .telerop-workflow__journey {
    border-radius: 1rem !important;
    box-shadow: 0 18px 42px rgba(83, 50, 0, .1) !important;
    padding: .9rem !important;
  }

  .telerop-workflow__journey-header {
    display: block !important;
    padding: .15rem .1rem .9rem !important;
  }

  .telerop-workflow__journey-label {
    font-size: .58rem !important;
  }

  .telerop-workflow__journey-header h3 {
    font-size: 1.45rem !important;
    margin-top: .45rem !important;
  }

  .telerop-workflow__journey-header > p,
  .telerop-workflow__traveler,
  .telerop-workflow__visual,
  .telerop-workflow__node {
    display: none !important;
  }

  .telerop-workflow__stages {
    display: grid !important;
    gap: .55rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: .75rem !important;
    padding: 0 !important;
  }

  .telerop-workflow__stages::before,
  .telerop-workflow__stages::after,
  .telerop-workflow__stage::after {
    display: none !important;
  }

  .telerop-workflow__stage {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(19, 34, 56, .1);
    border-radius: .85rem;
    display: block !important;
    min-height: 10.75rem;
    padding: .8rem .7rem;
  }

  .telerop-workflow__stage--decision {
    background: rgba(230, 245, 237, .72);
    border-color: rgba(36, 122, 91, .18);
  }

  .telerop-workflow__stage-meta {
    align-items: flex-start !important;
    display: block !important;
    font-size: .55rem !important;
    letter-spacing: .07em !important;
    line-height: 1.35;
  }

  .telerop-workflow__stage-meta > span {
    display: block;
    font-size: .7rem;
    margin-bottom: .25rem;
  }

  .telerop-workflow__stage-copy h4 {
    font-size: 1.2rem !important;
    margin-top: .45rem !important;
  }

  .telerop-workflow__stage-copy > p:last-child {
    font-size: .73rem !important;
    line-height: 1.48 !important;
    margin-top: .45rem !important;
  }

  /* Six collaborators stay scannable; the remainder are disclosed on demand. */
  .zbb-collaborators {
    padding: 2.9rem 0 !important;
  }

  .zbb-collaborators__container {
    padding: 0 1rem !important;
  }

  .zbb-collaborators h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1.25rem !important;
  }

  .zbb-collaborators .collaborator-grid {
    display: grid !important;
    gap: .55rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .zbb-collaborators .collaborator-grid > figure {
    border-radius: .75rem !important;
    min-height: 6.8rem !important;
    padding: .55rem !important;
  }

  .zbb-collaborators .collaborator-grid img {
    height: 3.15rem !important;
    max-width: 100% !important;
  }

  .zbb-collaborators .collaborator-grid img[alt="Alcon logo"] {
    padding: .72rem !important;
  }

  .zbb-collaborators .collaborator-grid .collaborator-logo--harvard {
    max-width: 80% !important;
    transform: scale(1.2);
  }

  .zbb-collaborators .collaborator-grid figcaption {
    font-size: .65rem !important;
    line-height: 1.25 !important;
    margin-top: .45rem !important;
  }

  .is-zbb-mobile-enhanced .zbb-collaborators .collaborator-grid:not(.is-expanded) > figure:nth-child(n + 7) {
    display: none !important;
  }

  .is-zbb-mobile-enhanced .zbb-collaborators__toggle {
    align-items: center;
    background: #fff;
    border: 1px solid #ced8da;
    border-radius: .8rem;
    color: #24343f;
    display: flex;
    font-size: .78rem;
    font-weight: 760;
    gap: .45rem;
    justify-content: center;
    margin-top: .75rem;
    min-height: 3rem;
    padding: .65rem 1rem;
    width: 100%;
  }

  .zbb-collaborators__toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  /* Contact and footer retain every action without desktop-sized whitespace. */
  .zbb-contact {
    padding: 2.9rem 0 !important;
  }

  .zbb-contact > div,
  .zbb-home-page footer > div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .zbb-contact .grid {
    gap: 1.35rem !important;
  }

  .zbb-contact h2 {
    font-size: 1.9rem !important;
    margin-bottom: .65rem !important;
  }

  .zbb-contact p {
    font-size: .86rem;
    line-height: 1.55;
    margin-bottom: 0 !important;
  }

  .zbb-contact form > * + * {
    margin-top: .9rem !important;
  }

  .zbb-contact label {
    font-size: .75rem !important;
  }

  .zbb-contact input:not([tabindex="-1"]),
  .zbb-contact textarea,
  .zbb-home-page footer input:not([tabindex="-1"]) {
    border-radius: .7rem !important;
    font-size: 1rem !important;
    min-height: 3rem;
  }

  .zbb-contact textarea {
    min-height: 7.5rem;
  }

  .zbb-contact button[type="submit"],
  .zbb-home-page footer button[type="submit"] {
    min-height: 3rem;
    width: 100% !important;
  }

  .zbb-home-page footer {
    padding: 2.75rem 0 calc(2rem + env(safe-area-inset-bottom)) !important;
  }

  .zbb-home-page footer > div > .grid {
    gap: 1.25rem;
  }

  .zbb-home-page footer img {
    max-height: 2.65rem !important;
  }

  .zbb-home-page footer form p {
    line-height: 1.5;
  }

  .zbb-home-page footer .flex.gap-8 {
    justify-content: space-between;
    margin: 0 !important;
    width: 100%;
  }

  .zbb-home-page footer li a {
    align-items: center;
    display: inline-flex;
    min-height: 2.75rem;
  }

  .zbb-home-page footer .border-t {
    margin-top: 1.6rem !important;
    padding-top: 1.35rem !important;
  }

  .zbb-home-page footer .border-t p {
    font-size: .72rem;
    line-height: 1.55;
  }
}

@media (min-width: 641px) and (max-width: 960px) and (max-height: 600px) {
  .hero-impact-layout {
    padding-top: calc(4.15rem + env(safe-area-inset-top)) !important;
  }

  .hero-heading {
    font-size: clamp(1.8rem, 4vw, 2.15rem) !important;
    margin-top: .25rem !important;
    max-width: 20ch;
  }

  .zbb-mobile-mission {
    font-size: .84rem;
    line-height: 1.4;
    margin-top: .5rem;
    max-width: 50ch;
  }

  .hero-cta {
    align-self: flex-start !important;
    margin-top: .65rem;
    max-width: 18rem;
  }
}

@media (max-width: 340px) {
  .hero-impact-layout,
  .global-footprint__container,
  .telerop-workflow__container,
  .zbb-collaborators__container,
  .zbb-contact > div,
  .zbb-home-page footer > div {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .global-footprint__country-name {
    font-size: .78rem !important;
  }

  .telerop-workflow__stage {
    min-height: 11.7rem;
    padding: .7rem .58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zbb-skip-link,
  .zbb-home-page *,
  .zbb-home-page *::before,
  .zbb-home-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
