:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f4f4ef;
  --muted: #a1a29d;
  --line: #292a27;
  --panel: #10100f;
  --panel-soft: #181817;
  --inverse: #f4f4ef;
  --inverse-muted: #3d3d39;
  --focus: #8fb7ff;
  --shadow: 0 22px 55px rgba(0, 0, 0, .45);
  --header-bg: rgba(5, 5, 5, .96);
  --header-bg-condensed: rgba(5, 5, 5, .985);
  --solid-hover: #d9d9d2;
  --placeholder: #777873;
  --events-sticky-top: 0px;
  --events-panel-bottom-space: 72px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4ef;
  --ink: #050505;
  --muted: #62635f;
  --line: #d5d6cf;
  --panel: #fbfbf7;
  --panel-soft: #ecede7;
  --inverse: #050505;
  --inverse-muted: #bdbeb8;
  --shadow: 0 22px 55px rgba(0, 0, 0, .13);
  --header-bg: rgba(244, 244, 239, .96);
  --header-bg-condensed: rgba(244, 244, 239, .985);
  --solid-hover: #242420;
  --placeholder: #8d8e88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: min-height .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.site-header.is-condensed {
  min-height: 62px;
  background: var(--header-bg-condensed);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-width: 0;
  min-height: 56px;
}

.brand-mark img {
  display: block;
  width: 176px;
  height: auto;
  filter: invert(1);
  transition: width .24s ease;
}

.site-header.is-condensed .brand-mark img {
  width: 156px;
}

html[data-theme="light"] .brand-mark img {
  filter: none;
  mix-blend-mode: multiply;
}

.site-nav {
  display: inline-flex;
  justify-self: end;
  justify-content: flex-end;
  gap: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-nav a {
  min-width: 0;
  padding: 6px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.site-nav a:hover {
  color: var(--muted);
  background: transparent;
}

.site-nav a.is-active {
  color: var(--muted);
}

.header-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
  display: inline-flex;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;
  display: grid;
  width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.language-menu button:hover,
.language-menu button.is-selected {
  color: var(--ink);
  background: var(--panel-soft);
}

.language-menu button.is-selected::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.solid-button,
.outline-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header .solid-button,
.site-header .ghost-button {
  border: 0;
  box-shadow: none;
}

.site-header .ghost-button {
  background: transparent;
}

.site-header .solid-button {
  border: 0;
}

.site-header .community-link {
  color: var(--ink);
  font-weight: 900;
}

.site-header .community-link:hover {
  color: var(--muted);
  background: transparent;
}

.community-page .community-link {
  color: var(--ink);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theme-toggle span {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--ink);
}

.theme-toggle:hover {
  background: var(--panel-soft);
}

.solid-button {
  background: var(--ink);
  color: var(--bg);
}

.solid-button:hover {
  background: var(--solid-hover);
}

.outline-button,
.ghost-button {
  background: transparent;
  color: var(--ink);
}

.outline-button:hover,
.ghost-button:hover {
  background: var(--panel-soft);
}

.large {
  min-height: 48px;
  padding: 13px 18px;
}

main {
  width: 100%;
}

.hero-section {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 72px);
  padding: clamp(72px, 9vh, 126px) 40px clamp(72px, 8vh, 112px);
  border-bottom: 1px solid var(--line);
}

.home-page .hero-section,
.home-page .about-section,
.home-page .content-band,
.home-page .contact-section {
  position: relative;
  border-bottom: 0;
}

.home-page [data-reveal] {
  transform: translateY(42px) scale(.985);
  transition-duration: .9s;
}

.home-page [data-reveal].is-visible {
  transform: translateY(0) scale(1);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1720px, 100%);
  margin: 0 auto;
  min-width: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1580px;
  margin: 0;
  font-size: clamp(82px, 9.2vw, 178px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 1120px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 700;
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.hero-notes span,
.tag,
.status-pill,
.benefit-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.event-cover {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 12px;
  min-height: 84px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    #191919;
  background-size: 16px 16px;
  color: #ffffff;
}

.event-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}

.event-cover span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.15;
}

