:root {
  --bg: #0d0c0b;
  --panel: #171512;
  --line: #2c2822;
  --text: #ece6da;
  --muted: #a89f90;
  --gold: #d6ae62;
  --gold-deep: #9c7632;
  --ok: #7fc47a;
  --down: #d9705f;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); }
a { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(13, 12, 11, .82); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line); }
.brand { font: 600 20px var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.nav nav { display: flex; gap: clamp(12px, 2.4vw, 28px); align-items: center; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--gold); border: 1px solid var(--gold-deep); padding: 6px 14px; border-radius: 4px; }

.hero { min-height: 100vh; display: flex; align-items: flex-end; padding: 120px clamp(16px, 6vw, 96px) 12vh;
  background: linear-gradient(180deg, rgba(13,12,11,.25) 0%, rgba(13,12,11,.55) 55%, var(--bg) 100%),
              url("/img/aden-castle.jpg") center / cover no-repeat; }
.hero-inner { max-width: 720px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; font: 400 clamp(56px, 11vw, 128px)/1 var(--serif); letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.lede { font-size: clamp(17px, 2vw, 20px); color: #ddd5c6; max-width: 620px; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.button { display: inline-block; padding: 12px 22px; border: 1px solid var(--gold-deep); border-radius: 4px; color: var(--text);
  background: rgba(13,12,11,.5); font: 600 15px var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--gold); }
.button.primary { background: var(--gold); border-color: var(--gold); color: #1a1409; }
.button.primary:hover { background: #e4c07a; }
.live { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.down { background: var(--down); }

.section { max-width: 1120px; margin: 0 auto; padding: 88px clamp(16px, 4vw, 48px) 0; }
h2 { margin: 0 0 24px; font: 400 clamp(30px, 4vw, 42px)/1.15 var(--serif); letter-spacing: .03em; }
h3 { margin: 0 0 8px; font: 600 20px var(--serif); color: var(--gold); letter-spacing: .02em; }
.section-note { color: var(--muted); font-size: 14px; margin: -12px 0 24px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.features article { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.features p { margin: 0; color: #cfc7b8; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.gallery a { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }

.status { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.stat .label { color: var(--muted); font-size: 14px; }
.stat .value { font: 400 28px var(--serif); }
.value.ok { color: var(--ok); }
.value.down { color: var(--down); }
#st-checked { margin-top: 14px; }

.beta { max-width: 720px; padding-bottom: 40px; }
.beta form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.beta input[type=email] { flex: 1 1 260px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); font: 16px var(--sans); }
.beta input[type=email]:focus { outline: none; border-color: var(--gold); }
.trap { position: absolute; left: -9999px; }
.form-message { min-height: 1.6em; margin: 12px 0 0; }
.form-message.error { color: var(--down); }
.fine { color: var(--muted); font-size: 13px; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1120px; margin: 72px auto 0;
  padding: 24px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }

@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { padding-bottom: 8vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
