/* Generated from the snackbyte brand guide v2.1.0. Do not edit.
   The faces, from google/fonts at 5e8a3ba899557829a76cfdac30fa512bda91d7ca, subset to Latin.
   Serve fonts/ beside this file; nothing loads from a third party. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('./fonts/bricolage-roman.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: 100 900;
  font-display: swap;
  src: url('./fonts/inter-roman.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: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('./fonts/sourceSerif-roman.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: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('./fonts/sourceSerif-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;
}

@layer brand {
/* Generated from the snackbyte brand guide v2.1.0. Do not edit. */

:root {
  --ground: #ECEDEA;
  --ink: #45423E;
  --muted: #6B6762;
  --sky: #38639A;
  --sage: #8B9B86;
  --sage-text: #5F6E5A;
  --bitterbrush: #D2A93A;
  --rule: #cfd1cb;
  --panel: #FAFBF8;

  --unit: 4px;
  --gap: 12px;
  --seam: 28px;
  --cell: 40px;
  --cell-seam: 68px;
  --stack: 108px;

  --type-0: 1rem;
  --type-1: 1.438rem;
  --type-2: 2.063rem;
  --type-3: 2.938rem;
  --type-4: 4.188rem;
  --type-5: 5.938rem;
  --type-small: 0.875rem;
  --leading-small: 1.45;

  --font-wordmark: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mark-text: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-headline: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-title: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;
  --font-legal: 'Source Serif 4', Georgia, serif;
  --font-code: ui-monospace, monospace;

  --weight-regular: 400;
  --weight-strong: 600;
  --leading-body: 1.5;
  --leading-heading: 1.2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ground: #2A2724;
    --ink: #ECEDEA;
    --muted: #A8A49D;
    --sky: #7FA7D3;
    --sage: #9DAE98;
    --sage-text: #9DAE98;
    --bitterbrush: #DDB447;
    --rule: #4a4642;
    --panel: #36332F;
  }
}

:root[data-theme='dark'] {
  --ground: #2A2724;
  --ink: #ECEDEA;
  --muted: #A8A49D;
  --sky: #7FA7D3;
  --sage: #9DAE98;
  --sage-text: #9DAE98;
  --bitterbrush: #DDB447;
  --rule: #4a4642;
  --panel: #36332F;
}

/* A legal or financial document: below its title, Source Serif 4 replaces the text face.
   Set data-face='legal' on <html>, or on the element that holds the document. */
[data-face='legal'] {
  --font-text: var(--font-legal);
  --weight-regular: 400;
  --weight-strong: 600;
  --leading-body: 1.5;
  --leading-heading: 1.2;
}

/* Generated from the snackbyte brand guide v2.1.0. Do not edit. */

html,
body {
  margin: 0;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-size: var(--type-0);
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

/* The text face, everywhere below h1. A legal document (data-face='legal') swaps it
   where it is set, so its children inherit the serif rather than the page's face. */
body,
[data-face] {
  font-family: var(--font-text);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
}

/* Form controls take the system face unless told otherwise: that would be a third. */
button,
input,
select,
textarea {
  font-family: inherit;
}

h2,
h3,
th,
b,
strong,
button {
  font-weight: var(--weight-strong);
}

h2,
h3 {
  line-height: var(--leading-heading);
}

/* Bricolage takes h1 and nothing else: the title cut, or the headline on the home page. */
h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

table {
  font-variant-numeric: tabular-nums;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-code);
}

/* A block set apart from the page. Always edged; never nested. */
.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
}

a {
  color: var(--sky);
}
a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 3px;
}

/* The wordmark: the name, always lowercase, in its own cut. */
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* Words drawn with the mark, such as the place line under a lockup. */
.mark-text {
  font-family: var(--font-mark-text);
  font-weight: 400;
  font-variation-settings: 'opsz' 14, 'wdth' 100;
  letter-spacing: 0em;
}

/* The primary lockup: the row above the name, one seam apart, left edges aligned
   on ink. The proportions come from the font's metrics. */
.lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--lockup-size, 6rem);
}
.lockup > .mark {
  display: block;
  width: 3.232em;
  height: auto;
  margin-bottom: 0.085em;
}
.lockup > .wordmark {
  font-size: 1em;
  margin-left: -0.024em;
}

}
/* snackbyte page kit.
 *
 * How a page hosted on this site looks: the pages under /work/ and /for/, and the site's own
 * reading pages, /privacy and /terms. The build serves it at /kit/page.css after the brand's
 * faces, tokens and base rules, so a page links that one file and nothing else. Every value here is a brand token; the kit only arranges them.
 *
 * It styles plain HTML first, then a short list of components. It only grows: a class is
 * never renamed or removed, because every hosted page restyles when this file changes.
 */

