@font-face {
  font-family: "Domine";
  src: url("../fonts/domine-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domine";
  src: url("../fonts/domine-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --river: #163844;
  --celadon: #6e9a78;
  --mist: #e3eae4;
  --ink: #1a2a30;
  --mute: #5c6b66;
  --line: #c5d0c8;
  --field: #f7faf8;
  --display: "Domine", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Mulish", "Segoe UI", system-ui, sans-serif;
  --max: 72rem;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

p,
ul,
ol,
dl {
  margin: 0;
}

a {
  color: var(--river);
}

:focus-visible {
  outline: 2px solid var(--river);
  outline-offset: 3px;
}

.nvs-top :focus-visible,
.nvs-open :focus-visible,
.nvs-titlebar :focus-visible {
  outline-color: var(--mist);
}

main {
  flex: 1 0 auto;
}

.nvs-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.5rem 0.85rem;
  background: var(--mist);
  color: var(--river);
  font-weight: 700;
  text-decoration: none;
}

.nvs-skip:focus {
  top: 0.6rem;
}

.nvs-wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.nvs-top {
  background: var(--river);
  color: var(--mist);
  padding: 1.05rem 0 0.95rem;
}

.nvs-mark {
  display: inline-block;
  text-decoration: none;
}

.nvs-mark img {
  width: auto;
  height: 34px;
}

.nvs-words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  margin-top: 0.8rem;
}

.nvs-words a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mist);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.nvs-words a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nvs-dot {
  width: 8px;
  height: 8px;
  background: transparent;
  flex: none;
}

.nvs-words a[aria-current="page"] .nvs-dot {
  background: var(--celadon);
}

.nvs-open {
  background: var(--river);
  color: var(--mist);
  padding: 1.6rem 0 3.2rem;
}

.nvs-open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(7.5rem, 0.55fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.nvs-open h1 {
  max-width: 16ch;
  color: var(--mist);
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
}

.nvs-lead {
  max-width: 40rem;
  margin-top: 1rem;
}

.nvs-open .nvs-lead {
  color: var(--mist);
}

.nvs-figure {
  margin: 0;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(4.4rem, 11vw, 7.6rem);
  font-weight: 700;
  line-height: 0.85;
  text-align: right;
}

.nvs-line {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--celadon);
  transform: scaleX(0);
  transform-origin: left center;
}

.nvs-line.nvs-drawn {
  transform: scaleX(1);
  transition: transform 700ms ease;
}

.nvs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 1.45rem;
  padding: 0.75rem 1.3rem;
  border: 0;
  border-radius: 17px;
  background: var(--celadon);
  color: var(--river);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.nvs-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nvs-sheet {
  padding: 2.35rem 0;
}

.nvs-sheet + .nvs-sheet {
  border-top: 1px solid var(--line);
}

.nvs-sheet h2 {
  margin-bottom: 0.9rem;
  color: var(--river);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.nvs-rows,
.nvs-links,
.nvs-points {
  padding: 0;
  list-style: none;
}

.nvs-rows li,
.nvs-office > div,
.nvs-asks > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 14rem) minmax(0, 1fr);
  gap: 0.45rem 1.75rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.nvs-rows a,
.nvs-links a {
  color: var(--river);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.nvs-rows a:hover,
.nvs-links a:hover,
.nvs-text:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nvs-text {
  color: var(--river);
  font-weight: 700;
}

.nvs-titlebar {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0.7rem 0;
  background: var(--river);
  color: var(--mist);
}

.nvs-titlebar h1 {
  color: var(--mist);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.nvs-prose > * + * {
  margin-top: 1rem;
}

.nvs-prose h2 {
  margin-top: 1.7rem;
  margin-bottom: 0;
  color: var(--river);
  font-size: 1.45rem;
}

.nvs-links li + li {
  margin-top: 0.4rem;
}

.nvs-points {
  padding-left: 1.2rem;
  list-style: decimal;
}

.nvs-points li + li {
  margin-top: 0.35rem;
}

.nvs-beats {
  margin-top: 0.4rem;
  padding-left: 1.25rem;
}

.nvs-beats li + li {
  margin-top: 0.4rem;
}

.nvs-office,
.nvs-asks {
  margin-top: 0.3rem;
}

.nvs-office dt,
.nvs-asks dt {
  font-weight: 700;
  color: var(--river);
}

.nvs-muted {
  color: var(--mute);
}

.nvs-form {
  display: grid;
  gap: 0.4rem;
  max-width: 36rem;
  margin-top: 1.3rem;
}

.nvs-form label {
  margin-top: 0.55rem;
  font-weight: 700;
}

.nvs-form input,
.nvs-form select,
.nvs-form textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

.nvs-form-error {
  color: #7a2e2e;
  font-weight: 700;
}

.nvs-foot {
  padding: 1.5rem 0 2rem;
  border-top: 4px solid var(--river);
  background: var(--mist);
  color: var(--ink);
}

.nvs-foot-legal {
  display: grid;
  gap: 0.25rem;
}

.nvs-foot-legal strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.nvs-foot-note {
  max-width: 46rem;
  color: var(--mute);
}

.nvs-foot-links,
.nvs-foot-id {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin-top: 0.85rem;
}

.nvs-foot-links a,
.nvs-foot-id a {
  color: var(--river);
  font-weight: 700;
}

@media (max-width: 800px) {
  .nvs-open-grid,
  .nvs-rows li,
  .nvs-office > div,
  .nvs-asks > div {
    grid-template-columns: 1fr;
  }

  .nvs-figure {
    text-align: left;
    font-size: clamp(3.4rem, 22vw, 5.2rem);
  }

  .nvs-open h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvs-line {
    transform: scaleX(1);
    transition: none;
  }
}
