/* Emberwork site: the game's storybook palette (parchment, ink, gold). */
:root {
  --ink: #2b2320;
  --muted: #6a5c48;
  --parch: #f4ecd8;
  --panel: #fbf5e5;
  --line: #d8c9a3;
  --gold: #b8860b;
  --ember: #c4512a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --body: 'Vollkorn', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #f9f3e2, #f0e6cc 60%, #e7d9b6) fixed;
  color: var(--ink);
  font: 18px/1.6 var(--body);
}
a { color: #8a5a1a; }
a:hover { color: var(--ember); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font: 700 26px/1 var(--serif); letter-spacing: 0.5px; }
nav.site { display: flex; gap: 18px; font-size: 16px; }
nav.site a { text-decoration: none; color: var(--muted); }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h1 { font-size: clamp(38px, 7vw, 58px); margin: 28px 0 10px; }
h2 { font-size: 30px; margin: 34px 0 10px; }
h3 { font-size: 23px; margin: 24px 0 6px; }
.lede { font-size: 21px; color: var(--muted); max-width: 640px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; box-shadow: 0 8px 24px rgba(80, 60, 20, 0.10);
}
.feature { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin: 30px 0; }
.feature img { width: 160px; }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } .feature img { margin: 0 auto; } }

.cooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.cooks img { border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff, #efe3c4); border: 3px solid var(--gold); }

.badge {
  display: inline-block; font: 700 14px/1 var(--body); letter-spacing: 0.4px; text-transform: uppercase;
  color: #3a2b06; background: linear-gradient(#f5da85, #c9942c); border-radius: 999px; padding: 7px 14px;
}

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0; }
.points .card { padding: 18px; }
.points h3 { margin-top: 0; }

.legal h2 { font-size: 26px; }
.legal li { margin-bottom: 6px; }
.legal { overflow-wrap: anywhere; }

footer.site {
  margin: 56px 0 0; padding: 22px 0 40px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