/* Plain HTML. Each rule stops at an exhibit's edge: what is inside one renders as it was made. */

:root {
  color-scheme: light dark;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* A page for a reader who needs the text a step bigger; the whole scale moves together. */
html.large {
  font-size: 112.5%;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

p:where(:not(.exhibit *)) {
  margin: 0;
}
/* The cuts are the brand's: h1 in the title cut, h2 and h3 in the text face's strong weight. */
h1:where(:not(.exhibit *)),
h2:where(:not(.exhibit *)),
h3:where(:not(.exhibit *)) {
  margin: 0;
}
h1:where(:not(.exhibit *)) {
  font-size: var(--type-2);
}
h2:where(:not(.exhibit *)) {
  font-size: var(--type-1);
}
h3:where(:not(.exhibit *)) {
  font-size: var(--type-0);
}
@media (min-width: 40rem) {
  h1:where(:not(.exhibit *)) {
    font-size: var(--type-3);
  }
}

button:where(:not(.exhibit *)) {
  font: inherit;
  font-weight: var(--weight-strong);
  min-height: calc(var(--unit) * 12);
  padding: 0 var(--seam);
  border-radius: var(--unit);
  cursor: pointer;
  justify-self: start;
}
button:where(:not(.exhibit *)):focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

fieldset:where(:not(.exhibit *)) {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend:where(:not(.exhibit *)) {
  padding: 0;
  margin-bottom: calc(var(--unit) * 2);
  font-weight: var(--weight-strong);
}
select:where(:not(.exhibit *)) {
  font: inherit;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--unit);
  min-height: var(--cell-seam);
  padding: 0 var(--gap);
  width: 100%;
}
select:where(:not(.exhibit *)):focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

details:where(:not(.exhibit *)) summary {
  color: var(--sky);
  cursor: pointer;
  min-height: calc(var(--unit) * 11);
  display: flex;
  align-items: center;
}
details:where(:not(.exhibit *)) summary:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
details:where(:not(.exhibit *)) p {
  color: var(--muted);
}

img:where(:not(.exhibit *)) {
  max-width: 100%;
  height: auto;
}
figure:where(:not(.exhibit *)) {
  margin: 0;
}
figcaption:where(:not(.exhibit *)) {
  color: var(--muted);
}

/* Tables: rules between rows, no fills; the header row is quieter than the data. */
table:where(:not(.exhibit *)) {
  border-collapse: collapse;
}
th:where(:not(.exhibit *)),
td:where(:not(.exhibit *)) {
  text-align: left;
  vertical-align: top;
  padding: calc(var(--unit) * 2) var(--gap);
  border-bottom: 1px solid var(--rule);
}
th:where(:not(.exhibit *)) {
  font-weight: var(--weight-strong);
  color: var(--muted);
}

/* Components */

/* The page: one reading column, with a phone gutter and the seam between its blocks. */
.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: var(--seam) calc(var(--unit) * 4) var(--stack);
  display: flex;
  flex-direction: column;
  gap: var(--seam);
}

/* A wider page, for tables and figures that need the room. */
.page.wide {
  max-width: 58rem;
}
@media (min-width: 40rem) {
  .page.wide h2 {
    font-size: var(--type-2);
  }
}

/* The line above a hosted page's title: the section it belongs to, linked back, then what
   the page is. */
.crumb {
  color: var(--muted);
}

/* Something wider than a phone, like a table, scrolls sideways inside its own box. */
.scroll {
  overflow-x: auto;
  max-width: 100%;
}

/* The line under a page's title. */
.lede {
  color: var(--muted);
  margin-top: var(--gap);
}

/* A short label above what it names. Sage carries words only in its text value. On a heading
   it stays a label: text size and cut, not the heading's. */
.label {
  display: block;
  color: var(--sage-text);
  font-weight: var(--weight-strong);
  font-size: var(--type-0);
  letter-spacing: normal;
  line-height: var(--leading-body);
}

/* Secondary text: a date, a place, a caption. */
.meta {
  color: var(--muted);
}

/* One bounded block of a page, a seam below the rule that starts it. */
.card {
  display: grid;
  gap: var(--gap);
  border-top: 1px solid var(--rule);
  padding-top: var(--seam);
  scroll-margin-top: var(--gap);
}
.card:focus {
  outline: none;
}

/* The one thing on a page the reader must not miss. Bitterbrush marks it; it is never text. */
.callout {
  border-left: var(--unit) solid var(--bitterbrush);
  padding-left: var(--gap);
  font-weight: var(--weight-strong);
}

/* Buttons: one primary action, and the quieter way back. */
.primary {
  background: var(--sky);
  color: var(--ground);
  border: 1px solid var(--sky);
  font-weight: var(--weight-strong);
}
.secondary {
  background: none;
  color: var(--ink);
  border: 1px solid var(--rule);
}

/* A choice drawn as a button: a radio input followed by its span. */
.choice {
  position: relative;
  display: block;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: var(--cell-seam);
  padding: calc(var(--unit) * 2) var(--gap);
  border: 1px solid var(--rule);
  border-radius: var(--unit);
  cursor: pointer;
  line-height: var(--leading-heading);
}
.choice input:checked + span {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--ground);
  font-weight: var(--weight-strong);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* A table of contents: a label, then one row per link with its .meta on the right. */
.contents {
  display: grid;
  gap: calc(var(--unit) * 2);
}
.contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contents a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  min-height: calc(var(--unit) * 11);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.contents li:first-child a {
  border-top: 1px solid var(--rule);
}
.contents .meta {
  white-space: nowrap;
}

/* A list of links to other pages, one block each: a row with the title and any marks, a
   line about it, and its status. .big sets them two across, room for a .pic on top. */
.links {
  display: grid;
  gap: var(--gap);
}
@media (min-width: 36rem) {
  .links.big {
    grid-template-columns: 1fr 1fr;
  }
}
.link {
  display: flex;
  flex-direction: column;
  gap: var(--unit);
  padding: var(--gap) calc(var(--unit) * 4);
  border: 1px solid var(--rule);
  border-radius: var(--unit);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}
.link:hover {
  border-color: var(--sky);
}
.link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
.link .row {
  display: flex;
  align-items: center;
  gap: calc(var(--unit) * 2);
  flex-wrap: wrap;
}
.link .title {
  font-size: var(--type-1);
  font-weight: var(--weight-strong);
  line-height: var(--leading-heading);
}
.link .status {
  color: var(--sage-text);
  font-weight: var(--weight-strong);
  margin-top: auto;
}
.link .pic {
  display: block;
  aspect-ratio: 16 / 10;
  margin: calc(var(--gap) * -1) calc(var(--unit) * -4) var(--unit);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.link .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Something shown as it looks elsewhere: another product's screens, a client's own design.
   Inside it the page's own styles apply, and a <style> or font <link> marked data-exhibit may
   style it; the kit draws only the frame. Everything outside stays on the kit. */
.exhibit {
  /* Nothing the page sets reaches inside: colour, type, colour scheme and smoothing all start
     from the browser's defaults, as they would in a page of its own. */
  all: initial;
  /* Except the language, which the page's lang still sets for everything on it. */
  -webkit-locale: inherit;
  display: block;
  border: 1px solid var(--rule);
  border-radius: var(--unit);
  overflow: auto;
}
/* An exhibit that needs the whole width, like a design canvas: it follows the page's header,
   edge to edge, and the column above it closes up to it. */
.exhibit.full {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  /* Edge to edge there is nothing to scroll, and a scroll box would draw it differently. */
  overflow: visible;
}
/* The brand's base rules style elements, not classes (h2, table, code), so they would reach
   inside too: inside an exhibit, everything the brand layer sets goes back to the browser's. */
@layer brand {
  .exhibit * {
    all: revert-layer;
  }
}
.page:has(+ .exhibit.full) {
  padding-bottom: var(--seam);
}

/* Small marks beside a title: what is new, what is behind a password, what leaves the site. */
.badge,
.lock {
  border: 1px solid currentColor;
  border-radius: var(--unit);
  padding: 0 calc(var(--unit) * 2);
}
.badge {
  color: var(--sky);
  font-weight: var(--weight-strong);
}
.lock {
  color: var(--muted);
}
.ext {
  color: var(--muted);
}
.link:hover .ext {
  color: var(--sky);
}

/* The page's last line: who made it, and the name. */
.page > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: var(--gap);
}
.page > footer .wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--type-1);
}
