/* ─── Fonts ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Virginia';
  src: url('https://media.deltarae.com/images/btd/Virginia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: #000;
  color: #fff;
  font-family: adobe-garamond-pro, 'Adobe Garamond Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── BTD Nav (all classes prefixed btd- to avoid Squarespace conflicts) ── */
#btd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  height: 72px;
  background: transparent;
  transition: background 0.3s;
}
#btd-header.scrolled,
#btd-header.solid {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
}
/* FIX #3: logo top aligns with nav link tops */
.btd-logo {
  align-self: center;
  padding-top: 10px;
}
.btd-logo img { height: 54px; display: block; }
.btd-nav {
  display: flex;
  align-items: center;
  gap: 2.5em;
  list-style: none;
}
.btd-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.btd-nav a:hover { opacity: 1; }
.btd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.btd-hamburger span { display: block; width: 24px; height: 1px; background: #fff; }

/* Right side: nav + social icons together */
.btd-header-right {
  display: flex;
  align-items: center;
  gap: 2em;
}

/* Social icons */
.btd-social {
  display: flex;
  align-items: center;
  gap: 0.9em;
}
.btd-social-link {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.btd-social-link:hover { opacity: 1; }
.btd-social-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
/* Discord uses fill, not stroke */
.btd-social-link[aria-label="Discord"] svg,
.btd-social-link[aria-label="Spotify"] svg {
  fill: currentColor;
  stroke: none;
}

/* ─── BTD Footer ────────────────────────────────────────────────────── */
#btd-footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 40px 4vw;
  text-align: center;
  background: #000;
  position: relative;
  z-index: 10;
}
.btd-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em 2.5em;
  margin-bottom: 1.5em;
  list-style: none;
}
.btd-footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.btd-footer-links a:hover { opacity: 1; }
.btd-footer-logo { margin: 0 auto 1rem; width: 100px; opacity: 0.7; }
.btd-footer-copy { font-size: 0.72rem; opacity: 0.4; letter-spacing: 0.06em; }

/* ─── Page wrapper (non-Squarespace pages) ──────────────────────────── */
.page-body { padding-top: 72px; min-height: 100vh; }

/* ─── Shared section / typography ──────────────────────────────────── */
.section { width: 100%; padding: 80px 4vw; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-inner.wide { max-width: 1100px; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: 0.04em; margin-bottom: 0.5em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; letter-spacing: 0.1em; margin-bottom: 0.5em; }
p  { margin-bottom: 1em; }

.btn {
  display: inline-block;
  padding: 0.7em 2.2em;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(0,0,0,0.44);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.btn-dark { background: rgba(34,18,2,0.5); border-color: rgba(255,255,255,0.5); }
.btn-dark:hover { background: #fff; color: #000; }

/* ─── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .btd-nav { display: none; }
  .btd-social { display: none; }
  .btd-hamburger { display: flex; }
  .btd-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    padding: 2rem;
    gap: 1.5em;
    z-index: 9998;
  }
  .section { padding: 60px 6vw; }
}
