@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --felt: #14382C;
  --felt-deep: #0C241C;
  --felt-mid: #1C4A3A;
  --cream: #F6F0E4;
  --paper: #FFFCF6;
  --ink: #1A1714;
  --muted: #5E584F;
  --line: #D9D0C0;
  --gold: #C9A24A;
  --gold-deep: #A78532;
  --max: 72rem;
  --header-h: 5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }
a { color: var(--felt-mid); text-underline-offset: 0.15em; }
a:hover { color: var(--gold-deep); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--felt-deep);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 162, 74, 0.28);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand img { height: 3.35rem; width: auto; display: block; }
.nav { display: flex; gap: 0.15rem 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* Layout */
main { flex: 1; }
.hero { padding: 3.5rem 0 2.5rem; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.85rem;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--felt-deep); }
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); margin: 0 0 1rem; max-width: 16ch; }
h1 em { font-style: italic; font-weight: 500; color: var(--felt); }
.lead { font-size: 1.2rem; max-width: 38rem; margin: 0 0 2rem; color: var(--muted); }
.page { padding: 2.75rem 0 4rem; }
.page h1 { max-width: none; }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.soon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.35rem 1.4rem 1.5rem;
}
.card h2 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.card p { margin: 0 0 0.85rem; color: var(--muted); font-size: 1rem; }
.card ul { margin: 0; padding: 0 0 0 1.1rem; }
.card li { margin: 0.2rem 0; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--felt);
  background: #e6efe6;
  border: 1px solid #c5d6c8;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.6rem;
}

/* Logo options */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.logo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.logo-card.current { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold); }
.logo-card header {
  padding: 0.9rem 1.1rem 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}
.logo-card header h2 { font-size: 1.15rem; margin: 0; }
.logo-card .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.swatch { padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: center; min-height: 9rem; }
.swatch.light { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swatch.dark { background: var(--felt-deep); }
.swatch img.icon { width: 7.5rem; height: 7.5rem; }
.swatch img.lockup { height: 3.1rem; width: auto; max-width: 100%; }
.swatch.wordmark img.icon { width: auto; height: 5.5rem; }
.logo-card footer {
  padding: 0.85rem 1.1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.logo-card footer p { margin: 0; }

/* Footer */
.site-footer {
  background: var(--felt-deep);
  color: #c9c2b4;
  padding: 1.6rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(201, 162, 74, 0.28);
  font-size: 0.92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.15rem; }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding: 0.7rem 0 0.85rem; min-height: 0; }
  .brand img { height: 3.05rem; }
  .nav { width: 100%; justify-content: flex-start; gap: 0.2rem 1rem; }
  .hero { padding: 2.2rem 0 1.8rem; }
}

