/* fonts: self-hosted latin subsets (Barlow 400/600, Barlow Condensed 600/700) */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* base */
:root {
  --bg: #0B0B0C;
  --surface: #151417;
  --surface-2: #1E1C20;
  --line: #2A272C;
  --line-strong: #3A363C;
  --text: #F4EFEA;
  --text-2: #C9C2BB;
  --muted: #8F8880;
  --accent: #FA4E03;
  --accent-hover: #D94300;
  --on-accent: #0B0B0C;
  --error: #FF6B5A;
  --ok: #4CC38A;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--f-display);
  text-transform: uppercase;
}
h1 { font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: .95; letter-spacing: .01em; }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: .01em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.2; letter-spacing: .03em; }

p { margin: 0 0 1em; max-width: 64ch; }

a {
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
a:hover { color: var(--text); text-decoration-color: var(--accent); }

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.skip:focus { left: 8px; }

.caption,
figcaption {
  font: 600 13px/1.4 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34em;
}

.fine {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.link-arrow {
  font: 600 15px/1.4 var(--f-text);
  color: var(--text);
  text-decoration: none;
}
@media (hover: hover) {
  .link-arrow:hover { color: var(--accent); }
}

/* header */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.brand span {
  display: flex;
  flex-direction: column;
  font: 700 18px/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
}
.brand small {
  margin-top: 3px;
  font: 600 12px/1 var(--f-display);
  letter-spacing: .12em;
  color: var(--accent);
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.links a:not(.btn) {
  display: block;
  padding: 20px 0 18px;
  border-bottom: 2px solid transparent;
  font: 600 15px/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-2);
  text-decoration: none;
}
@media (hover: hover) {
  .links a:not(.btn):hover { color: var(--text); }
}
.links a[aria-current="page"]:not(.btn) { color: var(--text); border-bottom-color: var(--accent); }
.links .btn[aria-current="page"] { outline: 2px solid var(--text); outline-offset: 3px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--text);
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: inline; }
.nav .nav-apply { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav .wrap { gap: 12px; }
  .nav .nav-apply { display: inline-flex; margin-left: auto; height: 44px; padding: 0 12px; transition: opacity .2s, visibility .2s; }
  html.hero-cta-visible .nav .nav-apply, html.menu-open .nav .nav-apply { opacity: 0; visibility: hidden; }
  .links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .links { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; }
  /* lock on body, not html: overflow on html stops body's overflow-x propagating and breaks the sticky header */
  html.menu-open body { overflow: hidden; }
  html.menu-open .nav::after { content: ""; position: fixed; inset: 64px 0 0; background: rgba(5, 5, 6, .6); z-index: -1; }
  .links a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .links a[aria-current="page"]:not(.btn) { border-bottom: 1px solid var(--line); color: var(--text); text-decoration: underline 2px var(--accent); text-underline-offset: 6px; }
  .links .btn { width: 100%; height: 48px; margin-top: 16px; font-size: 15px; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 600 15px/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  border-color: rgba(244, 239, 234, .6);
  color: var(--text);
}
@media (hover: hover) {
  .btn-secondary:hover,
  .btn-ghost:hover {
    border-color: var(--text);
    background: rgba(244, 239, 234, .06);
    color: var(--text);
  }
}

.btn-sm,
.card .card-btn {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.btn[disabled] { opacity: .6; cursor: default; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* sections */
.sec { padding: 88px 0; }
.band { background: var(--surface); }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.sec-head .btn-row { gap: 8px; }

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

/* hero: full-bleed Jacksonville photo, logo on top */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(86vh, 820px);
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .1) 30%, rgba(11, 11, 12, .6) 62%, rgba(11, 11, 12, .9) 85%, var(--bg) 100%);
}
.hero-inner { width: 100%; text-align: center; }
.hero-slogan {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
  max-width: none;
  margin: 0 auto 16px;
  text-wrap: balance;
}
.hero-place, .hero-slogan, .hero .dek { text-shadow: 0 1px 12px rgba(0, 0, 0, .85); }
.hero .btn-row { justify-content: center; }
.hero .dek { margin: 0 auto; color: var(--text); }
.hero-place {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: none;
  margin: 0 auto 14px;
}
.hero-credit {
  position: absolute;
  right: 16px;
  bottom: 10px;
  margin: 0;
  font-size: .75rem;
  color: var(--muted);
}
.hero-credit a { color: inherit; }

.hero-logo { margin: 0 0 20px; }
.hero-logo img { width: 300px; height: auto; margin: 0 auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6)); }

.dek {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34em;
  margin: 0;
}
.hero .btn-row { margin-top: 28px; }

