:root {
  --paper: #f4f2e6;
  --card: #fffaf0;
  --ink: #192d2b;
  --green: #316b5d;
  --mint: #a8d8ca;
  --muted: #465b53;
  --peach: #f7c8a7;
  --border: #828e81;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
.frame { width: min(calc(100% - 92px), 1200px); margin-inline: auto; }
a { color: var(--green); }
:focus-visible { outline: 3px solid #823e1c; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav {
  position: sticky; display: grid; grid-template-columns: auto auto 1fr; gap: clamp(15px, 2.5vw, 36px);
  padding: 0 max(28px, calc((100vw - 1200px) / 2)); min-height: 74px;
  background: var(--paper); border-bottom: 1px solid #c5c9b9; backdrop-filter: none;
}
.nav-logo, .footer .nav-logo {
  font: 1.9rem/1 var(--display); letter-spacing: -.075em; color: var(--ink); white-space: nowrap;
}
.nav-logo span { color: var(--green); opacity: 1; }
.nav .nav-center, .nav.menu-open .nav-center { display: flex; flex-direction: row; position: static; transform: none; gap: 7px; padding: 0; background: none; border: 0; backdrop-filter: none; }
.nav .nav-right { gap: clamp(12px, 1.65vw, 25px); background: none; }
.nav-link, .nav-login, .footer-link { color: var(--ink); opacity: 1; font-size: .89rem; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.nav-login { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; background: var(--mint); border-color: var(--ink); }
.nav-cta, .nav .nav-cta { display: inline-flex; align-items: center; gap: 8px; justify-content: center; width: auto; height: auto; font-weight: 700; white-space: nowrap; padding: 9px 12px; }
.nav-cta svg { flex: none; }
.social-facebook, .nav .social-facebook { color: #fff; background: #1464d2; }
.social-facebook:hover { background: #0b53bc; }
.social-youtube, .nav .social-youtube { color: #fff; background: #cc0000; }
.social-youtube:hover { background: #ac0000; }
.menu-btn { justify-self: end; align-self: center; min-width: 43px; min-height: 43px; }
.front-hero {
  padding-block: clamp(40px, 6vw, 76px); display: grid; grid-template-columns: 1fr 1.02fr;
  align-items: center; gap: clamp(25px, 5vw, 73px);
}
.eyebrow { color: var(--green); font: 600 .85rem/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.front-hero h1, .front-section h2, .spotlight h3, .front-resources h3, .front-newsletter h2 {
  font-family: var(--display); font-weight: 400; line-height: 1.03; letter-spacing: -.065em;
}
.front-hero h1 { font-size: clamp(3rem, 6.1vw, 6.2rem); margin: 13px 0 17px; }
.front-hero em { color: var(--green); font-style: normal; }
.front-intro { color: var(--muted); font-size: clamp(1.07rem, 1.5vw, 1.22rem); max-width: 39ch; line-height: 1.55; }
.front-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 25px; }
.front-actions .nav-cta { min-height: 46px; padding: 10px 15px; font-size: .97rem; }
.front-art { min-width: 0; border: 1.5px solid var(--ink); border-radius: 13px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; background: var(--mint); }
.front-art img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.front-band { background: var(--mint); border-block: 1px solid var(--ink); }
.front-band .frame { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 13px; }
.front-band p { margin: 0; }
.front-band a, .front-resources a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.front-band a:hover, .front-resources a:hover { color: var(--green); }
.front-section { padding-block: 48px 36px; }
.play-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.play-heading h2 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); }
.play-heading p { color: var(--muted); max-width: 34ch; line-height: 1.45; }
.front-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.spotlight { position: relative; padding: clamp(19px, 3.2vw, 41px); border: 1.5px solid var(--ink); border-radius: 12px; min-width: 0; }
.spotlight h3 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
.spotlight p { max-width: 38ch; margin: 10px 0 16px; line-height: 1.46; }
.pita-card { background: var(--peach); }
.arcade-card { background: #d4e9dc; }
.spot-icon { width: 48px; height: 48px; margin-bottom: 8px; }
.front-button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--card); color: var(--ink); font: 700 1rem/1.2 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.front-button:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(-1px, -1px); }
.front-primary { background: var(--ink); color: white; }
.front-resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.front-resources article { padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.front-resources h3 { font-size: 1.47rem; }
.front-resources p { color: var(--muted); margin: 7px 0; line-height: 1.45; }
.front-newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 25px; padding-block: 23px; margin-block: 31px; border-block: 1px solid #a7b1a2; }
.front-newsletter h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-bottom: 6px; }
.front-newsletter .newsletter-form { max-width: none; align-items: stretch; }
.front-newsletter .form-status { margin-top: 5px; }
.front-newsletter .input-field { min-width: 0; }
.input-field, .input-field:focus { background: var(--card); color: var(--ink); border-color: var(--border); }
.input-field::placeholder { color: var(--muted); }
.footer { width: min(calc(100% - 92px), 1200px); padding: 22px 0 28px; border-color: #c5c9b9; gap: 14px; }
.footer p { color: var(--muted); margin-top: 5px; }
.footer .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.events-page-header, .about-page-header { padding-top: 44px; }
#membersLoggedOut .coming-soon, #membersLoggedIn > section { padding-top: 44px !important; }
.events-page-header h1, .about-page-header h1, #membersLoggedOut h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.065em; }
.events-page-header .sub, .about-page-header .sub, .coming-soon .sub, .event-placeholder p, .event-info .event-detail,
.events-section-header p, .about-main p, .perk-text p, .meetup-propose p, .footer-left { opacity: 1; color: var(--muted); font-weight: 400; }
.btn-primary { background: var(--green); color: white; }
.reset-link { text-align: right; font-size: .84rem; margin: .35rem 0; }
:where(#loginModal, #signupModal, #submitEventModal) input,
:where(#loginModal, #signupModal, #submitEventModal) select,
#submitEventModal textarea { color-scheme: light; }
#imgLightbox .ilb-close { color: white; }
@media (max-width: 1150px) {
  .nav { grid-template-columns: auto 1fr auto; padding-inline: 24px; }
  .nav .nav-center { justify-self: end; }
  .nav .nav-right { display: none; }
  .nav .menu-btn { display: block; }
  .nav.menu-open .nav-right { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 16px 20px; background: var(--card); border-bottom: 1px solid #c5c9b9; }
  .nav-cta span.cta-label { display: inline; }
  .frame, .footer { width: calc(100% - 54px); }
}
@media (max-width: 720px) {
  .frame, .footer { width: calc(100% - 36px); }
  .nav { min-height: 62px; padding-inline: 18px; gap: 9px; }
  .nav .nav-center .nav-cta { width: 38px; height: 38px; padding: 0; }
  .nav .nav-center .cta-label { display: none; }
  .front-hero { grid-template-columns: 1fr; gap: 23px; padding-block: 32px 36px; }
  .front-hero h1 { font-size: clamp(3.15rem, 11vw, 5.5rem); }
  .front-art { margin-right: 6px; }
  .front-section { padding-block: 34px 20px; }
  .play-heading { display: block; margin-bottom: 13px; }
  .play-heading p { margin-top: 7px; }
  .front-grid, .front-resources, .front-newsletter { grid-template-columns: 1fr; gap: 12px; }
  .front-newsletter .newsletter-form { flex-direction: row; }
  #eventsMemberMenu > div:first-child { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 370px) {
  .front-newsletter .newsletter-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .events-page-header h1, .events-page-header .sub, .about-page-header h1, .about-page-header .sub { animation: none; }
}
