/* ============================================================
   site.css — Shared mobile-first stylesheet for CreatorFunds
   ============================================================ */

/* --- 1. CSS Variables --- */
:root {
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --bg-primary: #fefefe;
  --bg-secondary: #f8f7f4;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --coral: #ff6b6b;
  --violet: #8b5cf6;
  --magenta: #ec4899;
  --amazon-orange: #FF9900;
  --green: #22c55e;
  --gradient-hero: linear-gradient(135deg, var(--coral) 0%, var(--magenta) 50%, var(--violet) 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
}

img, video { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; display: block; }
a { color: inherit; }

/* --- 3. Navigation --- */
.nav, .main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(254,254,254,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links, .nav-menu {
  display: none;
  gap: 2rem;
  list-style: none;
}
.nav-links a, .nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active,
.nav-menu a:hover, .nav-menu a.active {
  color: var(--coral);
}

/* --- 4. Hamburger & Mobile Menu --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-secondary);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-menu {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 90px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu-links li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.active .mobile-menu-links li { opacity: 1; transform: translateY(0); }
.mobile-menu.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-links a {
  display: block;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: color 0.3s ease;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active { color: var(--coral); }

/* --- 5. Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 8px 24px rgba(255,107,107,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,107,0.35);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid rgba(0,0,0,0.1);
}
.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-amazon {
  background: var(--amazon-orange);
  color: #111;
  box-shadow: 0 8px 24px rgba(255,153,0,0.25);
}
.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,153,0,0.35);
}

.btn-apply {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #111;
  box-shadow: 0 8px 24px rgba(251,191,36,0.35);
  font-weight: 600;
}
.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(251,191,36,0.45);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
}

/* --- 6. Shared Section Primitives --- */
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--violet);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.8;
}

/* --- 7. Hero (brands, creators, contact, blog) --- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 1.25rem 3rem;
  background: linear-gradient(180deg, rgba(139,92,246,0.03) 0%, transparent 60%);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139,92,246,0.15);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 auto 1.25rem;
  max-width: 900px;
}
.hero h1 span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
}
.hero-cta .btn { width: 100%; }

/* --- 8. Page Header (projects.html) --- */
.page-header {
  padding: 7rem 1.25rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(139,92,246,0.03) 0%, transparent 60%);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- 9. Sections & Containers --- */
