/* ============================================================
   ZENORA CAREERS — Premium brand site
   White / navy design system · Sora + Inter · no italics
   ============================================================ */

:root {
  --navy: #062B5F;
  --navy-deep: #021B3A;
  --royal: #0B5ED7;
  --sky: #EAF3FF;
  --white: #FFFFFF;
  --gray-soft: #F7F9FC;
  --ink: #0A2540;
  --muted: #4A5E7A;
  --muted-light: #9FB4D8;
  --line: rgba(6, 43, 95, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.44, 1);
  --dur: 0.7s;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(6, 43, 95, 0.06);
  --shadow-md: 0 14px 40px rgba(6, 43, 95, 0.10);
  --shadow-lg: 0 30px 80px rgba(2, 27, 58, 0.18);

  --container: 1180px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* no italics anywhere */
i, em, cite, dfn { font-style: normal; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--royal); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px;
  z-index: 1200; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--royal), var(--navy));
  transform: scaleX(0); transform-origin: left;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              backdrop-filter 0.35s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  letter-spacing: 0.14em;
}
.brand-sub {
  font-family: var(--font-head); font-weight: 600; font-size: 9.5px;
  letter-spacing: 0.42em; color: var(--royal); margin-top: 4px;
}
.brand.light { color: var(--white); }
.brand.light .brand-sub { color: var(--muted-light); }
/* logo artwork has fixed navy fills — render it white on dark sections */
.brand.light .brand-mark { filter: grayscale(1) invert(1) brightness(1.75); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav-link {
  position: relative; font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 6px 2px; transition: color 0.25s var(--ease-out);
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--royal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 15px 30px; border-radius: 999px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out),
              background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 8px 24px rgba(6, 43, 95, 0.28);
}
.btn-primary:hover {
  background: var(--royal); transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(11, 94, 215, 0.35);
}
.btn-outline {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.btn-outline:hover {
  background: var(--navy); color: var(--white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 0 0 1.5px var(--navy), 0 12px 30px rgba(6, 43, 95, 0.25);
}
.btn-light {
  background: var(--white); color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-light:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.btn-nav { padding: 11px 22px; font-size: 14px; }

/* ---------- Hamburger ---------- */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
  border-radius: 10px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 12px 24px 28px; }
.mobile-link {
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy);
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.mobile-link:last-of-type { border-bottom: 0; }
.mobile-cta { margin-top: 14px; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
  background: var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
}
.hero-orb-1 {
  width: 560px; height: 560px; top: -180px; right: -140px;
  background: radial-gradient(circle at 35% 35%, var(--sky), rgba(234, 243, 255, 0));
}
.hero-orb-2 {
  width: 480px; height: 480px; bottom: -200px; left: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(11, 94, 215, 0.14), rgba(11, 94, 215, 0));
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(6, 43, 95, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 43, 95, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--royal);
  background: var(--sky); border: 1px solid rgba(11, 94, 215, 0.18);
  padding: 9px 20px; border-radius: 999px; margin-bottom: 34px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--royal);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 94, 215, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(11, 94, 215, 0); }
}

