.astu-entry-page .main-content {
  min-height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--wr-night);
}

.astu-entry {
  min-height: 100dvh;
  padding: 0;
  color: var(--wr-paper-on-forest);
  background: var(--wr-night);
  font-size: var(--type-body);
}

.astu-entry-grid {
  min-height: 100dvh;
}

.astu-entry-brand,
.astu-entry-access {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(var(--space-2xl), 6vw, var(--space-5xl));
}

.astu-entry-brand {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-inline-end: var(--rule-heavy) solid var(--wr-brass);
  background: var(--wr-forest);
}

.astu-entry-access {
  justify-content: center;
  gap: var(--space-3xl);
  color: var(--wr-ink);
  background: var(--wr-paper);
}

.astu-entry-brandbar,
.astu-entry-access-head,
.astu-entry-capabilities > span,
.astu-access-form label > span {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.astu-entry-brandbar > span:last-child {
  display: block;
}

.astu-entry-mark {
  display: grid;
  place-items: center;
  width: calc(var(--space-4xl) + var(--space-sm));
  height: calc(var(--space-4xl) + var(--space-sm));
  color: var(--wr-paper);
  background: var(--wr-brass-dark);
  font-family: var(--wr-font-serif);
  font-size: var(--type-display);
  font-weight: var(--weight-bold);
}

.astu-entry-brandbar strong {
  font-family: var(--wr-font-serif);
  font-size: var(--type-heading);
}

.astu-entry-brandbar small,
.astu-entry-help {
  color: var(--wr-muted-on-night);
  font-size: var(--type-body-secondary);
}

.astu-entry-intro {
  align-self: center;
  max-inline-size: var(--measure-wide);
  margin: 0;
}

.astu-entry-intro h1 {
  max-width: none;
  margin-block: var(--space-md);
  color: var(--wr-paper);
  font-family: var(--wr-font-serif);
  font-size: clamp(var(--type-display), 6vw, calc(var(--type-display) * 2));
  font-weight: var(--weight-semibold);
  line-height: var(--line-tight);
}

.astu-entry-access-head {
  align-items: start;
  justify-content: space-between;
}

.astu-entry-access-head h2 {
  margin: var(--space-xs) 0 0;
  font-family: var(--wr-font-serif);
  font-size: clamp(var(--type-heading), 4vw, var(--type-display));
}

.astu-entry-access .hibtp-theme-toggle {
  min-height: var(--wr-control-size);
  color: var(--wr-ink);
  border: var(--rule-width) solid var(--wr-rule-ink);
  background: transparent;
}

.astu-access-form {
  display: grid;
  gap: var(--space-xl);
}

.astu-access-form label {
  display: grid;
  gap: var(--space-sm);
  font-size: var(--type-control);
  font-weight: var(--weight-semibold);
}

.astu-access-form input {
  min-height: calc(var(--wr-control-size) + var(--space-md));
  padding-inline: var(--space-lg);
  border: var(--rule-width) solid var(--wr-rule-ink);
  border-radius: var(--radius-sm);
  color: var(--wr-ink);
  background: var(--wr-paper-raised);
  font-size: var(--type-control);
}

.astu-access-form .btn {
  min-height: calc(var(--wr-control-size) + var(--space-sm));
  justify-content: center;
  font-size: var(--type-control);
}

.astu-access-error {
  margin: 0;
  padding: var(--space-lg);
  border-inline-start: var(--rule-heavy) solid var(--wr-danger);
  color: var(--wr-ink);
  background: var(--wr-danger-soft);
}

.astu-entry-help {
  margin: 0;
  color: var(--wr-ink-muted);
}

.astu-modern .hibtp-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-width: var(--wr-control-size);
  min-height: var(--wr-control-size);
  padding-inline: var(--space-md);
  border: var(--rule-width) solid var(--wr-rule-dark);
  border-radius: var(--wr-shell-radius);
  color: var(--wr-paper-on-forest);
  background: transparent;
  font-size: var(--type-control);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.astu-modern .hibtp-theme-toggle .icon {
  width: var(--space-xl);
  height: var(--space-xl);
}

.agency-home .wr-department-copy small,
.project-workspace-actions .wr-department-copy small,
.agency-home .wr-work-group-head > div > p:last-child {
  font-size: var(--type-body-secondary);
}

.agency-home .wr-department-open,
.project-workspace-actions .wr-department-open,
.agency-home .wr-department-count,
.project-workspace-actions .wr-department-count,
.agency-home .wr-department-folio small,
.project-workspace-actions .wr-department-folio small {
  font-size: var(--type-control);
}

.agency-additional {
  padding-block-start: var(--space-3xl);
  border-block-start: var(--rule-heavy) solid var(--wr-brass);
}

.wr-department-link.is-unavailable {
  opacity: var(--state-muted-opacity);
  cursor: not-allowed;
}

.wr-department-link.is-unavailable:hover,
.wr-department-link.is-unavailable:focus-visible {
  border-color: var(--wr-rule-ink);
  background: var(--wr-limestone);
  box-shadow: none;
  translate: 0;
}

.project-information-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 var(--space-2xl);
  border-block: var(--rule-width) solid var(--wr-rule-ink);
  border-inline-start: var(--rule-width) solid var(--wr-rule-ink);
}

