@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
}

:root {
  --ink: #10110f;
  --ink-soft: #1b1d19;
  --steel: #292c27;
  --steel-light: #454b42;
  --blue: #795d47;
  --blue-bright: #d3b392;
  --blue-surface: #49382c;
  --signal: #c78852;
  --signal-dark: #855030;
  --paper: #f6f2ec;
  --paper-deep: #eadfd2;
  --white: #ffffff;
  --text: #24231f;
  --muted: #5d6058;
  --line: rgba(48, 39, 29, 0.18);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: 'Instrument Sans', 'Avenir Next', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --step--1: clamp(0.72rem, 0.69rem + 0.16vw, 0.82rem);
  --step-0: clamp(0.94rem, 0.91rem + 0.18vw, 1.04rem);
  --step-1: clamp(1.12rem, 1.04rem + 0.4vw, 1.34rem);
  --step-2: clamp(1.36rem, 1.2rem + 0.76vw, 1.8rem);
  --step-3: clamp(1.7rem, 1.44rem + 1.24vw, 2.4rem);
  --step-4: clamp(2.15rem, 1.76rem + 1.92vw, 3.22rem);
  --step-5: clamp(2.65rem, 2.05rem + 3vw, 4.45rem);
  --step-6: clamp(3rem, 2.2rem + 4vw, 5.25rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow: 0 24px 70px rgba(2, 10, 16, 0.24);
  --container: 1200px;
  --section: clamp(5.5rem, 9.5vw, 8.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-base: 1;
  --z-float: 10;
  --z-nav: 30;
  --z-modal: 50;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: rgba(2, 8, 13, 0.66);
  content: '';
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-4);
}

h3 {
  font-size: var(--step-2);
}

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

p,
li {
  text-wrap: pretty;
}

p {
  max-width: 70ch;
}

strong {
  font-weight: 600;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 48px), 880px);
  margin-inline: auto;
}

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

.section-dark {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.section-steel {
  background: var(--ink-soft);
  color: var(--white);
}

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

.section-white {
  background: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: '';
}

.section-dark .eyebrow,
.section-steel .eyebrow {
  color: var(--blue-bright);
}

.lead {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.section-dark .lead,
.section-steel .lead {
  color: #b8c7cf;
}

.display {
  font-size: var(--step-6);
  letter-spacing: -0.04em;
}

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

.text-blue {
  color: var(--blue-bright);
}

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

.kicker-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(228, 167, 110, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 167, 110, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 72px;
  }

  .lead {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
