:root {
  --red: #e32329;
  --red-dark: #c9181e;
  --ink: #082f49;
  --navy: #073a59;
  --blue: #0b4f71;
  --soft-blue: #eaf3f7;
  --mist: #f4f8fa;
  --line: #dce7ed;
  --text: #1d4258;
  --muted: #627684;
  --white: #fff;
  --container: 1180px;
  --gutter: clamp(18px, 5vw, 72px);
  --radius: 8px;
  --shadow-sm: 0 12px 28px rgba(8, 47, 73, 0.08);
  --shadow-md: 0 22px 54px rgba(8, 47, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  --header-progress: 0;
  --header-height: 98px;
  --header-brand-width: clamp(122px, 12vw, 166px);
  --nav-underline-bottom: 22px;
  background: #fff;
  border-bottom: 1px solid rgba(8, 47, 73, 0.08);
  backdrop-filter: none;
  box-shadow: 0 calc(10px * var(--header-progress)) calc(28px * var(--header-progress)) rgba(8, 47, 73, calc(0.08 * var(--header-progress)));
}

.site-header.is-scrolled {
  background: #fff;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 42px);
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--gutter);
  transition: min-height 40ms linear;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-height);
}

.brand {
  width: var(--header-brand-width);
  transition: width 40ms linear;
}

.site-header.is-scrolled .brand {
  width: var(--header-brand-width);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.6vw, 28px);
  min-width: 0;
  color: #122b3d;
  font-size: clamp(11px, 0.72vw, 13px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--header-height);
  transition: min-height 40ms linear;
}

.site-header.is-scrolled .primary-nav a {
  min-height: var(--header-height);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: var(--nav-underline-bottom);
  left: 0;
  height: 2px;
  background: transparent;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-parent > a::after,
.primary-nav .current_page_parent > a::after,
.primary-nav .current-menu-ancestor > a::after {
  background: var(--red);
  transform: scaleX(1);
}

.primary-nav a.is-active,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current_page_parent > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button,
.menu-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
}

.icon-button:hover,
.menu-button:hover {
  background: var(--soft-blue);
}

.icon-button svg,
.join-link svg,
.mobile-search svg,
.footer svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.join-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.join-link:hover {
  background: var(--red-dark);
}

.join-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 49;
  width: 100%;
  max-height: calc(100dvh - var(--header-height) - 18px);
  overflow: auto;
  border: 0;
  border-top: 1px solid rgba(8, 47, 73, 0.1);
  border-bottom: 1px solid rgba(8, 47, 73, 0.1);
  border-radius: 0 0 4px 4px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(8, 47, 73, 0.14);
  overscroll-behavior: auto;
  transition: top 40ms linear, max-height 40ms linear;
}

.site-header.is-scrolled .mobile-menu {
  top: var(--header-height);
  max-height: calc(100dvh - var(--header-height) - 18px);
}

.desktop-search {
  position: absolute;
  right: var(--gutter);
  bottom: -62px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(220px, 320px) auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.desktop-search[hidden] {
  display: none;
}

.desktop-search input {
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 0;
  color: var(--ink);
  outline: 0;
}

.desktop-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav,
.mobile-search {
  width: 100%;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 12px;
}

.mobile-search input {
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--mist);
}

.mobile-search button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.mobile-search svg {
  width: 19px;
  height: 19px;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  padding-top: 6px;
  padding-bottom: 22px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid rgba(220, 231, 237, 0.76);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu a.is-active,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a,
.mobile-menu .current-menu-parent > a,
.mobile-menu .current_page_parent > a,
.mobile-menu .current-menu-ancestor > a {
  color: var(--red);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--mist);
  cursor: grab;
  touch-action: pan-y;
}

.hero.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.hero a,
.hero button {
  cursor: pointer;
}


.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(94px, 9vw, 138px) var(--gutter) 82px;
  box-sizing: border-box;
}

.hero-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  z-index: 0;
  width: min(84vw, 1120px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.36) 76%, rgba(255, 255, 255, 0) 100%);
}

.hero-inner > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.red-rule {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  background: var(--red);
}

