:root {
  color-scheme: light;
  --paper: #fff8e9;
  --cream: #fffdf5;
  --ink: #252537;
  --muted: #575568;
  --line: #d9cdb8;
  --coral: #ee7968;
  --coral-pale: #f9ded1;
  --gold: #ffd577;
  --mint: #c4e8d8;
  --lavender: #e9def8;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--body); }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #385d95; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 10; padding: 10px 14px; transform: translateY(-160%); background: white; }
.skip-link:focus { transform: none; }
.site-header { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header-inner { min-height: 72px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.57rem/1 var(--heading); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.site-brand img { width: 37px; height: 37px; transform: rotate(-7deg); filter: drop-shadow(1px 2px 0 var(--ink)); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); font-size: .91rem; font-weight: 800; }
.site-nav a { display: flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline 2px; text-underline-offset: 5px; }
.site-nav .nav-cta { padding-inline: 13px; background: var(--gold); border: 1.5px solid var(--ink); border-radius: 8px; }
.site-nav .nav-cta:hover { background: #f7c65a; text-decoration: none; }
.site-footer { background: var(--ink); color: var(--cream); }
.site-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: clamp(20px, 5vw, 64px); padding-block: 41px 31px; }
.site-footer .site-brand img { filter: none; }
.footer-intro { max-width: 25ch; margin-top: 12px; color: #e2deed; }
.site-footer h2 { margin-bottom: 11px; font: 700 1.08rem/1.2 var(--heading); }
.site-footer ul { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.site-footer li a { color: #e2deed; font-size: .92rem; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-end { padding-block: 14px 17px; border-top: 1px solid #4f4d61; color: #e2deed; font-size: .86rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 21px 0; color: var(--muted); font-size: .88rem; }
.crumbs a { text-underline-offset: 3px; }
.crumbs [aria-current] { font-weight: 800; }
.display-title, .section-heading, .card-title, .article-copy h2, .guide-index h1, .page-title {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.display-title { font-size: clamp(3rem, 6.2vw, 6rem); line-height: .94; letter-spacing: -.079em; }
.display-title em { display: block; color: #a8392b; font-weight: inherit; }
.section-heading { font-size: clamp(2.15rem, 5vw, 3.7rem); }
.card-title { font-size: clamp(1.55rem, 2.7vw, 2.18rem); }
.lead { color: var(--muted); font-size: clamp(1.03rem, 1.9vw, 1.22rem); line-height: 1.5; }
.link-text { font-weight: 800; text-decoration: underline 1.5px; text-underline-offset: 4px; }
.link-text:hover { color: #9a362a; }
.button {
  min-height: 46px;
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  background: var(--coral);
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  box-shadow: 2px 3px 0 var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: #f18b7b; transform: translateY(-1px); }
.button:active { transform: translate(2px, 3px); box-shadow: none; }
.button.small { min-height: 40px; padding: 6px 12px; font-size: .91rem; }
.button.cream { background: var(--cream); }
.button.cream:hover { background: var(--gold); }

.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(20px, 4vw, 58px); padding-block: 49px 48px; }
.hero-copy .lead { margin-top: 18px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px 21px; align-items: center; margin-top: 23px; }
.feature-art { padding: 0; border: 2px solid var(--ink); border-radius: 21px; overflow: hidden; background: var(--gold); box-shadow: 5px 6px 0 var(--ink); }
.feature-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.home-games { padding-block: 8px 55px; scroll-margin-top: 18px; }
.section-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 29%);
  min-height: 220px;
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 3px 4px 0 var(--ink);
  background: var(--coral-pale);
}
.game-tile.kids { background: var(--lavender); }
.game-tile.pictionary { background: #e2eef9; }
.game-tile.question { background: #ffedbb; }
.game-tile .game-copy { align-self: center; }
.game-tile p { margin-block: 7px 14px; max-width: 37ch; }
.game-tile img { align-self: center; justify-self: center; width: 100%; max-width: 144px; transform: rotate(-5deg); }
.game-tile.kids img, .game-tile.question img { transform: rotate(6deg); }

.guide-band { padding-block: 38px 52px; border-block: 1px solid var(--line); background: #f6ead4; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-tile { min-width: 0; padding: 19px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 12px; border-top: 7px solid var(--coral); }
.guide-tile:nth-child(2) { border-top-color: #72aa93; }
.guide-tile:nth-child(3) { border-top-color: #a68acb; }
.guide-tile h2, .guide-tile h3 { font: 700 clamp(1.23rem, 2vw, 1.62rem)/1.13 var(--heading); letter-spacing: -.042em; }
.guide-tile h2 a, .guide-tile h3 a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.guide-tile h2 a:hover, .guide-tile h3 a:hover { color: #9a362a; }
.guide-tile p { margin-top: 8px; color: var(--muted); }

.guide-index { padding-block: 30px 61px; }
.guide-index h1, .page-title { font-size: clamp(2.75rem, 6.1vw, 5rem); }
.guide-index .lead { margin: 13px 0 25px; max-width: 57ch; }
.reading-wrap { width: min(100% - 48px, 866px); margin-inline: auto; }
.article-hero { padding: 27px 0 24px; border-bottom: 1px solid var(--line); }
.article-hero .lead { margin-top: 14px; max-width: 56ch; }
.byline { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 13px; color: var(--muted); font-size: .9rem; }
.byline a { font-weight: 800; text-underline-offset: 3px; }
.article-copy { padding-block: 24px 55px; }
.article-copy > * + * { margin-top: 14px; }
.article-copy h2 { margin-top: 31px; font-size: clamp(1.68rem, 4vw, 2.38rem); }
.article-copy h2:first-child { margin-top: 0; }
.article-copy h3 { margin-top: 21px; font: 700 1.34rem/1.2 var(--heading); }
.article-copy p, .article-copy li { max-width: 74ch; }
.article-copy ol, .article-copy ul { padding-inline-start: 1.4em; margin-bottom: 0; }
.article-copy li + li { margin-top: 8px; }
.article-copy a:not(.button) { font-weight: 800; text-underline-offset: 3px; }
.tip-box { padding: 16px 19px; background: var(--gold); border: 1.5px solid var(--ink); border-radius: 10px; }
.tip-box p + p { margin-top: 7px; }
.article-cta { margin-top: 27px; padding: 18px 20px; background: var(--mint); border: 1.5px solid var(--ink); border-radius: 12px; }
.article-cta .button { margin-top: 11px; }
.article-links { display: flex; flex-wrap: wrap; gap: 5px 18px; }
.game-related { margin-block: 16px 44px; }
.game-related .section-heading { font-size: clamp(1.9rem, 4vw, 2.8rem); }

@media (max-width: 880px) {
  .home-hero { gap: 25px; }
  .display-title { font-size: clamp(2.7rem, 7.1vw, 4.7rem); }
  .game-tile { padding: 16px; grid-template-columns: minmax(0, 1fr) minmax(74px, 25%); }
}
@media (max-width: 660px) {
  .wrap, .reading-wrap { width: calc(100% - 32px); }
  .site-header-inner { min-height: 61px; gap: 12px; }
  .site-brand { font-size: 1.32rem; gap: 7px; }
  .site-brand img { width: 31px; height: 31px; }
  .site-nav { gap: 14px; font-size: .86rem; }
  .site-nav .nav-cta { padding-inline: 7px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); padding-block: 31px 34px; gap: 24px; }
  .display-title { font-size: clamp(2.67rem, 10.5vw, 4.4rem); }
  .hero-copy .lead { margin-top: 13px; }
  .hero-actions { margin-top: 17px; }
  .feature-art { border-radius: 14px; box-shadow: 3px 4px 0 var(--ink); }
  .feature-art img { max-height: 265px; object-position: center 53%; }
  .home-games { padding-bottom: 39px; }
  .game-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .game-tile { min-height: 164px; }
  .section-row { margin-bottom: 14px; flex-wrap: wrap; }
  .guide-band { padding-block: 27px 34px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 23px 16px; padding-block: 29px 24px; }
  .site-footer-grid > div:first-child { grid-column: 1 / -1; }
  .article-hero { padding-block: 24px 19px; }
  .article-copy { padding-bottom: 35px; }
}
@media (max-width: 360px) {
  .site-header-inner { gap: 8px; }
  .site-brand { font-size: 1.19rem; }
  .site-nav { gap: 8px; font-size: .82rem; }
  .site-nav .nav-cta { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
