:root {
  --gold: #ffc15e;
  --clay: #f7b05b;
  --sandy: #f7934c;
  --bronze: #cc5803;
  --coffee: #1f1300;
  --accent-ink: #9f3e00;
  --ink: var(--coffee);
  --muted: #6c5140;
  --line: #e8d7c2;
  --paper: #fff8ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 19, 0, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 193, 94, 0.27), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(204, 88, 3, 0.38);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(31, 19, 0, 0.13);
  background: rgba(255, 251, 245, 0.94);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  width: min(1320px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--gold);
}

.brand strong { display: block; font-size: 17px; line-height: 1.05; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff1dc;
}

.nav__item {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.nav__item--active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(31, 19, 0, 0.1); }

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px rgba(204, 88, 3, 0.13); }

.account-nav { display: flex; align-items: center; justify-self: end; gap: 8px; }
.account-nav form { margin: 0; }
.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff1dc;
}
.language-switcher button {
  min-width: 32px;
  min-height: 31px;
  padding: 4px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.language-switcher button.is-active {
  background: var(--ink);
  color: white;
}
.account-link { color: var(--ink); font-size: 13px; font-weight: 850; text-decoration: none; }
.quiet-button, .compact-button, .secondary-button, .save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.quiet-button:hover, .secondary-button:hover, .save-button:hover { border-color: var(--ink); }
.compact-button { border-color: var(--ink); background: var(--ink); color: white; }

.page-shell { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 154px); margin: 0 auto; padding: 56px 0 80px; }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.eyebrow { margin: 0 0 9px; color: var(--accent-ink); font-size: 12px; font-weight: 900; letter-spacing: 0.13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 8px; font-size: clamp(40px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.055em; }
.hero__copy { margin: 0; color: var(--muted); font-size: 17px; }

.today-card {
  flex: 0 0 auto;
  width: 112px;
  padding: 15px 14px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--gold);
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(2deg);
}
.today-card span, .today-card small { display: block; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.today-card strong { display: block; margin: 1px 0; font-size: 38px; line-height: 1; }

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-top: 36px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  box-shadow: 0 9px 30px rgba(31, 19, 0, 0.065);
}

.filters label { display: grid; gap: 6px; }
.filter-label { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.filters input, .filters select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); }

.search-field { position: relative; align-self: end; }
.search-field > span:not(.sr-only) { position: absolute; z-index: 1; left: 14px; bottom: 10px; color: var(--accent-ink); font-size: 22px; transform: rotate(-20deg); }
.search-field input { padding-left: 42px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--gold);
}
.primary-button:hover { border-color: var(--accent-ink); background: var(--accent-ink); }
.clear-link { grid-column: 1 / -1; justify-self: end; color: var(--accent-ink); font-size: 13px; font-weight: 800; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 52px 0 20px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 40px); line-height: 1; letter-spacing: -0.045em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; }
.section-heading > p strong { color: var(--ink); }

.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 9px 24px rgba(31, 19, 0, 0.07); transition: transform 180ms ease, box-shadow 180ms ease; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.event-art, .detail-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--clay);
  text-decoration: none;
}
.event-art { height: 176px; padding: 18px; }
.event-art::before, .event-art::after, .detail-art::before, .detail-art::after { content: ""; position: absolute; border: 2px solid rgba(31, 19, 0, 0.5); border-radius: 50%; }
.event-art::before { width: 140px; height: 140px; top: -52px; right: -30px; }
.event-art::after { width: 72px; height: 72px; right: 42px; bottom: -30px; background: rgba(255,255,255,.22); }
.event-art > span, .detail-art > span { position: absolute; z-index: 1; top: 16px; left: 18px; font-size: 11px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.event-art b, .detail-art b { position: relative; z-index: 1; font-size: 47px; line-height: 1; }
.event-art__image, .detail-art__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-art.has-cover::before, .event-art.has-cover::after,
.detail-art.has-cover::before, .detail-art.has-cover::after { display: none; }
.event-art.has-cover::after, .detail-art.has-cover::after {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(31, 19, 0, .12), transparent 48%, rgba(31, 19, 0, .28));
}
.event-art.has-cover > span, .detail-art.has-cover > span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 99px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(31, 19, 0, .12);
}

