:root {
  --bg: #0b0906;
  --bg-2: #120e08;
  --panel: #17120b;
  --line: rgba(212, 169, 74, 0.28);
  --gold: #d4a94a;
  --gold-hi: #f6e2a0;
  --bronze: #8a6a2f;
  --text: #ece2cb;
  --muted: #a99a7c;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; line-height: 1.15; margin: 0; text-wrap: balance; }
.gold {
  background: linear-gradient(180deg, #fff3c4 0%, var(--gold) 45%, #9a7226 78%, #e6c36a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 9, 6, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { font: 700 20px/1 var(--display); letter-spacing: 0.3em; text-decoration: none; }
.brand::before, .brand::after { content: "·"; color: var(--bronze); margin-inline: 0.35em; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 6px; }
.top nav a:hover { color: var(--gold-hi); background: rgba(212, 169, 74, 0.08); }

/* Hero */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 110px); overflow: hidden;
  background: radial-gradient(900px 480px at 50% -10%, rgba(212, 169, 74, 0.17), transparent 70%), var(--bg); }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); max-width: 16ch; }
.hero .lead { margin: 26px 0 34px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .wrap { position: relative; z-index: 2; }
.gear { position: absolute; color: var(--gold); opacity: 0.16; pointer-events: none; }
.gear path { fill: currentColor; fill-rule: evenodd; }
.gear.a { width: 520px; right: -150px; top: -130px; animation: spin 90s linear infinite; }
.gear.b { width: 260px; right: 250px; top: 250px; opacity: 0.11; animation: spin 52s linear infinite reverse; }
.gear.c { width: 180px; left: -70px; bottom: -70px; opacity: 0.1; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gear { animation: none !important; } html { scroll-behavior: auto; } }

.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; font: 600 14px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 15px 22px; border-radius: 4px; border: 1px solid var(--gold); color: var(--gold-hi); transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { background: rgba(212, 169, 74, 0.12); color: #fff; transform: translateY(-1px); }
.btn.solid { background: linear-gradient(180deg, #f1d688, #c2933a); color: #1a1206; border-color: #f1d688; }
.btn.solid:hover { background: linear-gradient(180deg, #fff0bd, #d6a84b); color: #1a1206; }

/* Sections */
section { padding: clamp(60px, 8vw, 104px) 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { margin-bottom: 40px; }
.head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 14px 0 14px; }
.rule { display: flex; align-items: center; gap: 14px; color: var(--bronze); margin: 0 0 4px; }
.rule::before, .rule::after { content: ""; height: 1px; flex: 0 0 46px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule::after { transform: scaleX(-1); }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; display: block; text-decoration: none; color: var(--text); padding: 28px 26px 26px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; transition: border-color 0.15s, transform 0.15s; }
.pillar:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--text); }
.pillar .num { font: 700 13px/1 var(--display); color: var(--bronze); letter-spacing: 0.2em; }
.pillar h3 { font-size: 1.35rem; margin: 14px 0 10px; color: var(--gold-hi); }
.pillar p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.rivets::before, .rivets::after { content: ""; position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c0, #a37a2c 60%, #4b3510); }
.rivets::before { left: 10px; } .rivets::after { right: 10px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.feature.flip .shot { order: 2; }
.shot { position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 8px; background: linear-gradient(145deg, #2a1f0d, #0f0b06); }
.shot img { border-radius: 3px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 16px; }
.feature p { color: var(--muted); margin: 0 0 16px; }
.facts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: "⚙"; position: absolute; left: 0; color: var(--gold); font-size: 0.9em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: rgba(212, 169, 74, 0.05); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card .pic { aspect-ratio: 16 / 9; background: linear-gradient(145deg, #2c2110, #0d0a05); display: grid; place-items: center; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic.icon img { width: 42%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); }
.card .pic .glyph { font: 700 3.2rem/1 var(--display); color: var(--bronze); letter-spacing: 0.1em; }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.2rem; color: var(--gold-hi); }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.card .more { font: 600 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; margin-top: 6px; }
.tag { align-self: flex-start; font: 600 11px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px;
  color: #1a1206; background: linear-gradient(180deg, #f1d688, #c2933a); }
.tag.soon { background: none; color: var(--gold); border: 1px solid var(--line); }

/* About / contact */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.stat b { display: block; font: 700 2.3rem/1 var(--display); margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 0.95rem; }
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.place { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.place h3 { font-size: 1.05rem; color: var(--gold-hi); margin-bottom: 8px; }
.place p { margin: 0; color: var(--muted); font-size: 0.96rem; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

/* Text pages */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page .wrap { width: min(760px, 100% - 40px); }
.page h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 14px 0 18px; }
.page h2 { font-size: 1.3rem; color: var(--gold-hi); margin: 38px 0 10px; letter-spacing: 0.06em; }
.page p, .page li { color: #d6cbb2; }
.page .updated { color: var(--muted); font-size: 0.92rem; }
.appicon { width: 112px; height: 112px; margin-bottom: 22px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6)); }
.gallery { display: grid; gap: 16px; margin: 30px 0; }
.gallery img { border: 1px solid var(--line); border-radius: 6px; }
details { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; color: var(--gold-hi); font-weight: 600; }
details p { margin: 10px 0 2px; }

@media (max-width: 860px) {
  .pillars, .stats { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .shot { order: 0; }
  .top nav a { padding: 6px 7px; font-size: 12px; }
  .brand { font-size: 16px; letter-spacing: 0.22em; }
  .gear.b { display: none; }
}
@media (max-width: 560px) {
  .top .wrap { flex-direction: column; align-items: flex-start; padding-block: 10px; gap: 6px; }
  .top nav { justify-content: flex-start; margin-left: -7px; }
}
