:root{
  --void:        #0b0908;
  --panel:       #161210;
  --panel-alt:   #1c1714;
  --line:        #362a22;
  --line-soft:   #241c17;

  --ember:       #d9642e;
  --ember-deep:  #a83e17;
  --ember-soft:  rgba(217,100,46,0.14);

  --brass:       #c9a227;
  --brass-soft:  rgba(201,162,39,0.14);

  --mint:        #6fa98c;
  --mint-soft:   rgba(111,169,140,0.14);

  --text:        #f2eae1;
  --text-dim:    #b3a597;
  --text-faint:  #7a6f63;

  --radius:      3px;
  --radius-lg:   6px;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body:    'Work Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  background:var(--void);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
img{ max-width:100%; display:block; }

::selection{ background:var(--ember); color:var(--void); }

.grid-veil{
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:0.35;
  mask-image:radial-gradient(circle at 50% 0%, black, transparent 75%);
}

:focus-visible{ outline:2px solid var(--ember); outline-offset:2px; }

#mainNav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:0.9rem 2rem;
  background:rgba(11,9,8,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:border-color 0.2s;
}

.nav-brand{ display:flex; align-items:center; gap:0.65rem; cursor:pointer; }
.nav-brand img{ width:34px; height:34px; border-radius:4px; border:1px solid var(--line); }
.nav-wordmark{
  font-family:var(--font-display); font-weight:800; font-size:22px;
  letter-spacing:0.02em; text-transform:uppercase;
}
.nav-wordmark span{ color:var(--ember); }

.nav-links{ display:flex; align-items:center; gap:2rem; }
.nav-links a{
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--text-dim);
  padding:0.4rem 0; position:relative; transition:color 0.15s;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background:var(--ember); transition:width 0.2s;
}
.nav-links a:hover, .nav-links a.active{ color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.nav-cta{
  font-family:var(--font-mono) !important; font-size:12px !important;
  background:var(--ember); color:var(--void) !important;
  padding:0.55rem 1.1rem; border-radius:var(--radius);
  font-weight:600;
  padding-inline: 0.5rem !important;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:#e97a45; }

.hamburger{ display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:110; }
.hamburger span{ width:22px; height:2px; background:var(--text); transition:0.2s; }

.page{ display:none; padding-top:76px; position:relative; z-index:1; }
.page.active{ display:block; animation:fadeIn 0.4s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }

.section{ max-width:980px; margin:0 auto; padding:4.5rem 2rem 6rem; }

.eyebrow{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--ember); margin-bottom:0.9rem;
  display:flex; align-items:center; gap:0.6rem;
}
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--ember); }

.section-title{
  font-family:var(--font-display); font-weight:800; font-size:clamp(30px,5vw,46px);
  text-transform:uppercase; letter-spacing:0.01em; margin-bottom:0.6rem;
}
.section-sub{ color:var(--text-dim); font-size:16px; max-width:60ch; margin-bottom:2.5rem; }

.hero{
  min-height:92vh; display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; padding:8rem 2rem 4rem; position:relative;
}
.hero-mark{
  width:104px; height:104px; border-radius:var(--radius-lg);
  border:1px solid var(--line); margin-bottom:1.8rem; overflow:hidden;
  box-shadow:0 0 0 1px var(--void), 0 12px 40px rgba(217,100,46,0.18);
}
.hero-mark img{ width:100%; height:100%; object-fit:cover; }

.hero-eyebrow{
  font-family:var(--font-mono); font-size:13px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--text-dim); margin-bottom:1rem;
}
.hero-eyebrow b{ color:var(--ember); font-weight:600; }

.hero h1{
  font-family:var(--font-display); font-weight:800; font-size:clamp(52px,11vw,120px);
  line-height:0.92; text-transform:uppercase; letter-spacing:0.005em;
}
.hero h1 .ember-word{ color:var(--ember); }

.hero-tagline{
  font-size:clamp(16px,2vw,19px); color:var(--text-dim); max-width:46ch;
  margin:1.3rem 0 2.4rem; font-weight:400;
}

.hero-actions{ display:flex; gap:0.9rem; flex-wrap:wrap; justify-content:center; margin-bottom:3rem; }

