/* =========================================================
   Cuve — design system tokens
   ========================================================= */
:root {
  --blue: #290fc8;
  --blue-deep: #1f0a8a;
  --blue-darker: #2d0dd0;
  --lime: #bfda1b;
  --ink: #161618;
  --ink-soft: rgba(0,0,0,0.6);
  --ink-muted: rgba(0,0,0,0.5);
  --bg: #ffffff;
  --bg-soft: #eff2f8;

  --maxw: 1728px;
  --pad-x: clamp(20px, 5vw, 96px);

  /* Fluid type scale (mobile -> desktop). Helvetica Now Display is
     a paid Monotype font with no free CDN; we fall back to Inter. */
  --font: 'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --display: clamp(40px, 7.4vw, 96px);
  --display-sm: clamp(34px, 5.4vw, 64px);
  --h3: clamp(28px, 3.2vw, 40px);
  --body: 16px;
  --eyebrow: 13px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* =========================================================
   Display headline pattern (offset hand-set lines from Figma)
   ========================================================= */
.display {
  font-size: var(--display);
  line-height: 0.88;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0;
  color: var(--blue);
}
.display em {
  font-style: italic; font-weight: 500; letter-spacing: -0.01em;
}
/* The Figma headline staggers each line. We approximate via inline
   indent spans that scale down on small screens. */
.display .indent    { display: inline-block; width: 1.2em; }
.display .indent-lg { display: inline-block; width: 1.6em; }
.display .indent-xl { display: inline-block; width: 3.2em; }
.display .indent-xxl{ display: inline-block; width: 4.6em; }

.eyebrow {
  font-size: var(--eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 500;
}

.lede {
  display: flex; align-items: flex-start; gap: 28px;
  max-width: 720px; margin-top: 56px;
  padding-left: clamp(0px, 12vw, 200px);
}
.lede.center { margin: 56px auto 0; padding-left: 0; }
.lede p { margin: 0; font-size: var(--body); line-height: 1.65; color: rgba(46,46,46,.85); max-width: 495px; }
.rule { display: block; width: 90px; height: 1px; background: var(--ink); margin-top: 12px; flex-shrink: 0; }
.rule-light { background: rgba(255,255,255,.7); }
.rule-lime  { background: var(--lime); }

.section-head { padding-bottom: 80px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { color: rgba(255,255,255,.7); }
.section-head.light .eyebrow,
.section-head.light .display { color: #fff; }
.section-head.dark-on-lime .eyebrow { color: rgba(0,0,0,.6); }
.section-head.dark-on-lime .display { color: var(--blue); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(41,15,200,.18); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-lime { background: var(--lime); color: var(--blue); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  padding: 28px var(--pad-x);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  color: #fff;
}
.nav-links { justify-self: center; display: flex; gap: 56px; font-size: 13px; letter-spacing: 0.22em; }
.nav-links a:hover { color: var(--lime); }
.logo { justify-self: start; display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.phone { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.phone .flag { width: 26px; height: auto; border-radius: 3px; }
.nav-burger {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; gap: 5px;
  flex-direction: column; align-items: center; justify-content: center;
}
.nav-burger span { width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--blue-deep);
  padding: 24px var(--pad-x) 32px;
  flex-direction: column; gap: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.nav-drawer a { color: #fff; font-size: 16px; letter-spacing: 0.18em; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-drawer a.phone { letter-spacing: 0; padding-top: 16px; border: 0; color: var(--lime); }
.nav-drawer.open { display: flex; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0 var(--pad-x);
  background:
    radial-gradient(900px 600px at 18% 22%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(700px 500px at 92% 10%, rgba(191,218,27,.10), transparent 60%),
    var(--blue);
  color: #fff;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: clamp(140px, 20vh, 240px);
  padding-bottom: 40px;
  position: relative;
}
.hero h1 {
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 400; margin: 0; max-width: 1200px;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero h1 .indent { display: inline-block; width: 2.6em; }

.scroll-indicator {
  position: absolute; right: 0; top: clamp(180px, 22vh, 260px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: #fff; font-size: 12px; letter-spacing: 0.22em;
}
.scroll-circle {
  width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  animation: float 3.2s ease-in-out infinite;
}
.scroll-circle .scroll-dot {
  transform-origin: center;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(8px); } }
@keyframes scroll-dot {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

.hero-mockup {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0 0;
  position: relative;
}
.hero-mockup img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.35));
}

/* =========================================================
   Services
   ========================================================= */
.services {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--pad-x) 80px;
}
.service-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 64px; align-items: flex-start;
  padding: 64px 0; border-top: 1px solid rgba(0,0,0,.08);
}
.service-row:last-of-type { border-bottom: 1px solid rgba(0,0,0,.08); }
.service-icon img { width: 128px; height: 128px; object-fit: contain; }
.service-body h3 {
  font-size: var(--h3); font-weight: 500; margin: 0 0 16px;
  color: var(--ink); letter-spacing: -0.02em;
}
.sub {
  font-size: clamp(18px, 2vw, 22px); color: var(--ink-muted);
  margin: 0 0 32px; max-width: 620px;
}
.sub em { font-style: italic; color: var(--ink); font-weight: 500; }
.service-tags {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-wrap: nowrap; gap: 24px 36px;
  font-size: clamp(20px, 2.4vw, 30px); color: var(--ink-soft);
  align-items: center;
  overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}
.service-tags::-webkit-scrollbar { display: none; }
.service-tags li.active {
  color: var(--ink); font-style: italic; font-weight: 700;
}
.service-tags li {
  display: flex; align-items: center; gap: 16px;
  white-space: nowrap; flex-shrink: 0;
  scroll-snap-align: start;
}
.service-tags li:not(:first-child)::before {
  content: ""; width: 6px; height: 6px; background: #999; flex-shrink: 0;
}
.service-actions {
  display: flex; align-items: center; gap: 32px; margin-top: 8px; flex-wrap: wrap;
}
.arrow-nav { display: flex; gap: 16px; }
.arrow-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); transition: all .15s ease;
}
.arrow-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.arrow-nav button:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--ink); border-color: rgba(0,0,0,.18); }

/* =========================================================
   Decorative ellipses (between work & industries)
   ========================================================= */
.deco-ellipses {
  position: relative;
  pointer-events: none;
  max-width: var(--maxw); margin: 0 auto;
  height: 0; overflow: visible;
}
.deco-ellipses svg {
  position: absolute;
  right: -120px; top: -320px;
  width: clamp(320px, 30vw, 553px);
  height: auto;
}

/* =========================================================
   Work (lime card)
   ========================================================= */
.work { padding: 80px var(--pad-x); }
.work-card {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--lime); border-radius: 32px;
  padding: clamp(56px, 9vw, 130px) clamp(28px, 7vw, 130px);
  position: relative; overflow: hidden;
}
.work-deco-ovals {
  position: absolute; top: -80px; left: -120px;
  width: 500px; height: 700px;
  pointer-events: none; z-index: 0;
}
.work-deco-ovals svg { width: 100%; height: 100%; }
.work-card::before {
  content: ""; position: absolute; top: -240px; left: -240px;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.projects {
  display: flex; flex-direction: column; gap: clamp(80px, 10vw, 150px);
  margin: 80px 0;
}
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.project-image {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.3);
  background: #1f0a8a;
  aspect-ratio: 4 / 3;
}
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.project-meta h4 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; margin: 0 0 16px;
  color: var(--ink); letter-spacing: -0.02em;
}
.project-meta p {
  font-size: var(--body); line-height: 1.65; color: rgba(0,0,0,.55);
  max-width: 420px; margin: 0 0 24px;
}
.project-meta a {
  color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
}
.project-meta a::after { content: " →"; }
.work-cta { display: flex; justify-content: center; }

