:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #595651;
  --line: rgba(17, 17, 17, 0.18);
  --paper: #f7f3eb;
  --accent: #0f5a51;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

body::before {
  content: "";
  position: fixed;
  inset: auto -8vw -18vh auto;
  width: min(54vw, 680px);
  aspect-ratio: 1.55;
  background: url("../images/tiles/pearl-stone-1200-clean.png") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
  filter: saturate(0.75) contrast(0.95);
}

.placeholder {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
}

.site-shell {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 34px;
  color: var(--accent);
  font: 700 12px/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(68px, 13vw, 150px);
  line-height: 0.84;
  font-weight: 500;
}

.dek {
  max-width: 650px;
  margin: clamp(28px, 5vw, 48px) 0 0;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.05;
}

.note {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font: 400 clamp(16px, 2vw, 20px)/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.note a {
  color: var(--ink);
  text-decoration-color: rgba(15, 90, 81, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.note a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.links a {
  color: var(--ink);
  text-decoration-color: rgba(15, 90, 81, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font: 650 15px/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.links a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

@media (max-width: 640px) {
  body::before {
    width: 92vw;
    opacity: 0.1;
  }

  .placeholder {
    align-items: start;
    padding-top: 46px;
  }

  h1 {
    max-width: 7ch;
  }
}