.btn{
  font-family:var(--font-mono); font-size:13px; font-weight:600; letter-spacing:0.04em;
  text-transform:uppercase; padding:0.9rem 1.6rem; border-radius:var(--radius);
  display:inline-flex; align-items:center; gap:0.5rem; transition:all 0.15s;
  border:1px solid transparent;
}
.btn-primary{ background:var(--ember); color:var(--void); }
.btn-primary:hover{ background:#e97a45; transform:translateY(-1px); }
.btn-outline{ border-color:var(--line); color:var(--text); }
.btn-outline:hover{ border-color:var(--ember); color:var(--ember); }

.status-strip{
  display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center;
  border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden;
  background:var(--panel);
}
.status-cell{
  padding:0.9rem 1.6rem; display:flex; flex-direction:column; gap:0.25rem;
  border-right:1px solid var(--line); min-width:150px; text-align:left;
}
.status-cell:last-child{ border-right:none; }
.status-cell .label{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--text-faint);
}
.status-cell .value{
  font-family:var(--font-mono); font-size:16px; font-weight:600; color:var(--text);
  display:flex; align-items:center; gap:0.45rem;
}
.dot{ width:7px; height:7px; border-radius:50%; background:var(--mint); flex-shrink:0; box-shadow:0 0 8px var(--mint); }
.dot.off{ background:var(--text-faint); box-shadow:none; }
.status-cell.ip{ cursor:pointer; }
.status-cell.ip:hover{ background:var(--panel-alt); }
.status-cell .copy-hint{ font-size:10px; color:var(--text-faint); font-family:var(--font-mono); }

.slot-index{
  font-family:var(--font-mono); font-size:11px; color:var(--text-faint);
  position:absolute; top:0.7rem; left:0.8rem; letter-spacing:0.04em;
}
.divider-grid{
  display:flex; gap:4px; margin:0 0 2.5rem;
}
.divider-grid span{ width:9px; height:9px; border:1px solid var(--line); }
.divider-grid span:nth-child(1){ background:var(--ember); border-color:var(--ember); }

.rules-tabs{ display:flex; gap:0.5rem; margin-bottom:2.5rem; border-bottom:1px solid var(--line); }
.rules-tab{
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.05em; text-transform:uppercase;
  padding:0.8rem 0.2rem; margin-right:1.8rem; color:var(--text-faint);
  border-bottom:2px solid transparent; transition:0.15s;
}
.rules-tab.active, .rules-tab:hover{ color:var(--text); border-color:var(--ember); }

.rules-panel{ display:none; }
.rules-panel.active{ display:block; animation:fadeIn 0.3s ease; }

.rule-group-title{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--brass); margin:2.4rem 0 1rem; padding-bottom:0.5rem; border-bottom:1px solid var(--line-soft);
}
.rule-group-title:first-of-type{ margin-top:0; }

.rule-row{
  display:flex; gap:1.2rem; padding:1rem 0; border-bottom:1px solid var(--line-soft);
}
.rule-row .num{
  font-family:var(--font-mono); font-size:13px; color:var(--text-faint); flex-shrink:0; width:34px; padding-top:0.15rem;
}
.rule-row .body strong{ color:var(--text); font-weight:600; }
.rule-row .body p{ color:var(--text-dim); font-size:14.5px; margin-top:0.2rem; }
.tag{
  display:inline-block; margin-top:0.5rem; font-family:var(--font-mono); font-size:10.5px;
  letter-spacing:0.06em; text-transform:uppercase; padding:0.25rem 0.55rem; border-radius:2px;
  border:1px solid; 
}
.tag-ban{ color:#e2694a; border-color:#5c2a1e; background:rgba(226,105,74,0.08); }
.tag-note{ color:var(--brass); border-color:#4a3d15; background:var(--brass-soft); }

.rules-links{ padding:1rem 0; color:var(--text-dim); font-size:14px; line-height:1.9; }
.rules-links a{ color:var(--ember); border-bottom:1px solid var(--ember-deep); }
.rules-links a:hover{ color:#e97a45; }

.rules-footnote{
  margin-top:3rem; padding:1.4rem 1.6rem; background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius-lg); color:var(--text-dim); font-size:14px; line-height:1.8;
}

.staff-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem;
}
.staff-slot{
  position:relative; border:1px solid var(--line); background:var(--panel);
  border-radius:var(--radius-lg); padding:1.6rem 1.3rem 1.4rem; transition:0.2s;
}
.staff-slot:hover{ border-color:var(--ember); transform:translateY(-2px); }
.slot-icon{
  width:46px; height:46px; border:1px solid var(--line); border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; font-size:22px;
  background:var(--panel-alt); margin-bottom:1rem; overflow:hidden;
}
.slot-icon img{
  width:100%; height:100%; object-fit:contain;
}
.staff-role{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--ember); margin-bottom:0.3rem;
}
.staff-name{ font-family:var(--font-display); font-weight:700; font-size:22px; text-transform:uppercase; }
 
