:root {
  color-scheme: light;
  --bg: #fff;
  --soft: #f5f5f1;
  --line: #111;
  --line-soft: #d8d8d2;
  --text: #111;
  --muted: #62645f;
  --cyan: #35d8ff;
  --magenta: #ff4fd8;
  --amber: #ffd166;
  --green: #43f59b;
  --content: 1192px;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Baloo 2", "Manrope", Arial, sans-serif;
  font-family: var(--sans);
}

/* About page: professional organization layout */
.about-page {
  overflow: hidden;
  background: #fff;
}

.about-org-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  margin-top: 24px;
  background: #fff;
}

.about-org-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 34%;
  background: linear-gradient(120deg, #06111f 0%, #07364a 58%, #087f82 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.about-org-hero-inner,
.about-charter,
.about-projects-band,
.about-members-band,
.about-action-content {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.about-org-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  min-height: 560px;
  gap: 100px;
  align-items: center;
}

.about-org-title {
  padding-block: 80px;
}

.about-org-title .eyebrow {
  margin-bottom: 22px;
  color: #087f82;
}

.about-org-title h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 9vw, 132px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .82;
  text-transform: uppercase;
}

.about-org-intro {
  max-width: 670px;
  padding: 72px 0 72px 72px;
  color: #fff;
}

.about-org-label {
  margin: 0 0 28px;
  color: #35d8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-org-intro > p:last-child {
  margin: 0;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.48;
}

.about-org-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-block: 1px solid #111;
  background: #fff;
}

.about-org-principles > div {
  display: grid;
  min-height: 130px;
  gap: 22px;
  align-content: center;
  padding: 26px max(24px, calc((100vw - var(--content)) / 8));
}

.about-org-principles > div + div { border-left: 1px solid #111; }

.about-org-principles span {
  color: #087f82;
  font-size: 12px;
  font-weight: 800;
}

.about-org-principles strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-charter {
  padding-block: 112px 124px;
}

.about-charter-heading {
  display: grid;
  position: relative;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  min-height: 290px;
  gap: 52px;
  align-items: end;
  padding-bottom: 62px;
}

.about-charter-heading .eyebrow { color: #087f82; }

.about-charter-heading h2 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
}

.about-charter-visual {
  position: absolute;
  z-index: 2;
  right: 115px;
  bottom: -2px;
  width: min(25vw, 280px);
  margin: 0;
  padding: 12px 10px 0;
  background: transparent;
}

.about-charter-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-charter-section {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  gap: 52px;
  padding: 54px 0 58px;
  border-top: 1px solid #111;
}

.about-charter-section:last-child { border-bottom: 1px solid #111; }

.about-charter-meta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.about-charter-meta span {
  color: #087f82;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.about-charter-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-charter-copy {
  display: grid;
  grid-template-columns: minmax(220px, .43fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.about-charter-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
}

.about-charter-copy > p {
  max-width: 700px;
  margin: 0;
  color: #343733;
  font-size: 18px;
  line-height: 1.75;
}

.about-charter-link {
  display: inline-flex;
  grid-column: 2;
  width: fit-content;
  gap: 32px;
  align-items: center;
  margin-top: -12px;
  padding-bottom: 7px;
  border-bottom: 2px solid #111;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-charter-link span:last-child {
  color: #087f82;
  font-size: 19px;
}

.about-projects-band,
.about-members-band {
  padding-block: 104px 118px;
}

.about-projects-band {
  position: relative;
}

.about-projects-band::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: #f2f6f4;
  content: "";
  transform: translateX(-50%);
}

.about-projects-heading,
.about-members-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}

.about-projects-heading h2,
.about-members-heading h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
}

.about-projects-heading > div:last-child > p,
.about-members-heading > div:last-child > p {
  margin: 0 0 24px;
  color: #4d514d;
  font-size: 16px;
  line-height: 1.65;
}

.about-members-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 12px 0;
  border-block: 1px solid #111;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-project-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.about-project-tile {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 10px 10px 0 #123d48;
}

.about-project-browser {
  display: grid;
  min-width: 0;
  grid-template-rows: 38px auto;
  overflow: hidden;
  border-bottom: 1px solid #111;
  background: #e8ece9;
}

.about-project-browser-bar {
  display: flex;
  min-width: 0;
  gap: 6px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #b9c4c0;
}

.about-project-browser-bar i {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b5e68;
}

.about-project-browser-bar small {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: #4e5653;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-project-viewport {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}

.about-project-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border: 0;
  pointer-events: none;
  transform: scale(.5);
  transform-origin: top left;
}

.about-project-copy {
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 30px;
}

.about-project-copy-link {
  display: grid;
  color: inherit;
}

.about-project-copy-link h3 {
  transition: color .16s ease;
}

.about-project-copy-link:hover h3 {
  color: #087f82;
}

.about-project-copy-link:focus-visible {
  outline: 3px solid #087f82;
  outline-offset: 5px;
}

.about-project-meta {
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px;
  color: #626a66;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-project-meta span { color: #087f82; }

.about-project-copy h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.about-project-copy > p:not(.about-project-meta) {
  display: -webkit-box;
  min-height: 4.8em;
  margin: 0 0 26px;
  overflow: hidden;
  color: #454a46;
  font-size: 15px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.about-project-author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #c9cfcc;
}

.about-project-author-photo {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: #dcefed;
  font-weight: 800;
}

.about-project-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-project-author > span:last-child {
  display: grid;
  gap: 2px;
}

.about-project-author small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-project-url {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 12px 14px;
  overflow: hidden;
  background: linear-gradient(90deg, #35d8ff, #43f59b);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-members-band { background: #fff; }

.about-member-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 48px;
}

.about-member-tile {
  display: grid;
  align-content: start;
  gap: 18px;
}

.about-member-photo {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ece9;
  clip-path: polygon(0 0, 92% 0, 100% 22%, 100% 100%, 0 100%);
}

.about-member-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid #111;
  content: "";
  clip-path: inherit;
  pointer-events: none;
}

.about-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86);
  transition: transform .25s ease, filter .25s ease;
}

.about-member-tile:hover .about-member-photo img {
  filter: saturate(1);
  transform: scale(1.025);
}

.about-member-fallback {
  display: grid;
  height: 100%;
  place-items: center;
  color: #087f82;
  font-family: var(--display);
  font-size: 72px;
}

.about-member-copy {
  display: grid;
  gap: 5px;
}

.about-member-copy strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.about-member-copy > span {
  color: var(--muted);
  font-size: 13px;
}

