:root {
  color-scheme: dark;
  --bg: #121710;
  --surface: #1b2318;
  --raised: #263023;
  --line: #44503d;
  --text: #f8f5e9;
  --muted: #c2cab9;
  --accent: #ff9d58;
  --accent-bright: #ffb782;
  --dark: #221707;
  font:
    100%/1.55 system-ui,
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: var(--accent-bright);
  text-underline-offset: 0.22em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #f9d46b;
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
dl {
  margin: 0 0 0.85rem;
}
h1,
h2,
h3 {
  line-height: 1.12;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.15rem;
}
.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}
.main {
  padding-block: clamp(1.4rem, 5vw, 4rem);
  min-height: 72vh;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #171e15;
}
.header-row {
  min-height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.09em;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.12em;
}
.mark {
  flex: none;
  width: 2.15rem;
  height: 1.22rem;
  border: 3px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-23deg);
  box-shadow:
    inset 0 0 0 2px var(--bg),
    inset 0 0 0 3px var(--accent);
}
.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  padding-bottom: 0.65rem;
}
.navigation a {
  color: var(--muted);
  padding: 0.58rem 0.68rem;
  text-decoration: none;
  border-radius: 0.45rem;
  font-weight: 650;
}
.navigation a:hover,
.navigation [aria-current] {
  background: var(--raised);
  color: var(--text);
}
.skip {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--bg);
  transform: translateY(-160%);
  z-index: 3;
}
.skip:focus {
  transform: translateY(0);
}
.landing {
  display: grid;
  gap: 1rem;
}
.hero {
  container-type: inline-size;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  min-height: 24rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: radial-gradient(ellipse at 85% 10%, #536747, #263622 55%, #1b2518);
}
.hero-copy {
  padding: clamp(1.25rem, 5vw, 3.25rem);
}
.hero h1 {
  font-size: clamp(2rem, 16.75cqi, 7.4rem);
  font-weight: 950;
  line-height: 0.83;
  letter-spacing: -0.075em;
}
.hero h1 span,
.eyebrow {
  color: var(--accent);
}
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 850;
}
.hero p:last-child {
  max-width: 29rem;
  margin: 1.45rem 0 0;
  font-size: 1.08rem;
}
.range-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.range-art::before,
.range-art::after {
  position: absolute;
  content: '';
  left: -22%;
  width: 150%;
  height: 60%;
  top: 55%;
  transform: rotate(-11deg);
  border-radius: 45% 40% 0 0;
  background: #192817;
  border-top: 1px solid #5c714f;
}
.range-art::after {
  top: 67%;
  transform: rotate(8deg);
  background: #111c11;
}
.range-art span {
  position: absolute;
  right: 9%;
  top: 14%;
  width: clamp(4rem, 14vw, 9rem);
  aspect-ratio: 1.9;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center, #ffad70 0 11%, #f38845 12% 18%);
  border: 3px solid #ffc092;
  transform: rotate(-25deg);
  box-shadow: 0 8px #9d441c;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 1rem;
  padding: clamp(1rem, 3.5vw, 2rem);
  min-width: 0;
  overflow-wrap: anywhere;
}
.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login form {
  margin-block: 0.7rem 1rem;
}
.narrow,
.topic-page {
  max-width: 48rem;
  margin-inline: auto;
}
.topic-page > * + * {
  margin-top: 1rem;
}
.stack {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}
.stack > label:not(:first-child) {
  margin-top: 0.35rem;
}
label,
legend {
  font-weight: 700;
}
input:not([type='checkbox']),
textarea,
select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid #788573;
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: #111810;
  color: var(--text);
}
textarea {
  min-height: 6rem;
  resize: vertical;
}
fieldset {
  margin: 0.65rem 0;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.75rem;
}
.check {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 2.25rem;
}
.check input {
  width: 1.12rem;
  height: 1.12rem;
  accent-color: var(--accent);
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
button:hover,
.button:hover {
  background: var(--accent-bright);
}
.stack > button {
  justify-self: start;
  margin-top: 0.55rem;
}
button.quiet,
button.secondary {
  background: var(--raised);
  color: var(--text);
  border-color: #687761;
}
button.quiet:hover,
button.secondary:hover {
  background: #354230;
}
.actions,
.section-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.section-head {
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.section-head :is(h1, h2) {
  margin: 0;
}
.page-head {
  margin-bottom: 1.25rem;
}
.welcome {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.dashboard,
.directory,
.admin-list {
  display: grid;
  gap: 1rem;
}
.discord {
  border-left: 4px solid var(--accent);
}
.muted,
small,
time {
  color: var(--muted);
}
.muted,
small {
  overflow-wrap: anywhere;
}
.empty {
  color: var(--muted);
  border: 1px dashed #687761;
  border-radius: 0.6rem;
  padding: 1rem;
}
.tag {
  display: inline-block;
  border-radius: 0.3rem;
  background: var(--raised);
  color: #e7ebdc;
  padding: 0.18rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 750;
}
.topic-list,
.attendance {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.topic-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.topic-row :is(h2, h3) {
  font-size: 1.15rem;
  margin: 0.4rem 0;
}
.long-text,
dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
dt {
  color: var(--muted);
  font-weight: 650;
  margin-top: 0.7rem;
}
dd {
  margin: 0;
}
.attendance {
  margin-top: 0.8rem;
}
.comment {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.comment h3 {
  margin-bottom: 0.25rem;
}
.comment time {
  display: block;
  margin-bottom: 0.55rem;
}
.short-form {
  max-width: 24rem;
  margin-top: 1rem;
}
.notice {
  border: 1px solid #849c72;
  border-radius: 0.55rem;
  padding: 0.7rem;
  margin-block: 0.7rem;
}
.error {
  background: #3c2119;
  border-color: var(--accent);
}
.error ul {
  margin: 0.4rem 0 0;
  padding-left: 1.35rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 46rem) {
  .landing {
    grid-template-columns: 1.55fr 1fr;
  }
  .hero {
    min-height: 34rem;
  }
  .dashboard,
  .directory,
  .admin-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discord {
    grid-column: 1 / -1;
  }
}
