@font-face {
  font-family: Epilogue;
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("fonts/epilogue-latin.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --shell-ink: #f5f2ee;
  --shell-muted: #ccc6bf;
  --shell-line: #383532;
  --shell-accent: #d18369;
}

.site-header,
.site-footer,
.site-header *,
.site-footer * {
  box-sizing: border-box;
}

.site-wrap {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  margin: 10px;
  border: 1px solid var(--shell-line);
  border-radius: 18px;
  background: #141413;
  color: var(--shell-ink);
}

.site-nav {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  color: var(--shell-ink);
  font: 900 clamp(16px, 1.5vw, 19px)/1 Epilogue, Arial, sans-serif;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-link {
  color: var(--shell-ink);
  font: 800 11px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav-link:hover,
.site-nav-link[aria-current="page"],
.site-footer a:hover {
  color: var(--shell-accent);
}

.site-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--shell-accent);
  color: #171311;
  font: 800 13px/1.3 Manrope, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}

.site-pill:hover {
  transform: translateY(-2px);
  background: var(--shell-ink);
  color: #111110;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid var(--shell-accent);
  outline-offset: 4px;
}

.site-footer {
  margin-top: auto;
  padding-block: 48px 36px;
  background: #0d0c0b;
  color: var(--shell-ink);
  font-family: Manrope, Arial, sans-serif;
  text-transform: none;
}

.site-footer-main,
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.site-footer-links a,
.site-footer-bottom {
  color: var(--shell-muted);
  font-size: 12px;
  text-decoration: none;
}

.site-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-footer-bottom {
  margin-top: 42px;
}

.site-footer-credit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  color: var(--shell-ink);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer-credit img {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: contain;
}

.site-footer-credit strong {
  display: block;
  font: 800 15px/1.2 Epilogue, Arial, sans-serif;
}

@media (max-width: 680px) {
  .site-wrap {
    width: min(100% - 32px, 1400px);
  }

  .site-header {
    margin: 6px;
    border-radius: 13px;
  }

  .site-nav {
    min-height: 62px;
    gap: 8px;
  }

  .site-nav-link {
    font-size: 10px;
    letter-spacing: .03em;
  }

  .site-brand {
    font-size: 14px;
  }

  .site-nav-links {
    gap: 10px;
  }

  .site-pill {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .site-footer {
    padding-block: 40px 32px;
  }

  .site-footer-main,
  .site-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer-links {
    justify-content: center;
    gap: 4px 22px;
  }

  .site-footer-bottom {
    margin-top: 30px;
    gap: 18px;
  }

  .site-footer-credit {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-pill {
    transition: none;
  }
}