section {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features {
  background: var(--bg-secondary);
  padding: 3rem 1.25rem;
  max-width: 100%;
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Campfire (brands) */
.campfire {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1f3d 100%);
  color: white;
  padding: 4rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.campfire::before {
  content: '🔥';
  position: absolute;
  font-size: 10rem;
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.campfire-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.campfire h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.campfire h2 span {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.campfire p { font-size: 1.05rem; opacity: 0.85; line-height: 1.8; margin-bottom: 1.25rem; }
.campfire-voices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.voice-tag {
  padding: 0.6rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}
.voice-tag:hover { background: rgba(255,255,255,0.16); }

/* Opportunities (creators) */
.opportunities {
  background: var(--bg-secondary);
  padding: 3rem 1.25rem;
  max-width: 100%;
}
.opportunities-inner { max-width: 1200px; margin: 0 auto; }
.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.opportunity-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.opportunity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.opportunity-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.opportunity-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.opportunity-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* Amplify (creators) */
.amplify {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.amplify-list { margin-top: 2rem; }
.amplify-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.amplify-number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.amplify-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.amplify-content p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* Voice (creators) */
.voice {
  background: var(--bg-secondary);
  padding: 4rem 1.25rem;
  max-width: 100%;
}
.voice-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.voice h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.voice h2 span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.voice p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.voice-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 1.5rem;
  background: white;
  border-left: 4px solid var(--violet);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  text-align: left;
  line-height: 1.8;
}

/* --- 10. Forms (shared) --- */
.contact {
  background: var(--bg-secondary);
  padding: 3rem 1.25rem;
  max-width: 100%;
}
.contact-inner { max-width: 800px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 2rem; }

.form {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--bg-primary);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit { margin-top: 1.5rem; text-align: center; }
.form-submit .btn { min-width: 200px; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
}
.consent-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  accent-color: var(--violet);
}
.consent-label span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- 11. Modals --- */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  overflow: auto;
  background-color: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  padding-top: 5rem;
}
.modal-content {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.close-modal:hover { background: var(--bg-secondary); color: var(--text-primary); }

.modal-form { display: flex; flex-direction: column; gap: 1.25rem; }
.modal-form-group { display: flex; flex-direction: column; }
.modal-form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.modal-form-group input:not([type="checkbox"]):not([type="radio"]),
.modal-form-group select,
.modal-form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--bg-primary);
  width: 100%;
  -webkit-appearance: none;
}
.modal-form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.modal-form-group textarea { min-height: 100px; resize: vertical; }
.modal-form-group input[type="checkbox"] {
  width: auto;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  accent-color: var(--violet);
}
.modal-form-submit { margin-top: 0.5rem; }
.modal-form-submit .btn { width: 100%; }

/* TNS form-specific */
.influencer-field.field-disabled {
  opacity: 0.35;
  pointer-events: none;
  position: relative;
}
.influencer-field.field-disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  cursor: not-allowed;
}
.influencer-field.field-disabled input,
.influencer-field.field-disabled select {
  background: rgba(0,0,0,0.02);
  cursor: not-allowed;
}
.business-checkbox-group label:has(input:checked) {
  border-color: var(--violet);
  background: rgba(139,92,246,0.12);
}

/* Age-gate notice */
.age-notice {
  background: rgba(255,107,107,0.08);
  border-left: 3px solid var(--coral);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.age-notice p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- 12. Featured Project (projects) --- */
.featured-project {
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0f1c2e 100%);
  color: white;
  padding: 0;
  margin: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--coral);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
}
.featured-content { display: flex; flex-direction: column; }
.featured-media {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
  width: 100%;
}
.featured-info { order: 2; padding: 1.5rem; }

