/* ============================================================
   KRA DIGITAL — Design System
   Palette: black #0B0B0C · yellow #FFC400 · white #F5F5F3
   Easing signature: cubic-bezier(0.19, 1, 0.22, 1)
   ============================================================ */

:root {
  --bg: #0b0b0c;
  --bg-alt: #101012;
  --surface: #16161a;
  --surface-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f3;
  --muted: #a3a3ab;
  --faint: #6a6a72;
  --accent: #ffc400;
  --accent-2: #ffd75e;
  --accent-soft: rgba(255, 196, 0, 0.12);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --radius: 18px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #000; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #0b0b0c;
  box-shadow: 0 8px 30px rgba(255, 196, 0, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 196, 0, 0.35); }
.btn--ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--outline { color: var(--text); border-color: rgba(255,255,255,0.25); padding: 10px 22px; font-size: 14px; }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.btn--sm { padding: 10px 20px; font-size: 13.5px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.arrow-link svg { transition: transform 0.3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Header / Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 11px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--text); }
.logo__mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.5px;
  color: var(--accent);
  line-height: 1;
}
.logo__mark .logo__a { color: #fff; }
.logo__word { font-family: var(--font-head); font-weight: 500; font-size: 11.5px; letter-spacing: 6px; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn),
.nav__toplink {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 13px;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s var(--ease);
}
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active,
.nav__item:hover .nav__toplink,
.nav__item.is-open .nav__toplink { color: var(--accent); }
.nav__toplink svg { transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__toplink svg, .nav__item.is-open .nav__toplink svg { transform: rotate(180deg); }
.nav__cta { margin-left: 10px; }

/* Mega dropdown */
.nav__item { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 540px;
  background: #121215;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.drop--sm { min-width: 280px; grid-template-columns: 1fr; }
.drop::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__item:hover .drop, .nav__item.is-open .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}
.drop a:hover { background: rgba(255, 255, 255, 0.04); }
.drop__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  transition: 0.4s var(--ease);
}
.drop a:hover .drop__title {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.drop__desc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.drop__all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent) !important;
}

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Heroes ---------- */
.hero { position: relative; padding: 190px 0 110px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    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: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero__title {
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__sub { max-width: 580px; margin-top: 28px; font-size: 18px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* Inner page hero */
.page-hero { position: relative; padding: 175px 0 70px; overflow: hidden; }
.page-hero .hero__glow { top: -300px; right: -260px; }
.page-hero__title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -1px; max-width: 900px; }
.page-hero__sub { max-width: 640px; margin-top: 20px; font-size: 18px; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin-bottom: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--accent); }

/* ---------- Stats ---------- */
.stats-row { display: flex; flex-wrap: wrap; gap: 64px; margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line); }
.stat__num, .stat__plus { font-family: var(--font-head); font-size: clamp(38px, 5vw, 56px); font-weight: 800; color: var(--text); }
.stat__plus { color: var(--accent); }
.stat__label { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--accent); overflow: hidden; padding: 15px 0; transform: rotate(-1deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 2px; color: #0b0b0c; white-space: nowrap; }
.marquee__track i { font-style: normal; color: rgba(0, 0, 0, 0.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 80px 0; }
.section__head { max-width: 760px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__kicker {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.section__head--center .section__kicker::before { display: none; }
.section__title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.5px; }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* Numbered editorial section (home) */
.num-section { border-top: 1px solid var(--line); padding: 96px 0; }
.num-section__head { display: flex; align-items: baseline; gap: 26px; margin-bottom: 54px; }
.num-index {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 196, 0, 0.55);
  flex-shrink: 0;
}
.num-section__label { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

/* ---------- Capability rows (home) ---------- */
.cap-rows { border-top: 1px solid var(--line); }
.cap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.cap-row:hover { background: rgba(255, 196, 0, 0.03); padding-left: 26px; }
.cap-row__title { font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--text); transition: color 0.35s var(--ease); }
.cap-row:hover .cap-row__title { color: var(--accent); }
.cap-row__desc { color: var(--muted); font-size: 15px; max-width: 380px; }
.cap-row__arrow { flex-shrink: 0; color: var(--faint); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.cap-row:hover .cap-row__arrow { transform: translateX(8px); color: var(--accent); }

/* ---------- Cards (generic / services) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); background: var(--surface-2); }
.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover::after { opacity: 1; }
.card__icon { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card h3 a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
.card:hover h3 a, .card:hover > h3 { color: var(--accent); }
.card p { color: var(--muted); font-size: 14.5px; }
.card__num { position: absolute; top: 24px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: rgba(255, 255, 255, 0.14); }
.card ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.card ul li { color: var(--muted); font-size: 14px; padding-left: 20px; position: relative; }
.card ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
a.card { display: block; text-decoration: none; color: inherit; }

/* ---------- Service block (services hub) ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.svc-block:nth-child(even) .svc-block__art { order: -1; }
.svc-block h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; }
.svc-block > div > p { color: var(--muted); font-size: 16px; }
.svc-block ul { list-style: none; margin: 22px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc-block ul li { color: var(--text); font-size: 14.5px; padding-left: 22px; position: relative; }
.svc-block ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.svc-block__art { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform 0.6s var(--ease), border-color 0.6s var(--ease); }
.svc-block:hover .svc-block__art { transform: translateY(-6px) scale(1.01); border-color: rgba(255, 196, 0, 0.35); }
.svc-block__art img, .svc-block__art svg { display: block; width: 100%; height: auto; }

/* ---------- Work cards & mockups ---------- */
.work {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.work:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); }
.work__media { position: relative; padding: 40px 40px 0; height: 260px; overflow: hidden; display: flex; justify-content: center; }
.work__media--a { background: linear-gradient(135deg, #1d1d22, #26261f); }
.work__media--b { background: linear-gradient(135deg, #232014, #1d1d22); }
.work__media--c { background: linear-gradient(135deg, #1d1d22, #221e14); }
.work__media--d { background: linear-gradient(135deg, #201f16, #1c1c21); }
.work__media--tall { height: 340px; }
.work__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0b0b0c;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
}
.work__mock { width: 100%; max-width: 420px; background: #0e0e10; border: 1px solid rgba(255,255,255,0.1); border-bottom: 0; border-radius: 12px 12px 0 0; transform: translateY(12px); transition: transform 0.5s var(--ease); }
.work:hover .work__mock { transform: translateY(4px); }
.mock__bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock__bar i:first-child { background: var(--accent); }
.mock__body { display: flex; gap: 14px; padding: 16px; }
.mock__side { width: 64px; border-radius: 8px; background: rgba(255,255,255,0.05); min-height: 150px; }
.mock__main { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mock__row { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.09); }
.mock__row.w60 { width: 60%; } .mock__row.w70 { width: 70%; } .mock__row.w80 { width: 80%; } .mock__row.w90 { width: 90%; }
.mock__hero { height: 56px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,196,0,0.35), rgba(255,196,0,0.08)); }
.mock__cards { display: flex; gap: 10px; }
.mock__cards b { flex: 1; height: 46px; border-radius: 8px; background: rgba(255,196,0,0.14); }
.mock__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 6px 2px 0; }
.mock__chart u { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(255,196,0,0.25)); }
.work__mock--phone { max-width: 170px; background: transparent; border: 0; display: flex; justify-content: center; }
.phone { width: 170px; background: #0e0e10; border: 1px solid rgba(255,255,255,0.12); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.phone__notch { width: 56px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); margin: 0 auto 4px; }
.phone__map { position: relative; height: 96px; border-radius: 10px; background: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 18px 18px; background-color: rgba(255,255,255,0.03); overflow: hidden; }
.phone__map s { position: absolute; top: 18px; left: 14px; width: 90px; height: 54px; border: 0; border-left: 2.5px dashed var(--accent); border-bottom: 2.5px dashed var(--accent); border-radius: 0 0 0 18px; }
.phone__cta { height: 26px; border-radius: 8px; background: var(--accent); }
.work__info { padding: 26px 28px 30px; }
.work__info h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.work__info p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.work__tags { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: var(--accent); }

/* ---------- Feature blocks (home projects) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature__tag { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.feature h3 a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
.feature h3 a:hover { color: var(--accent); }
.feature > div > p { color: var(--muted); font-size: 16px; }
.feature__metrics { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 28px; }
.metric__num { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--accent); line-height: 1.1; }
.metric__label { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; max-width: 200px; }
.feature__media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; justify-content: center; padding: 40px 36px 0; min-height: 300px; align-items: flex-end; transition: border-color 0.5s var(--ease); }
.feature:hover .feature__media { border-color: rgba(255, 196, 0, 0.35); }
.feature:nth-child(even) .feature__media { order: -1; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.quote-card:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); }
.quote-card__mark { font-family: var(--font-head); font-size: 54px; font-weight: 800; color: var(--accent); line-height: 0.6; display: block; margin-bottom: 20px; }
.quote-card p { color: var(--text); font-size: 15.5px; }
.quote-card footer { margin-top: 22px; }
.quote-card cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.quote-card span { color: var(--muted); font-size: 13px; }

/* ---------- Value blocks / steps / pillars ---------- */
.value-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.value-block:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); }
.value-block h3 { font-size: 18px; margin-bottom: 10px; }
.value-block h3 .tick { margin-right: 8px; }
.value-block p { color: var(--muted); font-size: 14.5px; }
.tick { color: var(--accent); font-weight: 700; }

.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.step:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); }
.step__num { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 196, 0, 0.6); display: block; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.3s var(--ease); }
.faq details[open] { border-color: rgba(255, 196, 0, 0.4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16.5px;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); flex-shrink: 0; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 24px; color: var(--muted); font-size: 15px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Industries accordion ---------- */
.ind-acc { display: grid; gap: 16px; }
.ind-acc details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color 0.3s var(--ease); }
.ind-acc details[open] { border-color: rgba(255, 196, 0, 0.4); }
.ind-acc summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 20px; padding: 26px 30px; }
.ind-acc summary::-webkit-details-marker { display: none; }
.ind-acc__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ind-acc__icon svg { width: 27px; height: 27px; }
.ind-acc__titles { flex: 1; }
.ind-acc__titles h3 { font-size: 20px; font-weight: 700; transition: color 0.25s var(--ease); }
.ind-acc summary:hover h3 { color: var(--accent); }
.ind-acc__titles p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ind-acc summary::after { content: "+"; font-size: 26px; color: var(--accent); transition: transform 0.35s var(--ease); }
.ind-acc details[open] summary::after { transform: rotate(45deg); }
.ind-acc__body { padding: 0 30px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.ind-acc__body > p { color: var(--muted); font-size: 15px; }
.ind-acc__list { list-style: none; display: grid; gap: 8px; }
.ind-acc__list li { counter-increment: ind; font-size: 14.5px; padding-left: 34px; position: relative; color: var(--text); }
.ind-acc__list li::before { content: counter(ind, decimal-leading-zero); position: absolute; left: 0; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--accent); top: 3px; }
.ind-acc__list a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
.ind-acc__list a:hover { color: var(--accent); }

.pillar { text-align: left; }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 17px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 14px; }

