/* Shoebill Games — placeholder site. Plain HTML + CSS, no JavaScript. */

:root {
  --bg: #faf9f7;
  --fg: #16161a;
  --muted: #5f5f6b;
  --rule: #e2e0da;
  --logo-invert: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121215;
    --fg: #f2f1ee;
    --muted: #9b9ba6;
    --rule: #2a2a30;
    /* The logo artwork is black, so flip it to white in dark mode. */
    --logo-invert: 1;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 2rem;

  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-align: center;
}

/* Auto margins centre the block vertically and leave the footer at the bottom. */
main {
  max-width: 34rem;
  margin: auto 0;
  padding-bottom: 3rem;
}

.logo {
  width: clamp(11rem, 40vw, 17rem);
  height: auto;
  margin-bottom: 1.5rem;
  filter: invert(var(--logo-invert));
}

/* The wordmark is part of the logo, so the heading is for search engines
   and screen readers only. */
h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tagline {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.note {
  margin: 1rem auto 2rem;
  max-width: 26rem;
  color: var(--muted);
}

.contact {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.15em;
  transition: border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  border-color: currentColor;
}

footer {
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

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