/* Marketing and blog: the game's parchment, red, brass and dark wood. */
:root {
  --paper: #fbf6ea; --paper-deep: #f0e3c7; --surface: #fffaf0;
  --ink: #2b2118; --ink-soft: #5b4a3a; --ink-light: #756048;
  --crimson: #8e2b1f; --crimson-dark: #6b1e17; --gold: #e0b14a;
  --line: #c9b48a; --wood: #302017;
  --serif: 'PT Serif', Georgia, serif; --sans: 'PT Sans', system-ui, sans-serif;
  --radius: 14px; --panel-shadow: 0 4px 0 #c4ab7b, 0 12px 28px #52351412;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 114px; color-scheme: light; }
body { margin: 0; padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); color: var(--ink); background: radial-gradient(ellipse at 20% 0, #fffaf0, transparent 60%), var(--paper); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--crimson); text-underline-offset: 4px; }
a:hover { color: var(--crimson-dark); }
button, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a0441d; outline-offset: 5px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); line-height: 1.22; font-weight: 700; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; }
p { margin: 0 0 1em; }
.container, .wrap { width: min(100% - 64px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 16px; transform: translateY(-160%); z-index: 300; background: var(--surface); padding: 12px 20px; border: 2px solid var(--line); border-radius: 8px; }
.skip:focus { transform: none; }
.eyebrow, .section-tag { display: block; margin-bottom: 16px; color: var(--crimson); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -.025em; }
.section-head p { max-width: 60ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 23px; border: 2px solid transparent; border-radius: 10px; font: 700 1rem/1.4 var(--sans); text-align: center; text-decoration: none; transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s; }
/* a solid colour UNDER the gradient: a gradient cannot be animated, and without it the button shows the page behind it for a moment on hover */
.btn-primary { background: #8e2b1f linear-gradient(#a63b2c, #8e2b1f); border-color: #ba6950; color: #fff8e5; box-shadow: 0 4px 0 #591b14, inset 0 1px #ffffff28; }
.btn-primary:hover { color: #fff; background: #a73b2d linear-gradient(#b64a3a, #9c3223); transform: translateY(-2px); box-shadow: 0 6px 0 #591b14; }
.btn-ghost { background: #fff8e9; border-color: #c9ad77; color: var(--ink); box-shadow: 0 3px 0 #b59a68; }
.btn-ghost:hover { background: #f5e5bf; color: var(--ink); transform: translateY(-1px); }
.btn-lg { min-height: 58px; padding: 15px 25px; font-size: 1.05rem; }
.btn:disabled { cursor: default; opacity: .5; transform: none; box-shadow: none; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); box-shadow: 0 3px 0 #c9ad77, 0 6px 16px #28170d25; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; position: relative; }
.brand { flex-shrink: 0; text-decoration: none; }
.brand img { width: auto; height: 84px; }
.desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 13px; color: var(--ink-soft); font-size: .94rem; text-decoration: none; font-weight: 700; border-radius: 8px; }
.desktop-nav a:not(.btn):hover, .desktop-nav a:not(.btn)[aria-current] { color: var(--crimson); background: var(--paper-deep); }
.nav-cta { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.mobile-menu { display: none; }
.mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 10px; list-style: none; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 8px; font-weight: 700; font-size: .94rem; background: var(--surface); box-shadow: 0 2px 0 #c4ab7b; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 16px; height: 14px; border-block: 2px solid currentColor; position: relative; }
.menu-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.mobile-menu[open] summary { background: var(--paper-deep); }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; padding: 14px; background: var(--surface); border: 3px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px #2b211840; }
.mobile-menu nav a { display: flex; align-items: center; min-height: 48px; padding: 9px 14px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.mobile-menu nav a:not(.btn):hover, .mobile-menu nav a:not(.btn)[aria-current] { background: var(--paper-deep); color: var(--crimson); }
.mobile-menu .menu-secondary { background: var(--paper-deep); border-radius: 8px; margin-top: 8px; }
.mobile-menu nav .btn { color: #fff8e5; margin-top: 12px; }
.site-footer { background: var(--wood); color: #fff4dc; padding: 60px 0 26px; border-top: 6px solid #a67a3a; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 36px; }
.footer-logo { width: 200px; margin-bottom: 18px; padding: 8px; background: #f3e5c4; border-radius: 12px; }
.footer-grid p { max-width: 32ch; font-size: .94rem; color: #d6c3a5; }
.footer-grid h4 { font: 700 1rem var(--sans); margin-bottom: 18px; color: var(--gold); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.site-footer a { display: inline-block; padding-block: 7px; color: #eee0c7; font-size: .92rem; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 20px; background: #22160f; border-radius: 10px; color: #c9b598; font-size: .8rem; }
.footer-bottom a { font-size: inherit; padding: 0; }
@media (max-width: 1040px) { .desktop-nav { gap: 0; } .desktop-nav a { padding-inline: 10px; font-size: .86rem; } .nav-wrap { gap: 18px; } }
@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  .nav-wrap { min-height: 78px; gap: 14px; } .brand img { height: 66px; }
  .desktop-nav { display: none; } .nav-cta { margin-left: auto; } .mobile-menu { display: block; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .container, .wrap { width: calc(100% - 36px); }
  .nav-wrap { min-height: 74px; gap: 10px; } .brand img { height: 60px; }
  .nav-cta { display: none; } .mobile-menu { margin-left: auto; }
  .section-head { margin-bottom: 28px; } .section-head p { font-size: 1rem; }
  .eyebrow, .section-tag { font-size: .7rem; letter-spacing: .04em; margin-bottom: 14px; }
  .site-footer { padding-top: 42px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Touch targets apply to tablets too, independently of their viewport width. */
@media (pointer: coarse), (max-width: 600px) {
  .btn, .mobile-menu summary, .mobile-menu nav a, .desktop-nav a { min-height: 48px; font-size: 16px; }
  .mobile-menu nav { overscroll-behavior: contain; max-height: calc(100dvh - 104px - env(safe-area-inset-bottom)); }
  .site-footer li a { display: flex; align-items: center; min-height: 44px; }
}
