/* About Us — 07 Expertise */

@keyframes cw-about-expertise-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-about-expertise {
  background: #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-about-expertise__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cw-about-expertise__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.cw-about-expertise__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cw-about-expertise__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #b7a6f5;
}

.cw-about-expertise__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-about-expertise__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #b7a6f5;
}

.cw-about-expertise__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(243, 239, 231, 0.75);
}

.cw-about-expertise__accordion {
  border-top: 1px solid rgba(243, 239, 231, 0.14);
}

.cw-about-expertise__topic {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 231, 0.14);
  background: transparent;
  color: #f3efe7;
  text-align: left;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: inherit;
}

.cw-about-expertise__topic:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-about-expertise__topic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cw-about-expertise__topic-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #f3efe7;
  transition: color 0.25s ease;
}

.cw-about-expertise__topic.is-open .cw-about-expertise__topic-title {
  color: #d4f53c;
}

.cw-about-expertise__topic-toggle {
  font-size: 20px;
  color: #d4f53c;
  transform: rotate(var(--cw-about-expertise-rot, 0deg));
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cw-about-expertise__topic.is-open .cw-about-expertise__topic-toggle {
  --cw-about-expertise-rot: 45deg;
}

.cw-about-expertise__topic-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.7);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cw-about-expertise__topic.is-open .cw-about-expertise__topic-desc {
  max-height: 140px;
}

.cw-about-expertise__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.cw-about-expertise__process {
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cw-about-expertise__process-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}

.cw-about-expertise__process-heading {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.cw-about-expertise__process-hint {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(243, 239, 231, 0.5);
}

.cw-about-expertise__bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.cw-about-expertise__bar {
  border: 0;
  cursor: pointer;
  height: 120px;
  border-radius: 14px;
  background: rgba(243, 239, 231, 0.06);
  color: #f3efe7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  text-align: left;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease;
}

.cw-about-expertise__bar.is-active {
  background: #d4f53c;
  color: #141210;
}

.cw-about-expertise__bar:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-about-expertise__bar-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
}

.cw-about-expertise__bar-fill {
  width: 100%;
  border-radius: 6px;
  background: rgba(243, 239, 231, 0.2);
  transition: height 0.35s ease, background 0.25s ease;
  align-self: flex-end;
}

.cw-about-expertise__bar.is-active .cw-about-expertise__bar-fill {
  background: #141210;
}

.cw-about-expertise__process-detail {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-about-expertise__process-detail.is-animating {
  animation: cw-about-expertise-in 0.3s ease both;
}

.cw-about-expertise__process-step-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #d4f53c;
}

.cw-about-expertise__process-step-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.75);
}

.cw-about-expertise__quote {
  margin: 0;
  border-radius: 28px;
  background: #d4f53c;
  color: #141210;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-about-expertise__quote-text {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
}

.cw-about-expertise__quote-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .cw-about-expertise__bars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-about-expertise__topic-desc,
  .cw-about-expertise__bar-fill,
  .cw-about-expertise__process-detail.is-animating {
    transition: none;
    animation: none;
  }
}
