/* ============================================================
   KENTO LABS — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg-0: #f8faff;
  --bg-1: #ffffff;
  --bg-2: #f0f4ff;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-strong: rgba(255, 255, 255, 0.9);

  --primary: #1e5edb;
  --primary-dark: #0f3d91;
  --accent: #0ea5e9;
  --accent-light: #7dd3fc;
  --navy: #0f1e36;
  --emerald: #10b981;
  --gold: #f59e0b;

  --grad-primary: linear-gradient(135deg, #0f3d91 0%, #1e5edb 50%, #0ea5e9 100%);
  --grad-blue: linear-gradient(135deg, #1e5edb 0%, #0ea5e9 100%);
  --grad-text: linear-gradient(135deg, #0f1e36, #1e5edb);

  --text-primary: #0f1e36;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border: #e2e8f0;
  --border-hover: #cbd5e1;

  --nav-height: 94px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-glow-blue: 0 0 60px rgba(30, 94, 219, 0.15);
  --shadow-card: 0 12px 30px rgba(15, 30, 54, 0.05);
  --shadow-nav: 0 4px 20px rgba(15, 30, 54, 0.03);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.05em;
}

.grad-text-blue {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.05em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

/* ── Noise Overlay ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Navigation ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(248, 250, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
}

body[data-current-page="job-engineer"],
body[data-current-page="job-creatives"] {
  background: #fff;
}

body[data-current-page="job-engineer"]::before,
body[data-current-page="job-creatives"]::before {
  display: none;
}

body[data-current-page="job-engineer"] #navbar,
body[data-current-page="job-engineer"] .site-footer,
body[data-current-page="job-creatives"] #navbar,
body[data-current-page="job-creatives"] .site-footer {
  display: none;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #000;
  letter-spacing: -0.03em;
}

.nav-logo-name span {
  color: #000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--bg-2);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--bg-2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Language Picker ─────────────────────────────────────────── */
.lang-picker {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.lang-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg-2);
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-picker.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 30, 54, 0.1);
  padding: 6px;
  min-width: 130px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-picker.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
}

.lang-option:hover {
  background: var(--bg-2);
  color: var(--primary);
}

.lang-option.active {
  color: var(--navy);
  font-weight: 700;
  background: var(--bg-2);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(15, 30, 54, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 30, 54, 0.25);
}

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

.btn-outline:hover {
  background: var(--bg-1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 94, 219, 0.15);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 94, 219, 0.25);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-xl {
  padding: 16px 42px;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(30, 94, 219, 0.3);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ── Glass Card ─────────────────────────────────────────────── */
.glass-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(30, 94, 219, 0.08);
  border: 1px solid rgba(30, 94, 219, 0.2);
  color: var(--primary);
}

.badge-navy {
  background: rgba(15, 30, 54, 0.05);
  border: 1px solid rgba(15, 30, 54, 0.1);
  color: var(--navy);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--gold);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

/* ── Section Labels ─────────────────────────────────────────── */
.section-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* ── Orbs / Background Glows ───────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-blue {
  background: var(--primary);
}

.orb-navy {
  background: var(--navy);
}

.orb-gold {
  background: var(--gold);
}

/* ── Grid Utilities ─────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── Page Sections (shown/hidden) ───────────────────────────── */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero .subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual: floating phone mockup */
.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  pointer-events: none;
  z-index: 1;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.4;
  padding-bottom: 0.3em;
  margin-bottom: 4px;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  padding: 32px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── How It Works ───────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  padding: 36px;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ── Logo Ticker ─────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-1), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-1), transparent);
}

.ticker {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
  flex-shrink: 0;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 61, 145, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  border: 1px solid rgba(15, 61, 145, 0.1);
  border-radius: inherit;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Pricing-style Cards ─────────────────────────────────────── */
.pricing-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(30, 94, 219, 0.2);
  background: rgba(30, 94, 219, 0.03);
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-0);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 94, 219, 0.1);
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 20px 0 8px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Format showcase ─────────────────────────────────────────── */
.format-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.format-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(30, 94, 219, 0.15), 0 12px 40px rgba(15, 30, 54, 0.1);
}

@keyframes cardGlowPulse {
  0% {
    box-shadow: 0 0 0px rgba(30, 94, 219, 0);
  }

  50% {
    box-shadow: 0 0 28px rgba(30, 94, 219, 0.25);
  }

  100% {
    box-shadow: 0 0 24px rgba(30, 94, 219, 0.15);
  }
}

