/* Fonts */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

/* Tokens */
:root {
  --navy: #041e42;
  --blue: #1e407c;
  --blue-hover: #24488a;
  --pugh: #96bee6;
  --stone: #c9d1d4;
  --white: #ffffff;
  --hairline: rgba(150, 190, 230, 0.28);

  --wrapper-padding: 5rem;
  --grid-gutter: 1.5rem;
}

/* Base */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

a {
  color: var(--pugh);
}

a:focus-visible {
  outline: 3px solid var(--pugh);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Utilities */
.skip {
  position: absolute;
  left: -9999px;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  background: var(--pugh);
  color: var(--navy);
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(150, 190, 230, 0.25);
}
.site-header .content-wrapper {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
}
.brand span {
  color: var(--pugh);
}

.header-note {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Hero */
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  color: var(--stone);
  max-width: 56ch;
}

.rule {
  width: 72px;
  height: 4px;
  background: var(--pugh);
  margin-bottom: 2.5rem;
}

/* Section headings */
.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pugh);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--stone);
  max-width: 60ch;
  margin-bottom: 3rem;
}

/* Cards */
.card {
  display: block;
  height: 100%;
  padding: 1.75rem;
  text-decoration: none;
  background: var(--blue);
  border: 1px solid var(--hairline);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pugh);
  background: var(--blue-hover);
}

.card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9375rem;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.card .go {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pugh);
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--pugh);
}

/* About band */
.band {
  background: var(--blue);
  border-top: 1px solid var(--hairline);
}
.band p {
  font-size: 1.0625rem;
  color: var(--stone);
}

.mail {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: 3px solid var(--pugh);
  padding-bottom: 0.25rem;
}
.mail:hover {
  color: var(--pugh);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(150, 190, 230, 0.25);
}
.site-footer .content-wrapper {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--stone);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
