/* Create Stoke! — design system in sites/createstoke/DESIGN.md (DICE gig-flyer, adapted).
   Colour lives only in the sticker and mantra art; the UI is black, white and grey. */

@font-face {
  font-family: "Antonio";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/antonio-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  --color-ink: #000000;
  --color-paper: #ffffff;

  --bg: var(--color-paper);
  --fg: var(--color-ink);
  --fg-support: #333333;
  --fg-muted: #595959;
  --surface: #c8c8c8;
  --rule: #d9d9d9;
  --band-bg: var(--color-ink);
  --band-fg: var(--color-paper);

  --font-display: "Antonio", "Arial Narrow", sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, sans-serif;
  --tracking-text: 0.06em;

  --page-max: 1200px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--color-ink);
    --fg: var(--color-paper);
    --fg-support: #cccccc;
    --fg-muted: #a6a6a6;
    --surface: #4d4d4d;
    --rule: #333333;
    --band-bg: var(--color-paper);
    --band-fg: var(--color-ink);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: var(--tracking-text);
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--band-fg);
  color: var(--band-bg);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.83;
  letter-spacing: 0;
  text-transform: uppercase;
}

.label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Header: black bar that runs into the hero */
.site-header { background: var(--band-bg); color: var(--band-fg); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }

main { flex: 1 0 auto; display: flex; flex-direction: column; }

/* Hero: sticker bomb */
.hero { background: var(--band-bg); color: var(--band-fg); overflow: hidden; padding-bottom: 64px; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: clamp(40px, 6vw, 72px);
  text-align: center;
}
.hero h1 { font-size: clamp(110px, 24vw, 280px); }
.hero-lede { margin: 0; max-width: 40em; font-size: 18px; }

.sticker-bomb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
  list-style: none;
}
.sticker-bomb li { margin: 0 -14px -18px; }
.sticker-bomb img { width: clamp(130px, 17vw, 220px); }
.sticker-bomb li:nth-child(1) img { transform: rotate(-9deg) translateY(10px); }
.sticker-bomb li:nth-child(2) img { transform: rotate(7deg) translateY(-12px); }
.sticker-bomb li:nth-child(3) img { transform: rotate(-4deg) translateY(4px); }
.sticker-bomb li:nth-child(4) img { transform: rotate(5deg) translateY(-24px); }
.sticker-bomb li:nth-child(5) img { transform: rotate(-7deg) translateY(6px); }
.sticker-bomb li:nth-child(6) img { transform: rotate(10deg) translateY(-8px); }

/* Our Terms Defined */
.terms {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 112px;
  padding-bottom: 112px;
}
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 56px 64px;
}
.term {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.term-word { font-size: clamp(80px, 11vw, 128px); }
.term-note { margin: 0; font-size: 14px; color: var(--fg-muted); }
.term ol { margin: 0; padding-left: 1.25em; font-size: 18px; display: flex; flex-direction: column; gap: 8px; }

/* How do you Create Stoke? */
.story { background: var(--surface); }
.story-inner {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 48px 64px;
  padding-top: 112px;
  padding-bottom: 112px;
}
.story-art { flex: 1 1 300px; display: flex; justify-content: center; }
.story-art img { width: 100%; max-width: 400px; aspect-ratio: 400 / 401; transform: rotate(-6deg); }
.story-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.story-copy h2 { font-size: clamp(56px, 8vw, 96px); }
.story-copy p { margin: 0; font-size: 18px; color: var(--fg-support); }

/* Closing mantra */
.mantra {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}
.mantra-lead { margin: 0; font-size: 18px; color: var(--fg-support); }
.mantra picture, .mantra img { width: 100%; max-width: 1100px; }
.mantra img { aspect-ratio: 1100 / 506; }

/* Footer */
.site-footer { background: var(--band-bg); color: var(--band-fg); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
}
.footer-inner p { margin: 0; }

/* 404 */
.notfound {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}
.notfound h1 { font-size: clamp(96px, 20vw, 220px); }
.notfound p { margin: 0; font-size: 18px; color: var(--fg-support); }
.notfound img { width: clamp(160px, 30vw, 260px); transform: rotate(-6deg); }
