/* =====================================================
   Nikarv Analytics & Consulting — v3 Redesign
   Theme: Black / Gray / White / Orange
   Style: floating pill nav · split hero · editorial
          index lists · bento grid · logo marquee ·
          outlined stats · big-watermark footer
   Fonts: Poppins (headings) · Inter (body) ·
          Playfair Display italic (accents)
   ===================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #131316;
  --surface-2: #19191d;
  --line: #232328;
  --line-soft: #1c1c20;
  --gray-700: #4b4b52;
  --gray-500: #8b8b93;
  --gray-300: #b9b9c1;
  --gray-100: #ececf1;
  --white: #ffffff;
  --orange: #ff6b1a;
  --orange-dark: #e35a0b;
  --orange-light: #ffa25c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-300);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }
section { padding: 90px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.4px;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 35%, var(--orange) 70%, var(--orange-light) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* Kicker — small orange label with dash */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Split section head — left aligned, editorial */
.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.split-head .head-text { max-width: 660px; }
.split-head p { color: var(--gray-500); font-size: 1.02rem; margin-top: 10px; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.anim { animation: fadeUp 0.85s ease both; }
.anim-d1 { animation-delay: 0.15s; }
.anim-d2 { animation-delay: 0.3s; }
.anim-d3 { animation-delay: 0.5s; }
.anim-d4 { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-lg { padding: 17px 40px; font-size: 1.05rem; border-radius: 12px; }

.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 26, 0.38);
}

.btn-pulse { animation: pulseGlow 2.8s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(255, 107, 26, 0); }
}

.btn-outline { border-color: var(--gray-700); color: var(--white); background: transparent; }

.btn-outline:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Navbar (floating pill) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  background: rgba(15, 15, 17, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
 
  border-radius: 16px;
  padding: 0 14px 0 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.logo { display: inline-flex; align-items: center; }

.logo-img {
  height: 85px;
  width: auto;
  border-radius: 8px;
  transition: var(--transition);
}

.logo:hover .logo-img { transform: scale(1.06) rotate(-2deg); }

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-menu a {
  position: relative;
  color: var(--gray-300);
  padding: 9px 15px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Animated underline on nav links */
.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav-menu a:hover { color: var(--white); background: var(--surface-2); }

.nav-menu a.active { color: var(--orange); background: var(--surface-2); }

.nav-cta {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark)) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  margin-left: 10px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  filter: brightness(1.12);
  box-shadow: 0 8px 20px rgba(255, 107, 26, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(800px 400px at 90% -30%, rgba(255, 107, 26, 0.16), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 78px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridPan 26s linear infinite;
  pointer-events: none;
}

/* Kicker dash draws itself in on page load */
.page-banner .kicker::before {
  animation: growLine 0.8s 0.4s ease both;
}

@keyframes growLine {
  from { width: 0; }
  to { width: 34px; }
}

.page-banner h1 { animation: fadeUp 0.9s ease both; }

.page-banner .breadcrumb {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.92rem;
  animation: fadeUp 0.9s 0.2s ease both;
}

.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { color: var(--orange-light); }

/* ---------- Hero (split layout) ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 95% 10%, rgba(255, 107, 26, 0.14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 90px;
  overflow: hidden;
  position: relative;
}

/* Slowly drifting blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridPan 20s linear infinite;
  pointer-events: none;
}

@keyframes gridPan {
  to { background-position: 46px 46px, 46px 46px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .kicker { margin-bottom: 18px; }

.hero h1 { color: var(--white); text-align: left; }

.hero p.lead {
  color: var(--gray-300);
  font-size: 1.12rem;
  max-width: 520px;
  margin: 22px 0 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gray-300);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.chip.hot { border-color: rgba(255, 107, 26, 0.5); color: var(--orange); }

/* Rotating word */
.rotator { display: inline-grid; text-align: left; vertical-align: bottom; }

.rotator-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 40%, var(--orange) 80%, var(--orange-light) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordCycle 12s infinite, shimmer 5s linear infinite;
  opacity: 0;
}

.rotator-word:nth-child(1) { animation-delay: 0s, 0s; }
.rotator-word:nth-child(2) { animation-delay: 3s, 0s; }
.rotator-word:nth-child(3) { animation-delay: 6s, 0s; }
.rotator-word:nth-child(4) { animation-delay: 9s, 0s; }

@keyframes wordCycle {
  0% { opacity: 0; transform: translateY(26px); }
  4%, 23% { opacity: 1; transform: none; }
  27%, 100% { opacity: 0; transform: translateY(-26px); }
}

/* Hero visual — glow orb + floating glass cards */
.hero-visual { position: relative; min-height: 380px; }

.orb {
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 138, 61, 0.5), rgba(227, 90, 11, 0.14) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(36px);
  animation: floatY 7s ease-in-out infinite;
}

