:root {
  color-scheme: light;
  --paper: #faf7ef;
  --ink: #322432;
  --muted: #685969;
  --plum: #803d77;
  --plum-dark: #6d2e64;
  --farm-green: #98c141;
  --rule: #ded9cb;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--plum-dark); outline-offset: 6px; border-radius: 6px; }
.page-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 2; padding: 14px 20px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--rule); }
.brand { display: block; text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.brand-crayon { color: var(--plum-dark); }
.brand-plum { color: var(--plum-dark); }
.brand-caption { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: 1.65px; text-transform: uppercase; color: var(--muted); }
.header-link { display: inline-flex; align-items: center; gap: 16px; padding: 12px 0 12px 18px; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-link span { font-size: 21px; color: var(--plum-dark); }
.header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 265px; align-items: center; gap: 70px; padding: 44px 20px 42px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: 1.6px; color: var(--muted); }
.eyebrow span { width: 9px; height: 14px; border-radius: 2px; transform: rotate(35deg); background: var(--plum); }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4.55vw, 62px); line-height: 1.08; letter-spacing: -2.4px; font-weight: 700; text-wrap: balance; }
h1 em { color: var(--plum-dark); font-style: normal; }
.intro-description { max-width: 520px; margin: 20px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.studio-logo { width: 250px; height: auto; justify-self: end; }
.games-section { scroll-margin-top: 24px; }
.section-heading { display: flex; gap: 18px; align-items: center; margin: 0 0 20px; }
.section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.3px; font-weight: 700; }
.section-line { flex: 1; height: 1px; background: var(--rule); }
.section-note { font-size: 12px; color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 20px; background: #fffdf8; }
.game-art-link { display: block; overflow: hidden; border-bottom: 1px solid var(--rule); }
.game-art-link:focus-visible { outline-offset: -5px; border-radius: 18px 18px 0 0; }
.game-art { width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; }
.game-content { padding: 23px 26px 25px; }
.game-category { margin: 0 0 9px; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.55px; font-weight: 700; color: var(--plum-dark); }
.game-card-farm .game-category { color: #52752b; }
.game-content h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -.65px; }
.game-description { min-height: 49px; margin: 12px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.game-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.game-detail { font-size: 11px; color: var(--muted); }
.play-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; padding: 12px 16px; border-radius: 9px; background: var(--plum); color: #fff; text-decoration: none; font-size: 13px; line-height: 1.4; font-weight: 700; }
.game-card-farm .play-link { background: var(--farm-green); color: var(--ink); }
.play-link span { font-size: 18px; line-height: 1; }
.play-link:hover { outline: 2px solid var(--ink); outline-offset: 2px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 23px; margin-top: 27px; border-top: 1px solid var(--rule); font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; }
.footer-leaf { margin-left: 4px; color: #64872e; }
@media (max-width: 850px) {
  .intro { grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; padding-right: 0; }
  .studio-logo { width: 210px; }
  h1 { font-size: 43px; letter-spacing: -1.5px; }
  .game-content { padding: 22px 20px; }
  .game-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
  .play-link { width: 100%; }
  .game-description { min-height: 74px; }
}
@media (max-width: 620px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { min-height: 84px; gap: 10px; }
  .brand { font-size: 23px; }
  .brand-caption { font-size: 8px; letter-spacing: 1.3px; }
  .header-link { font-size: 12px; gap: 8px; padding-left: 8px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-block: 29px 31px; }
  .studio-logo { grid-row: 1; justify-self: center; width: 200px; }
  .intro-copy { text-align: center; }
  .eyebrow { justify-content: center; font-size: 9px; letter-spacing: 1.3px; margin-bottom: 13px; }
  h1 { font-size: clamp(35px, 8vw, 46px); letter-spacing: -1.4px; }
  .intro-description { max-width: 400px; margin: 15px auto 0; font-size: 14px; line-height: 1.7; }
  .section-heading { gap: 12px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 16px; }
  .section-note { font-size: 10px; }
  .games-grid { grid-template-columns: 1fr; gap: 24px; }
  .game-content { padding: 21px 22px 23px; }
  .game-content h3 { font-size: 28px; }
  .game-description { min-height: 0; margin-bottom: 20px; }
  .game-bottom { flex-direction: row; align-items: center; gap: 10px; }
  .play-link { width: auto; gap: 13px; font-size: 12px; padding-inline: 13px; }
  .game-detail { font-size: 10px; }
  .site-footer { margin-top: 24px; padding-block: 22px; }
}
@media (max-width: 359px) {
  .header-link { font-size: 11px; }
  .section-note { display: none; }
  .game-bottom { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
.footer-links a { text-underline-offset: 3px; }
@media (max-width: 620px) { .site-footer { flex-wrap: wrap; } .footer-links { justify-content: flex-start; } }
