/* Barn Boy Games: brand tokens shared with shop.barnboygames.com */
:root {
  --brown: #31261D;
  --red: #9E2A2B;
  --tan: #B4875E;
  --cream: #EFDBB2;
  --teal: #98BDB6;
  --orange: #E16F38;
  --ink: var(--brown);
  --muted: #6a5646;
  --bg: #faf3e4;
  --card: #fffcf5;
  --rule: #e6d6b8;
  --red-dark: #7f2122;
  --radius: 10px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Lato, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .display { font-family: "Josefin Sans", Futura, sans-serif; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6.5vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 38ch; }
.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; margin: 0 0 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 243, 228, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo .icon { height: 40px; width: auto; }
.logo .words { height: 19px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .shop { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.nav .shop:hover { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 7px 12px; font: inherit; font-weight: 700; color: inherit; cursor: pointer; }
@media (max-width: 820px) {
  .logo .words { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav .shop { margin-top: 12px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; background: var(--red); color: #fff; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 1.5px solid var(--red); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: none; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: clamp(48px, 8vw, 96px) 0; }
section.tint { background: var(--cream); }
section.dark { background: var(--brown); color: var(--bg); }
section.dark .eyebrow { color: var(--orange); }
section.dark .btn.ghost { color: var(--bg); border-color: var(--bg); }
section.dark .btn.ghost:hover { background: var(--bg); color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(49, 38, 29, 0.18); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .btns { justify-content: center; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 80px); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.card .meta { color: var(--muted); font-size: 15px; }
.card .btn { margin-top: 14px; align-self: flex-start; }
.tag { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--teal); color: var(--brown); font-size: 13px; font-weight: 700; }

.facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
.note { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 14px; }

/* Footer */
.site-footer { background: var(--brown); color: var(--cream); padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(239, 219, 178, 0.4); border-radius: 50%; }
.social a:hover { background: rgba(239, 219, 178, 0.12); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