.project-information-facts > div {
  min-width: 0;
  padding: var(--space-lg);
  border-inline-end: var(--rule-width) solid var(--wr-rule-ink);
  border-block-end: var(--rule-width) solid var(--wr-rule-ink);
}

.project-information-facts dt {
  color: var(--wr-ink-muted);
  font-size: var(--type-body-secondary);
  font-weight: var(--weight-semibold);
}

.project-information-facts dd {
  margin: var(--space-xs) 0 0;
  overflow-wrap: anywhere;
  color: var(--wr-ink);
  font-size: var(--type-body);
  font-weight: var(--weight-semibold);
}

.project-information-categories {
  grid-column: span 2;
}

.project-information-categories dd {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.astu-entry-page[data-hibtp-theme="dark"] .astu-entry-access {
  color: var(--wr-paper);
  background: var(--wr-night-raised);
}

.astu-entry-page[data-hibtp-theme="dark"] .astu-entry-access .eyebrow,
.astu-entry-page[data-hibtp-theme="dark"] .astu-entry-help {
  color: var(--wr-muted-on-night);
}

.astu-entry-page[data-hibtp-theme="dark"] .astu-entry-access .hibtp-theme-toggle,
.astu-entry-page[data-hibtp-theme="dark"] .astu-access-form input {
  color: var(--wr-paper);
  border-color: var(--wr-rule-on-dark);
  background: var(--wr-night);
}

@media (max-width: 64rem) {
  .astu-entry-brand,
  .astu-entry-access {
    min-height: auto;
  }

  .astu-entry-brand {
    border-inline-end: 0;
    border-block-end: var(--rule-heavy) solid var(--wr-brass);
  }

  .project-information-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .astu-entry-brand,
  .astu-entry-access {
    padding: var(--space-xl);
  }

  .project-information-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-information-categories {
    grid-column: auto;
  }

  .agency-home .wr-department-link,
  .project-workspace-actions .wr-department-link {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon copy"
      "folio copy"
      "open open";
    column-gap: var(--space-lg);
    row-gap: var(--space-md);
    min-height: 0;
  }

  .agency-home .wr-department-folio,
  .project-workspace-actions .wr-department-folio {
    justify-items: start;
    align-content: start;
    min-width: 0;
  }

  .agency-home .wr-department-copy,
  .project-workspace-actions .wr-department-copy {
    align-self: start;
    min-width: 0;
  }

  .astu-modern .hibtp-theme-toggle span {
    display: none;
  }
}
