/*
 * The Greek product family's theme: the palette of DESIGN.md as custom properties.
 * Generated by tools/build-theme.py from DESIGN.md; do not edit by hand.
 *
 * Light is the default. Dark follows the system unless the page sets light, and is forced by
 * class="dark" (as Ardo sets it) or data-theme="dark" on the root element.
 * The mark colors stay the same in both: the marks are never recolored.
 */

@font-face {
  font-family: "Cinzel Hellenic";
  src: url("../CinzelHellenic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --kr-paper: #faf9f4;
  --kr-parchment: #f3efe3;
  --kr-mist: #e8edf2;
  --kr-ink: #0e2a4d;
  --kr-ink-2: #3f5471;
  --kr-ink-3: #526176;
  --kr-hair: #ddd6c6;
  --kr-hair-2: #e8e2d3;
  --kr-listing: #fdfcf8;
  --kr-accent: #866026;
  --kr-accent-2: #6f4f1e;
  --kr-accent-wash: #f4ecda;
  --kr-on-accent: #ffffff;
  --kr-mark-navy: #0e2a4d;
  --kr-mark-bronze: #bc8a45;
  --kr-mark-paper: #faf9f4;
  --kr-display: "Cinzel Hellenic", "Times New Roman", serif;
  --kr-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kr-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light):not([data-theme="light"]) {
    --kr-paper: #0c1724;
    --kr-parchment: #111e2e;
    --kr-mist: #15263a;
    --kr-ink: #ece6d6;
    --kr-ink-2: #bcc4cf;
    --kr-ink-3: #a3afbe;
    --kr-hair: #2a3d55;
    --kr-hair-2: #223349;
    --kr-listing: #0f1c2b;
    --kr-accent: #d2a660;
    --kr-accent-2: #e2bd80;
    --kr-accent-wash: #2a2416;
    --kr-on-accent: #0c1724;
    color-scheme: dark;
  }
}

:root.dark,
:root[data-theme="dark"] {
  --kr-paper: #0c1724;
  --kr-parchment: #111e2e;
  --kr-mist: #15263a;
  --kr-ink: #ece6d6;
  --kr-ink-2: #bcc4cf;
  --kr-ink-3: #a3afbe;
  --kr-hair: #2a3d55;
  --kr-hair-2: #223349;
  --kr-listing: #0f1c2b;
  --kr-accent: #d2a660;
  --kr-accent-2: #e2bd80;
  --kr-accent-wash: #2a2416;
  --kr-on-accent: #0c1724;
  color-scheme: dark;
}

/*
 * The lockup as live text: the small mark, then the name in Cinzel Hellenic capitals.
 *   <a class="kr-lockup" href="/"><img class="kr-lockup-mark" src=".../mark-small.svg" alt="">
 *   <span class="kr-lockup-name">Tereon</span></a>
 * Sizes follow DESIGN.md: name 0.625 and gap 0.35 of the mark's height (2rem in a header).
 */
.kr-lockup {
  --kr-lockup-mark: 2rem;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--kr-lockup-mark) * 0.35);
  color: var(--kr-ink);
  text-decoration: none;
}
.kr-lockup-mark {
  display: block;
  width: var(--kr-lockup-mark);
  height: var(--kr-lockup-mark);
}
.kr-lockup-name {
  font-family: var(--kr-display);
  font-size: calc(var(--kr-lockup-mark) * 0.625);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
