:root {
  --bg: #0c0f12;
  --bg-elevated: #141a20;
  --bg-card: #1a222b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf2;
  --muted: #8b9aab;
  --green: #3ecf7a;
  --green-bright: #5ee89a;
  --green-dim: rgba(62, 207, 122, 0.15);
  --green-glow: rgba(62, 207, 122, 0.35);
  --suit: #3d4654;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 16px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--green-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 75% 15%, rgba(62, 207, 122, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(62, 207, 122, 0.06), transparent);
}

.page {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
  margin-bottom: 24px;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  margin-inline: -24px;
  padding-inline: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-pill {
  width: 14px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 50%, var(--green) 50%);
  border: 2px solid #1a5c38;
  box-shadow: 0 0 12px var(--green-glow);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.ca-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.ca-label {
  color: var(--green);
  font-weight: 600;
}

.ca-value {
  color: var(--muted);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  cursor: pointer;
}

.ca-copy:not(:disabled):hover {
  border-color: var(--green);
  color: var(--green);
}

.ca-copy:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 48px);
  padding: 40px 0 60px;
}

.eyebrow,
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--green-bright);
  text-shadow: 0 0 40px var(--green-glow);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-lead strong {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #0a1a10;
  box-shadow: 0 4px 24px var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 8px 32px var(--green-glow);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* Boss / Hirer */
.hero-boss {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 480px;
}

.boss-desk {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 420px);
  z-index: 0;
}

.desk-surface {
  height: 18px;
  background: linear-gradient(180deg, #4a5568, #2d3748);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.desk-nameplate {
  position: absolute;
  bottom: 28px;
  left: 24px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #d4af37, #b8962e);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: rotate(-2deg);
}

.nameplate-title {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d2f0a;
}

.nameplate-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #1a1405;
}

.desk-papers {
  position: absolute;
  bottom: 22px;
  right: 32px;
  display: flex;
  gap: 4px;
}

.desk-papers span {
  width: 28px;
  height: 36px;
  background: #f0f2f5;
  border: 1px solid #ccc;
  border-radius: 2px;
  transform: rotate(4deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.desk-papers span:nth-child(2) {
  transform: rotate(-3deg) translateY(-4px);
}

.desk-papers span:nth-child(3) {
  transform: rotate(8deg) translateY(2px);
}

.boss-img {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: boss-idle 4s ease-in-out infinite;
}

@keyframes boss-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Ticker */
.ticker {
  overflow: hidden;
  margin: 0 -24px 64px;
  padding: 14px 0;
  background: var(--green-dim);
  border-block: 1px solid rgba(62, 207, 122, 0.2);
}

.ticker-track {
  display: flex;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  animation: ticker 30s linear infinite;
  will-change: transform;
}

.ticker-segment {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.ticker-segment .dot {
  opacity: 0.4;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Jobs */
.jobs {
  margin-bottom: 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title .paren {
  color: var(--muted);
  font-size: 0.7em;
}

.section-sub {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-sub strong {
  color: var(--green-bright);
  font-weight: 600;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 207, 122, 0.25);
}

.job-featured {
  border-color: rgba(62, 207, 122, 0.35);
  box-shadow: 0 0 40px rgba(62, 207, 122, 0.08);
}

.job-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0d10;
}

.job-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.job-card:hover .job-media img {
  transform: scale(1.04);
}

.job-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(12, 15, 18, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 207, 122, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.job-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.job-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.job-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.job-pay {
  color: var(--muted);
  font-weight: 500;
}

.job-tag {
  padding: 3px 8px;
  background: var(--green-dim);
  border: 1px solid rgba(62, 207, 122, 0.25);
  border-radius: 6px;
  color: var(--green-bright);
  font-weight: 600;
  white-space: nowrap;
}

.jobs-footnote {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Apply */
.apply {
  margin-bottom: 80px;
}

.apply-inner {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-elevated);
  border: 1px solid rgba(62, 207, 122, 0.25);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 0 60px rgba(62, 207, 122, 0.06);
}

.apply-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin: 0 auto 28px;
}

.apply-handle {
  color: var(--green-bright);
  text-decoration: none;
  text-shadow: 0 0 30px var(--green-glow);
}

.apply-handle:hover {
  text-decoration: underline;
}

/* About */
.about {
  margin-bottom: 80px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 480px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-stats li {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.footer-tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(139, 154, 171, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-boss {
    min-height: 400px;
    margin-top: 20px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .about-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text p {
    margin-inline: auto;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .ca-value {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
  }

  .boss-img {
    width: min(100%, 300px);
  }

  .hero-boss {
    flex-direction: column;
    align-items: center;
  }
}
