/* Oasis Investing LLC: field manual style sheet
   Palette: deep pine #1E3A2F, brass #B08A3C, sand #E7DCC3, cream #FAF5EA
   Type: Fraunces for display, Source Sans 3 for body */

:root {
  --pine: #1E3A2F;
  --pine-dark: #142A21;
  --brass: #B08A3C;
  --brass-soft: #C9A961;
  --sand: #E7DCC3;
  --sand-line: #D8C9A3;
  --cream: #FAF5EA;
  --paper: #FFFDF6;
  --ink: #243129;
  --muted: #5C6A61;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--pine);
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}
h1 { font-size: 2.3rem; font-weight: 600; }
h2 { font-size: 1.55rem; font-weight: 600; margin-top: 1.6em; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em 0; }
/* Unbreakable tokens printed in body prose: a bare email address, URL, or
   domain written out as paragraph text (the corrections line on the
   mahjong and dominoes pages prints hello@oasisinvestingllc.com.) defaults
   to overflow-wrap:normal, so the token cannot break. A longer printed
   address or URL in the same template would protrude past the paragraph
   box and set the page width past a phone viewport — the defect class
   fixed on Pine and Brass the same day (fleet check, Nov 20, 2026).
   'anywhere' (not 'break-word') so the break counts toward the
   paragraph's min-content size. overflow-wrap is inherited, so tokens
   inside <strong>/<a> within a paragraph are covered. The printed text
   itself is unchanged; it may simply break across lines. */
main p { overflow-wrap: anywhere; }
a { color: var(--pine); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 0.6em 0;
}

/* Header */
header.site {
  background: var(--pine);
  color: var(--cream);
  border-bottom: 4px double var(--brass);
}
header.site .wrap { padding-top: 22px; padding-bottom: 18px; }
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 2px;
}
nav.main { margin-top: 14px; }
nav.main a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  margin-right: 22px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
nav.main a:hover { border-bottom-color: var(--brass-soft); color: #fff; }

/* Layout blocks */
main .wrap { padding-top: 38px; padding-bottom: 30px; }
section { margin-bottom: 34px; }

.card {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 0.3em; }
.card p:last-child { margin-bottom: 0; }

.grid { display: block; }
@media (min-width: 760px) {
  .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .grid .card { margin-bottom: 0; }
}

.price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--pine);
  font-weight: 600;
}
.small { font-size: 0.9rem; color: var(--muted); }

.stamp {
  display: inline-block;
  border: 2px solid var(--brass);
  color: var(--pine);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  transform: rotate(-1.2deg);
  background: rgba(176, 138, 60, 0.06);
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  background: var(--pine);
  color: var(--cream);
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--pine);
  margin: 4px 8px 4px 0;
}
.btn:hover { background: var(--pine-dark); color: #fff; }
.btn.alt {
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--brass);
}
.btn.alt:hover { background: rgba(176, 138, 60, 0.12); color: var(--pine); }

