@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --cream: #F4EDE1;
  --oat: #E6DAC6;
  --clay: #B98A6B;
  --terracotta: #7F3E27;
  --charcoal: #2B2521;
  --ink: #1B1714;
  --rule: #CBBBA2;
  --rust: #963512;

  --cream-deep: #EFE5D5;
  --oat-deep: #DCCDB4;
  --rule-strong: #A99379;
  --rust-deep: #983513;
  --rust-wash: rgba(184, 67, 27, 0.09);
  --text: var(--charcoal);
  --text-muted: #54473E;
  --text-faint: #5E5046;
  --on-dark: #F4EDE1;
  --on-dark-muted: #CDBFAD;
  --rule-dark: rgba(244, 237, 225, 0.18);
  --grid-line: rgba(156, 79, 51, 0.075);
  --scrim: rgba(27, 23, 20, 0.52);

  --jofi-af7: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --jofi-aef: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --jofi-d65: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.4rem, 1.1rem + 5.6vw, 6.6rem);
  --fs-h1: clamp(2.1rem, 1.2rem + 4.2vw, 5.4rem);
  --fs-h2: clamp(1.75rem, 1.15rem + 2.5vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.08rem + 0.95vw, 1.9rem);
  --fs-h4: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead: clamp(1.15rem, 1.04rem + 0.55vw, 1.42rem);
  --fs-body: clamp(1.0625rem, 1.02rem + 0.18vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-meta: 0.8125rem;
  --fs-micro: 0.72rem;

  --lh-tight: 1.02;
  --lh-head: 1.12;
  --lh-snug: 1.35;
  --lh-body: 1.6;
  --track-display: -0.02em;
  --track-head: -0.012em;
  --track-mono: 0.04em;
  --track-caps: 0.12em;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 104px;
  --s-7: 168px;
  --s-half: 4px;
  --s-1-5: 12px;

  --space-section: clamp(64px, 10vw, 168px);
  --space-block: clamp(40px, 6vw, 104px);
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 66ch;
  --measure-narrow: 44ch;
  --content-max: 1240px;
  --sidebar-w: clamp(248px, 22vw, 312px);
  --bar-h: 64px;
  --tap: 44px;
  --btn-h: 48px;

  --radius: 0;
  --hair: 1px solid var(--rule);
  --hair-strong: 1px solid var(--rule-strong);
  --hair-ink: 1px solid var(--ink);
  --shadow-doc: 0 1px 0 rgba(27, 23, 20, 0.05), 0 2px 6px -2px rgba(43, 37, 33, 0.12), 0 32px 64px -32px rgba(43, 37, 33, 0.38);
  --shadow-lift: 0 10px 22px -14px rgba(27, 23, 20, 0.55);
  --shadow-press: inset 0 2px 0 rgba(27, 23, 20, 0.22);
  --shadow-panel: 0 24px 48px -20px rgba(27, 23, 20, 0.45), 0 2px 0 rgba(27, 23, 20, 0.06);
  --focus-ring: 0 0 0 2px var(--cream), 0 0 0 4px var(--rust);

  --dur-instant: 90ms;
  --dur-fast: 140ms;
  --dur-base: 180ms;
  --dur-medium: 320ms;
  --dur-slow: 560ms;
  --dur-reveal: 1s;
  --dur-draw: 1.2s;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.8, 0.2);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-draft: cubic-bezier(0.33, 0, 0.15, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);

  --z-base: 1;
  --z-sticky: 20;
  --z-header: 60;
  --z-scrim: 70;
  --z-drawer: 80;
  --z-consent: 90;
  --z-chat: 95;
  --z-skip: 100;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--cream);
  hanging-punctuation: first last;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
  color: var(--text);
  font-family: var(--jofi-aef);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

html.nav-open body {
  overflow: hidden;
}

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

img {
  height: auto;
  background-color: var(--oat);
}

img[src$=".svg"] {
  background-color: transparent;
}

iframe,
embed,
object {
  max-width: 100%;
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

:focus {
  outline: none;
}

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

.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: currentColor;
  stroke: currentColor;
  display: inline-block;
  vertical-align: -0.18em;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--jofi-af7);
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
  font-weight: 400;
}

h1,
.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}

