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

:root {
  --black: #000000;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.4);
  --white-ghost: rgba(255, 255, 255, 0.14);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html, body {
  height: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── nbpa badge ────────────────────────── */

.nbpa-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.nbpa-desktop {
  position: fixed;
  top: 30px;
  left: 44px;
  z-index: 10;
}

.nbpa-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.nbpa-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.nbpa-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
}

.nbpa-sub {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white-dim);
  text-transform: uppercase;
}

.nbpa-mobile {
  display: none;
}

/* ─── hamburger (mobile only) ───────────── */

.menu-toggle {
  display: none;
}

/* ─── mobile menu overlay (hidden on desktop) */

.mobile-menu {
  display: none;
}

/* ─── centered stack ────────────────────── */

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 44px;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.logo {
  width: clamp(160px, 22vw, 280px);
  height: auto;
  margin-bottom: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 18px;
}

.email-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  margin-top: 48px;
  transition: opacity 0.2s ease;
}

.email-link:hover {
  opacity: 0.6;
}

/* ─── contact button ────────────────────── */

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 40px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.24s ease;
}

.contact-btn span {
  position: relative;
  z-index: 2;
  color: var(--white);
  transition: color 0.15s ease;
}

.contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.contact-btn:hover::after {
  transform: scaleX(1);
}

.contact-btn:hover span {
  color: var(--black);
}

.contact-btn:hover {
  border-color: var(--white);
}

/* ─── socials ───────────────────────────── */

.socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.socials a {
  color: var(--white);
  opacity: 0.5;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.socials a:hover {
  opacity: 1;
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ─── footer ────────────────────────────── */

.site-footer {
  padding: 28px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ─── mobile ────────────────────────────── */

@media (max-width: 640px) {

  /* hide desktop stuff */
  .nbpa-desktop {
    display: none;
  }

  .desktop-only {
    display: none !important;
  }

  /* show mobile nbpa bottom-left */
  .nbpa-mobile {
    display: flex;
    position: fixed;
    bottom: 28px;
    left: 24px;
    z-index: 10;
  }

  /* hamburger button */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 28px;
    right: 24px;
    z-index: 100;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .menu-toggle .bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  /* X state */
  .menu-toggle.is-open .bar:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle.is-open .bar:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  /* mobile menu overlay */
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--black);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .mobile-menu-email {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 28px;
  }

  .mobile-menu .contact-btn {
    margin-top: 0;
  }

  .mobile-menu .socials {
    margin-top: 28px;
  }

  /* main adjustments */
  .site-main {
    padding: 60px 24px 100px;
  }

  .logo {
    width: clamp(140px, 42vw, 220px);
    margin-bottom: 18px;
  }

  .wordmark {
    font-size: clamp(22px, 7vw, 40px);
  }

  .site-footer {
    padding: 20px 24px 80px;
  }
}
