.dd-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--t2);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.hero {
  padding: 140px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--bd);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: linear-gradient(180deg, #edf7fb 0%, var(--bg) 100%);
  z-index: -1;
}
.h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--t3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.back-btn {
  font-size: 13px;
  color: var(--t2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.back-btn:hover {
  color: var(--hd);
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.filter-bar-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--bd);
  background: var(--sf);
  color: var(--t2);
  transition: all 0.2s;
}
.filter-btn.active {
  background: #2c2c2c;
  color: #fff;
  border-color: #2c2c2c;
}
.search-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: var(--sf);
  width: 100%;
  max-width: 360px;
  outline: none;
  margin-bottom: 24px;
}
.stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 249, 246, 0.96) 100%);
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid var(--bd);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--hover-ring);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1;
  color: var(--tx);
}
.div-header {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.div-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--hover-ring);
  background: var(--bg2);
}
.div-header.closed {
  border-radius: 16px;
}
.div-body {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-top: 1px solid #f0eeea;
  border-radius: 0 0 16px 16px;
  padding: 8px 14px 14px;
}
.agent-header {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  margin: 2px 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
  border: 1px solid transparent;
}
.agent-header:hover {
  background: var(--bg2);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--hover-ring);
}
.agent-header.open {
  background: var(--bg2);
}
.dept-header {
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  margin-top: 8px;
  color: var(--t2);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.dept-header:hover {
  background: var(--bg2);
  color: var(--tx);
}
.dept-header.open {
  color: var(--tx);
}
.task-row {
  padding: 12px 16px;
  margin-bottom: 4px;
  margin-left: 20px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--bd);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.task-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--hover-ring);
}
.task-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--t3);
  flex-shrink: 0;
  width: 24px;
}
.task-name {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}
.task-tools {
  font-size: 11px;
  color: var(--t3);
  margin-top: 4px;
  margin-left: 24px;
}
.chevron {
  color: #c0bdb6;
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.25s;
  display: inline-block;
}
.level-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .ct {
    padding: 0 20px;
  }
  .task-row {
    margin-left: 8px;
  }
  .hero {
    padding: 124px 0 56px;
  }
}

/* Solid white card surfaces, consistent with the landing page. */
.stat-card,
.div-header,
.div-body,
.task-row,
.cd {
  background: #fff;
}

.orchestra-intro {
  margin-top: 16px;
  color: var(--t2);
  font-size: 17px;
  line-height: 1.7;
  max-width: 900px;
}
.symphony-example {
  margin-top: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bd);
  border-radius: 16px;
  background: #fff;
}
.symphony-example h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
}
.symphony-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.symphony-flow li {
  position: relative;
  padding: 20px;
  border: 1px solid var(--bd);
  border-top: 2.25px solid var(--pg);
  border-radius: 12px;
  background: #fff;
}
.symphony-flow .symphony-finance {
  border-top-color: var(--pr);
}
.symphony-flow .symphony-operations {
  border-top-color: var(--py);
}
.symphony-flow li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -21px;
  top: 50%;
  color: var(--hd);
}
.symphony-flow span {
  color: var(--t2);
  font-size: 12px;
  font-weight: 700;
}
.symphony-flow h4 {
  margin: 10px 0 8px;
  font-size: 16px;
}
.symphony-flow p,
.symphony-result {
  font-size: 15px;
  line-height: 1.6;
  color: var(--t2);
}
.symphony-result {
  padding-top: 20px;
  border-top: 1px solid var(--bd);
}
.orchestra-benefits {
  margin-top: 24px;
}
.orchestra-benefits h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.orchestra-catalog {
  padding-top: 64px;
  padding-bottom: 80px;
}
.orchestra-catalog #app {
  margin-top: 32px;
}
.orchestra-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.catalog-search-label {
  display: block;
  color: var(--t2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.orchestra-catalog .search-input {
  max-width: 100%;
}
.catalog-empty {
  padding: 32px;
  border: 1px solid var(--bd);
  border-radius: 14px;
  background: #fff;
}
.catalog-empty p {
  margin: 12px 0 20px;
  color: var(--t2);
}
@media (max-width: 680px) {
  .symphony-flow,
  .orchestra-benefits {
    grid-template-columns: 1fr;
  }

  .symphony-flow li:not(:last-child)::after {
    content: '↓';
    top: auto;
    bottom: -25px;
    right: 50%;
  }
  .orchestra-stats .stat-num {
    font-size: 36px;
  }
  .orchestra-stats .stat-card {
    padding: 16px 8px;
  }
  .filter-bar {
    flex-direction: column;
  }
}

/* Paired Performer visual used by the Maestro Symphony cards. */
.orchestra-performer-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(48px, 0.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  max-width: 760px;
  margin: 32px auto;
}
.orchestra-performer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}
.symphony-emblem {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--performer-color, var(--pg));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--performer-color, var(--pg)) 18%, transparent);
  border-radius: 50%;
  background: #fff;
}
.symphony-emblem img {
  width: 38px;
  height: 38px;
}
.orchestra-performer h4 {
  font-size: 16px;
  line-height: 1.4;
}
.orchestra-performer p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.6;
}
.orchestra-string {
  position: relative;
  height: 1px;
  margin-top: 32px;
  background: linear-gradient(90deg, #c8e7ed, var(--hd), #c8e7ed);
}
.orchestra-string::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--hd);
  transform: translate(-50%, -50%);
}
@media (max-width: 520px) {
  .orchestra-performer-pair {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 6px;
  }
  .orchestra-performer h4 {
    font-size: 14px;
  }
  .orchestra-performer p {
    font-size: 13px;
  }
}