/* Take Point Calculator */
.crumb { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.crumb a { color: var(--muted); }
.tool-byline { margin: 0 0 1.5rem; color: var(--muted); }
.tp-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  margin: 0 0 2.5rem;
}
@media (max-width: 800px) {
  .tp-layout { grid-template-columns: 1fr; }
}
.tp-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.2rem 1.2rem 1.3rem;
}
.tp-panel h2 { font-size: 1.2rem; margin: 0 0 0.75rem; }
.tp-presets { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.tp-preset {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}
.tp-preset:hover, .tp-preset.is-active {
  border-color: var(--gold-deep);
  background: #f3ead3;
  color: var(--felt-deep);
}
.tp-field { margin: 0 0 0.85rem; }
.tp-field label { display: block; font-weight: 600; margin: 0 0 0.2rem; }
.tp-field .hint { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 400; margin: 0 0 0.35rem; }
.tp-field input[type="number"] {
  width: 100%;
  max-width: 10rem;
  font: inherit;
  font-size: 1.15rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--ink);
}
.tp-field input:focus { outline: 2px solid var(--gold); border-color: var(--gold-deep); }
.tp-advanced { margin: 0.4rem 0 0.8rem; }
.tp-advanced > summary { cursor: pointer; font-weight: 600; color: var(--felt-mid); }
.tp-actions { margin: 0.6rem 0 0; }
.tp-actions button[type="submit"] {
  font: inherit;
  font-weight: 600;
  background: var(--felt);
  color: var(--cream);
  border: 0;
  border-radius: 0.45rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.tp-actions button[type="submit"]:hover { background: var(--felt-deep); }
.tp-errors {
  background: #f8ece8;
  border: 1px solid #e0c4ba;
  color: #6a2a22;
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
}
.tp-errors p { margin: 0 0 0.4rem; }
.tp-errors p:last-child { margin: 0; }
.tp-verdict {
  border-radius: 0.75rem;
  padding: 1rem 1.15rem 1.1rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
}
.tp-verdict .kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}
.tp-verdict h3 { font-size: 1.85rem; margin: 0 0 0.25rem; }
.tp-verdict .sub { margin: 0; }
.tp-verdict.is-take { background: #e7f0ea; border-color: #b7cfc0; color: var(--felt-deep); }
.tp-verdict.is-pass { background: #f6ece9; border-color: #e0c4ba; color: #5a221c; }
.tp-verdict.is-close { background: #f3ead3; border-color: #e0d0a4; color: #4a3a12; }
.tp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.tp-stats li { margin: 0; }
.tp-stats .lbl { display: block; font-size: 0.82rem; color: var(--muted); }
.tp-stats .val { font-weight: 600; }
.tp-ev {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  background: var(--cream);
  border-radius: 0.5rem;
}
.tp-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.explainer, .faq { max-width: 42rem; }
.explainer h2, .faq h2 { margin-top: 2rem; }
.faq h3 { font-size: 1.15rem; margin: 1.2rem 0 0.35rem; }
.tool-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.tool-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.1rem 1.2rem 1.2rem;
  margin: 0 0 0.9rem;
}
.tool-list h2 { font-size: 1.3rem; margin: 0 0 0.3rem; }
.tool-list p { margin: 0 0 0.5rem; color: var(--muted); }
.tool-list p:last-child { margin: 0; }

/* Blot Hit Odds */
.bh-distance-row { display: flex; align-items: center; gap: 0.6rem; }
.bh-distance-row input[type="number"] { max-width: 6.5rem; }
.bh-strip-wrap { margin-top: 0.35rem; }
.bh-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.3rem;
  padding: 0.45rem 0.45rem 0.4rem;
  background: var(--felt-deep);
  border-radius: 0.6rem;
  margin: 0 0 0.45rem;
}
.bh-you {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 3.4rem;
  padding: 0 0.35rem 0.15rem 0.15rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bh-point {
  position: relative;
  flex: 0 0 1.85rem;
  width: 1.85rem;
  min-height: 3.6rem;
  padding: 0.3rem 0 0.2rem;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 0.3rem 0.3rem 0.2rem 0.2rem;
  background: #1a4a3a;
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
}
.bh-point .bh-pip {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  margin-bottom: auto;
  margin-top: 0.25rem;
}
.bh-point:hover { border-color: var(--gold); background: #215644; }
.bh-point.is-blocked {
  background: #0a1c16;
  border-color: var(--gold-deep);
}
.bh-point.is-blocked .bh-pip {
  background: #d9cfc0;
  box-shadow: 0 0.85rem 0 0 #d9cfc0;
  height: 0.62rem;
  width: 0.62rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}
.bh-point.is-blot {
  cursor: default;
  background: #3a2e14;
  border-color: var(--gold);
}
.bh-point.is-blot:hover { background: #3a2e14; }
.bh-point.is-blot .bh-pip {
  background: var(--gold);
  margin-bottom: auto;
}
.bh-num { font-size: 0.78rem; font-weight: 600; line-height: 1; }
.bh-blot-label {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-top: 0.15rem;
}
.bh-clear {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  border: 0;
  color: var(--felt-mid);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.bh-clear:disabled { color: var(--muted); text-decoration: none; cursor: default; opacity: 0.55; }
.tp-verdict.is-likely { background: #e7f0ea; border-color: #b7cfc0; color: var(--felt-deep); }
.tp-verdict.is-mid { background: #f3ead3; border-color: #e0d0a4; color: #4a3a12; }
.tp-verdict.is-long { background: #f6ece9; border-color: #e0c4ba; color: #5a221c; }
.tp-verdict.is-miss { background: #eeeae4; border-color: var(--line); color: var(--ink); }
.bh-rolls { display: grid; gap: 0.75rem; margin: 0 0 0.9rem; }
.bh-roll-group h4 { margin: 0 0 0.35rem; font-size: 0.92rem; }
.bh-roll-group h4 span { font-weight: 400; color: var(--muted); }
.bh-dice { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.bh-die {
  display: inline-block;
  min-width: 2.6rem;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.18rem 0.4rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bh-rolls-empty { margin: 0 0 0.9rem; color: var(--muted); }
.bh-ref { margin: 2rem 0 0; }
.bh-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0.8rem 0 0;
}
@media (max-width: 700px) {
  .bh-ref-grid { grid-template-columns: 1fr; }
}
.bh-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.bh-table th, .bh-table td { padding: 0.32rem 0.45rem; border-bottom: 1px solid var(--line); text-align: right; }
.bh-table th:first-child, .bh-table td:first-child { text-align: left; }
.bh-table thead th { font-size: 0.78rem; color: var(--muted); font-weight: 600; letter-spacing: 0.03em; }
.bh-table tr.is-current { background: #f3ead3; }
.bh-table caption { text-align: left; font-weight: 600; margin: 0 0 0.3rem; caption-side: top; }
.bh-caption { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.95rem; }

/* Articles */
.article { max-width: 46rem; }
.article-page h1 { max-width: 18ch; }
.article-body h2 { margin-top: 2.1rem; }
.table-wrap { overflow-x: auto; margin: 1.1rem 0 0.4rem; }
.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  background: var(--paper);
}
.chart-table caption {
  text-align: left;
  font-weight: 600;
  caption-side: top;
  margin: 0 0 0.4rem;
  color: var(--felt-deep);
}
.chart-table th, .chart-table td {
  padding: 0.38rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.chart-table thead th {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.chart-table tbody tr:hover { background: #f3ead3; }
.table-note { font-size: 0.95rem; color: var(--muted); margin: 0 0 1.2rem; }
.facts-table { margin: 1.2rem 0 1.6rem; }
