:root {
  color-scheme: light;
  --paper: #f8f4ea;
  --ink: #281e30;
  --muted: #62556a;
  --accent: #a63d25;
  --line: #d9d0c3;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(100% - 96px, 1320px); margin-inline: auto; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 1.31rem; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.wordmark img { display: block; }
.studio-label, .index, .coordinates, .field-top, .field-bottom, .field-number, .controls {
  font-family: var(--mono);
  font-size: .71rem;
  line-height: 1.5;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.studio-label { display: flex; align-items: center; gap: 9px; color: var(--muted); text-align: right; }
.studio-label span, .field-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
.opening { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(34px, 5vw, 83px); padding-block: clamp(32px, 5vw, 72px) 42px; }
.introduction { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.index { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); }
.index > span:first-child { color: var(--accent); }
.rule { width: 21px; height: 1px; background: #b3a69d; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 {
  margin: 24px 0 0;
  font-size: clamp(4.1rem, 7.8vw, 8.1rem);
  line-height: .91;
  letter-spacing: -.088em;
}
h1 em { font-weight: 400; white-space: nowrap; }
h1 em span { color: var(--accent); }
.intro-copy { max-width: 30ch; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.33rem); line-height: 1.58; }
.coordinates { display: flex; align-items: center; gap: 9px; color: var(--muted); margin-top: 29px; }
.coordinates span { color: var(--accent); font-size: 1.12rem; line-height: 1; }
.experiment { min-width: 0; margin: 0; }
.field {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #534263;
  border-radius: 6px;
  aspect-ratio: 1.18;
  background-color: #251a37;
  background-image: radial-gradient(ellipse at 50% 49%, #492d59 0%, transparent 72%),
    radial-gradient(circle at center, #a88bb368 .7px, transparent .9px);
  background-size: 100% 100%, 19px 19px;
  color: #e7cde4;
}
.field canvas, .field-placeholder { position: absolute; z-index: -1; inset: 0; display: block; width: 100%; height: 100%; }
.field.ready .field-placeholder { visibility: hidden; }
.field-top, .field-bottom, .field-number { position: absolute; }
.field-top { inset: 17px 18px auto; display: flex; justify-content: space-between; align-items: center; }
.field-slash { color: #ff9a72; }
.crosshair { font-size: 1.25rem; line-height: 1; color: #e0b6d4; }
.field-bottom { bottom: 17px; left: 18px; display: flex; align-items: center; gap: 8px; }
.field-dot { width: 6px; height: 6px; background: #ffad85; }
.field-number { bottom: 17px; right: 18px; }
.caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.caption-title { font-size: .94rem; font-weight: 750; margin: 0 0 3px; }
.caption-detail { font-size: .83rem; line-height: 1.4; margin: 0; color: var(--muted); }
.controls { display: flex; align-items: center; gap: 5px; flex: none; }
.controls button {
  min-width: 40px;
  min-height: 42px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  letter-spacing: .03em;
}
.controls button:hover { border-color: var(--accent); color: var(--accent); }
.controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.note { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(34px, 5vw, 83px); align-items: baseline; padding-block: 26px 33px; border-block: 1px solid var(--line); }
.note h2 { margin: 0 0 9px; font-size: clamp(1.85rem, 3vw, 2.7rem); letter-spacing: -.055em; line-height: 1.1; }
.note div p { margin: 0; max-width: 53ch; color: var(--muted); line-height: 1.6; }
.footer { display: flex; justify-content: space-between; gap: 8px 24px; padding-block: 19px 24px; font-size: .8rem; line-height: 1.5; color: var(--muted); flex-wrap: wrap; }
.footer p { margin: 0; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .opening, .note { grid-template-columns: 1fr; }
  .opening { gap: 29px; }
  h1 { font-size: clamp(3.8rem, 11vw, 6.8rem); margin-top: 18px; }
  .intro-copy { margin-top: 20px; }
  .coordinates { display: none; }
  .field { aspect-ratio: 1.27; }
  .note { gap: 15px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 36px); }
  h1 { font-size: clamp(3.1rem, 15.5vw, 3.8rem); }
  .masthead { padding-block: 17px; gap: 10px; }
  .wordmark { gap: 8px; font-size: 1.13rem; }
  .wordmark img { width: 31px; height: 31px; }
  .studio-label { font-size: .6rem; letter-spacing: .065em; }
  .field-top, .field-bottom, .field-number { font-size: .59rem; }
  .controls { gap: 4px; }
  .controls button { min-width: 36px; }
}