.float-card {
  position: absolute;
  background: rgba(19, 19, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
}

.float-card .fc-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.2), rgba(255, 107, 26, 0.05));
  border: 1px solid rgba(255, 107, 26, 0.4);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.95rem;
}

.float-card span { color: var(--gray-500); font-size: 0.82rem; }

.fc-1 { top: 6%; left: 0; animation-delay: 0.3s; }
.fc-2 { top: 42%; right: 0; animation-delay: 1.4s; }
.fc-3 { bottom: 4%; left: 8%; animation-delay: 2.5s; }

/* ---------- Stats strip (outlined numbers) ---------- */
.stats-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  padding: 52px 20px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28%;
  height: 44%;
  width: 1px;
  background: var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: black;
  -webkit-text-stroke: 1.5px var(--orange);
}

.stat span {
  font-family: var(--font-head);
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.stat strong {
  font-size: 2.5rem;
}

.stat .count {
  font-size: 2.5rem;
  font-weight: 700;
  color:black;
}

/* ---------- Index list (editorial numbered rows) ---------- */
.index-list { border-top: 1px solid var(--line); }

.index-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.index-row .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-700);
  transition: var(--transition);
  padding-top: 4px;
}

.index-row h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.index-row p { color: var(--gray-500); font-size: 0.96rem; max-width: 640px; }

.index-row:hover { transform: translateX(12px); }

.index-row .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color:black;
  -webkit-text-stroke: 1px var(--orange);
  transition: var(--transition);
  padding-top: 4px;
}

.index-row:hover h3 { color: var(--orange-light); }

/* ---------- Bento grid (services preview) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.bento-card:hover { border-color: rgba(255, 107, 26, 0.45); transform: translateY(-5px); box-shadow: var(--shadow); }
.bento-card:hover::after { transform: scaleX(1); }

.bento-card.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}

.bento-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.bento-card:hover .bento-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  transform: rotate(-6deg);
}

.bento-card h3 { font-size: 1.08rem; }
.bento-card p { color: var(--gray-500); font-size: 0.94rem; }

.bento-card .link {
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
}

.bento-card .link:hover { letter-spacing: 0.5px; }

.bento-card.link-card {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border: none;
  align-items: flex-start;
  justify-content: center;
}

.bento-card.link-card h3 { color: var(--white); font-size: 1.4rem; }
.bento-card.link-card .link { color: var(--white); font-size: 0.95rem; }
.bento-card.link-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(255, 107, 26, 0.4); }
.bento-card.link-card::after { display: none; }

/* ---------- Client logo marquee ---------- */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 44px 0;
  overflow: hidden;
}

.marquee-section .kicker { justify-content: center; display: flex; width: 100%; margin-bottom: 26px; }

.marquee { overflow: hidden; position: relative; }

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

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

.marquee:hover .marquee-track { animation-play-state: paused; }

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

.client-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-700);
  white-space: nowrap;
  transition: var(--transition);
  padding: 6px 0;
}

.client-logo:hover { color: var(--orange); }

/* Logo images in the marquee — uniform gray, brighten on hover.
   brightness(0) + invert() flattens any brand color to a single gray
   so mixed-color logos look consistent on the dark background. */
img.client-logo {
  height: 58px;
  width: auto;
  padding: 0;
  opacity: 0.85;
  filter: brightness(0) invert(0.65);
}

img.client-logo:hover { filter: brightness(0) invert(0.95); opacity: 1; }

/* ---------- CTA split panel ---------- */
.cta-split {
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 44px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 107, 26, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 52px;
}

.cta-split h2 { color: var(--white); margin-bottom: 12px; }

.cta-split p { color: var(--gray-300); font-size: 1.05rem; max-width: 560px; }

.cta-split .free-tag {
  display: inline-block;
  background: rgba(255, 107, 26, 0.12);
  color: var(--orange);
  border: 1px dashed rgba(255, 107, 26, 0.6);
  padding: 5px 16px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ---------- Split section (about: sticky left head) ---------- */
.split-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }

.split-section .split-sticky { position: sticky; top: 120px; }

.split-section .split-sticky p { color: var(--gray-500); margin-top: 12px; font-size: 1.02rem; }

.split-section .split-sticky .btn { margin-top: 28px; }

/* ---------- Feature rows (solutions) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.feature-list .feature-row:first-child { border-top: 1px solid var(--line); }

.feature-row .f-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: var(--transition);
}

.feature-row:hover .f-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255, 107, 26, 0.35);
}

.feature-row h3 { font-size: 1.3rem; margin-bottom: 10px; transition: var(--transition); }

.feature-row:hover h3 { color: var(--orange-light); }

.feature-row .f-text p { color: var(--gray-500); font-size: 0.97rem; max-width: 640px; }

.feature-row .f-num {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-700);
  padding-top: 6px;
}

.feature-row .link {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-row .link:hover { letter-spacing: 0.5px; }

/* ---------- Jobs (openings) ---------- */
.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  overflow: hidden;
  transition: var(--transition);
}