.format-card:hover {
  animation: cardGlowPulse 0.5s ease forwards;
}

.format-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-info {
  padding: 24px;
  background: var(--bg-1);
}

.format-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.format-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ── Metrics Panel ───────────────────────────────────────────── */
.metrics-panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.metric-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--bg-glass-strong);
  border-radius: 100px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  border-radius: 100px;
  width: 0;
  /* starts at 0; JS animates to target width */
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  min-width: 100px;
}

.metric-value {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 50px;
  text-align: right;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: #08090b;
  color: #fff;
  padding: 72px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  min-height: 300px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-brand span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.footer-brand span span {
  font-size: inherit;
  font-weight: inherit;
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(180px, 240px);
  justify-content: end;
  min-width: 240px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column h2 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0;
}

.footer-column a {
  width: fit-content;
  font-size: 1.04rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-linkedin {
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-linkedin:hover {
  color: var(--primary);
}

/* ── Careers ─────────────────────────────────────────────────── */
.careers-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 104px;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.2), rgba(8, 9, 11, 0)),
    linear-gradient(135deg, #07111f 0%, #0d1b2e 54%, #102b44 100%);
  color: #fff;
}

.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.careers-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.careers-copy {
  max-width: 720px;
}

.careers-copy h1 {
  margin: 24px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4.15rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.careers-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1.75;
}

.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.careers-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.careers-hero .btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.careers-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.careers-panel-header,
.careers-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.careers-panel-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.careers-panel-header span,
.careers-panel-grid span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
}

.careers-panel-header strong {
  font-size: 1.9rem;
  line-height: 1;
}

.careers-signal {
  justify-content: flex-start;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.55;
}

.careers-signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}

.careers-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.careers-panel-grid div {
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.careers-panel-grid strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.careers-section {
  padding: 104px 0;
  background: var(--bg-0);
}

.careers-open-only {
  min-height: calc(100vh - 429px);
  padding-top: 156px;
}

.careers-band {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.careers-section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.careers-section-heading h2,
.careers-two-col h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 32px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 94, 219, 0.28);
  box-shadow: 0 18px 42px rgba(15, 30, 54, 0.08);
}

.ashby-job-row {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ashby-job-row .job-side strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.9rem;
}

.ashby-job-row .job-side strong::after {
  content: '→';
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.ashby-job-row:hover .job-side strong::after {
  transform: translateX(3px);
}

.job-kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-main h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.job-main p {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.job-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--bg-0);
  font-size: 0.78rem;
  font-weight: 600;
}

.job-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.job-side .btn {
  margin-top: 12px;
}

.careers-two-col {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.careers-principles {
  display: grid;
  gap: 14px;
}

.principle-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-0);
}

.principle-card span {
  color: var(--primary);
  font-weight: 800;
}

.principle-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.principle-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.careers-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0f1e36 0%, #123d73 100%);
}

.careers-cta span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.careers-cta h2 {
  max-width: 700px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  line-height: 1.16;
  letter-spacing: 0;
}

/* ── Ashby-style job detail ──────────────────────────────────── */
.ashby-page {
  min-height: 100vh;
  background: #fff;
  color: #3c4050;
  font-family: 'Inter', sans-serif;
  padding: 28px 36px 64px;
}

.ashby-back {
  position: fixed;
  top: 56px;
  left: 28px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #655fc0;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.ashby-back:hover {
  color: #4f49a8;
  transform: translateX(-3px);
}

.ashby-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.ashby-brand {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: #050506;
  text-decoration: none;
  cursor: pointer;
}

.ashby-brand img {
  width: 72px;
  height: 66px;
  object-fit: contain;
}

