:root {
  --bg: #f5f2ee;
  --surface: #ffffff;
  --surface-soft: #f1ece7;
  --surface-muted: #f6efe3;
  --ink: #1f1f23;
  --muted: #63636f;
  --brand: #7d2323;
  --brand-dark: #641b1b;
  --accent: #b9893d;
  --line: #ddd7d0;
  --header-bg: rgba(255, 255, 255, 0.97);
  --hero-media-bg: radial-gradient(circle at 22% 20%, rgba(185, 137, 61, 0.3), rgba(19, 20, 26, 0.92) 58%);
  --input-bg: #ffffff;
  --dialog-backdrop: rgba(0, 0, 0, 0.45);
  --success: #1c7f4b;
  --error: #b23535;
  --event-subcard-bg: rgba(255, 255, 255, 0.78);
}

:root[data-theme="dark"] {
  --bg: #0f1319;
  --surface: #1a2029;
  --surface-soft: #141a22;
  --surface-muted: #1e2732;
  --ink: #ecf0f8;
  --muted: #b4bfce;
  --brand: #9f3f3f;
  --brand-dark: #7f3131;
  --accent: #d4a95f;
  --line: #313c4b;
  --header-bg: rgba(15, 19, 25, 0.94);
  --hero-media-bg: radial-gradient(circle at 22% 20%, rgba(212, 169, 95, 0.3), rgba(8, 10, 13, 0.96) 58%);
  --input-bg: #131920;
  --dialog-backdrop: rgba(0, 0, 0, 0.62);
  --success: #62d89d;
  --error: #ff8a8a;
  --event-subcard-bg: rgba(26, 32, 41, 0.9);
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 1.2rem;
}

.brand img {
  height: clamp(42px, 5.2vw, 60px);
  width: auto;
}

.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.97rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
}

