/* ============================================
   NEPWORKING — Dark + Bold Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0A;
  --bg-card: #151515;
  --text: #E8E8E8;
  --text-bright: #FFFFFF;
  --accent: #BFFF00;
  --muted: #6B6B6B;
  --border: #2A2A2A;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --max-width: 720px;
  --gutter: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Typography --- */
h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 28px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

.accent {
  color: var(--accent);
  font-weight: 700;
}

.bold-statement {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.4;
  margin: 32px 0;
}

/* --- Sticky Nav --- */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-nav.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.sticky-nav-wordmark {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.sticky-nav-wordmark:hover {
  text-decoration: none;
  opacity: 0.85;
}

.sticky-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sticky-nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sticky-nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 1px;
}

/* --- Header --- */
.site-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.tagline {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-bright);
  max-width: 600px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}

/* --- Pull Quotes --- */
.pullquote {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
  padding: 40px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  margin: 40px 0;
}

/* --- CTA Grid --- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
}

.cta-box p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.cta-box-closing {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn-outline:hover {
  color: var(--text-bright);
  border-color: var(--text-bright);
}

/* --- Forms --- */
.email-input,
.text-input,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.email-input:focus,
.text-input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.email-input::placeholder,
.text-input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.email-form .btn {
  width: 100%;
}

.email-form-inline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.email-form-inline .email-input {
  flex: 1;
  margin-bottom: 0;
}

.email-form-inline .btn {
  width: auto;
  white-space: nowrap;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 24px;
}

.form-label-optional {
  color: var(--muted);
}

.optional-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 16px;
}

/* Honeypot — invisible to humans */
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
}

/* Radio buttons */
fieldset {
  border: none;
  margin: 0 0 24px;
}

legend {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.radio-label:hover {
  border-color: var(--muted);
}

.radio-label input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--accent);
}

.radio-text {
  font-size: 16px;
  line-height: 1.5;
}

.radio-text strong {
  color: var(--accent);
}

/* Confirmation message */
.confirmation {
  background: rgba(191, 255, 0, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 24px;
}

/* Form validation states */
.email-input.error,
textarea.error {
  border-color: #FF4444;
}

.form-error {
  color: #FF4444;
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 12px;
}

/* --- Story Filter Bar --- */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--muted);
}

.filter-btn.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* --- Story Cards --- */
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 16px;
}

.story-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.story-card p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.story-industry {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
}

/* --- Footer --- */
.site-footer {
  padding: 60px 0;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* --- Turnstile placeholder (hidden until keys are set) --- */
.cf-turnstile {
  margin: 12px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding: 60px 0 48px;
  }

  .tagline {
    font-size: 32px;
  }

  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 26px;
  }

  .bold-statement {
    font-size: 19px;
  }

  .pullquote {
    font-size: 22px;
    padding: 28px 0;
    margin: 28px 0;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .email-form-inline {
    flex-direction: column;
  }

  .email-form-inline .btn {
    width: 100%;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 6px 14px;
  }

}

@media (max-width: 640px) {
  .sticky-nav-links a:not(.btn) {
    display: none;
  }

  .sticky-nav-links .btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }

  .tagline {
    font-size: 28px;
  }

  .btn {
    padding: 14px 20px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }
}