/* ---------- Tech stack chips ---------- */
.stack-group { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: baseline; }
.stack-group h3 { font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Prose (articles / case studies) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 48px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 36px; }
.prose p { color: #cfcfd6; font-size: 16.5px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; color: #cfcfd6; font-size: 16px; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-top: 32px;
}
.prose blockquote cite { display: block; font-size: 13.5px; color: var(--muted); font-style: normal; margin-top: 12px; font-family: var(--font-body); }
.prose .callouts { display: flex; flex-wrap: wrap; gap: 40px; padding: 30px 0; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--faint); font-size: 13.5px; margin-top: 22px; }
.type-badge { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #0b0b0c; background: var(--accent); border-radius: 999px; padding: 5px 13px; }
.type-badge--ghost { background: transparent; color: var(--accent); border: 1px solid rgba(255, 196, 0, 0.5); }

/* ---------- Article cards (insights) ---------- */
.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.article-card:hover { transform: translateY(-6px); border-color: rgba(255, 196, 0, 0.45); }
.article-card__media { height: 200px; overflow: hidden; position: relative; }
.article-card__media img, .article-card__media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.article-card:hover .article-card__media img, .article-card:hover .article-card__media svg { transform: scale(1.05); }
.article-card__media .type-badge { position: absolute; top: 14px; left: 14px; }
.article-card__body { padding: 24px 26px 28px; }
.article-card__body h3 { font-size: 18.5px; font-weight: 700; transition: color 0.3s var(--ease); }
.article-card:hover h3 { color: var(--accent); }
.article-card__body p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- Careers ---------- */
.role-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.role-card:hover { transform: translateY(-4px); border-color: rgba(255, 196, 0, 0.45); }
.role-card h3 { font-size: 19px; }
.role-card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.role-card__meta { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
  width: 100%;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffc400' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: #5c5c64; }
.form__submit { justify-self: start; }
.form__status { font-size: 14px; color: var(--accent); min-height: 1em; }
.c-item { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; text-decoration: none; color: var(--text); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
a.c-item:hover { border-color: rgba(255, 196, 0, 0.5); transform: translateY(-3px); }
.c-item__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.c-item__icon svg { width: 24px; height: 24px; }
.c-item b { font-family: var(--font-head); font-size: 15px; color: var(--text); }
.c-item span:last-child { font-size: 14.5px; color: var(--muted); }
.contact-note { border: 1px dashed rgba(255, 196, 0, 0.35); border-radius: 16px; padding: 22px 24px; background: rgba(255, 196, 0, 0.04); }
.contact-note p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 110px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; bottom: -260px; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(ellipse, rgba(255, 196, 0, 0.12), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.5px; }
.cta-band p { color: var(--muted); font-size: 17px; margin: 16px auto 34px; max-width: 520px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 70px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer__tagline { font-family: var(--font-head); font-size: 11px; letter-spacing: 5px; color: var(--accent); margin-top: 14px; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13.5px; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; position: relative; overflow: hidden; }
.nf__code { font-family: var(--font-head); font-size: clamp(110px, 22vw, 240px); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -4px; }
.nf h1 { font-size: clamp(22px, 3vw, 32px); margin-top: 8px; }
.nf p { color: var(--muted); margin-top: 12px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 28px; }
.nf__links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.25s var(--ease); }
.nf__links a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-block, .feature { grid-template-columns: 1fr; gap: 36px; }
  .svc-block:nth-child(even) .svc-block__art, .feature:nth-child(even) .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ind-acc__body { grid-template-columns: 1fr; }
  .stack-group { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 720px) {
  .section { padding: 78px 0; }
  .hero { padding: 150px 0 80px; }
  .page-hero { padding: 145px 0 56px; }
  .stats-row { gap: 34px; margin-top: 52px; }
  .grid-2, .grid-3, .grid-4, .form__row { grid-template-columns: 1fr; }
  .num-section { padding: 70px 0; }
  .cap-row { flex-wrap: wrap; }
  .cap-row__desc { display: none; }
  .role-card { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }

  /* Mobile nav drawer */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(82vw, 340px);
    background: #101013;
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 90px 30px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links > a:not(.btn), .nav__toplink { font-size: 18px; padding: 12px 4px; width: 100%; justify-content: space-between; }
  .nav__item { width: 100%; }
  .drop {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: hidden;
    display: none;
    grid-template-columns: 1fr;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 10px 12px;
  }
  .nav__item.is-open .drop { display: grid; visibility: visible; transform: none; }
  .nav__cta { margin: 18px 0 0; text-align: center; justify-content: center; }
  .nav__burger { display: flex; z-index: 100; }
}