.ashby-brand span {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.ashby-job {
  display: grid;
  grid-template-columns: minmax(240px, 336px) minmax(0, 1fr);
  gap: 42px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.ashby-sidebar {
  padding-top: 10px;
}

.ashby-sidebar h1 {
  margin-bottom: 64px;
  color: #363b4c;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.ashby-meta {
  display: flex;
  flex-direction: column;
}

.ashby-meta-item {
  padding: 18px 0 19px;
  border-bottom: 1px solid #e2e4eb;
}

.ashby-meta-item:first-child {
  padding-top: 0;
}

.ashby-meta-item span {
  display: block;
  margin-bottom: 10px;
  color: #5c6273;
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 800;
}

.ashby-meta-item strong {
  display: block;
  color: #3e4353;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 400;
}

.ashby-content {
  max-width: 760px;
}

.ashby-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 34px;
}

.ashby-tabs [data-tab] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  color: #8a91a2;
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 1.04rem;
  line-height: 1;
  font-weight: 800;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.ashby-tabs [data-tab].active {
  color: #625db9;
  border-bottom-color: #625db9;
}

.ashby-tab-panel {
  display: none;
}

.ashby-tab-panel.active {
  display: block;
}

.ashby-copy h2,
.ashby-application h2 {
  margin: 0 0 13px;
  color: #363b4c;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.ashby-copy p,
.ashby-copy li {
  color: #404555;
  font-size: 0.99rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.ashby-copy p {
  margin: 0 0 16px;
}

.ashby-copy h2:not(:first-child) {
  margin-top: 48px;
}

.ashby-copy ul {
  margin: 0 0 18px 22px;
  padding: 0;
}

.ashby-copy li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.ashby-application {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ashby-application-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ashby-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 2px solid #625db9;
  border-radius: 999px;
  color: #625db9;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(52, 48, 128, 0.16);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ashby-upload-button:hover {
  background: #f5f3ff;
  transform: translateY(-1px);
}

.ashby-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #535969;
  font-size: 0.8rem;
  font-weight: 800;
}

.ashby-field em,
.ashby-question em {
  color: #d94841;
  font-style: normal;
}

.ashby-field input:not([type="file"]) {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  border: 1.5px solid #7e89a3;
  border-radius: 9px;
  color: #3e4353;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ashby-field input::placeholder {
  color: #75809a;
}

.ashby-field input:focus {
  border-color: #625db9;
  box-shadow: 0 0 0 3px rgba(98, 93, 185, 0.13);
}

.ashby-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ashby-upload-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 100px;
  padding: 22px;
  border: 2px dashed #d5d9e4;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ashby-upload-drop.dragging {
  border-color: #625db9;
  background: #f8f7ff;
}

.ashby-file-name {
  color: #535969;
  font-size: 0.8rem;
  font-weight: 700;
}

.ashby-question {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.ashby-question legend {
  color: #535969;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.ashby-segmented {
  display: inline-flex;
  width: fit-content;
  overflow: hidden;
  border: 1px solid #d6dae4;
  border-radius: 9px;
  background: #fff;
}

.ashby-segmented label {
  position: relative;
  cursor: pointer;
}

.ashby-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ashby-segmented span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 43px;
  color: #9aa1b3;
  font-weight: 800;
  border-right: 1px solid #d6dae4;
  transition: background 0.18s ease, color 0.18s ease;
}

.ashby-segmented label:last-child span {
  border-right: 0;
}

.ashby-segmented input:checked + span {
  background: #f2f0ff;
  color: #625db9;
}

.ashby-application-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #d7dbe5;
  text-align: center;
}

.ashby-application-footer a {
  display: inline-flex;
  margin-bottom: 16px;
  color: #697187;
  font-size: 0.72rem;
}

.ashby-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #625db9;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(52, 48, 128, 0.2);
  transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.ashby-submit:hover {
  background: #514ba8;
  transform: translateY(-1px);
}

.ashby-submit:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.ashby-form-status {
  min-height: 16px;
  margin: 12px 0 0;
  color: #697187;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ashby-form-status.success {
  color: #0f8a5f;
}

.ashby-form-status.error {
  color: #b42318;
}

.ashby-success-card {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 48px 36px;
  text-align: center;
  border: 1px solid rgba(98, 93, 185, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(98, 93, 185, 0.14), transparent 44%),
    #fff;
  box-shadow: 0 24px 70px rgba(52, 48, 128, 0.12);
}

.ashby-success-icon-wrapper {
  position: relative;
  display: inline-flex;
  margin-bottom: 22px;
}

.ashby-success-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #625db9, #7c74dd);
  box-shadow: 0 14px 28px rgba(98, 93, 185, 0.26);
}

.ashby-success-ring {
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border-radius: 50%;
  background: rgba(98, 93, 185, 0.15);
  z-index: 1;
}

