/* =========================================================
   The Data Sculpt — Landing page styles (v2)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-cream: #faf6ef;        /* warm cream */
  --bg-soft: #f5f1ea;         /* deeper cream */
  --bg-dark: #0a0e1a;
  --bg-dark-2: #11162a;
  --bg-dark-3: #161c33;

  --text: #0a0e1a;
  --text-soft: #4a5163;
  --text-muted: #7a8194;
  --text-on-dark: #e9ecf5;
  --text-on-dark-soft: #a5acc1;
  --text-on-dark-muted: #6f7791;

  --border: #ece8df;
  --border-2: #e2ddd1;
  --border-dark: #232a44;

  --accent: #ff6a3d;          /* warm orange */
  --accent-2: #ffb27a;
  --accent-3: #ffd0a5;
  --accent-soft: #fff1ea;
  --accent-dark: #e54f23;

  --primary: #0a0e1a;
  --primary-hover: #1d2335;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 35, .04), 0 2px 6px rgba(15, 20, 35, .04);
  --shadow:    0 6px 20px rgba(15, 20, 35, .07), 0 2px 6px rgba(15, 20, 35, .04);
  --shadow-lg: 0 18px 60px rgba(15, 20, 35, .14);
  --shadow-xl: 0 30px 80px rgba(15, 20, 35, .25);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.8rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--accent-2); }

.gradient-text {
  background: linear-gradient(95deg, var(--accent) 0%, #ff9a52 50%, #ffd0a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-warm {
  background: linear-gradient(95deg, #ffd0a5 0%, var(--accent-2) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; }
.section-head.light p { color: var(--text-on-dark-soft); }
.section-head.light h2 { color: #fff; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.badge-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 0 0 4px rgba(43, 182, 115, .15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(11, 15, 26, .15);
}
.btn-ghost:hover { background: rgba(11, 15, 26, .04); }

.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 20, 35, .06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.logo-mark {
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 11px;
  align-items: center; justify-content: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-6deg);
  box-shadow: var(--shadow);
}
.logo-mark svg { width: 22px; height: 22px; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 90px);
  overflow: hidden;
  background: var(--bg-cream);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .65;
}
.blob-1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, #ffd0a5 0%, rgba(255,208,165,0) 70%);
  top: -180px; right: -160px;
}
.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #ffe7d4 0%, rgba(255,231,212,0) 70%);
  bottom: -160px; left: -120px;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 15, 26, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 15, 26, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner {
  text-align: center;
  max-width: 920px;
  position: relative;
}
.hero-title { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: clamp(1.05rem, 1vw + .85rem, 1.25rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px dashed rgba(11, 15, 26, .14);
  border-bottom: 1px dashed rgba(11, 15, 26, .14);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: var(--text-soft);
}
.meta-item strong { color: var(--text); font-weight: 700; }
.stars { color: #f5a623; display: inline-flex; gap: 1px; }

/* Hero preview card */
.hero-preview {
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  max-width: 920px;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: perspective(2000px) rotateX(2deg);
  transform-origin: top center;
}
.hero-preview img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}
.hero-preview figcaption {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: var(--shadow);
}

/* ---------- Trust bar ---------- */
.trust {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.trust-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(.6rem, 1.5vw, 1.25rem);
}

/* Brand lockup: icon + wordmark in one consistent style */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-soft);
  opacity: .58;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}
.brand:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--text);
}
.brand img {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(.85rem, 1vw + .2rem, .98rem);
  letter-spacing: -.015em;
  line-height: 1;
}

/* Per-brand visual tuning so each wordmark feels native */
.brand-nv .brand-name {
  letter-spacing: .08em;
  font-weight: 700;
}
.brand-hf .brand-name {
  letter-spacing: -.005em;
}
.brand-hf img { height: 22px; }
.brand-indeed .brand-name {
  font-style: italic;
  letter-spacing: -.025em;
}

/* Below ~900px wrap into two rows */
@media (max-width: 900px) {
  .logos {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem 2rem;
  }
  .brand img { height: 22px; }
  .brand-name { font-size: 1rem; }
}