.hero h1,
.section-intro h2,
.section-heading h2,
.membership h2,
.supporters h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(62px, 7.8vw, 108px);
  line-height: 0.96;
}

.hero-lead {
  max-width: 560px;
  margin: 30px 0 34px;
  color: var(--text);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 600;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.hero-slides {
  display: grid;
}

.hero-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: opacity 520ms ease, visibility 0s linear 520ms, transform 220ms ease;
}

.hero.is-dragging .hero-slide.is-active {
  transform: translate3d(var(--hero-drag-x, 0), 0, 0);
  transition: none;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.hero-controls {
  position: absolute;
  right: auto;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: translateX(-50%);
}

.hero-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.hero-controls button:hover,
.hero-controls button:focus-visible {
  background: #fff;
}

.hero-controls button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 3px;
  opacity: 0.55;
  transition: opacity 180ms ease;
}

.hero-dots:hover,
.hero-dots:focus-within {
  opacity: 0.85;
}

.hero-controls .hero-dots button {
  position: relative;
  width: 9px;
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  transition: width 180ms ease, background-color 180ms ease;
}

.hero-controls .hero-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
}

.hero-controls .hero-dots button[aria-current="true"] {
  width: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-controls .hero-dots button[aria-current="true"]::after {
  transform: scaleX(var(--hero-progress, 0));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.button span,
.text-link span,
.service-card a span {
  font-size: 21px;
  line-height: 0;
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 26px rgba(227, 35, 41, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  border: 1px solid rgba(8, 47, 73, 0.35);
  background: rgba(255, 255, 255, 0.78);
}

.services-section {
  position: relative;
  padding: 0;
  background: var(--white);
}

.services-section .section-intro {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-intro,
.section-heading,
.service-track,
.news-grid,
.membership,
.supporters > .eyebrow,
.supporters > h2,
.footer-inner,
.footer-bottom {
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.section-intro {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.section-intro h2 {
  color: var(--ink);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1;
}

.service-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: clamp(34px, 4vw, 46px);
  padding-bottom: clamp(34px, 4vw, 46px);
  border-top: 0;
  border-bottom: 0;
}

.service-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 230px;
  padding: 8px clamp(18px, 2vw, 34px);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  text-align: center;
}

.service-card:first-child {
  border-left: 0;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 14px 26px rgba(8, 47, 73, 0.1);
}

.service-icon.is-red {
  background: var(--red);
}

.service-icon.is-blue {
  background: var(--navy);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-card p {
  display: -webkit-box;
  min-height: 56px;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: end;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-section {
  padding: clamp(54px, 6vw, 82px) 0 clamp(68px, 7vw, 96px);
  background:
    linear-gradient(180deg, rgba(244, 248, 250, 0.9), rgba(234, 243, 247, 0.94)),
    var(--mist);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.section-heading h2 {
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-link span {
  color: var(--red);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-card-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  width: min(78%, 260px);
  min-height: 178px;
  padding: 20px 20px 22px;
  border-radius: 0 var(--radius) 0 0;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(8, 47, 73, 0.08);
}

.news-type {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-card h3 {
  display: -webkit-box;
  min-height: 3.99em;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.33;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card time {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.membership {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(380px, 1fr) minmax(270px, 0.72fr);
  grid-template-rows: minmax(360px, auto);
  align-items: stretch;
  position: relative;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-top: clamp(54px, 6vw, 78px);
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e6eef2;
  box-shadow: 0 18px 36px rgba(8, 47, 73, 0.08);
}

.membership-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 0;
  color: var(--white);
  background:rgba(7, 58, 89)
}

.membership-copy::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -112px;
  width: 224px;
  height: 140%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
}

.membership-copy h2 {
  max-width: 360px;
  color: var(--white);
  font-size: clamp(35px, 3vw, 48px);
  line-height: 0.96;
}

.membership-copy h2 span {
  color: var(--red);
}

.membership-copy .red-rule {
  margin-top: 18px;
}

.membership-copy p:not(.eyebrow) {
  max-width: 330px;
  margin: 22px 0 28px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.55;
}

.membership-copy .button {
  justify-self: start;
  min-width: 170px;
}

.membership-media {
  position: relative;
  z-index: 0;
  grid-column: 2 / 4;
  grid-row: 1;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0;
}

.membership-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership-benefits {
  z-index: 3;
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  display: grid;
  align-content: center;
  gap: 22px;
  width: 100%;
  margin: 30px;
  padding: 30px 26px;
  border: 0;
  border-radius: var(--radius);
  list-style: none;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 48px rgba(8, 47, 73, 0.12);
  backdrop-filter: blur(10px);
}

.membership-benefits li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 13px;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.membership-benefits svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.supporters {
  padding: clamp(52px, 5vw, 68px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.supporters-shell {
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.supporters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.supporters h2 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
}

.partner-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.partner-control {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.partner-control[hidden] {
  display: none;
}

.partner-control:hover,
.partner-control:focus-visible {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  outline: 0;
}

.partner-control:disabled {
  opacity: 0.35;
  cursor: default;
}

.partner-control:disabled:hover {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.partner-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.partner-carousel {
  margin-top: 26px;
}

.partner-viewport {
  width: 100%;
  padding: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.partner-viewport::-webkit-scrollbar {
  display: none;
}

.partner-viewport:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

.partner-track {
  display: flex;
  gap: 12px;
  width: 100%;
}

.partner-card {
  display: grid;
  place-items: center;
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: border-color 160ms ease, background 160ms ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: var(--red);
  background: #fffafa;
  outline: 0;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: min(180px, 100%);
  height: auto;
  max-height: 66px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.footer {
  position: relative;
  --footer-right-fade-opacity: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(135deg, #043955 0%, #052d45 58%, #021f32 100%);
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
  opacity: var(--footer-right-fade-opacity);
  width: clamp(46px, 13vw, 74px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 19, 31, 0), rgba(1, 15, 25, 0.92));
}

.footer:not(.has-scroll)::after {
  opacity: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.7fr) minmax(210px, 0.9fr) minmax(270px, 1.05fr);
  gap: clamp(36px, 5vw, 78px);
  padding-top: clamp(54px, 5vw, 72px);
  padding-bottom: 42px;
}

.footer-about img {
  width: 118px;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
}

.footer h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.62;
}

.footer-about p {
  max-width: 280px;
  margin: 0 0 22px;
}

.footer section > a {
  display: block;
  margin-bottom: 8px;
}

.footer a.is-current {
  color: #ff7478;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.contact p {
  position: relative;
  margin: 0 0 14px;
  padding-left: 34px;
}

.contact svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  color: #d7eff8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.4;
}

.footer-bottom span {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .header-inner {
    min-height: var(--header-height);
  }

  .site-header.is-scrolled .header-inner {
    min-height: var(--header-height);
  }

  .mobile-menu {
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height) - 18px);
  }

  .site-header.is-scrolled .mobile-menu {
    top: var(--header-height);
    max-height: calc(100dvh - var(--header-height) - 18px);
  }

  .primary-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .search-toggle {
    display: none;
  }

  .hero {
    background: var(--mist);
  }

  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: -2;
    clip-path: none;
  }

  .hero-media::after {
    display: none;
  }

  .hero-inner {
    padding-top: clamp(78px, 9vw, 112px);
    padding-bottom: clamp(56px, 8vw, 78px);
  }

  .hero-inner::before {
    width: 100vw;
    background: linear-gradient(90deg,  rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.50) 48%, rgba(255, 255, 255, 0.68) 72%, rgba(255, 255, 255, 0.08) 100%);
  }

  .service-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border: 0;
    padding-top: clamp(34px, 4vw, 46px);
    padding-bottom: clamp(34px, 4vw, 46px);
    scroll-padding-left: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 74px), rgba(0, 0, 0, 0.35) calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 74px), rgba(0, 0, 0, 0.35) calc(100% - 28px), transparent 100%);
  }

  .service-track::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(295px, calc(100vw - var(--gutter) * 2));
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .service-card:first-child {
    border-left: 0;
  }

  .membership {
    grid-template-columns: minmax(280px, 0.9fr) minmax(330px, 1.1fr);
    grid-template-rows: auto auto;
  }

  .membership-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .membership-copy::after {
    right: -82px;
    width: 164px;
  }

  .membership-media {
    grid-column: 2;
    grid-row: 1;
  }

  .membership-benefits {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 24px;
    border-radius: 0;
    background:#fff;
    border-top: 1px solid var(--line);
    box-shadow: none;
  }

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

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 14px;
    min-height: var(--header-height);
  }

  .site-header.is-scrolled .header-inner {
    min-height: var(--header-height);
  }

  .mobile-menu {
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height) - 18px);
  }

  .site-header.is-scrolled .mobile-menu {
    top: var(--header-height);
    max-height: calc(100dvh - var(--header-height) - 18px);
  }

  .brand {
    width: var(--header-brand-width);
  }

  .site-header.is-scrolled .brand {
    width: var(--header-brand-width);
  }

  .header-actions {
    justify-self: end;
  }

  .join-link {
    display: inline-flex;
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 13px;
    font-size: 11px;
    gap: 7px;
  }

  .join-link svg {
    width: 15px;
    height: 15px;
  }

  .hero {
    min-height: 0;
    background: var(--white);
  }

  .hero::after {
    display: none;
  }

  .hero-slide {
    display: block;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    z-index: 0;
    clip-path: none;
  }

  .hero-controls {
    top: calc(260px + 15px);
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-inner::before {
    display: none;
  }

  .hero h1 {
    max-width: 440px;
    font-size: clamp(52px, 15vw, 78px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .text-link {
    justify-self: start;
    margin-bottom: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    display: block;
  }

  .news-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.24 / 1;
  }

  .news-card-copy {
    min-height: 178px;
  }

  .membership {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .membership-copy {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }

  .membership-copy::after {
    display: none;
  }

  .membership-media {
    grid-column: 1;
    grid-row: auto;
    min-height: 320px;
    border-radius: 0;
  }

  .membership-benefits {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    justify-items: stretch;
    grid-template-columns: 1fr;
    width: 100%;
    margin: -44px 0 22px;
    padding: 22px;
    border: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 18px 38px rgba(8, 47, 73, 0.12);
  }

  .supporters-heading {
    align-items: center;
    gap: 14px;
  }

  .partner-card {
    flex-basis: calc((100% - 24px) / 3);
    min-height: 88px;
    padding: 10px;
  }

  .partner-logo img {
    max-width: 82px;
    max-height: 40px;
  }

  .footer-inner {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    padding-top: 42px;
    padding-bottom: 32px;
    scroll-padding-left: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }

  .footer::after {
    display: block;
  }

  .footer-inner::-webkit-scrollbar {
    height: 8px;
  }

  .footer-inner::-webkit-scrollbar-track {
    background: transparent;
  }

  .footer-inner::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  .footer-inner:active,
  .footer-inner.is-dragging {
    cursor: grabbing;
  }

  .footer-inner > section {
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: start;
  }

  .footer-inner > section:nth-of-type(2),
  .footer-inner > section:nth-of-type(3) {
    display: block;
    flex-basis: min(62vw, 240px);
  }

  .footer-about p {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-intro h2,
  .section-heading h2,
  .supporters h2 {
    font-size: 42px;
  }

  .service-card {
    flex-basis: 75vw;
    min-height: 230px;
  }

  .news-card {
    display: block;
  }

  .news-card img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.36 / 1;
  }

  .news-card-copy {
    min-height: 178px;
  }

  .membership-media {
    min-height: 260px;
  }

  .membership-benefits li {
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 64px;
    padding: 0;
  }

  .footer-inner {
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .footer-inner > section {
    flex-basis: min(82vw, 320px);
  }

  .footer-inner > section:nth-of-type(2),
  .footer-inner > section:nth-of-type(3) {
    flex-basis: min(68vw, 240px);
  }

  .footer-about img {
    width: 104px;
    margin-bottom: 16px;
  }

  .footer-about p,
  .footer p,
  .footer a {
    font-size: 13px;
  }

  .footer-bottom {
    display: block;
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .footer-bottom p + p {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide {
		transition: none;
	}

	.hero-controls .hero-dots button {
		transition: none;
	}
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
