:root {
  --ink: #080806;
  --ink-2: #171812;
  --paper: #faf9f4;
  --paper-2: #f1eee5;
  --paper-3: #e8e4d8;
  --line: #ddd8ca;
  --muted: #5f6156;
  --accent: #5b2ff5;
  --accent-dark: #4423cc;
  --accent-warm: #f05a3d;
  --accent-warm-soft: #f4694b;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --nav-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

section {
  scroll-margin-top: calc(var(--nav-height) + 14px);
}

::selection {
  background: rgba(91, 47, 245, 0.16);
}

.ds-container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

/* ---------------------------------------------------------------- nav */

.ds-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(8, 8, 6, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ds-nav.is-scrolled {
  border-color: rgba(8, 8, 6, 0.18);
}

.ds-nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ds-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.ds-logo-text {
  white-space: nowrap;
}

.ds-desktop-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.ds-desktop-links a {
  color: #3b3e36;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.ds-desktop-links a:hover {
  color: var(--ink);
}

.ds-mobile-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.ds-burger {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
}

.ds-burger::before,
.ds-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.22s ease, top 0.22s ease, bottom 0.22s ease;
}

.ds-burger::before {
  top: 1px;
}

.ds-burger::after {
  bottom: 1px;
}

.ds-mobile-button.is-open .ds-burger::before {
  top: 5px;
  transform: rotate(45deg);
}

.ds-mobile-button.is-open .ds-burger::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.ds-mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.ds-mobile-menu[data-open="true"] {
  display: block;
}

.ds-mobile-menu-inner {
  display: grid;
  gap: 4px;
  padding: 10px 0 16px;
}

.ds-mobile-menu a {
  padding: 13px 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

/* ------------------------------------------------------------ buttons */

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ds-btn:active {
  transform: translateY(1px);
}

.ds-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.ds-btn:hover .ds-arrow {
  transform: translateX(3px);
}

.ds-btn-primary {
  color: #fff;
  background: var(--accent);
}

.ds-btn-primary:hover {
  background: var(--ink);
}

.ds-btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.ds-btn-light:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.ds-btn-small {
  min-height: 38px;
  padding: 9px 15px;
  font-size: 14px;
}

/* --------------------------------------------------------------- hero */

.ds-hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    radial-gradient(820px 540px at 12% 88%, rgba(240, 90, 61, 0.17), transparent 64%),
    linear-gradient(90deg, rgba(8, 8, 6, 0.96) 0%, rgba(8, 8, 6, 0.86) 42%, rgba(8, 8, 6, 0.3) 78%, rgba(8, 8, 6, 0.2) 100%),
    url("./hero-digital-squad.webp");
  background-size: cover;
  background-position: center right;
}

.ds-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 76%);
  pointer-events: none;
}

.ds-hero::after,
.ds-dark::after,
.ds-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.ds-hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: 84px 0 74px;
}

.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-warm);
  animation: ds-pulse 2.4s ease-out infinite;
}

@keyframes ds-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 90, 61, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(240, 90, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 90, 61, 0);
  }
}

.ds-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.ds-hero h1 em {
  font-style: italic;
  color: var(--accent-warm-soft);
}

.ds-hero-subtitle {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
}

.ds-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.ds-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.ds-hero-meta span {
  padding-right: 18px;
}

.ds-hero-meta span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.ds-hero-meta strong {
  margin-right: 6px;
  color: #fff;
  font-weight: 600;
}

.ds-hero .ds-btn-primary,
.ds-cta .ds-btn-primary {
  color: var(--ink);
  background: #fff;
}

.ds-hero .ds-btn-primary:hover,
.ds-cta .ds-btn-primary:hover {
  color: #fff;
  background: var(--accent);
}

/* ----------------------------------------------------------- sections */

.ds-section {
  padding: 108px 0;
  position: relative;
}

.ds-section-muted {
  background: var(--paper-2);
}

.ds-section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.ds-section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.ds-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.ds-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.ds-section h2 em {
  font-style: italic;
  color: var(--accent);
}

.ds-dark h2 em,
.ds-cta h2 em,
.ds-client-section h2 em {
  color: var(--accent-warm-soft);
}

.ds-section-lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.ds-section-gap {
  margin-top: 48px;
}

.ds-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.ds-copy-block {
  display: grid;
  gap: 18px;
}

