/* tokens moved to tokens.css — do not add :root here */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Background Ambient Lighting */
.ambient-1 {
  position: fixed;
  top: 0%;
  right: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(
    circle,
    rgba(242, 101, 34, 0.12) 0%,
    rgba(242, 101, 34, 0.03) 45%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-2 {
  position: fixed;
  bottom: 5%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(11, 45, 83, 0.14) 0%,
    rgba(11, 45, 83, 0.03) 45%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* ============ ANIMATED THEME BACKGROUND SHAPES ============ */
.services-bg-shapes {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
  transition: opacity 0.5s ease;
}

/* Individual Shape Coordinates & Ambient Movement */
.shape-concentric {
  top: 9%;
  left: 3%;
  animation: floatDrift1 14s ease-in-out infinite alternate;
}

.shape-pill {
  top: 16%;
  right: 5%;
  animation: floatDrift2 16s ease-in-out infinite alternate;
}

.shape-pill .pill-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 242, 235, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(242, 101, 34, 0.3);
  box-shadow: 0 4px 14px rgba(242, 101, 34, 0.08);
}

.shape-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(242, 101, 34, 0.7);
}

.shape-pill .pill-line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: rgba(242, 101, 34, 0.4);
}

.shape-hex {
  top: 36%;
  left: 2%;
  animation: floatDrift3 18s ease-in-out infinite alternate;
}

.shape-flow-arc {
  top: 54%;
  right: 2%;
  animation: floatDrift1 20s ease-in-out infinite alternate;
}

.shape-matrix {
  top: 68%;
  left: 4%;
  animation: floatDrift2 15s ease-in-out infinite alternate;
}

.shape-ellipses {
  top: 80%;
  right: 3%;
  animation: floatDrift3 22s ease-in-out infinite alternate;
}

.shape-diamond {
  top: 26%;
  left: 22%;
  animation: floatDrift2 17s ease-in-out infinite alternate;
}

.shape-quadrant {
  top: 60%;
  left: 19%;
  animation: floatDrift1 19s ease-in-out infinite alternate;
}

.shape-sparkle-1 {
  top: 14%;
  left: 48%;
  animation: floatPulse 6s ease-in-out infinite alternate;
}

.shape-sparkle-2 {
  top: 74%;
  right: 26%;
  animation: floatPulse 8s ease-in-out infinite alternate 1.5s;
}

/* Floating Ambient Keyframe Animations */
@keyframes floatDrift1 {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  50% {
    transform: translate(12px, -18px) rotate(4deg);
  }
  100% {
    transform: translate(-8px, -10px) rotate(-3deg);
  }
}

@keyframes floatDrift2 {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  50% {
    transform: translate(-15px, 20px) rotate(-5deg);
  }
  100% {
    transform: translate(10px, 12px) rotate(4deg);
  }
}

@keyframes floatDrift3 {
  0% {
    transform: translate(0px, 0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(14px, -15px) rotate(7deg) scale(1.04);
  }
  100% {
    transform: translate(-10px, 10px) rotate(-4deg) scale(0.98);
  }
}

@keyframes floatPulse {
  0% {
    transform: scale(0.95) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15) rotate(12deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.02) rotate(-8deg);
    opacity: 0.55;
  }
}

