

:root {
  
  --ratio: 1.618;
  --ratio-min: calc(1 + (var(--ratio) - 1) * 0.5);
  --body-n: 17;
  --body-size: calc(var(--body-n) * 1px);
  --vw-t: calc((100vw - 360px) / 1080);

  --r1: var(--ratio);
  --r2: calc(var(--r1) * var(--ratio));
  --r3: calc(var(--r2) * var(--ratio));
  --r4: calc(var(--r3) * var(--ratio));
  --r5: calc(var(--r4) * var(--ratio));
  --r6: calc(var(--r5) * var(--ratio));
  --m1: var(--ratio-min);
  --m2: calc(var(--m1) * var(--ratio-min));
  --m3: calc(var(--m2) * var(--ratio-min));
  --m4: calc(var(--m3) * var(--ratio-min));
  --m5: calc(var(--m4) * var(--ratio-min));
  --m6: calc(var(--m5) * var(--ratio-min));

  --step--1: max(13px, calc(var(--body-size) / var(--ratio)));
  --step-0: var(--body-size);
  --step-1: clamp(calc(var(--body-n) * var(--m1) * 1px), calc(var(--body-n) * var(--m1) * 1px + var(--body-n) * (var(--r1) - var(--m1)) * var(--vw-t)), calc(var(--body-n) * var(--r1) * 1px));
  --step-2: clamp(calc(var(--body-n) * var(--m2) * 1px), calc(var(--body-n) * var(--m2) * 1px + var(--body-n) * (var(--r2) - var(--m2)) * var(--vw-t)), calc(var(--body-n) * var(--r2) * 1px));
  --step-3: clamp(calc(var(--body-n) * var(--m3) * 1px), calc(var(--body-n) * var(--m3) * 1px + var(--body-n) * (var(--r3) - var(--m3)) * var(--vw-t)), calc(var(--body-n) * var(--r3) * 1px));
  --step-4: clamp(calc(var(--body-n) * var(--m4) * 1px), calc(var(--body-n) * var(--m4) * 1px + var(--body-n) * (var(--r4) - var(--m4)) * var(--vw-t)), calc(var(--body-n) * var(--r4) * 1px));
  --step-5: clamp(calc(var(--body-n) * var(--m5) * 1px), calc(var(--body-n) * var(--m5) * 1px + var(--body-n) * (var(--r5) - var(--m5)) * var(--vw-t)), calc(var(--body-n) * var(--r5) * 1px));
  --step-6: clamp(calc(var(--body-n) * var(--m6) * 1px), calc(var(--body-n) * var(--m6) * 1px + var(--body-n) * (var(--r6) - var(--m6)) * var(--vw-t)), calc(var(--body-n) * var(--r6) * 1px));

  
  --label-font: var(--font-mono);
  --label-size: 11px;
  --label-tracking: 0.08em;
  --label-case: uppercase;
  --label-variant: normal;
  --label-weight: var(--mono-weight);
  
  --colhead-font: var(--label-font);
  --colhead-size: var(--label-size);
  --colhead-weight: var(--label-weight);
  --colhead-tracking: var(--label-tracking);
  --colhead-case: var(--label-case);
  --colhead-variant: var(--label-variant);

  
  --font-logo: "Fraunces", Georgia, "Times New Roman", serif;
  --logo-soft: 0;

  
  --density: 1;
  --space: calc(8px * var(--density));
  
  --gutter: max(clamp(16px, 4.5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --shell: 1440px;
  --section-y: calc(clamp(48px, 7vw, 112px) * var(--density));
  --row: calc(14px * var(--density));
  --gap: calc(clamp(20px, 2.4vw, 36px) * var(--density));
  --radius: 4px;
  --btn-radius: 4px;
  
  --chip-radius: var(--btn-radius);
  --accent-radius: var(--btn-radius);
  --frame-inset: 0px;
  --header-h: 72px;
  --header-space: 0px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  
  --dur: 220ms;
  --dur-slow: 520ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scale="1.25"]  { --ratio: 1.25; }
[data-scale="1.333"] { --ratio: 1.333; }
[data-scale="1.5"]   { --ratio: 1.5; }
[data-scale="1.618"] { --ratio: 1.618; }

[data-body="16"] { --body-n: 16; }
[data-body="17"] { --body-n: 17; }
[data-body="18"] { --body-n: 18; }

[data-density="airy"]     { --density: 1.3; }
[data-density="standard"] { --density: 1; }
[data-density="dense"]    { --density: 0.72; }

[data-radius="0"]  { --radius: 0px;  --btn-radius: 0px; }
[data-radius="4"]  { --radius: 4px;  --btn-radius: 4px; }
[data-radius="14"] { --radius: 14px; --btn-radius: 999px; }

[data-shapes="roles"] { --btn-radius: 4px; --chip-radius: 4px; --accent-radius: 999px; }

:root {
  --section-y-anchor: calc(var(--section-y) * 1.5);
  --section-y-support: calc(var(--section-y) * 0.6);
  
  --title-page: calc(var(--step-3) * var(--display-scale));
  --title-case: calc(var(--step-3) * var(--display-scale) * 1.272);
  --title-tracking: calc(var(--display-tracking) * 0.7);
  
  --kv-key: 88px;
  --kv-gap: 16px;
}

[data-small-type="two"] { --text-label: 13px; --text-small: 15px; }

[data-frame="bleed"] { --frame-inset: 0px; }
[data-frame="inset"] { --frame-inset: clamp(12px, 2.2vw, 32px); }
[data-frame="mat"]   { --frame-inset: clamp(12px, 1.4vw, 20px); }

[data-motion="off"]  { --dur: 0ms;   --dur-slow: 0ms; }
[data-motion="calm"] { --dur: 220ms; --dur-slow: 520ms; }
[data-motion="full"] { --dur: 380ms; --dur-slow: 900ms; }
@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; --dur-slow: 0ms; }
}

