.promo-strip,
.promo-banner {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--halo-color-nav-promo-background);
  color: var(--halo-color-nav-promo-text);
  font-family: var(--halo-font-narrow, "Inter Tight", "Inter", system-ui, sans-serif);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
}

.promo-banner {
  position: relative;
  z-index: 1001;
  min-height: 32px;
  align-items: center;
}

.promo-banner .promo-msg {
  display: none;
  margin: 0;
}

.promo-banner .promo-msg.active {
  display: block;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid var(--halo-color-nav-border);
  background: color-mix(in srgb, var(--halo-color-nav-background) 92%, transparent);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 104px;
  font-size: 1rem;
  font-weight: 600;
}

.brand img {
  width: 108px;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--halo-color-surface-dark);
  color: var(--halo-color-action-primary);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-menu-button,
.icon-button {
  position: relative;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--halo-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-links a[aria-current="page"] {
  background: transparent;
  color: var(--halo-ink);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--halo-yellow);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions-right .icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--halo-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-out;
}

.nav-actions-right .icon-btn:hover,
.nav-actions-right .icon-btn:focus-visible {
  background: var(--halo-color-surface-muted);
}

.nav-cta {
  margin-left: 8px;
}

.nav-menu-button {
  display: none;
}

.card {
  overflow: hidden;
  border: 1px solid var(--halo-line);
  border-radius: var(--radius-md);
  background: var(--halo-paper);
  box-shadow: var(--shadow-card);
}

.card__body {
  padding: 22px;
}

.card h3 {
  margin-bottom: 8px;
}

.media-card {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--halo-color-surface-dark);
  color: var(--halo-color-text-inverse);
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.media-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.source-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--halo-wash);
  color: var(--halo-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero:has(> .hero__media) {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--halo-color-surface-dark);
  color: var(--halo-color-text-inverse);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 38, 0.1), rgba(7, 24, 38, 0.68));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: 0 0 70px;
}

.hero:has(> .hero__media) h1 {
  margin-bottom: 18px;
  font-size: var(--halo-type-display);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
}

.hero:has(> .hero__media) p {
  max-width: 620px;
  color: var(--halo-color-text-inverse-muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--halo-line);
  border-block: 1px solid var(--halo-line);
}

.stat-strip > div {
  padding: 24px;
  background: var(--halo-paper);
}

.stat-strip strong {
  display: block;
  font-size: 1.55rem;
}

.accordion {
  border-top: 1px solid var(--halo-line);
}

.accordion__item {
  border-bottom: 1px solid var(--halo-line);
}

.accordion__button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.accordion__panel {
  display: none;
  padding: 0 0 20px;
  color: var(--halo-muted);
  line-height: 1.55;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

.site-footer {
  padding: 52px 0;
  background: var(--halo-color-surface-dark);
  color: var(--halo-color-text-inverse);
}

.site-footer .grid {
  align-items: start;
}

.site-footer a,
.site-footer p {
  color: var(--halo-color-text-inverse-muted);
}

.drawer,
.modal {
  position: fixed;
  z-index: 100;
  display: none;
}

.drawer.is-open,
.modal.is-open {
  display: block;
}

.drawer {
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  background: var(--halo-paper);
  box-shadow: var(--shadow-soft);
}

.drawer__body,
.modal__panel {
  padding: 24px;
}

.modal {
  inset: 0;
  background: var(--halo-color-drawer-scrim);
}

.modal__panel {
  width: min(680px, calc(100% - 32px));
  margin: 10vh auto;
  border-radius: var(--radius-lg);
  background: var(--halo-paper);
}

@media (max-width: 1120px) {
  .nav-menu-button {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--nav-height) + 8px);
    display: none;
    padding: 12px;
    border: 1px solid var(--halo-line);
    border-radius: var(--radius-md);
    background: var(--halo-paper);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}


/* Workbench Drawer */
.workbench-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--halo-yellow);
  color: var(--halo-color-text-primary);
  border: 2px solid var(--halo-yellow-active);
  box-shadow: var(--halo-shadow-raised);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.workbench-trigger:hover,
.workbench-trigger:focus-visible {
  transform: scale(1.05);
  background: var(--halo-yellow-hover);
}

.workbench-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--halo-color-drawer-scrim);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-out;
}

.workbench-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1002;
  width: min(340px, 90vw);
  background: var(--halo-color-drawer-background);
  transform: translateX(-101%);
  visibility: hidden;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.26s;
  display: flex;
  flex-direction: column;
}

.workbench-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: var(--halo-shadow-raised);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.workbench-drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.workbench-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--halo-color-border-subtle);
}

.workbench-drawer__header h2 {
  font-size: 1.125rem;
  margin: 0;
}

.workbench-drawer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.workbench-drawer__logo {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.workbench-drawer__brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--halo-color-text-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

.workbench-drawer__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--halo-color-text-secondary);
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.workbench-drawer__close:hover {
  background: var(--halo-color-surface-muted);
  color: var(--halo-color-text-primary);
}

.workbench-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workbench-drawer__section h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--halo-color-text-secondary);
  margin-bottom: 8px;
}

.workbench-drawer__link {
  display: block;
  padding: 6px 0;
  color: var(--halo-color-text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 4px;
}

.workbench-drawer__link:hover,
.workbench-drawer__link:focus-visible {
  color: var(--halo-color-link);
}
