/* Tokens, type, and the base page. Load first. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
}

:root {
  --paper: var(--lr-color-paper, #f8f5ed);
  --raise: var(--lr-color-raised, #fbf8f1);
  --raise-hover: var(--lr-color-hover, #efe6d6);
  --ink: var(--lr-color-ink, #16130e);
  --ink-soft: var(--lr-color-ink-soft, #4d4436);
  --accent: var(--lr-color-accent, #b83c26);
  --accent-deep: var(--lr-color-accent-deep, #8f2b19);
  --space-editorial-rubric: 0.75rem;
  --wash: color-mix(in srgb, var(--accent) 14%, transparent);
  --rule: color-mix(in srgb, var(--ink) 16%, transparent);
  --quiet: var(--lr-color-quiet, #6f6455);
  --sans: var(--lr-font-family-body, system-ui), "Segoe UI", sans-serif;
  --display: var(--lr-font-family-display, "Source Serif 4"), Georgia, serif;
  --wrap: 1360px;
  --measure: 40rem;
  --text-display: clamp(1.45rem, min(1.15rem + 2.2vw, 6.4vh), 3.35rem);
  --text-line: clamp(1.28rem, 1.02rem + 1.15cqi, 1.7rem);
  --text-meta: 0.6875rem;
  --space: clamp(2.75rem, 6vh, 4.5rem);
  --track-display: -0.024em;
  --track-kicker: 0.2em;
}

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

html {
  color-scheme: light;
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: none;
  background-color: var(--paper);
  color: var(--ink);
}

body {
  position: relative;
  inset: auto;
  margin: 0;
  min-width: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  overscroll-behavior: none;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 42% at 50% -10%, rgb(255 232 210 / 0.035), transparent 58%),
    url("/grain.svg");
  background-size: auto, 640px 640px;
  background-blend-mode: normal, soft-light;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

body:has(.plate--home) {
  background-color: var(--paper);
  background-image:
    linear-gradient(to bottom, var(--wash), transparent 7rem),
    radial-gradient(ellipse 80% 42% at 50% -10%, rgb(255 232 210 / 0.035), transparent 58%),
    url("/grain.svg");
  background-size: auto, auto, 640px 640px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-blend-mode: normal, normal, soft-light;
}

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

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

.skip-link:focus {
  position: fixed;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  text-decoration: none;
}

.site-header,
.site-footer {
  width: min(100% - 2.5rem, var(--wrap));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem clamp(0.75rem, 2vw, 1.5rem);
  padding-top: clamp(0.85rem, 2vh, 1.35rem);
  padding-bottom: clamp(0.55rem, 1.4vh, 0.85rem);
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.wordmark {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: clamp(2.15rem, 6.2vh, 3.25rem);
  width: auto;
  max-width: min(42vw, 16.5rem);
  margin-inline: 0;
  background: transparent;
}

.wordmark:hover img,
.wordmark:focus-visible img {
  opacity: 0.82;
}

.site-nav,
.legal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem clamp(0.55rem, 1.15vw, 1.2rem);
  min-width: 0;
}

.legal {
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.site-nav a,
.legal a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 2.4rem;
  white-space: nowrap;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(50% + 0.62em);
  background-size: 0 1px;
  transition: background-size 160ms ease;
}

.site-nav a[aria-current="page"],
.legal a {
  color: var(--accent);
  background-size: 100% 1px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal a:hover,
.legal a:focus-visible {
  color: var(--accent);
  background-size: 100% 2px;
}

.site-nav a.connect {
  gap: 0.48rem;
  margin: 0;
  padding: 0.28rem 0.9rem 0.28rem 0.62rem;
  min-height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background-color: var(--raise);
  background-image: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-indent: 0;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.site-nav a.connect::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.4rem 0.04rem color-mix(in srgb, var(--accent) 75%, transparent);
  flex: 0 0 auto;
}

.site-nav a.connect:hover,
.site-nav a.connect:focus-visible {
  background-color: var(--raise-hover);
  background-image: none;
  background-size: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--ink);
}

.site-nav a.connect:hover::before,
.site-nav a.connect:focus-visible::before {
  box-shadow: 0 0 0.7rem 0.12rem color-mix(in srgb, var(--accent) 95%, transparent);
}

.site-nav a.connect[aria-current="page"] {
  background-color: var(--raise);
  background-image: none;
  background-size: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--accent);
}

.site-nav a.connect[aria-current="page"]::before {
  box-shadow: 0 0 0.65rem 0.1rem color-mix(in srgb, var(--accent) 95%, transparent);
}

main {
  flex: 1 1 auto;
  width: min(100% - 2.5rem, var(--measure));
  max-width: 100%;
  min-width: 0;
  margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2));
  margin-right: auto;
  padding-top: clamp(1rem, 3vh, var(--space));
  padding-bottom: clamp(0.45rem, 1.6vh, 2.5rem);
  overflow: visible;
  padding-inline-end: 0;
  container-type: inline-size;
  container-name: column;
}

main:focus {
  outline: none;
}

main.sheet--stage {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding-top: clamp(0.65rem, 2vh, 2.25rem);
  padding-bottom: clamp(0.35rem, 1.2vh, 1.25rem);
  padding-inline-end: 0;
  overflow: visible;
  container-type: inline-size;
  container-name: stage;
}

main.hero {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding-top: clamp(0.65rem, 2vh, 2.25rem);
  padding-bottom: clamp(0.35rem, 1.2vh, 1.25rem);
}

.stage {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(0.75rem, 2vh, 1.25rem) clamp(1.25rem, 3vw, 3.25rem);
  align-items: center;
  min-width: 0;
  min-height: 100cqh;
  height: auto;
}

.stage-copy {
  container-type: inline-size;
  container-name: copy;
  min-height: 0;
  padding-bottom: 0;
}

.kicker {
  margin: 0 0 clamp(0.5rem, 1.4vh, 1.15rem);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--track-kicker);
  line-height: 1.4;
  text-transform: uppercase;
}

.card .kicker {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--accent);
  margin-bottom: clamp(0.85rem, 2vh, 1.35rem);
}

.heel {
  display: block;
  width: 3.25rem;
  height: auto;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.rule-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.rule-head .kicker {
  margin: 0;
}

.display {
  margin: 0;
  max-width: min(18ch, 100%);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--track-display);
  text-wrap: balance;
  hanging-punctuation: first;
}

.stage-copy .display {
  max-width: min(20ch, 100%);
  font-size: min(var(--text-display), 5.2vh);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce), (prefers-contrast: more) {
  .stage-copy .display {
    animation: none;
    background-image: none;
    color: var(--ink);
    -webkit-text-fill-color: currentcolor;
  }
}

@media (forced-colors: active) {
  .stage-copy .display {
    animation: none;
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

.support {
  margin: 1.15rem 0 0;
  max-width: min(34rem, 100%);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--text-line);
  line-height: 1.38;
  letter-spacing: -0.011em;
  text-wrap: pretty;
}

main.ledger section p.support {
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  max-width: 38rem;
  color: var(--ink);
  font-family: var(--display);
}

main.ledger section blockquote.support {
  font-size: var(--text-line);
  line-height: 1.38;
  letter-spacing: -0.011em;
  font-style: italic;
}

main.ledger section {
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}

main.ledger section h2 {
  margin: 0 0 0.35rem;
  max-width: min(28rem, 100%);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

main.ledger blockquote.support {
  margin-inline: 0;
  font-style: italic;
}

.support a,
.display a,
.lines a,
.return a,
.invoke {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 160ms ease;
}

.support a:hover,
.display a:hover,
.lines a:hover,
.return a:hover,
.invoke:hover,
.invoke:focus-visible,
.support a:focus-visible,
.display a:focus-visible,
.lines a:focus-visible,
.return a:focus-visible {
  background-size: 100% 2px;
}

.ways {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: clamp(0.3rem, 1.2vh, 1.1rem);
  padding-top: clamp(0.22rem, 0.9vh, 0.75rem);
  border-top: 1px solid var(--rule);
}

.rule-head + .display,
.split .display,
.speaking .display,
.request-dialog .display {
  max-width: min(18ch, 100%);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rule-head + .display.lead {
  max-width: min(18ch, 100%);
  line-height: 1.08;
  letter-spacing: -0.024em;
}

.rule-head + .display.sentence {
  max-width: min(34ch, 100%);
  line-height: 1.12;
  letter-spacing: -0.022em;
}

main.about h1.display.sentence {
  max-width: min(34ch, 100%);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
}

.way {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 0.18rem 0;
  color: var(--accent);
  text-decoration: none;
}

.way-name {
  font-family: var(--display);
  font-size: clamp(1.05rem, min(1.05rem + 1.6cqi, 3.1vh), 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 160ms ease;
}

.way-line {
  margin-top: 0.2rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.9vh, 0.92rem);
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease;
}

.way:hover .way-name,
.way:focus-visible .way-name {
  background-size: 100% 2px;
}

.way:hover .way-line,
.way:focus-visible .way-line {
  color: var(--ink);
}

.plate {
  position: relative;
  margin: 0;
  line-height: 0;
}

.plate--home {
  width: 100%;
  max-width: min(26rem, 665px);
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
}

.plate--home img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(100%, calc(100svh - 15.5rem));
  min-height: 0;
  object-fit: contain;
  object-position: left center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  margin-top: 0.25rem;
  min-width: 0;
}

.cover {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 30rem;
  min-width: 0;
  line-height: 0;
}

.cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 16.5rem);
  min-width: 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: intersect;
}

.lines {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  width: 100%;
}

.lines li {
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--quiet);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--text-line);
  line-height: 1.32;
  letter-spacing: -0.011em;
}

.lines li:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}

.speaking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  min-width: 0;
  max-width: 40rem;
}

.speaking-copy,
.speaking .request {
  min-width: 0;
}

.speaking .request {
  margin-top: 0;
  max-width: none;
}

.speaking .fields {
  gap: 0.48rem;
  margin-top: 0.5rem;
}

.speaking .fields input,
.speaking .fields textarea {
  font-size: 1.05rem;
  padding-bottom: 0.28rem;
}

.speaking .fields textarea {
  min-height: 2.6rem;
}

.speaking .submit {
  margin-top: 0.35rem;
}

cite {
  font-style: italic;
}

.request {
  margin-top: 2.5rem;
  max-width: 32rem;
}

.request h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--track-kicker);
  line-height: 1.4;
  text-transform: uppercase;
}

.fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  margin: 1.25rem 0 0;
}

.fields label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.fields input,
.fields textarea {
  width: 100%;
  margin: 0;
  padding: 0.35rem 0 0.55rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
  appearance: none;
  background: transparent;
  box-shadow: none;
  caret-color: var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.fields textarea {
  min-height: 5.5rem;
  resize: none;
  scrollbar-width: none;
}

.fields textarea::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.fields input:-webkit-autofill,
.fields textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--paper) inset;
}

.fields label:focus-within {
  color: var(--ink);
}

.fields input:hover,
.fields textarea:hover {
  border-bottom-color: var(--quiet);
}

.fields input:focus,
.fields textarea:focus,
.fields input:focus-visible,
.fields textarea:focus-visible,
.fields input:user-invalid,
.fields textarea:user-invalid {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

.fields input:focus,
.fields textarea:focus,
.fields input:focus-visible,
.fields textarea:focus-visible {
  border-bottom-color: var(--accent);
}

.submit {
  min-height: 2.75rem;
  margin: 1.15rem 0 0;
  padding: 0.35rem 0;
  border: 0;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 160ms ease, color 160ms ease;
}

.submit:hover,
.submit:focus-visible {
  background-size: 100% 2px;
  color: var(--ink);
}

.invoke {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  color: var(--accent);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
  transition: background-size 160ms ease, color 160ms ease;
}

.invoke:hover,
.invoke:focus-visible {
  color: var(--ink);
}

.dialog-close {
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(50% + 0.62em);
  background-size: 100% 1px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-size 160ms ease, color 160ms ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background-size: 100% 2px;
  color: var(--ink);
}

.request-dialog {
  width: min(calc(100% - 2.5rem), 40rem);
  max-height: calc(100dvh - 2.5rem);
  margin: auto;
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4vh, 2.75rem);
  border: 1px solid var(--rule);
  background: var(--raise);
  color: var(--ink);
  overflow: auto;
  scrollbar-width: none;
}

.request-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.request-dialog .fields {
  gap: 1.05rem;
}

.request-dialog .fields textarea {
  min-height: 3.25rem;
}

.request-dialog .fields input:-webkit-autofill,
.request-dialog .fields textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--raise) inset;
}

.request-dialog::backdrop {
  background: rgb(28 24 20 / 0.62);
}

.request-dialog .request {
  margin-top: 1.95rem;
  max-width: none;
}

.receipt {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.011em;
}

.return {
  margin: 2rem 0 0;
  font-family: var(--display);
  font-size: var(--text-line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 1.35rem;
  border-top: 1px solid var(--rule);
}

.site-footer > * {
  min-width: 0;
  max-width: 100%;
}

.legal {
  justify-self: center;
}

.colophon {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.health-pill {
  margin: 0;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.2;
  cursor: default;
}

a:focus-visible,
button:focus-visible,
.skip-link:focus {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 800px), (max-height: 540px) {
  html {
    height: auto;
    overflow-x: clip;
    overflow-y: auto;
  }

  body {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: env(safe-area-inset-top, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
  }

  main,
  main.sheet--stage {
    flex: 0 0 auto;
    height: auto;
    overflow: visible;
    container-type: inline-size;
    padding-bottom: 1.5rem;
  }

  .split,
  .speaking {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .speaking {
    row-gap: 0.5rem;
  }

  .stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 1.35rem;
    align-items: stretch;
  }

  .plate--home {
    width: min(100%, 17.5rem);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    justify-self: center;
  }

  .plate--home img {
    width: 100%;
    height: auto;
    max-height: none;
    margin-inline: auto;
  }

  .stage-copy {
    width: 100%;
  }

  .stage .ways {
    margin-top: 1rem;
    padding-top: 0.7rem;
    gap: 0.2rem;
  }

  .stage .way {
    min-height: 2.75rem;
    padding-block: 0.4rem;
  }

  .cover img {
    max-height: min(42vh, 18rem);
  }

  .stage-copy .display {
    max-width: 22ch;
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
    line-height: 1.16;
  }

  .request-dialog {
    width: calc(100% - 1.25rem);
    padding: 1.25rem 1.15rem 1.5rem;
  }

  .speaking .request {
    margin-top: 0;
  }

  .split {
    align-items: start;
  }

  .cover {
    justify-self: start;
    width: min(100%, 22rem);
    margin-top: 0.5rem;
  }

  main.book .split-copy {
    display: contents;
  }

  main.book .split {
    row-gap: 0;
  }

  main.book h1 {
    order: 2;
  }

  main.book .cover {
    order: 1;
    position: static;
    margin-top: 1.15rem;
  }

  main.book .support,
  main.book .lines {
    order: 3;
  }

  main.book .cover {
    width: 100%;
    max-width: 22rem;
  }

  main.book .cover img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .speaking-copy {
    display: contents;
  }

  .speaking h1 {
    order: 1;
  }

  .speaking-copy > p.support {
    order: 2;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .speaking .request {
    order: 3;
    margin-top: 0;
  }

  .speaking-copy > section {
    order: 4;
  }

  main.about .split-copy {
    display: contents;
  }

  main.about .split {
    row-gap: 0;
  }

  main.about h1 {
    order: 2;
  }

  main.about .cover {
    order: 1;
    position: static;
    width: 100%;
    max-width: 22rem;
    margin-top: 1.15rem;
  }

  main.about .cover img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 20rem;
    object-fit: contain;
  }

  main.about section {
    order: 3;
  }

  .room {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    overflow: visible;
    transform: none;
    transform-style: flat;
  }

  .wall,
  .haze,
  .card {
    transform: none;
  }

  .wall {
    order: 2;
    position: relative;
    width: 100%;
    margin: 0;
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .wall img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: min(13rem, 28vh);
    object-fit: contain;
    object-position: center;
    clip-path: inset(0 4% 0 0);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 1.6%, #000 95.6%, transparent 96%),
      linear-gradient(to bottom, transparent 0%, #000 2.6%, #000 97.2%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 1.6%, #000 95.6%, transparent 96%),
      linear-gradient(to bottom, transparent 0%, #000 2.6%, #000 97.2%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .haze {
    display: none;
  }

  .card {
    order: 1;
    min-width: 0;
    background: transparent;
  }

  .card .display {
    max-width: 22ch;
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
    line-height: 1.16;
  }

  .hero-ways {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 2rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--rule);
  }

  .hero-ways .way {
    min-height: 2.75rem;
    padding-block: 0.4rem;
  }
}

@media (max-width: 800px) and (max-height: 840px) {
  .room {
    gap: 0.65rem;
  }

  .wall img {
    max-height: min(8rem, 14vh);
  }

  .hero-ways {
    margin-top: 0.7rem;
    padding-top: 0.4rem;
    gap: 0.15rem;
  }
}

@media (max-width: 800px) and (min-height: 641px) and (max-height: 819px) {
  main.about .cover img {
    max-height: min(20rem, calc(100dvh - 31.25rem));
  }

  main.book .cover img {
    width: auto;
    max-width: 100%;
    max-height: min(20rem, calc(100dvh - 24rem));
    object-fit: contain;
  }
}

@media (min-width: 801px) and (max-height: 540px) {
  .room {
    display: grid;
    grid-template-columns: minmax(16rem, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
    column-gap: clamp(0.75rem, 1.6vw, 1.35rem);
  }

  .card {
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .card .display {
    max-width: 100%;
    font-size: var(--text-display);
  }

  .wall {
    order: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    max-width: 100%;
  }

  .wall img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(34rem, 58vh);
    object-fit: contain;
    object-position: center center;
  }

  .hero-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.75rem;
  }

  main.about .split,
  main.book .split {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: clamp(0.75rem, 1.6vw, 1.35rem);
    row-gap: 0;
  }

  main.about .split-copy,
  main.book .split-copy {
    display: block;
    grid-column: 1;
  }

  main.about .cover,
  main.book .cover {
    order: 0;
    position: static;
    grid-column: 2;
    justify-self: start;
    width: auto;
    max-width: 100%;
    margin-top: 0;
  }

  main.about .cover img,
  main.book .cover img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(20rem, 58vh);
    object-fit: contain;
  }

  main.ledger:not(.sheet--stage) {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
  }

  main.ledger:not(.sheet--stage) section {
    margin-top: 1rem;
    padding-top: 0.4rem;
  }

  main.ledger:not(.sheet--stage) > h1 + section:not(:has(h2)) + section {
    margin-top: 0;
  }

  main.ledger:not(.sheet--stage) section:has(h2) {
    display: grid;
    grid-template-columns: minmax(16rem, 24rem) minmax(0, 32rem);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
  }

  main.ledger:not(.sheet--stage) section:has(h2) > h2 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin: 0;
    font-size: 1.75rem;
  }

  main.ledger:not(.sheet--stage) section:has(h2) > :not(h2) {
    grid-column: 2;
  }

  .speaking {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 24rem);
    align-items: start;
    column-gap: clamp(1rem, 2.4vw, 2.5rem);
    row-gap: 0;
  }

  .speaking-copy {
    display: block;
    grid-column: 1;
  }

  .speaking .request {
    order: 0;
    grid-column: 2;
    margin-top: 0;
  }

  .speaking .fields {
    gap: 0.32rem;
    margin-top: 0.35rem;
  }

  .speaking .fields textarea {
    height: 2.4rem;
    min-height: 0;
  }

  .speaking .submit {
    margin-top: 0.25rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1.1rem;
    padding-bottom: 0.8rem;
    text-align: center;
  }

  .wordmark img {
    height: 2.55rem;
    margin-inline: auto;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0.85rem;
    row-gap: 0.35rem;
  }

  .site-nav:has(> a:nth-child(7)) {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    column-gap: 0.85rem;
    row-gap: 0.35rem;
  }

  .site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.45rem 0.75rem;
    padding-top: 0.7rem;
    padding-bottom: 0.85rem;
  }
}

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

  .site-nav a,
  .site-nav a.connect,
  .legal a,
  .support a,
  .display a,
  .lines a,
  .return a,
  .invoke,
  .dialog-close,
  .way-name,
  .way-line,
  .submit {
    transition: none;
  }
}

@media (min-width: 801px) and (min-height: 541px) {
  .hero {
    perspective: none;
    overflow: visible;
  }

  .room {
    position: relative;
    display: grid;
    grid-template-columns: minmax(16rem, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
    column-gap: clamp(0.75rem, 1.6vw, 1.35rem);
    height: auto;
    min-height: 0;
    overflow: visible;
    transform: none;
  }

  .wall {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    line-height: 0;
    overflow: visible;
    object-fit: contain;
    background: transparent;
    transform: none;
  }

  .wall img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: min(34rem, 58vh);
    object-fit: contain;
    object-position: center center;
    transform: none;
    clip-path: inset(0 4% 0 0);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 1.6%, #000 95.6%, transparent 96%),
      linear-gradient(to bottom, transparent 0%, #000 2.6%, #000 97.2%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 1.6%, #000 95.6%, transparent 96%),
      linear-gradient(to bottom, transparent 0%, #000 2.6%, #000 97.2%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .haze {
    display: none;
  }

  .card {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    min-width: 0;
    background: transparent;
    padding: 0;
    transform: none;
  }

  .card .display {
    max-width: 100%;
    font-size: var(--text-display);
    line-height: 1.14;
    letter-spacing: -0.022em;
  }

  .hero-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem 2rem;
    margin-top: clamp(2.75rem, 7vh, 4.75rem);
    padding-top: 1.15rem;
    border-top: 1px solid var(--rule);
  }

  main.ledger:not(.sheet--stage) {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
  }

  main.ledger:not(.sheet--stage) section {
    padding-top: 0.4rem;
  }

  main.ledger:not(.sheet--stage) section:has(h2) {
    display: grid;
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 36rem);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
  }

  main.ledger:not(.sheet--stage) section:has(h2) > h2 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin: 0;
    font-size: 2rem;
  }

  main.ledger:not(.sheet--stage) section:has(h2) > :not(h2) {
    grid-column: 2;
  }

  main.ledger:not(.sheet--stage) section:not(:has(h2)) {
    display: block;
  }

  main.media > h1.display.sentence {
    max-width: min(46ch, 100%);
  }
}

@media (min-width: 801px) and (min-height: 541px) and (max-height: 760px) {
  main.ledger:not(.sheet--stage) section {
    margin-top: 1rem;
    padding-top: 0.4rem;
  }

  main.ledger:not(.sheet--stage) > h1 + section:not(:has(h2)) + section {
    margin-top: 0;
  }

  main.ledger:not(.sheet--stage) section:has(h2) {
    grid-template-columns: minmax(16rem, 24rem) minmax(0, 32rem);
  }

  main.ledger:not(.sheet--stage) section:has(h2) > h2 {
    font-size: 1.75rem;
  }
}

@media (min-width: 801px) and (min-height: 541px) and (max-height: 620px) {
  .speaking .fields {
    gap: 0.32rem;
    margin-top: 0.35rem;
  }

  .speaking .fields textarea {
    height: 2.4rem;
    min-height: 0;
  }

  .speaking .submit {
    margin-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    perspective: none;
  }

  .room,
  .wall,
  .haze,
  .card {
    transform: none;
  }

  .room {
    transform-style: flat;
  }
}

@media (forced-colors: active) {
  .wall,
  .haze {
    display: none;
  }

  .hero {
    perspective: none;
  }

  .room,
  .wall,
  .haze,
  .card {
    transform: none;
  }

  .room {
    display: block;
    transform-style: flat;
  }

  .card {
    background: Canvas;
    color: CanvasText;
  }

  .card .display {
    color: CanvasText;
  }
}

