:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --body: #4a4a4a;
  --muted: #6b6b6b;
  --faint: #8e8e8e;
  --line: #bdbdbd;
  --rule: #e6e6e6;
  --accent: #ff3b1f;
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 180px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--muted);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* The dot */
.nw {
  white-space: nowrap;
}

.dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.05em;
}

.beat {
  animation: beat 0.88s cubic-bezier(0.3, 0, 0.2, 1) infinite;
  transform-origin: 50% 50%;
}

@keyframes beat {
  0% { transform: scale(1); }
  10% { transform: scale(1.3); }
  20% { transform: scale(1); }
  30% { transform: scale(1.14); }
  42%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .beat { animation: none; }
  html { scroll-behavior: auto; }
}

/* Header and footer */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 20px var(--pad);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  min-height: 44px;
  padding-top: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: -0.02em;
}

.wordmark .dot {
  width: 6px;
  height: 6px;
  margin-left: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  font-size: 15px;
}

.nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #2a2a2a;
  color: #fff;
}

.btn:disabled {
  background: var(--muted);
  cursor: progress;
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  gap: 0;
}

.btn svg {
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px var(--pad) 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wordmark {
  padding-top: 0;
  min-height: 0;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

/* Shared layout */
.section {
  padding: var(--section) var(--pad);
}

.section-tight {
  padding: 0 var(--pad) var(--section);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.split > .label {
  flex: 1 1 200px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.split > .main {
  flex: 4 1 640px;
  min-width: 0;
}

.display {
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.display .dot {
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.04em;
}

.lede {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--body);
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 120px) var(--pad) 0;
}

.hero h1 {
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(88px, 21vw, 340px);
  line-height: 0.8;
  letter-spacing: -0.055em;
}

.hero h1 > span {
  display: block;
}

.hero h1 .indent {
  padding-left: 26%;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 64px;
  margin-top: clamp(56px, 7vw, 120px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.hero-meta {
  flex: 1 1 200px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-copy {
  flex: 0 1 460px;
  min-width: 0;
}

.hero-copy p {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.hero-copy .actions {
  margin-top: 32px;
}

/* Manifesto */
.manifesto-text {
  font-weight: 300;
  font-size: clamp(30px, 3.9vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.manifesto-text .quiet {
  color: var(--faint);
}

.manifesto-text .dot {
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.04em;
}

.manifesto-body {
  margin-top: 56px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  max-width: 46ch;
}

/* Disciplines */
.disciplines-head {
  margin-bottom: 40px;
}

.disciplines-head .main {
  font-size: 19px;
  color: var(--body);
}

.discipline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 32px;
  border-top: 1px solid var(--rule);
  padding: 22px 0 14px;
}

.discipline:last-child {
  border-bottom: 1px solid var(--rule);
}

.discipline-name {
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(44px, 9vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.discipline-role {
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  color: var(--muted);
}

/* Inside */
.rows {
  margin-top: 72px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 48px;
  border-top: 1px solid var(--rule);
  padding: 28px 0;
}

.row:last-child {
  border-bottom: 1px solid var(--rule);
}

.row-name {
  flex: 1 1 240px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.row-desc {
  flex: 2 1 340px;
  font-size: 18px;
  color: var(--body);
}

.row-when {
  flex: 0 0 120px;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}

/* Off the record */
.band {
  background: var(--ink);
  color: #fff;
}

.band h2 {
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(64px, 12.5vw, 210px);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.rules {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 32px;
  border-top: 1px solid #2e2e2e;
}

.rules p {
  flex: 1 1 220px;
  font-size: 19px;
  line-height: 1.45;
  color: #d9d9d9;
}

/* Membership */
.membership-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: 64px;
}

.membership-cols p {
  flex: 1 1 240px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.membership-actions {
  margin-top: 56px;
}

/* FAQ */
details {
  border-top: 1px solid var(--rule);
}

details:last-child {
  border-bottom: 1px solid var(--rule);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 26px 0;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.015em;
}

summary::-webkit-details-marker {
  display: none;
}

.plus {
  flex: none;
  display: inline-flex;
  transition: transform 0.3s ease;
}

details[open] .plus {
  transform: rotate(45deg);
}

details p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 60ch;
}

/* Closing */
.closing {
  border-top: 1px solid var(--rule);
}

.closing h2 {
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 15ch;
}

.closing h2 .dot {
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.04em;
}

.closing .lede {
  margin-top: 40px;
  max-width: 38ch;
}

.closing .actions {
  margin-top: 48px;
}

/* Apply page */
.apply {
  padding: clamp(48px, 7vw, 104px) var(--pad) clamp(96px, 10vw, 160px);
  display: flex;
  flex-wrap: wrap;
  gap: 64px 96px;
  align-items: flex-start;
}

.apply-intro {
  flex: 1 1 380px;
  min-width: 0;
}

.apply-intro h1,
.thanks h2 {
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(52px, 7vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.apply-intro .lede {
  margin-top: 40px;
  max-width: 34ch;
}

.steps {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  max-width: 420px;
}

.steps li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding: 16px 0;
  font-size: 16px;
}

.steps li:last-child {
  border-bottom: 1px solid var(--rule);
}

.steps li span:last-child {
  color: var(--muted);
}

.fine {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.apply-form-wrap {
  flex: 1.2 1 520px;
  min-width: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pair {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 32px;
}

.pair > .field {
  flex: 1 1 220px;
  min-width: 0;
}

.field label,
fieldset legend,
.group-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.req {
  color: var(--accent);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.field textarea {
  padding: 12px 0;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: var(--accent);
}

.field.narrow {
  max-width: 320px;
}

.code-input {
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset legend {
  padding: 0;
  margin-bottom: 8px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--muted);
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice .mark {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--faint);
}

.choice input:checked + .mark {
  background: var(--accent);
  border-color: var(--accent);
}

.choice:has(input:checked) {
  color: var(--ink);
}

.choice input:focus-visible + .mark {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.mode {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.mode .choice {
  font-size: 17px;
}

.nominator {
  display: none;
  flex-direction: column;
  gap: 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}

.nominator .group-label {
  font-size: 14px;
  color: var(--ink);
}

form.is-nominating .nominator {
  display: flex;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: none;
  font-size: 15px;
  color: #b42318;
}

.form-error.show {
  display: block;
}

.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
}

.submit-row p {
  flex: 1 1 220px;
  font-size: 14px;
  color: var(--muted);
}

.thanks {
  padding-top: 8px;
}

.thanks .lede {
  margin-top: 32px;
  max-width: 36ch;
}

.thanks .actions {
  margin-top: 40px;
}

[hidden] {
  display: none !important;
}

/* Simple prose pages */
.prose {
  padding: clamp(48px, 7vw, 104px) var(--pad) var(--section);
  max-width: 820px;
}

.prose h1 {
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.prose h2 {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.prose .updated {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .row-when {
    flex-basis: 100%;
    text-align: left;
  }
  .hero h1 .indent {
    padding-left: 18%;
  }
}
