:root {
  --paper: #f9f9f9;
  --white: #fff;
  --ink: #030e28;
  --muted: #626262;
  --black: #050505;
  --panel: #191919;
  --line: #dedede;
  --dark-line: rgba(255, 255, 255, .16);
  --green: #496b54;
  --sand: #ded7ca;
  --title: "DM Sans", sans-serif;
  --body: "Lato", sans-serif;
  --container: 1320px;
  --gutter: 20px;
  --header-h: 76px;
  --radius: 5px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--muted); font-family: var(--body); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
main { display: block; }
section { position: relative; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--title); font-weight: 500; letter-spacing: -.045em; line-height: 1.16; }
h1 { font-size: clamp(2.65rem, 9vw, 4rem); }
h2 { font-size: clamp(1.9rem, 6vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
img { display: block; max-width: 100%; }
picture { display: block; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid #8fb9ff; outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section { padding-block: 84px; }
.eyebrow { margin-bottom: 17px; color: var(--ink); font-family: var(--title); font-size: .75rem; font-weight: 600; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.eyebrow.light { color: rgba(255, 255, 255, .86); }
.light, .light h2, .light h3 { color: var(--white); }
.muted { color: var(--muted); }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 10px 16px; background: var(--white); color: var(--black); transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08) 45%, rgba(0, 0, 0, .42)); pointer-events: none; }

.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.image-reveal { position: relative; overflow: hidden; }
.image-reveal::after { position: absolute; z-index: 2; inset: 0; background: var(--paper); content: ""; transform: translateY(-102%); transition: transform 1.2s var(--ease); }
.js .image-reveal::after { transform: none; }
.js .image-reveal.in::after, .js .in .image-reveal::after { transform: translateY(-102%); }
.image-reveal img { transition: transform 1.4s var(--ease); }
.js .image-reveal:not(.in) img { transform: scale(1.12); }
.js .image-reveal.in img, .js .in .image-reveal img { transform: scale(1); }

.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-char { display: inline-block; transform: translateY(115%); transition: transform .8s var(--ease); }
.split-space { display: inline-block; width: .24em; }
.split-ready .split-char, .no-motion .split-char { transform: none; }

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 82px; }
  .section { padding-block: 110px; }
  h1 { font-size: clamp(3.5rem, 6.5vw, 5rem); }
  h2 { font-size: clamp(2.15rem, 3.4vw, 3rem); }
}

@media (min-width: 1200px) {
  :root { --gutter: 42px; --header-h: 88px; }
  .section { padding-block: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .image-reveal::after { transform: translateY(-102%); }
  .js .image-reveal:not(.in) img { transform: none; }
  .split-char { transform: none; }
}
