@font-face {
  font-family: "Nohemi";
  src: url("../Nohemi-Font/Nohemi-VF-BF6438cc58ad63d.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-brand: "Nohemi", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #050607;
  --graphite: #0c0f14;
  --night: #20252e;
  --tidal-deep: #103a56;
  --tidal: #1c5c88;
  --tidal-glow: #56a6cc;
  --brand-blue: #b8efff;
  --horizon: #78a6ff;
  --cobalt: #2c62d6;
  --pearl: #fafbf9;
  --mist: #f1f4f2;
  --paper: #fff;
  --text: #102735;
  --text-soft: #3f5662;
  --text-muted: #586d7a;
  --line: #d7e4e1;
  --white-line: rgba(255, 255, 255, 0.18);
  --success: #5dd6ba;
  --warning: #f3c969;
  --error: #e85d75;
  --radius: 8px;
  --radius-hero: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --page: clamp(20px, 5vw, 72px);
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

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

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

img {
  height: auto;
}

::selection {
  color: var(--ink);
  background: var(--brand-blue);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--brand-blue);
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: 76px;
  padding: 0 var(--page);
  display: flex;
  align-items: center;
  gap: 30px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(20px) saturate(135%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.wordmark-icon {
  width: 26px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  letter-spacing: 0;
}

.wordmark-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(184, 239, 255, 0.2));
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.main-nav a {
  position: relative;
  padding: 9px 0;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 100% 3px 0;
  height: 1px;
  background: var(--brand-blue);
  transition: right 240ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: white;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  font-size: 11px;
  transition: background 160ms, color 160ms, border 160ms;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }
}

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

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

/* Nohemi needs a touch more air than the previous typeface. */
body {
  letter-spacing: 0.008em;
}

/* Headlines always use the display system's uppercase voice. */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote strong {
  text-transform: uppercase;
}