.featured-video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.featured-video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.featured-thumbnail {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.featured-thumbnail:hover { transform: scale(1.02); }

.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.play-button::after {
  content: '';
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 24px solid #0a1628;
  margin-left: 5px;
}
.play-button:hover {
  transform: translate(-50%,-50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.featured-platforms {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.platform-logo { height: 28px; width: auto; opacity: 0.9; transition: opacity 0.3s ease; }
.platform-logo:hover { opacity: 1; }
.platform-tag {
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}
.platform-tag.prime { background: rgba(255,153,0,0.2); color: var(--amazon-orange); }
.platform-tag.apple { background: rgba(255,255,255,0.15); }

.featured-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.featured-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.featured-description {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}
.featured-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.highlight { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; }
.highlight-icon { font-size: 1.1rem; }

.featured-cta {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.featured-cta .btn { width: 100%; text-align: center; font-size: 0.9rem; }

/* Seeking Box / Benefits */
.seeking-box {
  background: linear-gradient(135deg, rgba(34,197,94,0.2) 0%, rgba(16,185,129,0.2) 100%);
  border: 2px solid rgba(34,197,94,0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.seeking-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #10b981 100%);
}
.seeking-box h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.seeking-box p { font-size: 0.92rem; opacity: 0.95; line-height: 1.8; margin-bottom: 1rem; }
.seeking-box .benefits-intro { font-weight: 600; font-size: 0.95rem; color: white; }
.seeking-box .apply-button-container {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Benefits accordion */
.benefits-details { margin-bottom: 1rem; }
.benefits-details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  padding: 0.75rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.benefits-details summary::-webkit-details-marker { display: none; }
.benefits-details summary::before { content: '▸'; transition: transform 0.2s ease; }
.benefits-details[open] summary::before { transform: rotate(90deg); }

.benefits-group {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.benefits-group h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.benefits-group ul { list-style: none; padding: 0; margin: 0; }
.benefits-group li {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.95;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.benefits-group li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 600;
  font-size: 1rem;
}

.seeking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.seeking-tag {
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.3s ease;
}
.seeking-tag:hover { background: rgba(255,255,255,0.22); }

/* --- 13. Other Projects Grid --- */
.other-projects {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.other-projects.bg-alt {
  background: var(--bg-secondary);
  max-width: 100%;
}
.other-projects.bg-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section-header { margin-bottom: 2rem; }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-image {
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-image.blogfanatic { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%); }
.project-image img { max-height: 80px; max-width: 85%; object-fit: contain; }
.project-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: white;
}
.project-status {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: #22c55e;
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-body { padding: 1.5rem; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.project-body .tagline {
  color: var(--violet);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.project-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.meta-tag {
  padding: 0.3rem 0.7rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.project-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.project-actions .btn { width: 100%; text-align: center; padding: 0.8rem; font-size: 0.88rem; }

.campaign-note {
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.campaign-note a { color: var(--violet); }
.campaign-benefits {
  margin-top: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,107,107,0.06);
  border-left: 3px solid var(--coral);
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Early apply box */
.early-apply {
  max-width: 600px;
  margin: 2rem auto 0;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.early-apply h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  text-align: center;
}
.early-apply-row {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}
.early-apply-row input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  width: 100%;
}
.early-apply-row input:focus { outline: none; border-color: var(--violet); }
.early-apply p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  text-align: center;
}

/* --- 14. CTA Section --- */
.cta-section {
  background: var(--bg-secondary);
  padding: 3rem 1.25rem;
  text-align: center;
  max-width: 100%;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}
.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-direction: column;
  max-width: 300px;
  margin: 0 auto;
}
.cta-buttons .btn { width: 100%; }

/* Projects CTA */
.projects-cta {
  text-align: center;
  padding: 3rem 1.25rem;
  background: white;
  max-width: 100%;
}
.projects-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.projects-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* --- 15. Blog --- */
.article-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.article-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.article-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.article-section .lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  border-left: 4px solid var(--gradient-hero);
  padding-left: 1.25rem;
  border-image: var(--gradient-hero) 1;
}
.article-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}
.article-body a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  line-height: 1.8;
}
.article-body blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.source-link:hover { background: rgba(139,92,246,0.1); color: var(--violet); }
.source-link span { color: var(--text-secondary); font-weight: 400; }

/* --- 16. Offices (contact) --- */
.offices {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}
.office-card {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
}
.office-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.office-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* --- 17. TNS Welcome Page --- */
.hero-banner {
  padding: 7rem 1.25rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0f1c2e 100%);
  color: white;
}
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 1.25rem;
}
.hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hero-banner p { font-size: 1rem; opacity: 0.85; max-width: 650px; margin: 0 auto; line-height: 1.7; }

.video-section {
  max-width: 900px;
  margin: -1.5rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.steps-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.steps-header { text-align: center; margin-bottom: 2rem; }
.steps-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.steps-header p { font-size: 1rem; color: var(--text-secondary); }

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step-number {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.step-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.step-content a { color: var(--violet); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.step-content a:hover { color: var(--coral); }

.step-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}
.step-link:hover { background: rgba(139,92,246,0.1); color: var(--violet); }
.step-link.prime { background: rgba(255,153,0,0.1); color: #b45309; }
.step-link.prime:hover { background: rgba(255,153,0,0.2); }

.hashtag-highlight {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.deadline-banner {
  text-align: center;
  padding: 2rem 1.25rem;
  margin: 0 1rem 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, rgba(34,197,94,0.06) 0%, rgba(16,185,129,0.06) 100%);
  border: 2px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg);
}
.deadline-banner h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.deadline-banner p { color: var(--text-secondary); font-size: 0.92rem; max-width: 550px; margin: 0 auto; }

.back-link { text-align: center; padding: 0 1.25rem 3rem; }
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 8px 24px rgba(255,107,107,0.25);
  transition: all 0.3s ease;
}
.back-link a:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,107,0.35); }

/* --- 18. Footer --- */
footer {
  background: #1a1a1a;
  color: white;
  padding: 2rem 1.25rem;
  text-align: center;
}
footer p { opacity: 0.6; font-size: 0.82rem; }
footer a { color: var(--coral); text-decoration: none; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.footer-row p { opacity: 0.7; font-size: 0.82rem; }
.footer-copy {
  opacity: 0.5;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  margin-top: 0;
}

/* ============================================================
   TABLET+ BREAKPOINT (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {
  /* Nav */
  .nav, .main-nav { padding: 1.25rem 3rem; }
  .nav-links, .nav-menu { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .nav-logo img { height: 40px; }

  /* Hero */
  .hero { padding: 10rem 2rem 5rem; min-height: 65vh; }
  .hero-cta { flex-direction: row; width: auto; max-width: none; }
  .hero-cta .btn { width: auto; }

  /* Page header */
  .page-header { padding: 10rem 2rem 4rem; }

  /* Sections */
  section { padding: 5rem 2rem; }
  .features, .opportunities, .campfire, .voice, .contact, .cta-section, .projects-cta { padding: 5rem 2rem; }

  /* Features grid */
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
  .feature-card { padding: 2.25rem; }

  /* Opportunities */
  .opportunities-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

  /* Form */
  .form { padding: 2.5rem; }
  .form-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Modal */
  .modal.active { padding: 2rem; padding-top: 5rem; }
  .modal-content { padding: 2.5rem; border-radius: 24px; }
  .modal-header h3 { font-size: 1.6rem; }

  /* Featured project */
  .featured-project { margin: 2rem; border-radius: 24px; }
  .featured-badge { top: 1.5rem; right: 1.5rem; padding: 0.5rem 1.25rem; font-size: 0.78rem; }
  .featured-info { padding: 3rem; }
  .featured-info h2 { font-size: clamp(2rem, 4vw, 3rem); }
  .featured-subtitle { font-size: 1.2rem; }
  .featured-description { font-size: 1.05rem; }
  .platform-logo { height: 36px; }
  .featured-cta { flex-direction: row; }
  .featured-cta .btn { width: auto; }
  .seeking-box { padding: 2rem; }
  .play-button { width: 90px; height: 90px; }
  .play-button::after { border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 28px solid #0a1628; margin-left: 6px; }

  /* Project grid */
  .projects-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
  .project-image { height: 200px; }
  .project-body { padding: 2rem; }
  .project-body h3 { font-size: 1.35rem; }
  .project-actions { flex-direction: row; }
  .project-actions .btn { flex: 1; width: auto; }

  /* Early apply */
  .early-apply { padding: 2.5rem; }
  .early-apply-row { flex-direction: row; }

  /* CTA */
  .cta-buttons { flex-direction: row; max-width: none; }
  .cta-buttons .btn { width: auto; }

  /* Blog */
  .article-section { padding: 5rem 2rem; }

  /* Offices */
  .offices-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  /* Steps */
  .step-card { flex-direction: row; gap: 1.5rem; padding: 1.75rem; }
  .step-number { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 14px; }

  /* Footer */
  footer { padding: 3rem 2rem; }
  .footer-row { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   DESKTOP BREAKPOINT (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  /* Offices */
  .offices-grid { grid-template-columns: repeat(3, 1fr); }

  /* Campfire */
  .campfire { padding: 7rem 2rem; }

  /* Featured project */
  .featured-project { margin: 2rem auto; max-width: 1200px; }
  .featured-info { padding: 4rem; }
}
