/* CSIT outreach — public engagement archive. */

.outreach-page {
  background: var(--off-white);
  color: var(--deep-green);
}

.outreach-page main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  overflow: clip;
}

/* Hero */
.outreach-hero {
  width: 100%;
  height: min(690px, calc(100svh - 104px));
  min-height: 550px;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #d8d1c4;
  color: var(--deep-green);
}

.outreach-hero-marker {
  position: absolute;
  right: -0.08em;
  bottom: -0.23em;
  color: rgba(31, 58, 61, 0.052);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(13rem, 29vw, 34rem);
  font-weight: 500;
  letter-spacing: -0.12em;
  line-height: 0.72;
  pointer-events: none;
}

.outreach-hero-ticker {
  width: 100%;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  overflow: hidden;
  z-index: 2;
}

.outreach-hero-ticker .ticker-track {
  min-width: max-content;
  animation: outreach-ticker-scroll 26s linear infinite;
}

.outreach-hero-ticker.reverse .ticker-track {
  animation-direction: reverse;
}

.outreach-hero-ticker .ticker-text {
  color: var(--deep-green);
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.18em;
}

@keyframes outreach-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.outreach-hero-inner {
  width: 100%;
  min-height: 0;
  padding: clamp(54px, 6vw, 96px) max(4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(70px, 9vw, 180px);
  z-index: 1;
}

.outreach-kicker {
  margin: 0 0 24px;
  color: var(--deep-green);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.outreach-hero h1 {
  margin: 0;
  color: var(--deep-green);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(4.5rem, 9.5vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.outreach-hero-copy {
  max-width: 690px;
  justify-self: end;
}

.outreach-hero-copy > p {
  margin: 0;
  color: rgba(31, 58, 61, 0.8);
  font-size: clamp(1.12rem, 1.52vw, 1.55rem);
  line-height: 1.5;
}

.outreach-hero-facts {
  margin: clamp(34px, 4vw, 56px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(31, 58, 61, 0.27);
}

.outreach-hero-facts div {
  min-width: 0;
  padding: 18px 18px 0 0;
}

.outreach-hero-facts div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(31, 58, 61, 0.27);
}

.outreach-hero-facts dt {
  margin-bottom: 8px;
  color: rgba(31, 58, 61, 0.62);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outreach-hero-facts dd {
  margin: 0;
  color: var(--deep-green);
  font-size: clamp(0.92rem, 1.16vw, 1.2rem);
  font-weight: 500;
  white-space: nowrap;
}

/* Archive */
.outreach-browser {
  width: 100%;
  margin: 0;
  padding: clamp(92px, 8vw, 142px) max(4.5vw, 64px) clamp(110px, 10vw, 176px);
  background: #edf1f0;
  color: var(--deep-green);
}

.outreach-browser-heading {
  margin-bottom: clamp(58px, 6vw, 94px);
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.6fr);
  align-items: end;
  gap: clamp(50px, 7vw, 130px);
  border-bottom: 1px solid rgba(31, 58, 61, 0.25);
}

.outreach-browser-heading h2 {
  max-width: 980px;
  margin: 0;
  color: var(--deep-green);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.outreach-browser-heading > p {
  max-width: 540px;
  margin: 0 0 8px;
  color: rgba(31, 58, 61, 0.68);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.65;
}

/* Format selector and custom geometric symbols. */
.outreach-format-filter {
  min-width: 0;
  margin: 0 0 40px;
  padding: 0;
  border: 0;
}

.outreach-format-filter legend {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  color: rgba(31, 58, 61, 0.62);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.outreach-format-options {
  display: grid;
  grid-template-columns: 1.12fr repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(31, 58, 61, 0.28);
  border-bottom: 1px solid rgba(31, 58, 61, 0.28);
}

.outreach-format-option {
  min-width: 0;
  min-height: 168px;
  position: relative;
  padding: 25px 22px 22px;
  display: grid;
  grid-template-rows: 58px auto;
  gap: 16px;
  border: 0;
  border-right: 1px solid rgba(31, 58, 61, 0.22);
  border-radius: 0;
  background: #dce5e2;
  color: var(--deep-green);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.outreach-format-option:last-child {
  border-right: 0;
}

.outreach-format-option:hover,
.outreach-format-option:focus-visible,
.outreach-format-option.is-active {
  outline: 0;
  background: var(--deep-green);
  color: var(--off-white);
}

.outreach-format-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.outreach-format-copy strong {
  font-size: clamp(0.94rem, 1vw, 1.1rem);
  font-weight: 500;
}

.outreach-format-copy small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.62;
}

.outreach-format-index {
  position: absolute;
  top: 22px;
  right: 20px;
  font: 600 0.58rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  opacity: 0.62;
}

.outreach-format-symbol {
  width: 58px;
  height: 52px;
  position: relative;
  display: block;
  color: currentColor;
}

.outreach-symbol-all {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  grid-template-rows: repeat(2, 18px);
  gap: 5px;
  align-content: center;
}

.outreach-symbol-all i {
  display: block;
  border: 1px solid currentColor;
}

.outreach-symbol-article {
  width: 44px;
  border: 1px solid currentColor;
}

.outreach-symbol-article::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 13px;
  height: 13px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.outreach-symbol-article i {
  width: 24px;
  height: 1px;
  position: absolute;
  left: 9px;
  background: currentColor;
}

.outreach-symbol-article i:nth-child(1) { top: 21px; }
.outreach-symbol-article i:nth-child(2) { top: 29px; }
.outreach-symbol-article i:nth-child(3) { top: 37px; width: 16px; }

.outreach-symbol-audio {
  display: flex;
  align-items: center;
  gap: 5px;
}

.outreach-symbol-audio i {
  width: 2px;
  display: block;
  background: currentColor;
}

.outreach-symbol-audio i:nth-child(1),
.outreach-symbol-audio i:nth-child(5) { height: 15px; }
.outreach-symbol-audio i:nth-child(2),
.outreach-symbol-audio i:nth-child(4) { height: 31px; }
.outreach-symbol-audio i:nth-child(3) { height: 48px; }

.outreach-symbol-video {
  width: 54px;
  height: 42px;
  margin-top: 5px;
  border: 1px solid currentColor;
}

.outreach-symbol-video i {
  width: 0;
  height: 0;
  position: absolute;
  top: 12px;
  left: 20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.outreach-symbol-person i {
  position: absolute;
  display: block;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.outreach-symbol-person i:nth-child(1) {
  width: 15px;
  height: 15px;
  top: 2px;
  left: 21px;
}

.outreach-symbol-person i:nth-child(2) {
  width: 40px;
  height: 23px;
  bottom: 2px;
  left: 9px;
  border-radius: 40px 40px 0 0;
  border-bottom: 0;
}

.outreach-symbol-person i:nth-child(3) {
  width: 54px;
  height: 1px;
  left: 2px;
  bottom: 1px;
  border: 0;
  border-radius: 0;
  background: currentColor;
}

/* Search and filters. */
.outreach-tools {
  width: 100%;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) repeat(3, minmax(185px, 0.55fr)) auto;
  align-items: stretch;
  border-top: 1px solid rgba(31, 58, 61, 0.28);
  border-bottom: 1px solid rgba(31, 58, 61, 0.28);
  background: #dce5e2;
}

.outreach-search,
.outreach-filter {
  min-width: 0;
  min-height: 112px;
  margin: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(31, 58, 61, 0.22);
}

.outreach-search > span:first-child,
.outreach-filter > span {
  margin-bottom: 12px;
  color: rgba(31, 58, 61, 0.62);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.outreach-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(31, 58, 61, 0.44);
}

.outreach-search input,
.outreach-filter select {
  width: 100%;
  min-width: 0;
  padding: 8px 0 11px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--deep-green);
  font: 500 0.91rem/1.2 "Space Grotesk", system-ui, sans-serif;
}

.outreach-search input::placeholder {
  color: rgba(31, 58, 61, 0.48);
}

.outreach-search-field:focus-within {
  border-color: var(--deep-green);
  box-shadow: 0 2px 0 var(--deep-green);
}

.outreach-search-field > span {
  font-size: 1.25rem;
}

.outreach-filter select {
  padding-right: 22px;
  border-bottom: 1px solid rgba(31, 58, 61, 0.44);
  cursor: pointer;
}

.outreach-clear {
  min-width: 132px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: var(--deep-green);
  color: var(--off-white);
  font: 600 0.66rem/1.2 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.outreach-clear:hover,
.outreach-clear:focus-visible {
  outline: 0;
  background: var(--accent);
  color: var(--deep-green);
}

.outreach-results-head {
  min-height: 66px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(31, 58, 61, 0.28);
  border-bottom: 1px solid rgba(31, 58, 61, 0.28);
}

.outreach-results-head p {
  margin: 0;
  color: rgba(31, 58, 61, 0.62);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Editorial ledger. */
.outreach-ledger {
  width: 100%;
}

.outreach-entry {
  min-height: 174px;
  position: relative;
  display: grid;
  grid-template-columns: 70px 90px 118px minmax(0, 1fr) 190px;
  align-items: stretch;
  border-bottom: 1px solid rgba(31, 58, 61, 0.24);
  color: var(--deep-green);
  transition: background 180ms ease, color 180ms ease;
}

.outreach-entry.has-link {
  cursor: pointer;
}

.outreach-entry.has-link:hover,
.outreach-entry.has-link:focus-within {
  background: var(--deep-green);
  color: var(--off-white);
}

.outreach-entry-index,
.outreach-entry-year,
.outreach-entry-format,
.outreach-entry-action {
  padding: 29px 18px;
  border-right: 1px solid rgba(31, 58, 61, 0.2);
}

.outreach-entry.has-link:hover > :not(:last-child),
.outreach-entry.has-link:focus-within > :not(:last-child) {
  border-color: rgba(245, 247, 247, 0.18);
}

.outreach-entry-index,
.outreach-entry-year {
  color: rgba(31, 58, 61, 0.55);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.outreach-entry.has-link:hover .outreach-entry-index,
.outreach-entry.has-link:hover .outreach-entry-year,
.outreach-entry.has-link:focus-within .outreach-entry-index,
.outreach-entry.has-link:focus-within .outreach-entry-year {
  color: rgba(245, 247, 247, 0.64);
}

.outreach-entry-format {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 15px;
}

.outreach-entry-format .outreach-format-symbol {
  transform: scale(0.68);
  transform-origin: top left;
}

.outreach-entry-format-name {
  margin-top: -12px;
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.outreach-entry-content {
  min-width: 0;
  padding: 27px clamp(26px, 3vw, 54px);
  display: grid;
  align-content: center;
  gap: 10px;
}

.outreach-entry-type {
  margin: 0;
  color: rgba(31, 58, 61, 0.58);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.outreach-entry.has-link:hover .outreach-entry-type,
.outreach-entry.has-link:focus-within .outreach-entry-type {
  color: var(--accent);
}

.outreach-entry h3 {
  max-width: 940px;
  margin: 0;
  color: currentColor;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.12rem, 1.35vw, 1.43rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.outreach-entry-details,
.outreach-entry-people {
  max-width: 900px;
  margin: 0;
  color: rgba(31, 58, 61, 0.66);
  font-size: 0.9rem;
  line-height: 1.5;
}

.outreach-entry-people {
  font-size: 0.76rem;
  font-weight: 500;
}

.outreach-entry.has-link:hover .outreach-entry-details,
.outreach-entry.has-link:hover .outreach-entry-people,
.outreach-entry.has-link:focus-within .outreach-entry-details,
.outreach-entry.has-link:focus-within .outreach-entry-people {
  color: rgba(245, 247, 247, 0.7);
}

.outreach-entry-action {
  border-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: currentColor;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outreach-entry-action a {
  position: static;
  color: inherit;
}

.outreach-entry-action a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.outreach-entry-action span:last-child {
  font-size: 1.1rem;
}

.outreach-entry-links {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.outreach-entry-links a {
  border-bottom: 1px solid currentColor;
  font-size: 0.59rem;
}

.outreach-entry-links a::after {
  display: none;
}

.outreach-entry-no-link {
  color: rgba(31, 58, 61, 0.48);
}

.outreach-empty {
  margin: 0;
  padding: 70px 18px;
  border-bottom: 1px solid rgba(31, 58, 61, 0.24);
  color: rgba(31, 58, 61, 0.68);
}

.outreach-pagination {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(31, 58, 61, 0.28);
}

.outreach-pagination button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(31, 58, 61, 0.34);
  border-radius: 0;
  background: transparent;
  color: var(--deep-green);
  font: 600 0.68rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.outreach-pagination button:first-child { justify-self: start; }
.outreach-pagination button:last-child { justify-self: end; }

.outreach-pagination button:hover:not(:disabled),
.outreach-pagination button:focus-visible:not(:disabled) {
  outline: 0;
  background: var(--deep-green);
  color: var(--off-white);
}

.outreach-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.outreach-pagination span {
  color: rgba(31, 58, 61, 0.62);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .outreach-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outreach-search {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-contributor {
    border-top: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-clear {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(245, 247, 247, 0.15);
  }

  .outreach-entry {
    grid-template-columns: 58px 76px 100px minmax(0, 1fr) 154px;
  }
}

@media (max-width: 900px) {
  .outreach-hero {
    height: auto;
    min-height: min(760px, calc(100svh - 88px));
  }

  .outreach-hero-inner {
    padding: 48px 6vw;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 54px;
  }

  .outreach-hero-copy {
    max-width: 680px;
    justify-self: start;
  }

  .outreach-browser {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .outreach-browser-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .outreach-format-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outreach-format-option,
  .outreach-format-option:nth-child(3) {
    border-right: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-format-option:nth-child(even) {
    border-right: 0;
  }

  .outreach-format-option:nth-child(n + 3) {
    border-top: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-format-option:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .outreach-tools {
    grid-template-columns: 1fr 1fr;
  }

  .outreach-search {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-filter {
    border-top: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-clear {
    min-height: 76px;
  }

  .outreach-entry {
    min-height: 0;
    grid-template-columns: 58px 74px minmax(0, 1fr);
  }

  .outreach-entry-format {
    border-right: 0;
  }

  .outreach-entry-content {
    grid-column: 1 / -1;
    padding: 28px 20px 20px;
    border-top: 1px solid rgba(31, 58, 61, 0.2);
  }

  .outreach-entry.has-link:hover .outreach-entry-content,
  .outreach-entry.has-link:focus-within .outreach-entry-content {
    border-color: rgba(245, 247, 247, 0.18);
  }

  .outreach-entry-action {
    grid-column: 1 / -1;
    padding: 20px;
    border-top: 1px solid rgba(31, 58, 61, 0.2);
  }
}

@media (max-width: 620px) {
  .outreach-hero {
    min-height: min(690px, calc(100svh - 78px));
  }

  .outreach-hero-ticker {
    padding: 14px 0;
  }

  .outreach-hero-inner {
    padding: 38px 6vw;
    gap: 38px;
  }

  .outreach-hero h1 {
    font-size: clamp(4rem, 20vw, 6.3rem);
  }

  .outreach-hero-copy > p {
    font-size: 1.02rem;
  }

  .outreach-hero-facts {
    margin-top: 28px;
  }

  .outreach-hero-facts div {
    padding: 14px 10px 0 0;
  }

  .outreach-hero-facts div + div {
    padding-left: 10px;
  }

  .outreach-hero-facts dt {
    font-size: 0.5rem;
  }

  .outreach-hero-facts dd {
    font-size: 0.76rem;
  }

  .outreach-browser {
    padding: 78px 0 100px;
  }

  .outreach-browser-heading,
  .outreach-format-filter {
    margin-right: 5vw;
    margin-left: 5vw;
  }

  .outreach-browser-heading h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .outreach-format-option {
    min-height: 142px;
    padding: 20px 16px;
  }

  .outreach-tools {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .outreach-search,
  .outreach-filter {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 58, 61, 0.22);
  }

  .outreach-clear {
    min-height: 64px;
  }

  .outreach-results-head {
    padding: 0 5vw;
  }

  .outreach-results-head p:last-child {
    display: none;
  }

  .outreach-ledger,
  .outreach-empty,
  .outreach-pagination {
    margin: 0 5vw;
    width: 90vw;
  }

  .outreach-entry {
    grid-template-columns: 52px 68px minmax(0, 1fr);
  }

  .outreach-entry-index,
  .outreach-entry-year,
  .outreach-entry-format {
    padding: 20px 12px;
  }

  .outreach-entry-details {
    font-size: 0.84rem;
  }

  .outreach-pagination {
    grid-template-columns: 1fr 1fr;
    padding: 22px 0;
  }

  .outreach-pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .outreach-pagination button:first-child { grid-column: 1; }
  .outreach-pagination button:last-child { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .outreach-hero-ticker .ticker-track {
    animation-play-state: paused;
  }

  .outreach-format-option,
  .outreach-entry {
    transition: none;
  }
}