.hero-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.06; letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 15ch; margin-inline: auto;
}
.hero-title .word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
.hero-title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes word-rise { to { transform: translateY(0); } }
.hero-title .word-accent > span {
  background: linear-gradient(100deg, var(--royal), #3B82F6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub {
  max-width: 620px; margin-top: 30px;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: var(--muted);
}

/* Floating tags */
.hero-tags { position: absolute; inset: 0; pointer-events: none; }
.hero-tag {
  position: absolute;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 10px 18px; border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  animation: tag-in 0.8s var(--ease-out) forwards, floaty 5.5s ease-in-out infinite;
  animation-delay: calc(1.1s + var(--d)), calc(1.9s + var(--d));
}
.hero-tag:nth-of-type(1) { top: 12%;  left: 6%; }
.hero-tag:nth-of-type(2) { top: 24%;  right: 7%; }
.hero-tag:nth-of-type(3) { top: 55%;  left: 3%; }
.hero-tag:nth-of-type(4) { top: 66%;  right: 5%; }
.hero-tag:nth-of-type(5) { bottom: 6%; left: 16%; }
.hero-tag:nth-of-type(6) { bottom: 10%; right: 15%; }
@keyframes tag-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600;
  opacity: 0; animation: fade-in 1s var(--ease-out) 2.2s forwards;
  transition: color 0.25s;
}
.scroll-cue:hover { color: var(--royal); }
.scroll-cue-line {
  width: 1.5px; height: 44px; background: var(--line); overflow: hidden; border-radius: 2px;
  position: relative;
}
.scroll-cue-line span {
  position: absolute; top: 0; left: 0; width: 100%; height: 45%;
  background: var(--royal);
  animation: cue-drop 1.8s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(240%); }
}
@keyframes fade-in { to { opacity: 1; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--navy-deep); color: var(--white);
  padding: 18px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.marquee-track i { color: var(--royal); font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SHARED SECTION PIECES
   ============================================================ */
.section { padding: clamp(84px, 10vw, 140px) 0; position: relative; }

.section-label {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--royal);
  margin-bottom: 18px;
}
.section-label.light { color: #7FB2FF; }

.section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12; letter-spacing: -0.025em; color: var(--navy);
  max-width: 21ch;
}
.section-title .accent { color: var(--royal); }
.section-sub {
  margin-top: 20px; font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted); max-width: 58ch;
}
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .section-title { margin-inline: 0; }

.section-dark { background: var(--navy-deep); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: var(--muted-light); }

.section-cta {
  margin-top: 64px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.section-cta p { color: var(--muted); font-size: 17px; }

/* ============================================================
   REVEAL SYSTEM (JS adds .is-visible)
   ============================================================ */
.js .reveal-up, .js .stagger-group > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal-up.is-visible, .stagger-group > *.is-visible {
  opacity: 1; transform: none;
}

/* ============================================================
   BRAND INTRO
   ============================================================ */
.intro { background: var(--white); }
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.intro-left { position: sticky; top: calc(var(--header-h) + 32px); }
.intro-lead {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: var(--ink);
  margin-bottom: 44px;
}
.intro-points { display: flex; flex-direction: column; gap: 8px; }
.intro-point {
  display: flex; gap: 22px; padding: 26px 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s, transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.intro-point:hover {
  background: var(--gray-soft); border-color: var(--line);
  transform: translateX(6px);
}
.point-num {
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  color: var(--royal); padding-top: 3px;
}
.intro-point h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy);
  margin-bottom: 6px;
}
.intro-point p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services { background: var(--gray-soft); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s var(--ease-out),
              border-color 0.3s, opacity var(--dur) var(--ease-out);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), #6FA8FF);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 94, 215, 0.25);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--sky); color: var(--royal);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring), background 0.3s, color 0.3s;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--navy); color: var(--white); transform: scale(1.08) rotate(-4deg);
}
.service-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 18.5px;
  color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em;
}
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ============================================================
   SPLIT LAYOUTS (marketing / webdev)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 90px); align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }

.check-list { display: grid; grid-template-columns: 1fr; gap: 13px; margin: 34px 0 38px; }
.check-list li {
  display: flex; align-items: center; gap: 14px;
  font-weight: 500; font-size: 16px; color: var(--ink);
}
.check-list li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 12.5 3.5 3.5L17.5 9' stroke='%230B5ED7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Marketing dashboard mock */
.split-visual { position: relative; }
.marketing-mock, .browser-mock { position: relative; }
[data-tilt] { transition: transform 0.5s var(--ease-out); transform-style: preserve-3d; }

