/* Freddy for Minecraft — site styles */
:root {
  --gold-deep: #8a6a1c;
  --gold-mid: #c9a227;
  --gold-light: #e8c547;
  --gold-pale: #f5e6a8;
  --ink: #1a1610;
  --ink-soft: #3d3428;
  --cream: #fff8e7;
  --green: #2b7557;
  --green-deep: #1e5a42;
  --surface: rgba(255, 248, 231, 0.92);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--gold-deep);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-deep);
  text-underline-offset: 0.18em;
}

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

/* Checkerboard atmosphere */
.checker {
  background-color: var(--gold-mid);
  background-image:
    linear-gradient(45deg, var(--gold-deep) 25%, transparent 25%),
    linear-gradient(-45deg, var(--gold-deep) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--gold-deep) 75%),
    linear-gradient(-45deg, transparent 75%, var(--gold-deep) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(26, 22, 16, 0.88);
  backdrop-filter: blur(8px);
  color: var(--cream);
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.nav-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Hero — one composition, brand first */
.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(2.5rem, 8vh, 4.5rem);
  color: var(--cream);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(26, 22, 16, 0.92) 0%,
      rgba(26, 22, 16, 0.45) 42%,
      rgba(26, 22, 16, 0.2) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  animation: rise 0.9s ease-out both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  max-width: 22ch;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 248, 231, 0.88);
  margin-bottom: 1.5rem;
  max-width: 34ch;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  background: var(--green);
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-2px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad);
  background: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section .lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.feature-list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold-mid);
  font-size: 1.05rem;
}

.feature-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

.band {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
  text-align: center;
}

.band p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600;
  max-width: 28ch;
  margin: 0 auto 1.25rem;
  line-height: 1.3;
}

.band a.hero-cta {
  display: inline-flex;
}

/* Legal pages */
.legal-page {
  background: var(--cream);
  min-height: 70vh;
}

.legal-hero {
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 1.5rem;
  border-bottom: 1px solid rgba(138, 106, 28, 0.25);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero .meta {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
}

.legal-body p,
.legal-body li {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-body a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 248, 231, 0.75);
  padding: 2rem var(--pad);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
}

.disclaimer {
  flex-basis: 100%;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 52rem;
  opacity: 0.85;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .hero-visual img {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