.staff-note{
  margin-top:2.5rem; padding:1.4rem 1.6rem; border:1px dashed var(--line); border-radius:var(--radius-lg);
  color:var(--text-dim); font-size:14px; display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:1rem;
}

.store-teaser{
  border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--panel);
  padding:3.5rem 2rem; text-align:center; position:relative; overflow:hidden;
}
.store-teaser::before{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:28px 28px; opacity:0.5;
  mask-image:radial-gradient(circle at 50% 30%, black, transparent 70%);
}
.store-teaser > *{ position:relative; z-index:1; }
.store-slots{ display:flex; gap:0.6rem; justify-content:center; margin-bottom:1.6rem; }
.store-slots span{
  width:44px; height:44px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--panel-alt); display:flex; align-items:center; justify-content:center;
  font-size:18px; color:var(--text-faint);
}
.store-teaser h3{
  font-family:var(--font-display); font-weight:800; font-size:clamp(26px,4vw,36px);
  text-transform:uppercase; margin-bottom:0.6rem;
}
.store-teaser p{ color:var(--text-dim); max-width:48ch; margin:0 auto 1.6rem; }

.faq-item{ border:1px solid var(--line); border-radius:var(--radius-lg); margin-bottom:0.8rem; overflow:hidden; background:var(--panel); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.2rem 1.4rem; font-weight:600; font-size:15.5px;
}
.faq-q .arrow{ font-family:var(--font-mono); color:var(--ember); transition:transform 0.2s; flex-shrink:0; }
.faq-item.open .arrow{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height 0.25s ease; }
.faq-a-inner{ padding:0 1.4rem 1.3rem; color:var(--text-dim); font-size:14.5px; line-height:1.8; }

.faq-more{
  margin-top:1.5rem; padding:1.2rem 1.4rem; border:1px dashed var(--line); border-radius:var(--radius-lg);
  color:var(--text-faint); font-size:13.5px; font-family:var(--font-mono); text-align:center;
}

footer{
  border-top:1px solid var(--line); padding:2.8rem 2rem; text-align:center; position:relative; z-index:1;
}
.footer-links{ display:flex; gap:1.6rem; justify-content:center; flex-wrap:wrap; margin-bottom:1rem; }
.footer-links a{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--text-dim);
}
.footer-links a:hover{ color:var(--ember); }
.footer-copy{ color:var(--text-faint); font-size:12.5px; font-family:var(--font-mono); }

.toast{
  position:fixed; bottom:1.6rem; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--ember); color:var(--void); font-family:var(--font-mono); font-size:13px;
  font-weight:600; padding:0.8rem 1.4rem; border-radius:var(--radius); opacity:0; pointer-events:none;
  transition:0.25s; z-index:200;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

@media (max-width:820px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--panel); flex-direction:column; align-items:flex-start;
    padding:6rem 2rem 2rem; gap:1.6rem; border-left:1px solid var(--line);
    transform:translateX(100%); transition:transform 0.25s ease;
  }
  .nav-links.open{ transform:translateX(0); }
  .hamburger{ display:flex; }
  .status-strip{ flex-direction:column; width:100%; }
  .status-cell{ border-right:none; border-bottom:1px solid var(--line); }
  .status-cell:last-child{ border-bottom:none; }
}
