/* Team and News use the shared site typography, navigation and page width. */
.people-hero, .news-hero { background-color: #05162e; }
.people-hero-inner { padding-block: clamp(2rem, 3.75vw, 3.4rem); }
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5.8vw, 5.2rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.75vw, 4.3rem);
}
.people-intro h1, .feature-copy h1 { margin: .25em 0; text-wrap: balance; }
.people-intro h1 { max-width: 28ch; }
.people-intro > p:last-child, .feature-copy > p:not([class]) {
  max-width: 48ch;
  margin-top: 1em;
  color: #e1e9f6;
}
.people-section, .archive-section { padding-block: clamp(2.25rem, 4.3vw, 3.9rem); }
.people-section h2 { margin-bottom: clamp(1.3rem, 2.5vw, 2.25rem); }
.advisor-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5.8vw, 5.2rem); }
.profile-text, .profile { min-width: 0; }
.profile h3 { font-weight: 500; }
.profile .degrees { font-size: .68em; letter-spacing: normal; white-space: nowrap; }
.profile .role { color: var(--blue); margin-top: .35em; font-size: var(--type-ui); font-weight: 500; }
.profile .bio { margin-top: .75em; color: #34445a; max-width: 58ch; }
.profile-links { display: flex; gap: .85rem 1.3rem; align-items: baseline; flex-wrap: wrap; margin-top: .85rem; }
.profile-links .ink-link { font-size: var(--type-caption); }
.staff-section { background: var(--ice); }
.staff-profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3.25rem) clamp(1.2rem, 2.35vw, 2.15rem); }
.staff-profiles .profile > img { width: 100%; aspect-ratio: 1.32; object-fit: cover; object-position: center 35%; margin-bottom: 1.15rem; }
.staff-profiles .profile h3 { font-size: clamp(1.3rem, 1rem + .6vw, 1.55rem); }
.staff-profiles .bio, .advisor-profiles .bio { font-size: var(--type-ui); }
.advisor-profiles .profile { display: grid; grid-template-columns: 8.875rem minmax(0, 1fr); align-items: start; gap: clamp(1rem, 1.8vw, 1.6rem); }
.advisor-profiles .profile > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.company-closing .closing-inner {
  display: flex; gap: 1rem 2.5rem; justify-content: space-between; align-items: center;
  padding-block: clamp(2.15rem, 3.6vw, 3.25rem);
}
.company-closing address { margin-top: .75em; font-size: var(--type-ui); color: #d8e4f5; font-style: normal; }
.company-closing h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.4rem); }