/* Custom Interactive Cursor */
.cursor {
  display: none;
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  box-shadow: 0 0 12px rgba(242, 101, 34, 0.6);
  transform: translate(-50%, -50%);
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .float-card,
body.has-custom-cursor .header-btn,
body.has-custom-cursor .search-btn,
body.has-custom-cursor .service-card,
body.has-custom-cursor .filter-tab,
body.has-custom-cursor .sphere {
  cursor: none;
}

body.has-custom-cursor .cursor {
  display: block;
}

/* ============ SITE HEADER ============ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 221, 211, 0.6);
  box-shadow: 0 4px 20px rgba(11, 45, 83, 0.03);
  transition: all 0.3s ease;
}

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

.logo-dot {
  max-width: 140px;
  height: 44px;
  display: flex;
  align-items: center;
}

.logo-dot img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
}

.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition:
    color 0.25s,
    transform 0.2s;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--navy);
}

.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 0 var(--navy);
}

.header-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--navy);
  color: var(--orange);
  border-color: var(--orange);
}

.header-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--navy);
}

/* ============ HERO SECTION ============ */
.services-hero {
  position: relative;
  padding: 30px 40px 60px;
  text-align: center;
}

.services-hero-header {
  max-width: 840px;
  margin: 0 auto 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow:
    0 4px 14px rgba(11, 45, 83, 0.05),
    var(--glass-inset);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(242, 101, 34, 0.8);
}

.services-hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-line.title-navy {
  color: var(--navy);
}

.title-line.title-orange {
  color: var(--orange);
}

.services-hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* ============= PAGE STAGE (Sphere + Floating Cards) ============= */
.services-hero .page {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============= SPHERE ============= */
.sphere {
  position: relative;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 4px 12px rgba(11, 45, 83, 0.06),
    0 24px 60px -10px rgba(11, 45, 83, 0.18),
    0 50px 100px -30px rgba(11, 45, 83, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.8);
  z-index: 2;
  cursor: pointer;
}

.sphere-inner {
  position: absolute;
  inset: -10%;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.9fr;
  grid-template-rows: 0.9fr 1fr 1fr 0.9fr;
  gap: 8px;
  padding: 8px;
  background: var(--bg-warm);
  transition: transform 0.5s ease;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    var(--navy-soft) 0%,
    var(--navy-tint) 100%
  );
}

.tile-navy-grad {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-deep) 100%
  ) !important;
}

.tile-navy-deep {
  background: var(--navy-deep) !important;
}

.tile-orange-grad {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-deep) 100%
  ) !important;
}

.tile-orange-soft {
  background: var(--orange-soft) !important;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: transform 0.4s ease;
}

.tile:hover img {
  transform: scale(1.08);
}

.tile svg.tile-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 55%,
    rgba(11, 45, 83, 0.15) 85%,
    rgba(6, 26, 50, 0.3) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ============= SEARCH BAR ============= */
.search-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  height: 74px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 6px 8px 6px 26px;
  z-index: 5;
  box-shadow:
    var(--glass-inset),
    0 18px 40px -10px rgba(11, 45, 83, 0.2),
    0 4px 12px rgba(11, 45, 83, 0.08);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.search-bar:focus-within {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--orange);
  box-shadow:
    0 0 0 4px rgba(242, 101, 34, 0.15),
    0 22px 46px -10px rgba(11, 45, 83, 0.25),
    var(--glass-inset);
}

.search-icon {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

.search-divider {
  width: 1.5px;
  height: 26px;
  background: var(--line);
  margin: 0 14px 0 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--navy);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.search-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.85;
  font-weight: 500;
}

.search-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(11, 45, 83, 0.3);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.search-btn:hover {
  transform: scale(1.08);
  background: var(--orange);
}

.search-btn:active {
  transform: scale(0.95);
}

.dot-pattern {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(2, 4px);
  gap: 4px;
  width: 20px;
  height: 12px;
}

.dot-pattern span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

/* ============= FLOATING CARDS ============= */
.float-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  z-index: 4;
  border: 2px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow:
    0 12px 28px -6px rgba(11, 45, 83, 0.16),
    0 24px 50px -12px rgba(11, 45, 83, 0.12),
    var(--glass-inset);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.float-card:hover {
  border-color: rgba(242, 101, 34, 0.55);
  box-shadow:
    0 16px 36px -6px rgba(11, 45, 83, 0.22),
    0 0 0 2px rgba(242, 101, 34, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

.float-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 26, 50, 0.85) 100%
  );
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
}

/* Card positions and sizes */
.float-card.fc-1 {
  top: 6%;
  left: 8%;
  width: 130px;
  height: 160px;
  transform: rotate(-3deg);
}

.float-card.fc-2 {
  top: 42%;
  left: 4%;
  width: 140px;
  height: 170px;
  transform: rotate(2deg);
}

.float-card.fc-3 {
  bottom: 8%;
  left: 10%;
  width: 130px;
  height: 140px;
  transform: rotate(-4deg);
}

.float-card.fc-4 {
  top: 6%;
  right: 8%;
  width: 140px;
  height: 160px;
  transform: rotate(3deg);
}

.float-card.fc-5 {
  top: 42%;
  right: 4%;
  width: 140px;
  height: 170px;
  transform: rotate(-2deg);
}

.float-card.fc-6 {
  bottom: 8%;
  right: 10%;
  width: 130px;
  height: 140px;
  transform: rotate(4deg);
}

.hero-scroll-indicator {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(11, 45, 83, 0.04);
  transition: all 0.25s ease;
}

