:root {
  color-scheme: dark;
  --ivory: #cec5b5;
  --ivory-muted: #afa798;
  background: #000;
  color: var(--ivory);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; min-height: 100%; background: #000; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: #000 url("/assets/plum-vignette.webp") center / 100% 100% no-repeat;
  opacity: 0.5;
}

main, footer {
  position: relative;
  width: min(100%, 640px);
  margin-inline: auto;
}

main { padding: 100px 24px 0; }
h1, h2, p { margin: 0; }
h1 { line-height: 1; }
.brand-logo { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.brand-logo-header { width: 360px; }
.brand-logo-footer { width: 140px; }
h2 { margin-bottom: 24px; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; }
p { color: var(--ivory-muted); font-size: 18px; line-height: 1.8; }
p + p { margin-top: 20px; }
strong { color: var(--ivory); font-weight: 600; }
.tagline { margin: 20px 0 36px; font-size: 24px; letter-spacing: -0.025em; line-height: 1.5; text-align: center; }
.tagline + p { margin-top: 0; }
section { margin-top: 64px; }
.statement {
  margin-top: 48px;
  font-size: clamp(48px, 9vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.next-artwork {
  margin-top: 72px;
  border-top: 1px solid #292029;
  padding-top: 48px;
  text-align: center;
}
.next-artwork h2 { margin-bottom: 16px; }
.countdown {
  color: var(--ivory);
  font: clamp(38px, 7vw, 60px)/1.3 "Liberation Mono", "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.countdown-caption { margin-top: 12px; font-size: 14px; }
.countdown-caption em { font-style: normal; }
.daily-art-link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  min-height: 48px;
  margin-top: 32px;
  border-bottom: 1px solid #756875;
  color: var(--ivory);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.daily-art-link span { font-size: 22px; font-weight: 400; }
.daily-art-link:hover { color: #e6ddcd; border-color: currentColor; }
.daily-art-link:focus-visible { outline: 2px solid var(--ivory); outline-offset: 6px; }
footer {
  margin-top: 56px;
  padding: 24px 24px max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid #292029;
  color: var(--ivory-muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
::selection { color: #e6ddcd; background: #603a60; }
[hidden] { display: none !important; }

@media (orientation: portrait) {
  body::before { background-image: url("/assets/plum-vignette-portrait.webp"); }
}
@media (max-width: 600px) {
  main { padding-top: max(60px, env(safe-area-inset-top)); }
  main, footer { padding-inline: max(28px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  p { font-size: 17px; line-height: 1.75; }
  .tagline { font-size: 21px; margin-bottom: 32px; }
  section { margin-top: 52px; }
  h2 { font-size: 20px; margin-bottom: 20px; }
  .next-artwork { margin-top: 56px; padding-top: 36px; }
}