.events-section,
.content-band,
.about-section,
.contact-section {
  padding: 72px 40px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, .55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(320px, .38fr) minmax(0, .62fr);
  align-content: center;
  align-items: center;
  gap: clamp(64px, 7vw, 132px);
  min-height: calc(100vh - 72px);
  padding-top: clamp(84px, 8vw, 132px);
  padding-bottom: clamp(84px, 8vw, 132px);
}

.content-band .section-heading {
  grid-template-columns: 1fr;
  align-content: center;
  align-items: start;
  gap: 24px;
  margin-bottom: 0;
}

.content-band .section-heading h2 {
  max-width: 620px;
  font-size: clamp(52px, 4.8vw, 88px);
  line-height: .98;
}

.content-band .section-heading p:last-child {
  max-width: 520px;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 700;
  line-height: 1.7;
  white-space: pre-line;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.events-page .section-heading {
  grid-template-columns: 1fr;
  gap: 22px;
}

.events-page .section-heading p:last-child {
  max-width: 980px;
  font-weight: 700;
}

.events-page {
  position: relative;
  overflow: visible;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding-top: 0;
  font-size: 18px;
}

.events-page::before {
  content: none;
}

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

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

.filter-sidebar {
  position: sticky;
  top: var(--events-sticky-top);
  max-height: calc(100vh - var(--events-panel-bottom-space));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: var(--panel);
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.filter-title span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.text-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
}

.text-button:hover {
  color: var(--ink);
}

.finder-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  background: transparent;
}

.finder-panel .search-box {
  grid-column: auto;
}

.finder-panel label {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.finder-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.finder-panel input,
.finder-panel select {
  width: 100%;
  min-width: 0;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: var(--panel-soft);
  color: var(--ink);
  padding: 0 8px;
  font-size: 17px;
}

.finder-panel select.native-select {
  display: none;
}

.custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.custom-select-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding: 0 28px 0 8px;
  border: 0;
  background: var(--panel-soft);
  color: var(--ink);
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}

.custom-select-button::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-60%) rotate(45deg);
  transition: transform .18s ease;
}

.custom-select.is-open .custom-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 2px;
}

.custom-select-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding: 0 8px 0 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 16px;
  font-weight: 800;
}

.custom-select-option::before {
  content: "";
  position: absolute;
  left: 9px;
}

.custom-select-option.is-selected::before {
  content: "✓";
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.is-selected {
  background: var(--panel-soft);
  color: var(--ink);
}

.finder-panel input::placeholder {
  color: var(--placeholder);
}

.result-summary {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.events-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 430px);
  gap: 18px;
  align-items: start;
}

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