/* member cars */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 24px;
}
.cars-grid .slot-photo { margin: 0; }
.slot-photo:nth-child(4n+1),
.slot-photo:nth-child(4n+4) { grid-column: span 7; }
.slot-photo:nth-child(4n+2),
.slot-photo:nth-child(4n+3) { grid-column: span 5; }
.slot-photo img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
.slot-photo:last-child:nth-child(odd) { grid-column: 1 / -1; }
.slot-photo:last-child:nth-child(odd) img { height: 520px; }
.slot-photo figcaption {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.slot-photo figcaption a { color: var(--text); text-decoration: none; }
@media (hover: hover) {
  .slot-photo figcaption a:hover { color: var(--accent); }
}

/* homepage teaser (#gallery): one slim row of equal 4:3 tiles; /members/ keeps the grid above */
#gallery .cars-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
#gallery .cars-grid .slot-photo { grid-column: auto; position: relative; }
#gallery .slot-photo img { height: auto; aspect-ratio: 4 / 3; background: var(--surface); }
/* whole tile opens the handle's Instagram, not just the 13px caption */
#gallery .slot-photo figcaption a::after { content: ""; position: absolute; inset: 0; }
/* so the focus ring goes round the whole tile, not the handle */
@supports selector(:has(*)) {
  #gallery .slot-photo figcaption a:focus-visible { outline: none; }
  #gallery .slot-photo:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
}
@media (hover: hover) {
  #gallery .slot-photo img { opacity: .92; transition: opacity .2s; }
  #gallery .slot-photo:hover img { opacity: 1; }
}
@media (max-width: 860px) {
  /* swipe strip: next car peeks in from the edge instead of stacking */
  #gallery .cars-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72%, 320px);
    gap: 16px;
    /* 4px top/bottom so the tile focus ring isn't clipped by the scroller */
    margin: -4px -32px;
    padding: 4px 32px;
    scroll-padding-inline: 32px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  #gallery .cars-grid::-webkit-scrollbar { display: none; }
  #gallery .cars-grid .slot-photo { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  #gallery .cars-grid { margin: -4px -16px; padding: 4px 16px; scroll-padding-inline: 16px; }
}

/* join */
.join-text { grid-column: 1 / span 5; }
.join-detail { grid-column: 7 / span 6; }
.join .lead { margin-bottom: 0; }
.join .btn-row { margin-top: 28px; }
.flyer-note { margin: 32px 0 8px; }
.flyer-links { margin: 0; }
.flyer-links span { color: var(--muted); margin: 0 6px; }

.spec { margin: 16px 0 0; }
.spec > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec > div:first-child { border-top: 1px solid var(--line); }
.spec dt {
  font: 600 13px/1.6 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  padding-top: 2px;
}
.spec dd { margin: 0; }

.join-detail .steps-h { margin-top: 40px; }

.steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  font: 700 18px/1.45 var(--f-display);
  color: var(--accent);
}

/* events */
.sec-lead { margin-bottom: 32px; }

#events-list { border-top: 1px solid var(--line); }

.card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  column-gap: 24px;
  row-gap: 6px;
  padding: 24px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: none;
}
.card > * { grid-column: 2; margin: 0; }
.card .when {
  grid-column: 1;
  grid-row: 1 / span 6;
  font: 700 18px/1.2 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--accent);
}
.card .when.live { color: var(--ok); }
.card .card-btn { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.card .meta { font-size: 15px; color: var(--muted); }
.card .meta a { color: var(--text-2); }
.card::after { content: none; }

.events-fine { margin: 16px 0 0; }

/* about */
.about-text { grid-column: 1 / span 6; }
.about-fig { grid-column: 8 / span 5; margin: 0; }
.about-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.about-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.parent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.parent img { width: 28px; height: 28px; }
.parent strong { font-weight: 600; color: var(--text); }
.parent-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.parent .sep { color: var(--muted); }

/* socials */
.soc-main { grid-column: 1 / span 7; }
.soc-side { grid-column: 9 / span 4; }

.discord-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.discord-card img { width: 48px; height: 48px; flex: none; }
.dc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dc-text strong { color: var(--text); font-weight: 600; }
.dc-text span { color: var(--muted); font-size: 15px; }
.dc-online::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ok);
  vertical-align: 1px;
}
.discord-card .btn { margin-left: auto; flex: none; }