ul.ledger { list-style: none; padding: 0; margin: 0 0 1em 0; }
ul.ledger li {
  padding: 9px 2px;
  border-bottom: 1px dotted var(--sand-line);
}
ul.ledger li:last-child { border-bottom: none; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1em 0; background: var(--paper); }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--sand-line); vertical-align: top; }
th {
  background: var(--sand);
  color: var(--pine);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Stacked cards on narrow screens (Oct 21, 2026, page-audit D19): the
   same component pattern as Pine and Brass. A .stack-cards table retires
   its header row under the site's 760px breakpoint and each row becomes
   a card; every cell prints its column label from data-label (the label
   text is the column header's own text). Desktop rendering untouched.
   Nov 18, 2026 (mobile render audit): this copy of the component had
   drifted from the Pine/Summit version — it retired only a tr.stack-head
   row (Parlor's markup uses thead) and never set tbody to block, so the
   header rendered as an orphaned strip and the cards shrink-wrapped to
   ~60% width. Aligned below: thead retires, tbody is block. The class
   now belongs only on tables whose cells carry paragraph-length text;
   narrow short-value tables (the Texas 42 count tiles and kin) no longer
   carry it and stay full-width tables at every width. */
@media (max-width: 760px) {
  table.stack-cards { display: block; width: 100%; background: transparent; }
  .stack-cards thead { display: none; }
  .stack-cards tbody { display: block; }
  .stack-cards tr.stack-head { display: none; }
  .stack-cards tr {
    display: block;
    background: var(--paper);
    border: 1px solid var(--sand-line);
    margin: 0 0 12px 0;
    padding: 4px 14px 8px;
  }
  .stack-cards td {
    display: block;
    border: none;
    border-bottom: 1px solid var(--sand-line);
    padding: 8px 0;
  }
  .stack-cards tr td:last-child { border-bottom: none; }
  .stack-cards td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 2px;
  }
  /* The first cell is the card's title line: it carries no label. */
  .stack-cards td:first-child { padding-top: 10px; }
}

.example {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-left: 5px solid var(--brass);
  padding: 20px 24px;
  margin: 0 0 18px 0;
}
.example p:last-child { margin-bottom: 0; }

.fineprint { font-size: 0.88rem; color: var(--muted); }

/* Footer */
footer.site {
  background: var(--pine-dark);
  color: var(--cream);
  border-top: 4px double var(--brass);
  margin-top: 40px;
}
footer.site .wrap { padding-top: 26px; padding-bottom: 30px; }
footer.site a { color: var(--brass-soft); }
footer.site p { margin-bottom: 0.5em; }

/* Kit signup forms (Oct 16, 2026): plain HTML forms posting to Kit,
   used on the tool pages and the Parks hub. */
.kit-form .email-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-form input[type="email"] {
  flex: 1 1 240px;
  font-family: inherit;
  font-size: 1rem;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sand-line);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.kit-form button { min-height: 44px; cursor: pointer; }

/* Mobile tap targets (Oct 16, 2026): standalone text links render ~19px
   tall, short for thumbs. On small screens give content and footer links
   a taller touch area without changing desktop layout. Nav stays compact. */
@media (max-width: 760px) {
  main a, footer.site a {
    display: inline-block;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

/* Social icon row, footer (Nov 6, 2026) */
.social-row { display: flex; gap: 16px; align-items: center; margin-top: 16px; }
.social-row a { display: inline-flex; align-items: center; line-height: 0; }
.social-row svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* ==== Design refresh layer (Nov 18, 2026) ====
   One game = one color + one icon (NYT Games standard); dossier headers
   (BoardGameGeek standard); footer as second homepage; one motion
   treatment (tile lift). System: builds/parlor-design-refresh-2026-11-18/
   DESIGN-SYSTEM.md. */

:root {
  --g-train: #B3402A;
  --g-chickenfoot: #D9930D;
  --g-mahjong: #1E7A5A;
  --g-chess: #33395E;
  --g-texas42: #7A3B69;
  --g-spinner: #14707A;
  --g-allfives: #2E5E8C;
  --game: var(--pine);
}
body[data-game="train"] { --game: var(--g-train); }
body[data-game="chickenfoot"] { --game: var(--g-chickenfoot); }
body[data-game="mahjong"] { --game: var(--g-mahjong); }
body[data-game="chess"] { --game: var(--g-chess); }
body[data-game="texas42"] { --game: var(--g-texas42); }
body[data-game="spinner"] { --game: var(--g-spinner); }
body[data-game="allfives"] { --game: var(--g-allfives); }

body[data-game] .kicker { color: var(--game); }
body[data-game] .card { border-top: 3px solid var(--game); }

/* Dossier header: the game's fixed data block, before any prose. */
.dossier {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-top: 4px solid var(--game);
  margin: 0 0 26px 0;
}
@media (min-width: 760px) { .dossier { grid-template-columns: repeat(4, 1fr); } }
.dossier .dcell { padding: 12px 16px 14px; border-bottom: 1px solid var(--sand-line); }
.dossier .dlabel {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--game); margin-bottom: 3px;
}
.dossier .dvalue { font-size: 0.98rem; line-height: 1.45; color: var(--ink); }
.dossier .dvalue strong { color: var(--pine); }

/* Pip divider: three domino pips between double rules, in the game color. */
.pip-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 30px 0 8px 0;
}
.pip-divider::before, .pip-divider::after {
  content: ""; flex: 1;
  border-top: 3px double var(--sand-line);
}
.pip-divider .pips { display: flex; gap: 7px; }
.pip-divider .pips i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--game); display: block;
}

