/* Brass Tack Games: oxblood leather, a nailhead trim of brass tacks along its edges (the one loud
   thing), everything else quiet. One family: Roboto Slab; the game keeps its own Rye title face. */

@font-face { font-family: "Roboto Slab"; src: url("fonts/robotoslab.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Rye"; src: url("fonts/rye.woff2") format("woff2"); font-display: swap; }

:root {
  --leather: #3f1714;
  --leather-hi: #57211b;
  --brass: #d6b06b;
  --brass-deep: #9a7334;
  --linen: #eadfca;
  --linen-dim: #c8b9a0;
  /* one brass tack: a domed head, lit from the upper left */
  --tack: radial-gradient(circle at 38% 34%, #f6e2a8 0 2px, #c99a4e 4px, #6e4a1c 7px, transparent 7.6px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% 20%, var(--leather-hi), var(--leather) 70%);
  color: var(--linen);
  font: 400 1.0625rem/1.65 "Roboto Slab", Georgia, serif;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--linen); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* the panel: tacked along its top and bottom edges, 18 px apart, like upholstery */
.panel {
  position: relative;
  width: min(820px, 100%);
  padding: 64px clamp(20px, 6vw, 64px) 56px;
  border: 1px solid rgba(214, 176, 107, 0.35);
}
.panel::before, .panel::after {
  content: "";
  position: absolute; left: 10px; right: 10px; height: 16px;
  background: var(--tack) 0 0 / 18px 16px repeat-x;
}
.panel::before { top: 14px; }
.panel::after { bottom: 14px; }

.mark { display: flex; align-items: center; gap: 18px; }
.tack { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.45)); }
.mark h1 { margin: 0; font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; color: var(--brass); letter-spacing: -0.01em; }

.about { max-width: 56ch; margin: 28px 0 44px; font-size: clamp(1.15rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--linen); }

.game { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: center; padding-top: 36px; border-top: 1px solid rgba(214, 176, 107, 0.35); }
@media (min-width: 720px) { .game { grid-template-columns: 1.15fr 1fr; } }
.game-pic img { border: 3px solid var(--brass-deep); }
.game-pic:hover img { border-color: var(--brass); }
.game h2 { margin: 0; font-family: "Rye", serif; font-weight: normal; font-size: 1.55rem; line-height: 1.2; color: var(--linen); }
.game-text p { margin: 10px 0 0; color: var(--linen-dim); }
.go { font-weight: 700; }

.contact { margin-top: 48px; color: var(--linen-dim); }
.contact p { margin: 0 0 6px; }
.small { font-size: 0.9rem; }