.scroll-link:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(2px);
}

/* ============ SERVICES SPECTRUM & FILTER TABS ============ */
.services-spectrum-section {
  padding: 48px clamp(16px, 3vw, 40px) 56px;
  position: relative;
  z-index: 10;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}

.section-container {
  max-width: min(1440px, 96vw);
  margin: 0 auto;
  width: 100%;
}

.spectrum-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 30px;
}

.eyebrow-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange-deep);
  font-weight: 700;
  margin-bottom: 10px;
}

.spectrum-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}

.spectrum-subtitle {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.filter-tab {
  background: #ffffff;
  color: var(--ink-soft);
  border: 1.5px solid rgba(11, 45, 83, 0.12);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: "Manrope", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow:
    0 2px 8px rgba(11, 45, 83, 0.04),
    inset 0 1px 0 #ffffff;
}

.tab-count {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
}

.filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 45, 83, 0.08);
}

.filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(11, 45, 83, 0.2);
}

.filter-tab.active .tab-count {
  background: var(--orange);
  color: var(--white);
}

/* ============= 9 SERVICES GRID ============= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
  width: 100%;
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 45, 83, 0.04);
  min-width: 0;
  word-break: break-word;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(11, 45, 83, 0.08);
}

.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  background: radial-gradient(
    320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(242, 101, 34, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-card > *:not(.card-glow) {
  position: relative;
  z-index: 2;
}

.service-card.is-hidden {
  display: none !important;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pillar-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--navy-soft);
  color: var(--navy);
}

[data-category="pillar-2"] .pillar-badge {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

[data-category="pillar-3"] .pillar-badge {
  background: #f4ede6;
  color: #7a3e1d;
}

.service-num {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--line);
  transition: color 0.3s ease;
}

.service-card:hover .service-num {
  color: var(--orange);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-soft) 0%, #ffffff 100%);
  border: 1px solid var(--navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon-box {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-deep) 100%
  );
  color: var(--white);
  border-color: var(--orange);
  transform: rotate(4deg) scale(1.05);
}

.service-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.service-description {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 14px;
  flex: 1;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--bg-warm);
  color: var(--ink);
  border: 1px solid rgba(11, 45, 83, 0.06);
}

.card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Manrope", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--orange);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ============ HOW WE DELIVER VALUE ============ */
.delivery-model-section {
  padding: 56px 0 64px;
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.delivery-model-section .section-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 16px;
}

.delivery-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.delivery-head .eyebrow-tag {
  color: var(--orange-deep);
}

.delivery-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}

.delivery-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.delivery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  align-items: stretch;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3vw, 42px);
  min-height: 360px;
  box-shadow: 0 4px 18px rgba(11, 45, 83, 0.05);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  min-width: 0;
  word-break: break-word;
}

.delivery-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(11, 45, 83, 0.1);
}

.delivery-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--orange-soft);
  border: 1.5px solid var(--orange-tint);
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: 22px;
}

.delivery-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}

.delivery-card p {
  font-size: clamp(15px, 1.1vw, 16.5px);
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
  margin: 0;
}

/* ============ FINAL CTA SECTION ============ */
.final-cta {
  padding: 36px clamp(16px, 3vw, 40px) 56px;
  display: flex;
  justify-content: center;
  position: relative;
  background: var(--bg);
}

.final-cta-card {
  position: relative;
  width: 100%;
  max-width: min(1440px, 96vw);
  background: linear-gradient(145deg, #103866 0%, #0b2d53 50%, #061a32 100%);
  border-radius: 28px;
  padding: 48px clamp(24px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(6, 26, 50, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.final-cta-h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  color: var(--white);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-h2 .accent {
  color: var(--orange);
}

.final-cta p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 24px;
}

.final-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--orange-light) 0%,
    var(--orange) 100%
  );
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 24px rgba(242, 101, 34, 0.45);
  transition: all 0.25s ease;
}

.final-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 32px rgba(242, 101, 34, 0.55);
}

.final-cta .cta-btn .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-card .orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(242, 101, 34, 0.35) 0%,
    transparent 70%
  );
  top: -70px;
  left: -70px;
  filter: blur(50px);
}

.final-cta-card .orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(22, 72, 126, 0.45) 0%,
    transparent 70%
  );
  bottom: -100px;
  right: -100px;
  filter: blur(60px);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  padding: 60px 56px 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* ============= ANIMATION INITIAL STATES ============= */
