:root {
  --green:      #005526;
  --green-deep: #003d1b;
  --green-ink:  #002912;
  --yellow:     #FFD100;
  --white:      #FFFFFF;
  --charcoal:   #1A1A1A;
  --ash:        #6b7280;
  --cream:      #f6f5f0;
  --border:     #e5e7eb;
  --card-bg:    #fafaf8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--green-ink); }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 1320px; z-index: 100;
  background: rgba(0, 41, 18, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 209, 0, 0.15); border-radius: 18px;
  padding: 12px 18px 12px 22px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.4);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(255,209,0,0.35)); }
.nav-logo-text { font-weight: 900; font-size: 18px; color: var(--white); letter-spacing: -0.02em; line-height: 1; }
.nav-logo-text small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: var(--yellow); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
  padding: 9px 14px; border-radius: 10px; transition: all 0.25s ease; letter-spacing: -0.005em;
}
.nav-links a:hover { color: var(--yellow); background: rgba(255,209,0,0.08); }
.nav-links a.active { color: var(--yellow); }
.nav-cta {
  background: var(--yellow); color: var(--green-ink) !important; font-weight: 700 !important;
  padding: 10px 18px !important; border-radius: 10px !important; margin-left: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(255,209,0,0.5); }
.nav-mobile-toggle { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
  padding: 9px 14px; border-radius: 10px; transition: all 0.25s ease;
  cursor: pointer; background: none; border: none; font-family: inherit; letter-spacing: -0.005em;
}
.nav-dropdown-toggle:hover { color: var(--yellow); background: rgba(255,209,0,0.08); }
.nav-dropdown-toggle svg { width: 12px; height: 12px; stroke: currentColor; transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px); min-width: 220px;
  background: rgba(0,20,10,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,209,0,0.15); border-radius: 14px; padding: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 8px; color: rgba(255,255,255,0.8); font-size: 13.5px; font-weight: 500;
  transition: all 0.18s ease; letter-spacing: -0.005em;
}
.nav-dropdown-menu a:hover { background: rgba(255,209,0,0.1); color: var(--yellow); }
.nav-dropdown-menu a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); opacity: 0.5; flex-shrink: 0; transition: opacity 0.18s ease; }
.nav-dropdown-menu a:hover .dot { opacity: 1; }

/* ===== HERO ===== */
.hero {
  background: var(--green-ink);
  padding: 160px 32px 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,209,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(0,85,38,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  color: var(--yellow); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 14px; background: rgba(255,209,0,0.1);
  border: 1px solid rgba(255,209,0,0.3); border-radius: 100px; margin-bottom: 28px;
}
.pulse { width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 12px var(--yellow); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.hero h1 {
  font-size: clamp(44px, 6vw, 86px); font-weight: 900; letter-spacing: -0.04em;
  line-height: 0.95; color: var(--white); margin-bottom: 28px;
}
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
}
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 580px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--green-ink); font-weight: 800; font-size: 15px;
  padding: 16px 28px; border-radius: 12px;
  box-shadow: 0 10px 30px -8px rgba(255,209,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -6px rgba(255,209,0,0.65); }
.hero-cta svg { transition: transform 0.2s ease; }
.hero-cta:hover svg { transform: translateX(4px); }



/* ===== CULTURE ===== */
.culture { padding: 100px 32px; background: var(--cream); }
.culture-inner { max-width: 1320px; margin: 0 auto; text-align: center; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.culture h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--green-ink); margin-bottom: 20px; }
.culture-sub { font-size: 17px; color: var(--ash); line-height: 1.7; max-width: 560px; margin: 0 auto 64px; }
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.culture-card {
  background: var(--white); border-radius: 16px; padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.culture-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -12px rgba(0,41,18,0.12); }
.culture-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-ink); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.culture-card h3 { font-size: 17px; font-weight: 800; color: var(--green-ink); letter-spacing: -0.02em; margin-bottom: 10px; }
.culture-card p { font-size: 14px; color: var(--ash); line-height: 1.65; }

/* ===== JOBS ===== */
.jobs-section { padding: 100px 32px; }
.jobs-inner { max-width: 1320px; margin: 0 auto; }
.jobs-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.jobs-header h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -0.03em; color: var(--green-ink); line-height: 1.05; }

/* Filter tabs */
.dept-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dept-tab {
  padding: 9px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white); color: var(--ash);
  cursor: pointer; font-family: inherit; transition: all 0.2s ease;
}
.dept-tab:hover { border-color: var(--green); color: var(--green); }
.dept-tab.active { background: var(--green-ink); color: var(--yellow); border-color: var(--green-ink); }

/* Job listings */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 24px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 28px; cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none; color: inherit;
}
.job-card:hover { border-color: var(--green); background: var(--white); box-shadow: 0 8px 32px -8px rgba(0,41,18,0.12); }
.job-card[data-dept="energy"]    { --accent: #8dc63f; }
.job-card[data-dept="ewaste"]   { --accent: #4eaf46; }
.job-card[data-dept="logistics"]{ --accent: #0369A1; }
.job-card[data-dept="waste"]    { --accent: #005526; }
.job-card[data-dept="group"]    { --accent: #FFD100; }
.job-left { display: flex; align-items: center; gap: 20px; }
.job-dept-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent, var(--green));
}
.job-title { font-size: 17px; font-weight: 800; color: var(--green-ink); letter-spacing: -0.02em; margin-bottom: 6px; }
.job-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.job-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash);
  display: flex; align-items: center; gap: 5px;
}
.job-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.job-tag:first-child::before { display: none; }
.job-type {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: rgba(0,41,18,0.06); color: var(--green);
}
.job-type.hybrid { background: rgba(255,209,0,0.12); color: #8a6800; }
.job-apply {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-ink); color: var(--yellow); font-weight: 700; font-size: 13px;
  padding: 11px 20px; border-radius: 10px; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.job-card:hover .job-apply { background: var(--green); transform: translateX(2px); }
.job-apply svg { transition: transform 0.2s ease; }
.job-card:hover .job-apply svg { transform: translateX(3px); }

.no-results { text-align: center; padding: 64px; color: var(--ash); font-size: 16px; display: none; }



/* ===== FOOTER ===== */
footer {
  background: #002912; padding: 100px 32px 32px; position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #FFD100, transparent); opacity: 0.4;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1320px; margin: 0 auto 64px;
}
.footer-brand .logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand .logo-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; }
.footer-brand .logo-row .text { font-weight: 900; font-size: 22px; color: var(--white); letter-spacing: -0.02em; line-height: 1; }
.footer-brand .logo-row .text small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: #FFD100; margin-top: 4px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 300px; margin-bottom: 28px; }
.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: #FFD100; transition: all 0.2s ease; }
.social:hover { background: #FFD100; color: #002912; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #FFD100; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 15px; transition: color 0.2s ease; line-height: 1.5; }
.footer-col a:hover { color: #FFD100; }
.wordmark {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,209,0,0.25);
  font-size: clamp(80px,18vw,240px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.8;
  user-select: none; pointer-events: none;
  margin: 40px auto -30px; display: block; text-align: center;
}
.footer-bottom {
  max-width: 1320px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; margin-top: 48px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom .legal a:hover { color: #FFD100; }

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 12px; border: none;
  background: #005526; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(0,85,38,0.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.2s ease;
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); filter: brightness(1.15); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding: 130px 20px 72px; }
  .culture { padding: 72px 20px; }
  .culture-grid { grid-template-columns: 1fr; }
  .jobs-section { padding: 72px 20px; }
  .jobs-header { flex-direction: column; align-items: flex-start; }
  .job-card { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
}