.ashby-success-card h2 {
  margin-bottom: 10px;
  color: #34384a;
  font-size: 1.55rem;
  line-height: 1.2;
}

.ashby-success-card p {
  max-width: 480px;
  margin: 0 auto;
  color: #5d6376;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(1deg);
  }

  66% {
    transform: translateY(-6px) rotate(-1deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* Stagger delay utilities for cascaded entry */
.stagger-1 {
  animation-delay: 0.05s;
}

.stagger-2 {
  animation-delay: 0.15s;
}

.stagger-3 {
  animation-delay: 0.28s;
}

.stagger-4 {
  animation-delay: 0.42s;
}

.stagger-5 {
  animation-delay: 0.56s;
}

/* Scroll-reveal: hidden until IntersectionObserver fires */
.scroll-reveal {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal.stagger-1 {
  transition-delay: 0.0s;
}

.scroll-reveal.stagger-2 {
  transition-delay: 0.12s;
}

.scroll-reveal.stagger-3 {
  transition-delay: 0.24s;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual {
    width: 340px;
    right: -40px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .careers-hero-inner,
  .careers-two-col {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .careers-copy h1 {
    font-size: 3.35rem;
  }

  .footer-top {
    min-height: 240px;
  }

  .ashby-page {
    padding: 24px 24px 58px;
  }

  .ashby-back {
    top: 34px;
    left: 18px;
  }

  .ashby-header {
    margin-bottom: 44px;
  }

  .ashby-brand img {
    width: 72px;
    height: 66px;
  }

  .ashby-job {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 760px;
  }

  .ashby-sidebar h1 {
    margin-bottom: 28px;
  }

  .ashby-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }

  .ashby-meta-item span,
  .ashby-copy p,
  .ashby-copy li,
  .ashby-tabs [data-tab] {
    font-size: 0.86rem;
  }

  .ashby-meta-item strong {
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-visual {
    display: none;
  }

  .grid-2,
  .grid-3,
  .format-showcase {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }

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

  .nav-links {
    display: none;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-top {
    flex-direction: column;
    min-height: 0;
    gap: 56px;
    padding-bottom: 72px;
  }

  .footer-nav {
    min-width: 0;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .careers-hero {
    padding: 132px 0 72px;
  }

  .careers-copy h1 {
    font-size: 2.65rem;
    line-height: 1.08;
  }

  .careers-copy p {
    font-size: 1rem;
  }

  .careers-panel {
    padding: 20px;
  }

  .careers-panel-grid,
  .job-card,
  .careers-two-col {
    grid-template-columns: 1fr;
  }

  .careers-section {
    padding: 76px 0;
  }

  .careers-section-heading h2,
  .careers-two-col h2 {
    font-size: 2rem;
  }

  .job-card {
    padding: 22px;
    gap: 24px;
  }

  .job-main h3 {
    font-size: 1.35rem;
  }

  .job-side {
    align-items: flex-start;
  }

  .principle-card {
    grid-template-columns: 1fr;
  }

  .careers-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .careers-cta h2 {
    font-size: 1.7rem;
  }

  .ashby-page {
    padding: 22px 18px 52px;
  }

  .ashby-back {
    position: absolute;
    top: 28px;
    left: 12px;
  }

  .ashby-header {
    justify-content: center;
    margin-bottom: 36px;
  }

  .ashby-brand {
    gap: 12px;
  }

  .ashby-brand img {
    width: 50px;
    height: 46px;
  }

  .ashby-brand span {
    font-size: 1.35rem;
  }

  .ashby-sidebar h1 {
    font-size: 1.6rem;
    margin-bottom: 22px;
  }

  .ashby-meta {
    grid-template-columns: 1fr;
  }

  .ashby-meta-item {
    padding: 16px 0 18px;
  }

  .ashby-meta-item span,
  .ashby-copy p,
  .ashby-copy li,
  .ashby-tabs [data-tab] {
    font-size: 0.84rem;
  }

  .ashby-meta-item strong {
    font-size: 0.98rem;
  }

  .ashby-tabs {
    margin-bottom: 28px;
  }

  .ashby-tabs [data-tab] {
    min-height: 48px;
  }

  .ashby-copy h2,
  .ashby-application h2 {
    font-size: 0.98rem;
  }

  .ashby-copy h2:not(:first-child) {
    margin-top: 34px;
  }
}