/* ---------- Languages (DARK) ---------- */
.languages {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.languages::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 106, 61, .15), transparent 60%),
    radial-gradient(700px 380px at 10% 100%, rgba(255, 178, 122, .1), transparent 60%);
  pointer-events: none;
}
.languages .container { position: relative; }
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  max-width: 960px;
  margin: 0 auto;
}
.lang-grid span {
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-on-dark);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.lang-grid span:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.lang-grid .more {
  background: transparent;
  color: var(--text-on-dark-soft);
  border-style: dashed;
}

/* ---------- Why ---------- */
.why { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-cream); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 106, 61, .35);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--bg-cream);
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.feature-icon img { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: .35rem; }
.feature-card p { margin: 0; font-size: .95rem; }

/* ---------- Projects (NEW) ---------- */
.projects { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg); }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.projects-copy h2 { margin-bottom: 1rem; }
.projects-copy .check-list { margin: 1.5rem 0 2rem; }

.projects-visual {
  margin: 0;
  padding: 18px;
  background: linear-gradient(135deg, var(--bg-cream), #fff);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.projects-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.projects-visual::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 60%; height: 60%;
  background: var(--accent);
  border-radius: var(--radius-lg);
  opacity: .12;
  z-index: -1;
}

/* ---------- Role overview ---------- */
.role { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-cream); }
.role-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.role-left h2 { margin-bottom: 1rem; }
.role-cards { display: grid; gap: 1.25rem; margin: 2rem 0; }
.role-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.role-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--text-soft);
  font-size: .98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .25rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/12px no-repeat;
}

.role-right {
  position: relative;
  min-height: 460px;
}
.testimonial-card {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.testimonial-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.floating-stat {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: grid;
  gap: .15rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.floating-stat .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
}
.floating-stat .stat-label {
  font-size: .8rem;
  color: var(--text-muted);
}
.floating-stat:not(.alt) { top: -18px; right: -18px; }
.floating-stat.alt {
  bottom: -18px; left: -18px;
  background: var(--accent);
  border-color: var(--accent);
}
.floating-stat.alt .stat-num,
.floating-stat.alt .stat-label { color: #fff; }
.floating-stat.alt .stat-label { color: rgba(255,255,255,.85); }

/* ---------- Pay banner (DARK) ---------- */
.pay {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.pay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(255, 106, 61, .25), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(255, 178, 122, .18), transparent 60%);
  pointer-events: none;
}
.pay-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.pay h2 { color: #fff; margin-bottom: 1rem; max-width: 16ch; }
.pay h3, .pay h4 { color: #fff; }
.pay-left p { color: var(--text-on-dark-soft); margin-bottom: 1.5rem; }
.pay-amount {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: .25rem;
}
.pay-amount .amount {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  background: linear-gradient(95deg, #fff 0%, #ffd0a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pay-amount .unit { color: var(--text-on-dark-soft); font-size: 1.1rem; }

.pay-stats {
  display: grid;
  gap: .85rem;
  margin: 2rem 0 2rem;
}
.pay-stat {
  padding: 1.15rem 1.4rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  display: grid;
  gap: .15rem;
  transition: border-color .2s ease, background .2s ease;
}
.pay-stat:hover {
  border-color: rgba(255, 178, 122, .35);
  background: rgba(255, 255, 255, .06);
}
.pay-stat strong { color: #fff; font-weight: 600; }
.pay-stat span { color: var(--text-on-dark-soft); font-size: .92rem; }

.pay-visual {
  margin: 0;
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(6px);
}
.pay-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #fff;
}
.pay-visual-badge {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--accent);
  color: #fff;
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: var(--shadow);
}
.pay-visual-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
.pay-visual-badge .dot.live { animation: pulse 1.6s infinite; }

/* ---------- How it works ---------- */
.how { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.step {
  background: var(--bg-cream);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 2.25rem 1.85rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 106, 61, .35);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-head h2 { margin-bottom: .5rem; }
.faq-head .btn { margin-top: 1rem; }
.faq-list { display: grid; gap: .75rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(255, 106, 61, .35); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Apply (DARK) ---------- */
.apply {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(255, 106, 61, .18), transparent 60%),
    radial-gradient(600px 320px at 10% 100%, rgba(255, 208, 165, .12), transparent 60%);
  pointer-events: none;
}
.apply-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.apply-copy h2 { color: #fff; margin-bottom: .75rem; max-width: 14ch; }
.apply-copy p { color: var(--text-on-dark-soft); }
.apply-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .75rem;
}
.apply-points li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--text-on-dark);
}
.apply-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .35rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/12px no-repeat;
}

.apply-trust {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text-on-dark-soft);
  font-size: .9rem;
}

.apply-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-xl);
  display: grid;
  gap: 1rem;
  color: var(--text);
}
.apply-form h3 { margin: 0 0 .5rem; font-size: 1.25rem; color: var(--text); }
.field { display: grid; gap: .35rem; }
.field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req {
  color: var(--accent);
  margin-left: .15rem;
  font-weight: 700;
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not([data-pristine]) {
  /* Only highlight after user interaction, not on initial render */
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #e25f4d;
  box-shadow: 0 0 0 4px rgba(226, 95, 77, .12);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, .15);
}

