/* ==========================================================================
   Big Cog Games — single-viewport company card
   Palette: warm umber ground, brass accent, bone text, warm ash secondary.
   Type:    Saira (wordmark) / IBM Plex Mono (tagline, footer)
   ========================================================================== */

:root {
  --umber: #1c1813;
  --brass: #c79a3b;
  --bone:  #ece8de;
  --ash:   #9c9186;

  --font-display: "Saira", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --pad-x: clamp(1.5rem, 8vw, 7rem);
}

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--umber);
  color: var(--bone);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bone); text-underline-offset: 0.25em; }
a:hover { color: var(--brass); }

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

/* --- Hero ---------------------------------------------------------------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--pad-x);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.wordmark-line {
  display: block;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.01em;
}

/* The cog sits on the baseline where the O would be. */
.cog-o {
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.03em;
  color: var(--brass);
  animation: turn 48s linear infinite;
}

@keyframes turn { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .cog-o { animation: none; }
}

.wordmark-sub {
  display: block;
  margin-top: 0.35em;
  font-weight: 700;
  font-size: clamp(1.1rem, 3.2vw, 2.1rem);
  letter-spacing: 0.52em;
  color: var(--ash);
}

.tagline {
  margin-top: 2.25rem;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--ash);
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.75rem var(--pad-x);
  font-size: 0.85rem;
  color: var(--ash);
}

.footer p { color: inherit; }

@media (max-width: 40rem) {
  .footer { flex-direction: column; align-items: flex-start; }
}
