.brand__logo {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: 9.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .brand__logo {
    height: 2.15rem;
    max-width: 7.25rem;
  }
}

.topbar__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__brand-link img {
  display: block;
  width: auto;
  height: 1.5rem;
  object-fit: contain;
}

.nav-expand {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  border: 1px solid rgb(15 28 46 / 0.15);
  border-radius: 6px;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / 1rem no-repeat;
  cursor: pointer;
}

.site-nav > li {
  position: relative;
}

@media (max-width: 959px) {
  .site-nav > li:has(.dropdown) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav > li:has(.dropdown) > a {
    flex: 1;
  }

  .nav-expand {
    display: inline-flex;
  }

  .site-nav > li.is-expanded > .nav-expand {
    transform: rotate(180deg);
  }

  .site-nav > li:has(.dropdown) > .dropdown {
    flex-basis: 100%;
  }
}

.org-chart {
  display: block;
  width: 100%;
  max-width: 40rem;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
}

.service-grid,
.cert-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.service-card,
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgb(15 28 46 / 0.12);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover,
.cert-card:hover {
  border-color: rgb(15 28 46 / 0.28);
  box-shadow: 0 10px 28px rgb(15 28 46 / 0.08);
  transform: translateY(-2px);
}

.service-card h3,
.cert-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p,
.cert-card p {
  margin: 0;
  color: var(--muted, #5a6b7d);
  flex: 1;
}

.service-card__cta,
.cert-card__cta {
  font-weight: 600;
  font-size: 0.9rem;
}

.about-prose {
  max-width: 65ch;
}

.about-prose ol {
  padding-left: 1.25rem;
}

.about-prose li {
  margin-bottom: 0.75rem;
}

.proposal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.proposal-back:hover {
  opacity: 1;
}

.compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare__scroll table {
  min-width: 36rem;
}

.announcement-empty {
  display: none;
  padding: 2rem;
  text-align: center;
  color: var(--muted, #5a6b7d);
  border: 1px dashed rgb(15 28 46 / 0.15);
  border-radius: 10px;
}

.announcement-empty.is-visible {
  display: block;
}

.sidebar--sticky {
  position: sticky;
  top: calc(var(--nav-h, 4.5rem) + var(--topbar-h, 0px) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