/* =========================================================
   Industries
   ========================================================= */
.industries {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
}
.industry-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(64px, 8vw, 96px) clamp(48px, 16vw, 280px);
  margin-top: 32px;
}
.industry { display: flex; flex-direction: column; gap: 48px; }
.ind-icon {
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ind-icon-circle {
  border-radius: 50%; background: rgba(41,15,200,.06);
}
.ind-icon img { max-width: 88px; max-height: 88px; object-fit: contain; }
.ind-arrows {
  position: relative; width: 88px; height: 88px;
  transform: rotate(45deg);
}
.ind-arrows span {
  position: absolute; width: 14px; border: 2px solid var(--ink); border-radius: 2px;
}
.ind-arrows span:nth-child(1) { left: 0;  top: 0;  height: 70px; border-color: var(--lime); }
.ind-arrows span:nth-child(2) { left: 26px; top: 8px;  height: 64px; }
.ind-arrows span:nth-child(3) { left: 52px; top: 16px; height: 58px; }
.ind-arrows span:nth-child(4) { left: 74px; top: 24px; height: 50px; }
.ind-rule { width: 100%; height: 1px; background: rgba(0,0,0,.15); }
.ind-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ind-text h5 {
  font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; margin: 0; color: var(--ink);
  letter-spacing: -0.01em;
}
.ind-text p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--blue);
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
  color: #fff;
}
.about > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.about-body {
  display: grid; grid-template-columns: minmax(280px, 500px) 1fr;
  gap: clamp(48px, 9vw, 120px); align-items: stretch; padding-top: 24px;
}
.about-card {
  height: 520px; border-radius: 32px;
  background:
    radial-gradient(circle at 80% 12%, rgba(191,218,27,.20), transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(255,255,255,.10), transparent 55%),
    var(--blue-deep);
}
.about-text { padding-top: 80px; max-width: 540px; display: flex; flex-direction: column; gap: 24px; }
.about-text p { font-size: var(--body); line-height: 1.7; color: rgba(255,255,255,.85); margin: 0; }
.about-text .btn { align-self: flex-start; margin-top: 16px; }