[data-labels="mono-caps"]  { --label-font: var(--font-mono); --label-size: 11px; --label-tracking: 0.08em; --label-case: uppercase; --label-variant: normal; --label-weight: var(--mono-weight); }
[data-labels="mono-lower"] { --label-font: var(--font-mono); --label-size: 12px; --label-tracking: 0.01em; --label-case: none; --label-variant: normal; --label-weight: var(--mono-weight); }
[data-labels="smallcaps"]  { --label-font: var(--font-body); --label-size: 13px; --label-tracking: 0.06em; --label-case: none; --label-variant: all-small-caps; --label-weight: 600; }

[data-labels="plain"] {
  --label-font: var(--font-body); --label-size: 13px; --label-weight: 500;
  --label-tracking: 0; --label-case: none; --label-variant: normal;
  --colhead-font: var(--font-body); --colhead-size: 11.5px; --colhead-weight: 600;
  --colhead-tracking: 0.08em; --colhead-case: uppercase; --colhead-variant: normal;
}

[data-wordmark-soft="0"]     { --logo-soft: 0; }
[data-wordmark-soft="50"]    { --logo-soft: 50; }
[data-wordmark-soft="100"]   { --logo-soft: 100; }
[data-wordmark-soft="hover"] { --logo-soft: 0; }

[data-nav="bar"]    { --header-h: 56px; }
[data-nav="spread"] { --header-h: 72px; }
[data-nav="dock"]   { --header-h: 72px; }
[data-nav="frame"]  { --header-h: 72px; }
@media (max-width: 760px) {
  :root { --header-h: 60px !important; }
}

:root,
.band-ink,
.band-paper,
.band-surface,
[data-palette-scope] {
  --rule-strong: var(--ink);
  --mat: var(--surface);
  --focus: var(--accent-text);
  --veil: color-mix(in srgb, var(--media-ink, var(--ink-ground)) 52%, transparent);
  --wash: color-mix(in srgb, var(--accent) 9%, transparent);
}
[data-accent="rules"],
[data-accent="rules"] :is(.band-ink, .band-paper, .band-surface, [data-palette-scope]) {
  --rule-strong: var(--accent);
}
[data-accent="mat"],
[data-accent="mat"] :is(.band-ink, .band-paper, .band-surface, [data-palette-scope]) {
  --mat: var(--accent);
}

