@font-face {
  font-family: "Vouchr Sans";
  src: url("/assets/fonts/archivo-variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --private: #063f30;
  --private-deep: #031f19;
  --green: #169565;
  --gold: #d8a321;
  --paper: #f8f4ea;
  --panel: #fffdf8;
  --line: #d6dccf;
  --muted: #64706a;
  --ink: #111715;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Vouchr Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.directory-page {
  min-height: 100vh;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 82px / 100% 3px no-repeat,
    linear-gradient(180deg, #fffdf8 0, #f8f4ea 44%, #edf2e8 100%);
}

.directory-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(6, 63, 48, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: auto;
}

.brand-wordmark {
  width: 132px;
  height: auto;
}

.header-link {
  color: var(--private);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.directory-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 10vw, 112px) 0;
}

.directory-title {
  margin-bottom: clamp(36px, 7vw, 76px);
}

.directory-title p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.directory-title h1 {
  margin: 0;
  color: var(--private-deep);
  font-size: clamp(4.2rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.directory-list {
  border-top: 1px solid var(--line);
}

.directory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--private);
  text-decoration: none;
  transition: color 160ms ease, padding 160ms ease;
}

.directory-row strong,
.directory-row small {
  display: block;
}

.directory-row strong {
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.08;
}

.directory-row small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.directory-row svg {
  color: var(--gold);
  transition: transform 160ms ease;
}

.directory-row:hover {
  color: var(--green);
  padding-left: 10px;
}

.directory-row:hover svg {
  transform: translateX(5px);
}

@media (max-width: 640px) {
  .directory-header {
    min-height: 74px;
    padding: 0 18px;
  }

  .directory-page {
    background:
      linear-gradient(var(--gold), var(--gold)) 0 74px / 100% 3px no-repeat,
      linear-gradient(180deg, #fffdf8 0, #f8f4ea 48%, #edf2e8 100%);
  }

  .brand-mark {
    width: 40px;
  }

  .brand-wordmark {
    width: 112px;
  }

  .directory-shell {
    width: min(100% - 30px, 720px);
  }
}