.mock-card-main {
  background: var(--white); border-radius: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 30px;
}
.mock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.mock-avatar {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.mock-head strong { font-family: var(--font-head); font-size: 15px; color: var(--navy); display: block; }
.mock-head small { color: var(--muted); font-size: 12.5px; }
.mock-badge {
  margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  color: #0B7A3E; background: #E7F7EE; padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase;
}
.mock-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-bottom: 26px;
  padding: 0 6px;
}
.mock-bars span {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--royal), rgba(11, 94, 215, 0.35));
  height: var(--h); min-height: 8px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.9s var(--ease-out);
}
.mock-bars span:nth-child(odd) { background: linear-gradient(180deg, var(--navy), rgba(6, 43, 95, 0.4)); }
.is-visible .mock-bars span { transform: scaleY(1); }
.mock-bars span:nth-child(1) { transition-delay: 0.10s; }
.mock-bars span:nth-child(2) { transition-delay: 0.18s; }
.mock-bars span:nth-child(3) { transition-delay: 0.26s; }
.mock-bars span:nth-child(4) { transition-delay: 0.34s; }
.mock-bars span:nth-child(5) { transition-delay: 0.42s; }
.mock-bars span:nth-child(6) { transition-delay: 0.50s; }
.mock-bars span:nth-child(7) { transition-delay: 0.58s; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mock-stats > div {
  background: var(--gray-soft); border-radius: 14px; padding: 14px 12px; text-align: center;
}
.mock-stats strong {
  font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy);
  display: block; font-variant-numeric: tabular-nums;
}
.mock-stats small { color: var(--muted); font-size: 12px; }

.mock-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--navy);
  padding: 11px 18px; white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.mock-chip-1 { top: -22px; right: -8px; animation-delay: 0.6s; }
.mock-chip-2 { bottom: -20px; left: -14px; }
.mock-chip-3 { bottom: -20px; right: -10px; }

/* ============================================================
   CAREER SERVICES (dark)
   ============================================================ */
.careers-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 6vw, 90px); align-items: center;
}
.cv-mock { perspective: 900px; }
.cv-paper {
  position: relative;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  padding: 34px 30px;
  max-width: 400px; margin-inline: auto;
  transform: rotate(-2deg);
}
.cv-topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cv-photo {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--sky), #CFE3FF);
}
.cv-topbar > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cv-line {
  display: block; height: 10px; border-radius: 6px;
  background: #E4ECF7; margin-bottom: 10px;
}
.cv-line.thin { height: 7px; }
.cv-line.head { background: var(--sky); height: 12px; }
.w-30 { width: 30%; } .w-40 { width: 40%; } .w-60 { width: 60%; }
.w-75 { width: 75%; } .w-85 { width: 85%; } .w-90 { width: 90%; }
.w-95 { width: 95%; } .w-100 { width: 100%; }
.cv-section-gap { height: 14px; }
.cv-tags { display: flex; gap: 8px; margin-top: 4px; }
.cv-tags i {
  width: 56px; height: 20px; border-radius: 999px; background: var(--sky);
}
.cv-stamp {
  position: absolute; top: 18px; right: -14px;
  background: #0B7A3E; color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; padding: 8px 16px; border-radius: 8px;
  transform: rotate(6deg);
  box-shadow: 0 10px 24px rgba(11, 122, 62, 0.4);
}

.careers-list { display: flex; flex-direction: column; gap: 6px; }
.career-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 20px; border-radius: 16px;
  transition: background 0.3s var(--ease-out), transform 0.35s var(--ease-spring),
              opacity var(--dur) var(--ease-out);
}
.career-item:hover { background: rgba(255, 255, 255, 0.06); transform: translateX(6px); }
.career-icon {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(11, 94, 215, 0.22); color: #8FBCFF;
}
.career-icon svg { width: 23px; height: 23px; }
.career-item h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--white);
  margin-bottom: 4px;
}
.career-item p { color: var(--muted-light); font-size: 14.5px; }
.careers-list .btn { margin-top: 22px; align-self: flex-start; }

/* ============================================================
   WEB DEV — browser mock
   ============================================================ */