.event-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.event-card:hover,
.event-card.active {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.event-card button {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.event-cover {
  min-height: 148px;
  background-color: #090909;
}

.event-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.event-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.status-pill {
  color: var(--ink);
  border-color: var(--ink);
}

.events-page .tag,
.events-page .status-pill,
.events-page .benefit-chip {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 14px;
}

.event-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.event-meta {
  display: grid;
  grid-template-columns: minmax(58px, .75fr) minmax(128px, 1.35fr) minmax(96px, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.event-meta span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.event-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.detail-panel {
  position: sticky;
  top: var(--events-sticky-top);
  height: calc(100vh - var(--events-panel-bottom-space));
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: var(--panel);
}

@media (min-width: 1181px) {
  .events-page {
    --events-top-gap: 36px;
    --events-fixed-top: calc(72px + var(--events-top-gap));
    --events-filter-width: 280px;
    --events-detail-width: 600px;
    --events-column-gap: 26px;
  }

  .events-layout {
    display: block;
    min-height: calc(100vh - 72px);
    padding-top: var(--events-top-gap);
    padding-left: calc(var(--events-filter-width) + var(--events-column-gap));
    padding-right: calc(var(--events-detail-width) + var(--events-column-gap));
  }

  .filter-sidebar {
    position: fixed;
    top: var(--events-fixed-top);
    bottom: auto;
    left: 40px;
    z-index: 12;
    width: var(--events-filter-width);
    height: auto;
    max-height: calc(100vh - var(--events-fixed-top) - var(--events-top-gap));
  }

  .events-workspace {
    display: block;
  }

  .detail-panel {
    position: fixed;
    top: var(--events-fixed-top);
    right: 40px;
    bottom: 0;
    z-index: 12;
    width: var(--events-detail-width);
    height: auto;
    max-height: none;
  }
}

.detail-empty,
.detail-content {
  padding: 24px;
}

.detail-empty {
  display: grid;
  place-items: center;
  min-height: 620px;
  color: var(--muted);
  text-align: center;
}

.detail-cover {
  min-height: 190px;
  margin: -24px -24px 22px;
}

.detail-content h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.1;
}

.detail-content p {
  color: var(--muted);
  font-size: 18px;
}

.detail-list {
  display: grid;
  gap: 13px;
  margin: 20px 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-row span {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 900;
}

.detail-row strong,
.detail-row p {
  margin: 0;
  font-size: 18px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.disclaimer {
  margin-top: 18px;
  padding: 14px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 15px;
}

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

.article-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: clamp(116px, 8vw, 142px);
  padding: clamp(16px, 1.45vw, 22px);
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition:
    transform .24s ease,
    border-color .24s ease,
    box-shadow .24s ease,
    background-color .24s ease;
}

.article-grid article:hover,
.article-grid article:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.article-grid article:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.article-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.article-grid h3 {
  margin: 0;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.18;
}

.article-grid p {
  margin: 0;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
  transition: color .24s ease, max-height .24s ease, opacity .24s ease;
}

.article-grid article:hover p,
.article-grid article:focus-visible p {
  color: var(--ink);
  max-height: 180px;
  opacity: 1;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(380px, .43fr) minmax(0, .57fr);
  gap: clamp(78px, 8vw, 156px);
  align-items: start;
  min-height: 82vh;
  padding-top: clamp(96px, 9vw, 150px);
  padding-bottom: clamp(96px, 9vw, 150px);
}

.about-section > div:first-child {
  display: grid;
  gap: 20px;
  align-self: center;
}

.about-section .eyebrow {
  margin-bottom: 0;
}

.about-section h2 {
  max-width: 760px;
  font-size: clamp(64px, 6.4vw, 122px);
  line-height: .92;
}

.about-copy {
  display: grid;
  justify-items: start;
  gap: clamp(28px, 3vw, 46px);
  max-width: 940px;
  color: var(--muted);
  font-size: clamp(22px, 1.55vw, 29px);
  font-weight: 700;
  line-height: 1.85;
}

.about-copy p {
  margin: 0;
  padding: 0;
  border: 0;
  white-space: pre-line;
  transition: color .24s ease, transform .24s ease;
}

.about-copy p:hover {
  color: var(--ink);
  transform: translateX(10px);
}

.about-copy p:first-child {
  max-width: 880px;
}

.about-copy p:last-child {
  justify-self: start;
  max-width: 880px;
  padding-left: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(42px, 5vw, 76px);
  padding-top: clamp(92px, 8vw, 140px);
  padding-bottom: clamp(92px, 8vw, 140px);
  text-align: center;
}

.contact-copy {
  display: grid;
  justify-items: center;
  max-width: 1120px;
}

.contact-section h2 {
  max-width: 1080px;
  font-size: clamp(38px, 3.8vw, 64px);
  line-height: .98;
}

.contact-copy p:last-child {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  line-height: 1.75;
  white-space: pre-line;
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(900px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: clamp(17px, 1.05vw, 21px);
  font-weight: 900;
  letter-spacing: 0;
}

.contact-card > a[href^="mailto"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 6px 0;
  border: 0;
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
  transition: color .24s ease, transform .24s ease;
}

.contact-card > a[href^="mailto"]:hover {
  color: var(--muted);
  transform: translateY(-2px);
}

.contact-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, .95vw, 16px);
  font-weight: 700;
  white-space: pre-line;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  align-items: center;
  margin-top: 0;
}

.contact-card .contact-actions .solid-button,
.contact-card .contact-actions .outline-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.contact-card .contact-actions .solid-button::after,
.contact-card .contact-actions .outline-button::after {
  content: none;
}

.contact-card .contact-actions .solid-button:hover,
.contact-card .contact-actions .outline-button:hover {
  color: var(--muted);
  background: transparent;
}

.community-hero,
.community-board,
.community-collab,
.community-contact {
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(360px, .42fr);
  gap: clamp(56px, 7vw, 132px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: clamp(78px, 8vh, 126px);
  padding-bottom: clamp(78px, 8vh, 126px);
}

.community-hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.community-hero h1 {
  max-width: 1100px;
  font-size: clamp(108px, 11vw, 210px);
  line-height: .84;
}

.community-hero-note {
  display: grid;
  align-content: center;
  justify-self: end;
  width: min(720px, 100%);
}

.community-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(26px, 2vw, 40px);
  font-weight: 800;
  line-height: 1.78;
  white-space: pre-line;
}

.community-card span,
.community-flow span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-board {
  display: grid;
  grid-template-columns: minmax(300px, .3fr) minmax(0, .7fr);
  align-items: start;
  gap: clamp(46px, 5vw, 98px);
  min-height: calc(100vh - 72px);
  padding-top: clamp(86px, 8vw, 132px);
  padding-bottom: clamp(86px, 8vw, 132px);
}

.community-board .section-heading {
  position: sticky;
  top: 96px;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 0;
}

.community-board .section-heading h2,
.community-collab-title h2,
.community-contact h2 {
  margin: 0;
  font-size: clamp(52px, 5vw, 94px);
  line-height: .92;
}

.community-board .section-heading p:last-child {
  max-width: 460px;
  font-size: clamp(17px, 1.05vw, 20px);
  font-weight: 800;
  line-height: 1.85;
  white-space: pre-line;
}

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

.community-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 220px;
  padding: clamp(22px, 2vw, 32px);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.community-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.community-category-card {
  grid-template-columns: minmax(150px, .44fr) minmax(0, .56fr);
  column-gap: clamp(18px, 2vw, 32px);
  row-gap: 20px;
  align-items: start;
  color: inherit;
}

.community-category-card span,
.community-category-card h3 {
  grid-column: 1;
}

.community-category-card p,
.community-category-card strong {
  grid-column: 2;
}

.community-category-card strong {
  align-self: start;
  justify-self: start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.community-category-card strong::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--ink);
  transition: width .24s ease;
}

.community-category-card:hover strong::after {
  width: 42px;
}

.community-card h3,
.community-flow h3 {
  margin: 0;
  font-size: clamp(24px, 1.6vw, 34px);
  line-height: 1.12;
}

.community-card p,
.community-flow p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  line-height: 1.75;
  white-space: pre-line;
}

.community-collab {
  display: grid;
  grid-template-columns: minmax(280px, .28fr) minmax(0, .72fr);
  gap: clamp(42px, 5vw, 96px);
  align-items: start;
  padding-top: clamp(76px, 7vw, 118px);
  padding-bottom: clamp(76px, 7vw, 118px);
}

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

.community-flow article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 300px;
  padding: clamp(22px, 2vw, 34px);
  border-right: 1px solid var(--line);
  transition: background-color .24s ease, color .24s ease;
}

