/* Bygone, bygone.games. One stylesheet for every page. Built to studies/website/. */

/* The date the privacy policy and the terms were last updated. Change it here, in this one
   place, on the day the site goes live; both pages show it. */
.updated-date::after { content: "October 5, 2026"; }

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body { margin: 0; background: #14110D; }
a { color: #E3A94C; }
a:hover { color: #F6E7C8; }

/* A link inside a sentence gets a taller tap area without moving a line of text. */
p a, li a { padding: 12px 0; }

.page {
  min-height: 100vh;
  box-sizing: border-box;
  background: #14110D;
  color: #E8D9C0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}
.page--doc { font-size: 18px; line-height: 1.6; }

.serif { font-family: "EB Garamond", Georgia, serif; font-weight: 600; }

/* The top bar */
.top { background: #14110D; border-bottom: 1px solid #2E271E; }
.top__in {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
}
.brand { display: flex; align-items: center; min-height: 48px; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 600; }
.nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }

/* The footer */
.foot { margin-top: auto; background: #14110D; border-top: 1px solid #2E271E; }
.foot__in {
  max-width: 1120px; margin: 0 auto; padding: 28px 24px 36px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
  font-size: 15px; line-height: 1.55;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
.foot nav a { display: flex; align-items: center; min-height: 44px; }
.foot__copy { color: #B5A589; }

/* Shared pieces */
.inner { max-width: 1120px; margin: 0 auto; box-sizing: border-box; }
.band { background: #1B1712; border-top: 1px solid #2E271E; border-bottom: 1px solid #2E271E; }
.h2 { margin: 0; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; color: #F6E7C8; }
.lede { margin: 0; max-width: 700px; font-size: 19px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.2px; color: #E3A94C; }
.panel { background: #221D16; border: 1px solid #3A3227; border-radius: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(236px, 100%), 1fr)); gap: 16px; }

.badge {
  padding: 3px 12px; border-radius: 14px; border: 1px solid currentColor;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.4px;
}
.badge--attested { color: #8FC59A; }
.badge--reconstructed { color: #93B8EC; }
.badge--conjectural { color: #E59C7A; }
.badge--modern { color: #E8D9C0; }

.soon {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; box-sizing: border-box;
  border-radius: 26px; border: 1px solid #6B5A40; color: #F6E7C8; font-size: 16px; font-weight: 600;
}
.soon svg { flex: none; }
.button {
  display: flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 26px;
  background: #E3A94C; color: #14110D; font-size: 17px; font-weight: 700; text-decoration: none;
}
.button:hover { color: #14110D; }

/* Front page: the hero */
.hero { background: radial-gradient(ellipse 60% 70% at 72% 45%, #4B3620 0%, #2A2118 42%, #14110D 78%); }
.hero__in { padding: 64px 24px 76px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  margin: 0; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.04; color: #F6E7C8; text-wrap: balance;
}
.hero__lede { margin: 0; font-size: 20px; line-height: 1.5; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.hero__note { font-size: 14.5px; color: #B5A589; }
.hero__pics { flex: 1 1 400px; min-width: 0; position: relative; aspect-ratio: 1 / 1.06; }
.hero__pics img {
  position: absolute; height: auto; border-radius: 22px; border: 1px solid #5A4A34;
}
.hero__pics .pic-senet { right: 3%; top: 9%; width: 45%; box-shadow: 0 24px 60px rgba(0,0,0,0.55); transform: rotate(5deg); }
.hero__pics .pic-ur { left: 7%; top: 2%; width: 48%; box-shadow: 0 28px 70px rgba(0,0,0,0.6); transform: rotate(-3deg); }

/* Front page: the badges */
.badges__in { padding: 72px 24px; display: flex; flex-direction: column; gap: 18px; }
.badges__grid { margin-top: 14px; }
.badge-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.badge-card .badge { align-self: flex-start; }
.badge-card__text { font-size: 16.5px; }
.badge-card__games { margin-top: auto; font-size: 14px; color: #B5A589; }

/* Front page: the games */
.games__in { padding: 80px 24px; display: flex; flex-direction: column; gap: 24px; }
.games__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.game {
  display: flex; flex-wrap: wrap; background: #221D16; border: 1px solid #3A3227; border-radius: 16px; overflow: hidden;
}
.game > img { flex: 0 0 204px; width: 204px; height: 420px; object-fit: cover; display: block; margin: 0 auto; }
.game__body {
  flex: 999 1 300px; min-width: 0; box-sizing: border-box; padding: 26px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.game__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.game h3 { margin: 0; font-size: 34px; line-height: 1.1; color: #F6E7C8; }
.game__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 22px; }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact__label { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: #E3A94C; }
.fact__text { font-size: 16px; }

/* Front page: ways to play */
.play__in { padding: 72px 24px; display: flex; flex-direction: column; gap: 28px; }
.way { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.way h3 { margin: 0; font-size: 24px; color: #F6E7C8; }
.way__text { font-size: 16px; }

/* Front page: the shop */
.looks__in { padding: 80px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.looks__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.looks__text p { margin: 0; font-size: 18px; }
.looks__pics {
  flex: 999 1 420px; min-width: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 14px;
}
.looks__pics figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.looks__pics img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 12px; border: 1px solid #4A4133;
}
.looks__pics figcaption { font-size: 14.5px; line-height: 1.35; }
.cap-name { color: #F6E7C8; font-weight: 600; }
.cap-note { color: #B5A589; }

/* Front page: the closing band */
.close { background: #221D16; border-top: 1px solid #3A3227; }
.close__in {
  padding: 56px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.close__lead { display: flex; align-items: center; gap: 20px; flex: 1 1 380px; min-width: 0; }
.close__lead img { display: block; flex: none; width: 76px; height: 76px; }
.close__words { display: flex; flex-direction: column; gap: 4px; }
.close__title { font-size: 30px; line-height: 1.15; color: #F6E7C8; }
.close__later { font-size: 16px; color: #B5A589; }
.close__soon { display: flex; flex-wrap: wrap; gap: 14px; }

/* The policy pages */
.doc {
  width: 100%; max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 36px;
}
.doc--tight { gap: 32px; }
.doc p { margin: 0; }
.doc__head { display: flex; flex-direction: column; gap: 14px; }
.doc h1 { margin: 0; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.08; color: #F6E7C8; }
.doc__eyebrow { text-transform: uppercase; }
.doc section { display: flex; flex-direction: column; gap: 12px; }
.doc h2.serif { margin: 0; font-size: 28px; line-height: 1.2; color: #F6E7C8; }
.doc strong { color: #F6E7C8; }
.doc .box {
  background: #221D16; border: 1px solid #3A3227; border-radius: 14px; padding: 24px 26px;
}
.box h2, .box__label {
  margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.8px; color: #E3A94C;
}
.doc ul, .doc ol { margin: 0; display: flex; flex-direction: column; }
.list-keep { padding-left: 24px; gap: 10px; }
.list-short { padding-left: 22px; gap: 6px; font-size: 17px; }
.list-steps { padding-left: 26px; gap: 6px; }
.list-rules { padding-left: 28px; gap: 16px; }
.doc .box--short { gap: 10px; }
.doc .box--split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 26px 36px;
}
.box__col { display: flex; flex-direction: column; gap: 10px; }
.doc .aside { font-size: 16px; color: #B5A589; }
