:root {
  color-scheme: light;
  --paper: #efe6d6;
  --ink: #1c1612;
  --muted: #4e463e;
  --line: rgba(28, 22, 18, 0.42);
  --oxide: #c4491d;
  --oxide-deep: #8d3014;
  --wash: rgba(196, 73, 29, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #13110f;
    --ink: #f4ecdf;
    --muted: #cbbfae;
    --line: rgba(244, 236, 223, 0.38);
    --oxide: #ef7a48;
    --oxide-deep: #ffb089;
    --wash: rgba(239, 122, 72, 0.14);
  }
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(900px 420px at 0% 0%, var(--wash), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.sheet {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: calc(100dvh - 1.5rem);
  margin: 0.75rem;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
}

.crop {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.crop::before {
  width: 16px;
  height: 1px;
}

.crop::after {
  width: 1px;
  height: 16px;
}

.crop-tl { top: 8px; left: 8px; }
.crop-tr { top: 8px; right: 8px; }
.crop-bl { bottom: 8px; left: 8px; }
.crop-br { bottom: 8px; right: 8px; }

.crop-tl::before, .crop-tr::before { top: 0; }
.crop-bl::before, .crop-br::before { bottom: 0; }
.crop-tl::after, .crop-bl::after { left: 0; }
.crop-tr::after, .crop-br::after { right: 0; }
.crop-tl::before { left: 0; }
.crop-tr::before { right: 0; }
.crop-bl::before { left: 0; }
.crop-br::before { right: 0; }
.crop-tl::after, .crop-tr::after { top: 0; }
.crop-bl::after, .crop-br::after { bottom: 0; }

.mast,
.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.kicker,
.version,
.status dt,
.note {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker,
.version,
.note,
.status dt {
  color: var(--muted);
}

.wordmark,
.title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.wordmark {
  font-size: clamp(3.5rem, 18vw, 8.75rem);
}

.title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
  max-width: 12ch;
}

.mark {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin: 0 0.045em;
  border: 0.045em solid var(--oxide);
  position: relative;
  transform: translateY(0.02em);
  vertical-align: baseline;
}

.mark span {
  position: absolute;
  inset: 0.16em;
  background: var(--oxide);
}

.lede,
.copy {
  max-width: 38rem;
}

.lede {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0.75rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}

.copy {
  margin: 0;
  color: var(--ink);
}

.status {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 46rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.status div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.status dd {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
}

.foot {
  align-items: end;
  padding-top: 0.25rem;
}

.foot a,
.entry a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-underline-offset: 0.18em;
}

.entry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 1.25rem;
}

.note {
  max-width: 22rem;
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

a:hover {
  color: var(--oxide-deep);
}

a:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
}

::selection {
  background: var(--oxide);
  color: #fff8f3;
}

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

@media (min-width: 720px) {
  .status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status div {
    border-bottom: 0;
    padding: 0.95rem 1rem 0.2rem 0;
  }

  .status div + div {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .mast,
  .foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .note {
    text-align: left;
  }

  .sheet {
    margin: 0.45rem;
    min-height: calc(100dvh - 0.9rem);
  }
}

@media (forced-colors: active) {
  .mark,
  .sheet,
  .status,
  .status div + div {
    border-color: CanvasText;
  }

  .mark span,
  .crop::before,
  .crop::after {
    background: CanvasText;
  }
}