.webdev { background: var(--white); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 38px; }
.pill {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--navy); background: var(--sky);
  border: 1px solid rgba(11, 94, 215, 0.15);
  padding: 9px 18px; border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-spring),
              opacity var(--dur) var(--ease-out);
}
.pill:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.browser-mock {
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  background: var(--gray-soft); border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0; padding: 13px 18px;
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #D6E0EE; }
.browser-url {
  margin-left: 12px; flex: 1; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; color: var(--muted); padding: 4px 12px;
  font-family: var(--font-head); font-weight: 500;
}
.browser-body { padding: 26px 28px 30px; }
.bm-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.bm-logo { width: 64px; height: 12px; border-radius: 6px; background: var(--navy); }
.bm-links { display: flex; gap: 10px; }
.bm-links i { width: 34px; height: 8px; border-radius: 4px; background: #E4ECF7; }
.bm-hero { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; }
.bm-h1 {
  width: 78%; height: 16px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(90deg, var(--navy), var(--royal));
}
.bm-h1.short { width: 52%; }
.bm-p { width: 64%; height: 8px; border-radius: 4px; background: #E4ECF7; margin: 8px 0 18px; }
.bm-btn { width: 110px; height: 30px; border-radius: 999px; background: var(--royal); }
.bm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-cards i { height: 64px; border-radius: 12px; background: var(--gray-soft); border: 1px solid var(--line); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--gray-soft); overflow: hidden; }
.process-track {
  position: relative; height: 2px; background: rgba(6, 43, 95, 0.12);
  margin: 0 auto 0; max-width: var(--container);
  border-radius: 2px;
}
.process-track span {
  position: absolute; inset: 0; background: var(--royal); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s linear;
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  counter-reset: step; margin-top: 44px;
}
.process-step {
  position: relative; padding-top: 8px;
}
.process-step::before {
  content: ""; position: absolute; top: -53px; left: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--royal);
  box-shadow: 0 0 0 5px var(--gray-soft);
}
.step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(38px, 4vw, 52px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 94, 215, 0.45);
  display: block; margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy);
  margin-bottom: 10px;
}
.process-step p { color: var(--muted); font-size: 15px; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.35s var(--ease-out),
              opacity var(--dur) var(--ease-out);
}
.work-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.work-media {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden;
}
.work-a .work-media { background: linear-gradient(150deg, #062B5F 0%, #0B5ED7 100%); }
.work-b .work-media { background: linear-gradient(150deg, #021B3A 0%, #0A4AA8 100%); }
.work-c .work-media { background: linear-gradient(150deg, #EAF3FF 0%, #BBD7FF 100%); }
.work-d .work-media { background: linear-gradient(150deg, #0B5ED7 0%, #6FA8FF 100%); }
.work-shape {
  position: absolute; border-radius: 50%;
  transition: transform 0.7s var(--ease-out);
}
.ws-1 { width: 150px; height: 150px; background: rgba(255,255,255,0.12); top: -40px; right: -40px; }
.ws-2 { width: 90px; height: 90px; background: rgba(255,255,255,0.10); bottom: 20px; left: -24px; border-radius: 24px; transform: rotate(18deg); }
.ws-3 { width: 130px; height: 130px; background: rgba(255,255,255,0.10); bottom: -34px; right: -22px; border-radius: 30px; transform: rotate(-14deg); }
.ws-4 { width: 74px; height: 74px; background: rgba(255,255,255,0.14); top: 26px; left: 22px; }
.ws-5 { width: 140px; height: 170px; background: rgba(255,255,255,0.75); border-radius: 12px; top: 26px; left: 50%; translate: -50% 0; box-shadow: 0 16px 40px rgba(6,43,95,0.18); }
.ws-6 { width: 90px; height: 10px; background: rgba(6,43,95,0.25); border-radius: 6px; top: 52px; left: 50%; translate: -50% 0; }
.ws-7 { width: 160px; height: 110px; background: rgba(255,255,255,0.16); border-radius: 14px; top: 30px; left: 50%; translate: -50% 0; }
.ws-8 { width: 120px; height: 12px; background: rgba(255,255,255,0.3); border-radius: 6px; top: 46px; left: 50%; translate: -50% 0; }
.work-card:hover .work-shape { transform: scale(1.15) rotate(4deg); }
.work-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.work-meta h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--navy);
}
.work-meta span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--royal); background: var(--sky); padding: 5px 12px; border-radius: 999px;
}

/* ============================================================
   WHY ZENORA
   ============================================================ */
.why { background: var(--sky); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(11, 94, 215, 0.12);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s var(--ease-out),
              opacity var(--dur) var(--ease-out);
}
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white); margin-bottom: 20px;
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card:hover .why-icon { background: var(--royal); transform: scale(1.08) rotate(4deg); }
.why-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy);
  margin-bottom: 9px;
}
.why-card p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { overflow: hidden; }
.contact-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  top: -300px; right: -220px; filter: blur(90px); opacity: 0.5;
  background: radial-gradient(circle, rgba(11, 94, 215, 0.5), transparent 65%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(44px, 6vw, 90px); align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-ico {
  flex: none; width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #8FBCFF;
  border: 1px solid var(--line-dark);
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-list strong {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 15px; color: var(--white);
}
.contact-list small { color: var(--muted-light); font-size: 13.5px; }
.contact-list small a { transition: color 0.25s; }
.contact-list small a:hover { color: var(--white); text-decoration: underline; }

.contact-form {
  background: var(--white); border-radius: 26px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--navy); margin-bottom: 8px;
}
.form-field label span { color: var(--royal); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--gray-soft);
  border: 1.5px solid transparent; border-radius: 13px;
  padding: 14px 16px; width: 100%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  min-height: 48px;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23062B5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #93A5BF; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--royal); background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
}
.form-field.has-error input, .form-field.has-error select {
  border-color: #D93025; background: #FFF7F6;
}
.field-error {
  display: none; color: #C5221F; font-size: 12.5px; margin-top: 6px; font-weight: 500;
}
.form-field.has-error .field-error { display: block; }

.btn-submit { width: 100%; padding: 17px 30px; font-size: 16px; }
.btn-submit.is-loading { pointer-events: none; opacity: 0.75; }
.btn-submit.is-loading .btn-arrow { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; text-align: center; color: #0B7A3E; min-height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep); color: var(--muted-light);
  border-top: 1px solid var(--line-dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; padding-bottom: 46px;
}
.footer-tag { margin-top: 16px; font-size: 14px; color: var(--muted-light); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--muted-light);
  padding: 6px 0; transition: color 0.25s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-dark);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 13.5px; flex-wrap: wrap;
}
.back-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 13.5px; color: var(--white);
  transition: color 0.25s;
}
.back-top svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-spring); }
.back-top:hover { color: #8FBCFF; }
.back-top:hover svg { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .btn-nav { display: none; }

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

  .split, .careers-grid, .contact-grid, .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-left { position: static; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-visual { order: 2; }

  /* Process: vertical timeline */
  .process-track { display: none; }
  .process-steps { grid-template-columns: 1fr; gap: 0; margin-top: 10px; }
  .process-step {
    padding: 26px 0 26px 44px; border-left: 2px solid rgba(6, 43, 95, 0.12);
    margin-left: 8px;
  }
  .process-step::before {
    top: 32px; left: -8px; box-shadow: 0 0 0 5px var(--gray-soft);
  }
  .process-step:last-child { border-left-color: transparent; }
}

@media (max-width: 1024px) {
  /* floating tags collide with hero copy below desktop widths —
     switch to a static wrapped row under the subtext */
  .hero-tag { display: none; }
  .hero-tag:nth-of-type(1), .hero-tag:nth-of-type(2), .hero-tag:nth-of-type(3),
  .hero-tag:nth-of-type(6) {
    display: inline-flex; position: relative; inset: auto; margin: 6px 4px 0;
  }
  .hero-tags {
    position: static; display: flex; flex-wrap: wrap; justify-content: center;
    margin-top: 34px;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }

  .hero { padding-bottom: 130px; }
  .hero-tag:nth-of-type(3) { display: none; }

  .services-grid, .why-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .mock-chip-1 { right: 4px; }
  .mock-chip-2 { left: 0; }
  .mock-chip-3 { right: 0; }
  .cv-stamp { right: 6px; }
  .footer-inner { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .js .reveal-up, .js .stagger-group > * { opacity: 1; transform: none; }
  .hero-title .word > span { transform: none; }
  .hero-tag, .scroll-cue { opacity: 1; }
  .mock-bars span { transform: scaleY(1); }
  .marquee-track { animation: none; }
}