/* =========================================================
   Success Modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.is-open {
  display: flex;
  animation: modalFade .2s ease;
}
@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-2);
  animation: modalPop .35s cubic-bezier(.16, 1.05, .56, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2bb673, #1e9e60);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 30px rgba(43, 182, 115, .35);
  animation: iconPop .5s cubic-bezier(.16, 1.05, .56, 1) .1s both;
}
.modal-icon svg { width: 38px; height: 38px; }
@keyframes iconPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-card h3 {
  font-size: 1.6rem;
  margin: 0 0 .5rem;
  color: var(--text);
}
.modal-card p {
  margin: 0 0 1.75rem;
  color: var(--text-soft);
  font-size: 1rem;
}
.modal-actions .btn { min-width: 140px; }

body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  color: var(--text);
  padding: 70px 0 24px;
  border-top: 1px solid var(--border-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-2);
}
.site-footer .logo { color: var(--text); }
.site-footer .logo-mark {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  width: 34px; height: 34px;
}
.site-footer .logo-mark svg { width: 20px; height: 20px; }
.footer-brand p { color: var(--text-soft); margin-top: 1rem; max-width: 36ch; }
.footer-col h5 {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--text);
  padding: .3rem 0;
  font-size: .95rem;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-soft); font-size: .92rem; margin: 0 0 .75rem; }
.footer-col .muted { color: var(--text-muted); font-size: .85rem; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: .9rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .role-grid,
  .projects-grid,
  .faq-grid,
  .apply-grid,
  .pay-inner { grid-template-columns: 1fr; }

  .projects-grid .projects-visual,
  .role-grid .role-right {
    order: -1;
    max-width: 540px;
    margin: 0 auto;
  }

  .role-right { min-height: 0; }
  .floating-stat { position: static; display: inline-grid; margin: 1rem .5rem 0 0; }
  .floating-stat.alt { background: var(--accent); }

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

@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .site-header.menu-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem 24px 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .site-header.menu-open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(72px + 250px);
    left: 24px; right: 24px;
    justify-content: center;
  }

  .hero-preview { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-cta .btn { width: 100%; }
}

/* =========================================================
   About page
   ========================================================= */

/* Active nav link */
.main-nav a.is-active {
  color: var(--text);
  position: relative;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Page hero (compact variant) */
.page-hero {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 90px);
  background: var(--bg-cream);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero-inner {
  max-width: 820px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem);
  margin-bottom: 1rem;
}
.page-hero .lead {
  font-size: clamp(1.05rem, .8vw + .9rem, 1.2rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* Mission */
.mission {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg);
  text-align: center;
}
.mission .container { max-width: 880px; }
.mission-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2vw + .8rem, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}

/* Story */
.story { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-cream); }
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story-copy h2 { margin-bottom: 1rem; }
.story-visual {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.story-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Values reuses .why / .card-grid styles */
.values { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg); }

/* Stats (dark section) */
.stats {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(255, 106, 61, .18), transparent 60%),
    radial-gradient(600px 320px at 10% 100%, rgba(255, 208, 165, .12), transparent 60%);
  pointer-events: none;
}
.stats .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.stat-card {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.stat-card:hover {
  border-color: rgba(255, 178, 122, .35);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-3px);
}
.stat-card .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(95deg, #fff 0%, #ffd0a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .5rem;
}
.stat-card .stat-label {
  color: var(--text-on-dark-soft);
  font-size: .95rem;
}

