@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  background: #f8f5eb;
  color: #242921;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-120%);
  padding: 0.75rem 1rem;
  color: #f8f5eb;
  background: #242921;
}

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

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.mark {
  display: grid;
  justify-items: center;
  gap: 0.19rem;
  margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}

.mark i {
  display: block;
  height: 0.4rem;
  background: #b74025;
}

.mark i:nth-child(1) { width: 1rem; }
.mark i:nth-child(2) { width: 1.75rem; }
.mark i:nth-child(3) { width: 2.5rem; }

h1 {
  margin: 0;
  font: 400 clamp(4rem, 17vw, 12rem) / 1 "Instrument Serif", Georgia, serif;
  letter-spacing: -0.055em;
}

.tagline {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.waitlist {
  width: min(100%, 36rem);
  margin: clamp(1.75rem, 5vh, 3.5rem) auto 0;
}

.waitlist iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
}

@media (max-width: 36rem) {
  .waitlist iframe { height: 23rem; }
}

.workspace {
  --pale: #f4f3df;
  --acid: #daed89;
  color: var(--pale);
  background: #202d2a;
  padding: clamp(3.25rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}

.tour-link, .workspace a {
  color: inherit;
  text-underline-offset: 0.23em;
}
.tour-link {
  margin-top: 1.7rem;
  font-size: 0.94rem;
}
.tour-link span, .workspace a span { margin-left: 0.3em; }
.showcase { max-width: 74rem; margin: auto; }
.workspace h2, .workspace h3, .workspace h4, .workspace dl,
.workspace dd, .workspace figure, .workspace blockquote { margin: 0; }
.workspace h2, .workspace h3, .workspace h4, .exhibit blockquote, .artifact strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
.intro, .chapter, .spread {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
}
.intro { padding-bottom: clamp(3rem, 6vw, 6rem); }
.intro h2 {
  font-size: clamp(3.6rem, 7.8vw, 7.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.intro em { color: var(--acid); font-style: normal; }
.intro p, .narrative p, .desktop p {
  max-width: 42ch;
  margin: 1rem 0 0;
  line-height: 1.65;
  color: #d2dad4;
}
.intro p { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.chapter, .spread {
  border-top: 1px solid #53645c;
  padding: clamp(2.7rem, 6vw, 5.5rem) 0;
}
.workspace h3 {
  font-size: clamp(2.55rem, 4.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.workspace a { display: inline-block; margin-top: 1.1rem; }
.workspace :is(a, input):focus-visible, .tour-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.exhibit {
  min-width: 0;
  padding: clamp(1.25rem, 3.5vw, 2.8rem);
  border-radius: 0.45rem;
  background: var(--pale);
  color: #24392e;
  box-shadow: 0.32rem 0.4rem #748a77;
}
.exhibit figcaption, .caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #8e9a86;
  font: 0.8rem/1.4 ui-monospace, monospace;
}
.exhibit figcaption span, .caption span { color: #4e6154; }
.exhibit blockquote {
  margin: 1.3rem 0;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.handoff { display: flex; align-items: center; gap: 0.7rem; }
.handoff span {
  border: 1px solid #9eac95;
  border-radius: 2rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
}
.artifact {
  border-left: 3px solid #42684c;
  background: #e2e8cc;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0 0;
}
.artifact small, .artifact strong, .result strong { display: block; }
.artifact strong, .exhibit h4 { font-size: 2.15rem; }
.artifact small { margin-bottom: 0.25rem; }
.exhibit h4 { margin-top: 1rem; }
.permissions ul, .result ol { list-style: none; padding: 0; }
.permissions ul { margin: 0.7rem 0 0; }
.permissions li, .grant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #c2cbb5;
}
.permissions li span { font-size: 0.84rem; color: #43603e; }
.grant { cursor: pointer; font-weight: 650; }
.grant input { width: 1.35rem; height: 1.35rem; accent-color: #356342; cursor: pointer; }
#grant-note { margin: 0.8rem 0 0; color: #536352; font-size: 0.9rem; }
.result ol { margin: 1rem 0 0; }
.result li { padding: 0.6rem 0 0.8rem 1.45rem; position: relative; border-left: 1px solid #9faf96; line-height: 1.45; }
.result li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: -0.29rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3d6349;
}
.result strong { margin-bottom: 0.2rem; }
.result .published { display: none; }
.showcase:has(#allow-publish:checked) .held { display: none; }
.showcase:has(#allow-publish:checked) .published { display: list-item; }
.result :is(.held, .published) { background: #e2e8cc; }
.spread { align-items: start; padding-bottom: 0; }
.tool-index dl { margin-top: 1.3rem; }
.tool-index dl > div {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.9rem;
  border-top: 1px solid #53645c;
  padding: 0.85rem 0;
  line-height: 1.45;
}
.tool-index dt, .narrative a, .desktop a { color: var(--acid); }
#workspace-title, #access, #outcome, #beta-waitlist { scroll-margin-top: 1.5rem; }

@media (max-width: 48rem) {
  .intro, .chapter, .spread { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .intro p { margin: 0; }
  .spread { gap: 3rem; }
}