.job-card:hover { border-color: rgba(255, 107, 26, 0.45); box-shadow: var(--shadow); }

.job-head {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  cursor: pointer;
}

.job-head .j-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-700);
  transition: var(--transition);
}

.job-card:hover .j-num, .job-card.open .j-num { -webkit-text-stroke-color: var(--orange); }

.job-head h3 { font-size: 1.18rem; }

.job-head .tag {
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.5);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.job-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.35s ease;
}

.job-card.open .job-toggle { transform: rotate(45deg); }

.job-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.job-card.open .job-body { max-height: 1600px; }

.job-body-inner { padding: 28px 32px 36px; border-top: 1px solid var(--line); }

.job-body h4 {
  font-family: var(--font-head);
  color: var(--orange);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 24px 0 12px;
}

.job-body h4:first-child { margin-top: 0; }

.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.job-body li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.job-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.job-apply { margin-top: 26px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }

.contact-info h2 { margin-bottom: 14px; }

.contact-info > p { color: var(--gray-500); margin-bottom: 34px; font-size: 1.02rem; }

.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }

.contact-item .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--white); }
.contact-item span { color: var(--gray-500); font-size: 0.9rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 44px 40px;
}

.form-note { color: var(--gray-500); font-size: 0.86rem; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.86rem;
  margin-bottom: 7px;
  color: var(--gray-100);
}

.form-group label .req { color: var(--orange); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-2);
  color: var(--white);
  transition: var(--transition);
}

.form-group select option { background: var(--surface); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.16);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-700); }

.form-success { display: none; margin-top: 18px; color: var(--orange-light); font-weight: 600; }

/* ---------- Application form (openings) ---------- */
.apply-wrap { max-width: 820px; margin: 0 auto; }

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

.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px dashed var(--line);
  border-radius: 9px;
  background: var(--bg-2);
  color: var(--gray-500);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover,
.file-upload.dragover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 26, 0.05);
}

.file-upload svg { width: 20px; height: 20px; flex-shrink: 0; }

.file-upload .file-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload.has-file {
  border-style: solid;
  border-color: var(--orange);
  color: var(--orange);
}

.file-error { display: none; margin-top: 7px; color: #ff7a7a; font-size: 0.82rem; }

/* ---------- SVG icons ---------- */
.topbar-item svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 7px;
}

.float-card .fc-ico svg { width: 22px; height: 22px; }
.bento-icon svg { width: 24px; height: 24px; }
.feature-row .f-icon svg { width: 30px; height: 30px; }
.contact-item .ico svg { width: 22px; height: 22px; }
.back-to-top svg { width: 18px; height: 18px; margin: 0 auto; }

.link svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

a.link:hover svg { transform: translateX(4px); }

/* ---------- Footer (new design) ---------- */
footer {
  background: #070708;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
}

.footer-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  padding: 56px 0 46px;
}

.footer-grid h4 {
  font-family: var(--font-head);
  color: var(--white);
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-grid p { font-size: 0.92rem; color: var(--gray-500); }

.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul a { color: var(--gray-500); font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--orange); }

.footer-logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer-logo .logo-img { height: 42px; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
}

.social-link:hover {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(255, 107, 26, 0.35);
}

.footer-news p { margin-bottom: 14px; }

.footer-work-form { display: flex; gap: 8px; }

.footer-work-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.footer-work-form input:focus { outline: none; border-color: var(--orange); }

