:root {
  color-scheme: dark;
  --black: #080a08;
  --black-soft: #0d100d;
  --surface: #121612;
  --surface-2: #181d18;
  --paper: #0b160f;
  --paper-soft: #b8c8bd;
  --ink: #f1f3eb;
  --ink-dark: #f2fff6;
  --muted: #a6afa1;
  --muted-dark: #9daf9f;
  --accent: #00b954;
  --accent-bright: #00e06a;
  --accent-dark: #00923f;
  --danger: #e45d51;
  --line: rgba(230, 233, 223, 0.16);
  --line-dark: rgba(0, 185, 84, 0.24);
  --gutter: max(24px, calc((100vw - 1440px) / 2));
  --section-space: clamp(64px, 7vw, 108px);
  --display: "Arial Narrow", "Aptos Narrow", "Franklin Gothic Medium", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity: 0.16;
}

::selection {
  color: var(--black);
  background: var(--accent-bright);
}

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

img {
  max-width: 100%;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.6vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.sr-only {
  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: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--accent-bright);
  font-weight: 900;
  transform: translateY(-160%);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background: rgba(8, 10, 8, 0.76);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-bottom-color: var(--line);
  background: rgba(8, 10, 8, 0.95);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: width 180ms ease, height 180ms ease;
}

.is-scrolled .brand-logo {
  width: 44px;
  height: 44px;
}

.brand-copy,
.brand strong {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav > a,
.account-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border: 0;
  color: var(--paper-soft);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.account-trigger:hover,
.account-trigger:focus-visible {
  color: var(--ink);
  background: rgba(230, 233, 223, 0.07);
}

.site-nav > a:last-child,
.site-nav .login-link {
  margin-left: 6px;
  padding-inline: 18px;
  color: var(--black);
  background: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav > a:last-child:hover,
.site-nav > a:last-child:focus-visible,
.site-nav .login-link:hover,
.site-nav .login-link:focus-visible {
  color: var(--black);
  background: var(--accent-bright);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.account-menu {
  position: relative;
}

.account-trigger {
  gap: 10px;
  border: 1px solid var(--line);
}

.account-avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--black);
  background: var(--accent);
  font-family: var(--mono);
  font-weight: 900;
}

.account-label {
  display: grid;
  gap: 1px;
  text-align: left;
}

.account-label strong,
.account-label small {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-label strong {
  font-size: 0.8rem;
}

.account-label small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  width: min(260px, 88vw);
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--black-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.account-panel[hidden] {
  display: none;
}

.account-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  color: var(--paper-soft);
  font-size: 0.86rem;
}

.account-panel a:hover,
.account-panel a:focus-visible {
  color: var(--ink);
  background: rgba(230, 233, 223, 0.07);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 2.6vw, 38px);
  min-height: min(1090px, calc(100svh - 82px + 230px));
  padding: clamp(46px, 6vh, 72px) var(--gutter) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #1d2b1b;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(2, 7, 4, 0.97) 0%, rgba(2, 12, 6, 0.8) 44%, rgba(2, 14, 7, 0.34) 76%, rgba(2, 7, 4, 0.62) 100%),
    linear-gradient(0deg, rgba(2, 7, 4, 0.96) 0%, transparent 35%);
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.86) contrast(1.05);
  transform: scale(1.015);
}

.hero-content {
  grid-column: 1 / span 7;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto minmax(24px, 1fr) auto auto;
  max-width: 820px;
  min-width: 0;
  padding: clamp(10px, 2vh, 24px) 0 clamp(28px, 4vh, 46px);
}

.hero-meta {
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: clamp(22px, 3vh, 30px);
  color: #d5ddd4;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--accent);
  content: "";
  vertical-align: 1px;
}