.symphony-example--finance .symphony-emblem {
  --performer-color: var(--pr);
}

.catalog-performer-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--performer-color);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--performer-color) 18%, transparent);
}

.symphony-card-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--bd);
}
.symphony-card-header h3 {
  font-size: 22px;
}
.symphony-card-header .symphony-example-team {
  margin-top: 2px;
  color: var(--prd);
  font-size: 13px;
}
.symphony-card-header .symphony-example-note {
  margin-top: 8px;
  color: var(--t2);
  font-size: 13px;
  line-height: 1.6;
}
.symphony-group {
  margin: 24px;
  border: 1px solid #d8e5e9;
  border-top: 2.25px solid var(--hd);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.symphony-group h3.symphony-group-title {
  padding: 18px 28px;
  margin: 0;
  border-bottom: 1px solid #d8e5e9;
  background: #f3f9fb;
  color: #1a5568;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}
.symphony-group-body {
  padding: 16px 28px;
}
.symphony-group-body > .orchestra-intro {
  margin-top: 0;
  font-size: 15px;
  max-width: none;
}
@media (max-width: 680px) {
  .symphony-group {
    margin: 18px 10px;
  }
  .symphony-card-header,
  .symphony-group-body,
  .symphony-group h3.symphony-group-title {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Match the Performer anatomy section's type scale and spacing. */
.orchestra-explanation {
  padding: 80px 0;
  border-bottom: 1px solid var(--bd);
}
.orchestra-explanation .h2,
.orchestra-catalog .h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.2;
}
.orchestra-explanation .bl {
  font-size: 17px;
  line-height: 1.7;
  color: var(--t2);
  max-width: 640px;
}
@media (max-width: 768px) {
  .orchestra-explanation {
    padding: 60px 0;
  }
  .orchestra-explanation .ct {
    padding: 0 20px;
  }
}

@media (max-width: 680px) {
  .symphony-card-header h3 {
    font-size: 19px;
  }
}

.symphony-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.symphony-header-copy {
  min-width: 0;
}
.symphony-header-symbol {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.symphony-header-symbol .symphony-emblem {
  width: 40px;
  height: 40px;
  border-width: 1.5px;
  box-shadow: 0 0 0 4px rgba(255, 179, 186, 0.18);
}
.symphony-header-symbol .symphony-emblem img {
  width: 30px;
  height: 30px;
}
.symphony-header-link {
  position: relative;
  width: 24px;
  height: 1px;
  background: var(--hd);
}
.symphony-header-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hd);
  box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%);
}
@media (max-width: 520px) {
  .symphony-card-header {
    gap: 12px;
  }
  .symphony-header-symbol .symphony-emblem {
    width: 30px;
    height: 30px;
  }
  .symphony-header-symbol .symphony-emblem img {
    width: 24px;
    height: 24px;
  }
  .symphony-header-link {
    width: 16px;
  }
}