.news-hero { position: relative; isolation: isolate; }
.feature-inner { position: relative; grid-template-columns: 1.14fr 1fr; padding-block: clamp(2.4rem, 4.7vw, 4.25rem); }
.feature-copy { z-index: 1; }
.feature-date { color: #d6e1f6; font-size: var(--type-caption); margin-top: .8rem; }
.feature-copy h1 { font-size: clamp(2.15rem, 1.2rem + 2.85vw, 3.65rem); max-width: 18ch; }
.feature-copy .ink-link { margin-top: 1.25rem; }
.news-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 max(0px, calc((100vw - var(--max-width))/2)) 0 max(34%, calc(50% - 15rem));
  background: linear-gradient(90deg, #05162e, transparent 44%), linear-gradient(0deg, #05162e 0, transparent 46%), url("/assets/kiralogic-hero-cell.webp") 76% 48% / cover no-repeat;
  opacity: .92; pointer-events: none;
}
.feature-art { align-self: end; justify-self: end; background: #fff; border-radius: .3rem; padding: .8rem 1.05rem; }
.feature-art img { width: clamp(8rem, 13vw, 11.7rem); height: auto; }
.archive-section h2 { margin-bottom: .65em; }
.topic-filter { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .6rem; margin-bottom: 2rem; }
.topic-filter[hidden], .news-year[hidden], .news-year li[hidden] { display: none; }
.topic-filter button {
  font: 500 var(--type-caption)/1.35 var(--body); color: #33435c;
  border: 1px solid #c6d1df; border-radius: 1.25rem; background: white;
  padding: .55rem 1.02rem; cursor: pointer;
}
.topic-filter button:hover { background: var(--ice); color: var(--blue); }
.topic-filter button[aria-pressed="true"] { color: white; background: var(--blue); border-color: var(--blue); }
.news-year { border-top: 1px solid var(--rule); }
.news-year:last-child { border-bottom: 1px solid var(--rule); }
.news-year summary {
  display: flex; align-items: center; gap: .85rem; list-style: none;
  padding: 1.1rem .15rem; cursor: pointer;
}
.news-year summary::-webkit-details-marker { display: none; }
.news-year summary:hover h3 { color: var(--blue); }
.news-year h3 { font-size: clamp(1.55rem, 1.3rem + .7vw, 2rem); font-weight: 600; }
.year-count { font-size: var(--type-caption); color: #506179; }
.disclosure-icon { position: relative; margin-inline: auto .46rem; width: .8rem; height: .8rem; flex-shrink: 0; }
.disclosure-icon::before, .disclosure-icon::after { content: ""; position: absolute; background: var(--blue); }
.disclosure-icon::before { top: calc(50% - 1px); left: 0; width: 100%; height: 2px; }
.disclosure-icon::after { top: 0; left: calc(50% - 1px); width: 2px; height: 100%; }
.news-year[open] .disclosure-icon::after { display: none; }
.news-year ul { padding: 0 0 1rem; margin: 0; list-style: none; }
.news-year li { border-top: 1px solid #e2e8f1; }
.story {
  display: grid; grid-template-columns: minmax(7.5rem, .83fr) minmax(0, 3.2fr) minmax(7.25rem, 1.1fr) auto;
  align-items: baseline; gap: clamp(.8rem, 2vw, 1.8rem); padding: 1rem .2rem;
}
.story-title { font: 500 clamp(1.05rem, 1rem + .32vw, 1.3rem)/1.35 var(--headline); }
.story time, .story-category { color: #526279; font-size: var(--type-caption); }
.story-arrow { align-self: center; color: var(--blue); }
.story:hover .story-title { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 970px) {
  .staff-profiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.15rem 1.75rem; }
  .staff-profiles .profile > img { aspect-ratio: 1.6; }
}
@media (max-width: 767px) {
  .people-intro > p:last-child { max-width: 57ch; }
  .advisor-profiles { gap: 1.35rem; }
  .advisor-profiles { grid-template-columns: 1fr; }
  .feature-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
  .story { grid-template-columns: minmax(6.5rem, .85fr) minmax(0, 2.4fr) auto; row-gap: .22rem; }
  .story-category { grid-column: 2; grid-row: 2; }
  .story-arrow { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 570px) {
  .advisor-profiles .profile { grid-template-columns: 1fr; }
  .advisor-profiles .profile > img { width: 8.875rem; }
  .advisor-profiles .profile + .profile { border-top: 1px solid var(--rule); padding-top: 1.35rem; }
  .staff-profiles { grid-template-columns: 1fr; }
  .staff-profiles .profile > img { max-height: 20rem; aspect-ratio: 1.5; }
  .company-closing .closing-inner { flex-direction: column; align-items: flex-start; }
  .feature-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1.55rem; }
  .feature-copy > p:not([class]) { max-width: 43ch; }
  .feature-art { align-self: end; margin-top: 2.75rem; }
  .feature-art img { width: 8rem; }
  .news-hero::before { inset: 47% 0 0; background: linear-gradient(#05162e, transparent 45%), linear-gradient(90deg, #05162e, transparent 80%), url("/assets/kiralogic-hero-cell.webp") 62% 50% / cover no-repeat; opacity: .58; }
  .topic-filter { gap: .45rem; margin-bottom: 1.35rem; }
  .topic-filter button { padding: .55rem .8rem; }
  .story { grid-template-columns: 1fr auto; gap: .22rem .5rem; }
  .story time, .story-category { grid-column: 1; }
  .story time { grid-row: 1; }
  .story-title { grid-row: 2; grid-column: 1; }
  .story-category { grid-row: 3; }
  .story-arrow { grid-column: 2; grid-row: 2; }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .people-intro h1 { font-size: clamp(2.2rem, 4.3vw, 2.7rem); }
}