.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.24;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  padding: 0;
  justify-content: flex-start;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-attend {
  background: linear-gradient(135deg, #a12e2e, #c18f43);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 24px rgba(125, 35, 35, 0.24);
}

.header-cta {
  min-width: 11.2rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

.theme-toggle {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle .theme-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .theme-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .theme-moon {
  display: inline;
}

.pulse-soft {
  animation: pulseSoft 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes pulseSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px) scale(1.01);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(420px, 54%);
  min-height: clamp(340px, 53vh, 585px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(1.4rem, 5.5vw, 4.9rem) clamp(1.2rem, 3.6vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  margin: 0.5rem 0 0.9rem;
}

.hero-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
}

.downloads {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.downloads h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

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

.download-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.62rem;
  background: var(--surface);
}

.download-card-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(185, 137, 61, 0.5);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(185, 137, 61, 0.08);
}

.download-card-icon img {
  width: 22px;
  height: 22px;
}

.download-card-body {
  display: grid;
  gap: 0.15rem;
}

.download-card-body strong {
  font-size: 0.93rem;
  color: var(--ink);
}

.download-card-body small {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.2;
}

.hero-media {
  position: relative;
  min-height: clamp(340px, 53vh, 585px);
  background: var(--hero-media-bg);
}

.member-collage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.collage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.collage-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.collage-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.collage-links line {
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 0.38;
}

.collage-node {
  position: absolute;
  z-index: 3;
}

.collage-node[data-open-members] {
  cursor: pointer;
}

.collage-node[data-open-members]:focus-visible .collage-item {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.collage-item {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  background: var(--surface);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 0.1rem;
  min-width: 124px;
  max-width: 168px;
  text-align: center;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.56);
  padding: 0.26rem 0.4rem;
  border-radius: 6px;
  z-index: 4;
  line-height: 1.2;
}

.collage-label strong {
  font-size: 0.76rem;
  font-weight: 700;
}

.collage-label small {
  font-size: 0.69rem;
  color: rgba(255, 255, 255, 0.88);
}

.pos-top-left {
  width: clamp(130px, 16vw, 190px);
  height: clamp(130px, 16vw, 190px);
  left: 17%;
  top: 14%;
}

.pos-top-right {
  width: clamp(130px, 16vw, 190px);
  height: clamp(130px, 16vw, 190px);
  left: 52%;
  top: 11%;
}

.pos-bottom-left {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  left: 7%;
  top: 43%;
}

.pos-bottom-center {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  left: 37%;
  top: 49%;
}

.pos-bottom-right {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  left: 67%;
  top: 43%;
}

.pos-top-left .collage-label {
  bottom: calc(100% + 8px);
}

.pos-top-right .collage-label {
  bottom: calc(100% + 8px);
}

.pos-bottom-left .collage-label,
.pos-bottom-center .collage-label,
.pos-bottom-right .collage-label {
  bottom: calc(100% + 8px);
}

.slider-controls {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  gap: 0.45rem;
  z-index: 6;
}

.icon-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 20, 24, 0.56);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.icon-btn-light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.band,
.events {
  padding: clamp(1.6rem, 3.2vw, 2.8rem);
}

.band h2,
.events h2 {
  margin: 0.45rem 0 1.1rem;
  font-size: clamp(1.6rem, 2.9vw, 2.35rem);
}

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

.feature-grid article {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.feature-grid h3 {
  margin: 0 0 0.45rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.events {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.1fr);
  align-items: stretch;
  gap: 0;
  background: var(--surface-soft);
}

.events-left-stack {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.7rem;
}

.event-panel {
  align-self: center;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  padding: clamp(1rem, 2.4vw, 1.7rem);
  margin-right: -80px;
}

.event-panel p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.event-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-items: start;
}

.event-subcard {
  background: var(--event-subcard-bg);
  border: 1px solid rgba(185, 137, 61, 0.26);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  margin-right: -40px;
  z-index: 1;
}

.subcard-kicker {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.event-subcard p {
  margin: 0.35rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.btn-whatsapp {
  background: #1f9a55;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 20px rgba(31, 154, 85, 0.2);
}

.event-subcard .btn-whatsapp {
  width: 100%;
}

.event-image-wrap {
  min-height: 340px;
}

.event-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cta-strip {
  position: relative;
  min-height: 280px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding: 1.5rem clamp(1.2rem, 3.2vw, 2.8rem);
  background: linear-gradient(90deg, rgba(125, 35, 35, 0.9), rgba(125, 35, 35, 0.58));
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.1rem;
}

.cta-copy {
  display: grid;
  gap: 0.6rem;
}

.cta-copy p {
  margin: 0;
}

.cta-copy p:first-child {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
}

.cta-copy p:last-child {
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  max-width: 62ch;
}

.cta-counters {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta-counter {
  min-width: 156px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 0, 0, 0.14);
  display: grid;
  gap: 0.1rem;
}

.cta-counter strong {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
}

.cta-counter span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-members-btn {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  width: fit-content;
}

.btn-cta {
  min-width: 14rem;
  font-size: 1.03rem;
  padding: 0.92rem 1.3rem;
  background: linear-gradient(135deg, #c79844, #e0b566);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.board-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.board-list li {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
}

.board-list li[data-open-members] {
  cursor: pointer;
}

.board-list li[data-open-members]:focus-visible {
  outline: 2px solid rgba(185, 137, 61, 0.9);
  outline-offset: 2px;
}

.board-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(185, 137, 61, 0.58);
  background: var(--surface-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-initials {
  font-weight: 700;
  color: var(--brand);
}

.board-text {
  display: grid;
  gap: 0.15rem;
}

.board-text span,
.hint {
  color: var(--muted);
}

.board-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
}

.legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  width: min(42rem, calc(100vw - 2rem));
  padding: 1rem;
  background: var(--surface);
  color: var(--ink);
}

dialog::backdrop {
  background: var(--dialog-backdrop);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.dialog-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.calendar-links a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.upcoming-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.7rem;
  max-height: min(62vh, 640px);
  overflow: auto;
}

.upcoming-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.upcoming-item h3 {
  margin: 0;
  font-size: 1rem;
}

.upcoming-item p {
  margin: 0.15rem 0;
  color: var(--muted);
}

.mini-links {
  display: flex;
  gap: 0.55rem;
}

.mini-links a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}

.signup-lead {
  margin: 0.5rem 0 0.9rem;
  color: var(--muted);
}

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

.field-grid label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.field-grid input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
}

.field-grid textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.form-protection {
  display: grid;
  gap: 0.7rem;
  margin: 0.85rem 0 0.3rem;
}

.consent-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  padding: 0.62rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.consent-check input {
  width: auto;
  margin-top: 0.2rem;
}

.captcha-box {
  display: grid;
  gap: 0.34rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  padding: 0.62rem 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.captcha-box input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
}

.form-feedback {
  margin: 0.7rem 0 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-feedback.success {
  color: var(--success);
}

.form-feedback.error {
  color: var(--error);
}

.whatsapp-dialog-content {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
}

.whatsapp-dialog-content img {
  width: min(260px, 62vw);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.4rem;
}

.qr-link {
  display: inline-block;
}

.whatsapp-dialog-content p,
.whatsapp-dialog-content small {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.member-directory-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.7rem;
  max-height: min(64vh, 640px);
  overflow: auto;
  padding-right: 0.1rem;
}

.member-directory-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
}

.member-directory-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(185, 137, 61, 0.58);
  background: var(--surface-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-directory-meta {
  display: grid;
  gap: 0.16rem;
}

.member-directory-name {
  font-size: 1rem;
}

.member-directory-company {
  color: var(--muted);
  font-size: 0.9rem;
}

.member-directory-website {
  color: var(--accent);
  font-size: 0.88rem;
  text-decoration: none;
  width: fit-content;
}

.member-directory-website.muted {
  color: var(--muted);
}

.member-contact-btn {
  margin-top: 0.3rem;
  width: fit-content;
}

.member-search-wrap {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.32rem;
}

.member-search-label {
  font-size: 0.8rem;
  color: var(--muted);
}

#member-search-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
  width: 100%;
}

.member-card--flash {
  animation: memberCardFlash 0.36s linear 5;
}

@keyframes memberCardFlash {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 137, 61, 0);
    border-color: var(--line);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(185, 137, 61, 0.45);
    border-color: rgba(185, 137, 61, 0.9);
  }
}

