/* =========================================================================
   What We Do page — additional components (chain diagram, practice blocks,
   for-box, Sikaflow feature). Loaded after css/style.css; reuses tokens.
   ========================================================================= */

/* ---------------------------------------------------------------------- */
/* Chain diagram: 3 practices + advisory line                               */
/* ---------------------------------------------------------------------- */
.chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chain__link {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 30px 26px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.chain__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--gold-500); }
/* arrow connector between chain links (desktop) */
.chain__link::after {
  content: '\2192';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gold-500);
  font-weight: 700;
  z-index: 1;
}
.chain__link:last-child::after { display: none; }
.chain__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.chain__link h3 { font-size: 1.12rem; margin-bottom: 8px; }
.chain__link p { font-size: 0.92rem; margin-bottom: 0; }
/* the advisory line reads as a distinct fourth line */
.chain__link--advisory {
  border-top-color: var(--navy-800);
  border-left: 3px solid var(--gold-500);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(200, 155, 60, 0.06) 100%);
}
[data-theme="dark"] .chain__link--advisory {
  border-top-color: var(--gold-400);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(200, 155, 60, 0.10) 100%);
}
.chain__link--advisory .chain__num { border-style: dashed; }

/* ---------------------------------------------------------------------- */
/* Practice blocks                                                          */
/* ---------------------------------------------------------------------- */
.practice { max-width: 980px; margin: 0 auto; }
.practice__head { max-width: 640px; margin-bottom: 40px; }
.practice__head h2 { margin-bottom: 16px; }

.practice__body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

/* service list with gold ticks */
.practice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.practice__list li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-900);
}
.practice__list li:last-child { border-bottom: 0; }
.practice__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold-500);
}
[data-theme="dark"] .practice__list li { color: #e6e2d6; border-color: var(--border); }

/* "For" audience box */
.for-box {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.for-box__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.for-box ul { display: flex; flex-direction: column; gap: 10px; }
.for-box ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.for-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--gold-500);
}
/* dark variant for the navy digital section */
.for-box--dark { background: rgba(255, 255, 255, 0.04); border-color: rgba(200, 155, 60, 0.28); }
.for-box--dark .for-box__label { color: var(--gold-400); }
.for-box--dark ul li { color: #b7c0cf; }

/* ---------------------------------------------------------------------- */
/* Sikaflow product feature (navy section)                                */
/* ---------------------------------------------------------------------- */
.product-feature {
  position: relative;
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.14) 0%, rgba(200, 155, 60, 0.04) 100%);
  border: 1px solid rgba(200, 155, 60, 0.4);
  border-radius: var(--radius-md);
  padding: 30px 30px 28px;
  margin-bottom: 8px;
}
.product-feature__badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-400);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.product-feature h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.product-feature p { color: #c3cbd8; font-size: 0.97rem; margin-bottom: 0; max-width: 70ch; }

.example-note {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: #9aa5b7;
  border-left: 3px solid var(--gold-500);
  padding: 4px 0 4px 16px;
  margin-top: 8px;
}
.example-note strong { color: var(--gold-400); }

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px) {
  .chain { grid-template-columns: 1fr; }
  .chain__link::after {
    content: '\2193';
    top: auto;
    right: auto;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .practice__body { grid-template-columns: 1fr; }
  .for-box { position: static; }
}

@media (max-width: 720px) {
  .product-feature { padding: 24px 20px; }
}