/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ---------- GLOBAL ---------- */
body {
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- PAGE WRAPPER ---------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- HEADER / NAV ---------- */
.top-nav {
  position: absolute;
  top: 28px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}

/* Links (fix purple forever) */
.top-nav a,
.top-nav a:visited,
.top-nav a:hover,
.top-nav a:active {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ---------- HAMBURGER ---------- */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Dropdown menu (mobile) */


.menu a {
  color: #fff;
  text-decoration: none;
}



/* ---------- HOME ---------- */
.home {
  max-width: 820px;
  margin: auto;
  padding: 120px 20px 60px;
}

.brand {
  font-family: 'Alfa Slab One', serif;
  font-size: 48px;          /* slightly smaller */
  font-weight: 400;         /* must stay 400 */
  line-height: 0.92;        /* tighter */
  letter-spacing: -0.8px;   /* 🔑 thins appearance */
  text-align: center;
  margin: 0;

  /* font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


.tagline {
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
  text-align: center;
  opacity: 0.85;
}

.content p {
  font-weight: 600;
  line-height: 1.6;
  margin-top: 35px;
}

/* ---------- CAREERS ---------- */
.careers {
  max-width: 1000px;
  margin: auto;
  padding: 120px 20px 60px;
}

.careers h2 {
  font-family: 'Telegraf', sans-serif;
  font-size: 26px;
  margin-bottom: 10px;
}

/* Section line */
.section-line {
  height: 1px;
  background: #fff;
  opacity: 0.3;
  width: 100%;
  margin-bottom: 32px;
}

/* Job cards */
.jobs {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.job-card {
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 420px;
}

.job-card h3 {
  margin-bottom: 12px;
}

.job-card p {
  margin-bottom: 8px;
  opacity: 0.9;
}

/* Apply text */
.apply-intro {
  text-align: center;
  max-width: 520px;
  margin: 28px auto 0;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: auto;
  padding: 20px 0 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-line {
  height: 1px;
  background: #fff;
  opacity: 0.3;
  margin-bottom: 18px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
  opacity: 0.85;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-center a {
  margin: 0 8px;
}

.footer-right {
  text-align: right;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  /* Hide desktop links */
  .top-nav a {
    display: none;
  }

  /* Show hamburger */
  .menu-btn {
    display: flex;
  }

  /* Page padding fix */
  .home,
  .careers {
    padding-top: 100px;
  }

  /* Jobs stack as rectangles */
  .jobs {
    flex-direction: column;
    align-items: center;
  }

  .job-card {
    width: 100%;
    max-width: 100%;
  }

  /* Footer stack */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}
/* ---------- NAV ---------- */
.top-nav {
  position: absolute;
  top: 28px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1000;
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:visited,
.nav-links a:hover,
.nav-links a:active {
  color: #fff;
}

/* Hamburger button */
.menu-btn {
  display: none;              /* HIDDEN ON DESKTOP */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 40px;
  background: #000;
  border: 1px solid #fff;
  padding: 12px 16px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

/* ---------- MOBILE ONLY ---------- */
@media (max-width: 768px) {

  .nav-links {
    display: none; /* hide desktop links */
  }

  .menu-btn {
    display: flex; /* show hamburger */
    cursor: pointer;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #000;
    border: 1px solid #fff;
    padding: 14px 18px;
    gap: 12px;
    z-index: 1000;
  }

  .mobile-menu.open {
    display: flex; /* 🔑 THIS WAS MISSING */
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }
}
