/*
 * Garde site chrome for the static careers pages.
 *
 * These pages are plain HTML served straight out of client/public, so they
 * cannot import the React <Navbar/> and <Footer/> the rest of the site uses.
 * This is a hand-built copy of them. It WILL drift: if you change
 * client/src/components/layout/Navbar.tsx or Footer.tsx, change this too and
 * re-run `node scripts/careers-chrome.mjs`.
 *
 * Values are lifted from client/src/index.css @theme inline:
 *   garde-green #1E1E08 · green-light #25260B · lime #E7EA86
 *   lime-muted #c9cc5e · bone #F5F5ED · bone-muted #c8c4b5 · text-muted #8a8778
 */

.gw-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(30, 30, 8, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Bai Jamjuree", "DM Sans", system-ui, sans-serif;
}
.gw-nav-inner {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gw-nav a {
  color: #c8c4b5;
  text-decoration: none;
  transition: color 0.15s ease;
}
.gw-nav a:hover { color: #f5f5ed; }
.gw-nav a:focus-visible {
  outline: 2px solid #e7ea86;
  outline-offset: 3px;
  border-radius: 3px;
}
.gw-logo { display: inline-flex; line-height: 0; }
.gw-logo img { height: 40px; width: auto; display: block; }
.gw-links,
.gw-right { display: none; align-items: center; }
.gw-links { gap: 40px; }
.gw-right { gap: 24px; }
.gw-links a,
.gw-right > a { font-size: 14px; letter-spacing: 0.02em; }
.gw-cta {
  background: #e7ea86;
  color: #1e1e08 !important;
  border-radius: 9999px;
  padding: 9px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.gw-cta:hover { background: #c9cc5e; color: #1e1e08 !important; }
@media (min-width: 880px) {
  .gw-links, .gw-right { display: flex; }
}
/* Under 880px the links collapse and only the logo and the CTA remain, which
   is the one honest thing a static page can do without rebuilding the React
   mobile sheet. */

.gw-footer {
  background: #1e1e08;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 48px;
  font-family: "Bai Jamjuree", "DM Sans", system-ui, sans-serif;
  color: #8a8778;
}
.gw-footer-inner { max-width: 1536px; margin: 0 auto; padding: 0 24px; }
.gw-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 40px;
  margin-bottom: 64px;
}
.gw-footer-brand img { height: 28px; width: auto; display: block; margin-bottom: 20px; }
.gw-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #8a8778;
  max-width: 20rem;
  margin: 0;
}
.gw-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.gw-footer h4 {
  font-weight: 500;
  color: #f5f5ed;
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.gw-footer ul { list-style: none; margin: 0; padding: 0; }
.gw-footer li + li { margin-top: 12px; }
.gw-footer a { color: #8a8778; text-decoration: none; font-size: 14px; }
.gw-footer a:hover { color: #e7ea86; }
.gw-footer a:focus-visible {
  outline: 2px solid #e7ea86;
  outline-offset: 3px;
  border-radius: 3px;
}
.gw-footer-base {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}
.gw-footer-base p { margin: 0; }
.gw-footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.gw-footer-sep { display: none; }
@media (min-width: 880px) {
  .gw-footer-grid { grid-template-columns: 2fr repeat(5, 1fr); }
  .gw-footer-cols { display: contents; }
  .gw-footer-base { flex-direction: row; justify-content: space-between; align-items: center; }
  .gw-footer-sep { display: inline; }
}