.soc-side h3 {
  font: 600 13px/1.4 var(--f-display);
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.social-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.social-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.social-list svg { width: 20px; height: 20px; flex: none; fill: var(--muted); }
.social-list a:hover { color: var(--text); }
.social-list a:hover svg { fill: var(--accent); }

/* members */
.page-head { padding: 64px 0 32px; }
.page-head h1 { margin-bottom: 20px; }
.page-head .lead { margin: 0; }
.members-page { padding-top: 0; }

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.callout h3 { margin-bottom: 8px; }
.callout p { margin: 0; }
.callout strong { color: var(--text); font-weight: 600; }
.callout .btn { flex: none; }

/* apply */
.apply-page { padding-top: 64px; }
.apply-main { grid-column: 1 / span 7; }
.apply-aside {
  grid-column: 9 / span 4;
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.apply-aside h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: .03em; }
.apply-aside .steps { margin-bottom: 24px; }

.apply-main h1 { margin-bottom: 20px; }
.apply-main .lead { margin: 0; }

.apply-form[hidden], .apply-done[hidden] { display: none; }

.apply-form fieldset {
  margin: 32px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.apply-form legend {
  float: left;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  font: 600 1.25rem/1.2 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
}
.fields {
  clear: both;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 20px;
}
@media (min-width: 760px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field.wide { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font: 600 15px/1.3 var(--f-text);
  color: var(--text);
}
.req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font: 400 16px/1.4 var(--f-text);
  color: var(--text);
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238F8880' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field ::placeholder { color: #8A847E; opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  font: 600 15px/1.4 var(--f-text);
  color: var(--text);
  cursor: pointer;
}
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 20px;
  margin-top: 24px;
}
.form-actions .cf-turnstile:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-err { margin: 0; color: var(--error); font-size: 15px; }
.form-msg { margin: 12px 0 0; color: var(--error); font-weight: 600; }
.form-msg:empty { display: none; }

.apply-done {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.apply-done:focus { outline: none; }
.apply-done h2 { margin-bottom: 12px; font-size: 2rem; }
.apply-done p { margin: 0 0 20px; }

/* meet band + lightbox */
.meet-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 640px);
  padding: 120px 0 48px;
}
.meet-band-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.meet-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .45) 45%, rgba(11, 11, 12, 0) 75%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(11, 11, 12, 0) 18%, rgba(11, 11, 12, 0) 55%, rgba(11, 11, 12, .9) 100%);
}
.meet-band-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; width: 100%; }
.meet-band-text { max-width: 30rem; }
.meet-kicker {
  margin: 0 0 8px;
  font: 600 14px/1.4 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.meet-band h2 { margin: 0 0 8px; font-size: clamp(2.4rem, 5vw, 3.75rem); }
.meet-band-text p:not(.meet-kicker) { margin: 0 0 24px; font-size: 1.125rem; color: var(--text); }
.meet-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.meet-thumbs a { display: block; outline-offset: 2px; }
.meet-thumbs img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(244, 239, 234, .25);
  border-radius: 2px;
  opacity: .85;
  transition: opacity .15s, border-color .15s;
}
.meet-thumbs a:focus-visible img { opacity: 1; border-color: var(--text); }
@media (hover: hover) { .meet-thumbs a:hover img { opacity: 1; border-color: var(--text); } }

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 5, 6, .96);
  color: var(--text);
}
.lightbox { overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(5, 5, 6, .9); }
html:has(.lightbox[open]) body { overflow: hidden; }
.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 56px 72px 24px;
}
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(11, 11, 12, .7);
  color: var(--text);
  font: 400 28px/1 var(--f-text);
  cursor: pointer;
}
@media (hover: hover) {
  .lb-btn:hover { border-color: var(--text); }
}
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 860px) {
  .meet-band { min-height: 560px; padding: 96px 0 32px; }
  .meet-band-inner { flex-direction: column; align-items: flex-start; }
  .meet-band::after { background: linear-gradient(to bottom, var(--bg) 0%, rgba(11, 11, 12, .15) 20%, rgba(11, 11, 12, .2) 40%, rgba(11, 11, 12, .92) 78%, var(--bg) 100%); }
  .meet-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .meet-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .lightbox figure { padding: 56px 8px 72px; }
  .lightbox img { max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
@media (max-width: 860px) and (max-height: 500px) {
  .lightbox figure { padding: 12px 64px; }
  .lightbox img { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media (min-width: 601px) and (max-width: 860px) { .meet-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* footer */
footer {
  padding: 64px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-2);
}
footer a { color: var(--text-2); text-decoration: none; }
@media (hover: hover) {
  footer a:hover { color: var(--text); }
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 48px;
}
.foot-logo { display: inline-block; }
.foot-logo img { width: 112px; height: auto; }
.foot-brand p { margin: 12px 0 0; max-width: 32ch; color: var(--muted); }
.foot-social { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.foot-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--text-2);
}
@media (hover: hover) {
  .foot-social a:hover { color: var(--text); border-color: var(--text-2); }
}
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-col h2 {
  margin: 4px 0 16px;
  font: 600 13px/1.4 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { color: var(--muted); }
.foot-col li + li { margin-top: 10px; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.foot-bottom p { margin: 0; }
.mbh { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.mbh p { font-size: 15px; color: var(--text-2); }
footer .mbh-name { color: var(--text); font-weight: 600; }
@media (hover: hover) {
  footer .mbh-name:hover { color: var(--accent); }
}
footer .mbh-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--text);
  font: 600 14px/1 var(--f-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
@media (hover: hover) {
  footer .mbh-cta:hover { background: var(--accent); color: var(--on-accent); }
}

footer .fine { max-width: none; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

/* responsive */
@media (max-width: 1100px) {
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .sec { padding: 56px 0; }
  .grid-12 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid-12 > * { grid-column: 1 / -1; }

  .hero { padding: 96px 0 48px; min-height: min(80vh, 680px); }
  .hero { min-height: min(80svh, 680px); }
  .hero-logo img { width: 200px; }
  .hero-place { font-size: .95rem; letter-spacing: .12em; }
  .hero-credit { right: 12px; bottom: 6px; font-size: .7rem; }
  .hero-bg { object-position: 50% 30%; }
  .hero::after { background: linear-gradient(to bottom, rgba(11, 11, 12, .5) 0%, rgba(11, 11, 12, .1) 22%, rgba(11, 11, 12, .82) 50%, rgba(11, 11, 12, .95) 70%, var(--bg) 100%); }
  .dek, .lead { font-size: 1.125rem; }
  .hero .btn-row, .join .btn-row { flex-direction: column; }
  .hero .btn, .join-text .btn, .apply-form .btn[type="submit"] { width: 100%; }
  .form-actions { flex-direction: column; align-items: stretch; }

  .cars-grid { grid-template-columns: minmax(0, 1fr); }
  .cars-grid .slot-photo,
  .cars-grid .slot-photo:last-child:nth-child(odd) { grid-column: auto; }
  .slot-photo img,
  .slot-photo:last-child:nth-child(odd) img { height: auto; aspect-ratio: 4 / 3; }

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

  .apply-page { padding-top: 40px; }
  .apply-aside { position: static; }

  /* touch targets: 44px minimum on phones and tablets */
  .btn-sm, .card .card-btn { height: 44px; }
  .foot-social a { width: 44px; height: 44px; }
  .link-arrow, .flyer-links a, .parent-links a { display: inline-block; padding: 12px 0; }
  .hero-credit a { padding: 8px 0; }
  footer .mbh-cta { padding: 14px 16px; }
  .members-page .slot-photo { position: relative; }
  .members-page .slot-photo figcaption a::after { content: ""; position: absolute; inset: 0; }
}

@media (max-width: 600px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head .btn-row { width: 100%; }
  .sec-head .btn-row .btn { flex: 1 1 100%; text-align: center; }
  .wrap { padding: 0 16px; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .card { grid-template-columns: 1fr; }
  .card > *,
  .card .when,
  .card .card-btn { grid-column: 1; grid-row: auto; }
  .card .when { order: -1; }
  .card .card-btn { justify-self: start; margin-top: 8px; }
  .discord-card { flex-wrap: wrap; }
  .discord-card .btn { margin-left: 0; width: 100%; }

  .hero { min-height: 0; padding: 40px 0 32px; }
  .hero-logo { margin-bottom: 12px; }
  .hero-logo img { width: 156px; }
  .hero .btn-row { margin-top: 20px; }

  /* events: the meet first, calendar-subscribe buttons after it */
  #events .wrap { display: flex; flex-direction: column; }
  #events .sec-head { display: contents; }
  #events .sec-head h2 { order: 0; margin-bottom: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
  #events .sec-lead { order: 1; }
  #events-list { order: 2; }
  #events .sec-head .btn-row { order: 3; margin-top: 24px; }
  #events .events-fine { order: 4; }

  /* compact footer */
  footer { padding: 40px 0 24px; }
  .foot-top { gap: 24px 16px; }
  .foot-brand p { display: none; }
  .foot-social { margin-top: 16px; }
  .foot-col h2 { margin-bottom: 4px; }
  .foot-col li { line-height: 1.2; }
  .foot-col li + li { margin-top: 0; }
  .foot-col a { display: inline-block; padding: 10px 0; }
  .foot-bottom { margin-top: 32px; }
}

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