/* Honkbark Studios */
:root {
  --ink: #23262b;
  --muted: #5d636d;
  --line: #e6e8ec;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --coral-a: #ff3d68;
  --coral-b: #ff7a3d;
  --sky: #88dbf9;
  --green-a: #8ac452;
  --green-b: #55b28a;
  --accent: #e8414b;
  --wrap: 1080px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: #b8262f; }

h1, h2, h3, h4 { line-height: 1.2; margin: 1.6em 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-top: 0; letter-spacing: -.01em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand:hover { color: #fff; }
.brand img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 7px 12px;
  border-radius: 4px;
}
.site-nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.site-nav a[aria-current="page"] { background: #fff; color: var(--ink); }

.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 760px) {
  .nav-toggle-label {
    display: block;
    width: 40px; height: 40px;
    cursor: pointer;
    position: relative;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    position: absolute;
    left: 8px; right: 8px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    content: "";
  }
  .nav-toggle-label span { top: 19px; }
  .nav-toggle-label span::before { top: -8px; left: 0; right: 0; }
  .nav-toggle-label span::after { top: 8px; left: 0; right: 0; }
  .nav-toggle { display: block; position: absolute; opacity: 0; right: 24px; top: 18px; width: 40px; height: 40px; margin: 0; cursor: pointer; z-index: 1; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px; left: 16px; right: 16px;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
  }
  .site-nav a { color: var(--ink); padding: 12px; }
  .site-nav a:hover { background: var(--soft); color: var(--ink); }
  .site-nav a[aria-current="page"] { background: var(--soft); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* Heroes and sections */
.hero {
  color: #fff;
  padding: 150px 0 90px;
}
.hero a { color: #fff; }
.hero-small { padding: 130px 0 56px; }
.hero-coral { background: linear-gradient(135deg, var(--coral-a) 0%, var(--coral-b) 100%); }
.hero-sky { background: var(--sky) url(/wp-content/uploads/2016/01/sky-strip.png) repeat-x bottom; color: var(--ink); }
.hero-sky a { color: var(--ink); }
.hero-green { background: linear-gradient(135deg, var(--green-a) 0%, var(--green-b) 100%); }
.hero .lead { font-size: 1.25rem; opacity: .95; margin: .4em 0 0; }
.kicker { text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 .8em; opacity: .9; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

.home-hero .wrap { display: flex; align-items: center; gap: 48px; }
.home-hero img { width: min(340px, 42vw); flex: none; }
.home-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; margin: 0; }
@media (max-width: 640px) {
  .home-hero .wrap { flex-direction: column; text-align: center; gap: 24px; }
}

.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-sky { background: var(--sky); }
.section-green { background: linear-gradient(135deg, var(--green-a) 0%, var(--green-b) 100%); color: #fff; }
.section-green a:not(.button):not(.card a) { color: #fff; }
.section-green .section-title { color: #fff; }
.section h2:first-child { margin-top: 0; }
.section-title { text-align: center; margin: 0 0 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { display: block; margin: 0 auto; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.rule { width: 48px; height: 3px; background: var(--accent); border: 0; margin: 18px 0; }

.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 6px;
}
.button:hover { background: #000; color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #f0f0f0; color: var(--ink); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-image { display: block; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .card-image img { transform: scale(1.03); }
.card-body { padding: 20px 22px 24px; }
.card h3 { margin: .2em 0 .4em; font-size: 1.15rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3em; }

.game-card { max-width: 420px; margin: 0 auto; text-align: center; color: var(--ink); }
.game-card h3 a { color: var(--ink); }

/* Prose */
.prose { max-width: 780px; }
.prose img { border-radius: 6px; }
.prose img.featured { display: block; margin: 0 auto 32px; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
.prose .alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 50%; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .3em; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--accent); color: var(--muted); }
.prose iframe { max-width: 100%; }
.prose pre {
  background: #1f2329;
  color: #e9edf2;
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.55;
}
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; }
.prose :not(pre) > code { background: var(--soft); padding: .1em .35em; border-radius: 4px; }
.prose::after { content: ""; display: table; clear: both; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery img { display: block; border-radius: 8px; }

.notice {
  background: #fff6e5;
  border: 1px solid #f3d9a4;
  border-radius: var(--radius);
  padding: 16px 20px;
}

.press-list { list-style: none; padding: 0; }
.press-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.press-list time { display: block; font-size: .85rem; color: var(--muted); }

/* Post navigation and pagination */
.post-nav, .pagination {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 64px;
  font-weight: 600;
}
.post-nav a, .pagination a { text-decoration: none; }
.pagination { justify-content: center; align-items: center; padding-top: 40px; }

.categories { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 36px; padding: 0; list-style: none; }
.categories a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  color: var(--ink);
}
.categories a:hover { border-color: var(--accent); color: var(--accent); }

/* Footer */
.site-footer { background: #1f2329; color: #c9ced6; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-grid > div { display: flex; gap: 16px; align-items: center; }
.footer-grid p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.copyright { margin-top: 32px; font-size: .85rem; opacity: .7; }

.card-image-blank { display: grid; place-items: center; background: linear-gradient(135deg, var(--coral-a) 0%, var(--coral-b) 100%); }
.card-image-blank img { width: 72px; height: auto; object-fit: contain; }
.card:hover .card-image-blank img { transform: rotate(-6deg); }

.wrap.narrow { max-width: 828px; }
.section-green .card { color: var(--ink); }
