/* Shared by every page on anatopus.com. Colours are the brand palette (docs/channel-spec.md). */
@font-face {
  font-family: "Outfit";
  src: url("/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0E2247;
  --navy-card: #152D5A;
  --coral: #FA513C;
  --yellow: #FDB72A;
  --cream: #FDF1DD;
  --teal: #2EC4B6;
}
* { box-sizing: border-box; }
html { background: var(--navy); }
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--cream);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 32px;
}
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* Deep-sea background: light from the surface; the home page adds rising bubbles, as in the Sting */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(253, 241, 221, 0.10), transparent 70%),
    linear-gradient(180deg, #17336A 0%, var(--navy) 45%, #081530 100%);
}
.bg::before {
  content: ""; position: absolute; inset: -20% -50% 20%;
  background: repeating-conic-gradient(from 180deg at 50% 0%, rgba(253, 241, 221, 0.045) 0deg 4deg, transparent 4deg 13deg);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

/* Small caps labels: the motto style */
.label {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* A Video card: thumbnail and title */
.card {
  display: block;
  background: var(--navy-card);
  border-radius: 16px;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-2px); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card span { display: block; padding: 14px 18px 16px; font-weight: 600; font-size: 20px; }

footer {
  width: 100%;
  max-width: 640px;
  margin-top: 64px;
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
}
footer p { margin: 0 0 8px; }
footer a { color: var(--cream); }
