/* At One Table — front door. Felt and gold, system serif only. */

:root {
  --cream: #f5f0e8;
  --paper: #fffdf8;
  --ink: #1d1a16;
  --muted: #5a544a;
  --line: #ddd2bf;
  --felt: #23604a;
  --felt-deep: #1c4f3a;
  --felt-dark: #143c2c;
  --gold: #c9a227;
  --gold-bright: #e3bd45;
  --walnut: #4a3424;
  --shadow: 0 14px 36px rgba(29, 26, 22, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Droid Serif", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }

.inner { width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.btn {
  display: inline-block;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.15s, color 0.15s;
}
.btn-lg { padding: 0.8rem 1.6rem; font-size: 1.06rem; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2b2107;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.btn-gold:hover { background: var(--gold-bright); }
.btn:focus-visible, .masthead-nav a:focus-visible, .footer a:focus-visible, .game-shot:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

.masthead {
  background: var(--felt-dark);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; min-width: 0; }
.mark { width: 44px; height: 44px; flex: none; }
.wordmark-text { display: flex; flex-direction: column; min-width: 0; }
.wordmark-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant: small-caps;
  line-height: 1.05;
}
.wordmark-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.2rem;
}
.masthead-nav { display: flex; gap: 1.5rem; }
.masthead-nav a {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
}
.masthead-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.hero {
  color: #fff;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(255, 255, 255, 0.07), transparent 60%),
    linear-gradient(170deg, var(--felt) 0%, var(--felt-deep) 70%);
  padding: 2.2rem 0 2.5rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2.8rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.02rem;
}
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3rem); margin-bottom: 0.8rem; letter-spacing: -0.005em; }
.hero-sub { margin: 0 0 1.3rem; font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); max-width: 33rem; }

.promises { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.55rem; }
.promises li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 1.02rem; color: rgba(255, 255, 255, 0.92); }
.promises strong { color: #fff; }
.promise-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(227, 189, 69, 0.16);
  border: 1px solid rgba(227, 189, 69, 0.55);
}
.promise-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-bright); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hero-ctas { margin: 0; }

.hero-shot { margin: 0; min-width: 0; }
.screen {
  background: var(--walnut);
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.screen img { border-radius: 6px; width: 100%; }
.hero-shot figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.games { padding: 2.6rem 0 3.2rem; }
.games h2, .how h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.7rem; }
.games-lead { margin: 0 0 1.3rem; max-width: 40rem; color: var(--muted); }

/* One row per game. The columns do not change when another game is added. */
.game-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.game-row {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr) 14.5rem;
  gap: 1rem 1.15rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}
.game-shot { display: block; border-radius: 8px; overflow: hidden; }
.game-shot img {
  width: 100%;
  height: 7.2rem;
  object-fit: cover;
  object-position: center top;
}
.game-copy h3 { font-size: 1.45rem; margin-bottom: 0.25rem; }
.game-copy p { margin: 0; color: var(--muted); }
.game-meta {
  margin-top: 0.35rem !important;
  color: var(--felt-deep) !important;
  font-size: 0.95rem;
}
.game-play { width: 100%; }

.games-note { margin: 1rem 0 0; color: var(--muted); }

.how { background: var(--paper); border-top: 1px solid var(--line); padding: 2.8rem 0 3rem; }
.steps {
  list-style: none; margin: 0 0 1.2rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.steps li { display: flex; gap: 0.85rem; align-items: flex-start; }
.steps p { margin: 0.2rem 0 0; }
.step-num {
  flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--felt); color: var(--gold-bright);
  font-weight: 600; font-size: 1.1rem;
}
.how-note { margin: 0; color: var(--muted); }

.footer { background: var(--felt-dark); color: rgba(255, 255, 255, 0.82); padding: 1.8rem 0 2rem; font-size: 0.95rem; }
.footer-inner { display: grid; gap: 0.6rem; }
.footer-brand { margin: 0; font-variant: small-caps; letter-spacing: 0.06em; font-size: 1.2rem; color: #fff; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-links a { color: var(--gold-bright); text-underline-offset: 3px; }
.footer-small { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.62); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps { grid-template-columns: 1fr; gap: 0.9rem; }
}
@media (max-width: 720px) {
  .game-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .game-shot img { height: 10.5rem; }
  .game-play { width: 100%; white-space: normal; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .inner { width: calc(100% - 2rem); }
  .masthead-inner { padding: 0.65rem 0; }
  .mark { width: 38px; height: 38px; }
  .wordmark-name { font-size: 1.25rem; letter-spacing: 0.04em; }
  .wordmark-tag { font-size: 0.62rem; letter-spacing: 0.08em; }
  .masthead-nav { display: none; }
  .hero { padding: 1.8rem 0 2.2rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 1.05rem; }
  .promises li { font-size: 0.98rem; }
  .screen { padding: 6px; border-radius: 10px; }
  .games { padding-top: 2.2rem; }
}
