* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #050810; min-height: 100vh; color: #F5E6B8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
body { position: relative; overflow-x: hidden; }
body::before { content: ''; position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 600px; background: radial-gradient(ellipse, rgba(201,162,39,0.14), transparent 65%);
  pointer-events: none; z-index: 0; }
a { color: #E8C766; }
a:hover { color: #F5E6B8; }

.topnav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  max-width: 760px; margin: 0 auto; padding: 18px 20px; flex-wrap: wrap; gap: 10px; }
.topnav .brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; letter-spacing: 2px;
  color: #F5E6B8; text-decoration: none; }
.topnav .brand span { color: #C9A227; }
.topnav nav a { font-size: 12px; letter-spacing: 1.5px; color: rgba(245,230,184,0.7); text-decoration: none; margin-left: 18px; }
.topnav nav a:hover { color: #F5E6B8; }

.page { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 12px 20px 40px; }
.page h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 40px;
  line-height: 1.15; letter-spacing: 1px; margin: 18px 0 8px; }
.page .kicker { font-size: 11px; letter-spacing: 5px; color: #C9A227; margin-top: 16px; }
.page .lede { font-size: 17px; line-height: 1.6; color: rgba(245,230,184,0.85); margin: 10px 0 22px; }
.page h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 27px;
  margin: 34px 0 10px; color: #F5E6B8; }
.page h3 { font-size: 16px; margin: 22px 0 6px; color: #E8C766; }
.page p, .page li { font-size: 16px; line-height: 1.75; color: rgba(245,230,184,0.82); }
.page p { margin: 0 0 14px; }
.page ul, .page ol { margin: 0 0 16px 22px; }
.page li { margin-bottom: 6px; }
.page .meta { font-size: 12px; color: rgba(245,230,184,0.45); letter-spacing: 0.5px; }

.hero-glyphs { text-align: center; font-size: 46px; letter-spacing: 6px; margin: 22px 0 6px;
  padding: 26px 10px; border: 0.5px solid rgba(201,162,39,0.25); border-radius: 18px;
  background: linear-gradient(160deg, rgba(245,230,184,0.05), rgba(20,40,80,0.2));
  text-shadow: 0 0 24px rgba(201,162,39,0.45); word-break: break-all; }
.hero-caption { text-align: center; font-size: 12px; font-style: italic; color: rgba(245,230,184,0.5); margin-bottom: 20px; }

table.chart { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 14px; }
table.chart th { text-align: left; font-size: 10px; letter-spacing: 2px; color: #C9A227; font-weight: 500;
  padding: 8px 10px; border-bottom: 0.5px solid rgba(201,162,39,0.35); }
table.chart td { padding: 8px 10px; border-bottom: 0.5px solid rgba(201,162,39,0.12); color: rgba(245,230,184,0.85); vertical-align: middle; }
table.chart td.sign { font-size: 28px; color: #F5E6B8; width: 70px; text-align: center; }
.table-wrap { overflow-x: auto; }

.callout { border-left: 2px solid #C9A227; background: rgba(201,162,39,0.06); padding: 14px 18px;
  border-radius: 0 12px 12px 0; margin: 20px 0; }
.callout p { margin: 0; }
.cta { display: inline-block; margin: 8px 0 18px; padding: 10px 22px; border: 0.5px solid rgba(201,162,39,0.6);
  border-radius: 22px; text-decoration: none; font-size: 13px; letter-spacing: 1.5px; color: #F5E6B8; }
.cta:hover { background: rgba(201,162,39,0.12); }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.related a { display: block; padding: 14px 16px; border: 0.5px solid rgba(201,162,39,0.25); border-radius: 14px;
  text-decoration: none; color: #F5E6B8; font-size: 14px; }
.related a small { display: block; color: rgba(245,230,184,0.55); font-size: 12px; margin-top: 4px; }
.related a:hover { border-color: rgba(201,162,39,0.6); }

.ad-slot { margin: 36px auto 10px; min-height: 100px; text-align: center; }
.ad-slot::before { content: 'ADVERTISEMENT'; display: block; font-size: 9px; letter-spacing: 3px;
  color: rgba(245,230,184,0.25); margin-bottom: 12px; }

.site-footer { position: relative; z-index: 1; max-width: 760px; margin: 30px auto 0; padding: 26px 20px 40px;
  border-top: 0.5px solid rgba(201,162,39,0.15); text-align: center; font-size: 12px; color: rgba(245,230,184,0.45); }
.site-footer a { color: rgba(245,230,184,0.65); text-decoration: none; margin: 0 9px; }
.site-footer a:hover { color: #F5E6B8; }
.site-footer p { margin-top: 12px; }

@media (max-width: 480px) {
  .page h1 { font-size: 32px; }
  .hero-glyphs { font-size: 34px; }
  .topnav nav a { margin-left: 12px; }
}

/* NameGlyph historical sign comparison */
.chart caption { text-align: left; color: #F5E6B8; padding: 8px 10px; font-weight: 600; }
.chart tbody th { width: 25%; letter-spacing: 0; font-size: 13px; color: #F5E6B8; }
.comparison-sign { font: 1.4em 'Noto Sans Egyptian Hieroglyphs', sans-serif; }