/* Locations */
.locations { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-cream); }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.locations-copy h2 { margin-bottom: 1rem; }
.locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.locations-list li {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.locations-list h4 {
  margin: 0 0 .25rem;
  font-size: 1.1rem;
}
.locations-list p {
  margin: 0 0 .35rem;
  color: var(--text-soft);
  font-weight: 500;
}
.locations-list .muted {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
}

/* CTA-only variant: apply section without form (single column) */
.apply-grid.cta-only {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.apply-grid.cta-only .apply-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.apply-grid.cta-only .apply-copy h2 { max-width: none; }
.apply-grid.cta-only .apply-points {
  text-align: left;
  margin: 1.5rem 0 0;
}
.apply-grid.cta-only .btn { margin-top: 2rem; }

/* =========================================================
   Contact page
   ========================================================= */
.contact { padding: clamp(50px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-info h2 { margin-bottom: .75rem; }

.contact-cards {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  align-items: start;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.contact-card:hover {
  border-color: rgba(255, 106, 61, .35);
  transform: translateY(-2px);
  background: #fff;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.contact-card h4 {
  margin: 0 0 .15rem;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 600;
}
.contact-card a {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: .15rem;
  transition: color .15s ease;
}
.contact-card a:hover { color: var(--accent); }
.contact-card span {
  display: block;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.4;
}
.contact-card span.muted {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: .15rem;
}

/* Contact form is a variant of .apply-form */
.contact-form { align-self: start; }
.form-hint,
.form-consent {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.form-consent {
  padding-top: .25rem;
  border-top: 1px dashed var(--border-2);
  margin-top: .25rem;
}
.form-hint a,
.form-consent a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.form-hint a:hover,
.form-consent a:hover { border-bottom-color: var(--accent); }

/* Company details block (under contact cards) */
.company-details {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: var(--bg-cream);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
}
.company-details h4 {
  margin: 0 0 1rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  font-weight: 600;
}
.company-meta {
  margin: 0;
  display: grid;
  gap: .65rem;
}
.company-meta > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: .75rem;
  align-items: baseline;
}
.company-meta dt {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.company-meta dd {
  margin: 0;
  font-size: .92rem;
  color: var(--text);
  font-weight: 500;
}
@media (max-width: 520px) {
  .company-meta > div { grid-template-columns: 1fr; gap: .1rem; }
}

/* =========================================================
   Legal pages (Privacy Policy, Terms, etc.)
   ========================================================= */

.page-hero.legal-hero { padding-bottom: clamp(40px, 5vw, 70px); }

.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: .75rem 1.25rem;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--text-soft);
}
.legal-meta strong { color: var(--text); font-weight: 600; }

.legal { padding: clamp(50px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); background: var(--bg); }
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Sticky table of contents */
.legal-toc {
  position: sticky;
  top: 88px;
  padding: 1.5rem 1.25rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
}
.legal-toc .toc-title {
  margin: 0 0 .85rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  font-weight: 600;
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .25rem;
}
.legal-toc a {
  display: block;
  padding: .35rem .65rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.35;
  transition: background .15s ease, color .15s ease;
}
.legal-toc a:hover {
  background: #fff;
  color: var(--text);
}

/* Long-form content */
.legal-content { max-width: 760px; }
.prose section { scroll-margin-top: 90px; padding-top: .5rem; }
.prose section + section { margin-top: 2.5rem; }
.prose h2 {
  font-size: clamp(1.4rem, 1.2vw + .9rem, 1.75rem);
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border-2);
}
.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 .75rem;
  color: var(--text);
}
.prose p,
.prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.prose ul {
  padding-left: 1.25rem;
  margin: .75rem 0 1.25rem;
  display: grid;
  gap: .5rem;
}
.prose ul li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 106, 61, .3);
  transition: border-color .15s ease;
}
.prose a:hover { border-bottom-color: var(--accent); }
.prose .muted { color: var(--text-muted); font-size: .9rem; }

/* Responsive for new sections */
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    order: -1;
  }
  .legal-toc ol {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .story-grid,
  .locations-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid .story-visual { order: -1; max-width: 540px; margin: 0 auto; }
  .main-nav a.is-active::after { display: none; }
  .legal-meta { flex-direction: column; gap: .25rem; border-radius: var(--radius); }
}
