@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --hub-color-primary: #C84B31;
  --hub-color-secondary: #D4775B;
  --hub-color-accent: #2D4059;
  --hub-color-background: #FFF8F0;
  --hub-color-surface: #FFFFFF;
  --hub-color-text: #2D2424;
  --hub-color-text-light: #7A6565;
  --hub-color-border: #ECDDD0;
  --hub-hero-overlay: linear-gradient(145deg, rgba(200, 75, 49, 0.82), rgba(212, 119, 91, 0.5));
  --hub-font-heading: 'Bebas Neue', sans-serif;
  --hub-font-body: 'Roboto', sans-serif;
  --hub-shadow-none: none;
  --hub-radius-soft: 1.5rem;
  --hub-radius-pill: 999px;
  --hub-radius-frame: 2rem;
  --hub-max-width: 1280px;
  --hub-rule: 1px solid var(--hub-color-border);
  --hub-section-space: clamp(5rem, 8vw, 7.5rem);
  --hub-body-size: clamp(1.125rem, 1.4vw, 1.25rem);
  --hub-heading-size: clamp(2.5rem, 5vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 119, 91, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(255, 248, 240, 1)),
    var(--hub-color-background);
  color: var(--hub-color-text);
  font-family: var(--hub-font-body);
  font-size: var(--hub-body-size);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--hub-font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

p {
  margin: 0;
}

main,
footer,
section {
  position: relative;
}

section {
  padding: var(--hub-section-space) clamp(1.25rem, 3vw, 2.5rem);
  border-top: var(--hub-rule);
}

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hub-shell {
  width: min(calc(100% - 2.5rem), var(--hub-max-width));
  margin: 0 auto;
}

.hub-site {
  overflow-x: clip;
}

.hub-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 1.5rem), 1240px);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--hub-radius-pill);
  background: rgba(255, 248, 240, 0.08);
  backdrop-filter: blur(18px);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hub-nav.is-scrolled {
  background: rgba(255, 248, 240, 0.94);
  border-color: rgba(236, 221, 208, 0.9);
  box-shadow: 0 1.25rem 3rem rgba(45, 36, 36, 0.08);
}

.hub-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
}

.hub-nav__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--hub-color-primary);
  text-decoration: none;
}

