/* Lone Star 42 — site styles. No framework, no client JS. */

@font-face {
  font-family: "Rye";
  src: url("/fonts/rye.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --oxblood: #7A1F1F;
  --oxblood-dark: #5A1515;
  --ivory: #F3EAD3;
  --ivory-dim: #E2D6B8;
  --pip: #1B1A17;
  --saddle: #8B5A2B;
  --brass: #C9A44C;
  --felt: #2F5D46;

  --font-display: "Rye", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --max: 68rem;
  --gutter: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--pip);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--oxblood); text-underline-offset: 0.15em; }
a:hover { color: var(--oxblood-dark); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--pip); color: var(--ivory); padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--oxblood); color: var(--ivory); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ivory); text-decoration: none;
  font-family: var(--font-display); font-size: 1.25rem;
}
.brand:hover { color: var(--ivory); }
.brand svg { width: 40px; height: 40px; flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brass); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,164,76,0.18), transparent 60%),
    var(--oxblood);
  color: var(--ivory);
  text-align: center;
  padding: 3rem 0 3.5rem;
  border-bottom: 6px solid var(--brass);
}
.hero-logo { width: 132px; height: 132px; margin: 0 auto 1.25rem; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }
.hero h1 { color: var(--ivory); margin-bottom: 0.3em; }
.hero .tagline { font-size: clamp(1.1rem, 3.2vw, 1.35rem); max-width: 34rem; margin: 0 auto 1.75rem; }
.star-rule { color: var(--brass); letter-spacing: 0.6em; font-size: 0.9rem; margin: 0 0 1rem; }

.badge-slot {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 200px; min-height: 60px; padding: 0.6rem 1.25rem;
  border: 2px dashed var(--brass); border-radius: 12px;
  color: var(--ivory); font-weight: 600; text-decoration: none;
}
.badge-slot small { display: block; font-weight: 400; font-size: 0.85rem; opacity: 0.9; }
.hero .fine { margin-top: 1rem; font-size: 0.95rem; color: var(--ivory-dim); }

/* ---------- Sections ---------- */
section { padding: 3.25rem 0; }
.section-intro { max-width: 40rem; }

.features { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 40rem) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: #FBF6E9;
  border: 1px solid var(--ivory-dim);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 0.6rem;
}
.card h3 { color: var(--oxblood); display: flex; align-items: center; gap: 0.6rem; }
.card h3 svg { width: 34px; height: 20px; flex: none; }
.card ul { padding-left: 1.2rem; margin: 0 0 1em; }

.felt { background: var(--felt); color: var(--ivory); }
.felt h2 { color: var(--ivory); }
.felt a { color: var(--brass); }

.shots {
  display: grid; gap: 1rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}
.shot {
  aspect-ratio: 9 / 19.5;
  border: 2px dashed rgba(243,234,211,0.55);
  border-radius: 26px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem; font-size: 0.9rem; color: var(--ivory-dim);
  background: rgba(0,0,0,0.12);
}

.rules { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; margin: 1.25rem 0 0; }
.rules li {
  background: var(--pip); color: var(--ivory);
  border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.95rem;
}

.free-note {
  border-left: 5px solid var(--brass);
  background: #FBF6E9; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem; margin-top: 1.5rem; max-width: 46rem;
}
.free-note p:last-child { margin-bottom: 0; }

/* ---------- Prose pages ---------- */
.page-head { background: var(--oxblood); color: var(--ivory); padding: 2.25rem 0 2rem; border-bottom: 6px solid var(--brass); }
.page-head h1 { color: var(--ivory); font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 0.25em; }
.page-head p { margin: 0; color: var(--ivory-dim); }

.prose { max-width: 44rem; padding: 2.5rem 0 3.5rem; }
.prose h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); color: var(--oxblood); margin-top: 2rem; }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4em; }
.muted { color: var(--saddle); }

.contact-box {
  background: #FBF6E9; border: 1px solid var(--ivory-dim); border-radius: var(--radius);
  padding: 1.25rem; margin: 1.25rem 0 2rem;
}
.contact-box p:last-child { margin-bottom: 0; }
.email { font-size: 1.15rem; font-weight: 700; word-break: break-all; }

.faq details {
  border: 1px solid var(--ivory-dim); border-radius: 10px; background: #FBF6E9;
  margin-bottom: 0.6rem;
}
.faq summary {
  cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; list-style-position: inside;
}
.faq details > div { padding: 0 1.1rem 0.9rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 4rem 0 5rem; }
.notfound svg { width: 120px; height: 120px; margin-bottom: 1rem; }
.button {
  display: inline-block; background: var(--brass); color: var(--pip);
  font-weight: 700; text-decoration: none; padding: 0.7rem 1.4rem; border-radius: 10px;
}
.button:hover { background: #D8B65E; color: var(--pip); }

/* ---------- Footer ---------- */
.site-footer { background: var(--oxblood-dark); color: var(--ivory); padding: 2rem 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 40rem) { .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-footer a { color: var(--brass); }
.site-footer a:hover { color: var(--ivory); }
.site-footer p { margin: 0; color: var(--ivory-dim); }
