:root {
  --bg: #090a0a;
  --panel: rgba(15, 18, 16, .94);
  --panel-soft: rgba(21, 24, 21, .82);
  --line: rgba(222, 177, 85, .25);
  --line-strong: rgba(222, 177, 85, .48);
  --gold: #deb155;
  --gold-light: #f3d38d;
  --text: #f7f0e4;
  --muted: #c9c0b2;
  --quiet: #91897e;
  --danger: #f19a94;
  --max: 940px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(4, 6, 6, .35), #090a0a 470px),
    #090a0a url("https://play.bornbyfirelight.com/assets/campfire/background.png") center top / 100% auto no-repeat fixed;
  font: 16px/1.72 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--gold-light); }

a:hover { color: #fff0c9; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(243, 211, 141, .72);
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(6, 8, 7, .78);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-footer__inner {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font: 700 21px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.01em;
}

.brand-mark { color: var(--gold); }

.top-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.top-nav a,
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.top-nav a:hover,
.top-nav a[aria-current="page"],
.footer-nav a:hover {
  color: var(--gold-light);
}

.page-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 52px auto 80px;
}

.page-heading {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(25, 29, 25, .96), rgba(10, 12, 11, .94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 60px);
  letter-spacing: -.025em;
}

.lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  margin: 18px 0 0;
  color: var(--quiet);
  font-size: 13px;
}

.legal-card {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .24);
}

.legal-card section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: clamp(23px, 4vw, 31px);
}

.legal-card h3 {
  margin: 26px 0 9px;
  color: var(--text);
  font-size: 19px;
}

.legal-card p { margin: 0 0 15px; color: var(--muted); }

.legal-card ul,
.legal-card ol {
  margin: 12px 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

.legal-card li + li { margin-top: 8px; }

.notice,
.action-box,
.identity {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: var(--panel-soft);
}

.notice p:last-child,
.action-box p:last-child,
.identity p:last-child { margin-bottom: 0; }

.action-box h2,
.action-box h3 { margin-top: 0; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  padding: 0 22px;
  border: 1px solid #f0cc7b;
  background: linear-gradient(180deg, #e3ba64, #a76b20);
  color: #1d1205;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(190, 122, 30, .22);
}

.button:hover { color: #120a02; filter: brightness(1.06); }

details.identity { border-left-color: var(--line-strong); }

details.identity summary {
  cursor: pointer;
  color: var(--gold-light);
  font-weight: 750;
}

.identity dl {
  display: grid;
  grid-template-columns: minmax(130px, .35fr) 1fr;
  gap: 8px 18px;
  margin: 18px 0 0;
}

.identity dt { color: var(--quiet); }

.identity dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.contact-item h2 { margin: 0 0 8px; font-size: 20px; }
.contact-item p { margin: 0; font-size: 14px; }
.contact-item a { overflow-wrap: anywhere; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: #080909;
}

.site-footer__inner { padding: 30px 0 38px; }

.footer-nav { justify-content: center; }

.copyright {
  margin: 14px 0 0;
  color: var(--quiet);
  text-align: center;
  font-size: 12px;
}

.warning { color: var(--danger); }


.footer-brandline { margin: 0 0 12px; color: var(--muted); text-align: center; font-size: 13px; }
.footer-brandline strong { color: var(--gold-light); }
.copyright a { color: var(--muted); text-decoration: none; }
.copyright a:hover { color: var(--gold-light); }
.contact-grid--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.page-heading--about { position: relative; overflow: hidden; }
.page-heading--about:after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(222,177,85,.14), transparent 68%); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.about-panel { padding: 22px; border: 1px solid var(--line); background: var(--panel-soft); }
.about-panel strong { display: block; color: var(--quiet); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.about-panel span { display: block; margin: 5px 0 10px; color: var(--gold-light); font: 700 22px/1.2 Georgia,serif; }
.about-panel p { margin: 0; }

@media (max-width: 720px) {
  body { background-size: auto 640px; background-attachment: scroll; }
  .site-header__inner { min-height: auto; padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .top-nav { gap: 8px 14px; }
  .page-shell { margin-top: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-header__inner,
  .site-footer__inner,
  .page-shell { width: min(100% - 24px, var(--max)); }
  .page-heading,
  .legal-card { padding: 24px 20px; }
  .identity dl { grid-template-columns: 1fr; gap: 2px; }
  .identity dd + dt { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
