:root {
  --ink: #101412;
  --deep: #171c19;
  --paper: #ebe5d8;
  --paper-dim: #bdb7aa;
  --river: #77a8bd;
  --river-dark: #3c7088;
  --clay: #b46247;
  --amber: #c8943e;
  --line: rgba(235, 229, 216, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  z-index: 20;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  transform: translateY(-120%);
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--paper);
  z-index: 100;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.wordmark {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  font: 700 .78rem/1 var(--mono);
  letter-spacing: .2em;
  text-decoration: none;
}

.wordmark-mark { color: var(--amber); font-size: 1.3rem; }

nav { display: flex; gap: clamp(1rem, 3vw, 2.7rem); }
nav a {
  color: var(--paper-dim);
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover, nav a:focus-visible { color: var(--river); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-content: end;
  padding: 8rem clamp(1.25rem, 6vw, 7.5rem) clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
}

.hero-kicker, .section-number, .coordinates {
  color: var(--river);
  font: 600 .68rem/1.3 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 1.4rem 0 2.7rem;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 9.5vw, 9.6rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .82;
}

.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--river); font-weight: 400; }
.hero h1 em:last-child { color: var(--paper); margin-left: .62em; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.hero-foot p {
  max-width: 39rem;
  margin: 0;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
}

.coordinates { color: var(--paper-dim); white-space: nowrap; }

.river-line {
  position: absolute;
  width: 30vw;
  min-width: 220px;
  height: 120%;
  right: -8vw;
  top: -12%;
  border-left: 1px solid rgba(119, 168, 189, .35);
  border-radius: 50% 0 0 50%;
  transform: rotate(-8deg);
}

.river-line::before, .river-line::after, .river-line span {
  content: "";
  position: absolute;
  inset: 0 auto 0 -2vw;
  width: 100%;
  border-left: 1px solid rgba(119, 168, 189, .18);
  border-radius: 50% 0 0 50%;
}
.river-line::after { left: -4.6vw; opacity: .65; }
.river-line span { left: -7.5vw; opacity: .35; }

.manifesto, .workshop, .shared-work, .current {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(9rem, .6fr) minmax(18rem, 1.4fr) minmax(14rem, .75fr);
  gap: clamp(2rem, 5vw, 6rem);
  background: var(--paper);
  color: var(--ink);
}

.manifesto .section-number { color: var(--river-dark); }

.manifesto h2, .section-heading h2, .current h2 {
  margin: 0;
  font: 400 clamp(2.5rem, 5.2vw, 5.7rem)/.95 var(--serif);
  letter-spacing: -.045em;
}

.manifesto div > p {
  max-width: 40rem;
  margin: 2rem 0 0;
  font-size: 1.05rem;
}

blockquote {
  align-self: end;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 3px solid var(--clay);
  font: italic 1.45rem/1.25 var(--serif);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workshop-grid article {
  min-height: 25rem;
  padding: 2rem clamp(1.2rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.workshop-grid article:last-child { border-right: 0; }
.workshop-grid h3 { margin: auto 0 .7rem; font: 400 2.6rem/1 var(--serif); }
.workshop-grid p { margin: 0; color: var(--paper-dim); max-width: 27rem; }

.material-mark { display: block; width: 4.5rem; height: 4.5rem; }
.material-mark.clay { background: var(--clay); border-radius: 44% 56% 61% 39% / 54% 42% 58% 46%; transform: rotate(12deg); }
.material-mark.ink { border: 1px solid var(--paper); border-radius: 50%; box-shadow: inset 1rem .6rem 0 var(--paper); transform: rotate(-18deg); }
.material-mark.code { border-left: 1px solid var(--river); border-right: 1px solid var(--river); transform: skew(-14deg); }

.shared-work { background: var(--deep); }
.shared-intro { max-width: 47rem; margin: -2.2rem 0 4rem auto; color: var(--paper-dim); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.work-list span { font: 400 clamp(2rem, 4.6vw, 5rem)/1 var(--serif); letter-spacing: -.03em; }
.work-list a { color: inherit; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .14em; transition: color .2s ease, text-decoration-color .2s ease; }
.work-list a:hover, .work-list a:focus-visible { color: var(--river); text-decoration-color: currentColor; }
.work-list small { color: var(--river); font: .68rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.current {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(3rem, 9vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}
.current .section-number { color: var(--river-dark); }
.current h2 { margin: 1.3rem 0 2rem; }
.current-copy > p:last-child { max-width: 40rem; }
.current-instrument {
  align-self: center;
  min-height: 28rem;
  padding: 2rem;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(16, 20, 18, .28);
}
.pulse-disc {
  width: min(14rem, 60vw);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--river-dark);
  border-radius: 50%;
}
.pulse-disc::before, .pulse-disc span { content: ""; display: block; border-radius: 50%; }
.pulse-disc::before { width: 62%; height: 62%; border: 1px solid var(--clay); }
.pulse-disc span { position: absolute; width: 1.1rem; height: 1.1rem; background: var(--amber); }
.current-instrument p { margin: 2rem 0 1rem; font: italic 1.4rem/1.3 var(--serif); text-align: center; }
.current-instrument button {
  width: 100%;
  padding: .95rem 1rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  font: 600 .68rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.current-instrument button:hover, .current-instrument button:focus-visible { color: var(--ink); background: transparent; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 6vw, 7.5rem);
  color: var(--paper-dim);
  border-top: 1px solid var(--line);
  font: .67rem/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
footer div { display: flex; gap: 1.5rem; }
.footer-name { color: var(--paper); font-weight: 700; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .site-header nav { display: none; }
  .hero { min-height: 46rem; }
  .hero h1 { font-size: clamp(3.5rem, 16vw, 6rem); }
  .hero-foot { align-items: start; flex-direction: column; }
  .manifesto { grid-template-columns: 1fr; }
  blockquote { max-width: 24rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 1.2rem; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-grid article { min-height: 18rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .workshop-grid article:last-child { border-bottom: 0; }
  .shared-intro { margin: 0 0 3rem; }
  .work-list li { align-items: start; flex-direction: column; gap: .5rem; }
  .current { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

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