:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #303d38;
  --muted: #656b60;
  --rust: #99573d;
  --line: #d4d3c6;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-underline-offset: 0.24em; }
button:disabled { cursor: default; opacity: 0.5; }
button:focus-visible, a:focus-visible, canvas:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 6px;
}
button, a { touch-action: manipulation; }
::selection { background: #ddc5b6; color: #28372f; }
[hidden] { display: none !important; }

.page { width: min(1440px, calc(100% - 96px)); margin: 0 auto; }
.masthead {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1; }
.brand > span:first-of-type { font-size: 28px; letter-spacing: -0.04em; }
.brand-aside { margin-left: 17px; color: var(--muted); }
.brand-aside, .edition, .eyebrow, .field-heading, .surface-note,
.invitation > p, .margin-note, .field-controls, .footer, .text-button,
.status, .no-script, .signature, .archive-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}
.edition { color: var(--muted); white-space: nowrap; }
.edition > span { margin: 0 10px; color: #949588; }
.text-button { border: 0; background: none; padding: 9px 0; text-decoration: none; }
.text-button > span, .footer a > span { display: inline-block; margin-left: 7px; color: var(--rust); }
.text-button:hover, .footer a:hover, .archive-link:hover { color: var(--rust); }

main { display: grid; grid-template-columns: 0.85fr 1.35fr; column-gap: 42px; padding-top: 39px; }
.introduction { padding-top: 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); margin: 0; }
.eyebrow > span { margin: 0 7px; }
h1 {
  font-size: clamp(66px, 7.3vw, 113px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 31px 0 29px -5px;
}
h1 > span { white-space: nowrap; }
h1 em { font-weight: 400; color: var(--rust); }
.opening { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.42; letter-spacing: -0.015em; margin: 0; }
.invitation { margin-top: 35px; }
.cast-button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}
.cast-symbol {
  display: grid;
  place-items: center;
  border: 1px solid #aab0a1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease;
}
.cast-button:hover .cast-symbol { background: #e8ded0; border-color: var(--rust); }
.invitation > p { color: var(--muted); font-size: 10px; margin-top: 11px; }
.margin-note { color: var(--muted); font-size: 10px; margin: 38px 0 0; }
.margin-note > span { margin-right: 7px; color: var(--rust); }

.field { margin: 0; min-width: 0; }
.field-heading { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.small-cross { color: var(--rust); font-size: 16px; margin-right: 8px; line-height: 0; }
#field-state { white-space: nowrap; }
.field-surface {
  position: relative;
  height: clamp(360px, 36vw, 500px);
  background:
    radial-gradient(ellipse at 32% 44%, #e8c6ac24, transparent 59%),
    radial-gradient(ellipse at 66% 58%, #9baa9c20, transparent 57%);
}
.field-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#6e716530 0.65px, transparent 0.65px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
  pointer-events: none;
}
#field, .field-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
#field { cursor: crosshair; touch-action: manipulation; }
#field[aria-disabled="true"] { cursor: default; }
.field-fallback { object-fit: contain; }
.field-surface[data-ready] .field-fallback { visibility: hidden; }
.coordinate { position: absolute; font-size: 13px; font-style: italic; color: #858779; pointer-events: none; }
.coordinate-top { top: 18%; left: 11%; }
.coordinate-bottom { bottom: 19%; right: 10%; }
.surface-note { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 9px; letter-spacing: 0.06em; color: var(--muted); pointer-events: none; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 61px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-style: italic; }
.caption-mark { color: var(--rust); font-size: 21px; font-style: normal; }

.field-controls { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 33px; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-size: 11px; }
.field-controls > p { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.presence-dot { width: 5px; height: 5px; background: #8b967d; border-radius: 50%; flex-shrink: 0; }
.control-buttons { display: flex; gap: 23px; flex-wrap: wrap; }
.control-buttons button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 0; min-height: 40px; border: 0; background: none; }
.control-buttons svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.control-buttons button:hover, .control-buttons button[aria-pressed="true"] { color: var(--rust); }
.status { grid-column: 1 / -1; min-height: 19px; margin: 7px 0 0; color: var(--rust); font-size: 10px; }
.no-script { grid-column: 1 / -1; color: var(--rust); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 0 26px; font-size: 10px; color: var(--muted); }
.footer > p { font-family: var(--serif); font-size: 15px; font-style: italic; }
.footer nav { display: flex; align-items: center; gap: 29px; }
.footer a { text-decoration: none; padding: 8px 0; }
.footer .text-button { font-size: 10px; }

.skip-link { position: fixed; z-index: 5; top: 12px; left: 16px; transform: translateY(-180%); padding: 12px; background: var(--paper); font-family: var(--mono); font-size: 12px; }
.skip-link:focus { transform: translateY(0); }
.reading { max-width: 580px; margin: 70px auto; padding: 0 30px; }
.reading-content h2 { margin: 21px 0 34px; font-size: clamp(33px, 6vw, 45px); font-weight: 400; letter-spacing: -0.045em; }
.poem { font-size: clamp(20px, 4.5vw, 25px); line-height: 1.55; letter-spacing: -0.01em; }
.poem p { margin: 0 0 30px; }
.colophon { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 42px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.colophon p { margin: 0 0 18px; }
.colophon a { color: var(--rust); }
.signature { padding-top: 10px; font-size: 10px; }
.archive-link { display: inline-block; padding: 12px 0; font-size: 10px; }
dialog { position: fixed; width: min(610px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 52px clamp(24px, 6vw, 60px) 35px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: #25352b40; backdrop-filter: blur(7px); }
dialog form { position: absolute; top: 12px; right: 17px; }
.close-note { border: 0; background: none; font-size: 27px; width: 40px; height: 40px; }

@media (min-width: 1600px) {
  main { padding-top: 66px; }
  .field-surface { height: 590px; }
}
@media (max-width: 1120px) {
  .page { width: calc(100% - 64px); }
  .brand-aside { display: none; }
  main { column-gap: 30px; }
  .introduction { padding-top: 27px; }
  h1 { font-size: clamp(60px, 7.3vw, 82px); }
  .field-controls { gap: 14px; }
  .control-buttons { gap: 17px; }
}
@media (max-width: 820px) {
  .page { width: calc(100% - 48px); }
  .masthead { min-height: 87px; gap: 18px; }
  .edition { font-size: 9px; }
  main { grid-template-columns: 1fr; padding-top: 34px; gap: 0; }
  .introduction { position: relative; padding: 0 0 33px; }
  h1 { font-size: 88px; margin-top: 23px; }
  .opening { position: absolute; top: 72px; left: 60%; font-size: 22px; }
  .invitation { margin-top: 27px; }
  .margin-note { position: absolute; left: 60%; bottom: 55px; max-width: 180px; }
  .field-surface { height: 520px; }
  .field-controls { flex-wrap: wrap; margin-top: 17px; gap: 2px; }
  .field-controls > p { flex-basis: 100%; }
  .control-buttons { width: 100%; justify-content: space-between; gap: 14px; }
  .footer { align-items: flex-start; }
}
@media (max-width: 540px) {
  .page { width: calc(100% - 40px); }
  .masthead { min-height: 78px; gap: 15px; flex-wrap: wrap; }
  .brand { gap: 9px; }
  .brand svg { width: 27px; height: 27px; }
  .brand > span:first-of-type { font-size: 26px; }
  .edition { margin-left: auto; font-size: 8px; }
  .edition > span { margin: 0 4px; }
  .about-trigger { display: none; }
  main { padding-top: 29px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.11em; }
  .introduction { padding-bottom: 26px; }
  h1 { font-size: clamp(60px, 18.3vw, 91px); margin: 23px 0 21px -3px; }
  .opening { position: static; font-size: 21px; line-height: 1.38; }
  .invitation { margin-top: 24px; }
  .cast-button { font-size: 11px; gap: 10px; min-height: 42px; }
  .cast-symbol { width: 36px; height: 36px; }
  .invitation > p { font-size: 9px; margin: 7px 0 0; }
  .margin-note { position: static; margin-top: 19px; max-width: none; font-size: 9px; }
  .field-heading { font-size: 9px; padding: 12px 0; }
  .field-surface { height: min(110vw, 440px); min-height: 320px; }
  .surface-note { font-size: 8px; }
  figcaption { font-size: 16px; min-height: 64px; }
  .field-controls { margin-top: 11px; padding-bottom: 13px; font-size: 10px; }
  .control-buttons { column-gap: 12px; row-gap: 0; }
  .control-buttons button { gap: 6px; min-height: 44px; }
  .control-buttons svg { width: 15px; height: 15px; }
  .footer { display: block; padding-bottom: 21px; }
  .footer > p { font-size: 14px; }
  .footer nav { justify-content: space-between; gap: 20px; }
  .footer a, .footer .text-button { font-size: 10px; min-height: 44px; display: inline-flex; align-items: center; }
  .status { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .cast-symbol { border-color: ButtonText; }
  .presence-dot { background: CanvasText; }
  .field-surface { forced-color-adjust: none; background: var(--paper); }
}
@media print {
  .masthead, .invitation, .margin-note, .field-controls, .footer, .status, dialog form { display: none; }
  .page { width: 100%; }
  main { display: block; padding: 0; }
  .field { break-inside: avoid; }
  .introduction { padding: 0; }
  h1 { font-size: 65px; }
  .opening { position: static; }
  .reading { display: block !important; }
  dialog[open] { position: static; max-height: none; width: 100%; border: 0; }
}