/* Tile wall: the games index. */
.gametilewall {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin: 0 0 8px 0;
}
@media (min-width: 760px) { .gametilewall { grid-template-columns: 1fr 1fr; } }
.gametile {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-top: 4px solid var(--gtile, var(--pine));
  padding: 18px 20px;
  text-decoration: none; color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.gametile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 42, 33, 0.14);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .gametile { transition: none; }
  .gametile:hover { transform: none; }
}
.gametile img { width: 72px; height: 72px; flex: none; border-radius: 10px; }
.gametile .tname {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem; font-weight: 600; color: var(--pine);
  display: block; margin: 0 0 4px 0; line-height: 1.25;
}
.gametile .tline { display: block; font-size: 0.97rem; line-height: 1.5; margin: 0 0 6px 0; }
.gametile .tmeta {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gtile, var(--pine));
}

/* Footer games index: the footer as second homepage. */
.footgames {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(231, 220, 195, 0.25);
}
.footgames-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-soft); margin-right: 4px;
}
.footgames a { font-size: 0.92rem; text-decoration: none; }
.footgames a:hover { text-decoration: underline; }

/* Score keeper accents: the player's number as designed furniture. */
body[data-game] .winnerbanner {
  background: var(--game); color: #FFFDF6;
  padding: 14px 18px; font-size: 1.15rem;
}
body[data-game] .totalsbar { border-left: 5px solid var(--game); }

/* Share card: the designed result of a finished game. */
.sharecard {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  margin: 22px 0;
}
.sharecard .sc-band {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 18px; color: #FFFDF6;
}
.sharecard .sc-icon { border-radius: 8px; }
.sharecard .sc-game {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; margin: 0; line-height: 1.2;
}
.sharecard .sc-sub {
  margin: 0; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85;
}
.sharecard .sc-winner {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem; font-weight: 600; color: var(--pine);
  padding: 16px 18px 4px; margin: 0;
}
.sharecard .sc-rows { margin: 8px 18px; width: calc(100% - 36px); background: transparent; }
.sharecard .sc-rows td { border: none; border-bottom: 1px dotted var(--sand-line); padding: 7px 4px; }
.sharecard .sc-rows tr:last-child td { border-bottom: none; }
.sharecard .sc-place { color: var(--muted); width: 2em; }
.sharecard .sc-total { text-align: right; font-weight: 700; color: var(--pine); }
.sharecard .sc-foot { padding: 4px 18px 0; font-size: 0.85rem; color: var(--muted); }
.sharecard .sc-actions { padding: 10px 18px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sharecard .sc-note { font-size: 0.9rem; color: var(--game); font-weight: 600; }

/* Hub game badge beside the H1. */
.gamebadge { width: 64px; height: 64px; border-radius: 10px; margin: 0 0 10px 0; display: block; }

/* Hub hero plate (Nov 18, 2026, imagery integration): the hub's front
   photograph, framed with a double rule in the site palette and a caption
   ruled off beneath it; the credit line sits right, small and quiet. */
.plate { margin: 4px 0 26px 0; }
.plate img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--sand-line);
  outline: 1px solid var(--sand); outline-offset: 6px;
}
.plate figcaption {
  border-top: 1px solid var(--sand-line);
  margin-top: 15px; padding: 9px 0 0;
  font-size: 0.95rem; color: var(--muted);
}
.plate .cap-main { display: block; max-width: 62ch; color: var(--ink); font-style: italic; }
.plate .credit {
  display: block; margin-top: 4px; text-align: right;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 640px) { .plate .credit { text-align: left; } }

/* Product-name links (Nov 29, 2026): a linked product name keeps the look of
   the text it sits in; underline on hover only. */
.gearpick h3 a{color:inherit;text-decoration:none}
.gearpick h3 a:hover{text-decoration:underline}
.bb-name a{color:inherit;text-decoration:none}
.bb-name a:hover{text-decoration:underline}
