:root {
  color-scheme: light;
  --ink: #111211;
  --gold: #ffbd25;
  --green: #34571b;
  --rule: #a6aba5;
  --hairline: linear-gradient(var(--rule), var(--rule));
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }

.sheet {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* Print registration marks stay at the edges of the white sheet. */
.sheet::before, .sheet::after, .registration {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.sheet::before {
  inset: 5px;
  background: radial-gradient(circle, #a6aba5 0.65px, transparent 0.85px) 0 0 / 14px 14px;
  mask-image: linear-gradient(to right, #000, transparent 26px, transparent calc(100% - 26px), #000);
}
.sheet::after {
  inset: 12px;
  background:
    var(--hairline) center top / 1px 15px, var(--hairline) center bottom / 1px 15px,
    var(--hairline) left center / 15px 1px, var(--hairline) right center / 15px 1px;
  background-repeat: no-repeat;
}
.registration {
  inset: clamp(14px, 2vw, 32px) clamp(16px, 2.3vw, 36px);
  display: grid;
  grid-template-columns: auto auto;
  align-content: space-between;
  justify-content: space-between;
}
.registration i {
  position: relative;
  width: clamp(14px, 1.5vw, 23px);
  aspect-ratio: 1;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.registration i:nth-child(2) { transform: rotate(90deg); }
.registration i:nth-child(3) { transform: rotate(-90deg); }
.registration i:nth-child(4) { transform: rotate(180deg); }
.registration i::after {
  content: "";
  position: absolute;
  left: 72%;
  top: 72%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--hairline) center / 100% 1px no-repeat,
              var(--hairline) center / 1px 100% no-repeat;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 7svh, 82px) 6vw clamp(35px, 4svh, 54px);
  text-align: center;
}
h1 {
  width: min(61vw, 94svh, 1040px);
  margin: 0;
  line-height: 1;
}
h1 img { display: block; width: 100%; height: auto; }
.descriptor {
  margin: clamp(12px, 2.3svh, 26px) 0 0;
  font: 500 clamp(16px, 2.05vw, 33px)/1.35 var(--mono);
  letter-spacing: 0.015em;
}

details { max-width: 100%; margin-top: clamp(24px, 4svh, 42px); }
summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85em;
  width: fit-content;
  min-height: 48px;
  margin-inline: auto;
  padding: 0.68em 1.25em;
  border-radius: 2px;
  background: var(--ink);
  color: white;
  font-size: clamp(17px, 1.8vw, 29px);
  font-weight: 500;
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; }
summary:hover { background: #253319; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.plus { display: inline-grid; place-items: center; width: 0.72em; height: 0.72em; color: var(--gold); }
.plus::before, .plus::after {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: none; }

address {
  margin: 14px auto 0;
  padding-inline: clamp(12px, 1.6vw, 25px);
  border: 1px solid #c7cbc4;
  font-style: normal;
  text-align: left;
}
address div {
  display: grid;
  grid-template-columns: 3.5em 1fr;
  align-items: baseline;
  gap: 0.5em;
  padding-block: 0.8em;
  font-size: clamp(15px, 1.25vw, 20px);
}
address div + div { border-top: 1px solid #dde0da; }
.label { font: 0.84em/1.4 var(--mono); color: #434741; }
address a { min-width: 0; overflow-wrap: anywhere; }
address a[href] { color: var(--green); text-underline-offset: 0.2em; }
address a:hover { text-decoration-thickness: 2px; }

footer {
  margin: 0 8vw clamp(28px, 5.7svh, 62px);
  padding-top: clamp(12px, 1.6svh, 20px);
  border-top: 1px solid #b4b8b2;
  text-align: center;
  font: clamp(11px, 1.2vw, 19px)/1.35 var(--mono);
}
@media (max-width: 600px) {
  main { padding-inline: 5vw; }
  h1 { width: min(90vw, 100svh); }
  .descriptor { margin-top: 22px; font-size: clamp(14px, 3.75vw, 19px); }
  address div { grid-template-columns: auto; gap: 3px; }
  .sheet::before { opacity: 0.5; }
}