.section-kicker,
.brief-label {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  grid-row: 2;
  max-width: none;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3.8rem, 6.2vw, 7.05rem);
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 .accent-line {
  color: var(--accent);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.hero-copy {
  grid-row: 4;
  align-self: end;
  max-width: 520px;
  margin-bottom: 0;
  color: var(--paper-soft);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.5;
}

.hero-actions {
  grid-row: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button::after {
  margin-left: 13px;
  content: "↗";
  font-size: 1rem;
  transition: transform 160ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translate(2px, -2px);
}

.button.primary {
  color: var(--black);
  background: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-bright);
}

.button.secondary {
  border-color: rgba(230, 233, 223, 0.32);
  background: rgba(8, 10, 8, 0.24);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--paper);
  background: rgba(230, 233, 223, 0.09);
}

.button.danger {
  border-color: rgba(228, 93, 81, 0.48);
  color: #ffe3df;
  background: rgba(228, 93, 81, 0.12);
}

.hero-brief {
  grid-column: 9 / -1;
  align-self: end;
  justify-self: end;
  width: min(100%, 360px);
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(0, 224, 106, 0.38);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin-bottom: clamp(28px, 4vh, 46px);
  background: rgba(3, 10, 6, 0.78);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.hero-brief .brief-label {
  margin-bottom: 8px;
}

.hero-brief dl {
  display: grid;
  gap: 0;
  margin-bottom: 0;
}

.hero-brief dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(230, 233, 223, 0.13);
}

.hero-brief dt {
  margin: 0;
  color: #c3cec4;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-brief dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
}

.hero-brief dd.region-value {
  max-width: none;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: right;
  text-transform: none;
}

.partner-strip {
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  min-height: 112px;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 12px var(--gutter);
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 8, 0.68);
  backdrop-filter: blur(14px);
}

.partner-strip > .partner-label {
  display: flex;
  min-width: 150px;
  align-items: center;
  padding-right: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-strip .sponsor-banner {
  display: block;
  flex: 1 1 270px;
  width: min(28vw, 360px);
  min-width: 240px;
  max-width: 360px;
  aspect-ratio: 3.08 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 185, 84, 0.26);
  border-radius: 7px;
  background: rgba(2, 7, 4, 0.88);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.partner-strip .sponsor-banner:hover,
.partner-strip .sponsor-banner:focus-visible {
  border-color: rgba(0, 224, 106, 0.72);
  background: rgba(5, 20, 10, 0.96);
  transform: translateY(-2px);
}

.partner-strip .sponsor-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-strip .sponsor-banner-airsoftdrop img {
  object-position: center;
}

/* Editorial sections */
.intro-band,
.gallery-section,
.support-section,
.content-section,
.contact-section,
.team-roster {
  padding: var(--section-space) var(--gutter);
}

.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #07120a;
}

.section-index {
  position: absolute;
  top: -0.08em;
  right: -0.02em;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(8rem, 16vw, 18rem);
  font-weight: 900;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(0, 185, 84, 0.13);
  pointer-events: none;
}

.intro-heading {
  position: relative;
  z-index: 1;
  grid-column: 1 / span 6;
}

.intro-band .section-kicker {
  color: var(--accent-dark);
}

.intro-copy {
  position: relative;
  z-index: 1;
  grid-column: 8 / -1;
  align-self: center;
  max-width: 560px;
}