[data-accent="strict"],
[data-accent="strict"] :is(.band-ink, .band-paper, .band-surface, [data-palette-scope]) {
  --wash: color-mix(in srgb, var(--ink) 6%, transparent);
}

:where(:root) {
  --ground: #17140f;
  --surface: #2a2620;
  --ink: #f5f1e8;
  --muted: #b3aa9a;
  --line: #3b352d;
  --accent: #dcb24d;
  --accent-text: #dcb24d;
  --on-accent: #17140f;
  --ink-ground: #0f0d0a;
  --ink-surface: #201c18;
  --ink-ink: #f5f1e8;
  --ink-muted: #b3aa9a;
  --ink-line: #3b352d;
  --ink-accent-text: #dcb24d;
  --paper-ground: #f5f1e8;
  --paper-surface: #e5e2d9;
  --paper-ink: #17140f;
  --paper-muted: #66635c;
  --paper-line: #d1cec5;
  --paper-accent-text: #76602d;
  --is-dark: 1;
  color-scheme: dark;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.012em;
  --display-case: none;
  --display-style: italic;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 1.1;
  --emph-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  --emph-style: italic;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.012em;
  --body-weight: 400;
  --body-stretch: 92%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}

[data-palette="house-paper"],
[data-palette-scope="house-paper"] {
  --ground: #f5f1e8;
  --surface: #ebe5d8;
  --ink: #17140f;
  --muted: #6a6357;
  --line: #d8d1c2;
  --accent: #dcb24d;
  --accent-text: #7d5c12;
  --on-accent: #17140f;
  --ink-ground: #17140f;
  --ink-surface: #292620;
  --ink-ink: #f5f1e8;
  --ink-muted: #aaa69e;
  --ink-line: #3f3c36;
  --ink-accent-text: #dcb24d;
  --paper-ground: #ebe5d8;
  --paper-surface: #f5f1e8;
  --paper-ink: #17140f;
  --paper-muted: #6a6357;
  --paper-line: #d8d1c2;
  --paper-accent-text: #7d5c12;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="house-ink"],
[data-palette-scope="house-ink"] {
  --ground: #17140f;
  --surface: #2a2620;
  --ink: #f5f1e8;
  --muted: #b3aa9a;
  --line: #3b352d;
  --accent: #dcb24d;
  --accent-text: #dcb24d;
  --on-accent: #17140f;
  --ink-ground: #0f0d0a;
  --ink-surface: #201c18;
  --ink-ink: #f5f1e8;
  --ink-muted: #b3aa9a;
  --ink-line: #3b352d;
  --ink-accent-text: #dcb24d;
  --paper-ground: #f5f1e8;
  --paper-surface: #e5e2d9;
  --paper-ink: #17140f;
  --paper-muted: #66635c;
  --paper-line: #d1cec5;
  --paper-accent-text: #76602d;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="screening-ink"],
[data-palette-scope="screening-ink"] {
  --ground: #0a0e11;
  --surface: #13181c;
  --ink: #e9edf0;
  --muted: #8a939b;
  --line: #232a30;
  --accent: #dcb24d;
  --accent-text: #dcb24d;
  --on-accent: #0a0e11;
  --ink-ground: #06090b;
  --ink-surface: #0e1215;
  --ink-ink: #e9edf0;
  --ink-muted: #8a939b;
  --ink-line: #232a30;
  --ink-accent-text: #dcb24d;
  --paper-ground: #e9edf0;
  --paper-surface: #d9dde0;
  --paper-ink: #0a0e11;
  --paper-muted: #5c6063;
  --paper-line: #c5c9cc;
  --paper-accent-text: #6f5d2e;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="cool-gallery"],
[data-palette-scope="cool-gallery"] {
  --ground: #f4f8fb;
  --surface: #ffffff;
  --ink: #0a0e11;
  --muted: #5f6870;
  --line: #d8dee4;
  --accent: #dcb24d;
  --accent-text: #7d5c12;
  --on-accent: #0a0e11;
  --ink-ground: #0a0e11;
  --ink-surface: #1d2124;
  --ink-ink: #f4f8fb;
  --ink-muted: #a4a8ab;
  --ink-line: #34383b;
  --ink-accent-text: #dcb24d;
  --paper-ground: #ffffff;
  --paper-surface: #f4f8fb;
  --paper-ink: #0a0e11;
  --paper-muted: #5f6870;
  --paper-line: #d8dee4;
  --paper-accent-text: #7d5c12;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="oxblood-stone"],
[data-palette-scope="oxblood-stone"] {
  --ground: #eae7e1;
  --surface: #f5f3f0;
  --ink: #2e0e12;
  --muted: #6b5d58;
  --line: #d3ccc3;
  --accent: #3d5a80;
  --accent-text: #3d5a80;
  --on-accent: #f5f3f0;
  --ink-ground: #2e0e12;
  --ink-surface: #3d1f23;
  --ink-ink: #eae7e1;
  --ink-muted: #aa9d9b;
  --ink-line: #503537;
  --ink-accent-text: #8292a7;
  --paper-ground: #f5f3f0;
  --paper-surface: #eae7e1;
  --paper-ink: #2e0e12;
  --paper-muted: #6b5d58;
  --paper-line: #d3ccc3;
  --paper-accent-text: #3d5a80;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="slate-lab"],
[data-palette-scope="slate-lab"] {
  --ground: #f4f6f6;
  --surface: #dde5e9;
  --ink: #1d2c33;
  --muted: #55656c;
  --line: #c6d0d5;
  --accent: #34c27a;
  --accent-text: #17693f;
  --on-accent: #1d2c33;
  --ink-ground: #1d2c33;
  --ink-surface: #2e3c43;
  --ink-ink: #f4f6f6;
  --ink-muted: #abb1b4;
  --ink-line: #445056;
  --ink-accent-text: #34c27a;
  --paper-ground: #dde5e9;
  --paper-surface: #f4f6f6;
  --paper-ink: #1d2c33;
  --paper-muted: #55656c;
  --paper-line: #c6d0d5;
  --paper-accent-text: #17693f;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="warm-terracotta"],
[data-palette-scope="warm-terracotta"] {
  --ground: #f5f4f1;
  --surface: #e9e7e2;
  --ink: #1f1f1f;
  --muted: #5e5e5e;
  --line: #d6d3cc;
  --accent: #de7356;
  --accent-text: #b0442a;
  --on-accent: #1f1f1f;
  --ink-ground: #1f1f1f;
  --ink-surface: #303030;
  --ink-ink: #f5f4f1;
  --ink-muted: #acacaa;
  --ink-line: #464545;
  --ink-accent-text: #cb8978;
  --paper-ground: #e9e7e2;
  --paper-surface: #f5f4f1;
  --paper-ink: #1f1f1f;
  --paper-muted: #5e5e5e;
  --paper-line: #d6d3cc;
  --paper-accent-text: #b0442a;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="cyan-print"],
[data-palette-scope="cyan-print"] {
  --ground: #fffef8;
  --surface: #f2f0e4;
  --ink: #1f1f1f;
  --muted: #5d5b52;
  --line: #dedbcf;
  --accent: #00d3ff;
  --accent-text: #00718c;
  --on-accent: #1f1f1f;
  --ink-ground: #1f1f1f;
  --ink-surface: #313130;
  --ink-ink: #fffef8;
  --ink-muted: #b3b2ae;
  --ink-line: #474746;
  --ink-accent-text: #00d3ff;
  --paper-ground: #f2f0e4;
  --paper-surface: #fffef8;
  --paper-ink: #1f1f1f;
  --paper-muted: #5d5b52;
  --paper-line: #dedbcf;
  --paper-accent-text: #00718c;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="gallery-cobalt"],
[data-palette-scope="gallery-cobalt"] {
  --ground: #ffffff;
  --surface: #f1f1f1;
  --ink: #111111;
  --muted: #595959;
  --line: #d4d4d4;
  --accent: #1f4bff;
  --accent-text: #1f4bff;
  --on-accent: #ffffff;
  --ink-ground: #111111;
  --ink-surface: #242424;
  --ink-ink: #ffffff;
  --ink-muted: #aeaeae;
  --ink-line: #3c3c3c;
  --ink-accent-text: #6483ff;
  --paper-ground: #f1f1f1;
  --paper-surface: #ffffff;
  --paper-ink: #111111;
  --paper-muted: #595959;
  --paper-line: #d4d4d4;
  --paper-accent-text: #1f4bff;
  --is-dark: 0;
  color-scheme: light;
}
[data-palette="basement-black"],
[data-palette-scope="basement-black"] {
  --ground: #0a0a0a;
  --surface: #1a1a1a;
  --ink: #e6e6e6;
  --muted: #8c8c8c;
  --line: #2e2e2e;
  --accent: #ff4d00;
  --accent-text: #ff5f1f;
  --on-accent: #0a0a0a;
  --ink-ground: #060606;
  --ink-surface: #141414;
  --ink-ink: #e6e6e6;
  --ink-muted: #8c8c8c;
  --ink-line: #2e2e2e;
  --ink-accent-text: #ff4d00;
  --paper-ground: #e6e6e6;
  --paper-surface: #d7d7d7;
  --paper-ink: #0a0a0a;
  --paper-muted: #5c5c5c;
  --paper-line: #c3c3c3;
  --paper-accent-text: #9d3d17;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="espresso"],
[data-palette-scope="espresso"] {
  --ground: #2c2922;
  --surface: #37332b;
  --ink: #ece6d8;
  --muted: #b1aa9b;
  --line: #4a453b;
  --accent: #6cc3b5;
  --accent-text: #6cc3b5;
  --on-accent: #2c2922;
  --ink-ground: #1d1b16;
  --ink-surface: #292620;
  --ink-ink: #ece6d8;
  --ink-muted: #b1aa9b;
  --ink-line: #4a453b;
  --ink-accent-text: #6cc3b5;
  --paper-ground: #ece6d8;
  --paper-surface: #dfd9cb;
  --paper-ink: #2c2922;
  --paper-muted: #615d54;
  --paper-line: #cdc8bb;
  --paper-accent-text: #44645a;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="forest-signal"],
[data-palette-scope="forest-signal"] {
  --ground: #2f3b25;
  --surface: #3a4730;
  --ink: #f4eddd;
  --muted: #c8c7b1;
  --line: #4d5a41;
  --accent: #fec820;
  --accent-text: #fec820;
  --on-accent: #2f3b25;
  --ink-ground: #1f2618;
  --ink-surface: #2c3524;
  --ink-ink: #f4eddd;
  --ink-muted: #c8c7b1;
  --ink-line: #4d5a41;
  --ink-accent-text: #fec820;
  --paper-ground: #f4eddd;
  --paper-surface: #e6e1d0;
  --paper-ink: #2f3b25;
  --paper-muted: #5d6550;
  --paper-line: #d4d1c0;
  --paper-accent-text: #6b6424;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="every-night"],
[data-palette-scope="every-night"] {
  --ground: #050505;
  --surface: #1a1a1a;
  --ink: #fdfaf7;
  --muted: #a8a29e;
  --line: #2c2c2c;
  --accent: #c0f0fb;
  --accent-text: #c0f0fb;
  --on-accent: #050505;
  --ink-ground: #141414;
  --ink-surface: #222222;
  --ink-ink: #fdfaf7;
  --ink-muted: #a8a29e;
  --ink-line: #333333;
  --ink-accent-text: #c0f0fb;
  --paper-ground: #fdfaf7;
  --paper-surface: #ece9e6;
  --paper-ink: #050505;
  --paper-muted: #686766;
  --paper-line: #d5d3d0;
  --paper-accent-text: #556a6f;
  --is-dark: 1;
  color-scheme: dark;
}
[data-palette="broadcast-navy"],
[data-palette-scope="broadcast-navy"] {
  --ground: #0b1220;
  --surface: #141d2e;
  --ink: #e8edf5;
  --muted: #97a3b6;
  --line: #26324a;
  --accent: #ff5a4e;
  --accent-text: #ff6b5f;
  --on-accent: #0b1220;
  --ink-ground: #070c15;
  --ink-surface: #0f1622;
  --ink-ink: #e8edf5;
  --ink-muted: #97a3b6;
  --ink-line: #26324a;
  --ink-accent-text: #ff5a4e;
  --paper-ground: #e8edf5;
  --paper-surface: #d9dee6;
  --paper-ink: #0b1220;
  --paper-muted: #5b616d;
  --paper-line: #c5cad3;
  --paper-accent-text: #994645;
  --is-dark: 1;
  color-scheme: dark;
}

[data-font="house"],
[data-font-scope="house"] {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 420;
  --display-tracking: -0.02em;
  --display-case: none;
  --display-style: italic;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.02;
  --display-scale: 1.0;
  --emph-family: "Fraunces", Georgia, "Times New Roman", serif;
  --emph-style: italic;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.02em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="screening-room"],
[data-font-scope="screening-room"] {
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.012em;
  --display-case: none;
  --display-style: italic;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 1.1;
  --emph-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  --emph-style: italic;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.012em;
  --body-weight: 400;
  --body-stretch: 92%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="broadsheet"],
[data-font-scope="broadsheet"] {
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 350;
  --display-tracking: -0.018em;
  --display-case: none;
  --display-style: italic;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.02;
  --display-scale: 1.02;
  --emph-family: "Newsreader", Georgia, "Times New Roman", serif;
  --emph-style: italic;
  --emph-weight: 350;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.018em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="ballroom"],
[data-font-scope="ballroom"] {
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.012em;
  --display-case: none;
  --display-style: italic;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.0;
  --display-scale: 1.0;
  --emph-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --emph-style: italic;
  --emph-weight: 500;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.012em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="title-card"],
[data-font-scope="title-card"] {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 300;
  --display-tracking: 0.01em;
  --display-case: uppercase;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 0.98;
  --emph-family: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 800;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: uppercase;
  --emph-tracking: -0.035em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="control-room"],
[data-font-scope="control-room"] {
  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 560;
  --display-tracking: -0.045em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.0;
  --display-scale: 0.96;
  --emph-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.045em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="swiss-light"],
[data-font-scope="swiss-light"] {
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 250;
  --display-tracking: -0.05em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 1.04;
  --emph-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 500;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.05em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="workshop"],
[data-font-scope="workshop"] {
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 640;
  --display-tracking: -0.03em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 0.98;
  --emph-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 640;
  --emph-stretch: 75%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.03em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="credits-roll"],
[data-font-scope="credits-roll"] {
  --font-display: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 125%;
  --display-variation: normal;
  --display-leading: 0.95;
  --display-scale: 0.8;
  --emph-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 300;
  --emph-stretch: 125%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.01em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="call-sheet"],
[data-font-scope="call-sheet"] {
  --font-display: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.04em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 87.5%;
  --display-variation: normal;
  --display-leading: 1.06;
  --display-scale: 0.74;
  --emph-family: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --emph-style: normal;
  --emph-weight: 300;
  --emph-stretch: 87.5%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.04em;
  --body-weight: 400;
  --body-stretch: 92%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 87.5%;
  --mono-variation: normal;
}
[data-font="toolmaker"],
[data-font-scope="toolmaker"] {
  --font-display: "Recursive", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Recursive", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Recursive", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 740;
  --display-tracking: -0.03em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: "MONO" 1, "CASL" 0;
  --display-leading: 1.0;
  --display-scale: 0.84;
  --emph-family: "Recursive", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 740;
  --emph-stretch: 100%;
  --emph-variation: "MONO" 0, "CASL" 1;
  --emph-case: none;
  --emph-tracking: -0.03em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: "MONO" 0, "CASL" 0;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: "MONO" 1, "CASL" 0;
}
[data-font="marquee"],
[data-font-scope="marquee"] {
  --font-display: "Big Shoulders", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 800;
  --display-tracking: 0em;
  --display-case: uppercase;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.92;
  --display-scale: 1.24;
  --emph-family: "Big Shoulders", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 700;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: uppercase;
  --emph-tracking: 0.01em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="stage-manager"],
[data-font-scope="stage-manager"] {
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Chivo Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --display-case: uppercase;
  --display-style: normal;
  --display-stretch: 62%;
  --display-variation: normal;
  --display-leading: 0.94;
  --display-scale: 1.12;
  --emph-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 300;
  --emph-stretch: 125%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.01em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="hospitality"],
[data-font-scope="hospitality"] {
  --font-display: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 420;
  --display-tracking: -0.025em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: "FLAR" 100;
  --display-leading: 1.0;
  --display-scale: 1.0;
  --emph-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 300;
  --emph-stretch: 100%;
  --emph-variation: "FLAR" 100;
  --emph-case: none;
  --emph-tracking: -0.025em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: "FLAR" 0;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="field-notes"],
[data-font-scope="field-notes"] {
  --font-display: "Ysabeau", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Ysabeau Office", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 330;
  --display-tracking: -0.012em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.02;
  --display-scale: 1.06;
  --emph-family: "Ysabeau", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 500;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.012em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="instrument-pair"],
[data-font-scope="instrument-pair"] {
  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 450;
  --display-tracking: -0.035em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 1.0;
  --display-scale: 0.98;
  --emph-family: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --emph-style: normal;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.05em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}
[data-font="desk-jakarta"],
[data-font-scope="desk-jakarta"] {
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 800;
  --display-tracking: -0.035em;
  --display-case: none;
  --display-style: normal;
  --display-stretch: 100%;
  --display-variation: normal;
  --display-leading: 0.98;
  --display-scale: 0.94;
  --emph-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --emph-style: normal;
  --emph-weight: 400;
  --emph-stretch: 100%;
  --emph-variation: normal;
  --emph-case: none;
  --emph-tracking: -0.035em;
  --body-weight: 400;
  --body-stretch: 100%;
  --body-variation: normal;
  --mono-weight: 400;
  --mono-stretch: 100%;
  --mono-variation: normal;
}

[data-palette-scope] { --media-ink: initial; }
[data-palette="cyan-print"],
[data-palette-scope="cyan-print"] { --media-ink: #050505; }
[data-palette="every-night"],
[data-palette-scope="every-night"] { --media-ink: #030303; }

:root,
[data-font-scope] {
  --display-weight-sm: var(--display-weight);
  --display-tracking-sm: var(--display-tracking);
}
[data-font="swiss-light"],
[data-font-scope="swiss-light"] {
  --display-weight-sm: 300;
  --display-tracking-sm: -0.025em;
}
@media (max-width: 760px) {
  [data-font="swiss-light"],
  [data-font-scope="swiss-light"] {
    --display-tracking: -0.035em;
    --emph-tracking: -0.035em;
  }
}

[data-heading="italic"][data-font="swiss-light"] {
  --emph-style: italic;
  --emph-weight: 300;
  --emph-tracking: -0.035em;
}

[data-labels="smallcaps"][data-font="swiss-light"] {
  --label-size: 11.5px;
  --label-tracking: 0.08em;
  --label-case: uppercase;
  --label-variant: normal;
  --label-weight: 600;
}

[data-palette="cyan-print"],
[data-palette-scope="cyan-print"] { --alert: #b3261e; }
[data-palette="every-night"],
[data-palette-scope="every-night"],
[data-palette="cyan-print"] .band-ink,
[data-palette="cyan-print"][data-case-ground="ink"] body[data-page="case"] { --alert: #ff8a80; }
[data-palette="every-night"] .band-paper { --alert: #b3261e; }