.simple-page {
  padding: clamp(1.3rem, 3.5vw, 2.8rem);
}

.simple-page-content {
  max-width: 72ch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 2.6vw, 1.8rem);
}

.simple-page-content h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.simple-page-content h2 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1.1rem;
}

.simple-page-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 981px) {
  .cta-counters {
    justify-content: center;
    width: 100%;
    gap: 1rem;
  }

  .cta-counter {
    min-width: 220px;
    padding: 0.65rem 0.95rem;
    justify-items: center;
    text-align: center;
  }

  .cta-counter strong {
    font-size: clamp(2.1rem, 4.1vw, 3.2rem);
  }

  .cta-counter span {
    font-size: 0.92rem;
  }

  .cta-members-btn {
    justify-self: center;
  }
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .header-actions {
    width: 100%;
    justify-self: center;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0.9rem;
  }

  .hero-media {
    min-height: 340px;
  }

  .events {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .event-panel {
    margin-right: 0;
  }

  .event-subcard {
    margin-right: 0;
  }

  .cta-overlay {
    grid-template-columns: 1fr;
    min-height: 310px;
  }

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

  .field-full {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .top-nav {
    gap: 0.7rem;
  }

  .feature-grid,
  .board-list,
  .legal {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 405px;
  }

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

  .pos-top-left {
    width: 72px;
    height: 72px;
    left: 11%;
    top: 16%;
  }

  .pos-top-right {
    width: 72px;
    height: 72px;
    left: 56%;
    top: 18%;
  }

  .pos-bottom-left {
    width: 84px;
    height: 84px;
    left: 2%;
    top: 45%;
  }

  .pos-bottom-center {
    width: 84px;
    height: 84px;
    left: 34%;
    top: 52%;
  }

  .pos-bottom-right {
    width: 84px;
    height: 84px;
    left: 66%;
    top: 45%;
  }

  .collage-label {
    min-width: 94px;
    max-width: 124px;
    font-size: 0.62rem;
    padding: 0.2rem 0.3rem;
  }

  .collage-label strong {
    font-size: 0.65rem;
  }

  .collage-label small {
    font-size: 0.58rem;
  }

  .pos-top-left .collage-label,
  .pos-top-right .collage-label {
    bottom: calc(100% + 8px);
    top: auto;
  }
}
