@import url("https://fonts.googleapis.com/css2?family=League+Gothic&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --paper: #F3EBDC;
  --paper-hi: #FAF5EA;
  --paper-deep: #EDE2CE;
  --oat: #E4D6BD;
  --oat-deep: #D9C8AA;
  --clay: #B98A6C;
  --terracotta: #8A4329;
  --charcoal: #2A2521;
  --charcoal-soft: #3A332D;
  --ink: #2A2521;
  --ink-soft: #5E5147;
  --ink-faint: #7A6A5C;
  --rule: #CDBCA0;
  --rust: #B5461B;
  --rust-deep: #963712;
  --rust-tint: #F1DCCB;
  --on-dark: #F3EBDC;
  --on-dark-soft: #CBBBA4;

  --clay-35: rgba(185, 138, 108, 0.35);
  --clay-55: rgba(185, 138, 108, 0.55);
  --charcoal-12: rgba(42, 37, 33, 0.12);
  --charcoal-60: rgba(42, 37, 33, 0.6);

  --cicu-ab2: "League Gothic", "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --cicu-674: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --cicu-a1a: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: 0.75rem;
  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --cicu-088: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --cicu-4df: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --cicu-0e4: clamp(1.4rem, 1.22rem + 0.8vw, 1.95rem);
  --cicu-31f: clamp(1.75rem, 1.4rem + 1.5vw, 2.7rem);
  --cicu-3ed: clamp(2.2rem, 1.55rem + 3vw, 4.4rem);
  --cicu-834: clamp(2.5rem, 1.5rem + 5vw, 6.25rem);
  --step-hero: clamp(2.6rem, 11vw, 8.5rem);
  --step-numeral: clamp(4.5rem, 3rem + 7vw, 11rem);

  --lh-display: 0.92;
  --lh-tight: 1.15;
  --lh-body: 1.6;
  --track-display: 0.01em;
  --track-label: 0.12em;
  --track-button: 0.04em;
  --measure: 62ch;
  --measure-wide: 78ch;

  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;
  --space-3xl: 104px;
  --space-section: clamp(64px, 10vh, 128px);
  --gutter: clamp(20px, 4vw, 56px);
  --shell: 1120px;
  --shell-wide: 1320px;

  --sidebar-w: clamp(240px, 20vw, 300px);
  --topbar-h: 64px;
  --content-left: 0px;

  --radius: 0;
  --border: 1px solid var(--charcoal);
  --border-rule: 1px solid var(--rule);
  --shadow-ink: 6px 6px 0 var(--clay-35);
  --shadow-ink-sm: 4px 4px 0 var(--clay-35);
  --shadow-ink-lg: 10px 10px 0 var(--clay-35);
  --shadow-hard: 4px 4px 0 var(--charcoal);

  --dur-instant: 90ms;
  --dur-fast: 140ms;
  --dur-base: 180ms;
  --dur-slow: 380ms;
  --dur-fade: 700ms;
  --dur-scene: 1100ms;
  --ease-out: cubic-bezier(0.22, 0.8, 0.28, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-press: cubic-bezier(0.3, 0, 0.2, 1);
  --ease-ink: cubic-bezier(0.16, 1, 0.3, 1);

  --z-base: 1;
  --z-progress: 40;
  --z-header: 50;
  --z-scrim: 60;
  --z-drawer: 70;
  --z-chat: 80;
  --z-consent: 90;
  --z-skip: 100;

  color-scheme: light;
}

@media (max-width: 959.98px) {
  :root {
    --sidebar-w: 0px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--space-m);
  overflow-x: hidden;
}

@media (max-width: 959.98px) {
  html {
    scroll-padding-top: calc(var(--topbar-h) + var(--space-s));
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--cicu-674);
  font-size: var(--cicu-088);
  line-height: var(--lh-body);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(94, 81, 71, 0.10) 0 0.6px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(94, 81, 71, 0.08) 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 45% 60%, rgba(158, 81, 52, 0.06) 0 0.5px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(185, 138, 108, 0.10), transparent 60%);
  background-size: 7px 7px, 11px 11px, 5px 5px, 100% 100%;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  font-style: italic;
  color: var(--ink-soft);
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

p,
li,
dd,
blockquote,
figcaption {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

::selection {
  background: var(--rust);
  color: var(--paper);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}

h1,
h2,
.display {
  font-family: var(--cicu-ab2);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  color: var(--charcoal);
  font-feature-settings: "kern", "liga";
}

h1,
.h1 {
  font-size: var(--cicu-834);
}

.h-hero {
  font-family: var(--cicu-ab2);
  font-size: var(--step-hero);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2,
.h2 {
  font-size: var(--cicu-3ed);
}

h3,
.h3 {
  font-family: var(--cicu-ab2);
  font-size: var(--cicu-31f);
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--terracotta);
}

h4,
.h4 {
  font-family: var(--cicu-674);
  font-weight: 700;
  font-size: var(--cicu-4df);
  line-height: var(--lh-tight);
  color: var(--charcoal);
}

h5,
h6 {
  font-family: var(--cicu-a1a);
  font-size: var(--step--2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
}

p {
  margin: 0;
  text-wrap: pretty;
}

small {
  font-size: var(--step--1);
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

code,
kbd,
samp,
.mono {
  font-family: var(--cicu-a1a);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-xl) 0;
}

.label,
.eyebrow {
  display: inline-block;
  font-family: var(--cicu-a1a);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.label--rust {
  color: var(--rust-deep);
}

.standfirst,
.lede {
  font-family: var(--cicu-674);
  font-style: italic;
  font-size: var(--cicu-4df);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
  hanging-punctuation: first last;
}

.numeral {
  font-family: var(--cicu-ab2);
  font-size: var(--step-numeral);
  line-height: 0.8;
  color: var(--terracotta);
  font-variant-numeric: lining-nums;
}

.figure-num {
  font-family: var(--cicu-a1a);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--ink-soft);
}

.accent {
  color: var(--rust);
}

.prose {
  max-width: var(--measure);
  hanging-punctuation: first last;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose > h2 {
  margin-top: 1.6em;
  font-size: var(--cicu-31f);
}

.prose > h3 {
  margin-top: 1.8em;
  font-size: var(--cicu-0e4);
}

.prose > h2 + *,
.prose > h3 + *,
.prose > h4 + * {
  margin-top: 0.6em;
}

.prose a {
  color: var(--terracotta);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-thickness var(--dur-fast) var(--ease-out);
}

.prose a:hover {
  color: var(--rust);
  text-decoration-thickness: 2px;
}

.prose a:active {
  color: var(--rust-deep);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose ul li::marker {
  color: var(--rust);
}

.prose ol li::marker {
  font-family: var(--cicu-a1a);
  font-size: 0.85em;
  color: var(--terracotta);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 1.2em;
  border-left: 3px double var(--clay);
  font-style: italic;
  font-size: var(--cicu-4df);
  color: var(--charcoal);
}

.prose strong {
  color: var(--charcoal);
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide {
  max-width: calc(var(--shell-wide) + var(--gutter) * 2);
}

.shell--narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--oat {
  background-color: var(--oat);
}

.section--paper-deep {
  background-color: var(--paper-deep);
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--on-dark);
}

.section--dark .label,
.section--dark .standfirst {
  color: var(--on-dark-soft);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, var(--space-m));
}

.stack > * {
  min-width: 0;
}

.stack--tight {
  --stack-gap: var(--space-xs);
}

.stack--loose {
  --stack-gap: var(--space-xl);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, var(--space-s));
  align-items: center;
}

.cluster > * {
  min-width: 0;
}

.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-l));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 280px)), 1fr));
}

.grid > * {
  min-width: 0;
}

.split {
  display: grid;
  gap: var(--split-gap, clamp(var(--space-l), 5vw, var(--space-2xl)));
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.split > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .split--5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .split--center {
    align-items: center;
  }
}

.rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--charcoal);
  margin: 0;
}

.rule--double {
  height: 5px;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
}

.rule--soft {
  border-top-color: var(--rule);
}

.measure {
  max-width: var(--measure);
}

.center {
  text-align: center;
  margin-inline: auto;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: currentColor;
  stroke: currentColor;
  vertical-align: -0.15em;
}

.icon--lg {
  width: 1.6em;
  height: 1.6em;
}

.bakoe61 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-fade: 0ms;
    --dur-scene: 0ms;
  }

  html {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body::before,
  .sidebar,
  .chat,
  .consent,
  .scroll-progress {
    display: none !important;
  }

  .page {
    margin-left: 0 !important;
  }
}
