:root {
  color-scheme: dark;
  --bg: #0e0f14;
  --bg-deep: #0a0910;
  --panel: rgba(28, 26, 43, 0.88);
  --card: #2a2640;
  --ink: #f4efe3;
  --muted: #b4aec8;
  --accent: #f2b635;
  --accent-light: #ffd97a;
  --accent-dark: #b07a12;
  --line: rgba(76, 69, 112, 0.7);
  --serif: Fraunces, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #1c1a2b 0%, var(--bg) 55%, var(--bg-deep) 100%) fixed;
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .enter:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
code { background: var(--card); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

.wrap { width: min(780px, 100% - 32px); margin-inline: auto; }

/* Header and footer */
.site-header { padding-block: 12px; background: rgba(10, 9, 16, 0.8); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 40px; width: auto; }
.site-header nav a { color: var(--ink); }
.site-footer { padding-block: 24px; margin-top: 48px; background: var(--bg-deep); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Landing page: the archway */
.landing .site-header { display: none; }
.gate { padding: 32px 16px 8px; text-align: center; }
.gate h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(2.4rem, 9vw, 4.2rem); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); text-shadow: 0 3px 0 var(--accent-dark), 0 0 40px rgba(242, 182, 53, .25); }
.gate .lede { margin: 4px 0 20px; font-size: 1.2rem; color: var(--ink); font-weight: 600; }

.arch { position: relative; width: min(420px, 100%); margin: 0 auto; }
.arch svg { width: 100%; height: auto; display: block; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.4s ease-in-out infinite alternate; }
.flame.b { animation-delay: -.7s; }
@keyframes flicker { from { transform: scale(1, 1); opacity: .9; } to { transform: scale(.88, 1.12); opacity: 1; } }

/* The button sits in the middle of the doorway. */
.enter {
  position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(var(--accent-light), var(--accent) 55%, var(--accent-dark));
  border: 3px solid #1a1208;
  box-shadow: 0 4px 0 #1a1208, 0 0 36px rgba(242, 182, 53, .55);
  color: #1a1208; text-decoration: none; text-align: center; line-height: 1.1;
  font-family: var(--serif); font-weight: 900; font-size: clamp(1.15rem, 5.2vw, 1.6rem);
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.enter small { font-family: system-ui, sans-serif; font-size: .62em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.enter:hover { transform: translate(-50%, -52%); box-shadow: 0 6px 0 #1a1208, 0 0 48px rgba(242, 182, 53, .8); }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } .enter { transition: none; } }

.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.features li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.features strong { color: var(--accent-light); }

.shots { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 14px; margin: 32px auto 0; max-width: 100%; scroll-snap-type: x mandatory; }
.shots img { flex: none; width: 190px; border-radius: 14px; border: 1px solid var(--line); scroll-snap-align: center; }
.shots-title { text-align: center; font-family: var(--serif); margin: 36px 0 0; font-size: 1.3rem; }

/* Policy pages */
.page { padding-block: 32px 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px 32px; }
.page h1 { font-family: var(--serif); font-size: 2.2rem; margin: 0 0 4px; color: var(--accent); }
.page h2 { font-family: var(--serif); font-size: 1.35rem; margin: 36px 0 8px; }
.updated { color: var(--muted); margin: 0 0 24px; }
.summary { background: var(--card); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; }
.page ul, .page ol { padding-left: 1.3rem; }
.page li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--accent-light); }

@media (max-width: 480px) { .panel { padding: 22px 16px 26px; } }
