:root {
  --black: #070707;
  --black-soft: #10100f;
  --white: #fff;
  --paper: #f4f1eb;
  --ink: #171310;
  --red: #d82811;
  --orange: #f05b12;
  --gold: #ffb40e;
  --ochre: #9c612b;
  --berry: #7c1747;
  --blue: #073f61;
  --olive: #77730a;
  --teal: #075f62;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --veneer: veneer, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --nav: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1380px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--anchor-offset, 130px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  overflow: visible;
  color: var(--ink);
  background: #f1f0f1;
}

.site-header::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -45px;
  left: 0;
  height: 105px;
  background: #f1f0f1;
  content: "";
  -webkit-mask: url("assets/nav-bottom-brush-mask-v2.png") left top / auto 100% repeat-x;
  mask: url("assets/nav-bottom-brush-mask-v2.png") left top / auto 100% repeat-x;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark,
.brand-mark__crop {
  display: block;
  width: 72px;
  height: 58px;
  flex: 0 0 72px;
  overflow: hidden;
}

.brand-mark__crop img {
  width: auto;
  max-width: none;
  height: 58px;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  font-family: var(--nav);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-item {
  position: relative;
}

.nav-item__top {
  display: flex;
  align-items: center;
}

.site-nav__link {
  position: relative;
  padding: 12px clamp(6px, 0.55vw, 9px);
  white-space: nowrap;
}

.site-nav__link::after {
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: 7px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.nav-item.submenu-open .site-nav__link::after {
  transform: scaleX(1);
}

.nav-item--has-dropdown .site-nav__link::after {
  display: none;
}

.submenu-toggle {
  display: grid;
  width: 20px;
  height: 36px;
  margin: 0 2px 0 -7px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.submenu-toggle span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-item.submenu-open .submenu-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 10;
  display: none;
  min-width: 235px;
  padding: 9px;
  border-top: 4px solid var(--orange);
  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
  font-family: var(--nav);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.nav-item:nth-last-child(-n + 4) .submenu {
  right: 0;
  left: auto;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(23,19,16,0.1);
  white-space: nowrap;
}

.submenu a:last-child {
  border-bottom: 0;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

@media (min-width: 1241px) {
  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu,
  .nav-item.submenu-open .submenu {
    display: block;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.menu-toggle__icon {
  display: grid;
  width: 30px;
  gap: 5px;
}

.menu-toggle__icon span {
  display: block;
  height: 3px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  padding: 75px 0 62px;
  background:
    radial-gradient(circle at 47% 110%, rgba(209, 41, 13, 0.18), transparent 40%),
    linear-gradient(rgba(5,5,5,0.76), rgba(5,5,5,0.92)),
    url("assets/pattern-bg.webp") center / cover;
}

.brand-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 330px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 422px;
  gap: 70px;
}

.brand-hero__doomadgee,
.brand-hero h1 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.82;
  text-transform: uppercase;
}

.brand-hero__doomadgee {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--paper);
  font-family: var(--veneer);
  font-size: clamp(5rem, 10.6vw, 10.5rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-shadow: 4px 4px 0 rgba(255,255,255,0.08);
}

.brand-hero h1 {
  margin-top: 10px;
  color: var(--orange);
  font-family: var(--veneer);
  font-size: clamp(5.2rem, 8.55vw, 9rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  transform: none;
  transform-origin: left;
}

.brand-hero h1 span:first-child {
  color: #eb3d0e;
}

.brand-hero h1 span:last-child {
  color: #ff8e0f;
}

@media (min-width: 761px) {
  .brand-hero h1 {
    white-space: nowrap;
  }
}

.brand-hero__tagline {
  width: max-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  color: var(--paper);
  font-family: "Caveat", cursive;
  font-size: clamp(2rem, 2.85vw, 2.7rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.15;
  transform: none;
}

.brand-hero__emblem {
  width: 422px;
  height: 350px;
  overflow: hidden;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,0.48));
}

.brand-hero__emblem img {
  width: auto;
  max-width: none;
  height: 350px;
}

.brand-hero__pattern {
  position: absolute;
  z-index: 1;
  width: 330px;
  height: 330px;
  border: 15px dotted rgba(239, 64, 17, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 157, 12, 0.07), 0 0 0 46px rgba(211, 37, 12, 0.06);
}

.brand-hero__pattern--left {
  bottom: -250px;
  left: -170px;
}

.brand-hero__pattern--right {
  top: -230px;
  right: -90px;
}

.connect {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: 0 0 70px;
  background: var(--black);
}

.connect__panel {
  padding: 24px 28px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(38, 38, 38, 0.96), rgba(20, 20, 20, 0.96)),
    url("assets/pattern-bg.webp") center / cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.38);
}

.connect__heading {
  margin-bottom: 20px;
  text-align: center;
}

.connect__heading h2 {
  margin: 0;
  font-family: var(--veneer);
  font-size: clamp(2rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.connect__heading p {
  margin: 3px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.connect__form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.connect__form input,
.connect__form button,
.site-footer__signup input,
.site-footer__signup button {
  width: 100%;
  min-height: 52px;
  padding: 12px 17px;
  border: 0;
  border-radius: 9px;
}

.connect__form input,
.site-footer__signup input {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
}

.connect__form button,
.site-footer__signup button,
.button {
  border: 0;
  background: linear-gradient(90deg, #d72c0c, #f2600d 55%, #fb9210);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.connect__form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.homepage-content {
  position: relative;
  overflow: hidden;
  padding: 12px 0 112px;
  background:
    linear-gradient(rgba(7,7,7,0.93), rgba(7,7,7,0.96)),
    url("assets/pattern-bg.webp") center top / 1800px auto repeat-y;
}

.homepage-content::before,
.homepage-content::after {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 13px dotted rgba(228, 52, 15, 0.32);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.homepage-content::before {
  top: 520px;
  right: -225px;
}

.homepage-content::after {
  bottom: 150px;
  left: -235px;
}

.content-group {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  scroll-margin-top: 88px;
}

.group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 18px;
}

.group-heading h2,
.get-involved h2,
.support-summary h2 {
  margin: 0;
  font-family: var(--veneer);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.group-heading p {
  max-width: 500px;
  margin: 0 0 4px;
  color: rgba(255,255,255,0.58);
  text-align: right;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  --accent: var(--orange);
  position: relative;
  display: grid;
  min-height: 340px;
  overflow: hidden;
  align-content: end;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9px;
  background:
    radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 38%),
    linear-gradient(145deg, #1a1917, #090909 72%);
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card::before {
  position: absolute;
  top: -76px;
  right: -74px;
  z-index: -1;
  width: 245px;
  height: 245px;
  border: 10px dotted color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 75%, white);
  transform: translateY(-5px);
}

.feature-card--red { --accent: var(--red); }
.feature-card--orange { --accent: var(--orange); }
.feature-card--gold { --accent: var(--gold); }
.feature-card--ochre { --accent: var(--ochre); }
.feature-card--berry { --accent: var(--berry); }
.feature-card--blue { --accent: var(--blue); }
.feature-card--olive { --accent: var(--olive); }
.feature-card--teal { --accent: var(--teal); }

.feature-card__visual {
  position: absolute;
  top: 44px;
  left: 50%;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--accent) 75%, white);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(5,5,5,0.62);
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateX(-50%);
}

.feature-card__visual svg {
  width: 86px;
  height: 86px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__visual--avatars svg {
  fill: currentColor;
  stroke: none;
}

.feature-card__visual--rings {
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card__visual--rings span,
.feature-card__visual--rings span::before,
.feature-card__visual--rings span::after {
  display: block;
  width: 38px;
  height: 38px;
  border: 8px dotted var(--gold);
  border-radius: 50%;
  content: "";
}

.feature-card__visual--rings span::before {
  margin: -32px 0 0 -32px;
  width: 86px;
  height: 86px;
  opacity: 0.75;
}

.feature-card__visual--rings span::after {
  margin: -110px 0 0 -57px;
  width: 136px;
  height: 136px;
  opacity: 0.45;
}

.feature-card__label {
  display: grid;
  min-height: 92px;
  align-items: center;
  padding: 20px 22px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 92%, #000), color-mix(in srgb, var(--accent) 63%, #111));
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.feature-card__label strong {
  max-width: 250px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.4vw, 2.45rem);
  letter-spacing: 0.015em;
  line-height: 0.96;
  text-transform: uppercase;
}

.feature-card__label > span {
  font-size: 2.35rem;
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-card__label > span {
  transform: translateX(4px);
}

.card-grid--team .feature-card,
.card-grid--events .feature-card,
.card-grid--impact .feature-card {
  min-height: 190px;
}

.team-card,
.event-card,
.impact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-color: color-mix(in srgb, var(--accent) 68%, rgba(255,255,255,0.28));
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent) 86%, #2b1008),
    color-mix(in srgb, var(--accent) 68%, #100806)
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 36px rgba(0,0,0,0.3);
}

.team-card.feature-card--gold,
.event-card.feature-card--gold,
.impact-card.feature-card--gold {
  background: linear-gradient(145deg, #b87600, #815000);
}

.team-card::before,
.event-card::before,
.impact-card::before {
  display: none;
}

.team-card:hover,
.event-card:hover,
.impact-card:hover {
  border-color: rgba(255,255,255,0.72);
}

.team-card .feature-card__visual,
.event-card .feature-card__visual,
.impact-card .feature-card__visual {
  position: static;
  order: 2;
  width: 74px;
  height: 74px;
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.team-card .feature-card__visual svg,
.event-card .feature-card__visual svg,
.impact-card .feature-card__visual svg {
  width: 68px;
  height: 68px;
  stroke-width: 3.5;
  filter: none;
}

.team-card .feature-card__label,
.event-card .feature-card__label,
.impact-card .feature-card__label {
  display: block;
  order: 1;
  width: 100%;
  min-height: 0;
  padding: 0 24px;
  background: transparent;
  text-align: center;
}

.team-card .feature-card__label strong,
.event-card .feature-card__label strong,
.impact-card .feature-card__label strong {
  display: block;
  max-width: none;
  font-family: var(--veneer);
  font-size: clamp(1.7rem, 1.9vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.05;
}

.action-row {
  display: grid;
  max-width: 920px;
  margin: 20px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.action-row--single {
  width: 100%;
  max-width: 340px;
  grid-template-columns: 1fr;
}

.action-row--team {
  width: 100%;
  max-width: 700px;
}

.action-row.action-row--single a,
.action-row.action-row--team a {
  min-height: 60px;
  padding: 12px 18px;
  border-color: rgba(255,255,255,0.28);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.action-row--single .action-row__icon,
.action-row--team .action-row__icon {
  font-size: 1.55rem;
}

.action-row--team .action-row__icon svg {
  width: 24px;
  height: 24px;
}

.action-row a {
  display: grid;
  min-height: 72px;
  align-items: center;
  padding: 13px 21px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(5,5,5,0.7);
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.action-row a:hover {
  border-color: var(--orange);
  background: rgba(240,91,18,0.09);
}

.action-row__icon {
  color: var(--orange);
  font-family: var(--body);
  font-size: 2rem;
}

.action-row__icon svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-row--team a {
  border-color: rgba(255,255,255,0.22);
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
}

.get-involved {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: linear-gradient(105deg, #a61c0b, var(--orange) 57%, var(--gold));
}

.get-involved::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 480px;
  height: 480px;
  border: 32px dotted rgba(255,255,255,0.14);
  border-radius: 50%;
  content: "";
}

.get-involved__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
}

.eyebrow {
  margin: 0 0 9px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.get-involved p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 24px;
  border: 2px solid rgba(255,255,255,0.76);
  border-radius: 9px;
  background: rgba(8,8,8,0.9);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.support-summary {
  padding: 78px 0 92px;
  color: var(--ink);
  background: var(--paper);
}

.support-summary__inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(280px, 0.85fr) 1.3fr;
  gap: 70px;
}

.support-summary p:not(.eyebrow) {
  margin: 15px 0 0;
  color: #665d55;
}

.support-summary__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-summary__links a {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 14px 17px;
  border: 1px solid rgba(23,19,16,0.18);
  border-radius: 9px;
  background: var(--white);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.support-summary__links a:hover {
  border-color: var(--orange);
  transform: translateX(3px);
}

.support-summary__links span {
  color: var(--orange);
  font-size: 1.35rem;
}

.site-footer {
  position: relative;
  isolation: isolate;
  padding: 65px 0 30px;
  color: rgba(255,255,255,0.86);
  background:
    linear-gradient(rgba(7,7,7,0.94), rgba(7,7,7,0.97)),
    url("assets/pattern-bg.webp") center top / 1800px auto repeat-y;
}

.site-footer::before {
  position: absolute;
  top: -45px;
  right: 0;
  left: 0;
  z-index: 0;
  height: 105px;
  background: var(--black);
  content: "";
  -webkit-mask: url("assets/nav-bottom-brush-mask-v2.png") left top / auto 100% repeat-x;
  mask: url("assets/nav-bottom-brush-mask-v2.png") left top / auto 100% repeat-x;
  pointer-events: none;
  transform: scaleY(-1);
}

.site-footer__inner,
.site-footer__acknowledgement {
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.5fr 0.9fr;
  gap: 70px;
}

.site-footer h2 {
  margin: 0 0 15px;
  color: var(--white);
  font-family: var(--veneer);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__links a {
  border-bottom: 1px solid rgba(255,255,255,0.42);
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__links a:hover {
  border-color: var(--orange);
  color: var(--white);
}

.site-footer__brand {
  text-align: center;
}

.site-footer__brand > img:first-child {
  width: min(100%, 390px);
  margin: 0 auto;
}

.site-footer__brand .site-footer__dasc {
  width: 104px;
  margin: 15px auto 5px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}

.site-footer__brand p {
  margin: 0;
  font-weight: 700;
}

.site-footer__signup {
  display: grid;
  gap: 10px;
}

.site-footer__signup input,
.site-footer__signup button {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.18);
}

.site-footer__signup button {
  font-size: 0.8rem;
}

.site-footer__acknowledgement {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 1380px) {
  :root {
    --shell: min(100% - 48px, 1050px);
  }

  .brand-hero__inner {
    grid-template-columns: minmax(0, 1fr) 338px;
    gap: 35px;
  }

  .brand-hero__emblem {
    width: 338px;
    height: 280px;
  }

  .brand-hero__emblem img {
    height: 280px;
  }

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

  .feature-card {
    min-height: 360px;
  }
}

@media (min-width: 1241px) and (max-width: 1380px) {
  .site-header__inner {
    width: calc(100vw - 48px);
  }
}

@media (max-width: 1240px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - 70px);
    padding: 28px max(24px, calc((100% - var(--shell)) / 2));
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    background: #f1f0f1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(23,19,16,0.14);
  }

  .nav-item__top {
    width: 100%;
  }

  .site-nav__link {
    padding: 13px 2px;
    flex: 1;
    font-size: 1.4rem;
  }

  .site-nav__link::after {
    right: 0;
    bottom: 3px;
    left: 0;
  }

  .submenu-toggle {
    width: 52px;
    height: 52px;
    margin: 0;
    flex: 0 0 52px;
  }

  .submenu-toggle span {
    width: 10px;
    height: 10px;
  }

  .submenu {
    position: static;
    display: block;
    visibility: hidden;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    border: 0;
    background: rgba(23,19,16,0.05);
    box-shadow: none;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .nav-item.submenu-open .submenu {
    visibility: visible;
    max-height: 520px;
    padding: 6px 12px 12px;
  }

  .submenu a {
    padding: 10px 12px;
    white-space: normal;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-open .menu-toggle__icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-open .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle__icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header__inner {
    min-height: 65px;
  }

  .brand-mark,
  .brand-mark__crop {
    width: 64px;
    height: 52px;
    flex-basis: 64px;
  }

  .brand-mark__crop img {
    height: 52px;
  }

  .menu-toggle__label {
    display: none;
  }

  .site-nav {
    height: calc(100dvh - 65px);
  }

  .brand-hero {
    min-height: auto;
    padding: 72px 0 42px;
  }

  .brand-hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-hero__doomadgee {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
  }

  .brand-hero h1 {
    margin-top: 8px;
    font-size: clamp(3.8rem, 19.8vw, 5.6rem);
  }

  .brand-hero__tagline {
    width: 100%;
    margin-top: 20px;
    padding: 6px 8px;
    font-size: clamp(1.35rem, 6.8vw, 1.8rem);
    text-align: center;
  }

  .brand-hero__emblem {
    width: 218px;
    height: 180px;
    margin: 0 auto;
  }

  .brand-hero__emblem img {
    height: 180px;
  }

  .connect {
    margin-top: 0;
    padding-top: 18px;
  }

  .connect__panel {
    padding: 22px 18px;
  }

  .connect__form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .group-heading p {
    text-align: left;
  }

  .content-group {
    padding-top: 60px;
  }

  .card-grid {
    display: grid;
    width: 100%;
    margin-right: 0;
    padding: 0;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .feature-card {
    width: 100%;
    min-height: 190px;
    scroll-snap-align: none;
  }

  .team-card .feature-card__label,
  .event-card .feature-card__label,
  .impact-card .feature-card__label {
    padding-inline: 12px;
  }

  .team-card .feature-card__label strong,
  .event-card .feature-card__label strong,
  .impact-card .feature-card__label strong {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }

  .action-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .get-involved__inner,
  .support-summary__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .get-involved__inner {
    gap: 28px;
  }

  .get-involved .button {
    width: 100%;
  }

  .support-summary__inner {
    gap: 28px;
  }

  .support-summary__links {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    gap: 44px;
  }

  .site-footer__links {
    align-items: center;
  }
}

@media (max-width: 390px) {
  .brand-hero__doomadgee {
    font-size: 3.85rem;
  }

  .brand-hero h1 {
    font-size: 3.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