.footer-work-form button {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-work-form button:hover { filter: brightness(1.15); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer-bottom a:hover { color: var(--orange); }

.footer-watermark {
  font-family: var(--font-head);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.78;
  text-align: center;
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
  transform: translateY(12%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 320px; max-width: 520px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.wide { grid-column: span 2; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section .split-sticky { position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 68px 1fr; }
  .feature-row .f-num { display: none; }
}

/* =====================================================
   Header extras & page animations (v3.1)
   ===================================================== */

/* ---------- Utility top bar ---------- */
.topbar {
  background: #070708;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.76rem;
}

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

.topbar-item {
  color: var(--gray-500);
  letter-spacing: 0.6px;
  font-family: var(--font-head);
  font-weight: 500;
}

a.topbar-item:hover { color: var(--orange); }

/* ---------- Logo wordmark ---------- */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-left: 12px;
}

.logo-text strong {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  font-size: 1.02rem;
  letter-spacing: 2.5px;
}

.logo-text small {
  color: var(--gray-500);
  font-size: 0.56rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* ---------- Navbar shrink on scroll ---------- */
.nav-inner, .logo-img { transition: height 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, transform 0.3s ease; }

.navbar.shrunk .nav-inner {
  height: 56px;
  background: rgba(12, 12, 14, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
}

.navbar.shrunk .logo-img { height: 46px; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.35s ease;
  z-index: 1500;
  box-shadow: 0 12px 28px rgba(255, 107, 26, 0.4);
}

.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

.back-to-top:hover { transform: translateY(-5px); filter: brightness(1.1); }

/* ---------- Button shine sweep ---------- */
.btn-primary { position: relative; overflow: hidden; }

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::before { left: 135%; }

/* ---------- Hero chips pop in ---------- */
.hero-chips .chip { animation: chipPop 0.55s ease both; }
.hero-chips .chip:nth-child(1) { animation-delay: 0.65s; }
.hero-chips .chip:nth-child(2) { animation-delay: 0.78s; }
.hero-chips .chip:nth-child(3) { animation-delay: 0.91s; }
.hero-chips .chip:nth-child(4) { animation-delay: 1.04s; }

@keyframes chipPop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Staggered list reveals ---------- */
.index-list .index-row:nth-child(2) { transition-delay: 0.08s; }
.index-list .index-row:nth-child(3) { transition-delay: 0.16s; }
.index-list .index-row:nth-child(4) { transition-delay: 0.24s; }
.index-list .index-row:nth-child(5) { transition-delay: 0.32s; }
.index-list .index-row:nth-child(6) { transition-delay: 0.4s; }

.feature-list .feature-row:nth-child(2) { transition-delay: 0.08s; }
.feature-list .feature-row:nth-child(3) { transition-delay: 0.16s; }
.feature-list .feature-row:nth-child(4) { transition-delay: 0.24s; }
.feature-list .feature-row:nth-child(5) { transition-delay: 0.32s; }
.feature-list .feature-row:nth-child(6) { transition-delay: 0.4s; }

.bento .bento-card:nth-child(2) { transition-delay: 0.1s; }
.bento .bento-card:nth-child(3) { transition-delay: 0.2s; }
.bento .bento-card:nth-child(4) { transition-delay: 0.3s; }

.stats-strip .stat:nth-child(2) { transition-delay: 0.12s; }
.stats-strip .stat:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Footer watermark reveal ---------- */
.footer-watermark.reveal { transform: translateY(40%); }
.footer-watermark.reveal.visible { transform: translateY(12%); }

@media (max-width: 720px) {
  .divider-hide { display: none; }
  .logo-text small { display: none; }
  .back-to-top { right: 18px; bottom: 18px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .navbar { padding: 10px 0; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 96px;
    left: 4%;
    right: 4%;
    background: #0d0d0f;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 2px;
    transform: translateY(-160%);
    transition: transform 0.35s ease;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 13px 12px; }
  .nav-cta { margin: 10px 0 2px; text-align: center; }

  .split-head { flex-direction: column; align-items: flex-start; margin-bottom: 38px; }

  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }

  .index-row { grid-template-columns: 64px 1fr; gap: 16px; }
  .index-row .num { font-size: 1.8rem; }

  .stats-strip .container, .form-row, .job-cols { grid-template-columns: 1fr; }
  .stat { padding: 36px 16px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--line); }

  .cta-split { grid-template-columns: 1fr; padding: 42px 30px; gap: 28px; }

  .footer-cta { flex-direction: column; align-items: flex-start; padding: 48px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 36px; }

  .job-head { grid-template-columns: 1fr auto; }
  .job-head .j-num { display: none; }
  .job-head .tag { display: none; }

  .rotator-word { white-space: normal; }
  .footer-work-form { flex-direction: column; }
}

/* ---------- Form success popup ---------- */
.form-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.form-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.form-popup {
  position: relative;
  width: min(420px, 100%);
  text-align: center;
  padding: 42px 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.95);
  transition: transform 0.25s ease;
}
.form-popup-overlay.show .form-popup { transform: translateY(0) scale(1); }

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}
.popup-close:hover {
  background: var(--surface-2);
  color: var(--white);
  transform: rotate(90deg);
}
.popup-close svg { width: 18px; height: 18px; }

.popup-ico {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(255, 107, 26, 0.12);
  animation: popupPop 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.popup-ico svg { width: 32px; height: 32px; }
.popup-ico .ico-warn { display: none; }
.form-popup.warn .ico-success { display: none; }
.form-popup.warn .ico-warn { display: block; }

@keyframes popupPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.form-popup h3 { font-size: 22px; margin-bottom: 8px; }
.form-popup p { color: var(--gray-500); font-size: 15px; }

body.popup-open { overflow: hidden; }

@media (max-width: 720px) {
  .form-popup { padding: 34px 22px 24px; }
}
