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

:root {
  --paper: #F1E8D6;
  --paper-deep: #E3D3B6;
  --paper-edge: #D6C3A1;
  --ink: #2B1B14;
  --ink-soft: #4E3a2C;
  --ink-mute: #6A5442;
  --oxblood: #6E1F1F;
  --oxblood-deep: #461312;
  --oxblood-wash: #F3E1D6;
  --rule: #8B765C;
  --gold: #B38B3F;
  --gold-bright: #CFA65A;
  --on-dark: #F1E8D6;
  --on-dark-soft: #D9CBB1;
  --error: #8F1D14;
  --ok: #3F5B2A;

  --lofe-843: "League Gothic", "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --lofe-058: "EB Garamond", "Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --lofe-29c: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: clamp(0.72rem, 0.69rem + 0.12vw, 0.8rem);
  --step--1: clamp(0.86rem, 0.82rem + 0.18vw, 0.95rem);
  --lofe-b8c: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);
  --lofe-d1a: clamp(1.22rem, 1.12rem + 0.5vw, 1.5rem);
  --lofe-b19: clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem);
  --lofe-384: clamp(1.9rem, 1.55rem + 1.7vw, 3rem);
  --lofe-1bc: clamp(2.4rem, 1.8rem + 3vw, 4.6rem);
  --lofe-ce4: clamp(2.9rem, 2rem + 5vw, 7rem);
  --step-poster: clamp(3.25rem, 1rem + 15vw, 15rem);

  --lh-poster: 0.86;
  --lh-display: 0.92;
  --lh-tight: 1.18;
  --lh-body: 1.55;
  --track-display: 0.01em;
  --track-caps: 0.08em;
  --track-mono: 0.02em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1.25rem;
  --space-5: 2rem;
  --space-6: 3.25rem;
  --space-7: 5.25rem;
  --space-8: 8.5rem;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --shell: 1320px;
  --measure: 64ch;
  --measure-narrow: 46ch;
  --scene-pad: clamp(4rem, 12vw, 9rem);
  --header-h: 4.5rem;

  --radius: 0;
  --hairline: 1px solid var(--rule);
  --hairline-dark: 1px solid rgba(241, 232, 214, 0.22);
  --rule-press: 3px solid var(--oxblood);
  --shadow-press: 0 1px 0 rgba(43, 27, 20, 0.08), 0 14px 30px -18px rgba(43, 27, 20, 0.45);
  --shadow-lift: 0 2px 0 rgba(43, 27, 20, 0.12), 0 22px 44px -22px rgba(43, 27, 20, 0.55);
  --shadow-deep: 0 30px 60px -30px rgba(20, 10, 6, 0.7);

  --dur-instant: 90ms;
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 520ms;
  --dur-scene: 900ms;
  --ease-out: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-press: cubic-bezier(0.3, 0.7, 0.2, 1);
  --ease-stamp: cubic-bezier(0.18, 1.25, 0.4, 1);

  --z-base: 1;
  --z-sticky: 20;
  --z-header: 100;
  --z-sheet: 90;
  --z-chat: 140;
  --z-consent: 150;
  --z-skip: 200;

  --grain: radial-gradient(circle at 20% 30%, rgba(43, 27, 20, 0.9) 0 0.6px, transparent 0.9px),
    radial-gradient(circle at 70% 60%, rgba(43, 27, 20, 0.8) 0 0.5px, transparent 0.8px),
    radial-gradient(circle at 40% 85%, rgba(110, 31, 31, 0.8) 0 0.5px, transparent 0.8px);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--lofe-058);
  font-size: var(--lofe-b8c);
  line-height: var(--lh-body);
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: var(--grain);
  background-size: 7px 7px, 11px 11px, 13px 13px;
  mix-blend-mode: multiply;
}

body > * { position: relative; z-index: var(--z-base); }

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

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: var(--hairline); margin: var(--space-6) 0; }

p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6, p, li, dd, dt, td, th, figcaption { overflow-wrap: break-word; }

h1, h2, h3, .display {
  font-family: var(--lofe-843);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  font-variant-numeric: lining-nums;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--lofe-ce4); }
h2 { font-size: var(--lofe-1bc); }
h3 { font-size: var(--lofe-b19); line-height: 1; }

