/* SZUGAR × Pipacs — warm 70s folk: cream, poppy red, mustard, sage and crimson.
   Loaded after styles.css; sets its tokens and adds a few folk touches.
   Contrast on --bg: ink 13.9, ink-2 7.6, primary 8.2, accent-ink 6.0 (white on primary 9.1). */
:root {
  --bg: #f6ecd6;
  --bg-2: #efdfbd;
  --panel: #fffaf0;
  --ink: #2b1b17;
  --ink-2: #5e4433;
  --heading: #7d1424;
  --line: #dcc49a;
  --primary: #9e1b2b;
  --primary-hover: #7d1424;
  --accent: #c8202f;
  --accent-ink: #a51d2a;
  --accent-soft: #f6d9a8;
  --ok: #3d5a24;
  --bad: #a01530;
  --banner-bg: #7d1424;
  --banner-ink: #fbeed4;
  --radius: 10px;
  --radius-lg: 20px;
  --display: "Righteous", "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
  --accent-font: "Bungee", "Righteous", sans-serif;
  /* The monogram filled with poppies over a market stripe. */
  --mark-fill:
    radial-gradient(circle at 50% 50%, #2b1b17 0 6%, #ef3b45 7% 31%, transparent 32%) 0 0 / 44px 44px,
    radial-gradient(circle at 50% 50%, #2b1b17 0 5%, #f0b43c 6% 22%, transparent 23%) 22px 22px / 44px 44px,
    linear-gradient(90deg, #7d1424 0 42%, #a8b07a 42% 50%, #7d1424 50% 100%) 0 0 / 44px 44px;
  --mark-inline: 1;
  /* A 70s sunburst behind the big logo. */
  --hero-bg: repeating-conic-gradient(from 0deg at 50% 60%, #f3d9a6 0 7.5deg, #f8ead0 7.5deg 15deg);
}

/* A four-colour folk ribbon under the header. */
.masthead { border-bottom: 0; position: relative; }
.masthead::after {
  content: "";
  display: block;
  height: 12px;
  background: linear-gradient(180deg, #c8202f 0 25%, #e8962e 25% 50%, #d9a23a 50% 75%, #8e9a6c 75%);
}
.brand-name { color: var(--heading); }
.hero-mark { box-shadow: inset 0 0 0 3px #fffaf0, inset 0 0 0 5px #d9a23a; }
h2 { position: relative; }
h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c8202f 0 33%, #e8962e 33% 66%, #8e9a6c 66%);
}
.piece-card { border-width: 2px; }
.piece-card--base { border-color: #d9a23a; }
.kind { background: #f6d9a8; }
.std-card { border-top: 6px solid #c8202f; }
.std-card:nth-child(2) { border-top-color: #e8962e; }
.std-card:nth-child(3) { border-top-color: #8e9a6c; }
.footer { border-top: 12px solid #d9a23a; }