.about-member-projects {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.about-member-projects > p {
  margin: 0;
  padding: 14px 0 2px;
  color: #087f82;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-member-projects-more {
  margin-top: 5px;
}

.about-action-band {
  border-top: 1px solid #111;
  margin-bottom: 64px;
  background: linear-gradient(110deg, #03070c 0%, #082d41 72%, #087f82 100%);
}

.about-action-band::after {
  top: -180px;
  right: -130px;
  width: 360px;
  height: 360px;
  border-width: 1px;
  border-color: rgba(53, 216, 255, .75);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.project-dialog.organizer-event-mode .post-type-switcher {
  grid-template-columns: 1fr;
}

.project-dialog.organizer-event-mode .post-type-button:not([data-post-type-option="event"]) {
  display: none;
}

@media (max-width: 980px) {
  .about-org-hero::after { left: 30%; }

  .about-org-hero-inner {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 58px;
  }

  .about-org-intro { padding-left: 52px; }

  .about-charter-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-charter-link {
    grid-column: 1;
    margin-top: 4px;
  }

  .about-projects-heading,
  .about-members-heading { gap: 42px; }

  .about-member-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .about-org-hero { margin-top: 0; }

  .about-org-hero::after {
    inset: 225px 0 0;
    clip-path: polygon(0 11%, 100% 0, 100% 100%, 0 100%);
  }

  .about-org-hero-inner,
  .about-charter,
  .about-projects-band,
  .about-members-band,
  .about-action-content {
    width: min(calc(100% - 28px), var(--content));
  }

  .about-org-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .about-org-title { padding: 48px 0 64px; }

  .about-org-title h1 { font-size: 68px; }

  .about-org-intro {
    padding: 80px 8px 64px;
  }

  .about-org-intro > p:last-child { font-size: 20px; }

  .about-org-principles { grid-template-columns: repeat(2, 1fr); }

  .about-org-principles > div {
    min-height: 112px;
    gap: 14px;
    padding: 20px 16px;
  }

  .about-org-principles > div:nth-child(3) {
    border-top: 1px solid #111;
    border-left: 0;
  }

  .about-org-principles > div:nth-child(4) { border-top: 1px solid #111; }

  .about-org-principles strong { font-size: 17px; }

  .about-charter { padding-block: 72px 82px; }

  .about-charter-heading,
  .about-charter-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-charter-heading {
    min-height: 0;
    padding-bottom: 42px;
  }
  .about-charter-heading h2 { font-size: 42px; }
  .about-charter-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(82%, 320px);
    margin: -34px 0 0 auto;
    padding-top: 8px;
  }
  .about-charter-section { padding: 38px 0 42px; }
  .about-charter-meta { grid-template-columns: auto 1fr; align-items: center; }
  .about-charter-meta span { font-size: 27px; }
  .about-charter-copy h2 { font-size: 30px; }
  .about-charter-copy > p { font-size: 16px; line-height: 1.7; }

  .about-projects-band,
  .about-members-band { padding-block: 72px 82px; }

  .about-projects-heading,
  .about-members-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 38px;
  }

  .about-projects-heading h2,
  .about-members-heading h2 { font-size: 41px; }

  .about-project-preview,
  .about-member-preview { grid-template-columns: 1fr; }

  .about-project-preview { gap: 34px; }
  .about-project-tile { box-shadow: 7px 7px 0 #123d48; }
  .about-project-copy { padding: 24px 20px; }
  .about-project-copy h3 { font-size: 29px; }
  .about-member-preview { row-gap: 38px; }

  .about-action-band { margin-bottom: 36px; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 184px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

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

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.hero,
.metrics,
.workspace,
.members-section,
.events-band,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  width: 100%;
  margin-inline: 0;
  background: var(--bg);
}

.brand,
.topnav,
.header-primary,
.header-nav-row,
.header-actions,
.language-switch,
.hero-actions,
.button-row,
.post-footer,
.member-head,
.composer-row,
.filters {
  display: flex;
  align-items: center;
}

.header-primary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  width: 100%;
  min-height: 112px;
  padding-inline: max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
}

.header-utility-action {
  width: max-content;
  min-width: 180px;
}

.share-header-action {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}

.brand {
  grid-column: 2;
  justify-self: center;
  width: 420px;
}

.brand-logo {
  display: block;
  flex: 0 0 190px;
  width: 190px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

.brand-name {
  align-self: stretch;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-nav-row {
  width: 100%;
  justify-content: space-between;
  min-height: 58px;
  padding-inline: max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
}

.topnav {
  flex: 1 1 auto;
  align-self: stretch;
  justify-content: space-between;
  gap: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.topnav a {
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding: 0 18px;
}

.topnav a:first-child { padding-left: 0; }

.topnav a:hover,
.topnav a.active {
  border-color: var(--text);
}

.mobile-nav-toggle {
  display: none;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-nav-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.mobile-nav-icon i {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: opacity .16s ease, transform .16s ease, top .16s ease;
}

.mobile-nav-icon i:nth-child(1) { top: 0; }
.mobile-nav-icon i:nth-child(2) { top: 7px; }
.mobile-nav-icon i:nth-child(3) { top: 14px; }

.mobile-nav-open .mobile-nav-icon i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.mobile-nav-open .mobile-nav-icon i:nth-child(2) { opacity: 0; }
.mobile-nav-open .mobile-nav-icon i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.header-actions {
  gap: 10px;
  padding-left: 20px;
}

.language-switch {
  height: 36px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.language-button {
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.language-button + .language-button { border-left: 1px solid var(--line); }

.language-button.active {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041015;
}

main { overflow: hidden; }

#feed,
#project-showcase,
#resource-feature,
#help-me,
#featured-event {
  scroll-margin-top: 170px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.95fr);
  min-height: min(640px, calc(100vh - 198px));
  gap: 42px;
  align-items: center;
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 690px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: #087a53;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.93;
}

h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 0.98;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions,
.button-row {
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.filter,
.ghost-icon {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041015;
}

.secondary-button,
.ghost-button,
.filter,
.ghost-icon {
  background: var(--bg);
  color: var(--text);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-button {
  border-color: transparent;
  background: transparent;
  color: #007b95;
  padding: 0 8px;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.filter:hover,
.ghost-icon:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--line);
}

.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 11px;
}

.hero-visual {
  min-height: 400px;
  display: grid;
  align-items: center;
}

.hero-visual img {
  width: min(100%, 640px);
  aspect-ratio: 1;
  justify-self: end;
  object-fit: contain;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
}

.metrics article {
  min-width: 0;
  padding: 24px 28px;
}

.metrics article + article { border-left: 1px solid var(--line); }

.metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
  gap: 24px;
  padding-block: 48px;
}

.auth-panel,
.activity,
.member,
.post,
.events-band article {
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: none;
}

.auth-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 24px;
}

.panel-heading,
.section-heading { margin-bottom: 24px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.form-grid,
.composer {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.registration-required-note {
  margin: 0 0 14px;
  color: #4d5759;
  font-size: 13px;
  font-weight: 700;
}

#authForm label:has(> input:required:not(:disabled)) > span::after,
#authForm label:has(> textarea:required:not(:disabled)) > span::after {
  content: " *";
  color: #a23a16;
  font-weight: 900;
}

.wide { grid-column: 1 / -1; }

.profile-photo-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.form-grid .photo-upload-row {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.photo-upload-preview {
  position: relative;
  display: grid;
  flex: 0 0 92px;
  width: 92px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}

.photo-upload-preview::before {
  content: "+";
  color: var(--muted);
  font-size: 28px;
  font-weight: 500;
}

.photo-upload-preview.has-photo::before { display: none; }

.photo-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.photo-file-control {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  border: 1px solid #999b96;
  color: var(--text);
  background: var(--bg);
}

.photo-file-button {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041015;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.photo-file-name {
  min-width: 0;
  padding: 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-upload-row:focus-within .photo-file-control {
  border-color: var(--line);
  box-shadow: 3px 3px 0 rgba(53, 216, 255, .7);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #999b96;
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

input::placeholder,
textarea::placeholder { color: #8a8c87; }

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line);
  box-shadow: 3px 3px 0 rgba(53, 216, 255, .7);
}

.form-message {
  min-height: 20px;
  color: #8a6300;
  font-size: 12px;
}

.login-mode .register-only,
.login-mode .registration-required-note { display: none; }
.organizer-registration-mode .member-register-only { display: none; }
.auth-context {
  margin: -6px 0 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--cyan);
  background: #eefbfc;
  color: #31464d;
  font-size: 14px;
  line-height: 1.55;
}
.hidden { display: none !important; }

.activity { padding: 24px; }

.filters {
  gap: 12px;
  flex-wrap: wrap;
}

.filter {
  min-height: 38px;
  padding: 0 13px;
  border-color: transparent;
  border-radius: 4px;
}

.filter:hover {
  border-color: #8da2a8;
  background: #f1f5f4;
  box-shadow: none;
  transform: none;
}

.filter.active {
  border-color: #111;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 3px 3px 0 #111;
  color: #041015;
}

.composer {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.project-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 -24px 24px;
  padding: 22px 24px;
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.project-invite h3,
.project-invite p { margin-bottom: 0; }

.project-invite p {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.55;
}

.invite-label {
  display: block;
  margin-bottom: 5px;
  color: #087a53;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.invite-action { flex: 0 0 auto; }
.composer-row { gap: 10px; }
.composer-row > * { min-width: 0; }

.post-list,
.member-grid,
.event-strip {
  display: grid;
  gap: 14px;
}

.projects-pane .post-list { gap: 56px; }

.help-desk {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 36px;
  margin: 0 0 42px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #eefcff;
}

.help-desk-code {
  margin-bottom: 18px;
  color: #007b95 !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.help-desk-intro h1,
.help-desk-intro h3 {
  max-width: 360px;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.help-desk-intro > p:last-child {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.help-form {
  display: grid;
  gap: 14px;
  padding-left: 34px;
  border-left: 1px solid rgba(7, 26, 45, .24);
}

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

.help-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.help-form input,
.help-form textarea {
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.help-form input::placeholder,
.help-form textarea::placeholder { font-size: 15px; }

.help-form-footer .primary-button { font-size: 12px; }

.help-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-form-footer .form-message { margin: 0; }

.post,
.member {
  padding: 22px;
  border-radius: 0;
}

.post-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 0;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.pill {
  border: 1px solid var(--line);
  color: #071013;
}

.pill.project { background: var(--soft); }
.pill.collaboration { background: var(--cyan); }
.pill.resource { background: var(--green); }
.pill.event { background: var(--magenta); }
.pill.update { background: var(--amber); }

.project-post {
  padding: 0;
  border: 1px solid #a5a8a1;
  background: var(--soft);
  box-shadow:
    0 22px 48px rgba(3, 17, 24, .18),
    0 3px 0 rgba(17, 17, 17, .12);
  overflow: hidden;
}

.project-link {
  display: inline-flex;
  margin-bottom: 2px;
  color: #007b95;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-card-layout {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  min-height: 390px;
}

.project-card-layout.without-preview {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}

.project-preview {
  display: grid;
  min-width: 0;
  grid-template-rows: 42px minmax(0, 1fr);
  background: #09151b;
  overflow: hidden;
}

.project-browser-bar {
  display: grid;
  min-width: 0;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  padding-inline: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.project-browser-bar > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-browser-dots {
  display: flex;
  gap: 5px;
}

.project-browser-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-soft);
}

.project-browser-dots i:nth-child(1) { background: var(--magenta); }
.project-browser-dots i:nth-child(2) { background: var(--amber); }
.project-browser-dots i:nth-child(3) { background: var(--green); }

.project-preview-viewport {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(53, 216, 255, .18), transparent 48%),
    #09151b;
}

.project-preview-viewport iframe {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 200%;
  border: 0;
  background: #fff;
  pointer-events: none;
  transform: scale(.5);
  transform-origin: top left;
}

.project-preview-viewport > a {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-card-content {
  display: flex;
  min-width: 0;
  padding: 34px 38px 32px;
  flex-direction: column;
}

.project-card-content h3 {
  max-width: 680px;
  margin: 20px 0 14px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
}

.project-card-content .post-summary {
  max-width: 690px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.project-card-content .tags { margin-block: 8px 20px; }

.project-destination-link {
  margin-bottom: 26px;
}

.project-card-content .post-footer { margin-top: auto; }

.resource-post {
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 8px 8px 0 #d9ddd7;
  overflow: hidden;
}

.help-question-post {
  padding: 0;
  border: 1px solid #aeb2ad;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.help-question-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
}

.help-question-index {
  display: flex;
  padding: 26px 18px;
  border-right: 1px solid #b8dfe7;
  background: #eefcff;
  color: #007b95;
  flex-direction: column;
}

.help-question-index span {
  font-size: 11px;
  font-weight: 900;
}

.help-question-index strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.help-question-content {
  min-width: 0;
  padding: 26px 30px 24px;
}

.help-question-content h3 {
  margin: 18px 0 14px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.12;
}

.help-project-summary small,
.help-question-callout small,
.help-guest-author small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.help-project-summary p { margin-bottom: 18px; }

.help-question-callout {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-block: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  background: var(--soft);
}

.help-question-callout > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #071a2d;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}

.help-question-callout p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.help-project-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: #007b95;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.help-question-content .post-footer { margin-top: 20px; }

.help-guest-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-guest-author > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.help-guest-author strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.help-question-post > .help-answers {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 24px 30px 26px 122px;
  border-top: 1px solid var(--line-soft);
  background: #fafaf7;
}

.help-answers h4 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
}

.help-answer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.help-answer .avatar {
  width: 40px;
  height: 40px;
  border: 0;
}

.help-answer p { margin-bottom: 0; }

.help-answer-author {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--text) !important;
  font-size: 12px;
}

.help-answer-author span {
  color: var(--muted);
  font-size: 10px;
}

.help-no-answers {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.help-question-post > .help-answer-form {
  margin: 18px 30px 28px 122px;
}

.comment-kind.answer {
  border-color: #007b95;
  color: #007b95;
}

.resource-card-layout {
  display: grid;
  min-height: 340px;
  grid-template-columns: 124px minmax(0, 1fr);
}

.resource-index {
  display: flex;
  padding: 28px 20px;
  background: #071a2d;
  color: #fff;
  flex-direction: column;
}

.resource-index span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-index strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
}

.resource-index i {
  width: 38px;
  height: 5px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.resource-card-content {
  display: flex;
  min-width: 0;
  padding: 32px 38px;
  flex-direction: column;
}

.resource-card-content h3 {
  max-width: 820px;
  margin: 22px 0 12px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.08;
}

.resource-card-content .post-summary {
  max-width: 850px;
  margin-bottom: 8px;
  font-size: 15px;
}

.resource-card-content .tags { margin-block: 10px 20px; }

.resource-link {
  width: max-content;
  min-height: 44px;
  margin-bottom: 28px;
}

.resource-card-content .post-footer {
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.resource-author .avatar {
  width: 44px;
  height: 44px;
  border: 0;
}

.resource-author > span:last-child {
  display: grid;
  gap: 2px;
}

.resource-author small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-post > .comments {
  margin: 26px 38px 0;
}

.resource-post > .comment-form {
  margin: 14px 38px 30px;
}

.resource-post > .comments:not(:empty):last-child { margin-bottom: 30px; }

.resource-author strong {
  color: var(--text);
  font-size: 13px;
}

.like-button {
  display: grid;
  min-width: 136px;
  min-height: 46px;
  grid-template-columns: auto auto auto;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.like-button:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--line);
}

.like-button.active { background: var(--green); }

.like-thumb {
  padding-inline: 12px 8px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.like-button strong {
  display: grid;
  align-self: stretch;
  min-width: 38px;
  margin-left: 10px;
  place-items: center;
  border-left: 1px solid var(--line);
  background: #071a2d;
  color: #fff;
  font-size: 13px;
}

.post p,
.member p,
.events-band p {
  color: var(--muted);
  line-height: 1.6;
}

.event-date {
  color: #8a6300 !important;
  font-weight: 700;
}

.event-details {
  color: var(--text) !important;
  font-weight: 800;
}

.event-post {
  padding: 0;
  overflow: hidden;
  border: 1px solid #50656d;
  background: #fff;
  box-shadow: 9px 9px 0 #b8c7c9;
}

.event-card-layout {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 440px;
}

.event-card-layout.has-image {
  grid-template-columns: 156px minmax(180px, 230px) minmax(0, 1fr);
}

.event-card-image {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 24px 18px;
  place-items: center;
  border-right: 1px solid #aebdc1;
  background: #f4f8f7;
}

.event-card-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.event-card-date {
  display: flex;
  position: relative;
  align-items: center;
  padding: 34px 22px;
  overflow: hidden;
  background: #071a2d;
  color: #fff;
  flex-direction: column;
  text-align: center;
}

.event-card-date::after {
  position: absolute;
  right: -36px;
  bottom: 58px;
  width: 116px;
  height: 26px;
  background: var(--green);
  content: "";
  transform: rotate(-45deg);
}

.event-card-date span,
.event-card-date small {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.event-card-date span { color: var(--green); }

.event-card-date strong {
  margin-block: 4px;
  font-family: Arial, sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.event-card-content {
  display: flex;
  min-width: 0;
  padding: 34px 40px 36px;
  flex-direction: column;
}

.event-card-content h3 {
  max-width: 800px;
  margin: 22px 0 14px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
}

.event-card-content .post-summary {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 16px;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 2px 22px;
  border-top: 1px solid #789099;
  border-bottom: 1px solid #789099;
}

.event-facts > div {
  min-width: 0;
  padding: 16px 18px 16px 0;
}

.event-facts > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid #b7c5c9;
}

.event-facts > div:nth-child(n + 3) { border-top: 1px solid #b7c5c9; }

.event-facts small,
.event-organizer small {
  display: block;
  margin-bottom: 4px;
  color: #53676f;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-facts strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.event-entry-info p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.event-registration-link {
  width: max-content;
  min-height: 44px;
  margin-bottom: 28px;
}

.event-card-content .post-footer {
  align-items: flex-start;
  margin-top: auto;
}

.event-organizer-stack {
  display: grid;
  gap: 12px;
}

.event-organizer .avatar {
  width: 48px;
  height: 48px;
  border: 0;
}

.event-organizer > span:last-child { display: grid; gap: 1px; }
.event-organizer strong { color: var(--text); font-size: 14px; }

.event-interest-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #111;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 3px 3px 0 #111;
  color: #041015;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-interest-button.active { background: var(--green); }

.event-attendees { width: min(100%, 360px); }

.event-attendees summary {
  width: max-content;
  color: #31535d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.event-attendees summary::marker { color: #008d91; }

.event-attendee-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #90a5aa;
  background: #f3f8f7;
}

.event-attendee-list > p {
  margin: 0;
  color: #53676f;
  font-size: 12px;
}

.event-attendee {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-attendee .avatar {
  width: 36px;
  height: 36px;
  border: 0;
}

.event-attendee > span { display: grid; gap: 1px; }
.event-attendee strong { color: var(--text); font-size: 12px; }
.event-attendee small { color: #53676f; font-size: 10px; }

.event-post > .comments { margin: 28px 40px 0; }
.event-post > .comments:not(:empty):last-child { margin-bottom: 32px; }
.event-post > .comment-form { margin: 14px 40px 32px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.tags span {
  border: 1px solid var(--line-soft);
  color: var(--text);
  background: var(--bg);
}

.author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.author-avatar-link {
  display: inline-flex;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.author-avatar-link:focus-visible,
.member-photo-frame:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #051014;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
}

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

.project-card-content .avatar {
  width: 40px;
  height: 40px;
  border: 0;
}

.project-card-content .author {
  color: var(--text);
  font-weight: 700;
}

.avatar.large {
  width: 46px;
  height: 46px;
  font-size: 17px;
}

.avatar.cyan { background: var(--cyan); }
.avatar.magenta { background: var(--magenta); }
.avatar.amber { background: var(--amber); }
.avatar.green { background: var(--green); }

.feedback-callout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 0;
  border-block: 1px solid var(--line-soft);
}

.project-post > .feedback-callout {
  margin: 30px 0 0;
  padding: 24px 34px;
  border: 0;
  background: #071a2d;
  color: #fff;
}

.project-post > .feedback-callout .feedback-copy span {
  color: rgba(255, 255, 255, .74);
}

.project-post > .feedback-callout .feedback-kind-button {
  border-color: rgba(255, 255, 255, .82);
  background: #fff;
}

.project-post > .feedback-callout .feedback-kind-button:hover,
.project-post > .feedback-callout .feedback-kind-button.active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041015;
}

.project-post > .comments,
.project-post > .comment-form {
  margin-inline: 34px;
}

.project-post > .comments { margin-bottom: 30px; }

.project-post > .comment-form { margin-bottom: 30px; }

.project-post .comment-kind { margin-left: 12px; }

.feedback-copy {
  display: grid;
  gap: 3px;
}

.feedback-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.feedback-actions {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.feedback-kind-button {
  min-height: 34px;
  margin-left: -1px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.feedback-kind-button:hover,
.feedback-kind-button.active { background: #eefcff; }
.feedback-kind-button[data-feedback-kind="idea"].active { background: #fff7dc; }
.feedback-kind-button[data-feedback-kind="help"].active { background: #e9fff4; }

.comments {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.comments:empty { display: none; }

.comment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.comment p {
  margin: 1px 0 0;
  color: var(--text);
  font-size: 13px;
}

.comment-copy { min-width: 0; }

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.comment-author-row strong { line-height: 1.25; }

.comment-copy > p { margin: 0; }

.comment-kind {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid #007b95;
  border-radius: 0;
  color: #007b95;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.comment-kind.idea {
  border-color: #8a6300;
  color: #8a6300;
}

.comment-kind.help {
  border-color: #087a53;
  color: #087a53;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.ghost-icon { padding: 0 12px; }

.members-section,
.events-band {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.member-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 88px;
}

.member-profile {
  display: flex;
  min-width: 0;
  padding: 0 0 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  flex-direction: column;
  overflow: visible;
}

.member-photo-frame {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  background: var(--soft);
  box-shadow: 0 14px 32px rgba(17, 17, 17, .09);
  overflow: hidden;
  clip-path: polygon(0 0, 84% 0, 100% 16%, 100% 100%, 14% 100%, 0 86%);
}

.member-photo-frame img,
.member-photo-fallback {
  width: 100%;
  height: 100%;
  clip-path: inherit;
}

.member-photo-frame img {
  display: block;
  object-fit: cover;
}

.member-photo-fallback {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--text);
  font-family: var(--display);
  font-size: 72px;
}

.member-profile-body {
  display: flex;
  min-height: 0;
  padding: 24px 2px 0;
  flex: 1;
  flex-direction: column;
}

.member-head {
  gap: 12px;
  margin-bottom: 14px;
}

.member-head h3,
.member-head p { margin: 0; }

.member-bio-wrap { margin-bottom: 18px; }

.member-bio {
  display: -webkit-box;
  margin-bottom: 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.member-bio.expanded {
  display: block;
  overflow: visible;
}

.member-bio-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #007b95;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.member-links {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 0;
  padding-top: 20px;
  min-height: 24px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.member-links > a,
.member-website {
  width: fit-content;
  max-width: 100%;
}

.member-websites {
  display: grid;
  width: 100%;
  gap: 8px;
}

.member-project-list {
  display: grid;
  width: 100%;
  gap: 8px;
}

.member-project-list > p {
  margin: 4px 0 0;
  color: #087f82;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.member-website {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(8, 127, 130, .16);
  background: linear-gradient(90deg, rgba(53, 216, 255, .09), rgba(67, 245, 155, .12));
  transition: background .16s ease, border-color .16s ease;
}

.member-website:hover {
  border-color: rgba(8, 127, 130, .28);
  background: linear-gradient(90deg, rgba(53, 216, 255, .14), rgba(67, 245, 155, .18));
}

.member-websites .member-website {
  border: 0;
  background: #fff;
  color: #111;
}

.member-websites .member-website-arrow,
.member-websites .member-website-url {
  color: #111;
}

.member-websites .member-website:hover {
  background: #111;
}

.member-websites .member-website:hover .member-website-name,
.member-websites .member-website:hover .member-website-url,
.member-websites .member-website:hover .member-website-arrow {
  color: #fff;
}

.member-website-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.member-website-arrow {
  color: #48766d;
  font-size: 17px;
}

.member-projects-link {
  display: inline-flex;
  width: fit-content;
  gap: 32px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--text);
  color: var(--text);
}

.member-projects-link span:last-child {
  color: #087f82;
  font-size: 19px;
}

.member-website-name { color: var(--text); }

.member-website-url {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-transform: none;
}

.members-page .tags { gap: 8px; }

.members-page .tags span {
  border: 0;
  border-radius: 999px;
  background: var(--soft);
}

.member-edit-button {
  align-self: flex-end;
  margin-bottom: 16px;
  font-size: 11px;
}

.search { max-width: 280px; }

.events-band {
  display: grid;
  grid-template-columns: minmax(220px, .35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.event-strip { grid-template-columns: repeat(3, 1fr); }

.events-band article {
  padding: 18px;
  border-radius: 0;
}

.events-band article span {
  color: #8a6300;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.empty { color: var(--muted); }

.home-project-showcase,
.resource-feature-hero,
.help-hero,
.event-hero,
.projects-pane,
.members-page-hero,
.members-directory,
.about-community-hero-inner,
.about-community-loop,
.about-page-story,
.about-action-content {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.feed-hero[hidden] { display: none; }

.help-hero {
  margin-top: 24px;
}

.help-hero .help-desk {
  min-height: 520px;
  margin: 0;
  padding: 52px 48px;
  align-items: center;
  border-color: #071a2d;
  background: linear-gradient(120deg, #eefcff 0%, #f7ffff 62%, #e5fff5 100%);
  box-shadow: 10px 10px 0 #123d48;
}

.help-hero .help-desk-intro h1 {
  max-width: 480px;
  font-size: clamp(48px, 6vw, 76px);
}

.help-hero .help-desk-intro > p:last-child {
  max-width: 460px;
  font-size: 16px;
}

.home-project-showcase {
  width: 100%;
  margin-top: 24px;
  padding: 54px max(24px, calc((100vw - var(--content)) / 2)) 62px;
  border: 0;
  background: #f2f6f4;
}

.home-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 42px;
}

.home-showcase-heading h1 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
}

.home-showcase-heading > p {
  margin: 0;
  color: #4d514d;
  font-size: 16px;
  line-height: 1.65;
}

.resource-feature-hero {
  display: grid;
  grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr);
  min-height: 520px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 10px 10px 0 #9fb4b8;
}

.resource-feature-index {
  display: flex;
  position: relative;
  min-height: 100%;
  padding: 38px 28px;
  overflow: hidden;
  background: #071a2d;
  color: #fff;
  flex-direction: column;
}

.resource-feature-index span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-feature-index strong {
  margin-top: auto;
  font-family: Arial, sans-serif;
  font-size: clamp(76px, 10vw, 138px);
  line-height: .8;
}

.resource-feature-index i {
  position: absolute;
  right: -48px;
  bottom: 88px;
  width: 148px;
  height: 24px;
  background: var(--green);
  transform: rotate(-45deg);
}

.resource-feature-content {
  display: flex;
  min-width: 0;
  padding: 48px 56px;
  background-image: linear-gradient(#dce6e4 1px, transparent 1px), linear-gradient(90deg, #dce6e4 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: 32px 32px;
  flex-direction: column;
}

.resource-feature-content > * { position: relative; z-index: 1; }

.resource-feature-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 38px;
}

.resource-feature-topline .eyebrow { margin: 0; }

.resource-feature-topline > span {
  padding: 7px 10px;
  border: 1px solid #111;
  background: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-feature-content h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .98;
}

.resource-feature-summary {
  max-width: 780px;
  margin: 0 0 24px;
  color: #34434a;
  font-size: 17px;
  line-height: 1.65;
}

.resource-feature-content .tags { margin-bottom: 34px; }

.resource-feature-content .tags span {
  border-color: #61777e;
  background: #fff;
}

.resource-feature-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #536970;
}

.resource-feature-footer .author { min-width: 180px; }

.resource-feature-link {
  display: grid;
  width: min(100%, 420px);
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid #111;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  color: #041015;
  box-shadow: 4px 4px 0 #111;
}

.resource-feature-link span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-feature-link small {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-feature-empty {
  margin: auto;
  color: var(--muted);
  font-size: 18px;
}

.event-hero {
  display: grid;
  position: relative;
  isolation: isolate;
  width: 100%;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr);
  min-height: min(640px, calc(100vh - 198px));
  align-items: center;
  gap: 56px;
  margin-top: 24px;
  padding: 48px max(24px, calc((100vw - var(--content)) / 2));
  overflow: hidden;
  background: #fff;
  color: #fff;
}

.event-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background: linear-gradient(120deg, #030509 0%, #071a2d 48%, #073845 78%, #0b7f80 100%);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.event-hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  max-width: 680px;
  padding-left: 36px;
}

.event-hero .eyebrow.dark {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  background: var(--amber);
  color: #071a2d;
}

.featured-event-date {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-event-address {
  margin: -8px 0 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 700;
}

.event-hero h1 {
  margin-bottom: 22px;
  font-size: 64px;
}

.event-hero-text {
  max-width: 600px;
  color: #fff;
  font-size: 17px;
  line-height: 1.65;
}

.event-hero-action { display: inline-flex; align-items: center; padding-inline: 18px; }

.event-hero-visual {
  display: grid;
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  min-height: 380px;
  align-items: center;
}

.event-hero-visual img {
  width: min(100%, 560px);
  aspect-ratio: 1;
  justify-self: center;
  object-fit: contain;
  transform: scale(.92);
  transform-origin: center;
}

.projects-pane {
  padding-block: 76px;
}

.projects-pane .section-heading {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.projects-intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.selected-member-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.selected-member-summary[hidden] { display: none; }

.selected-member-photo {
  display: grid;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50% 50% 16% 50%;
  background: #091821;
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.selected-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-member-info {
  display: grid;
  gap: 3px;
}

.selected-member-info[hidden] { display: none; }

.selected-member-info strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.selected-member-info span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.projects-pane .post-list {
  grid-template-columns: minmax(0, 1fr);
}

.about-pane {
  width: 100%;
  margin: 16px 0 72px;
  padding: 150px 0;
  background: linear-gradient(120deg, #06111f 0%, #07364a 58%, #087f82 100%);
  color: #fff;
  clip-path: polygon(0 11%, 100% 0, 100% 89%, 0 100%);
}

.about-content {
  width: min(calc(100% - 48px), var(--content));
  max-width: none;
  margin-inline: auto;
  padding-inline: 62px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: start;
  margin-bottom: 64px;
}

.about-pane h2 {
  max-width: 430px;
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: .94;
}

.about-copy {
  max-width: 720px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.5;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, .72);
}

.about-metrics div {
  padding: 18px 20px;
}

.about-metrics div + div { border-left: 1px solid rgba(255, 255, 255, .72); }

.about-metrics strong {
  display: block;
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.about-metrics span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-dialog {
  width: min(calc(100% - 32px), 660px);
  max-height: min(88vh, 820px);
  padding: 28px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: 10px 10px 0 var(--line);
}

.site-dialog::backdrop { background: rgba(17, 17, 17, .58); }

.site-dialog.project-dialog { width: min(calc(100% - 32px), 900px); }
.site-dialog.profile-dialog { width: min(calc(100% - 32px), 760px); }

.edit-project-dialog .button-row {
  margin-top: 24px;
}

.edit-project-dialog .form-message {
  margin: 0;
}

.project-dialog {
  --post-accent: var(--cyan);
  --post-ink: #041015;
  --post-tint: #e9fbff;
  border-top: 10px solid var(--post-accent);
}

.project-dialog[data-post-type="resource"] {
  --post-accent: #dfff00;
  --post-ink: #111;
  --post-tint: #f7ffd9;
}

.project-dialog[data-post-type="event"] {
  --post-accent: #0fe0b4;
  --post-ink: #041015;
  --post-tint: #e8fff8;
}

.project-dialog[data-post-type="update"] {
  --post-accent: #101b2c;
  --post-ink: #fff;
  --post-tint: #eef1f5;
}

.profile-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.websites-field,
.website-fields {
  display: grid;
  gap: 12px;
}

.websites-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.website-field-row {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) 42px;
  gap: 10px;
  align-items: end;
}

.website-field-row label { min-width: 0; }

.website-remove-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.website-remove-button:hover { background: var(--soft); }

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dialog-heading h2 { font-size: 42px; }

.project-dialog .dialog-heading h2 { font-size: 36px; }

.project-dialog .dialog-heading .eyebrow {
  font-size: 12px;
  line-height: 1.35;
}

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.site-dialog .auth-panel {
  position: static;
  padding: 0;
  border: 0;
}

.site-dialog .composer {
  margin: 0;
  padding: 0;
  border: 0;
}

.post-type-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(210px, .45fr);
  min-height: 150px;
  overflow: hidden;
  background: var(--post-tint);
}

.post-type-choice {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.post-type-label,
.post-form-grid > label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.post-type-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.post-type-button {
  display: grid;
  min-width: 0;
  min-height: 78px;
  padding: 10px 8px 9px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-type-button:last-child { border-right: 0; }

.post-type-button:hover { background: var(--soft); }

.post-type-button.active {
  background: var(--post-accent);
  color: var(--post-ink);
}

.post-type-icon {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: .9;
}

.post-type-summary {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  background: var(--post-accent);
  color: var(--post-ink);
}

.post-type-summary::before,
.post-type-summary::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.post-type-summary::before {
  inset: 14px 14px auto auto;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
}

.post-type-summary::after {
  inset: 0 0 auto auto;
  width: 82px;
  height: 82px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .3;
}

.post-type-number {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: .9;
}

.post-type-summary p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.post-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-left: 8px solid var(--post-accent);
  background: #f5f6f3;
}

.post-form-grid input,
.post-form-grid textarea {
  min-height: 48px;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.post-form-grid textarea { min-height: 130px; }

.post-form-grid label:has(> input:required) > span::after,
.post-form-grid label:has(> textarea:required) > span::after,
.post-event-fields label:has(> input:required) > span::after {
  content: " *";
  color: #087e70;
}

.post-event-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  background: var(--soft);
}

.post-event-fields legend {
  padding-inline: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-event-fields label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.post-event-fields input { font-size: 15px; }

.event-image-field {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  text-transform: none;
}

.event-image-label {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-image-field > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.post-event-fields .event-image-upload-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.event-image-preview {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #8f9691;
  background: #fff;
}

.event-image-preview::before {
  content: "+";
  color: var(--muted);
  font-size: 30px;
  font-weight: 500;
}

.event-image-preview.has-photo::before { display: none; }

.event-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-image-upload-row.is-dragging .event-image-preview,
.event-image-upload-row.is-dragging .photo-file-control {
  border-color: #008f98;
  background: #dffafa;
  box-shadow: inset 0 0 0 2px #54d4d8;
}

.event-image-remove {
  justify-self: start;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-submit-row {
  align-items: center;
  padding-top: 4px;
}

.post-submit-row .primary-button { font-size: 13px; }

.post-submit-row .form-message { margin: 0; }

.members-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 48px;
  align-items: end;
  padding-block: 76px 54px;
}

.members-page-hero h1 {
  margin-bottom: 22px;
  font-size: 82px;
}

.members-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.members-page-hero .search { max-width: 340px; }

.members-directory { padding-block: 48px 76px; }

.about-community-hero {
  position: relative;
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  background: linear-gradient(118deg, #020305 0%, #071a2d 62%, #075f66 100%);
  color: #fff;
}

.about-community-hero::before {
  position: absolute;
  inset: 0 auto 0 54%;
  width: 1px;
  background: rgba(255, 255, 255, .2);
  content: "";
}

.about-community-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  min-height: min(650px, calc(100vh - 170px));
  gap: 28px;
  align-items: center;
  padding-block: 54px 32px;
}

.about-community-hero-copy {
  display: grid;
  position: relative;
  z-index: 2;
  align-content: center;
  max-width: 660px;
}

.about-community-hero h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(58px, 5.6vw, 84px);
  line-height: .94;
}

.about-hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.65;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.about-help-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-help-link span:last-child { font-size: 20px; }

.about-community-scene {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.about-community-scene::before {
  position: absolute;
  inset: 17% 0 7% 16%;
  border: 1px solid rgba(53, 216, 255, .55);
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  content: "";
}

.about-coder-image,
.about-community-image {
  position: absolute;
  bottom: 0;
  display: block;
  height: auto;
  object-fit: contain;
}

.about-coder-image {
  left: -7%;
  z-index: 1;
  width: 57%;
  opacity: .96;
}

.about-community-image {
  right: -4%;
  z-index: 2;
  width: 82%;
}

.about-code-window {
  position: absolute;
  z-index: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(53, 216, 255, .7);
  background: rgba(1, 8, 15, .72);
  box-shadow: 12px 12px 0 rgba(53, 216, 255, .12);
}

.about-code-window-large {
  top: 4%;
  right: 4%;
  width: 230px;
  height: 138px;
}

.about-code-window-small {
  top: 24%;
  left: 5%;
  width: 150px;
  height: 94px;
}

.about-code-window i {
  display: block;
  height: 7px;
  background: var(--cyan);
}

.about-code-window i:nth-child(2) { width: 72%; background: #fff; opacity: .7; }
.about-code-window i:nth-child(3) { width: 48%; background: #dfff00; }
.about-code-window i:nth-child(4) { width: 82%; opacity: .5; }

.about-community-loop {
  display: grid;
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, .55);
}

.about-community-loop div {
  display: flex;
  min-height: 84px;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
}

.about-community-loop div + div { border-left: 1px solid rgba(255, 255, 255, .3); }

.about-community-loop span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.about-community-loop strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-page-story { padding-block: 96px 104px; }

.about-story-intro {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 58px;
}

.about-story-intro h2 {
  max-width: 900px;
  font-size: 54px;
  line-height: 1.02;
}

.about-story-block {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.about-story-block:last-child { border-bottom: 1px solid var(--line); }

.about-story-marker {
  color: #007f72;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.about-story-block > div:last-child {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.about-story-block h2 {
  font-size: 36px;
  line-height: 1.08;
}

.about-story-block p {
  max-width: 760px;
  margin: 0;
  color: #30322f;
  font-size: 18px;
  line-height: 1.72;
}

.about-story-lead p {
  color: var(--text);
  font-size: 22px;
  line-height: 1.6;
}

.about-action-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(105deg, #020305 0%, #071a2d 68%, #dfff00 140%);
  color: #fff;
}

.about-action-band::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 52px solid #dfff00;
  content: "";
  transform: rotate(45deg);
}

.about-action-content {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(260px, .75fr) minmax(300px, 1fr) auto;
  gap: 54px;
  align-items: center;
  min-height: 360px;
  padding-block: 62px;
}

.about-action-content h2 {
  max-width: 460px;
  font-size: 50px;
}

.about-action-content > p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.7;
}

.about-action-buttons {
  display: grid;
  min-width: 190px;
  gap: 12px;
}

.about-action-buttons .secondary-button {
  background: #fff;
  color: var(--text);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero,
  .workspace,
  .events-band { grid-template-columns: 1fr; }

  .members-page-hero,
  .about-community-hero-inner { grid-template-columns: 1fr; }

  .home-showcase-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .resource-feature-hero { grid-template-columns: 132px minmax(0, 1fr); }
  .resource-feature-content { padding: 42px 36px; }

  .about-community-hero::before { display: none; }
  .about-community-scene { min-height: 430px; }

  .about-story-block > div:last-child { grid-template-columns: 1fr; }

  .about-action-content {
    grid-template-columns: 1fr 1fr;
  }

  .about-action-buttons { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 220px)); }

  .event-hero-visual { min-height: 260px; }
  .event-hero-visual img { justify-self: center; }
  .projects-pane .post-list { grid-template-columns: 1fr; }

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

  .project-preview {
    min-height: 0;
    grid-template-rows: 42px auto;
  }

  .project-preview-viewport {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .help-desk { grid-template-columns: 1fr; }

  .help-form {
    padding: 26px 0 0;
    border-top: 1px solid rgba(7, 26, 45, .24);
    border-left: 0;
  }

  .hero { min-height: auto; }
  .hero-visual { min-height: 260px; }
  .hero-visual img { justify-self: center; }

  .metrics,
  .member-grid,
  .event-strip,
  .about-metrics { grid-template-columns: repeat(2, 1fr); }

  .metrics article:nth-child(3) { border-left: 0; }
  .metrics article:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about-metrics div:nth-child(3) { border-left: 0; }
  .about-metrics div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .72); }
  .auth-panel { position: static; }
}

@media (max-width: 760px) {
  .section-heading,
  footer,
  .composer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero,
  .metrics,
  .workspace,
  .members-section,
  .events-band,
  footer,
  .home-project-showcase,
  .resource-feature-hero,
  .help-hero,
  .event-hero,
  .projects-pane,
  .members-page-hero,
  .members-directory,
  .about-community-hero-inner,
  .about-community-loop,
  .about-page-story,
  .about-action-content { width: min(calc(100% - 28px), var(--content)); }

  .topbar {
    position: relative;
  }

  #feed,
  #project-showcase,
  #resource-feature,
  #help-me,
  #featured-event {
    scroll-margin-top: 0;
  }

  .header-primary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    width: min(100%, 210px);
  }

  .brand-logo {
    flex-basis: 104px;
    width: 104px;
    height: 52px;
  }

  .brand-name {
    max-width: 86px;
    padding: 0 8px;
    font-size: 9px;
    white-space: normal;
  }

  .header-utility-action {
    width: auto;
    min-width: 0;
  }

  .share-header-action { grid-column: 2; }

  .header-nav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 8px 14px;
    overflow: visible;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .topnav {
    display: none;
    width: 100%;
    min-height: 0;
    padding-top: 8px;
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-nav-open .topnav { display: flex; }

  .topnav a,
  .topnav a:first-child {
    min-height: 48px;
    padding: 0 10px;
    border-bottom-color: #c7d0d2;
  }

  .topnav a.active {
    border-bottom-color: #111;
    background: #eff8f7;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
  }

  .hero { padding-block: 34px; }
  h1 { font-size: 50px; }
  h2 { font-size: 40px; }

  .home-project-showcase {
    width: 100%;
    padding: 36px 20px 44px;
  }

  .help-hero .help-desk {
    min-height: 0;
    padding: 34px 20px;
    box-shadow: 7px 7px 0 #123d48;
  }

  .help-hero .help-desk-intro h1 { font-size: 43px; }

  .home-showcase-heading { margin-bottom: 30px; }
  .home-showcase-heading h1 { font-size: 40px; }
  .home-showcase-heading > p { font-size: 15px; }

  .resource-feature-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    box-shadow: 7px 7px 0 #9fb4b8;
  }

  .resource-feature-index {
    min-height: 88px;
    padding: 18px 20px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .resource-feature-index strong {
    margin: 0;
    font-size: 52px;
  }

  .resource-feature-index i {
    right: 30%;
    bottom: 28px;
    width: 94px;
    height: 14px;
  }

  .resource-feature-content {
    padding: 32px 20px 34px;
  }

  .resource-feature-topline { margin-bottom: 26px; }
  .resource-feature-content h1 { font-size: 42px; }
  .resource-feature-summary { font-size: 15px; }

  .resource-feature-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-feature-link { width: 100%; }

  .event-hero {
    width: 100%;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    padding: 0 14px 42px;
  }

  .event-hero::after {
    inset: 300px 0 0;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }

  .event-hero-copy {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding: 70px 10px 0;
  }

  .event-hero-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 300px;
  }

  .event-hero-visual img {
    width: min(100%, 390px);
    transform: scale(.9);
    transform-origin: center;
  }

  .event-hero h1 { font-size: 38px; }
  .members-page-hero h1 { font-size: 48px; }

  .about-community-hero { margin-top: 0; }
  .about-community-hero-inner {
    min-height: 0;
    gap: 16px;
    padding-block: 48px 20px;
  }
  .about-community-hero h1 { font-size: 48px; }
  .about-hero-text { font-size: 16px; }
  .about-community-scene { min-height: 330px; }
  .about-coder-image { left: -12%; width: 58%; }
  .about-community-image { right: -12%; width: 94%; }
  .about-code-window-large { width: 150px; height: 90px; padding: 13px; }
  .about-code-window-small { display: none; }
  .about-community-loop { grid-template-columns: repeat(2, 1fr); }
  .about-community-loop div { min-height: 68px; padding: 13px 14px; }
  .about-community-loop div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .about-community-loop div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .3); }
  .about-community-loop strong { font-size: 17px; }
  .about-page-story { padding-block: 62px 68px; }
  .about-story-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 42px;
  }
  .about-story-intro h2 { font-size: 40px; }
  .about-story-block {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }
  .about-story-block > div:last-child { gap: 18px; }
  .about-story-block h2 { font-size: 30px; }
  .about-story-block p,
  .about-story-lead p { font-size: 17px; }
  .about-action-band::after { opacity: .35; }
  .about-action-content {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-block: 58px;
  }
  .about-action-content h2 { font-size: 40px; }
  .about-action-content > p { font-size: 16px; }
  .about-action-buttons { grid-column: auto; grid-template-columns: 1fr; width: min(100%, 230px); }

  .projects-pane { padding-block: 54px; }

  .projects-pane .post-list { gap: 38px; }

  .project-card-content { padding: 26px 22px 24px; }

  .project-card-content h3 {
    margin-top: 16px;
    font-size: 28px;
  }

  .project-preview-viewport { aspect-ratio: 4 / 3; }

  .project-post > .comments,
  .project-post > .comment-form {
    margin-inline: 20px;
  }

  .project-post > .feedback-callout {
    margin-top: 24px;
    padding: 22px 20px;
  }

  .help-desk {
    gap: 24px;
    padding: 24px 20px;
  }

  .help-form-row { grid-template-columns: 1fr; }

  .help-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .help-form-footer .primary-button { align-self: flex-start; }

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

  .help-question-index {
    min-height: 58px;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid #b8dfe7;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .help-question-index strong {
    margin: 0;
    font-size: 28px;
  }

  .help-question-content { padding: 24px 20px; }

  .help-question-content h3 { font-size: 26px; }

  .help-question-callout {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 16px;
  }

  .help-question-post > .help-answers {
    padding: 22px 20px;
  }

  .help-question-post > .help-answer-form {
    margin: 18px 20px 24px;
  }

  .resource-card-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .resource-index {
    min-height: 72px;
    padding: 14px 20px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .resource-index strong {
    margin: 0;
    font-size: 34px;
  }

  .resource-index i {
    width: 64px;
    margin: 0;
  }

  .resource-card-content { padding: 26px 20px 24px; }

  .resource-post > .comments {
    margin: 22px 20px 0;
  }

  .resource-post > .comments:not(:empty):last-child { margin-bottom: 24px; }

  .resource-post > .comment-form {
    margin: 14px 20px 24px;
  }

  .resource-card-content h3 {
    margin-top: 18px;
    font-size: 29px;
  }

  .resource-card-content .post-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .like-button {
    width: 100%;
    justify-content: center;
  }

  .event-card-layout,
  .event-card-layout.has-image { grid-template-columns: 1fr; min-height: 0; }

  .event-card-image {
    min-height: 180px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid #aebdc1;
  }

  .event-card-image img { max-height: 220px; }

  .event-card-date {
    min-height: 82px;
    padding: 14px 20px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-direction: row;
    text-align: left;
  }

  .event-card-date strong { margin: 0; font-size: 42px; }
  .event-card-date::after { right: -18px; bottom: 12px; width: 90px; height: 18px; }
  .event-card-content { padding: 26px 20px 28px; }
  .event-card-content h3 { font-size: 31px; }
  .event-facts { grid-template-columns: 1fr; }
  .event-facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .event-facts > div:nth-child(n + 2) { border-top: 1px solid #b7c5c9; }
  .event-post > .comments { margin: 24px 20px 0; }
  .event-post > .comments:not(:empty):last-child { margin-bottom: 24px; }
  .event-post > .comment-form { margin: 14px 20px 24px; }

  .about-pane {
    width: 100%;
    margin-bottom: 48px;
    padding: 120px 0;
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  }

  .about-content {
    width: min(calc(100% - 28px), var(--content));
    padding-inline: 26px;
  }

  .about-pane h2 {
    font-size: 42px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 42px;
  }

  .about-copy {
    margin-top: 0;
    font-size: 19px;
    line-height: 1.55;
  }

  .metrics,
  .member-grid,
  .event-strip,
  .about-metrics { grid-template-columns: 1fr; }

  .member-grid { row-gap: 64px; }

  .metrics article + article,
  .metrics article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-metrics div + div,
  .about-metrics div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .72);
  }

  .search { max-width: none; }

  .project-invite,
  .feedback-callout {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .project-invite { flex-direction: column; }
  .invite-action { align-self: flex-start; }
  .feedback-actions { justify-content: flex-start; }
  .feedback-kind-button { flex: 1 1 140px; }

  .site-dialog { padding: 22px; }
  .dialog-heading h2 { font-size: 36px; }
  .project-dialog .dialog-heading h2 { font-size: 32px; }
  .post-type-panel,
  .post-form-grid,
  .post-event-fields { grid-template-columns: 1fr; }
  .post-event-fields .event-image-upload-row { grid-template-columns: 1fr; }
  .post-type-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-type-button:nth-child(2) { border-right: 0; }
  .post-type-button:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .post-type-summary { min-height: 126px; }
  .post-form-grid { padding: 18px; }
  .post-form-grid .wide { grid-column: auto; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .profile-form-grid .wide { grid-column: auto; }
  .website-field-row { grid-template-columns: 1fr 42px; }
  .website-field-row label { grid-column: 1 / -1; }
  .website-remove-button { grid-column: 2; }
  .form-grid .photo-upload-row { align-items: stretch; flex-direction: column; }
}

@media (max-width: 360px) {
  .brand { width: 104px; }
  .brand-name { display: none; }
}

/* Keep the About closing band restrained after the legacy section rules above. */
.about-page .about-action-band {
  border-top: 1px solid #111;
  margin-bottom: 64px;
  background: linear-gradient(110deg, #03070c 0%, #082d41 72%, #087f82 100%);
}

.about-page .about-action-band::after {
  top: -180px;
  right: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(53, 216, 255, .75);
}

.about-page .about-action-buttons a {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 760px) {
  .about-page .about-action-band { margin-bottom: 36px; }
}

/* Member workspace and project engagement */
.profile-nav-link {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  border-bottom: 2px solid transparent;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-nav-link:hover,
.profile-nav-link.active { border-color: #111; }

.topnav .profile-nav-link {
  min-height: 0;
  border-bottom-width: 1px;
}

.notification-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00aeb7, #ffe635);
  color: #071014;
  font-size: 11px;
  font-weight: 900;
}

.notification-badge[hidden] { display: none; }

.member-card-actions {
  display: flex;
  min-height: 36px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.request-contact-button { border-color: #111; }

.member-contact-action {
  display: flex;
  justify-content: flex-start;
  margin: 14px 0 18px;
}

.project-post .post-footer {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.project-engagement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-engagement-actions .project-edit-button,
.project-engagement-actions .project-like-button,
.project-engagement-actions .project-share-toggle {
  min-height: 38px;
}

.project-engagement-actions .project-edit-button {
  border-color: #111;
  background: linear-gradient(135deg, rgba(53, 216, 255, .76), rgba(67, 245, 155, .8));
  color: #071014;
}

.project-engagement-actions .project-like-button {
  min-width: 108px;
  border-color: #8c999d;
  background: transparent;
  color: #42555c;
  font-size: 10px;
}

.project-engagement-actions .project-like-button:hover {
  box-shadow: none;
  transform: none;
  background: #fff;
}

.project-engagement-actions .project-like-button .like-thumb {
  padding-inline: 10px 6px;
  font-size: 15px;
}

.project-engagement-actions .project-like-button strong {
  min-width: 32px;
  margin-left: 6px;
  border-color: #aeb9bc;
  background: transparent;
  color: #111;
  font-size: 11px;
}

.project-engagement-actions .project-share-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #8c999d;
  background: transparent;
  color: #42555c;
  font-size: 10px;
}

.project-share { position: relative; }

.project-share-menu {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(7, 26, 36, .18);
}

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

.project-share-menu a,
.project-share-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.project-share-menu a:hover,
.project-share-menu button:hover { background: #e9f8f7; }

.comment-form .screenshot-control {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-form .screenshot-control > span {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.comment-form .screenshot-control small {
  color: #687a80;
  font-size: 9px;
  font-weight: 600;
}

.comment-form .screenshot-control.is-dragging {
  border-color: #008f98;
  background: #dffafa;
  box-shadow: inset 0 0 0 2px #54d4d8;
}

.comment-form .screenshot-control.has-file { border-color: #008f98; }

.project-post > .comment-form { grid-template-columns: minmax(0, 1fr) auto auto; }

.comment-form .screenshot-control[hidden] { display: none; }

.comment-screenshot {
  display: block;
  width: min(260px, 100%);
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.comment-screenshot img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid #7aa4ad;
}

.comment-contact-button {
  display: inline-flex;
  width: auto;
  min-height: 28px;
  margin: 0;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-color: #111;
  background: #fff;
  color: #111;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.comment-contact-button:hover {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 2px 2px 0 #111;
  transform: none;
}

.comment-screenshot { grid-column: 2; }

.screenshot-dialog {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 46px 14px 14px;
  border: 1px solid #111;
  background: #07141d;
}

.screenshot-dialog::backdrop { background: rgba(0, 0, 0, .76); }

.screenshot-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border-color: #fff;
  background: #07141d;
  color: #fff;
}

.screenshot-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 94px);
  object-fit: contain;
}

.notice-dialog { max-width: 540px; }
.notice-dialog > p { font-size: 17px; line-height: 1.6; }

.contact-request-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.contact-request-form[hidden] { display: none; }

.contact-request-form label { display: grid; gap: 7px; }
.contact-request-form label > span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-request-form textarea { width: 100%; resize: vertical; }

.profile-page {
  width: min(calc(100% - 48px), 1240px);
  min-height: 70vh;
  margin: 0 auto;
  padding: 54px 0 96px;
}

.profile-gate {
  max-width: 720px;
  padding: 72px 0;
}

.profile-gate h1,
.profile-dashboard-hero h1 {
  margin: 5px 0 12px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
}

.profile-gate > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 28px;
  font-size: 19px;
  line-height: 1.6;
}

.profile-dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 0 42px;
  border-bottom: 2px solid #111;
}

.profile-dashboard-person {
  display: flex;
  align-items: center;
  gap: 22px;
}

.dashboard-avatar {
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50% 50% 16% 50%;
  background: #091821;
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-size: 42px;
  font-weight: 700;
}

.dashboard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-dashboard-person h1 { font-size: clamp(42px, 5vw, 68px); }
.profile-dashboard-person p:last-child { margin: 0; color: #48606a; }

.profile-dashboard-actions {
  display: grid;
  width: min(100%, 480px);
  max-width: 480px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "membership membership"
    "primary edit"
    "signout signout";
  align-items: stretch;
  gap: 12px;
}

.profile-dashboard-actions .primary-button,
.profile-dashboard-actions .secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  line-height: 1.15;
  text-align: center;
}

.profile-dashboard-actions .secondary-button { min-width: 0; }

.dashboard-new-project { min-width: 0; grid-area: primary; }

#dashboardEditProfile { grid-area: edit; }

.profile-dashboard-actions .text-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

#signOutButton { grid-area: signout; justify-self: end; }

.membership-upgrade-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  min-width: 0;
  grid-area: membership;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #111;
  border-radius: 4px;
  background: linear-gradient(110deg, #ffe600 0%, #ffd43b 52%, #55e6db 135%);
  box-shadow: 4px 4px 0 #111;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.membership-upgrade-button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #111; }
.membership-upgrade-button[hidden] { display: none; }
.membership-dialog-intro { max-width: 650px; margin: 0 0 12px; color: #344c56; font-size: 17px; line-height: 1.55; }
.membership-dialog .required-fields-note { margin: 0 0 24px; }
.membership-dialog .button-row {
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-bottom: 4px;
}

.membership-dialog .button-row .primary-button { padding: 14px 20px; }
.membership-dialog .button-row .form-message { margin: 0; }

.text-button {
  border: 0;
  background: transparent;
  color: #50646d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.profile-tabs {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid #aab9bd;
  background: rgba(255, 255, 255, .96);
}

.profile-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-tabs a:hover {
  border-color: #8da2a8;
  background: #f1f5f4;
}

.profile-tabs a.active,
.profile-tabs a[aria-selected="true"] {
  border-color: #111;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 3px 3px 0 #111;
}

.dashboard-section { padding: 58px 0; border-bottom: 1px solid #7d929a; }
.dashboard-section[hidden] { display: none; }
.dashboard-section:last-of-type { border-bottom: 0; }

.dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-section-heading h2 {
  margin: 3px 0 0;
  font-family: "Baloo 2", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.notification-list { display: grid; }

.dashboard-notification {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #c3cdd0;
}

.dashboard-notification:first-child { border-top-color: #111; }
.notification-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #b6c0c3; }
.dashboard-notification.unread .notification-dot { background: #00aeb7; box-shadow: 0 0 0 4px rgba(0, 174, 183, .15); }
.dashboard-notification p { margin: 0 0 4px; font-weight: 650; }
.dashboard-notification time,
.contact-request-person time { color: #61747b; font-size: 12px; }

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

.contact-request-columns h3 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
}

.contact-request-card { padding: 20px 0; border-top: 1px solid #aab9bd; }
.contact-request-card:first-child { border-top-color: #111; }
.contact-request-card > p { line-height: 1.55; }

.contact-request-person { display: flex; align-items: center; gap: 11px; }
.contact-request-person > div { display: grid; gap: 2px; }
.contact-request-message {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid #00aeb7;
  background: #eef7f6;
}
.contact-request-message small { color: #4f656c; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.contact-request-message p { margin: 5px 0 0; color: #111; line-height: 1.55; }
.contact-response-fields { display: grid; grid-template-columns: 120px 1fr; gap: 8px; margin: 14px 0 10px; }
.contact-response-fields select,
.contact-response-fields input { min-height: 42px; padding: 0 10px; border: 1px solid #6b8189; background: #fff; font: inherit; }
.contact-status { color: #45616a; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.shared-contact { color: #006d73; font-weight: 800; }

.managed-project-list { display: grid; gap: 54px; }

.managed-project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 42px;
  padding-top: 24px;
  border-top: 2px solid #111;
}

.managed-project-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.managed-project-heading time { color: #60747c; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.managed-project h3 { margin: 4px 0 12px; font-family: "Baloo 2", sans-serif; font-size: 30px; line-height: 1; }
.managed-project-main > p { max-width: 660px; line-height: 1.62; }
.managed-project-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.managed-project-link { display: inline-flex; gap: 8px; color: #006d73; font-weight: 800; }
.managed-event-image {
  display: grid;
  width: min(240px, 100%);
  aspect-ratio: 16 / 10;
  margin: 4px 0 18px;
  padding: 12px;
  place-items: center;
  background: #f2f7f6;
}
.managed-event-image img { width: 100%; height: 100%; object-fit: contain; }
.managed-event-meta {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: #f2f7f6;
  color: #30464d;
  font-size: 13px;
}
.managed-event-meta strong { color: var(--text); }
.managed-event-meta p { margin: 6px 0 0; }

.danger-button,
.icon-danger-button { border: 1px solid #b63333; background: #fff; color: #9a2020; font: inherit; font-weight: 800; cursor: pointer; }
.danger-button.compact { min-height: 38px; padding: 0 13px; }
.icon-danger-button { width: 30px; height: 30px; font-size: 19px; }

.managed-comments { padding-left: 28px; border-left: 1px solid #aab9bd; }
.managed-comments h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; }
.managed-comment { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #d0d8da; }
.managed-comment p { margin: 5px 0 0; line-height: 1.5; }
.managed-comment strong { margin-left: 8px; font-size: 13px; }
.dashboard-empty { margin: 0; padding: 18px 0; color: #61747b; }
.dashboard-empty-projects { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 2px solid #111; }
.profile-page-message { position: sticky; bottom: 16px; }

@media (max-width: 980px) {
  .profile-dashboard-hero { align-items: flex-start; flex-direction: column; }
  .profile-dashboard-actions { justify-content: start; }
  .managed-project { grid-template-columns: 1fr; gap: 24px; }
  .managed-comments { padding: 20px 0 0; border-top: 1px solid #aab9bd; border-left: 0; }
}

@media (max-width: 760px) {
  .profile-nav-link { font-size: 11px; }
  .topnav .profile-nav-link { min-height: 48px; }
  .profile-page { width: min(calc(100% - 28px), 1240px); padding-top: 26px; }
  .profile-dashboard-person { align-items: flex-start; flex-direction: column; }
  .dashboard-avatar { width: 86px; }
  .profile-dashboard-actions {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    grid-template-areas: "membership" "primary" "edit" "signout";
  }
  .profile-dashboard-actions > * { width: 100%; justify-content: center; }
  .membership-dialog .button-row { align-items: stretch; flex-direction: column; margin-top: 28px; }
  .membership-dialog .button-row .primary-button { width: 100%; }
  .profile-tabs { gap: 16px; overflow-x: auto; }
  .profile-tabs a { white-space: nowrap; }
  .dashboard-section { padding: 42px 0; }
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; }
  .contact-request-columns { grid-template-columns: 1fr; gap: 36px; }
  .contact-response-fields { grid-template-columns: 1fr; }
  .managed-project-heading { flex-direction: column; }
  .managed-project-actions { justify-content: flex-start; }
  .project-engagement-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .project-engagement-actions .project-edit-button {
    width: 100%;
    grid-column: 1 / -1;
  }
  .project-engagement-actions .project-like-button,
  .project-engagement-actions .project-share,
  .project-engagement-actions .project-share-toggle {
    width: 100%;
    min-width: 0;
  }
  .project-share-menu { right: 0; left: auto; }
  .project-post > .comment-form { grid-template-columns: 1fr; }
  .comment-form .screenshot-control { width: 100%; justify-content: center; }
}