.art--culture { background: var(--clay); }
.art--sports { background: var(--gold); }
.art--career { background: var(--sandy); }
.art--social { background: #ffd59b; }
.art--wellbeing { background: #ffe5be; }
.art--technology { background: #eaa269; }
.art--music { background: #ffc492; }
.art--other { background: #f1d8b8; }

.event-card__body { padding: 18px; }
.event-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.category-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 99px; background: #fff0d9; color: var(--accent-ink); font-size: 11px; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.price { font-size: 12px; font-weight: 900; }
.price--free { color: var(--accent-ink); }
.event-card h3 { margin: 13px 0 12px; font-size: 21px; line-height: 1.12; letter-spacing: -0.025em; }
.event-card h3 a { text-decoration: none; }
.event-card h3 a:hover { color: var(--accent-ink); }
.event-info { display: grid; gap: 7px; min-height: 54px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.event-info p { margin: 0; }
.event-info strong { color: var(--ink); }
.event-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.event-card__footer a { min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.event-card__footer a:hover { border-color: var(--ink); background: var(--ink); color: white; }

.empty-state { padding: 70px 24px; border: 1px dashed var(--line); border-radius: 22px; background: rgba(255,255,255,.62); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 18px; background: var(--gold); font-size: 28px; font-weight: 900; transform: rotate(-4deg); }
.empty-state h2 { margin-bottom: 6px; font-size: 28px; }
.empty-state p { color: var(--muted); }

.detail-page { max-width: 1040px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--accent-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.detail-card { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(380px, 1.1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.detail-art { min-height: 570px; padding: 34px; }
.detail-art::before { width: 330px; height: 330px; top: -100px; right: -90px; }
.detail-art::after { width: 190px; height: 190px; left: -70px; bottom: -40px; }
.detail-art > span { top: 28px; left: 30px; }
.detail-art b { font-size: 88px; }
.detail-content { padding: 46px; }
.detail-content h1 { margin: 20px 0 16px; font-size: clamp(36px, 5vw, 54px); }
.detail-description { color: var(--muted); font-size: 16px; }
.detail-list { display: grid; gap: 14px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-list > div { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; }
.detail-list i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff0d9; color: var(--accent-ink); font-style: normal; }
.detail-list p { margin: 0; }
.detail-list strong, .detail-list span { display: block; }
.detail-list strong { font-size: 14px; }
.detail-list span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.primary-button--wide { width: 100%; }
.source-link { display: block; margin-top: 18px; color: var(--muted); font-size: 12px; text-align: center; }
.report-link { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.report-link:hover { color: var(--accent-ink); }

.calendar-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.save-form { display: grid; gap: 7px; margin-bottom: 14px; }
.save-form small { color: var(--muted); text-align: center; }
.save-button { width: 100%; min-height: 48px; }
.save-button--active { border-color: var(--clay); background: #fff0d9; color: var(--accent-ink); }

.auth-page { display: grid; place-items: start center; }
.auth-card { width: min(100%, 500px); padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.auth-card--wide { width: min(100%, 560px); }
.auth-card h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 58px); }
.auth-intro { color: var(--muted); }
.auth-form { display: grid; gap: 16px; margin-top: 26px; }
.auth-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.auth-form input:not([type="checkbox"]), .auth-form select, .auth-form textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.auth-form textarea { resize: vertical; }
.auth-form small { color: var(--muted); font-size: 11px; font-weight: 500; }
.auth-form ul { margin: 4px 0 0; padding-left: 18px; }
.field-error, .form-errors { color: #a42b19 !important; }
.form-errors { padding: 11px 13px; border-radius: 10px; background: #fff0ec; font-size: 13px; }
.form-errors ul { margin: 0; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch a { color: var(--accent-ink); font-weight: 800; }
.centered-button { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.danger-panel { border-color: #a42b19; }
.danger-button { min-height: 48px; padding: 10px 17px; border: 2px solid #6f1d12; border-radius: 12px; background: #a42b19; color: white; font-weight: 850; }
.danger-button:hover { background: #7f2014; }

.account-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.account-hero h1 { margin-bottom: 10px; }
.account-hero > div > p:last-child { color: var(--muted); }
.profile-card { display: flex; align-items: center; gap: 13px; min-width: 280px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 4px 4px 0 var(--gold); }
.profile-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: white; font-size: 22px; font-weight: 900; }
.profile-card strong, .profile-card small { display: block; }
.profile-card small { margin-top: 2px; color: var(--muted); }
.account-settings { margin-top: 50px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.account-settings h2 { margin-top: 0; }
.account-settings p { color: var(--muted); }
.notification-settings-form { display: grid; gap: 16px; max-width: 620px; }
.notification-toggle { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.notification-toggle input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); }
.notification-toggle span { display: grid; gap: 4px; }
.notification-toggle small, .settings-note { color: var(--muted); }
.notification-settings-form .primary-button { justify-self: start; }
.whatsapp-link-code { display: grid; gap: 7px; margin: 16px 0; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #f3f8ef; }
.whatsapp-link-code span { color: var(--muted); font-size: 13px; }
.whatsapp-link-code strong { font-size: 24px; letter-spacing: .08em; }
.danger-link { display: inline-block; color: #8d2417; }
.saved-list { display: grid; gap: 12px; }
.saved-card { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.saved-date { display: grid; place-items: center; min-height: 68px; border-radius: 15px; background: var(--gold); line-height: 1; }
.saved-date strong { font-size: 27px; }
.saved-date span { font-size: 11px; font-weight: 900; text-transform: uppercase; }
.saved-card h3 { margin: 7px 0 4px; font-size: 19px; }
.saved-card h3 a { text-decoration: none; }
.saved-card p { margin: 0; color: var(--muted); font-size: 13px; }

.communities-hero { align-items: center; }
.community-count { display: grid; place-items: center; min-width: 130px; min-height: 116px; padding: 15px; border: 1px solid var(--ink); border-radius: 24px; background: var(--sandy); box-shadow: 5px 5px 0 var(--ink); transform: rotate(2deg); }
.community-count strong { font-size: 43px; line-height: 1; }
.community-count span { font-size: 11px; font-weight: 900; text-transform: uppercase; }
.community-filters { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(220px, 1fr) auto; align-items: end; gap: 10px; margin: 34px 0; padding: 16px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.community-filters label { display: grid; gap: 6px; }
.community-filters input, .community-filters select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.community-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.community-card__mark { display: grid; place-items: center; min-height: 132px; background: linear-gradient(135deg, var(--gold), var(--clay)); text-decoration: none; }
.community-card:nth-child(3n+2) .community-card__mark { background: linear-gradient(135deg, var(--sandy), var(--gold)); }
.community-card:nth-child(3n+3) .community-card__mark { background: linear-gradient(135deg, #ffd59b, var(--sandy)); }
.community-card__mark span { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--ink); border-radius: 22px; background: white; font-size: 34px; font-weight: 950; text-transform: uppercase; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-3deg); }
.community-card__mark--logo { background: white !important; }
.community-card__mark img { width: min(74%, 210px); height: 86px; object-fit: contain; }
.community-card__body { padding: 18px; }
.community-card h2 { min-height: 52px; margin: 13px 0 5px; font-size: 21px; line-height: 1.15; }
.community-card h2 a { text-decoration: none; }
.community-card__body > p { color: var(--muted); font-size: 13px; }
.community-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.community-card__footer a { color: var(--ink); font-weight: 850; }
.directory-note { margin: 28px auto 0; max-width: 760px; color: var(--muted); font-size: 12px; text-align: center; }

.community-detail-page { max-width: 1000px; }
.community-profile { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 36px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.community-profile__mark { display: grid; place-items: center; width: 180px; height: 180px; border: 2px solid var(--ink); border-radius: 42px; background: linear-gradient(135deg, var(--gold), var(--sandy)); font-size: 78px; font-weight: 950; text-transform: uppercase; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-2deg); }
.community-profile__mark--logo { overflow: hidden; background: white; transform: none; }
.community-profile__mark img { width: 78%; height: 78%; object-fit: contain; }
.community-profile h1 { margin: 14px 0 12px; font-size: clamp(38px, 6vw, 58px); }
.community-profile p { color: var(--muted); }
.community-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.footer { display: flex; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer p { margin: 0; }
.footer span { margin: 0 5px; }
.footer__links { display: flex; gap: 14px; }
.footer__links a { font-weight: 750; }

.organiser-page { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); align-items: start; gap: 50px; }
.organiser-intro { position: sticky; top: 118px; padding: 28px 0; }
.organiser-intro h1 { max-width: 640px; }
.organiser-intro > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 18px; }
.submission-steps { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: submission-step; }
.submission-steps li { position: relative; padding: 13px 16px 13px 54px; border: 2px solid var(--ink); border-radius: 14px; background: white; box-shadow: 3px 4px 0 var(--ink); font-weight: 800; counter-increment: submission-step; }
.submission-steps li::before { content: counter(submission-step); position: absolute; left: 13px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); font-weight: 950; }
.submission-card { width: 100%; }
.submission-card h2 { margin-top: 0; font-size: 32px; }
.submission-form { grid-template-columns: 1fr 1fr; }
.submission-form__wide { grid-column: 1 / -1; }
.consent-field { grid-template-columns: auto 1fr !important; align-items: start; padding: 14px; border-radius: 12px; background: #fff1dc; }
.consent-field input { grid-column: 1; grid-row: 1; width: 20px; height: 20px; margin: 1px 0 0; }
.consent-field span { grid-column: 2; grid-row: 1; }
.consent-field .field-error { grid-column: 2; }
.form-privacy { margin: -3px 0 0; color: var(--muted); font-size: 12px; }
.policy-page { max-width: 850px; }
.policy-page > p, .policy-page li { color: var(--muted); }
.policy-page h2 { margin-top: 38px; }
.success-card { text-align: center; }
.success-card .button-row { justify-content: center; }

.event-guide__launcher {
  position: fixed;
  z-index: 55;
  right: 26px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: white;
  font-weight: 850;
  box-shadow: 4px 4px 0 var(--gold), 0 14px 35px rgba(31, 19, 0, .18);
}
.event-guide__launcher span { color: var(--gold); font-size: 20px; }
.event-guide__launcher:hover { background: var(--accent-ink); }

.event-guide {
  position: fixed;
  z-index: 60;
  right: 26px;
  bottom: 24px;
  width: min(410px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: white;
  box-shadow: 8px 8px 0 var(--gold), 0 24px 70px rgba(31, 19, 0, .24);
}
.event-guide[hidden] { display: none; }
.event-guide__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 21px 17px;
  border-bottom: 1px solid var(--line);
  background: #fff6e9;
}
.event-guide__header .eyebrow { margin-bottom: 5px; }
.event-guide__header h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.event-guide__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}
.event-guide__body { max-height: calc(min(720px, 100vh - 48px) - 92px); overflow-y: auto; padding: 20px; }
.guide-message { margin-bottom: 12px; font-weight: 800; }
.guide-options { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-options:empty { display: none; }
.guide-options button, .guide-submit {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.guide-options button:hover, .guide-options button.is-selected {
  border-color: var(--bronze);
  background: #fff0d9;
  color: var(--accent-ink);
}
.guide-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.guide-dates[hidden] { display: none; }
.guide-dates label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.guide-dates input { min-height: 40px; width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; }
.guide-submit { grid-column: 1 / -1; border-color: var(--ink); background: var(--ink); color: white; }
.guide-status { margin: 17px 0 11px; color: var(--muted); font-size: 13px; }
.guide-status:empty { display: none; }
.guide-status--loading { color: var(--accent-ink); }
.guide-status--error { color: #a42b19; }
.guide-results { display: grid; gap: 9px; margin-top: 14px; }
.guide-result {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  text-decoration: none;
}
.guide-result:hover { border-color: var(--bronze); background: #fff6e9; }
.guide-result img { width: 68px; height: 58px; border-radius: 9px; object-fit: cover; }
.guide-result:not(:has(img)) { grid-template-columns: 1fr; }
.guide-result strong, .guide-result small { display: block; }
.guide-result strong { font-size: 13px; line-height: 1.25; }
.guide-result small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }

.site-messages { width: min(1180px, calc(100% - 40px)); margin: 18px auto 0; }
.site-messages p { padding: 12px 16px; border: 1px solid var(--clay); border-radius: 12px; background: #fff0d9; }
.social-hero { max-width: 680px; margin-bottom: 34px; }
.social-hero > p:last-child, .social-panel > p, .social-note { color: var(--muted); }
.social-panel > .social-warning { padding: 12px 14px; border-radius: 10px; background: #fff1d4; color: #674c1e; }
.social-panel { margin: 22px 0; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 30px rgba(31,19,0,.04); }
.social-panel .section-heading { margin-bottom: 12px; }
.social-list { display: grid; gap: 10px; }
.social-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.social-row h3 { margin: 5px 0; font-size: 17px; }
.social-row small { display: block; color: var(--muted); }
.social-row form, .social-actions, .social-actions form, .community-join-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.social-actions { margin-top: 12px; }
.social-actions select, .event-social select { min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.share-field { display: grid; gap: 6px; max-width: 680px; margin-top: 18px; font-weight: 700; }
.share-field input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf3; }
.active-links { margin-top: 16px; }
.active-links .share-field { width: min(100%, 680px); margin: 0; }
.event-social { margin: 22px 0; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fffaf3; }
.event-social h2 { font-size: 22px; margin-bottom: 6px; }
.event-social > p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.event-social__form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.event-social__form label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.social-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 36px; padding: 22px; border-radius: 18px; background: #fff0d9; }
.social-banner p { margin: 5px 0 0; color: var(--muted); }
.community-join-form { margin: 20px 0; }
.community-join-form label { margin-right: 12px; }

.share-nudge { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 18px; margin: 18px 0 22px; padding: 20px; border: 2px solid var(--ink); border-radius: 17px; background: #ffe1aa; box-shadow: 4px 5px 0 var(--ink); }
.share-nudge h2 { margin: 2px 0 3px; font-size: 22px; }
.share-nudge p { margin: 0; color: var(--muted); font-size: 13px; }
.share-nudge .eyebrow { color: var(--accent-ink); font-size: 10px; }
.share-nudge .text-button { grid-column: 2; justify-self: center; }
.quick-share { display: flex; align-items: center; gap: 12px; margin: -4px 0 18px; }
.quick-share span { color: var(--accent-ink); font-size: 12px; font-weight: 800; }

.share-page { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(480px, 1.2fr); align-items: start; gap: 34px; max-width: 1050px; }
.share-preview, .share-tools, .invite-event-card, .invite-connect { border: 2px solid var(--ink); border-radius: 24px; background: white; box-shadow: 6px 7px 0 var(--ink); }
.share-preview { position: sticky; top: 112px; overflow: hidden; padding: 30px; background: linear-gradient(145deg, #fff1d9, var(--gold)); }
.share-preview img { width: calc(100% + 60px); height: 230px; margin: -30px -30px 24px; object-fit: cover; border-bottom: 2px solid var(--ink); }
.share-preview h1 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 58px); line-height: .95; }
.share-preview > p:last-child { color: var(--muted); }
.share-tools { padding: 34px; }
.share-tools h2 { margin: 4px 0 6px; font-size: 36px; }
.share-tools > p:not(.eyebrow, .social-warning) { color: var(--muted); }
.share-message, .share-link { display: grid; gap: 7px; margin-top: 24px; font-size: 13px; font-weight: 850; }
.share-message textarea, .share-link input { width: 100%; padding: 13px; border: 2px solid var(--ink); border-radius: 13px; background: #fffaf3; font: inherit; }
.share-message textarea { min-height: 130px; resize: vertical; }
.share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.share-buttons > * { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; }
.channel-button { border: 2px solid var(--ink); border-radius: 12px; color: white; font-weight: 850; box-shadow: 3px 4px 0 var(--ink); }
.channel-button--whatsapp { background: #167c4b; }
.channel-button--telegram { background: #257aa5; }
.share-status { min-height: 24px; margin: 13px 0 0; color: var(--accent-ink); font-size: 13px; font-weight: 800; }
.name-sharing-form { display: grid; gap: 9px; margin-top: 24px; padding: 16px; border-radius: 13px; background: #fff1dc; }
.name-sharing-form label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; font-size: 13px; font-weight: 750; }
.name-sharing-form input { width: 19px; height: 19px; margin: 1px 0 0; }
.name-sharing-form .text-button { justify-self: start; }
.share-page__footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.share-page__footer a { color: var(--accent-ink); font-weight: 850; }

.invite-page { max-width: 900px; }
.invite-heading { max-width: 720px; margin-bottom: 30px; text-align: center; margin-inline: auto; }
.invite-heading h1 { margin: 5px 0 9px; }
.invite-heading > p:last-child { color: var(--muted); font-size: 18px; }
.invite-event-card { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(340px, 1.15fr); overflow: hidden; }
.invite-event-card__art { display: grid; place-items: center; min-height: 390px; border-right: 2px solid var(--ink); background: linear-gradient(145deg, var(--gold), var(--sandy)); }
.invite-event-card__art img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.invite-event-card__art span { display: grid; place-items: center; width: 100px; height: 100px; border: 3px solid var(--ink); border-radius: 30px; background: white; font-size: 58px; font-weight: 950; box-shadow: 6px 7px 0 var(--ink); transform: rotate(-5deg); }
.invite-event-card__body { padding: 34px; }
.invite-event-card h2 { margin: 15px 0 24px; font-size: clamp(32px, 5vw, 48px); line-height: 1; }
.invite-facts { display: grid; gap: 13px; margin: 0 0 28px; }
.invite-facts div { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.invite-facts dt { color: var(--accent-ink); font-size: 10px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.invite-facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 750; }
.invite-connect { margin-top: 28px; padding: 25px; text-align: center; }
.invite-connect h2 { margin: 0 0 6px; }
.invite-connect > p { color: var(--muted); }
.invite-connect .social-actions { justify-content: center; }

/* Editorial design inspired by the approved Bored? concept. */
.topbar { border-bottom: 1px solid rgba(31, 19, 0, .1); background: rgba(255, 252, 246, .97); }
.topbar__inner { width: min(1530px, calc(100% - 72px)); min-height: 78px; }
.brand { gap: 2px; }
.brand .brand__wordmark { display: block; font-family: "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif; font-size: 43px; font-weight: 950; line-height: 1; letter-spacing: -.075em; }
.brand__spark { position: relative; display: block; width: 32px; height: 42px; transform: rotate(10deg); }
.brand__spark::before, .brand__spark::after { content: ""; position: absolute; display: block; border-radius: 99px; background: var(--sandy); }
.brand__spark::before { top: 0; left: 14px; width: 5px; height: 19px; transform: rotate(27deg); }
.brand__spark::after { top: 21px; left: 7px; width: 22px; height: 5px; transform: rotate(-15deg); box-shadow: 0 12px 0 var(--sandy); }
.nav { gap: 24px; padding: 0; border: 0; background: transparent; }
.nav__item { position: relative; min-height: 48px; padding: 13px 7px; color: var(--ink); font-size: 15px; font-weight: 850; white-space: nowrap; }
.nav__item--active { background: transparent; box-shadow: none; }
.nav__item--active::after { content: ""; position: absolute; right: 7px; bottom: 5px; left: 7px; height: 4px; border-radius: 99px; background: var(--sandy); }
.nav__item:hover { color: var(--accent-ink); }
.account-nav { gap: 13px; }
.header-search { display: grid; place-items: center; width: 43px; height: 43px; margin-right: 2px; border: 2px solid var(--ink); border-radius: 50%; }
.header-search span { position: relative; width: 15px; height: 15px; border: 2px solid var(--ink); border-radius: 50%; }
.header-search span::after { content: ""; position: absolute; right: -7px; bottom: -4px; width: 9px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.account-link { font-size: 14px; }
.quiet-button, .compact-button, .secondary-button, .save-button { border: 2px solid var(--ink); border-radius: 12px; }
.compact-button, .primary-button { border: 2px solid var(--ink); background: var(--sandy); color: var(--ink); box-shadow: 4px 5px 0 var(--ink); }
.primary-button:hover, .compact-button:hover { border-color: var(--ink); background: var(--gold); color: var(--ink); }

.page-shell--discover { width: min(1530px, calc(100% - 72px)); padding-top: 0; }
.discover-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; }
.discover-hero__copy { position: relative; z-index: 2; padding-top: 45px; }
.discover-hero h1 { max-width: none; margin: 0 0 16px; font-family: "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif; font-size: clamp(65px, 7vw, 108px); font-weight: 950; line-height: .82; letter-spacing: -.075em; }
.discover-hero h1 span { color: var(--sandy); }
.discover-hero .hero__copy { color: var(--ink); font-size: clamp(19px, 2vw, 27px); font-weight: 800; line-height: 1.2; }
.discover-hero__art { position: relative; min-width: 0; height: 390px; overflow: visible; }
.discover-hero__shape { position: absolute; inset: 0 -12px 24px 3%; background: linear-gradient(135deg, var(--gold), var(--sandy) 67%, var(--bronze)); clip-path: polygon(16% 0, 98% 3%, 91% 50%, 100% 100%, 0 100%, 17% 57%); }
.discover-hero__art img { position: absolute; z-index: 1; right: 0; bottom: 0; width: 100%; max-height: 100%; object-fit: contain; object-position: bottom right; }
.discover-hero__note { position: absolute; z-index: 2; margin: 0; color: var(--ink); font-family: "Marker Felt", "Bradley Hand", "Comic Sans MS", cursive; font-size: clamp(18px, 1.9vw, 27px); font-weight: 900; line-height: 1.05; text-align: center; }
.discover-hero__note--left { top: 44px; left: -9%; transform: rotate(-13deg); }
.discover-hero__note--right { top: 76px; right: 0; padding: 16px 17px; background: #ffe1aa; box-shadow: 2px 3px 0 rgba(31, 19, 0, .12); transform: rotate(9deg); }

.filters--discover { position: relative; z-index: 4; width: min(1380px, 100%); grid-template-columns: minmax(230px, 2.4fr) repeat(5, minmax(115px, 1fr)) 68px; gap: 12px; margin-top: -106px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.filters--discover label { position: relative; display: block; }
.filters--discover .filter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.filters--discover input, .filters--discover select { min-height: 60px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 16px; background: #ffe1aa; box-shadow: 5px 6px 0 var(--ink); font-size: 15px; }
.filters--discover .search-field input { background: white; padding-left: 54px; }
.filters--discover .search-field > .search-field__icon { position: absolute; z-index: 1; top: 18px; left: 19px; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 50%; transform: none; }
.filters--discover .search-field__icon::after { content: ""; position: absolute; right: -8px; bottom: -5px; width: 10px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.filters--discover .filters__submit { min-height: 60px; padding: 0; border-radius: 16px; font-size: 30px; }
.filters--discover .clear-link { margin-top: 6px; }

.page-shell--discover .section-heading { margin: 45px 0 21px; }
.page-shell--discover .section-heading h2 { position: relative; display: inline-block; font-family: "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif; font-size: clamp(43px, 5vw, 61px); font-weight: 950; letter-spacing: -.065em; }
.page-shell--discover .section-heading h2::after { content: ""; position: absolute; top: -9px; right: -29px; width: 7px; height: 22px; border-radius: 99px; background: var(--sandy); transform: rotate(37deg); box-shadow: 18px 14px 0 -1px var(--sandy), 11px 38px 0 -1px var(--sandy); }
.page-shell--discover .section-heading > p { font-size: 16px; font-weight: 650; }
.event-grid { gap: 20px; }
.event-card { border: 2px solid var(--ink); border-radius: 20px; box-shadow: 7px 8px 0 var(--ink); }
.event-card:hover { box-shadow: 9px 11px 0 var(--ink); }
.event-art { height: 205px; padding: 0; border-bottom: 2px solid var(--ink); }
.event-art::before, .event-art::after { pointer-events: none; }
.event-art > .event-art__date { position: absolute; z-index: 3; top: 15px; left: 15px; display: grid; place-items: center; min-width: 67px; padding: 7px 10px 8px; border: 2px solid var(--ink); border-radius: 13px; background: #fff9ee; color: var(--ink); font-size: initial; line-height: 1; text-align: center; letter-spacing: normal; box-shadow: 3px 4px 0 var(--ink); }
.event-art__date small { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.event-art__date strong { margin-top: 3px; font-size: 29px; font-weight: 950; }
.event-art > .event-art__category { position: absolute; z-index: 3; top: 16px; right: 16px; left: auto; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .05em; box-shadow: 2px 3px 0 var(--ink); }
.event-art.has-cover > .event-art__date, .event-art.has-cover > .event-art__category { border-color: var(--ink); background: #fff9ee; color: var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.event-art.has-cover > .event-art__date { border-radius: 13px; }
.event-art.has-cover > .event-art__category { background: var(--gold); }
.event-card__body { display: flex; flex-direction: column; min-height: 180px; padding: 14px 17px 17px; }
.event-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0 0 8px; font-size: 21px; line-height: 1.12; }
.event-card__details { min-width: 0; margin-bottom: 12px; color: var(--muted); font-size: 13px; line-height: 1.25; }
.event-card__details p { overflow: hidden; margin: 0 0 3px; text-overflow: ellipsis; white-space: nowrap; }
.event-card__venue { color: var(--ink); }
.event-card__venue span { margin-right: 7px; color: var(--accent-ink); font-size: 17px; }
.event-card__footer { margin-top: auto; padding-top: 0; border-top: 0; }
.event-card__footer .price { max-width: 52%; color: var(--muted); font-size: 11px; line-height: 1.15; }
.event-card__footer a { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; min-width: 145px; padding: 8px 13px; border: 2px solid var(--ink); border-radius: 11px; background: var(--sandy); color: var(--ink); font-size: 13px; box-shadow: 4px 5px 0 var(--ink); }
.event-card__footer a:hover { background: var(--gold); color: var(--ink); }
.event-card__footer a span { font-size: 19px; line-height: 1; }

.detail-card, .auth-card, .community-profile, .social-panel, .saved-card, .community-card { border: 2px solid var(--ink); box-shadow: 6px 7px 0 var(--ink); }
.community-card__mark { min-height: 165px; }
.community-card__footer a { color: var(--accent-ink); }
.community-filters { border: 2px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.community-filters input, .community-filters select { border: 2px solid var(--ink); }
.community-filters .search-field > .search-field__icon { position: absolute; z-index: 1; top: 15px; left: 15px; width: 17px; height: 17px; border: 2px solid var(--ink); border-radius: 50%; transform: none; }
.community-filters .search-field__icon::after { content: ""; position: absolute; right: -7px; bottom: -4px; width: 9px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.community-filters .search-field input { padding-left: 43px; }
.communities-hero h1, .community-profile h1, .account-hero h1, .auth-card h1 { font-family: "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif; font-weight: 950; letter-spacing: -.06em; }
.community-count { background: var(--gold); }
.saved-date { border: 2px solid var(--ink); }

@media (max-width: 1060px) {
  .topbar__inner { width: min(100% - 40px, 1530px); }
  .brand .brand__wordmark { font-size: 35px; }
  .nav { gap: 9px; }
  .nav__item { padding-inline: 5px; font-size: 13px; }
  .account-nav { gap: 7px; }
  .discover-hero { min-height: 370px; }
  .discover-hero h1 { font-size: clamp(57px, 7vw, 83px); }
  .discover-hero__art { height: 355px; }
  .discover-hero__note { font-size: 19px; }
  .filters--discover { margin-top: -48px; grid-template-columns: 2fr repeat(2, 1fr); }
  .filters--discover .search-field { grid-column: auto; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .search-field { grid-column: span 2; }
  .event-grid, .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar__inner { width: min(100% - 28px, 1530px); grid-template-columns: 1fr auto; padding: 9px 0; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav__item { white-space: nowrap; }
  .brand .brand__wordmark { font-size: 34px; }
  .brand__spark { transform: scale(.8) rotate(10deg); transform-origin: left center; }
  .header-search { display: none; }
  .account-link { font-size: 12px; }
  .language-switcher button { min-width: 29px; padding-inline: 5px; }
  .account-nav .quiet-button { padding-inline: 9px; }
  .page-shell { width: min(100% - 28px, 1180px); padding-top: 34px; }
  .page-shell--discover { width: min(100% - 28px, 1530px); padding-top: 0; }
  .discover-hero { display: block; min-height: 0; }
  .discover-hero__copy { padding-top: 31px; }
  .discover-hero h1 { font-size: clamp(56px, 10.7vw, 82px); }
  .discover-hero .hero__copy { font-size: 19px; }
  .discover-hero__art { height: 345px; margin-top: 18px; overflow: hidden; }
  .discover-hero__shape { inset: 0 0 15px 0; }
  .discover-hero__note--left { top: 37px; left: 3%; }
  .discover-hero__note--right { top: 47px; right: 2%; }
  .filters--discover { width: 100%; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 20px; }
  .filters--discover .search-field { grid-column: 1 / -1; }
  .filters--discover .filters__submit { grid-column: 1 / -1; }
  .page-shell--discover .section-heading { margin-top: 49px; }
  .page-shell--discover .section-heading h2 { font-size: 44px; }
  .hero { align-items: flex-start; }
  .today-card { width: 82px; padding: 11px 7px; border-radius: 14px; }
  .today-card strong { font-size: 30px; }
  h1 { font-size: clamp(38px, 13vw, 56px); }
  .hero__copy { font-size: 15px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .filters .primary-button { grid-column: 1 / -1; }
  .event-grid { grid-template-columns: 1fr; }
  .event-art { height: clamp(190px, 43vw, 260px); }
  .detail-card { grid-template-columns: 1fr; }
  .detail-art { min-height: 250px; }
  .detail-content { padding: 30px 22px 34px; }
  .footer { width: min(100% - 28px, 1180px); flex-direction: column; }
  .account-hero { align-items: flex-start; flex-direction: column; }
  .profile-card { width: 100%; }
  .community-filters { grid-template-columns: 1fr; }
  .community-profile { grid-template-columns: 1fr; }
  .community-profile__mark { width: 130px; height: 130px; border-radius: 32px; font-size: 55px; }
  .event-guide__launcher { right: 16px; bottom: 16px; }
  .event-guide { right: 16px; bottom: 16px; }
  .social-row, .social-banner { align-items: flex-start; flex-direction: column; }
  .social-panel { padding: 19px; }
  .organiser-page { grid-template-columns: 1fr; gap: 26px; }
  .organiser-intro { position: static; padding: 0; }
  .submission-form { grid-template-columns: 1fr; }
  .submission-form__wide { grid-column: auto; }
  .share-page { grid-template-columns: 1fr; }
  .share-preview { position: static; }
  .invite-event-card { grid-template-columns: 1fr; }
  .invite-event-card__art { min-height: 240px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .invite-event-card__art img { min-height: 240px; max-height: 300px; }
}

@media (max-width: 480px) {
  .brand small { display: none; }
  .brand .brand__wordmark { font-size: 29px; }
  .account-nav { gap: 5px; }
  .account-link { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--ink); color: white; font-size: 0; }
  .account-link::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: white; transform: translateY(-5px); box-shadow: 0 11px 0 3px white; }
  .account-nav .quiet-button { min-height: 35px; padding: 5px 7px; font-size: 11px; }
  .language-switcher button { min-width: 25px; min-height: 27px; font-size: 10px; }
  .discover-hero h1 { font-size: clamp(49px, 12.8vw, 62px); }
  .discover-hero__art { height: 236px; }
  .discover-hero__note { font-size: 13px; }
  .discover-hero__note--right { padding: 10px; }
  .event-guide__launcher { justify-content: center; width: 52px; min-height: 52px; padding: 0; font-size: 0; }
  .event-guide__launcher span { font-size: 22px; }
  .filters--discover { grid-template-columns: 1fr 1fr; }
  .filters--discover .search-field, .filters--discover .filters__submit { grid-column: 1 / -1; }
  .filters--discover input, .filters--discover select { min-height: 52px; font-size: 13px; }
  .filters--discover .filters__submit { min-height: 52px; }
  .filters--discover .search-field > .search-field__icon { top: 15px; }
  .filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .filters .primary-button { grid-column: auto; }
  .filters--discover { grid-template-columns: 1fr 1fr; }
  .filters--discover .search-field, .filters--discover .filters__submit { grid-column: 1 / -1; }
  .section-heading { align-items: flex-start; }
  .community-grid { grid-template-columns: 1fr; }
  .saved-card { grid-template-columns: 58px 1fr; }
  .saved-card > :last-child { grid-column: 2; justify-self: start; }
  .auth-card { padding: 28px 20px; }
  .share-tools { padding: 25px 20px; }
  .share-buttons { grid-template-columns: 1fr; }
  .share-nudge { grid-template-columns: 1fr; }
  .share-nudge .text-button { grid-column: 1; justify-self: start; }
  .share-page__footer { align-items: flex-start; flex-direction: column; }
  .invite-event-card__body { padding: 25px 20px; }
  .community-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* A single three-stroke motif shared by the wordmark and section titles. */
.brand__spark, .accent-heading::after, .page-shell--discover .section-heading h2.accent-heading::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 57' fill='none' stroke='%23F7934C' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M12 20 25 4M25 29 48 17M29 43 51 48'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand__spark { flex: none; width: 39px; height: 39px; transform: none; }
.brand__spark::before, .brand__spark::after { content: none; }
.accent-heading { position: relative; display: inline-block; }
.accent-heading::after, .page-shell--discover .section-heading h2.accent-heading::after {
  content: ""; position: absolute; top: 0; right: -49px; width: 43px; height: 43px;
  border: 0; border-radius: 0; box-shadow: none; transform: none;
}
.discover-hero h1.accent-heading::after { top: 43%; right: -55px; width: 55px; height: 55px; }

.filters--discover { grid-template-columns: minmax(230px, 2.1fr) minmax(145px, 1fr) minmax(130px, .85fr) minmax(160px, 1.1fr) minmax(135px, .9fr) minmax(135px, .9fr) 68px; }
.select-control, .filters--discover select, .community-filters select, .event-social select, .social-actions select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px !important;
  background-color: #fffaf1 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1300' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-weight: 800;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.select-control:hover, .filters--discover select:hover, .community-filters select:hover, .event-social select:hover, .social-actions select:hover {
  border-color: var(--bronze);
  background-color: #fff1dc !important;
}
.select-control:focus, .filters--discover select:focus, .community-filters select:focus, .event-social select:focus, .social-actions select:focus {
  border-color: var(--bronze);
  background-color: white !important;
}
.select-control option, .filters--discover select option, .community-filters select option, .event-social select option, .social-actions select option {
  background: #fffaf1;
  color: var(--ink);
  font-weight: 700;
}
.filters--discover .filter-select .filter-label {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 15px;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  color: var(--accent-ink);
  font-size: 9px;
  letter-spacing: .09em;
  pointer-events: none;
}
.filters--discover .filter-select select {
  min-height: 66px;
  padding: 26px 38px 8px 14px;
  border-radius: 17px;
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 13px;
}
.filters--discover .search-field input, .filters--discover .filters__submit { min-height: 66px; }
.filters--discover .filter-select:focus-within select { box-shadow: 3px 4px 0 var(--ink); transform: translate(2px, 2px); }
.filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 5px; }
.custom-date-fields:not([hidden]) { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.custom-date-fields[hidden] { display: none; }
.custom-date-fields label { display: grid; gap: 5px; font-size: 12px; font-weight: 900; }
.filters--discover .custom-date-fields input { min-height: 44px; padding: 8px 12px; background: #fffaf1; box-shadow: 3px 4px 0 var(--ink); }
.filters--discover .clear-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 3px 3px auto; padding: 7px 15px; border: 2px solid var(--ink); border-radius: 13px; background: #fffaf1; color: var(--ink); box-shadow: 3px 4px 0 var(--ink); text-decoration: none; font-size: 13px; font-weight: 900; }
.filters--discover .clear-link:hover { background: var(--gold); }
.clear-link span { font-size: 23px; line-height: 1; }
.filter-error { flex-basis: 100%; margin: 0; color: #982522; font-size: 13px; font-weight: 750; }

.eligibility-tag { display: inline-flex; align-items: center; width: max-content; min-height: 23px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; background: #fffaf1; color: var(--muted); font-size: 10px; font-weight: 850; }
.event-card__footer > div { display: grid; gap: 5px; min-width: 0; }
.event-social__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 20px; }
.event-social__form .select-field { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 8px; min-width: 0; min-height: 166px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.event-social__form .select-field:focus-within { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(247, 147, 76, .16); }
.event-social__form .select-field select { width: 100%; min-height: 50px; margin: 0; padding: 9px 43px 9px 12px; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); }
.event-social__form small { max-width: 330px; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.4; }
.event-social__actions, .event-social__actions form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.event-social__actions { margin-top: 16px; }
.event-social__actions .primary-button, .event-social__actions .quiet-button, .event-social__actions .text-button { white-space: nowrap; }
.event-social__community { grid-column: 1 / 3; max-width: none; }
.event-social__community[hidden] { display: none; }
.event-social__form .errorlist { margin: 2px 0 0; padding-left: 17px; color: #982522; font-size: 12px; }
.shared-attendees { display: grid; gap: 5px; margin-top: 16px; }
.shared-attendees span { display: flex; flex-wrap: wrap; gap: 7px; }
.shared-attendees small, .sharing-reason { display: block; color: var(--accent-ink) !important; font-weight: 800; }

.account-settings--profile { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); align-items: start; gap: 32px; margin-top: 28px; border: 2px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.account-settings--profile h2 { margin-bottom: 7px; }
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-form label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 850; }
.profile-form input { width: 100%; min-height: 48px; padding: 10px 13px; border: 2px solid var(--ink); border-radius: 12px; background: #fffaf1; color: var(--ink); }
.profile-form input:focus { background: white; }
.profile-form .primary-button { grid-column: 1 / -1; justify-self: start; }

.organiser-spotlight { display: grid; gap: 6px; margin: 25px 0 7px; padding: 20px 23px; border: 2px solid var(--ink); border-radius: 17px; background: #fff0d4; box-shadow: 4px 5px 0 var(--ink); }
.organiser-spotlight__label { color: var(--accent-ink); font-size: 12px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.organiser-spotlight strong { font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.15; }
.organiser-spotlight a { justify-self: start; color: var(--accent-ink); font-size: 14px; font-weight: 850; }
.link-pending { padding: 12px; border-radius: 10px; background: #fff0d4; font-weight: 700; }
.community-related { margin-top: 48px; }
.community-related > p { color: var(--muted); font-size: 14px; }

@media (max-width: 1060px) {
  .filters--discover { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters--discover .search-field { grid-column: span 2; }
  .filters--discover .filters__submit { grid-column: auto; }
}

.communities-page { width: min(1350px, calc(100% - 72px)); }
.communities-hero { position: relative; min-height: 285px; padding: 40px 48px; border: 2px solid var(--ink); border-radius: 23px; background: #ffd381; box-shadow: 7px 8px 0 var(--ink); overflow: hidden; }
.communities-hero > div:first-child { position: relative; z-index: 1; max-width: 680px; }
.communities-hero h1 { max-width: 590px; font-size: clamp(43px, 5vw, 70px); line-height: 1.02; }
.communities-hero__art { position: absolute; top: 0; right: 0; bottom: 0; width: 37%; background: var(--sandy); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 20% 55%); }
.communities-hero__art > span { position: absolute; top: 22px; right: 30px; width: 240px; color: var(--ink); font-family: "Marker Felt", "Bradley Hand", cursive; font-size: clamp(23px, 3vw, 40px); font-weight: 900; line-height: .98; text-align: center; transform: rotate(7deg); }
.communities-hero__art b { position: absolute; right: 19%; bottom: 16px; display: grid; place-items: center; align-content: center; width: 140px; height: 140px; border: 3px solid var(--ink); border-radius: 50%; background: #fff9eb; font-size: 61px; transform: rotate(-10deg); }
.communities-hero__art b small { font-size: 13px; font-weight: 900; text-transform: uppercase; }
.community-filters { position: relative; z-index: 1; margin: 30px 0 19px; border-radius: 18px; }
.community-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.community-chips a { padding: 9px 15px; border: 2px solid var(--ink); border-radius: 999px; background: #fffaf1; text-decoration: none; font-size: 13px; font-weight: 800; }
.community-chips a.is-active, .community-chips a:hover { background: var(--sandy); box-shadow: 3px 3px 0 var(--ink); }
.community-card { display: flex; flex-direction: column; }
.community-card__mark { min-height: 148px; background: #ffe1ad; }
.community-card__mark--logo { background: #fff7e8 !important; }
.community-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.community-card h2 { min-height: 0; margin: 14px 0 5px; font-size: 23px; }
.community-card__next { display: grid; gap: 4px; margin-top: auto; margin-bottom: 17px; padding: 14px 0 0; min-height: 84px; }
.community-card__next span { color: var(--accent-ink); font-size: 10px; font-weight: 950; letter-spacing: .09em; }
.community-card__next strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; }
.community-card__next small { color: var(--muted); font-weight: 800; }
.community-card__next--quiet strong { color: var(--muted); }

@media (max-width: 760px) {
  .communities-page { width: min(100% - 28px, 1350px); }
  .communities-hero { min-height: 260px; padding: 27px 23px; }
  .communities-hero > div:first-child { max-width: 78%; }
  .communities-hero__art { width: 41%; }
  .communities-hero__art > span { right: 5px; width: 115px; font-size: 19px; }
  .communities-hero__art b { right: 11%; bottom: 17px; width: 96px; height: 96px; font-size: 41px; }
  .communities-hero__art b small { font-size: 9px; }
  .accent-heading::after, .page-shell--discover .section-heading h2.accent-heading::after { right: -33px; width: 30px; height: 30px; }
  .discover-hero h1.accent-heading::after { right: -32px; width: 35px; height: 35px; }
  .filters--discover { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; }
  .event-social__form { grid-template-columns: 1fr 1fr; }
  .event-social__form > .primary-button, .event-social__form > .text-button { justify-self: start; }
  .account-settings--profile { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .communities-hero > div:first-child { max-width: 85%; }
  .communities-hero__art { opacity: .65; }
  .communities-hero h1 { font-size: 42px; }
  .community-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }
  .community-chips a { white-space: nowrap; }
  .filters--discover .filter-actions .custom-date-fields { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .custom-date-fields input { max-width: 100%; width: 100%; }
  .event-social__form { grid-template-columns: 1fr; }
  .event-social__community { grid-column: 1; }
  .event-social { padding: 20px; }
  .profile-form { grid-template-columns: 1fr; }
  .profile-form .primary-button { grid-column: 1; width: 100%; }
}
