/* Goat Locker Studios — shared site styles.
   Palette: deep ink navy, harbour teal, parchment, brass.
   No external fonts or assets; system type stacks only. */

:root {
  --ink: #0c1a24;          /* deepest navy — page ground */
  --ink-2: #10242f;        /* raised panel on dark */
  --teal: #11434d;         /* harbour teal (emblem ground family) */
  --parchment: #f3ead3;    /* light ground */
  --parchment-2: #eadfc2;  /* parchment shade */
  --paper-text: #26313a;   /* body text on parchment */
  --paper-muted: #55606a;  /* secondary text on parchment */
  --cream: #f1e9d5;        /* body text on ink */
  --cream-muted: #b9c0bb;  /* secondary text on ink */
  --brass: #c39a3b;        /* accent */
  --brass-bright: #e3bc55; /* accent on dark, links/hover */
  --line-dark: #2a414e;    /* hairline on dark */
  --line-light: #d5c69e;   /* hairline on parchment */
  --maxw: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark, .game-title {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

a { color: var(--brass-bright); }
a:hover, a:focus { color: var(--cream); }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  margin-right: auto;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
}

.wordmark {
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.wordmark small {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--brass-bright);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.35rem 0.1rem;
}

.site-nav a:hover, .site-nav a:focus { color: var(--brass-bright); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  border-bottom: 4px solid var(--brass);
  background: var(--ink-2);
}

.hero img.hero-art {
  display: block;
  width: 100%;
  height: min(62vh, 560px);
  min-height: 340px;
  object-fit: cover;
  object-position: center 62%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 20, 28, 0.92) 0%,
    rgba(9, 20, 28, 0.55) 42%,
    rgba(9, 20, 28, 0.08) 75%
  );
}

.hero-text {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: 2rem;
}

.eyebrow {
  color: var(--brass-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.game-title {
  font-size: clamp(2.9rem, 10vw, 5.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fdf8ea;
  margin-bottom: 0.25em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-sub {
  font-size: clamp(1.08rem, 3.4vw, 1.35rem);
  max-width: 38rem;
  color: var(--cream);
  margin-bottom: 0.4em;
}

.hero-status {
  color: var(--cream-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- sections ---------- */

section { padding: 3rem 0; }

.section-light {
  background: var(--parchment);
  color: var(--paper-text);
}

.section-light h2 { color: var(--ink); }
.section-light a { color: #8a6414; }
.section-light a:hover, .section-light a:focus { color: var(--ink); }

.section-dark { background: var(--ink); }
.section-teal { background: var(--teal); color: var(--cream); }
.section-teal h2 { color: #fdf8ea; }

h2 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  letter-spacing: 0.02em;
}

.lede {
  font-size: 1.14rem;
  max-width: 44rem;
}

.section-light .lede { color: #3c4750; }

/* feature grid */

.features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.features li {
  background: #fbf5e2;
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--brass);
  border-radius: 6px;
  padding: 1.1rem 1.15rem 0.6rem;
  margin: 0;
}

.features h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35em;
  color: var(--ink);
}

.features p { color: #41505b; font-size: 0.99rem; }

.fairness {
  margin-top: 2.2rem;
  border-left: 4px solid var(--brass);
  padding: 0.2rem 0 0.2rem 1.1rem;
  max-width: 44rem;
  font-size: 1.08rem;
}

/* buttons */

.btn {
  display: inline-block;
  background: var(--brass);
  color: #14100a;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 6px;
  border: 1px solid #8a6414;
  min-height: 48px;
}

.btn:hover, .btn:focus { background: var(--brass-bright); color: #14100a; }

.btn-note { color: var(--cream-muted); font-size: 0.95rem; margin-top: 0.9rem; }
.section-light .btn-note { color: var(--paper-muted); }

/* prose pages (privacy / support) */

.prose { padding: 2.6rem 0 3.2rem; }
.prose h1 { font-size: clamp(2rem, 6vw, 2.7rem); color: #fdf8ea; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; color: #fdf8ea; }
.prose p, .prose li { max-width: 46rem; }
.prose .updated { color: var(--cream-muted); font-size: 0.95rem; }

.card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 1.2rem 1.3rem 0.5rem;
  margin: 1.4rem 0;
  max-width: 46rem;
}

.card h2 { margin-top: 0; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 1.6rem 0 2rem;
  color: var(--cream-muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.site-footer nav { display: flex; gap: 1.3rem; margin-left: auto; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--brass-bright); }

/* small screens */

@media (max-width: 34rem) {
  .wordmark { font-size: 1.08rem; }
  .brand img { width: 44px; height: 44px; }
  .site-nav { gap: 1rem; }
  section { padding: 2.2rem 0; }
  .hero img.hero-art { min-height: 300px; }
}
