/* Shared visual foundations; page-specific type and spacing stay local. */
:root {
  --coal: #101312;
  --coal-2: #171b19;
  --ivory: #f2f1ec;
  --ivory-2: #b9bbb4;
  --hairline: #2c322f;
  --brass: #8A6A2F;
  --brass-text: #A88648;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  text-wrap: balance;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

header {
  border-bottom: 1px solid var(--hairline);
}

header .wrap {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark .logo {
  height: 30px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ivory-2);
  text-decoration: none;
}

nav a:hover {
  color: var(--ivory);
}

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--brass-text);
  margin-bottom: 34px;
}

.cta:hover {
  background: var(--ivory);
  color: var(--coal);
}

footer {
  border-top: 1px solid var(--hairline);
  background: var(--coal-2);
}

footer .wrap {
  padding: 26px 40px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ivory-2);
  letter-spacing: 0.04em;
}

footer a {
  color: var(--ivory-2);
}

footer a:hover {
  color: var(--ivory);
}

body {
  background: var(--coal);
  color: var(--ivory);
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cta {
  display: inline-block;
  border: 1px solid var(--ivory);
  color: var(--ivory);
  text-decoration: none;
  padding: 16px 40px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background 140ms ease, color 140ms ease;
}

@media (max-width: 780px) {
  .cta { display: block; text-align: center; }
}

@media (max-width: 520px) {
  .wrap, footer .wrap { padding-left: 24px; padding-right: 24px; }
  .wordmark .logo { height: 24px; }
  nav { gap: 20px; }
}

/* Keep the wordmark and navigation separate on the narrowest screens. */
@media (max-width: 360px) {
  .wordmark .logo { height: 20px; }
  nav { gap: 12px; }
}
