/* Two-Ink Riot for the web. Tokens mirror Packages/ATCKit/Sources/ThemeKit/Riot. */

@font-face { font-family: 'Dela Gothic One'; src: url('/fonts/DelaGothicOne-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/Archivo-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/Archivo-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/Archivo-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --ink: #16130F;
  --paper: #FFF7EA;
  --surface: #FFFFFF;
  --muted: #5C544A;
  --text: var(--ink);
  --bg: var(--paper);
  --card: var(--paper);
  --outline: var(--ink);
  --shadow: var(--ink);
  --off: 6px;
  --off-sm: 4px;
  --display: 'Dela Gothic One', 'Arial Black', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #FFF7EA;
    --bg: #16130F;
    --card: #24201B;
    --muted: #CFC6B6;
    --outline: #CFC6B6;
    --off: 0px;
    --off-sm: 0px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 600 17px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.eyebrow { font: 900 11px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.display { font-family: var(--display); font-weight: 400; line-height: .92; text-transform: uppercase; margin: 0; }

/* Display type with the second-ink offset copy behind it. */
.misreg { position: relative; display: inline-block; }
.misreg::before {
  content: attr(data-text);
  position: absolute; left: var(--mx, 3px); top: var(--mx, 3px); width: 100%;
  color: var(--misreg, #FFB81C);
  z-index: 0;
  white-space: inherit;
}
.misreg > span { position: relative; z-index: 1; }

/* Buttons: capsule, ink fill or outline, with the offset ink shadow. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 2px solid var(--ink);
  font: 600 19px/1 var(--body); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  cursor: pointer;
  box-shadow: var(--off-sm) var(--off-sm) 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translate(var(--off-sm), var(--off-sm)); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn-ghost:active { transform: none; }
@media (prefers-color-scheme: dark) {
  .btn { border-color: var(--outline); }
  .btn-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
}

.motif { background-repeat: repeat; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