.js-ready .site-header,
.js-ready .sphere,
.js-ready .search-bar,
.js-ready .float-card {
  opacity: 0;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1100px) {
  .site-header {
    padding: 20px 32px;
  }

  .services-hero {
    padding: 20px 24px 40px;
  }

  .sphere {
    width: 440px;
    height: 440px;
  }

  .search-bar {
    width: 520px;
    height: 66px;
  }

  .search-input {
    font-size: 15px;
  }

  .float-card.fc-1,
  .float-card.fc-4 {
    width: 100px;
    height: 120px;
  }

  .float-card.fc-2,
  .float-card.fc-5 {
    width: 110px;
    height: 130px;
  }

  .float-card.fc-3,
  .float-card.fc-6 {
    width: 100px;
    height: 110px;
  }

  .services-spectrum-section {
    padding: 40px 20px 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 22px 20px 18px;
  }

  .delivery-model-section {
    padding: 48px 0 56px;
  }

  .delivery-cards {
    gap: 16px;
  }

  .delivery-card {
    padding: 32px 28px;
    min-height: 300px;
  }

  .final-cta {
    padding: 32px 16px 48px;
  }

  .final-cta-card {
    padding: 44px clamp(20px, 3vw, 48px);
    border-radius: 22px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer {
    padding: 48px 32px 36px;
  }
}

@media (max-width: 900px) {
  .delivery-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .delivery-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .delivery-num {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .delivery-card h3 {
    font-size: 20px;
  }

  .delivery-card p {
    font-size: 15px;
  }
}

/* ============ TABLET PORTRAIT (700px and below) ============ */
@media (max-width: 700px) {
  .services-hero {
    padding: 20px 16px 40px;
  }

  .services-hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .services-hero-desc {
    font-size: 15px;
  }

  .search-bar {
    width: 94%;
    height: 56px;
  }

  .search-input {
    font-size: 14px;
  }

  .search-btn {
    width: 44px;
    height: 44px;
    min-height: var(--touch-min, 44px);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 13px;
    min-height: var(--touch-min, 44px);
  }

  .delivery-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .delivery-card {
    padding: 24px 20px;
  }
}

@media (max-width: 720px) {
  .stage {
    aspect-ratio: auto;
    min-height: 460px;
  }

  .sphere {
    width: 320px;
    height: 320px;
  }

  .search-bar {
    width: 92%;
    height: 58px;
    padding: 4px 6px 4px 18px;
  }

  .search-input {
    font-size: 14px;
  }

  .search-btn {
    width: 46px;
    height: 46px;
  }

  .float-card {
    display: none;
  }

  .float-card.fc-1,
  .float-card.fc-4 {
    display: block;
    width: 80px;
    height: 100px;
  }

  .services-spectrum-section {
    padding: 36px 16px 44px;
  }

  .spectrum-header {
    margin-bottom: 20px;
  }

  .spectrum-title {
    font-size: 26px;
  }

  .spectrum-subtitle {
    font-size: 14px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    font-size: 12.5px;
    padding: 6px 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 20px 18px 16px;
  }

  .service-title {
    font-size: 17px;
  }

  .service-description {
    font-size: 13px;
  }

  .chip {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  .delivery-model-section {
    padding: 40px 0 48px;
  }

  .delivery-head {
    margin-bottom: 28px;
  }

  .delivery-title {
    font-size: 26px;
  }

  .delivery-desc {
    font-size: 14.5px;
  }

  .final-cta {
    padding: 28px 16px 40px;
  }

  .final-cta-card {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .final-cta-h2 {
    font-size: 26px;
  }

  .final-cta p {
    font-size: 14px;
  }

  .site-footer {
    padding: 40px 20px 28px;
  }

  .footer-cols {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-spectrum-section {
    padding: 28px 12px 36px;
  }

  .spectrum-title {
    font-size: 22px;
  }

  .filter-tab {
    font-size: 11.5px;
    padding: 8px 12px;
    min-height: var(--touch-min, 44px);
  }

  .tab-count {
    font-size: 10px;
    padding: 1px 5px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 18px 16px 14px;
  }

  .card-top {
    margin-bottom: 10px;
  }

  .pillar-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .service-icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .service-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-description {
    font-size: 12.5px;
    margin-bottom: 10px;
  }

  .capability-chips {
    gap: 4px;
    margin-bottom: 10px;
  }

  .chip {
    font-size: 10px;
    padding: 2px 6px;
  }

  .card-footer {
    padding-top: 10px;
  }

  .service-link {
    font-size: 12px;
    min-height: var(--touch-min, 44px);
    display: inline-flex;
    align-items: center;
  }

  .delivery-model-section {
    padding: 32px 0 40px;
  }

  .delivery-model-section .section-container {
    padding: 0 12px;
  }

  .delivery-head {
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .delivery-title {
    font-size: 22px;
  }

  .delivery-desc {
    font-size: 14px;
  }

  .delivery-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .delivery-card h3 {
    font-size: 18px;
  }

  .delivery-card p {
    font-size: 14px;
  }

  .final-cta {
    padding: 24px 12px 32px;
  }

  .final-cta-card {
    padding: 36px 16px;
    border-radius: 18px;
  }

  .final-cta-h2 {
    font-size: 22px;
  }

  .final-cta p {
    font-size: 13.5px;
  }

  .cta-btn {
    font-size: 14px;
    padding: 14px 24px;
    min-height: var(--touch-min, 44px);
  }

  .site-footer {
    padding: 32px 14px 24px;
  }

  .footer-cols {
    gap: 24px;
  }

  .footer-col a {
    min-height: var(--touch-min, 44px);
    display: flex;
    align-items: center;
  }
}

/* ============================================================
   FOLDABLE DEVICE SUPPORT
   ============================================================ */

/* Galaxy Fold / ultra-narrow foldables (closed-fold state) */
@media (max-width: 280px) {
  .services-hero {
    padding: 24px 0 28px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    padding: 16px 14px;
  }
  .services-hero .section-title {
    font-size: 24px;
  }
  .services-tabs {
    flex-direction: column;
    gap: 6px;
  }
  .services-tab-btn {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* Landscape foldables (phone-like device rotated) */
@media (max-height: 500px) and (orientation: landscape) {
  .services-hero {
    padding: 16px 0 20px;
  }
  .services-grid {
    gap: 10px;
  }
  .service-card {
    padding: 14px 12px;
  }
}

/* Dynamic viewport units for notched/foldable screens */
@supports (height: 100dvh) {
  .services-hero {
    min-height: 60dvh;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
       FOCUS AREAS  (paste from here into your stylesheet)
       ============================================================ */
.focus-section {
  padding: var(--section-pad) 0;
}

.focus-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.focus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 18px;
}

.focus-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.focus-title-main {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.focus-title-main .accent {
  color: var(--orange);
}

.focus-intro {
  font-size: var(--fs-base);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 640px;
}

@media (min-width: 992px) {
  .focus-head {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px 48px;
    align-items: end;
  }
  .focus-head .focus-eyebrow {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  .focus-head .focus-title-main {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
  .focus-head .focus-intro {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-left: auto;
  }
}

/* ---- The list: rows divided by hairlines, no boxes ---- */
.focus-list {
  list-style: none;
  counter-reset: focus;
  border-bottom: 1px solid var(--line);
}

.focus-item {
  counter-increment: focus;
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

/* Orange line that draws across the top edge of the row on hover/focus */
.focus-item::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-num {
  grid-column: 1;
  grid-row: 1;
}

.focus-num::before {
  content: counter(focus, decimal-leading-zero);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.focus-title {
  grid-column: 2;
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}

.focus-desc {
  grid-column: 2;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 62ch;
}

/* Desktop: number | title | description on one line */
@media (min-width: 992px) {
  .focus-item {
    grid-template-columns: 72px minmax(240px, 0.8fr) minmax(0, 1.2fr);
    column-gap: 40px;
    padding: 32px 0;
  }
  .focus-title {
    grid-column: 2;
    grid-row: 1;
  }
  .focus-desc {
    grid-column: 3;
    grid-row: 1;
    max-width: none;
  }
}

/* Hover / focus state */
@media (hover: hover) {
  .focus-item:hover::after {
    transform: scaleX(1);
  }
  .focus-item:hover .focus-num::before {
    color: var(--orange);
  }
  .focus-item:hover .focus-title {
    transform: translateX(6px);
    color: var(--navy);
  }
}

.focus-item:focus-within::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .focus-item::after,
  .focus-title {
    transition: none;
  }
}

.section-title-why {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-title-why .accent {
  color: var(--orange);
}

.section-desc-why {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.section-head-why {
  position: relative;
  z-index: 4;
}