h4, h5, h6 {
  font-family: var(--lofe-058);
  font-weight: 600;
  font-size: var(--lofe-d1a);
  line-height: var(--lh-tight);
}

p { text-wrap: pretty; }

a:not([class]) {
  color: var(--oxblood);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-thickness var(--dur-fast) var(--ease-out);
}
a:not([class]):hover { color: var(--oxblood-deep); text-decoration-thickness: 2px; }
a:not([class]):active { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}
.on-dark :focus-visible, .scene--dark :focus-visible { outline-color: var(--gold-bright); }

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

strong, b { font-weight: 600; }
em, i { font-style: italic; }
small { font-size: var(--step--1); }

.mono, code, kbd, samp {
  font-family: var(--lofe-29c);
  font-size: 0.86em;
  letter-spacing: var(--track-mono);
  font-variant-numeric: lining-nums tabular-nums;
}

.label, .kicker {
  font-family: var(--lofe-058);
  font-weight: 500;
  font-size: var(--step--1);
  font-variant-caps: all-small-caps;
  letter-spacing: var(--track-caps);
  line-height: 1.3;
  color: var(--ink-soft);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--lofe-b8c);
  color: var(--oxblood);
}
.kicker::before {
  content: "";
  inline-size: 2.25rem;
  block-size: 0;
  border-top: 3px double currentColor;
  flex: none;
}
.on-dark .kicker, .scene--dark .kicker { color: var(--gold-bright); }

.standfirst {
  font-size: var(--lofe-d1a);
  line-height: 1.42;
  max-width: 38ch;
  color: var(--ink-soft);
}
.on-dark .standfirst { color: var(--on-dark-soft); }

.lede::first-letter {
  font-family: var(--lofe-843);
  float: left;
  font-size: 3.6em;
  line-height: 0.8;
  padding: 0.06em 0.08em 0 0;
  color: var(--oxblood);
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--lofe-384); margin-top: 1.6em; }
.prose h3 { font-size: var(--lofe-b19); margin-top: 1.5em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--oxblood); }
.prose blockquote {
  border-left: 3px solid var(--oxblood);
  padding: 0.2em 0 0.2em 1.1em;
  font-style: italic;
  font-size: var(--lofe-d1a);
  hanging-punctuation: first;
}
.prose a { overflow-wrap: anywhere; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.shell--wide { max-width: calc(1600px + var(--gutter) * 2); }

.stack > * + * { margin-top: var(--stack-gap, var(--space-4)); }
.stack--tight { --stack-gap: var(--space-2); }
.stack--loose { --stack-gap: var(--space-6); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, var(--space-3));
  align-items: center;
}
.cluster > * { min-width: 0; }

.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-5));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 16rem)), 1fr));
}
.grid > *, .split > * { min-width: 0; }

.split {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.rule { border: 0; border-top: var(--hairline); margin: 0; }
.rule-press {
  border: 0;
  height: 6px;
  margin: 0;
  border-top: 3px solid var(--oxblood);
  border-bottom: 1px solid var(--gold);
}

.lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--lofe-843);
  font-weight: 400;
  text-transform: uppercase;
  line-height: var(--lh-poster);
  letter-spacing: var(--track-display);
  font-size: var(--lockup-size, var(--lofe-ce4));
  color: var(--ink);
  max-width: 100%;
}
.lockup--poster { --lockup-size: var(--step-poster); }
.lockup--section { --lockup-size: var(--lofe-1bc); }
.lockup__line {
  position: relative;
  display: block;
  max-width: 100%;
}
.lockup__line--offset { margin-left: var(--lockup-offset, 0.9em); }
.lockup__line--accent { color: var(--oxblood); }
.lockup__line--cut { isolation: isolate; }
.lockup__rule {
  position: absolute;
  left: -0.25em;
  right: -0.35em;
  top: 0.47em;
  height: max(2px, 0.035em);
  background: var(--gold);
  transform-origin: left center;
  pointer-events: none;
  z-index: -1;
}
.on-dark .lockup, .scene--dark .lockup { color: var(--on-dark); }
.on-dark .lockup__line--accent, .scene--dark .lockup__line--accent { color: var(--gold-bright); }

.on-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark a:not([class]) { color: var(--gold-bright); }

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

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

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

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-scene: 0ms;
  }
}

@media print {
  body::before { display: none; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
