/* WECAG: typewriter type over a wall of paint. Ink black paper, bone text, paint colours as accents. */
:root {
  --ink: #0E0D0C;
  --card: rgba(14, 13, 12, 0.88);
  --bone: #F1EBDD;
  --fog: #B9B2A3;
  --red: #E4572E;
  --yellow: #F3B61F;
  --blue: #2E86AB;
  --magenta: #A23B72;
  --green: #3FA34D;
  --display: "Special Elite", "American Typewriter", "Courier New", monospace;
  --body: "Courier Prime", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image: url("splashes.svg");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 2rem 16px 3rem; }

nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; padding: 0.5rem 0 2rem; font-family: var(--display); }
nav a { text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
nav a[aria-current="page"] { color: var(--yellow); }

header.hero { text-align: center; padding: 2rem 1rem 2.5rem; background: var(--card); border: 3px solid var(--bone); transform: rotate(-0.6deg); margin-bottom: 2.5rem; }
.mark { display: block; width: 110px; height: 110px; margin: 0 auto 1.25rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 9vw, 4rem); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; font-style: italic; }
h1 .hit { color: var(--red); }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }
h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }

.lead { font-size: 1.15rem; margin: 1.25rem auto 0; max-width: 34rem; }

blockquote.manifesto { margin: 0 auto; max-width: 36rem; font-family: var(--display); font-size: clamp(1.15rem, 3.6vw, 1.5rem); line-height: 1.45; }
blockquote.manifesto::before { content: "\201C"; color: var(--yellow); }
blockquote.manifesto::after { content: "\201D"; color: var(--yellow); }

section.card { background: var(--card); border-left: 10px solid var(--bone); padding: 1.75rem 1.5rem; margin-bottom: 2rem; }
section.card:nth-of-type(5n+1) { border-color: var(--red); }
section.card:nth-of-type(5n+2) { border-color: var(--yellow); }
section.card:nth-of-type(5n+3) { border-color: var(--blue); }
section.card:nth-of-type(5n+4) { border-color: var(--magenta); }
section.card:nth-of-type(5n+5) { border-color: var(--green); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--fog); }

.label { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.4rem; }

a { color: var(--bone); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--yellow); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.button { display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.4rem; background: var(--bone); color: var(--ink); font-family: var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--bone); transition: background-color 0.15s ease, color 0.15s ease; }
.button:hover { background: var(--ink); color: var(--bone); }

ul.plain { list-style: none; padding: 0; margin: 1rem 0 0; }
ul.plain li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
ul.plain li::before { content: "\2014"; position: absolute; left: 0; color: var(--red); }

.stamps { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.stamp { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; padding: 0.35rem 0.8rem; border: 2px solid currentColor; transform: rotate(-1.5deg); }
.stamp.human { color: var(--green); }
.stamp.ai { color: var(--magenta); transform: rotate(1.2deg); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--fog); padding: 0.15rem 0.7rem; font-size: 0.95rem; }

.banner { background: var(--yellow); color: var(--ink); font-family: var(--display); padding: 0.6rem 1rem; text-align: center; margin-bottom: 2rem; }

.profiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.25rem; }
.profile { border: 2px solid var(--bone); padding: 1rem; background: rgba(0, 0, 0, 0.35); }
.profile .stars { color: var(--yellow); letter-spacing: 0.15em; font-size: 1.1rem; }
.profile .meta { color: var(--fog); font-size: 0.95rem; }

dl { margin: 1.25rem 0 0; }
dl div { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--fog); }
dt { color: var(--fog); min-width: 9rem; }
dd { margin: 0; }

footer { text-align: center; padding-top: 1.5rem; background: var(--card); padding-bottom: 1.5rem; font-size: 0.95rem; }
footer p { margin: 0 0 0.3rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 40rem) { body { background-attachment: scroll; } header.hero { transform: none; } }

form { display: grid; gap: 0.35rem; margin-top: 1.25rem; }
label { font-family: var(--display); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; color: var(--yellow); margin-top: 0.6rem; }
input, textarea, select { width: 100%; font: inherit; color: var(--bone); background: rgba(0, 0, 0, 0.5); border: 2px solid var(--fog); padding: 0.6rem 0.7rem; border-radius: 0; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--bone); }
button.button { cursor: pointer; justify-self: start; font-size: 1rem; }

/* join form: honeypot, error line, thank-you banner */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 1rem; padding: 0.6rem 0.9rem; border: 2px solid var(--red); color: var(--bone); background: rgba(228, 87, 46, 0.15); }
.form-error[hidden] { display: none; }
.photo { display: block; width: 100%; height: auto; margin: 1.5rem 0; border: 3px solid var(--bone); }
.card .lead { margin: 0 0 1rem; max-width: none; }

/* founding director's note */
#renaissance { scroll-margin-top: 1rem; }
.subtitle { font-style: italic; color: var(--fog); margin-bottom: 1.25rem; }
.signoff { text-align: right; font-family: var(--display); margin-top: 1.5rem; }
.signoff .muted { font-family: var(--body); font-size: 0.95rem; }

/* members area */
.banner-staging { background: var(--yellow); color: var(--ink); font-family: var(--display); text-align: center; padding: 0.3rem 1rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.field-row { margin-bottom: 1rem; }
.checkrow { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0; }
.checkrow input { width: auto; margin-top: 0.4rem; }
.linkbtn { background: none; border: 0; color: var(--bone); font: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; cursor: pointer; padding: 0; }
.statusbox { border: 2px solid var(--yellow); padding: 0.8rem 1rem; margin: 1rem 0; }
form.inline { display: inline; }

fieldset.pills { border: 0; padding: 0; margin: 1.25rem 0 0; }
fieldset.pills legend { padding: 0; margin-bottom: 0.6rem; color: var(--fog); }
.pill { display: inline-block; margin: 0 0.4rem 0.5rem 0; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; border: 2px solid var(--fog); padding: 0.2rem 0.8rem; cursor: pointer; }
.pill input:checked + span { background: var(--yellow); color: #0E0D0C; border-color: var(--yellow); }
.pill input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.plainlabel { text-transform: none; letter-spacing: 0; color: inherit; font-family: inherit; }