.community-flow article:last-child {
  border-right: 0;
}

.community-flow article:hover {
  background: var(--panel-soft);
}

.community-contact {
  display: grid;
  grid-template-columns: minmax(360px, .42fr) minmax(0, .58fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
  min-height: 62vh;
  padding-top: clamp(78px, 8vw, 126px);
  padding-bottom: clamp(78px, 8vw, 126px);
}

.community-contact-card {
  display: grid;
  justify-items: start;
  gap: 24px;
  max-width: 760px;
}

.community-contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(21px, 1.45vw, 28px);
  font-weight: 800;
  line-height: 1.85;
  white-space: pre-line;
}

.community-discussion-shell {
  display: grid;
  gap: 30px;
  min-height: calc(100vh - 72px);
  padding: 54px 40px 72px;
}

.community-discussion-head {
  display: grid;
  gap: 14px;
  max-width: 1180px;
}

.community-discussion-head h1 {
  max-width: 1040px;
  font-size: clamp(58px, 6.5vw, 116px);
  line-height: .9;
}

.community-discussion-head > p:last-child {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 800;
  line-height: 1.75;
}

.community-discussion-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.community-search {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.community-search span {
  display: grid;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-right: 0;
  background: var(--panel);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.community-search input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  padding: 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.community-discussion-tools .solid-button {
  min-height: 52px;
  white-space: nowrap;
}

.community-search input::placeholder {
  color: var(--placeholder);
}

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

.community-filter-panel,
.community-thread-panel,
.community-side-panel section {
  border: 1px solid var(--line);
  background: var(--panel);
}

.community-filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0;
}

.community-filter-panel h2,
.community-thread-panel-head h2,
.community-side-panel h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.community-filter-panel h2 {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.community-filter-panel button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 15px;
  font-weight: 900;
}

.community-filter-panel button:last-child {
  border-bottom: 0;
}

.community-filter-panel button:hover,
.community-filter-panel button.is-active {
  color: var(--ink);
  background: var(--panel-soft);
}

.community-thread-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.community-thread-panel-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.community-thread-list {
  display: grid;
}

.community-thread {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 110px;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color .22s ease;
}

.community-thread:last-child {
  border-bottom: 0;
}

.community-thread:hover {
  background: var(--panel-soft);
}

.community-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.community-thread-main {
  display: grid;
  gap: 8px;
}

.community-thread-status {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.community-thread h3 {
  margin: 0;
  font-size: clamp(23px, 1.7vw, 32px);
  line-height: 1.15;
}

.community-thread p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.community-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.community-thread-counts {
  display: grid;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.community-thread-counts strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.community-side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.community-side-panel section {
  padding: 20px;
}

.community-stats {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.community-stats div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.community-stats div:last-child {
  border-bottom: 0;
}

.community-stats dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.community-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.community-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.community-topic-tags span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.community-participants {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.community-participants li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.community-participants li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.community-participants strong {
  color: var(--ink);
  font-size: 15px;
}

.community-participants span,
.community-participants em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.community-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.community-empty strong {
  color: var(--ink);
  font-size: 24px;
}

.community-empty p {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: pre-line;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: 360px;
  padding: 13px 15px;
  border: 1px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 16px 28px;
  }

  .site-nav {
    justify-self: end;
    justify-content: flex-end;
  }

  .header-actions {
    grid-column: 2;
    justify-content: flex-end;
  }

  .events-workspace,
  .section-heading,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .content-band {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .community-hero,
  .community-board,
  .community-collab,
  .community-contact,
  .community-discussion-layout,
  .community-discussion-tools {
    grid-template-columns: 1fr;
  }

  .community-board .section-heading {
    position: static;
  }

  .community-hero-note {
    justify-self: start;
  }

  .community-category-card {
    grid-template-columns: 1fr;
  }

  .community-category-card span,
  .community-category-card h3,
  .community-category-card p,
  .community-category-card strong {
    grid-column: 1;
  }

  .community-filter-panel,
  .community-side-panel {
    position: static;
  }

  .community-flow {
    grid-template-columns: 1fr;
  }

  .community-flow article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .community-flow article:last-child {
    border-bottom: 0;
  }

  .about-section {
    gap: 36px;
    min-height: auto;
  }

  .about-copy {
    max-width: 900px;
  }

  .events-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .detail-panel {
    position: static;
    height: auto;
    min-height: auto;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero-section,
  .events-section,
  .content-band,
  .about-section,
  .contact-section,
  .community-hero,
  .community-board,
  .community-collab,
  .community-contact,
  .community-discussion-shell,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav,
  .header-actions,
  .site-footer {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 46px;
  }

  .hero-section {
    min-height: auto;
  }

  .events-layout {
    grid-template-columns: 1fr;
  }

  .community-search {
    grid-template-columns: 1fr;
  }

  .community-search span {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .event-grid,
  .article-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .community-thread {
    grid-template-columns: 1fr;
  }

  .community-thread-counts {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

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