/* Bagpiper Games — publisher site (forest green / cream) */

:root {
  --bg: #0f2f22;
  --bg-deep: #063b2a;
  --panel: #123d2e;
  --cream: #fff8e8;
  --cream-muted: rgba(255, 248, 232, 0.78);
  --accent: #e4d27a;
  --border: rgba(255, 248, 232, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--cream);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--cream);
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(220px, 56vw);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--cream-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--cream);
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--cream);
}

.hero-description {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--cream-muted);
  max-width: 42rem;
  line-height: 1.55;
}

.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--cream);
}

.section p {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: var(--cream-muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.section strong {
  color: var(--cream);
}

.game-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 42rem;
}

.game-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--cream);
}

.game-card p {
  margin: 0 0 1.25rem;
  color: var(--cream-muted);
}

.button {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--cream);
  color: var(--bg-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
}

.button:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

.address-label {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

address {
  font-style: normal;
  color: var(--cream-muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  background: var(--bg-deep);
  color: var(--cream-muted);
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--cream-muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--cream);
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
