:root {
  --teal-950: #0b2d35;
  --teal-900: #103842;
  --teal-850: #154650;
  --paper: #f7f2e9;
  --paper-2: #eae1d0;
  --ink: #2b2823;
  --ink-soft: #5f5951;
  --mustard: #d7a63c;
  --mustard-deep: #c18f27;
  --rust: #a65741;
  --line: rgba(43, 40, 35, 0.18);
  --page-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--teal-950);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--teal-950);
  border: 3px solid var(--mustard);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-socials {
  position: fixed;
  z-index: 90;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  color: rgba(247, 242, 233, 0.8);
  background: rgba(11, 45, 53, 0.68);
  border: 1px solid rgba(247, 242, 233, 0.16);
  backdrop-filter: blur(8px);
}

.top-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: inherit;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}

.top-socials a:first-child {
  color: var(--mustard);
}

.top-socials a:hover,
.top-socials a:focus-visible {
  color: var(--paper);
  transform: translateY(-1px);
  outline: none;
}

.site-footer {
  color: rgba(247, 242, 233, 0.75);
  background: var(--teal-950);
  border-top: 1px solid rgba(247, 242, 233, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 36px), var(--page-width));
  margin: 0 auto;
  padding: 24px 0;
  font-size: 14px;
}

.footer-inner strong {
  color: var(--paper);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