.ds-copy-block p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.ds-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(8, 8, 6, 0.965), rgba(8, 8, 6, 0.945)),
    url("./hero-digital-squad.webp") center / cover;
}

.ds-dark .ds-kicker,
.ds-cta .ds-kicker {
  color: var(--accent-warm-soft);
}

.ds-dark h2,
.ds-cta h2 {
  color: #fff;
}

.ds-dark .ds-section-lead,
.ds-cta .ds-section-lead {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------- hairline grids */

.ds-grid-4,
.ds-grid-5 {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ds-grid-4 .ds-card,
.ds-grid-5 .ds-card,
.ds-partner-card {
  position: relative;
}

.ds-grid-4 .ds-card::after,
.ds-grid-5 .ds-card::after,
.ds-partner-card::after {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-54%, -56%);
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  color: rgba(8, 8, 6, 0.4);
  pointer-events: none;
  z-index: 1;
}

.ds-grid-4::after,
.ds-grid-5::after,
.ds-partner-grid::after {
  content: "+";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(50%, 48%);
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  color: rgba(8, 8, 6, 0.4);
  pointer-events: none;
  z-index: 1;
}

.ds-partner-card::after,
.ds-partner-grid::after {
  color: rgba(255, 255, 255, 0.46);
}

.ds-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ds-card {
  padding: 28px 26px 30px;
  background: var(--paper);
  transition: background 0.2s ease;
}

.ds-card:hover {
  background: #fff;
}

.ds-section-muted .ds-card {
  background: var(--paper-2);
}

.ds-section-muted .ds-card:hover {
  background: #fff;
}

.ds-card-index {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.ds-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ds-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* -------------------------------------------------------------- clienti */

.ds-client-section {
  padding: 76px 0 92px;
  color: #fff;
  background: #080806;
}

.ds-client-section .ds-kicker {
  color: var(--accent-warm-soft);
}

.ds-client-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  column-gap: 64px;
  row-gap: 22px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ds-client-header .ds-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.ds-client-header h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  font-weight: 400;
}

.ds-client-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.68;
}

.ds-ticker {
  overflow: hidden;
  display: flex;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ds-ticker-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: ds-ticker 80s linear infinite;
}

.ds-ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ds-ticker-group span {
  position: relative;
  margin-right: 58px;
}

.ds-ticker-group span::after {
  content: "·";
  position: absolute;
  right: -32px;
  color: var(--accent-warm-soft);
}

@keyframes ds-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-ticker-track {
    animation: none;
  }
}

