:root {
  --paper: #f3ede1;
  --ink: #19283a;
  --rust: #873c34;
  --rule: #bdb5a8;
  --serif: "Baskerville", "STIX Two Text", "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.sheet { max-width: 1720px; margin: 0 auto; min-height: 100vh; min-height: 100svh; padding: 0 clamp(22px, 5.5vw, 94px); display: flex; flex-direction: column; }
.masthead, footer, figcaption, .viewer-bar { display: flex; align-items: center; justify-content: space-between; }
.masthead { min-height: clamp(76px, 10vh, 110px); border-bottom: 1px solid var(--ink); gap: 18px; }
.brand { display: flex; align-items: center; gap: .18em; font: 500 clamp(28px, 2.5vw, 39px)/1 var(--serif); letter-spacing: -.065em; }
.brand img { margin-right: .19em; width: 1.25em; height: 1.25em; }
.brand span { font-style: italic; }
.country, footer, figcaption, .viewer-bar { font: normal 10px/1.35 var(--mono); letter-spacing: .095em; }
.country { display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.flag { position: relative; width: 28px; height: 15px; background: repeating-linear-gradient(to bottom, var(--rust) 0 1.16px, transparent 1.16px 2.31px); }
.flag::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 12px; height: 8px; background: radial-gradient(circle, var(--paper) .43px, transparent .64px) 0 0/2.6px 2.6px, var(--ink); }
main { display: grid; flex: 1; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 70px); align-items: center; padding: clamp(34px, 7vh, 88px) 0; }
h1 { font: normal clamp(54px, 6.75vw, 114px)/.98 var(--serif); letter-spacing: -.068em; margin: 0 0 .39em -.045em; text-wrap: nowrap; }
h1 em { color: var(--rust); font-weight: 400; letter-spacing: -.077em; }
.statement { padding-left: clamp(0px, 1.1vw, 20px); }
.statement p { font: normal clamp(16px, 1.35vw, 22px)/1.49 var(--serif); margin: 0; }
.accent { width: 43px; height: 2px; background: var(--rust); margin: 0 0 clamp(16px, 2vw, 27px); }
figure { width: min(100%, 585px, 65vh); justify-self: center; margin: 0; }
.stage { position: relative; aspect-ratio: 1; isolation: isolate; display: grid; place-items: center; }
.cell, .viewer-art img { display: block; width: 100%; height: auto; mask-image: radial-gradient(circle closest-side, black 94%, transparent 103%); }
.cell { width: 99%; }
.mark { position: absolute; width: 10px; height: 10px; border-color: var(--rule); border-style: solid; border-width: 0; }
.nw { top: 0; left: 0; border-width: 1px 0 0 1px; }
.ne { top: 0; right: 0; border-width: 1px 1px 0 0; }
.sw { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.se { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
figcaption { margin-top: 12px; color: #424b54; letter-spacing: .065em; }
figcaption > span, figcaption a { display: inline-flex; align-items: center; gap: 9px; }
figcaption em, .viewer-bar em { font: italic 15px/1 var(--serif); color: var(--rust); letter-spacing: 0; }
.caption-rule { height: 1px; width: 17px; background: var(--rule); }
figcaption a, button { color: var(--ink); font: inherit; letter-spacing: inherit; text-decoration: none; }
figcaption a { min-height: 40px; padding-left: 12px; }
.expand-icon { font: 19px/1 Georgia, serif; }
figcaption a:hover, button:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
footer { min-height: 61px; border-top: 1px solid var(--rule); color: #47505a; font-size: 10px; }
.footer-stars { font-size: 11px; color: var(--rust); letter-spacing: .14em; }
dialog { max-width: 100%; max-height: 100%; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
.viewer { padding: 0 clamp(18px, 4vw, 68px) 12px; height: 100%; height: 100dvh; display: flex; flex-direction: column; }
.viewer-bar { min-height: 68px; border-bottom: 1px solid var(--rule); }
.viewer h2 { font: inherit; margin: 0; }
button { padding: 10px; cursor: pointer; background: transparent; border: 0; }
button span { font: 20px/1 Arial, sans-serif; margin-left: 6px; }
.viewer-art { flex: 1; min-height: 0; display: grid; place-items: center; }
.viewer-art img { width: auto; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; aspect-ratio: 1; }
@media(prefers-reduced-motion: no-preference) {
  .cell { animation: reveal 1s ease-out both; }
  @keyframes reveal { from { opacity: .25; transform: scale(.97); } to { opacity: 1; transform: none; } }
}
@media(max-width: 760px) {
  .sheet { padding: 0 clamp(20px, 6vw, 40px); }
  .masthead { min-height: 68px; }
  .country { font-size: 9px; gap: 8px; }
  .brand { font-size: 28px; }
  main { grid-template-columns: 1fr; gap: 24px; align-content: center; padding: 24px 0 30px; }
  figure { grid-row: 1; width: min(83vw, 43svh, 395px); }
  figcaption { margin-top: 3px; font-size: 9px; }
  figcaption a { min-height: 36px; }
  .statement { padding: 0; }
  h1 { font-size: clamp(50px, 11.8vw, 78px); margin-bottom: 16px; }
  .accent { width: 32px; margin-bottom: 12px; }
  .statement p { font-size: 17px; line-height: 1.32; max-width: 33ch; }
  .desktop-break { display: none; }
  footer { min-height: 46px; }
}
@media(max-width: 360px) { .country { letter-spacing: .03em; } .flag { width: 23px; } }