/* =========================================================
   Tech stack
   ========================================================= */
.tech {
  background: linear-gradient(180deg, #06030f 0%, #110823 100%);
  color: #fff;
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
}
.tech > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.tech .display.lime { color: var(--lime); }
.tech-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  margin: 64px auto 0;
}
.tech-list li {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  font-size: 18px; color: rgba(255,255,255,.8);
  font-weight: 300; letter-spacing: 0.04em;
}
.tech-list img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

/* =========================================================
   Blog
   ========================================================= */
.blog {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 32px;
}
.post {
  background: var(--bg-soft); border-radius: 16px;
  overflow: hidden; transition: transform .2s ease;
}
.post:hover { transform: translateY(-4px); }
.post-img { aspect-ratio: 333/124; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { position: relative; padding: 24px 24px 28px; }
.post-body h6 { margin: 0 0 8px; font-size: 16px; font-weight: 500; color: var(--ink); }
.post-body p { margin: 0; font-size: 14px; color: #383841; max-width: 240px; }
.post-arrow {
  position: absolute; right: 20px; bottom: 20px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 80px var(--pad-x); }
.cta-inner {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--lime); border-radius: 32px;
  padding: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 48px; min-height: 420px; overflow: hidden;
  position: relative;
}
.cta-text h3 {
  font-size: var(--display-sm); margin: 0 0 16px;
  color: #080e20; font-weight: 400; letter-spacing: -0.02em;
}
.cta-text p { font-size: var(--body); color: rgba(0,0,0,.6); margin: 0 0 32px; max-width: 420px; }
.cta-art {
  width: clamp(280px, 35vw, 540px); height: auto;
}
.cta-art svg { width: 100%; height: auto; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--blue-darker); color: #fff;
  padding: 96px var(--pad-x) 40px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 6vw, 64px);
}
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col h6 { font-size: 22px; font-weight: 500; margin: 0 0 16px; color: #fff; }
.f-col a { color: rgba(255,255,255,.85); font-size: 15px; }
.f-col a:hover { color: var(--lime); }
.f-col p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; line-height: 1.6; }
.f-brand .logo img { height: 36px; width: auto; margin-bottom: 12px; }
.f-brand .legal { color: rgba(255,255,255,.6); margin-top: 16px; font-size: 13px; }
.footer-cta {
  align-self: flex-start; margin-top: 12px;
  background: var(--lime); color: #080e20;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-cta:hover { color: var(--blue); }
.footer-base {
  max-width: var(--maxw); margin: 80px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* =========================================================
   Responsive — 3 tiers (1100 / 768 / 480)
   Mobile system: hamburger nav, 1-col grids, fluid type via clamp().
   No mobile design exists in Figma — patterns chosen to keep
   information hierarchy and brand voice intact.
   ========================================================= */
/* =========================================================
   Service Page — Hero
   ========================================================= */
.svc-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0 var(--pad-x);
  background:
    radial-gradient(900px 600px at 18% 22%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(700px 500px at 92% 10%, rgba(191,218,27,.10), transparent 60%),
    var(--blue);
  color: #fff;
}
.svc-hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(140px, 20vh, 240px) 0 clamp(80px, 10vh, 140px);
  position: relative;
}
.svc-hero .scroll-indicator {
  position: absolute; right: 0; top: clamp(180px, 22vh, 260px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: #fff; font-size: 12px; letter-spacing: 0.22em;
}

/* =========================================================
   Service Page — Detail Panel (image + accordion nav)
   ========================================================= */
.svc-detail {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  display: grid; grid-template-columns: minmax(320px, 560px) 1fr;
  gap: clamp(48px, 6vw, 96px); align-items: start;
}
.svc-detail-image {
  border-radius: 24px; overflow: hidden;
  background: var(--lime);
  aspect-ratio: 562/728;
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 120px;
}
.svc-detail-image img {
  width: 60%; height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
}
.svc-detail-nav { display: flex; flex-direction: column; }
.svc-detail-nav-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  cursor: pointer; position: relative;
  display: flex; align-items: center; gap: 20px;
}
.svc-detail-nav-item:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.svc-detail-nav-item .svc-dot {
  width: 18px; height: 48px; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  flex-shrink: 0;
}
.svc-detail-nav-item .svc-dot span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,.25); display: block; margin: 0 auto;
  transition: all .2s ease;
}
.svc-detail-nav-item.active .svc-dot span {
  width: 8px; height: 8px; background: var(--blue);
}
.svc-detail-nav-item .svc-nav-label {
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 500;
  color: var(--ink-soft); letter-spacing: -0.02em;
  transition: color .2s ease;
}
.svc-detail-nav-item.active .svc-nav-label { color: var(--ink); }

