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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(20, 24, 30, .026) 1px, transparent 1px),
    radial-gradient(rgba(20, 24, 30, .018) 1px, transparent 1px);
  background-position: 0 0, 2px 3px;
  background-size: 3px 3px, 7px 7px;
  mix-blend-mode: multiply;
}

body.menu-open,
body.loading { overflow: hidden; }

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


.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

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

h1, h2, h3, h4, p, blockquote, figure { margin: 0; }


h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 56, "wght" 560, "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(58px, 9.7vw, 156px); line-height: .82; letter-spacing: -0.012em; font-variation-settings: "opsz" 144, "wght" 560, "SOFT" 0, "WONK" 0; }
h2 { font-size: clamp(38px, 6vw, 86px); line-height: .95; letter-spacing: -0.008em; font-variation-settings: "opsz" 120, "wght" 560, "SOFT" 0, "WONK" 0; }
h3 { font-size: clamp(27px, 3vw, 44px); line-height: 1.02; font-variation-settings: "opsz" 72, "wght" 580, "SOFT" 0, "WONK" 0; }
h4 { font-size: 26px; line-height: 1.08; font-variation-settings: "opsz" 48, "wght" 600, "SOFT" 0, "WONK" 0; }

:focus-visible {
  outline: 2px solid var(--verdigris);
  outline-offset: 4px;
}

.hero :focus-visible,
.audit :focus-visible,
.contact :focus-visible { outline-color: var(--verdigris-bright); }

::selection { background: rgba(138, 43, 46, .24); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--oxide);
  font-weight: 700;
}

.eyebrow .chain-mark { flex: none; display: block; width: 40px; height: 16px; }
.eyebrow--bright { color: var(--oxide-bright); }

.lead {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.container {
  width: min(var(--max), calc(100% - (var(--page-x) * 2)));
  margin: 0 auto;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s cubic-bezier(.2, .7, .3, 1),
    background .25s ease, color .25s ease, border-color .25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover, .button:active { transform: none; box-shadow: none; }
}

.button--oxide { border-color: var(--verdigris); background: var(--verdigris); color: var(--paper); }
.button--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.button:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -8px rgba(44, 90, 82, .5); }
.button:active { transform: translateY(-1px); box-shadow: 0 5px 12px -8px rgba(44, 90, 82, .42); }

.button:not(.button--oxide):not(.button--light):hover {
  border-color: var(--verdigris); color: var(--verdigris); background: rgba(44, 90, 82, .08);
}

.hero .button:not(.button--oxide):not(.button--light):hover,
.contact .button:not(.button--oxide):not(.button--light):hover {
  border-color: var(--verdigris-bright); color: var(--verdigris-bright); background: rgba(91, 158, 141, .12);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .18, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
