/* Digital Sarthi theme layer: loaded after style.css */
:root {
  --font-display: "6500595b785e358dcc2a2f3a_AeonikMedium", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-medium: var(--font-display);
  --font-primary: var(--font-body);
  --font-secondary: var(--font-body);
  --ds-ink: #141a26;
  --ds-text: #4a5263;
  --ds-muted: #6b7385;
  --ds-line: #e3e6ee;
  --ds-surface: #f5f7fb;
  --color-heading-1: #141a26;
  --color-body: #4a5263;
}

body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ds-text); }
p, li, .disc { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display); font-weight: 500; font-synthesis: none; color: var(--ds-ink);
}
h1, .h1 { font-size: clamp(44px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h3, .h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
h4, .h4 { font-size: 22px; line-height: 1.3; }
h5, .h5 { font-size: 20px; line-height: 1.3; }
h6, .h6 { font-size: 17px; line-height: 1.4; }
.mainmenu a, .rts-btn { font-family: var(--font-display); }

.ds-eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: 13px; line-height: 1.2;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 16px;
}

/* hero */
.banner-wrapper-one .title {
  font-size: clamp(44px, 5.2vw, 68px) !important; font-weight: 500; line-height: 1.08 !important;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.banner-wrapper-one p { font-size: 20px; line-height: 1.6; color: var(--ds-text); max-width: 34em; margin-bottom: 0; }

/* section titles */
.title-center-2 .title,
.text-center-title-bg-white .title,
.title-area-center-inner-with-sub .title,
.rts-call-to-action-area-about .title {
  font-size: clamp(32px, 3.6vw, 48px) !important; font-weight: 500; line-height: 1.12 !important;
  letter-spacing: -0.015em; text-wrap: balance; max-width: 22ch; margin: 0 auto 16px;
}
.text-center-title-bg-white p,
.title-center-2 p,
.title-area-center-inner-with-sub p.disc,
.rts-call-to-action-area-about p.disc {
  font-size: 19px; line-height: 1.6; max-width: 62ch; margin: 0 auto;
}
.rts-call-to-action-area-about p.disc { margin-bottom: 0; }
.rts-call-to-action-area-about p.disc + p.disc { margin-top: 12px; }

/* cards */
.single-service-area-wrapper { align-items: flex-start; gap: 20px; }
.single-service-area-wrapper .info { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.single-service-area-wrapper .info .title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.single-service-area-wrapper .info p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ds-text); }
.single-service-area-wrapper:hover .info .title,
.single-service-area-wrapper:hover .info p { color: #fff; }

.single-benefits-area-wrapper { height: 100%; }
.single-benefits-area-wrapper .icon { margin-bottom: 24px; }
.single-benefits-area-wrapper .title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.single-benefits-area-wrapper p { font-size: 16px; line-height: 1.6; margin: 0; }

.single-solution-style-one .title { font-size: 22px; line-height: 1.3; }
.single-solution-style-one p.disc { font-size: 16px; line-height: 1.6; }

.single-working-process-choose-us { padding: 32px; margin-bottom: 0; height: 100%; background: #fff; }
.single-working-process-choose-us .title { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.single-working-process-choose-us p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }

.ds-chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ds-chip-list li {
  font-size: 13px; line-height: 1; padding: 7px 11px; margin: 0;
  border: 1px solid var(--ds-line); border-radius: 999px; color: var(--ds-text); background: #fff;
}
.single-service-area-wrapper:hover .ds-chip-list li { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }

.ds-case-card {
  display: flex; flex-direction: column; height: 100%; padding: 36px; background: #fff;
  border: 1px solid var(--ds-line); transition: border-color .2s ease-out, transform .2s ease-out;
}
.ds-case-card:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.ds-case-card .ds-eyebrow { margin-bottom: 12px; }
.ds-case-card .title { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.ds-case-card p { font-size: 17px; line-height: 1.65; margin: 0; }

/* CTA band */
.cta-one-wrapper .left-area .title { font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 500; line-height: 1.15; margin-bottom: 16px; }
.cta-one-wrapper .left-area p { font-size: 18px; line-height: 1.6; margin-bottom: 32px; }

/* buttons */
.rts-btn { font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.rts-btn.btn-primary, .rts-btn.btn-border { height: 52px; padding: 0 24px; gap: 10px; }
.rts-btn.btn-primary { color: #fff; }
.rts-btn.btn-border { border: 1.5px solid var(--color-primary); color: var(--ds-ink); }
.rts-btn img, .rts-btn svg { width: 20px; height: 20px; flex: none; }
.rts-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.ds-cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.ds-cta-group.center { justify-content: center; }
.ds-cta-group .rts-btn { margin: 0; }
@media (max-width: 479px) {
  .ds-cta-group { flex-direction: column; align-items: stretch; }
  .ds-cta-group .rts-btn { max-width: none; width: 100%; }
}

/* about: page hero */
.ds-page-hero {
  position: relative; color: #fff;
  background: #0d1330 url(../images/banner/04.webp) center / cover no-repeat;
  padding: clamp(96px, 11vw, 150px) 0;
}
.ds-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,13,34,.82) 0%, rgba(9,13,34,.45) 65%, rgba(9,13,34,.25) 100%);
}
.ds-page-hero .container { position: relative; }
.ds-page-hero .ds-eyebrow { color: #7fd3f7; }
.ds-page-hero h1 { color: #fff; max-width: 14ch; margin: 0 0 20px; }
.ds-page-hero p { color: rgba(255,255,255,.84); font-size: 20px; line-height: 1.6; max-width: 56ch; margin: 0; }

/* about: intro */
.ds-intro h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.ds-intro p { font-size: 17px; line-height: 1.7; max-width: 62ch; }
.ds-intro .ds-intro-lead { font-size: 20px; line-height: 1.6; color: var(--ds-ink); margin-bottom: 24px; }
.ds-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 16px 0; }
.ds-formula .chip {
  font-family: var(--font-display); font-size: 15px; line-height: 1; padding: 10px 14px;
  border: 1px solid var(--ds-line); background: var(--ds-surface); color: var(--ds-ink); border-radius: 999px;
}
.ds-formula .plus { font-family: var(--font-display); font-size: 18px; color: var(--color-primary); }
.ds-intro .ds-formula-note { font-size: 16px; color: var(--ds-muted); margin: 0; }

/* about: image band */
.ds-image-band { position: relative; overflow: hidden; z-index: 0; height: clamp(280px, 40vw, 560px); }
.ds-image-band > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -1; }

@media (prefers-reduced-motion: reduce) {
  .ds-case-card, .rts-btn { transition: none; }
  .ds-case-card:hover { transform: none; }
}

/* 5-up tile grid (template bootstrap build reorders row-cols rules) */
.ds-grid-5 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 576px) {
  .ds-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .ds-grid-5 > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .ds-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .ds-grid-5 > :last-child { grid-column: auto; }
}

/* footer */
.ds-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 768px) { .ds-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ds-footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ds-footer-grid .single-nav-area-footer ul li a { font-size: 15px; line-height: 1.4; }
.ds-footer-sep { margin: 0 6px; }

/* mega-menu side panel */
.ds-menu-panel { padding: 45px 0 45px 32px; border-left: 1px solid var(--ds-line); height: 100%; }
.ds-menu-panel h4 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.ds-menu-panel p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; color: var(--ds-text); }

/* text link with arrow */
.ds-link { font-family: var(--font-display); font-size: 16px; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; transition: gap .15s ease-out; }
.ds-link:hover { gap: 10px; color: var(--color-primary); }
.nav-area ul li a.ds-link { padding: 0; display: inline-flex; color: var(--color-primary); }

/* chip variants */
.ds-chip-list.center { justify-content: center; }
.ds-chip-list.lg li { font-size: 15px; padding: 10px 16px; }

/* case card extras */
a.ds-case-card { color: inherit; }
.ds-case-card .icon { margin-bottom: 20px; }
.ds-case-card .icon img { width: 40px; height: 40px; }
.ds-case-card .ds-chip-list { margin-top: 16px; }
.ds-case-card .ds-link { margin-top: auto; padding-top: 24px; }

/* ordered flow of steps */
.ds-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: ds-step; }
@media (min-width: 768px) { .ds-flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ds-flow { grid-template-columns: repeat(3, 1fr); } }
.ds-flow > li { background: #fff; border: 1px solid var(--ds-line); padding: 28px; margin: 0; counter-increment: ds-step; }
.ds-flow > li::before { content: counter(ds-step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; color: var(--color-primary); margin-bottom: 12px; }
.ds-flow h3, .ds-flow h4 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.ds-flow p { font-size: 16px; line-height: 1.6; margin: 0; }

/* capability cards (solution detail pages) */
.ds-capability { height: 100%; padding: 32px; background: #fff; border: 1px solid var(--ds-line); }
.ds-capability h3 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
.ds-capability p { font-size: 16px; line-height: 1.65; margin: 0 0 12px; }
.ds-capability p:last-child { margin-bottom: 0; }

/* contact page */
.ds-contact-heading { font-size: 24px; line-height: 1.3; margin-bottom: 24px; }
.ds-contact-form { margin-top: 0; }
.contact-form select {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid #D1D1D1; border-radius: 0;
  background: #fff; color: var(--ds-ink); font-size: 16px;
}
.contact-form select:focus { border-color: var(--color-primary); outline: none; }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
.contact-form legend { float: none; width: auto; font-size: 14px; color: #4F4F4F; margin-bottom: 7px; }
.ds-radio-group { display: flex; flex-wrap: wrap; gap: 24px; }
.ds-radio-group label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; color: var(--ds-ink); }
.contact-form .ds-radio-group input { width: 18px; height: 18px; margin: 0; }
.contact-form .req { color: var(--color-primary); }
.contact-form .form-check-label a { color: var(--color-primary); text-decoration: underline; }
.ds-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ds-form-status { margin: 16px 0 0; font-size: 16px; min-height: 1.5em; }
.ds-form-status.is-success { color: #1f7a44; }
.ds-form-status.is-error { color: #b42318; }
.ds-contact-panel { padding: 32px; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.ds-contact-panel h2 { font-size: 22px; line-height: 1.3; margin-bottom: 24px; }
.ds-contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.ds-contact-list li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.ds-contact-list i { flex: none; width: 20px; margin-top: 22px; font-size: 18px; color: var(--color-primary); text-align: center; }
.ds-contact-list .ds-eyebrow { display: block; margin-bottom: 4px; }
.ds-contact-list a { display: block; font-size: 17px; line-height: 1.5; color: var(--ds-ink); }
.ds-contact-list a:hover { color: var(--color-primary); }
.ds-map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* sticky header */
body { overflow-x: clip; }
@media only screen and (max-width: 1199px) { body { overflow: visible; overflow-x: clip; } }
.header-style-one { position: sticky; top: 0; z-index: 999; background: #fff; transition: box-shadow .2s ease-out; }
.header-style-one.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 40, .08); }
.header-style-one.is-scrolled .nav-area ul li > a.nav-link { padding-top: 26px; padding-bottom: 26px; }
@media (prefers-reduced-motion: reduce) { .header-style-one { transition: none; } }

/* footer text button (cookie settings) */
.ds-footer-link { width: auto; display: inline-block; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.ds-footer-link:hover { color: var(--color-primary); }

/* ============ case study story components ============ */
/* meta list in hero: <dl class="ds-cs-meta"><div><dt>Industry</dt><dd>…</dd></div>…</dl> */
.ds-cs-meta { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 32px 0 0; }
.ds-cs-meta > div { min-width: 0; }
.ds-cs-meta dt { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #7fd3f7; margin-bottom: 6px; }
.ds-cs-meta dd { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }

/* sticky in-page jump bar: <nav class="ds-cs-nav" aria-label="On this page"><div class="container"><a href="#overview">…</a>…</div></nav> */
.ds-cs-nav { position: sticky; top: var(--ds-header-h, 78px); z-index: 50; background: #fff; border-bottom: 1px solid var(--ds-line); }
.ds-cs-nav .container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.ds-cs-nav .container::-webkit-scrollbar { display: none; }
.ds-cs-nav a { flex: none; padding: 16px 0; font-family: var(--font-display); font-size: 15px; color: var(--ds-text); border-bottom: 2px solid transparent; }
.ds-cs-nav a:hover, .ds-cs-nav a:focus-visible { color: var(--ds-ink); border-bottom-color: var(--color-primary); }
.ds-cs-section { scroll-margin-top: calc(var(--ds-header-h, 78px) + 64px); }

/* metrics: <div class="ds-stat-grid"><div class="ds-stat"><span class="ds-stat-value">15+</span><span class="ds-stat-label">…</span><p>…</p></div>…</div> */
.ds-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ds-stat { padding: 28px; background: #fff; border: 1px solid var(--ds-line); border-top: 3px solid var(--color-primary); }
.ds-stat-value { display: block; font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
.ds-stat-label { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--ds-ink); }
.ds-stat p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ds-text); }
.ds-stat-note { margin: 20px 0 0; font-size: 16px; color: var(--ds-muted); }

/* step chain: <ol class="ds-chain"><li>Customer</li><li>CRM</li>…</ol> (arrows drawn between items) */
.ds-chain { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; counter-reset: none; }
.ds-chain > li { display: inline-flex; align-items: center; margin: 0; font-family: var(--font-display); font-size: 14px; line-height: 1.2; color: var(--ds-ink); }
.ds-chain > li { padding: 9px 14px; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.ds-chain > li + li { margin-left: 26px; position: relative; }
.ds-chain > li + li::before { content: "→"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); color: var(--color-primary); font-size: 15px; }
.ds-chain--light > li { background: #fff; }

/* approach steps: <ol class="ds-steps"><li><h3>…</h3><p>…</p>…</li></ol> (auto-numbered 01…) */
.ds-steps { list-style: none; margin: 0; padding: 0; counter-reset: ds-steps; display: grid; gap: 24px; }
.ds-steps > li { counter-increment: ds-steps; position: relative; margin: 0; padding: 36px 36px 36px 104px; background: #fff; border: 1px solid var(--ds-line); }
.ds-steps > li::before { content: counter(ds-steps, decimal-leading-zero); position: absolute; left: 36px; top: 34px; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--color-primary); }
.ds-steps h3 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
.ds-steps p { font-size: 16px; line-height: 1.7; margin: 0 0 12px; max-width: 72ch; }
.ds-steps .ds-chip-list { margin: 8px 0 16px; }
.ds-subgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.ds-subcard { padding: 18px 20px; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.ds-subcard h3, .ds-subcard h4 { font-size: 16px; line-height: 1.35; margin: 0 0 6px; }
.ds-subcard p { font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 575px) { .ds-steps > li { padding: 72px 20px 24px; } .ds-steps > li::before { left: 20px; top: 24px; } }

/* architecture layers: <ol class="ds-layers"><li><h3>…</h3><ul class="ds-chip-list">…</ul></li></ol> */
.ds-layers { list-style: none; margin: 0; padding: 0; counter-reset: ds-layers; display: grid; gap: 0; border: 1px solid var(--ds-line); background: #fff; }
.ds-layers > li { counter-increment: ds-layers; display: grid; grid-template-columns: 56px minmax(180px, 280px) 1fr; align-items: center; gap: 12px 24px; margin: 0; padding: 20px 28px; border-top: 1px solid var(--ds-line); }
.ds-layers > li:first-child { border-top: 0; }
.ds-layers > li::before { content: counter(ds-layers); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-surface); border: 1px solid var(--ds-line); font-family: var(--font-display); font-size: 16px; color: var(--color-primary); }
.ds-layers h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.ds-layers .ds-chip-list { margin: 0; }
@media (max-width: 767px) { .ds-layers > li { grid-template-columns: 40px 1fr; } .ds-layers .ds-chip-list { grid-column: 1 / -1; } }

/* before / after: <div class="ds-before-after"><div class="ds-ba-col ds-ba-before"><h3>Before</h3><ul>…</ul></div><div class="ds-ba-col ds-ba-after">…</div></div> */
.ds-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds-ba-col { padding: 32px; border: 1px solid var(--ds-line); background: #fff; }
.ds-ba-col h3 { font-size: 20px; margin: 0 0 4px; }
.ds-ba-col .ds-ba-sub { display: block; font-size: 14px; color: var(--ds-muted); margin-bottom: 16px; }
.ds-ba-col > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-ba-col > ul > li { position: relative; margin: 0; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ds-ba-before > ul > li::before { content: "–"; position: absolute; left: 6px; top: 0; color: #b42318; font-weight: 700; }
.ds-ba-after { border-color: var(--color-primary); }
.ds-ba-after > ul > li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: #1f7a44; font-weight: 700; }
/* richer columns: chains, chip lists, sub-cards and notes inside a before/after column */
.ds-ba-col h3 + .ds-chain, .ds-ba-col h3 + p { margin-top: 12px; }
.ds-ba-col > .ds-chain, .ds-ba-col > .ds-chip-list, .ds-ba-col > .ds-subgrid { margin: 12px 0 0; }
.ds-ba-col > p { font-size: 15px; line-height: 1.6; margin: 16px 0 0; }
@media (max-width: 767px) { .ds-before-after { grid-template-columns: 1fr; } }

/* checklist: <ul class="ds-checklist"><li>…</li></ul> */
.ds-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 32px; }
.ds-checklist li { position: relative; margin: 0; padding-left: 30px; font-size: 16px; line-height: 1.55; color: var(--ds-ink); }
.ds-checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }

/* contrast quotes: <div class="ds-contrast"><blockquote class="ds-contrast-from"><span>Instead of asking</span><p>…</p></blockquote><blockquote class="ds-contrast-to">…</blockquote></div> */
.ds-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.ds-contrast blockquote { margin: 0; padding: 28px 32px; border: 1px solid var(--ds-line); background: #fff; }
.ds-contrast blockquote span { display: block; font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-muted); margin-bottom: 10px; }
.ds-contrast blockquote p { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: var(--ds-ink); }
.ds-contrast-to { border-color: var(--color-primary) !important; background: #f2faff !important; }
@media (max-width: 767px) { .ds-contrast { grid-template-columns: 1fr; } }

/* tech groups: <div class="ds-tech-groups"><div class="ds-tech-group"><h3>Integration</h3><ul class="ds-chip-list">…</ul></div>…</div> */
.ds-tech-groups { display: grid; gap: 0; border-top: 1px solid var(--ds-line); }
.ds-tech-group { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 12px 32px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ds-line); }
.ds-tech-group h3 { font-size: 17px; margin: 0; }
.ds-tech-group .ds-chip-list { margin: 0; }
@media (max-width: 767px) { .ds-tech-group { grid-template-columns: 1fr; } }

/* long-form prose */
.ds-prose { max-width: 72ch; }
.ds-prose p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.ds-section-head { max-width: 72ch; margin-bottom: 40px; }
.ds-section-head h2 { margin: 0 0 16px; }
.ds-section-head p { font-size: 18px; line-height: 1.65; margin: 0 0 12px; }
.ds-cs-section .ds-chip-list + p, .ds-cs-section .ds-chain + p { margin-top: 20px; }
.ds-cs-section .row + p, .ds-cs-section .ds-before-after + p, .ds-cs-section .ds-checklist + p, .ds-cs-section .ds-flow + p, .ds-cs-section .ds-contrast + p, .ds-cs-section .ds-layers + p, .ds-cs-section .ds-stat-grid + p { margin-top: 28px; }
.ds-cs-section p + .ds-checklist, .ds-cs-section p + .row, .ds-cs-section p + .ds-flow { margin-top: 16px; }

/* home hero masks on phones: keep the two masked images side by side (template stacks them full-width) */
@media only screen and (max-width: 767px) {
  .right-clippath-wrapper { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 40px; }
  .right-clippath-wrapper .left-image { flex: 1 1 0; min-width: 0; }
  .right-clippath-wrapper .jara-mask-1 { height: 280px; }
  .right-clippath-wrapper .left-image.mt_sm--70 { margin-top: 36px !important; }
  .right-clippath-wrapper .shape-image { display: none; }
}
/* layer with description + nested cards: <li><h3>…</h3><div class="ds-layer-body"><p>…</p><div class="ds-subgrid">…</div></div></li> */
.ds-layers .ds-layer-body { min-width: 0; }
.ds-layers .ds-layer-body p { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.ds-layers .ds-layer-body .ds-subgrid { margin: 8px 0 0; }
.ds-layers .ds-layer-body .ds-chip-list + p { margin-top: 12px; }
@media (max-width: 767px) { .ds-layers .ds-layer-body { grid-column: 1 / -1; } }
/* stat values never wrap (ranges like 30–50% in 5-up grids) */
.ds-stat-value { white-space: nowrap; font-size: clamp(30px, 2.9vw, 48px); }
.ds-stat { padding: 24px; }
/* long button labels wrap on phones instead of overflowing */
@media (max-width: 479px) {
  .rts-btn.btn-primary, .rts-btn.btn-border { white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; line-height: 1.3; }
}
.ds-case-card h2.title { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
/* cookie-settings button matches footer links */
.single-nav-area-footer ul li .ds-footer-link { position: relative; color: #262626; font-family: var(--font-display); font-size: 15px; font-weight: 500; line-height: 1.4; }
.single-nav-area-footer ul li .ds-footer-link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px; background: #D1D1D1; transition: .3s; }
.single-nav-area-footer ul li .ds-footer-link::before { content: ""; position: absolute; right: 0; bottom: -5px; width: 0; height: 1px; background: var(--color-primary); transition: .3s; z-index: 1; }
.single-nav-area-footer ul li .ds-footer-link:hover::before { left: 0; right: auto; width: 100%; }

/* no lone card on the last row of 3-up grids: when a row of col-lg-4 cards has 3n+1 items (4, 7, 10…),
   the last four become two pairs (e.g. 4 → 2+2, 7 → 3+2+2, 10 → 3+3+2+2) */
@media (min-width: 992px) {
  .row > .col-lg-4:first-child:nth-last-child(4),
  .row > .col-lg-4:first-child:nth-last-child(3n+4) ~ .col-lg-4:nth-last-child(-n+4) { flex: 0 0 auto; width: 50%; }
}
@media (min-width: 1200px) {
  .ds-flow:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  .ds-flow:has(> li:nth-child(7):last-child) { grid-template-columns: repeat(4, 1fr); }
  .ds-flow:has(> li:nth-child(10):last-child) { grid-template-columns: repeat(5, 1fr); }
  .ds-flow:has(> li:nth-child(10):last-child) > li { padding: 24px 20px; }
}

/* legal pages */
.ds-legal { max-width: 78ch; }
.ds-legal h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin: 48px 0 14px; text-wrap: balance; }
.ds-legal h2:first-child { margin-top: 0; }
.ds-legal h3 { font-size: 19px; line-height: 1.35; margin: 28px 0 10px; }
.ds-legal p, .ds-legal li { font-size: 17px; line-height: 1.75; color: var(--ds-text); }
.ds-legal p { margin: 0 0 14px; }
.ds-legal ul { margin: 0 0 18px; padding-left: 22px; }
.ds-legal li { margin: 0 0 6px; }
.ds-legal a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
button.ds-link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.ds-table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--ds-line); }
.ds-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ds-table th, .ds-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ds-line); }
.ds-table th { font-family: var(--font-display); font-weight: 500; color: var(--ds-ink); background: var(--ds-surface); }
.ds-table tr:last-child td { border-bottom: 0; }
.ds-table code { font-size: 14px; color: var(--ds-ink); background: var(--ds-surface); padding: 1px 5px; }
/* six stats read as two rows of three */
@media (min-width: 768px) { .ds-stat-grid:has(> .ds-stat:nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }

/* image + content split section (Home: Why Digital Sarthi) */
.ds-split-media { position: relative; overflow: hidden; z-index: 0; height: 100%; min-height: 420px; }
.ds-split-media > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
@media (max-width: 991px) { .ds-split-media { min-height: 280px; height: 320px; } }
button.ds-link { width: auto; display: inline; height: auto; border: 0; color: var(--color-primary); font-family: inherit; }

/* case study image band: slanted mask + parallax (same effect as the Home hero masks)
   <div class="ds-cs-media jarallax" data-speed=".7"><img class="jarallax-img" src="…" alt="…"></div> */
.ds-cs-media { position: relative; overflow: hidden; z-index: 0; height: clamp(260px, 34vw, 460px); clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%); background: var(--ds-surface); }
.ds-cs-media > .jarallax-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ds-cs-media-block { margin-top: 56px; }
.ds-cs-media-block + .row, .ds-cs-media-block + div { margin-top: 56px; }
.container > .ds-cs-media-block:first-child { margin-top: 0; }
/* sub-heading inside a case-study section (e.g. "API request lifecycle" after the architecture layers) */
.ds-cs-section .container > h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin: 64px 0 12px; }
.ds-cs-section .container > .ds-section-head + h3 { margin-top: 0; }
@media (max-width: 767px) { .ds-cs-section .container > h3 { margin-top: 44px; } }
/* wide screens: header and footer span the viewport instead of the 1140px content column */
@media (min-width: 1400px) {
  .header-style-one > .container,
  .rts-footer-area > .container,
  .rts-copyright-area-one > .container { max-width: none; padding-left: clamp(40px, 3.2vw, 72px); padding-right: clamp(40px, 3.2vw, 72px); }
}
/* footer brand column: LinkedIn under the tagline */
.ds-footer-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: 24px; border: 1px solid var(--ds-line, #e3e6ee); color: #262626; font-size: 17px; transition: color .2s ease-out, border-color .2s ease-out, background-color .2s ease-out; }
.ds-footer-social:hover, .ds-footer-social:focus-visible { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.rts-footer-area .logo-area .disc:has(+ .ds-footer-social) { margin-bottom: 0; }
/* in-between widths: the eight-item menu needs ~1280px, so tablets and small laptops use the hamburger menu */
@media (min-width: 992px) and (max-width: 1199px) {
  .header-wrapper-1 .nav-area { display: none; }
  .button-area-right-header .menu-btn-toggle { display: block; }
  .header-wrapper-1 { padding: 20px 0; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .nav-area ul { gap: 24px; }
}
/* hero breathing room below 1200px: the heading otherwise sits flush under the header and, on tablets, the buttons touch the next section */
@media (max-width: 1199px) { .banner-wrapper-one { padding-top: 48px; } }
@media (min-width: 992px) and (max-width: 1199px) { .banner-wrapper-one { padding-bottom: 64px; } }
@media (max-width: 575px) { .banner-wrapper-one { padding-top: 32px; } }
@media (min-width: 768px) and (max-width: 991px) { .right-clippath-wrapper { margin-top: 48px; } }