.svc-detail-panel {
  display: none; padding: 24px 0 12px 38px;
}
.svc-detail-panel.active { display: block; }
.svc-detail-panel p {
  font-size: var(--body); line-height: 1.65; color: var(--ink-muted);
  max-width: 500px; margin: 0 0 24px;
}
.svc-detail-panel .svc-sub-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.svc-sub-tags li {
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid rgba(0,0,0,.12); color: var(--ink-soft);
  transition: all .15s ease;
}
.svc-sub-tags li.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

/* =========================================================
   Service Page — Related Projects
   ========================================================= */
.rel-projects {
  padding: 80px var(--pad-x);
}
.rel-projects-wrap {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--lime); border-radius: 32px;
  padding: clamp(56px, 9vw, 130px) clamp(28px, 7vw, 130px);
  position: relative; overflow: hidden;
}
.rel-projects-wrap .section-head { padding-bottom: 56px; }
.rel-projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-bottom: 48px;
}
.rel-project-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.rel-project-card:hover { transform: translateY(-4px); }
.rel-project-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.rel-project-card .rel-card-body { padding: 24px; }
.rel-project-card h4 {
  font-size: 20px; font-weight: 600; margin: 0 0 8px;
  color: var(--ink); letter-spacing: -0.01em;
}
.rel-project-card p {
  font-size: 14px; line-height: 1.55; color: rgba(0,0,0,.55); margin: 0;
}
.rel-projects-dots {
  display: flex; justify-content: center; gap: 12px;
}
.rel-projects-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.2); cursor: pointer; padding: 0;
  transition: all .15s ease;
}
.rel-projects-dots button.active {
  background: var(--blue); width: 32px; border-radius: 5px;
}
.rel-projects-cta {
  display: flex; justify-content: flex-end; margin-top: 8px;
}

/* =========================================================
   Service Page — Benefits
   ========================================================= */
