/* Industry navigation follows the agreed business scope. Gastronomy remains
   an ordinary external link, outside the Pamnora tab list. */
.visual-orbit {
  transform: none;
  right: 0;
}

.industry-navigation {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  max-width: 790px;
}

.industry-navigation .industry-tabs {
  min-width: 0;
  gap: 4px;
}

.industry-navigation .industry-tabs button {
  gap: 14px;
  padding-inline: 12px;
}

.industry-gastronomy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 42px;
  padding: 9px 0 9px 17px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-ink);
}

.industry-gastronomy span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--forest);
}

.industry-gastronomy .icon {
  width: 13px;
  height: 13px;
}

.industry-gastronomy:hover,
.industry-gastronomy:hover span {
  color: var(--copper-ink);
}

.industry-panel:has(.agency-scope:not([hidden])) {
  flex-wrap: wrap;
}

.agency-scope:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-basis: 100%;
  padding-top: 5px;
}

.agency-scope > span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted-ink);
}

.agency-scope ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 11px;
  color: var(--forest);
}

.agency-scope li::before {
  content: '·';
  margin-right: 8px;
  color: var(--copper-ink);
}

@media (max-width: 1150px) and (min-width: 701px) {
  .audiences {
    align-items: flex-start;
  }

  .industry-navigation {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .industry-navigation .industry-tabs {
    flex-basis: 100%;
  }

  .industry-gastronomy {
    min-height: 32px;
    border-left: 0;
    padding: 5px 12px;
  }
}

@media (max-width: 700px) {
  .industry-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    max-width: none;
  }

  .industry-navigation .industry-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .industry-navigation .industry-tabs button {
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 6px;
    font-size: 11px;
    gap: 0;
  }

  .industry-navigation .industry-tabs button .icon {
    display: none;
  }

  .industry-gastronomy {
    justify-content: center;
    min-height: 44px;
    padding: 10px 6px;
    border-left: 0;
    font-size: 11px;
  }

  .agency-scope:not([hidden]) {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 5px;
  }

  /* The rotated ellipse used to extend the 390 px page to 422 px. */
  .visual-orbit {
    transform: none;
    right: 0;
  }

  .dashboard {
    grid-template-columns: 43px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }

  .hero-visual,
  .dash-main,
  .dash-body {
    min-width: 0;
  }

  .final-invitation h2 {
    font-size: clamp(26px, 7.2vw, 32px);
    text-wrap: balance;
    overflow-wrap: break-word;
  }
}

@media (max-width: 420px) {
  .site-header .brand-lockup {
    width: 174px;
    height: 46px;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .header-actions .button-small {
    font-size: 10px;
    white-space: nowrap;
    padding-inline: 10px;
    gap: 0;
  }

  .header-actions .button-small .icon {
    display: none;
  }

  .mobile-menu-button {
    min-width: 36px;
    min-height: 44px;
    padding: 8px;
  }

  .dash-task strong {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .site-header .brand-lockup {
    width: 148px;
    height: 39px;
  }

  .header-inner {
    gap: 8px;
  }

  .dashboard {
    grid-template-columns: 33px minmax(0, 1fr);
  }
}
