/* Palette and type. Same ATH system as abovethehook.com, warmer register. */
:root {
  --navy: #1C2E4A;
  --cream: #F5EFE4;
  --rust: #C14D2E;
  --bay: #5C8FA8;
  --marsh: #6F8F5A;
  --sand: #E8D9B8;

  --ink: var(--navy);
  --ground: var(--cream);
  --paper: #FBF8F1;
  --line: rgba(28, 46, 74, 0.14);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;

  --tap: 48px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body.has-panel { overflow: hidden; }

img, svg, video { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 0 22px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
