/* Quest Runner Studios site v1. Colours from logo A (Easel, Art\studio-logo-v1-20261130\NOTES.md). */
:root {
  --navy: #2E3A59;
  --navy-deep: #232D46;
  --amber: #FFB23E;
  --coral: #F0705F;
  --snow: #F4F7FB;
  --cream: #F0D9B5;
  --ink: #1E2538;
  --muted: #5A6480;
  --radius: 18px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
h1, h2, h3 { line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5em; }
h3 { font-size: 1.35rem; margin: 0 0 .3em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; }
.small { font-size: .88rem; color: var(--muted); }
.meta { font-weight: 600; color: var(--muted); font-size: .95rem; }
.light { color: #E6EBF5; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.top { background: #fff; border-bottom: 4px solid var(--amber); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand img { width: 200px; height: auto; }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a { padding: 8px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--navy); }
.menu a:hover, .menu a[aria-current="page"] { background: var(--navy); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 800; text-decoration: none; border: 3px solid var(--amber); }
.btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.is-soon { opacity: .6; cursor: default; }
.is-soon:hover { background: transparent; color: var(--navy); }
.is-soon em { font-weight: 600; font-size: .85em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; background: var(--coral); color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }

/* Hero: the store pictures carry the game's own title art, so the picture is shown whole and the words sit in a band below it. */
.hero { background: var(--navy); }
.hero-img { width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; object-fit: cover; object-position: center top; }
.hero-shade { display: none; }
.hero-in { padding-top: 36px; padding-bottom: 44px; color: #fff; }
.hero-in h1 { color: #fff; max-width: 18em; }
.hero-in .lead { max-width: 40em; color: #E6EBF5; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(46,58,89,.12); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }

.band { background: var(--navy); color: #E6EBF5; }
.band h2 { color: var(--amber); }
.band .small { color: #C3CBDD; }
.band a { color: #fff; }
.band .btn-ghost { border-color: #fff; color: #fff; }
.band .is-soon:hover { color: #fff; }

/* Kibble page */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ticks { padding: 0; list-style: none; }
.ticks li { padding-left: 32px; position: relative; margin: 0 0 12px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 6px 6px 0 -2px var(--coral); }
.clip { margin: 0; }
.clip video { border-radius: var(--radius); max-height: 640px; margin: 0 auto; box-shadow: 0 6px 24px rgba(46,58,89,.2); }
.clip figcaption, .chars figcaption { text-align: center; font-size: .9rem; margin-top: 8px; }
.chars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.chars figure { margin: 0; }
.chars img { border-radius: 50%; background: var(--snow); border: 6px solid var(--amber); }
.chars figcaption { font-weight: 800; font-size: 1.1rem; color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.gallery img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery a:hover img { outline: 4px solid var(--amber); }

/* Pawprint Plot */
.pp { align-items: center; }
.pp-art { border-radius: var(--radius); box-shadow: 0 6px 24px rgba(46,58,89,.18); }

/* Tables, news */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; color: var(--ink); border-radius: 12px; overflow: hidden; margin: 8px 0 24px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #E1E6F0; }
th { background: var(--amber); color: var(--navy); }
.post img { border-radius: var(--radius); margin-bottom: 20px; }
.placeholder { background: #FFF1D6; border: 1px dashed var(--amber); padding: 1px 6px; border-radius: 4px; }

/* Footer */
.foot { background: var(--navy-deep); color: #C3CBDD; padding: 40px 0; font-size: .95rem; }
.foot-in { display: flex; gap: 20px; align-items: flex-start; }
.foot-logo { border-radius: 12px; flex: none; }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--amber); }
.foot .small { color: #9AA4BC; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .split, .two { grid-template-columns: 1fr; gap: 28px; }
  .chars { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .brand img { width: 160px; }
  .section { padding: 44px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
