:root {
  font-family: var(--font-sans);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { min-height: 100vh; margin: 0; color: var(--foreground); background: radial-gradient(circle at 12% 2%, color-mix(in oklab, var(--primary) 7%, transparent) 0, transparent 24rem), var(--background); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
::selection { color: var(--background); background: var(--primary); }

.caption, .eyebrow {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.imprint-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: 564px;
  padding: 32px 0;
}
.hero-mark { width: min(100%, 380px); justify-self: center; color: var(--foreground); }
.hero-mark img { width: 100%; }
.hero-copy { max-width: 464px; padding: 24px 0; }
.eyebrow { color: var(--primary); letter-spacing: 0.16em; }
h1 {
  margin: 22px 0 30px;
  font: 400 clamp(3rem, 4.5vw, 3.5rem)/1.08 var(--font-serif);
  letter-spacing: -0.025em;
}
.description { max-width: 410px; margin: 0; color: var(--muted-foreground); font-size: 1.25rem; line-height: 1.65; }
.palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.palette li { color: var(--muted-foreground); font-size: 0.75rem; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.04em; }
.swatch { display: block; height: 9px; margin-top: 12px; }
.ink { background: var(--foreground); }
.copper { background: var(--primary); }
.paper { background: var(--background); border: 1px solid var(--border); }
.applications { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 46px; padding: 32px 0 46px; border-top: 1px solid var(--border); }
.applications h2 { margin-bottom: 22px; }
.site-example { min-height: 188px; padding: 24px 28px; background: var(--card); }
.example-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; min-height: 74px; border-bottom: 1px solid var(--border); }
.example-author { display: flex; align-items: center; gap: 12px; min-height: 56px; font-size: 1.125rem; font-weight: 550; }
.example-mark { flex: none; width: 32px; }
.example-header nav { display: flex; gap: 28px; }
.example-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.site-example p { margin: 17px 0 0; color: var(--muted-foreground); font: var(--serif-reading-weight) 1.125rem/1.4 var(--font-serif); }
.color-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.color-example { display: grid; place-items: center; min-height: 188px; padding: 18px; }
.color-example svg { display: block; width: min(100%, 126px); height: auto; }
.on-ink { background: var(--foreground); color: var(--background); }
.on-copper { background: var(--primary); color: var(--background); }
.on-white { color-scheme: light; background: #fff; color: #000; }
.size-section { display: grid; grid-template-columns: 1fr 3fr 1.2fr; align-items: center; gap: 32px; padding: 36px 0 58px; border-top: 1px solid var(--border); }
.size-section h2 { align-self: start; }
.size-examples { display: grid; grid-template-columns: repeat(6, max-content); justify-content: space-between; gap: 4px; margin: 0; padding: 0; list-style: none; }
.size-examples li { display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--muted-foreground); font-size: 0.75rem; }
.size-mark { display: grid; place-items: center; height: 72px; color: var(--foreground); }

.mark-image { display: block; max-width: 100%; height: auto; mix-blend-mode: multiply; }
:root[data-tide="eventide"] .mark-image { filter: invert(1); mix-blend-mode: screen; }
.size-note { justify-self: end; margin: 0; color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.75; }

/* Keep this after font shorthands, which reset optical and variation settings. */
h1, .site-example p {
  font-optical-sizing: none;
  font-variation-settings: 'opsz' var(--serif-optical-size);
}

@media (max-width: 1050px) {
  .imprint-hero { min-height: 490px; }
  .applications { gap: 28px; }
  .site-example { padding-inline: 24px; }
  .color-examples { gap: 12px; }
  .size-section { grid-template-columns: 1fr 3fr; }
  .size-note { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .imprint-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0 40px; }
  .hero-mark { width: min(100%, 280px); margin: 40px 0 44px; }
  .hero-copy { width: 100%; max-width: none; padding: 8px 0 0; }
  h1 { margin: 18px 0 24px; }
  .description { max-width: 440px; font-size: 1.125rem; }
  .palette { margin-top: 32px; gap: 24px; }
  .applications { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 32px; }
  .applications h2 { margin-bottom: 16px; }
  .example-author { font-size: 1rem; }
  .color-example { min-height: 120px; padding: 12px; }
  .size-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 0 40px; }
  .size-note { grid-column: auto; }
}