.ds-client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.ds-client-item {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ds-client-item span {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ds-client-item strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

/* ------------------------------------------------------------- sistema */

.ds-system {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
}

.ds-system-label {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-system-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ds-system-node {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ds-system-arrow {
  color: var(--accent);
  font-size: 16px;
}

.ds-system-loop {
  position: relative;
  max-width: 540px;
  height: 30px;
  margin: 0 auto;
  border: 1px dashed #b9b3a0;
  border-top: 0;
}

.ds-system-loop::before {
  content: "\2191";
  position: absolute;
  top: -8px;
  left: -6px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
  background: transparent;
}

.ds-system-loop span {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  padding: 0 12px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* -------------------------------------------------------------- metodo */

.ds-method {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.ds-method-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.ds-method-number {
  margin-top: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.ds-method-step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ds-method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.ds-method-step ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.ds-method-step li,
.ds-program-card li {
  position: relative;
  padding-left: 22px;
  color: #3c423b;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.ds-method-step li::before,
.ds-program-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ---------------------------------------------------------- caso studio */

.ds-case {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 80px;
  align-items: center;
}

.ds-case .ds-section-lead {
  max-width: 560px;
}

.ds-case-stats {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.ds-case-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.ds-case-stat dt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.ds-case-stat dd {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

/* ------------------------------------------------------------- squadra */

.ds-partner-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ds-partner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px 26px;
  background: #080806;
  transition: background 0.2s ease;
}

.ds-partner-card:hover {
  background: #111210;
}

.ds-partner-role {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.ds-partner-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ds-partner-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.66;
}

.ds-partner-card a,
.ds-partner-site {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ds-partner-card a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-partner-site {
  color: rgba(255, 255, 255, 0.52);
}

/* ------------------------------------------------------ dove si vede */

.ds-value-list {
  max-width: 1020px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.ds-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px 64px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.ds-value-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ds-value-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ds-value-solution {
  position: relative;
  align-self: end;
  margin: 0;
  padding-left: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.ds-value-solution::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
}

/* ------------------------------------------------------------ percorsi */

.ds-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ds-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 8, 6, 0.08);
}

.ds-program-card.is-featured {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.ds-program-card.is-featured p,
.ds-program-card.is-featured li {
  color: rgba(255, 255, 255, 0.72);
}

.ds-program-card.is-featured li::before {
  color: var(--accent-warm-soft);
}

.ds-program-card.is-featured .ds-duration {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.ds-duration {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 3px;
  color: var(--accent-dark);
  background: rgba(91, 47, 245, 0.09);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.ds-program-card h3 {
  margin: 22px 0 12px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ds-program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.ds-program-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.ds-program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ds-program-link .ds-arrow {
  color: var(--accent);
}

.ds-program-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-program-link:hover .ds-arrow {
  transform: translateX(3px);
}

.ds-program-card.is-featured .ds-program-link {
  color: #fff;
}

.ds-program-card.is-featured .ds-program-link .ds-arrow {
  color: var(--accent-warm-soft);
}

/* ----------------------------------------------------------------- faq */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  min-height: 74px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}

.faq-trigger:hover {
  color: var(--accent-dark);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  background: var(--paper-3);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: #fff;
  background: var(--accent);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.25s ease, opacity 0.25s ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

/* ----------------------------------------------------------------- cta */

.ds-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 9, 11, 0.96), rgba(8, 9, 11, 0.88)),
    url("./hero-digital-squad.webp");
  background-size: cover;
  background-position: center;
}

.ds-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px 0;
}

.ds-cta h2 {
  max-width: 720px;
}

.ds-cta-action {
  text-align: right;
}

.ds-cta-alt {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.ds-cta-alt a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-cta-alt a:hover {
  color: #fff;
}

/* -------------------------------------------------------------- footer */

.ds-footer {
  padding: 34px 0;
  background: #050608;
  color: rgba(255, 255, 255, 0.52);
}

.ds-footer-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.ds-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.ds-footer-summary {
  grid-column: span 7;
}

.ds-footer-legal {
  grid-column: span 5;
}

.ds-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.ds-footer a:hover {
  color: #fff;
}

/* -------------------------------------------------------------- reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .ds-grid-5,
  .ds-partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ds-desktop-links,
  .ds-nav .ds-btn-small {
    display: none;
  }

  .ds-mobile-button {
    display: inline-flex;
  }

  .ds-two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ds-client-header {
    grid-template-columns: 1fr;
  }

  .ds-grid-4,
  .ds-grid-5,
  .ds-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-value-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ds-case {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ds-value-solution {
    align-self: start;
  }

  .ds-cta-panel {
    grid-template-columns: 1fr;
  }

  .ds-cta-action {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 66px;
  }

  .ds-container {
    width: min(100% - 32px, 1180px);
  }

  .ds-nav,
  .ds-nav-inner {
    height: var(--nav-height);
  }

  .ds-logo-text {
    font-size: 16px;
  }

  .ds-hero {
    min-height: calc(100svh - 66px);
    background-position: center center;
  }

  .ds-hero::before {
    background-size: 36px 36px;
  }

  .ds-hero-content {
    padding: 54px 0 48px;
  }

  .ds-hero-subtitle {
    font-size: 17px;
    line-height: 1.58;
  }

  .ds-hero-actions,
  .ds-hero-actions .ds-btn {
    width: 100%;
  }

  .ds-section {
    padding: 70px 0;
  }

  .ds-section-lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .ds-copy-block p {
    font-size: 16px;
  }

  .ds-grid-4,
  .ds-grid-5,
  .ds-program-grid,
  .ds-partner-grid {
    grid-template-columns: 1fr;
  }

  .ds-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-client-section {
    padding: 58px 0 70px;
  }

  .ds-client-item {
    min-height: 96px;
    padding: 14px;
  }

  .ds-client-item strong {
    font-size: 16px;
  }

  .ds-method-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ds-system-row {
    gap: 8px;
  }

  .ds-system-node {
    padding: 9px 10px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .ds-system-loop {
    max-width: 88%;
  }

  .ds-footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .ds-footer-summary,
  .ds-footer-legal {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
