@font-face { font-family: "EB Garamond"; src: url("/fonts/EBGaramond.ttf") format("truetype"); font-display: swap; }
:root {
  --ink: #f3ead8; --ink-soft: #d9ccb1; --muted: #b5a68a;
  --night: #1b1712; --panel: #241f19; --line: #5b4a31; --brass: #c9a25a;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0; color: var(--ink); background: var(--night);
  font: 19px/1.6 "EB Garamond", Georgia, "Times New Roman", serif;
}
a { color: var(--brass); }
.hero {
  min-height: 82vh; display: flex; align-items: flex-end;
  background: linear-gradient(to bottom, rgba(27,23,18,0.05) 30%, rgba(27,23,18,0.92) 92%),
              url("/img/valley.jpg") center / cover no-repeat;
}
.hero-inner { max-width: 980px; margin: 0 auto; padding: 0 16px 56px; width: 100%; }
.logo { width: 92px; height: auto; display: block; margin-bottom: 8px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
h1 { font-size: clamp(42px, 8vw, 76px); line-height: 1; margin: 0 0 12px; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.tagline { font-size: clamp(20px, 3.2vw, 27px); color: var(--ink); max-width: 760px; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
main { max-width: 980px; margin: 0 auto; padding: 8px 16px 48px; }
section { border-top: 1px solid var(--line); padding: 40px 0 8px; }
h2 { font-size: 32px; margin: 0 0 6px; color: var(--brass); font-weight: 600; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--muted); margin: 0 0 4px; }
p { margin: 0 0 16px; color: var(--ink-soft); max-width: 760px; }
ul { color: var(--ink-soft); max-width: 760px; padding-left: 22px; }
li { margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.fact b { display: block; font-size: 30px; color: var(--ink); line-height: 1.1; }
.fact span { color: var(--muted); font-size: 16px; }
figure { margin: 8px 0 24px; }
figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; display: block; }
figcaption { color: var(--muted); font-size: 16px; margin-top: 8px; }
.soon { display: inline-block; border: 1px solid var(--brass); color: var(--brass); border-radius: 999px; padding: 2px 12px; font-size: 15px; margin-left: 8px; vertical-align: middle; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; padding: 24px 16px 40px; text-align: center; }

/* Article pages */
.article { max-width: 820px; margin: 0 auto; padding: 32px 16px 48px; }
.article h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin: 8px 0 16px; text-shadow: none; }
.article h3 { color: var(--ink); font-size: 23px; margin: 22px 0 6px; }
.lede { font-size: 21px; color: var(--ink); }
.updated, .note { color: var(--muted); font-size: 16px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 17px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
th { color: var(--brass); font-weight: 600; }
.yes { color: #9fd38a; } .no { color: #e48b7a; } .maybe { color: #e8c76f; }
.table-wrap { overflow-x: auto; }

@media (max-width: 640px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap tr { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin-bottom: 10px; background: var(--panel); }
  .table-wrap td { border: none; padding: 2px 0; }
  .table-wrap td::before { content: attr(data-label) " — "; color: var(--muted); }
}