.hub-nav__title {
  font-family: var(--hub-font-heading);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.hub-nav__tagline {
  color: var(--hub-color-text-light);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.hub-nav__links a {
  position: relative;
  color: var(--hub-color-text);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hub-nav__links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.hub-nav__links a:hover::after,
.hub-nav__links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hub-nav__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hub-nav__lang,
.hub-nav__menu {
  border: 1px solid transparent;
  background: transparent;
  color: var(--hub-color-text);
  cursor: pointer;
}

.hub-nav__lang {
  padding: 0.45rem 0.85rem;
  border-radius: var(--hub-radius-pill);
  border-color: var(--hub-color-border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-nav__lang:hover,
.hub-nav__lang:focus-visible {
  border-color: var(--hub-color-accent);
  color: var(--hub-color-accent);
}

.hub-nav__menu {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border-color: var(--hub-color-border);
  place-items: center;
}

.hub-nav__menu-line {
  width: 1.2rem;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.hub-nav__menu-line + .hub-nav__menu-line {
  margin-top: 0.28rem;
}

.hub-nav.is-open .hub-nav__menu-line:nth-child(1) {
  transform: translateY(0.38rem) rotate(45deg);
}

.hub-nav.is-open .hub-nav__menu-line:nth-child(2) {
  opacity: 0;
}

.hub-nav.is-open .hub-nav__menu-line:nth-child(3) {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.hub-announcement {
  padding-top: 7rem;
  padding-bottom: 1rem;
  border-top: 0;
}

.hub-announcement__strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hub-color-border);
  border-radius: var(--hub-radius-pill);
  background: rgba(255, 255, 255, 0.76);
}

.hub-announcement__label {
  color: var(--hub-color-accent);
  font-family: var(--hub-font-heading);
  font-size: 1.4rem;
}

.hub-announcement__copy {
  font-size: 1rem;
}

.hub-announcement__link {
  color: var(--hub-color-primary);
  font-weight: 700;
}

.hub-hero {
  min-height: 100svh;
  padding-top: 8.5rem;
  background:
    var(--hub-hero-overlay),
    url('images/hero-1.jpg') center/cover no-repeat;
  color: var(--hub-color-surface);
}

.hub-hero__inner {
  width: min(calc(100% - 2.5rem), var(--hub-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hub-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
}

.hub-hero__kicker {
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--hub-radius-pill);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-hero__title {
  max-width: 10ch;
  font-size: var(--hub-heading-size);
}

.hub-hero__text {
  max-width: 34rem;
  color: rgba(255, 248, 240, 0.92);
}

.hub-hero__search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  max-width: 34rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--hub-radius-pill);
  background: rgba(45, 64, 89, 0.18);
  backdrop-filter: blur(10px);
}

.hub-hero__search input {
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--hub-color-surface);
}

.hub-hero__search input::placeholder {
  color: rgba(255, 248, 240, 0.72);
}

.hub-hero__search button,
.hub-link-button,
.hub-outline-button {
  padding: 0.85rem 1.1rem;
  border-radius: var(--hub-radius-pill);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-hero__search button,
.hub-link-button {
  border: 1px solid var(--hub-color-accent);
  background: var(--hub-color-accent);
  color: var(--hub-color-surface);
}

.hub-outline-button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.hub-hero__collage {
  position: relative;
  min-height: 42rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 0.82fr 0.66fr;
  gap: 1rem;
}

.hub-hero__panel {
  overflow: hidden;
  border-radius: var(--hub-radius-frame);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--hub-color-surface);
}

.hub-hero__panel img,
.hub-story__image img,
.hub-impact__story img,
.hub-photo-essay__frame img,
.hub-testimonial__photo img,
.hub-partner__visual img,
.hub-blog__thumb img,
.hub-program-card__image img,
.hub-programs__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-hero__panel--tall {
  grid-row: 1 / span 2;
}

.hub-hero__panel--wide {
  grid-column: 2;
  grid-row: 1;
  margin-top: 3.25rem;
}

.hub-hero__panel--small {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin-top: -2rem;
}

.hub-hero__note {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  max-width: 16rem;
  padding: 1rem 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 248, 240, 0.94);
  font-style: italic;
  backdrop-filter: blur(4px);
}

.hub-hero__caption {
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 12rem;
  color: rgba(255, 248, 240, 0.88);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hub-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hub-section-head__title {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.hub-section-head__text {
  max-width: 36rem;
  color: var(--hub-color-text-light);
}

.hub-programs {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 248, 240, 0.85)),
    var(--hub-color-background);
}

.hub-programs__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, 24rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x proximity;
}

.hub-program-card {
  scroll-snap-align: start;
  border: 1px solid var(--hub-color-border);
  background: var(--hub-color-surface);
  min-height: 31rem;
}

.hub-program-card__image {
  aspect-ratio: 4 / 5;
}

.hub-program-card__body {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
}

.hub-program-card__title {
  font-size: 2rem;
}

.hub-program-card__meta {
  color: var(--hub-color-text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-program-card__link {
  color: var(--hub-color-accent);
  font-weight: 700;
}

.hub-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: 2rem;
}

.hub-story {
  display: grid;
  gap: 1.5rem;
}

.hub-story__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hub-story__title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  max-width: 12ch;
}

.hub-story__meta,
.hub-blog__meta,
.hub-photo-essay__caption,
.hub-impact__caption,
.hub-partner__label {
  color: var(--hub-color-text-light);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-story__quote {
  position: relative;
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--hub-color-primary);
}

.hub-story__quote::before {
  content: '“';
  position: absolute;
  left: -0.1rem;
  top: -0.8rem;
  font-family: var(--hub-font-heading);
  font-size: 4rem;
  line-height: 1;
}

.hub-events {
  padding: 1.5rem;
  border: 1px solid var(--hub-color-border);
  background: rgba(255, 255, 255, 0.72);
}

.hub-events__title {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.hub-events__list {
  display: grid;
  gap: 1rem;
}

.hub-events__item {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: var(--hub-rule);
}

.hub-events__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hub-events__date {
  color: var(--hub-color-primary);
  font-family: var(--hub-font-heading);
  font-size: 1.5rem;
}

.hub-impact__row {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: var(--hub-rule);
}

.hub-impact__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hub-impact__row:nth-child(even) {
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
}

.hub-impact__row:nth-child(even) .hub-impact__story {
  order: 2;
}

.hub-impact__stat {
  display: grid;
  gap: 0.5rem;
}

.hub-impact__number {
  color: var(--hub-color-primary);
  font-family: var(--hub-font-heading);
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.hub-impact__story {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: center;
}

.hub-impact__story-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hub-impact__story-copy {
  display: grid;
  gap: 0.75rem;
}

.hub-impact__story-name {
  font-size: 2.15rem;
}

.hub-involved {
  background:
    linear-gradient(120deg, rgba(45, 64, 89, 0.96), rgba(45, 64, 89, 0.78)),
    url('images/community-4.jpg') center/cover no-repeat;
  color: var(--hub-color-surface);
}

.hub-involved__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.hub-involved__title {
  max-width: 10ch;
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
}

.hub-involved__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hub-involved__card {
  min-height: 15rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 248, 240, 0.06);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.hub-involved__card:hover,
.hub-involved__card:focus-within {
  transform: translateY(-0.4rem);
  background: rgba(255, 248, 240, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.hub-involved__card-title {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.hub-photo-essay__strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.hub-photo-essay__frame {
  display: grid;
  gap: 0.75rem;
}

.hub-photo-essay__frame:nth-child(odd) {
  transform: translateY(1.5rem);
}

.hub-photo-essay__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hub-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-testimonial {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--hub-color-border);
  background: rgba(255, 255, 255, 0.65);
}

.hub-testimonial__photo {
  width: 4.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}

.hub-testimonial__quote {
  position: relative;
  padding-left: 1.25rem;
  font-style: italic;
}

.hub-testimonial__quote::before {
  content: '“';
  position: absolute;
  left: -0.05rem;
  top: -0.65rem;
  color: var(--hub-color-secondary);
  font-family: var(--hub-font-heading);
  font-size: 3.2rem;
}

.hub-testimonial__name {
  color: var(--hub-color-text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-partner {
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.92), rgba(255, 255, 255, 0.95)),
    var(--hub-color-background);
}

.hub-partner__card {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--hub-color-border);
  background: var(--hub-color-surface);
}

.hub-partner__visual {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}

.hub-partner__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.hub-blog__list {
  display: grid;
  gap: 1rem;
}

.hub-blog__item {
  display: grid;
  grid-template-columns: minmax(14rem, 0.45fr) minmax(0, 1.55fr);
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: var(--hub-rule);
}

.hub-blog__item:last-child {
  border-bottom: 0;
}

.hub-blog__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hub-blog__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.hub-footer {
  padding: var(--hub-section-space) clamp(1.25rem, 3vw, 2.5rem) 2.5rem;
  background: var(--hub-color-text);
  color: var(--hub-color-background);
}

.hub-footer__inner {
  width: min(calc(100% - 2.5rem), var(--hub-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(12rem, 0.5fr));
  gap: 2rem;
}

.hub-footer__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.hub-footer__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hub-footer__input {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 248, 240, 0.2);
  background: transparent;
  color: inherit;
}

.hub-footer__button {
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--hub-color-secondary);
  background: var(--hub-color-secondary);
  color: var(--hub-color-surface);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-footer__links,
.hub-footer__meta {
  display: grid;
  gap: 0.75rem;
}

.hub-footer__heading {
  color: rgba(255, 248, 240, 0.72);
  font-family: var(--hub-font-heading);
  font-size: 1.5rem;
}

.hub-footer__line {
  color: rgba(255, 248, 240, 0.82);
}

.hub-page-hero,
.hub-about__gallery,
.hub-team__grid,
.hub-programs-page__grid,
.hub-contact__hero {
  width: min(calc(100% - 2.5rem), var(--hub-max-width));
  margin: 0 auto;
}

.hub-page-hero {
  padding: 10rem 0 4rem;
}

.hub-page-hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
}

.hub-about__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-about__image,
.hub-team__photo,
.hub-programs-page__image,
.hub-contact__image {
  overflow: hidden;
}

.hub-about__image {
  aspect-ratio: 4 / 5;
}

.hub-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hub-team__card {
  display: grid;
  gap: 0.85rem;
}

.hub-team__photo {
  aspect-ratio: 3 / 4;
}

.hub-team__name {
  font-size: 2rem;
}

.hub-team__role {
  color: var(--hub-color-text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-programs-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-programs-page__card {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--hub-rule);
}

.hub-programs-page__image {
  aspect-ratio: 16 / 10;
}

.hub-contact__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hub-contact__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: var(--hub-rule);
  background: rgba(255, 255, 255, 0.8);
}

.hub-contact__heading {
  color: var(--hub-color-accent);
  font-family: var(--hub-font-heading);
  font-size: 1.5rem;
}

.hub-contact__line {
  color: var(--hub-color-text);
}

.hub-contact__line--link {
  color: var(--hub-color-primary);
}

.hub-contact__image {
  aspect-ratio: 4 / 5;
}

.hub-contact__form {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.hub-contact__field {
  display: grid;
  gap: 0.5rem;
}

.hub-contact__label {
  display: inline-block;
  color: var(--hub-color-accent);
  font-family: var(--hub-font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.hub-contact__actions {
  display: flex;
  justify-content: flex-start;
}

[data-lang-target] {
  display: none;
}

html[data-lang='sr'] [data-lang-target='sr'],
html[data-lang='en'] [data-lang-target='en'] {
  display: initial;
}

html[data-lang='sr'] [data-lang-aria-sr],
html[data-lang='en'] [data-lang-aria-en] {
  display: inline;
}

@media (max-width: 1100px) {
  .hub-hero__inner,
  .hub-story-grid,
  .hub-involved__grid,
  .hub-partner__card,
  .hub-contact__hero,
  .hub-footer__inner {
    grid-template-columns: 1fr;
  }

  .hub-impact__row,
  .hub-impact__row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hub-impact__row:nth-child(even) .hub-impact__story {
    order: 0;
  }

  .hub-impact__story,
  .hub-blog__item {
    grid-template-columns: 1fr;
  }

  .hub-photo-essay__strip,
  .hub-testimonials__grid,
  .hub-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  section {
    padding: 4.5rem 1.25rem;
  }

  .hub-nav {
    top: 0.75rem;
    width: calc(100% - 1rem);
  }

  .hub-nav__menu {
    display: inline-grid;
  }

  .hub-nav__links {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.2rem 1.25rem;
    border: 1px solid var(--hub-color-border);
    border-radius: 1.5rem;
    background: rgba(255, 248, 240, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .hub-nav.is-open .hub-nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hub-announcement {
    padding-top: 6.5rem;
  }

  .hub-announcement__strip,
  .hub-section-head,
  .hub-footer__form {
    grid-template-columns: 1fr;
  }

  .hub-hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hub-hero__collage {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(9rem, 12rem));
  }

  .hub-hero__panel--wide,
  .hub-hero__panel--small,
  .hub-hero__note,
  .hub-hero__caption {
    margin-top: 0;
    position: static;
    writing-mode: initial;
    transform: none;
  }

  .hub-hero__panel--tall {
    grid-row: span 2;
  }

  .hub-hero__panel--wide {
    grid-column: 2;
    grid-row: 1;
  }

  .hub-hero__panel--small {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .hub-involved__cards,
  .hub-about__gallery,
  .hub-programs-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.05rem;
  }

  .hub-hero__search,
  .hub-footer__form {
    grid-template-columns: 1fr;
  }

  .hub-photo-essay__strip,
  .hub-testimonials__grid,
  .hub-team__grid {
    grid-template-columns: 1fr;
  }

  .hub-programs__rail {
    grid-auto-columns: minmax(16rem, 86vw);
  }

  .hub-hero__title,
  .hub-involved__title,
  .hub-page-hero__title {
    max-width: none;
  }
}
