@media (max-width: 1100px) {
  .hero-layout,
  .research-intro,
  .page-intro__grid,
  .editorial-grid,
  .detail-layout,
  .sdg-detail-page,
  .sdg-updates-page,
  .leader-message,
  .featured-news,
  .contact-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-portrait-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-copy--leader {
    align-items: flex-start;
  }

  .hero-author {
    align-self: flex-start;
    text-align: left;
    transform: none;
  }

  .hero-rankings-strip {
    width: min(100%, 760px);
  }

  .hero-stats,
  .sdg-icons-grid,
  .sdg-goals-grid,
  .sdg-work-grid,
  .overview-grid,
  .priority-grid,
  .card-grid--three,
  .partner-grid,
  .metrics-band,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-heading,
  .cta-banner,
  .list-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-card__meta {
    min-width: 0;
  }

  .page-intro__grid,
  .research-intro {
    align-items: start;
  }

  .sdg-detail-page__aside,
  .sdg-detail-page__poster,
  .sdg-updates-page__aside {
    position: static;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 15px;
  }

  p,
  li,
  label,
  input,
  textarea,
  select,
  .hero-copy__lead,
  .page-intro__lead,
  .section-heading p {
    font-size: 15px;
  }

  small,
  .chip,
  .eyebrow,
  .site-navigation a,
  .language-switcher a,
  .language-dropdown__toggle,
  .language-dropdown__menu a,
  .hero-panel__badge,
  .footer-copy,
  .footer-links--contact li,
  .footer-legal {
    font-size: 13px;
  }

  .site-header {
    position: sticky;
  }

  .header-main__inner {
    min-height: auto;
    padding: 0.9rem 0;
    align-items: center;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    flex: 1 1 auto;
    margin-left: 0;
    gap: 0.65rem;
    justify-content: flex-end;
  }

  .site-search {
    display: none;
  }

  .site-search--mobile {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0.35rem 0 0;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(24, 48, 28, 0.08);
  }

  .site-search--mobile input {
    background: rgba(39, 116, 35, 0.08);
    border-color: rgba(24, 48, 28, 0.12);
    color: #18301c;
  }

  .site-search--mobile input::placeholder {
    color: rgba(24, 48, 28, 0.55);
  }

  .language-switcher {
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem;
    border: 1px solid rgba(92, 104, 88, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(25, 48, 28, 0.14);
    max-height: min(70vh, 34rem);
    overflow-y: auto;
    z-index: 120;
  }

  .site-navigation.is-open {
    display: flex;
  }

  .header-main__inner {
    position: relative;
    z-index: 130;
  }

  .site-navigation a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: #18301c;
    background: transparent;
  }

  .site-navigation__link--stacked {
    width: 100%;
    min-height: 0;
    white-space: normal !important;
    text-align: left;
  }

  .site-navigation a::after {
    left: 1rem;
    right: auto;
    width: calc(100% - 2rem);
    bottom: 0.45rem;
    transform-origin: left center;
    background: rgba(24, 48, 28, 0.75);
  }

  .site-navigation a:hover,
  .site-navigation a.is-active,
  .site-navigation a:focus-visible {
    background: rgba(39, 116, 35, 0.1);
    color: #18301c;
  }

  .search-page-form {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-logo {
    width: 4.9rem;
    height: 4.45rem;
  }

  .hero-section,
  .page-intro,
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-stats,
  .sdg-icons-grid,
  .sdg-goals-grid,
  .sdg-work-grid,
  .overview-grid,
  .priority-grid,
  .card-grid--three,
  .partner-grid,
  .metrics-band,
  .footer-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-portrait-card {
    max-width: 360px;
  }

  .hero-copy__lead,
  .page-intro__lead,
  .section-heading p {
    max-width: none;
  }

  .section-heading {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .sdg-detail-page__header {
    align-items: flex-start;
  }

  .footer-legal__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 1.25rem), 100%);
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h1,
  h2,
  h3,
  p,
  li,
  span,
  small,
  a {
    overflow-wrap: anywhere;
  }

  .header-bar__inner {
    font-size: 0.82rem;
  }

  .header-main__inner {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .brand {
    flex: 0 1 auto;
    width: auto;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
  }

  .brand-logo {
    width: 4.15rem;
    height: 3.95rem;
  }

  .brand-logo img {
    transform: scale(1.18);
  }

  .header-actions {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .language-switcher {
    flex: 1 1 auto;
    min-width: 0;
  }

  .language-switcher a {
    flex: 1 1 0;
  }

  .mobile-toggle {
    flex: 0 0 3rem;
  }

  .language-switcher {
    display: none;
  }

  .language-dropdown {
    display: inline-flex;
  }

  .language-dropdown__toggle {
    min-width: 4rem;
    min-height: 3rem;
  }

  .site-navigation {
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    padding: 0.85rem;
    border-radius: 18px;
  }

  .hero-section,
  .page-intro,
  .page-intro--clean,
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section--compact {
    padding-top: 1rem;
  }

  .hero-layout,
  .page-intro__grid,
  .research-intro,
  .editorial-grid,
  .detail-layout,
  .contact-layout,
  .two-column {
    gap: 1rem;
  }

  .hero-layout {
    grid-template-columns: minmax(132px, 42vw) minmax(0, 1fr);
    align-items: end;
  }

  .hero-copy h1 {
    font-size: 34px;
    margin-bottom: 0.75rem;
  }

  .hero-copy--leader {
    align-self: center;
    justify-content: center;
  }

  .hero-author {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .hero-rankings-strip {
    margin: 0.85rem 0 1.2rem;
  }

  .hero-actions {
    margin: 0.8rem 0 1.2rem;
  }

  .hero-stats,
  .overview-grid,
  .priority-grid {
    gap: 1rem;
  }

  .sdg-icons-grid,
  .sdg-work-grid,
  .card-grid--three,
  .partner-grid,
  .metrics-band,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .sdg-icons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .sdg-news-card {
    border-radius: 10px;
  }

  .sdg-news-card__caption {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .hero-portrait-card {
    max-width: 100%;
    width: 100%;
    border-width: 3px;
  }

  .hero-portrait-card__image {
    aspect-ratio: 4 / 5;
  }

  .hero-portrait-card__meta {
    display: none;
  }

  .hero-portrait-card__meta,
  .news-card__body,
  .sdg-goal-card__body,
  .sdg-work-card__body,
  .stat-card,
  .content-card,
  .priority-card,
  .metric-card,
  .report-card,
  .partner-card,
  .list-card,
  .notice-card,
  .hero-panel,
  .page-intro__panel,
  .cta-banner,
  .featured-news {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 0;
    min-height: 46px;
    min-width: 0;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .hero-actions .button--primary {
    flex: 0.95 1 0;
  }

  .hero-actions .button--secondary {
    flex: 1.15 1 0;
  }

  .hero-stats--full {
    grid-column: 1 / -1;
  }

  .cta-banner__actions,
  .sdg-work-card__actions {
    width: 100%;
  }

  .sdg-work-card__actions .button,
  .cta-banner__actions .button {
    width: 100%;
  }

  .lined-title {
    gap: 0.55rem;
  }

  .lined-title span {
    font-size: 0.95rem;
  }

  .lined-title::before,
  .lined-title::after {
    width: 2rem;
  }

  .page-intro__grid,
  .research-intro {
    grid-template-columns: 1fr;
  }

  .page-intro__panel,
  .research-intro__aside,
  .governance-panel,
  .soft-panel-card,
  .about-callout-card,
  .research-note-card {
    border-radius: 18px;
  }

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

  .governance-detail-intro {
    margin-bottom: 1.6rem;
  }

  .sdg-detail-page__header {
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .sdg-detail-page__icon {
    width: 80px;
    height: 80px;
  }

  .sdg-detail-page__idea,
  .sdg-detail-page__section,
  .sdg-detail-page__article,
  .sdg-detail-page__nav {
    padding: 1.15rem 1rem;
    border-radius: 16px;
  }

  .sdg-detail-page__poster {
    padding: 0.75rem;
    border-radius: 18px;
  }

  .sdg-detail-page__pager {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  .sdg-detail-page__pager a,
  .sdg-detail-page__pager span {
    flex: 1 1 0;
  }

  .sdg-detail-page__pager a:last-child,
  .sdg-detail-page__pager span:last-child {
    text-align: right;
  }

  .filters {
    gap: 0.65rem;
  }

  .governance-panel__summary {
    padding: 1rem 1.1rem;
    font-size: 1rem;
  }

  .governance-panel__content {
    padding: 0 0.8rem 0.8rem;
  }

  .governance-links {
    margin-bottom: 1.4rem;
  }

  .governance-links__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .governance-link-card {
    min-height: 0;
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
  }

  .governance-detail-intro__actions {
    width: 100%;
  }

  .governance-detail-intro__actions .button {
    width: 100%;
    justify-content: center;
  }

  .chip {
    margin-bottom: 0.8rem;
  }

  .footer-grid {
    padding: 3rem 0 2.25rem;
  }

  .footer-legal {
    padding: 0.85rem 0 1.1rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 1rem), 100%);
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-layout {
    grid-template-columns: minmax(114px, 40vw) minmax(0, 1fr);
    gap: 0.85rem;
  }

  .hero-copy--leader {
    min-width: 0;
  }

  .hero-portrait-card__meta {
    padding: 0.6rem 0.7rem 0.72rem;
  }

  .hero-portrait-card__meta strong,
  .hero-portrait-card__meta span {
    font-size: 0.84rem;
  }

  .brand-logo {
    width: 3.7rem;
    height: 3.55rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .language-dropdown__toggle {
    min-width: 3.65rem;
    padding: 0.6rem 0.75rem;
  }

  .site-navigation {
    max-height: min(72vh, 30rem);
  }

  .hero-portrait-card,
  .sdg-news-card,
  .sdg-goal-card,
  .sdg-work-card,
  .news-card,
  .content-card,
  .stat-card,
  .metric-card,
  .report-card,
  .partner-card,
  .list-card {
    border-radius: 14px;
  }

  .news-card__body,
  .sdg-goal-card__body,
  .sdg-work-card__body {
    padding: 0.95rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 0;
    min-height: 44px;
    min-width: 0;
    padding: 0.72rem 0.85rem;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .hero-actions .button--primary {
    flex: 0.9 1 0;
  }

  .hero-actions .button--secondary {
    flex: 1.2 1 0;
  }

  .sdg-icons-grid {
    gap: 0.6rem;
  }

  .sdg-news-card__caption {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    font-size: 0.76rem;
  }

  .stat-card--hero-featured {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card--hero-impact {
    gap: 0.9rem;
  }

  .stat-card--hero-impact .stat-card--hero__content {
    min-width: 0;
    width: 100%;
  }

  .stat-card--hero__logo {
    width: 185px;
  }

  .stat-card--hero-impact .stat-card--hero__logo,
  .stat-card--hero__logo--impact {
    width: min(100%, 340px);
    min-width: 0;
    display: block;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
    transform: translateY(-52px);
  }

  .stat-card--hero-impact .stat-card--hero__content strong,
  .stat-card--hero-impact .stat-card--hero__content span,
  .stat-card--hero-impact .stat-card--hero__content p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .stat-card--hero-impact .stat-card--hero__content strong {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
  }

  .stat-card--hero-impact .stat-card--hero__content span {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .stat-card--hero-impact .stat-card--hero__content p {
    font-size: 0.92rem;
    line-height: 1.18;
  }
}

@media (max-width: 1100px) {
  .results-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-sdg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results-impact-card {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .results-ranking-grid,
  .results-impact-grid,
  .results-sdg-grid {
    grid-template-columns: 1fr;
  }

  .results-impact-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .results-impact-card__logo-wrap {
    min-height: 120px;
  }

  .results-sdg-card {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .results-ranking-card,
  .results-impact-card,
  .results-sdg-card {
    border-radius: 18px;
  }

  .results-ranking-card,
  .results-impact-card {
    padding: 1.15rem;
  }

  .results-sdg-card {
    padding: 0.8rem;
    gap: 0.75rem;
  }

  .results-sdg-card__icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .results-ranking-card__value,
  .results-impact-card__value {
    font-size: 2.35rem;
  }

  .results-impact-card__title,
  .results-ranking-card h3 {
    font-size: 1.05rem;
  }
}

/* Universal responsive safeguards
   These rules intentionally affect presentation only. They keep the existing
   templates, links, forms, and application behavior unchanged. */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
main,
section,
header,
footer {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

.container,
.header-main__inner,
.header-actions,
.site-navigation,
.hero-layout > *,
.page-intro__grid > *,
.research-intro > *,
.detail-layout > *,
.contact-layout > *,
.two-column > *,
.footer-grid > *,
.card-grid > *,
.form-grid > * {
  min-width: 0;
}

.content-card,
.governance-richtext,
.research-detail-content,
.report-detail-content,
.news-detail-content,
.event-detail-content {
  overflow-wrap: anywhere;
  word-break: normal;
}

.content-card pre,
.governance-richtext pre,
.research-detail-content pre,
.report-detail-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.content-card table,
.governance-table,
.report-detail-table,
.roadmap-table {
  max-width: none;
}

.governance-table-wrap,
.report-detail-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.button,
.filter-button,
.mobile-toggle,
.language-switcher a,
.language-dropdown__toggle,
.site-navigation a,
.site-search button,
.site-search input,
input,
select,
textarea {
  min-height: 44px;
  touch-action: manipulation;
}

@media (max-width: 860px) {
  body,
  p,
  li,
  label,
  input,
  textarea,
  select,
  .hero-copy__lead,
  .page-intro__lead,
  .section-heading p {
    font-size: 16px;
  }

  .site-header,
  .header-main {
    max-width: 100vw;
  }

  .site-navigation {
    overscroll-behavior: contain;
  }

  .site-navigation a,
  .site-search--mobile input,
  .site-search--mobile button {
    min-height: 48px;
  }

  .hero-copy h1,
  .page-intro h1,
  .research-intro h1,
  .governance-detail-intro h1 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .cta-banner__actions,
  .governance-detail-intro__actions,
  .sdg-work-card__actions,
  .filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 580px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-portrait-card {
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  .hero-portrait-card__meta {
    display: block;
  }

  .hero-copy--leader,
  .hero-author {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button--primary,
  .hero-actions .button--secondary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-stats,
  .overview-grid,
  .priority-grid,
  .sdg-goals-grid {
    grid-template-columns: 1fr;
  }

  .site-search--mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-search--mobile input {
    width: 100%;
    min-width: 0;
  }

  .site-search--mobile button {
    width: auto;
  }

  .sdg-detail-page__pager {
    flex-wrap: wrap;
  }

  .sdg-detail-page__pager a,
  .sdg-detail-page__pager span {
    flex: 1 1 9rem;
    min-height: 44px;
  }

  .footer-links a,
  .footer-links li,
  .contact-layout a,
  .list-card a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

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

  .language-dropdown__menu {
    right: 0;
    left: auto;
    max-width: calc(100vw - 1rem);
  }

  .site-search--mobile {
    grid-template-columns: 1fr;
  }

  .site-search--mobile button {
    width: 100%;
  }

  .governance-table,
  .report-detail-table,
  .roadmap-table {
    font-size: 0.875rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 920px) {
  .site-navigation {
    top: calc(100% + 0.25rem);
    max-height: calc(100dvh - 5.5rem);
  }

  .hero-section,
  .page-intro,
  .page-intro--clean,
  .section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile brand lockup
   The source artwork is a horizontal 233:136 mark. Preserve that footprint on
   narrow headers so the university name stays legible instead of being
   compressed into the previous near-square logo box. */
@media (max-width: 580px) {
  .header-main__inner {
    min-height: 5.75rem;
    gap: clamp(0.5rem, 2.5vw, 0.8rem);
  }

  .brand {
    flex: 0 1 clamp(8rem, 37vw, 9.25rem);
    min-width: 0;
  }

  .brand-logo {
    width: clamp(8rem, 37vw, 9.25rem);
    height: clamp(4.25rem, 20vw, 4.85rem);
    justify-content: flex-start;
  }

  .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    transform: none;
  }

  .header-actions {
    flex: 1 0 auto;
    min-width: max-content;
  }
}

@media (max-width: 360px) {
  .header-main__inner {
    gap: 0.4rem;
  }

  .brand,
  .brand-logo {
    width: 7.4rem;
    flex-basis: 7.4rem;
  }

  .brand-logo {
    height: 4.15rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .language-dropdown__toggle {
    min-width: 3.4rem;
    padding-inline: 0.65rem;
  }

  .mobile-toggle {
    flex-basis: 2.85rem;
    width: 2.85rem;
  }
}