.intro-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.value-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.value-list span {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

.value-list b {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(2px, -2px);
}

/* Calendar */
.calendar-section {
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: 18px;
  align-items: start;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calendar-card {
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.calendar-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-card header span {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-card header strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.calendar-grid span,
.calendar-grid time {
  display: grid;
  min-width: 0;
  min-height: 36px;
  place-items: center;
  color: var(--paper-soft);
  background: rgba(230, 233, 223, 0.035);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.calendar-grid .day-label {
  min-height: 28px;
  color: var(--muted);
  background: transparent;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.calendar-grid .outside {
  color: rgba(166, 175, 161, 0.3);
}

.calendar-grid .has-event {
  color: var(--black);
  background: var(--accent);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--accent-bright);
}

.calendar-grid .has-event.featured {
  background: #f2fff6;
}

.calendar-agenda {
  display: grid;
  border-top: 1px solid var(--line);
}

.calendar-agenda article {
  position: relative;
  padding: 18px 18px 18px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.calendar-agenda article::before {
  position: absolute;
  top: 23px;
  left: 18px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

.calendar-agenda time {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-agenda h3 {
  margin-bottom: 5px;
}

.calendar-agenda p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Gallery */
.gallery-section {
  color: var(--ink);
  background: #0a170e;
}

.gallery-section .section-kicker {
  color: var(--accent-dark);
}

.gallery-intro {
  max-width: 560px;
  margin: calc(clamp(36px, 5vw, 66px) * -0.6) 0 clamp(34px, 5vw, 60px);
  color: var(--muted-dark);
  font-size: 1.02rem;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-dark);
  color: var(--ink-dark);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--paper);
  background: var(--ink-dark);
}

.gallery-empty {
  max-width: 760px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
}

.gallery-grid {
  columns: 3 300px;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  color: var(--ink-dark);
  border-radius: 8px;
  background: #071008;
  cursor: zoom-in;
}

.gallery-item.feature {
  column-span: all;
}

.gallery-item[hidden],
.gallery-load [hidden] {
  display: none;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 185, 84, 0.28);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-width 180ms ease, border-color 180ms ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 240ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.018);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  border-width: 4px;
  border-color: var(--accent-bright);
}

.gallery-load {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.gallery-section .button.secondary {
  border-color: var(--line-dark);
  color: var(--ink-dark);
  background: transparent;
}

.gallery-section .button.secondary:hover,
.gallery-section .button.secondary:focus-visible {
  color: var(--paper);
  background: var(--ink-dark);
}

/* Social */
.support-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.support-copy {
  grid-column: 1 / span 5;
}

.support-copy p:not(.section-kicker) {
  max-width: 480px;
  color: var(--muted);
}

.social-list {
  grid-column: 7 / -1;
  display: grid;
  border-top: 1px solid var(--line);
}

.social-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, padding 160ms ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  padding-inline: 12px;
  color: var(--accent-bright);
}

.social-list a > .social-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(0, 185, 84, 0.055);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon svg .icon-fill,
.social-icon svg .icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-list a:hover .social-icon,
.social-list a:focus-visible .social-icon {
  border-color: rgba(0, 224, 106, 0.72);
  color: var(--accent-bright);
  background: rgba(0, 185, 84, 0.12);
}

.social-list strong {
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.social-list small {
  color: var(--muted);
  font-size: 0.75rem;
}

.social-list b {
  font-weight: 400;
  transition: transform 160ms ease;
}

.social-list a:hover b,
.social-list a:focus-visible b {
  transform: translate(2px, -2px);
}

/* Join */
.join-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  background: var(--black-soft);
}

.join-copy {
  grid-column: 1 / span 5;
}

.join-copy > p:not(.section-kicker) {
  max-width: 500px;
  color: var(--muted);
}

.join-copy .text-link {
  margin-top: 16px;
}

.requirements {
  grid-column: 7 / -1;
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.requirements li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.requirements > li > span,
.requirements article > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.requirements h3 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.requirements p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  background: #061109;
}

.contact-copy {
  grid-column: 1 / span 5;
}

.contact-section .section-kicker {
  color: var(--accent);
}

.contact-section h2 {
  color: var(--ink);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 450px;
  color: var(--muted);
}

.contact-mail {
  display: inline-block;
  max-width: 100%;
  margin-top: 28px;
  padding-bottom: 4px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form {
  grid-column: 7 / -1;
  display: grid;
  gap: 17px;
  padding: clamp(22px, 2.5vw, 32px);
  color: var(--ink);
  background: var(--black-soft);
  border: 1px solid rgba(0, 185, 84, 0.28);
  border-radius: 8px;
  box-shadow: 18px 18px 0 rgba(0, 146, 63, 0.12);
}

.contact-form label,
.compact-form label,
.role-form label {
  display: grid;
  gap: 8px;
  color: var(--paper-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.compact-form input,
.compact-form select,
.role-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #717a6d;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.compact-form input:focus,
.compact-form select:focus,
.role-form select:focus {
  border-color: var(--accent-bright);
  background: #151a14;
}

.contact-form .button {
  justify-self: start;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Secondary page hero */
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  min-height: 520px;
  padding: var(--section-space) var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(156, 198, 76, 0.13), transparent 46%),
    var(--black-soft);
}

.page-hero::after {
  position: absolute;
  right: -0.08em;
  bottom: -0.25em;
  color: transparent;
  content: "SAD";
  font-family: var(--display);
  font-size: clamp(10rem, 30vw, 28rem);
  font-weight: 900;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(230, 233, 223, 0.065);
  pointer-events: none;
}

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

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 9vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.055em;
}

.page-hero p:not(.section-kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.page-hero > img {
  width: min(100%, 240px);
  justify-self: center;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.46));
}

/* Team and legal pages */
.team-roster,
.legal-section {
  color: var(--ink-dark);
  background: var(--paper);
}

.team-roster .section-kicker,
.legal-section .section-kicker {
  color: var(--accent-dark);
}

.team-roster .text-link {
  color: var(--accent-dark);
}

.member-grid,
.squad-summary {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
}

.roster-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
}

.member-card {
  position: relative;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
  background: var(--paper);
  transition: color 180ms ease, background 180ms ease;
}

.member-card:hover {
  color: var(--ink);
  background: var(--surface);
}

.member-card img {
  display: block;
  width: calc(100% + 48px);
  aspect-ratio: 4 / 5;
  margin: -24px -24px 24px;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.06);
  transition: filter 180ms ease, transform 300ms ease;
}

.member-card:hover img {
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.015);
}

.member-card > span {
  display: block;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-card h3 {
  margin-top: 68px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  letter-spacing: -0.035em;
}

.member-card:has(img) h3 {
  margin-top: 22px;
}

.member-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-card:hover p {
  color: var(--muted);
}

.empty-slot {
  background:
    repeating-linear-gradient(135deg, rgba(0, 185, 84, 0.07) 0 1px, transparent 1px 18px),
    var(--paper);
}

.squad-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1px;
}

.squad-summary article {
  padding: 24px;
  background: var(--paper);
}

.squad-summary span {
  display: block;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.squad-summary strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
}

.legal-content {
  max-width: 940px;
  color: var(--muted);
}

.legal-content h2 {
  max-width: none;
  margin: 64px 0 20px;
  color: var(--ink-dark);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 34px;
  color: var(--accent-dark);
}

.legal-content a {
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-weight: 800;
}

/* Auth and internal area */
.auth-form {
  max-width: 680px;
}

.content-section > .auth-form,
.content-section > .contact-form {
  grid-column: auto;
}

.content-section:has(> .auth-form) {
  background: var(--black-soft);
}

.settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.settings-layout .contact-form {
  grid-column: auto;
}

.settings-layout .flash-message {
  grid-column: 1 / -1;
  margin: 0;
}

.settings-layout h2,
.contact-form h2 {
  max-width: none;
  margin-bottom: 5px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.admin-tabs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-tabs a:hover,
.admin-tabs a:focus-visible,
.admin-tabs a.is-active {
  color: var(--black);
  background: var(--accent);
}

.flash-message {
  margin: 16px var(--gutter);
  padding: 15px 18px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  background: var(--surface-2);
}

.flash-message.success {
  border-left-color: var(--accent-bright);
}

.flash-message.error {
  border-left-color: var(--danger);
}

.flash-message.notice {
  border-left-color: #69a9db;
}

.content-section > .flash-message {
  margin: 0 0 24px;
}

.dashboard-grid,
.management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.dashboard-card,
.management-card {
  background: var(--surface);
}

.dashboard-card {
  display: block;
  min-height: 220px;
  padding: 24px;
  transition: color 160ms ease, background 160ms ease;
}

.dashboard-card:hover,
.dashboard-card:focus-visible {
  color: var(--black);
  background: var(--accent);
}

.dashboard-card > span,
.management-card > strong,
.participant-list > strong {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-card:hover > span,
.dashboard-card:focus-visible > span {
  color: var(--accent-dark);
}

.dashboard-card h3 {
  margin-top: 62px;
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
}

.dashboard-card p,
.participant-list p,
.message-list span {
  color: var(--muted);
}

.dashboard-card:hover p,
.dashboard-card:focus-visible p {
  color: #304312;
}

.management-grid {
  margin-top: 26px;
}

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

.management-card {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.management-card img,
.profile-preview,
.profile-linked-member img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--black);
}

.management-card img {
  aspect-ratio: 4 / 3;
}

.profile-preview {
  aspect-ratio: 1;
}

.compact-form,
.role-form {
  display: grid;
  gap: 10px;
}

.event-admin-grid {
  align-items: start;
}

.event-edit-form {
  margin: 17px 0 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.participant-list {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.participant-list ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.profile-linked-member {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(156, 198, 76, 0.07);
}

.profile-linked-member span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-linked-member strong {
  font-size: 1.18rem;
}

.profile-linked-member p,
.form-hint {
  margin: 0;
  color: var(--muted);
}

.profile-linked-member img {
  width: min(220px, 100%);
  aspect-ratio: 1;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.chat-users {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.chat-users a,
.chat-panel {
  background: var(--surface);
}

.chat-users a {
  display: block;
  padding: 14px;
}

.chat-users a.is-active {
  color: var(--black);
  background: var(--accent);
}

.chat-users span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.chat-users a.is-active span {
  color: #304312;
}

.chat-panel {
  padding: 20px;
  border: 1px solid var(--line);
}

.message-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.message-list article {
  max-width: 76%;
  padding: 12px 14px;
  border-left: 2px solid var(--muted);
  background: var(--surface-2);
}

.message-list article.is-own {
  justify-self: end;
  border-left-color: var(--accent);
  background: rgba(156, 198, 76, 0.12);
}

.message-list p {
  margin: 6px 0 0;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-form {
  grid-template-columns: minmax(130px, 0.8fr) minmax(190px, 1fr) auto;
  align-items: center;
}

.delete-account-form {
  margin-top: 8px;
}

.self-account-note {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Footer and lightbox */
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 42px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--paper-soft);
  background: #050605;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.footer-brand span {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.footer-links,
.site-footer > div:not(.footer-brand) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a,
.site-footer > div:not(.footer-brand) a {
  color: var(--paper-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-links a:hover,
.site-footer > div:not(.footer-brand) a:hover {
  color: var(--accent-bright);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer > p:first-child:not(.footer-note) {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(5, 6, 5, 0.94);
  backdrop-filter: blur(16px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  width: min(1180px, 85vw);
  margin: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--black);
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--paper-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 70px;
  font-size: 2.6rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

/* Motion is progressive enhancement */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-nav > a {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .hero-content {
    grid-column: 1 / span 7;
  }

  .hero-brief {
    grid-column: 9 / -1;
  }

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

@media (max-width: 980px) {
  :root {
    --section-space: clamp(60px, 9vw, 88px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 38px;
    min-height: auto;
    padding-top: 76px;
  }

  .hero-content,
  .hero-brief,
  .partner-strip {
    grid-column: 1;
    min-width: 0;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-brief {
    align-self: start;
    justify-self: end;
    width: min(100%, 360px);
    margin-bottom: 0;
  }

  .intro-heading,
  .support-copy,
  .join-copy,
  .contact-copy {
    grid-column: 1 / span 6;
  }

  .intro-copy,
  .social-list,
  .requirements,
  .contact-form {
    grid-column: 7 / -1;
  }

  .calendar-layout,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .calendar-agenda {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .calendar-agenda article {
    border-right: 1px solid var(--line);
  }

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

@media (max-width: 840px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 70px;
  }

  .brand-logo,
  .is-scrolled .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 8, 0.99);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a,
  .account-trigger {
    min-height: 50px;
    padding-inline: 14px;
  }

  .site-nav > a:last-child,
  .site-nav .login-link {
    margin: 6px 0 0;
    justify-content: center;
  }

  .account-menu,
  .account-trigger {
    width: 100%;
  }

  .account-panel {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 36px;
    padding-top: 70px;
  }

  .hero-content,
  .hero-brief,
  .partner-strip {
    grid-column: 1;
    min-width: 0;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 10vw, 6rem);
  }

  .hero-meta {
    margin-bottom: 24px;
  }

  .hero-brief {
    width: min(100%, 360px);
  }

  .partner-strip {
    margin-top: 12px;
  }

  .partner-strip > .partner-label {
    flex: 1 0 100%;
    min-width: 0;
    padding-right: 0;
  }

  .partner-strip .sponsor-banner {
    width: auto;
    max-width: none;
  }

  .intro-band,
  .support-section,
  .join-section,
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .intro-heading,
  .intro-copy,
  .support-copy,
  .social-list,
  .join-copy,
  .requirements,
  .contact-copy,
  .contact-form {
    grid-column: 1;
  }

  .page-hero {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .page-hero > img {
    width: 150px;
    justify-self: start;
  }

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

  .settings-layout,
  .management-grid.wide {
    grid-template-columns: 1fr;
  }
}

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

  .site-header,
  .site-header.is-scrolled {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo,
  .is-scrolled .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    max-width: calc(100vw - 142px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding-top: 54px;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(8, 10, 8, 0.93), rgba(8, 10, 8, 0.53)),
      linear-gradient(0deg, rgba(8, 10, 8, 0.98) 0%, transparent 48%);
  }

  .hero-bg-image {
    object-position: 48% center;
  }

  .hero-meta {
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 12.8vw, 5.4rem);
    line-height: 0.8;
  }

  .hero h1 .accent-line {
    -webkit-text-stroke-width: 0;
  }

  .partner-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding-block: 16px 20px;
  }

  .partner-strip > .partner-label {
    grid-column: 1;
    min-height: 30px;
    padding: 0;
    border: 0;
  }

  .partner-strip .sponsor-banner {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-months,
  .calendar-agenda {
    grid-template-columns: 1fr;
  }

  .calendar-agenda {
    border-left: 0;
  }

  .calendar-agenda article {
    border-right: 0;
  }

  .gallery-intro {
    margin-top: -18px;
  }

  .social-list a {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .social-list small {
    display: none;
  }

  .requirements li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .contact-form {
    box-shadow: 9px 9px 0 rgba(16, 19, 15, 0.2);
  }

  .roster-grid,
  .squad-summary,
  .dashboard-grid,
  .management-grid,
  .management-grid.wide {
    grid-template-columns: 1fr;
  }

  .member-card {
    min-height: 230px;
  }

  .dashboard-card {
    min-height: 170px;
  }

  .dashboard-card h3 {
    margin-top: 34px;
  }

  .role-form {
    grid-template-columns: 1fr;
  }

  .message-list article {
    max-width: 92%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links,
  .site-footer > div:not(.footer-brand) {
    justify-content: flex-start;
  }

  .footer-note {
    grid-column: 1;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox figure {
    width: 100%;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    transform: none;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .calendar-card {
    padding: 15px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-grid span,
  .calendar-grid time {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (min-width: 981px) {
  .hero {
    --hero-bottom-inset: clamp(10px, 1.5vh, 18px);
    --hero-brief-outset: clamp(0px, calc(50vw - 720px), 80px);
  }

  .hero-content {
    grid-template-rows: minmax(24px, 1fr) auto auto auto auto;
    padding-bottom: var(--hero-bottom-inset);
  }

  .hero-meta {
    grid-row: 2;
    margin-bottom: clamp(12px, 1.8vh, 18px);
  }

  .hero h1 {
    grid-row: 3;
  }

  .hero-copy {
    grid-row: 4;
    margin-top: clamp(16px, 2vh, 22px);
  }

  .hero-actions {
    grid-row: 5;
  }

  .hero-brief {
    grid-column: 8 / -1;
    width: min(100%, 440px);
    margin-inline-end: calc(0px - var(--hero-brief-outset));
    margin-bottom: var(--hero-bottom-inset);
  }

  .hero-brief dd.region-value {
    white-space: nowrap;
  }
}

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

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
