/* Shared: base, navigation, section heads, footer. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--frost);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Top bar ─────────────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px,4vw,56px);
  border-bottom: 0.5px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.site-nav.is-scrolled {
  background: rgba(17,14,24,0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 30px; }

.nav-menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-menu a {
  font-size: 14px; letter-spacing: .02em; color: var(--pewter);
  text-decoration: none; transition: color .2s;
}
.nav-menu a:hover { color: var(--frost); }
.nav-menu .nav-cta {
  background: var(--gold); color: var(--ink);
  padding: 9px 22px; border-radius: 3px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em;
  transition: background .2s;
}
.nav-menu .nav-cta:hover { background: var(--gold-lt); color: var(--ink); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px 12px; border-radius: 3px;
  background: none; border: 0.5px solid rgba(255,255,255,.12); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1px; background: var(--pewter); }

/* ── Full-screen mobile menu ─────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  background: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(32px,7vw,52px);
  color: var(--frost); text-decoration: none;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu__close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--dim);
}

/* ── Shared type pieces ──────────────────────────────── */
.eyebrow {
  display: block; margin-bottom: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--violet);
}
.section-title {
  font-family: var(--serif); font-size: clamp(38px,5vw,64px);
  line-height: 1.08; font-weight: 400; color: var(--frost);
}
.section-title em { font-style: italic; color: var(--pewter); }

/* copper → ember gradient type */
.grad-ink {
  background: linear-gradient(100deg, var(--copper) 8%, var(--ember) 42%, var(--gold-lt) 68%, var(--ember) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 95% 0; } }

.arrow-icon { flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--twilight); border-top: 0.5px solid var(--border);
  padding: clamp(56px,7vw,88px) var(--gutter) clamp(32px,4vw,48px);
}
.site-footer__inner { max-width: var(--content); margin: 0 auto; }
.site-footer__top {
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(48px,8vw,120px); margin-bottom: 56px;
}
.site-footer__brand img { display: block; width: auto; height: 36px; margin-bottom: 14px; }
.site-footer__brand p { max-width: 260px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.site-footer__col h4 {
  margin-bottom: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--frost); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 0.5px solid rgba(255,255,255,.04);
}
.site-footer__bottom span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--dim); }

@media (max-width: 1024px) {
  .site-footer__top  { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__cols { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .burger   { display: flex; }
  .site-footer__cols   { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
