/* Hidden Layer brand system. Page-specific layout remains inline. */

:root {
  --hl-paper: #f3f1ec;
  --hl-ink: #111111;
  --hl-orange: #ff6a00;
  --hl-violet: #6b39ff;
  --hl-coral: #ff5a4e;
  --hl-gold: #c9a24a;
  --hl-line: rgba(17, 17, 17, .18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-synthesis: none;
}

::selection {
  background: var(--hl-orange);
  color: var(--hl-ink);
}

a,
button,
input,
select {
  -webkit-tap-highlight-color: rgba(16, 17, 22, .14);
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header {
  min-height: 68px;
  padding: 24px 5vw;
  background: var(--paper, var(--hl-paper));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 32px;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
}

.brand-name {
  white-space: nowrap;
}

nav {
  gap: 24px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header a,
footer a,
.text-link,
button {
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-header a:hover,
footer a:hover,
.text-link:hover {
  color: var(--brand-hover, var(--hl-orange));
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--hl-violet);
  outline-offset: 4px;
}

.eyebrow {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .23em;
}

.text-link {
  font-size: 14px;
}

footer {
  min-height: 68px;
  padding: 26px 5vw;
  font-size: 11px;
  letter-spacing: .12em;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: none;
}

.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.footer-links a,
footer > a {
  text-decoration: none;
}

.footer-separator {
  opacity: .55;
}

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

@media (max-width: 760px) {
  .site-header {
    min-height: 52px;
    padding: 4px 5vw;
  }

  .brand {
    min-height: 44px;
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    min-height: 44px;
    font-size: 9px;
  }

  .footer-links {
    gap: 14px;
  }
}