h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}

h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: var(--track-head);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
}

h4,
.h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  font-weight: 600;
  font-variation-settings: "opsz" 24;
}

.display {
  font-family: var(--jofi-af7);
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em,
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

p,
li {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: var(--fs-small);
}

code,
kbd,
samp,
pre {
  font-family: var(--jofi-d65);
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  max-width: 100%;
  padding: var(--s-2);
  background: var(--oat);
  border: var(--hair);
}

hr {
  border: 0;
  border-top: var(--hair);
  margin: var(--s-4) 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

th {
  text-align: left;
  font-family: var(--jofi-d65);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}

address {
  font-style: normal;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--charcoal);
  max-width: 52ch;
}

.mono {
  font-family: var(--jofi-d65);
  letter-spacing: var(--track-mono);
}

.meta {
  font-family: var(--jofi-d65);
  font-size: var(--fs-meta);
  letter-spacing: var(--track-mono);
  color: var(--text-muted);
  line-height: 1.5;
}

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75em;
  font-family: var(--jofi-d65);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--terracotta);
  line-height: 1.4;
}

.eyebrow__index {
  color: var(--rust);
  letter-spacing: var(--track-mono);
}

.eyebrow__index::after {
  content: "";
  display: inline-block;
  width: 2.2em;
  height: 1px;
  margin-left: 0.75em;
  vertical-align: 0.3em;
  background: currentColor;
}

.coord {
  font-family: var(--jofi-d65);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  color: var(--text-faint);
  text-transform: uppercase;
}

.muted {
  color: var(--text-muted);
}

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

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

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

.prose h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.3rem);
  margin-top: 2em;
}

.prose h3 {
  font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem);
  margin-top: 1.7em;
}

.prose h4 {
  margin-top: 1.5em;
}

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

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

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

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

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

.prose a {
  color: var(--terracotta);
  text-decoration-color: var(--clay);
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}

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

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

.prose blockquote {
  border-left: 2px solid var(--rust);
  padding: 0.2em 0 0.2em 1.2em;
  font-family: var(--jofi-af7);
  font-size: 1.22em;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}

.prose table {
  font-size: var(--fs-small);
}

.prose th,
.prose td {
  padding: 0.7em 0.9em;
  border-bottom: var(--hair);
  vertical-align: top;
}

.prose dt {
  font-family: var(--jofi-d65);
  font-size: var(--fs-meta);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--terracotta);
}

.prose dd {
  margin: 0.2em 0 0.9em;
}

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

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

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

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

.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-section);
  border-bottom: var(--hair);
}

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

.tone-cream {
  background: var(--cream);
}

.tone-oat {
  background: var(--oat);
}

.tone-wash {
  background: linear-gradient(180deg, var(--cream) 0%, var(--oat) 100%);
}

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

.tone-dark h1,
.tone-dark h2,
.tone-dark h3,
.tone-dark h4,
.tone-dark .display {
  color: var(--cream);
}

.tone-dark .eyebrow {
  color: var(--clay);
}

.tone-dark .meta,
.tone-dark .muted {
  color: var(--on-dark-muted);
}

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

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

.stack--sm {
  --stack-gap: var(--s-2);
}

.stack--lg {
  --stack-gap: var(--s-4);
}

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

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

.grid {
  display: grid;
  gap: var(--grid-gap, var(--s-4));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 18rem)), 1fr));
}

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

.grid--2 {
  --grid-min: 22rem;
}

.grid--3 {
  --grid-min: 16rem;
}

.grid--4 {
  --grid-min: 12.5rem;
}

.split {
  display: grid;
  gap: var(--s-4) var(--s-5);
  grid-template-columns: minmax(0, 1fr);
}

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

@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--wide-left {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.section-head {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  max-width: 60rem;
}

.section-head > p {
  max-width: 58ch;
  color: var(--text-muted);
}

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

.rule-bottom {
  border-bottom: var(--hair);
}

.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;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

.no-js-hide {
  display: none;
}

html.js .no-js-hide {
  display: revert;
}

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

  html {
    scroll-behavior: auto;
  }

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

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .sidebar,
  .consent,
  .chat,
  .site-footer {
    display: none !important;
  }

  .column {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }
}