.svc-benefits {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
}
.svc-benefits .section-head { text-align: center; padding-bottom: 64px; }
.svc-benefits .display { color: var(--ink); }
.svc-benefits .display em { color: var(--blue); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.benefit-card { display: flex; flex-direction: column; gap: 20px; }
.benefit-icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(41,15,200,.06);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.benefit-icon svg { width: 40px; height: 40px; color: var(--blue); }
.benefit-icon .orbit {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(41,15,200,.12);
}
.benefit-card h5 {
  font-size: 20px; font-weight: 600; margin: 0;
  color: var(--ink); letter-spacing: -0.01em;
}
.benefit-card p {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0;
}
.benefits-cta {
  display: flex; justify-content: flex-end;
  margin-top: 48px;
}

/* =========================================================
   Service Page — Types / Offerings Section
   ========================================================= */
.svc-types {
  background: var(--ink); color: #fff;
  padding: clamp(96px, 14vw, 200px) var(--pad-x);
}
.svc-types-inner { max-width: var(--maxw); margin: 0 auto; }
.svc-types .section-head { padding-bottom: 48px; }
.svc-types .eyebrow { color: rgba(255,255,255,.5); }
.svc-types .display { color: #fff; }
.svc-types .lede p { color: rgba(255,255,255,.65); }
.svc-types .rule { background: rgba(255,255,255,.3); }
.svc-types-tags {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.svc-types-tags + .svc-types-tags { margin-top: 0; }
.svc-type-tag {
  padding: 16px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7);
  transition: all .15s ease; cursor: default;
}
.svc-type-tag.highlight {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.svc-type-tag.lime {
  background: var(--lime); color: var(--ink); border-color: var(--lime);
}

/* =========================================================
   Service Page — Cost / Quote Section
   ========================================================= */
.svc-cost {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
}
.svc-cost-card {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--blue); border-radius: 32px;
  padding: clamp(56px, 9vw, 130px) clamp(28px, 7vw, 130px);
  position: relative; overflow: hidden; color: #fff;
}
.svc-cost-card .eyebrow { color: rgba(255,255,255,.5); }
.svc-cost-card .display { color: #fff; }
.svc-cost-card .display em { color: var(--lime); }
.svc-cost-card .btn { margin-top: 40px; }
.svc-cost-deco {
  position: absolute; right: -60px; bottom: -80px;
  width: 500px; height: 350px; pointer-events: none; opacity: .15;
}

/* =========================================================
   Service Page — Decorative Ovals
   ========================================================= */
.svc-deco-ovals {
  position: absolute; pointer-events: none; z-index: 0;
}
.svc-deco-ovals svg { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .scroll-indicator { display: none; }
  .deco-ellipses { display: none; }
  .work-deco-ovals { display: none; }
  .display .indent, .display .indent-lg, .display .indent-xl, .display .indent-xxl { width: 0.6em; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail-image { position: static; max-width: 480px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; gap: 64px; }
  .ind-text { grid-template-columns: 1fr; gap: 12px; }
  .about-body { grid-template-columns: 1fr; }
  .about-card { height: 280px; }
  .about-text { padding-top: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-list { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: left; }
  .cta-art { width: 100%; max-width: 380px; justify-self: center; }
}

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-icon img { width: 96px; height: 96px; }
  .project { grid-template-columns: 1fr !important; gap: 32px; }
  .project-right .project-meta { order: 2; }
  .project-right .project-image { order: 1; }
  .work-card { padding: 56px 24px; border-radius: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; gap: 48px; }
  .rel-projects-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-types-tags { gap: 10px; }
  .svc-type-tag { padding: 12px 20px; font-size: 14px; }
  .lede { padding-left: 0; flex-direction: column; gap: 16px; }
  .rule { width: 60px; }
  .nav { padding: 20px var(--pad-x); }
  .logo img { height: 26px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .display { font-size: clamp(36px, 11vw, 56px); line-height: 0.95; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); line-height: 1.1; }
  .hero h1 .indent { width: 1.2em; }
  .service-tags { gap: 14px 24px; font-size: 18px; }
  .service-tags li:not(:first-child)::before { width: 4px; height: 4px; }
  .work-card { padding: 48px 20px; }
  .industry { gap: 28px; }
  .ind-icon { width: 96px; height: 96px; }
  .ind-icon img { max-width: 64px; max-height: 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding-top: 64px; }
  .tech-list { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .tech-list img { height: 44px; }
  .cta-inner { padding: 40px 24px; min-height: 0; }
  .scroll-indicator { display: none; }
}
