.biography {
  --bio-inset: 165px;
  padding: 0 96px 40px 101px;
  background: #07101d;
  color: #333;
  font:
    400 16px/1.6 Montserrat,
    sans-serif;
  scroll-margin-top: 118px;
}
.biography *,
.biography *::before,
.biography *::after {
  box-sizing: border-box;
}
.bio-panel {
  border-radius: 25px;
  background: #f0f6ff;
  padding: 30px 0 20px;
  box-shadow: 0 5px 15px #0000001a;
}
.bio-intro {
  display: grid;
  grid-template-columns: 64.4% 1fr;
  align-items: center;
  min-height: 163px;
}
.bio-intro h2 {
  margin: 0 0 0 calc(var(--bio-inset) + 5px);
  color: #333;
  text-align: left;
  font:
    200 80px/1 'Bebas Neue',
    sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}
.bio-profile {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 12px;
  font-size: 16px;
  line-height: 1.4;
}
.bio-profile img {
  width: 81px;
  height: auto;
}
.bio-profile small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 300;
}
.bio-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 30px calc(var(--bio-inset) - 10px) 0 var(--bio-inset);
}
.bio-detail {
  min-width: 0;
  padding: 10px 25px;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 10px;
}
.bio-detail summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px 15px 5px;
  color: #15191f;
  font:
    500 18px/1.6 Montserrat,
    sans-serif;
  letter-spacing: 0.1143em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.bio-detail summary::-webkit-details-marker {
  display: none;
}
.bio-detail summary::after {
  content: '';
  position: absolute;
  right: 2px;
  top: calc(50% - 6px);
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.bio-detail[open] > summary::after {
  top: calc(50% - 2px);
  transform: rotate(225deg);
}
.bio-detail summary img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: none;
}
.bio-detail summary:focus-visible,
.bio-document:focus-visible,
.bio-viewer-close:focus-visible {
  outline: 2px solid #513f0c;
  outline-offset: 3px;
}
.bio-detail-body {
  border-top: 1px solid #ccc;
  margin: 10px 5px 0;
}
.bio-detail-body p {
  margin: 0;
  color: #333;
}
.bio-life {
  display: grid;
  grid-template-columns: 37.7% 1fr;
  gap: 35px;
  padding: 30px 5px 10px;
}
.bio-life img {
  display: block;
  width: 100%;
  height: 570px;
  object-fit: cover;
  margin-top: 12px;
}
.bio-life-copy {
  font-size: 14px;
  line-height: 1.5;
}
.bio-life-copy p + p {
  margin-top: 20px;
}
.bio-timeline {
  list-style: none;
  margin: 0;
  padding: 0 5px;
}
.bio-row {
  display: grid;
  grid-template-columns: 44.5% 1fr;
  gap: 36px;
  align-items: start;
  padding: 20px 0 0;
}
.bio-timeline--career .bio-row {
  grid-template-columns: 35.2% 1fr;
}
.bio-timeline--awards .bio-row,
.bio-timeline--achievements .bio-row {
  grid-template-columns: 39% 1fr;
  padding: 35px 0 10px;
}
.bio-copy p {
  font-size: 16px;
  line-height: 1.6;
}
.bio-copy .bio-note {
  font-size: 14px;
  font-weight: 300;
  margin-top: 5px;
}
.bio-copy .bio-duties-label {
  margin-top: 8px;
  font-size: 14px;
}
.bio-duties {
  padding-left: 24px;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  list-style: disc;
}
.bio-period {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 26px;
  padding-left: 15px;
  white-space: nowrap;
}
.bio-period::before {
  content: '';
  flex: none;
  width: 21px;
  height: 21px;
  background: radial-gradient(circle, #8292a8 24%, #9cabbc 35%, #d7dce5 38%, #c6ced9 65%, #a7b4c4);
  border-radius: 50%;
}
.bio-period::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #aaa;
}
.bio-gallery {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 25px;
  padding: 0 5px 12px;
}
.bio-document {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}
.bio-document img {
  height: 100px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.bio-timeline--education .bio-gallery:has(> :only-child) {
  padding-left: 30px;
}
.bio-viewer {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 2.75rem 1rem 1rem;
  border: none;
  border-radius: 12px;
  max-width: 94vw;
  max-height: 94vh;
  color: #fff;
  background: #111925;
}
.bio-viewer::backdrop {
  background: #040911d9;
}
.bio-viewer figure {
  margin: 0;
  text-align: center;
}
.bio-viewer figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 86vw;
  max-height: 74vh;
  margin: auto;
}
.bio-viewer figcaption {
  font-size: 0.85rem;
  margin-top: 10px;
}
.bio-viewer-close {
  position: absolute;
  top: 0;
  right: 4px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: transparent;
  border: none;
  font: 28px/1 sans-serif;
  cursor: pointer;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .biography {
    --bio-inset: clamp(30px, calc(57vw - 420px), 165px);
  }
  .bio-intro h2 {
    font-size: clamp(60px, 7.81vw, 80px);
  }
  .bio-period {
    padding-left: 0;
    gap: 8px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .bio-profile {
    display: none;
  }
  .bio-intro {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .biography {
    padding: 2px 15px 27px 20px;
    scroll-margin-top: 102px;
  }
  .bio-panel {
    padding-top: 30px;
  }
  .bio-intro {
    display: block;
    min-height: 0;
  }
  .bio-intro h2 {
    margin: 0 5px 0 20px;
    font-size: 44px;
  }
  .bio-profile {
    display: none;
  }
  .bio-sections {
    margin: 32px 5px 0 15px;
  }
  .bio-detail summary {
    font-size: 16px;
    font-weight: 500;
  }
  .bio-life {
    display: block;
  }
  .bio-life img {
    display: none;
  }
  .bio-life-copy {
    margin-top: 20px;
  }
  .bio-row {
    display: block;
    padding: 20px 0 10px;
  }
  .bio-period {
    font-size: 12px;
  }
  .bio-period::after,
  .bio-gallery {
    display: none;
  }
  .bio-copy {
    margin-top: 17px;
  }
  .bio-copy p {
    font-size: 12px;
  }
  .bio-copy .bio-note {
    font-size: 10px;
  }
  .bio-copy .bio-duties-label {
    font-size: 10px;
  }
  .bio-timeline--awards .bio-copy,
  .bio-timeline--achievements .bio-copy {
    margin-top: 35px;
  }
}
@media (max-width: 380px) {
  .bio-detail {
    padding-inline: 12px;
  }
  .bio-detail summary {
    gap: 10px;
    font-size: 14px;
  }
}

.savin-projects, .savin-press {
  background: #07101d;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 30px 0;
  scroll-margin-top: 115px;
}

.savin-projects *, .savin-press * { box-sizing: border-box; }
.savin-projects { padding-bottom: 40px; }

.savin-projects .showcase-heading, .savin-press .showcase-heading {
  margin: 0 20px;
  color: white;
  font: 200 72px/1.2 'Bebas Neue', sans-serif;
  text-align: center;
  text-transform: uppercase;
}

.brand-hint {
  min-height: 50px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14.4px;
  line-height: 1.6;
}

.brand-hint svg { flex: none; opacity: .85; }
.brand-hint-hover, .brand-hint-touch { font-size: 16px; }
.brand-hint-touch { display: none; }

.brand-list {
  max-width: 790px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.brand {
  position: relative;
  width: calc((100% - 40px) / 3);
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: white;
}

.brand summary {
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.brand summary::-webkit-details-marker { display: none; }
.brand summary::marker { content: ''; }

.brand-face {
  display: block;
  border-radius: 10px;
  background: #ebebeb;
  padding: 30px 25px;
}

.brand-face img, .brand-copy img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.brand-name {
  display: block;
  padding: 10px 5px;
  color: #f1e1b3;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
}

.brand[open] { z-index: 2; }
.brand-copy {
  position: absolute;
  inset: 0 0 auto;
  padding: 25px;
  border-radius: 10px;
  background: #141225;
  color: white;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 5px 16px #0005;
}

.brand-copy p { padding: 0; margin: 0; }
.brand-copy .brand-lead { margin: 0 0 10px; font-size: 14px; font-weight: 400; }
.brand-copy img { margin-bottom: 10px; }

.brand summary:focus-visible, .press-cover:focus-visible, .press-close:focus-visible, .press-source:focus-visible {
  outline: 2px solid #f1e1b3;
  outline-offset: 3px;
}

.savin-press { padding-bottom: 116px; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: calc(81.78% - 22px);
  margin: 36px auto 0;
}

.press-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 10px 20px;
  border-radius: 10px;
  background: #061329;
}

.press-cover {
  position: relative;
  display: grid;
  width: min(100%, 440px);
  align-self: center;
  place-items: center;
  aspect-ratio: 16 / 9;
  text-decoration: none;
  border-radius: 5px;
  background: #07101d;
  isolation: isolate;
}

.press-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.press-cover::before {
  position: absolute;
  inset: 0;
  content: '';
  z-index: -1;
  background: #0004;
  border-radius: inherit;
}

.press-play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fdffda;
  box-shadow: 0 7px 20px #0008;
  border-radius: 50%;
  color: black;
}
.press-play svg { margin-left: 2px; }
.press-cover:hover .press-play, .press-cover:focus-visible .press-play { background: #fff; }

.press-tag {
  margin: 15px 0 0;
  padding: 6px 12px;
  border-radius: 5px;
  background: #f1e1b3;
  color: #000;
  font-size: 12px;
  font-weight: 300;
  line-height: 17px;
}
.press-card h3 {
  margin: 20px 0 0;
  padding: 0;
  color: #fff;
  opacity: .8;
  font: 400 12px/1.6 'Montserrat', sans-serif;
  white-space: pre-line;
}

.press-dialog {
  max-width: min(720px, calc(100% - 28px));
  width: 100%;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #07101d;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 9px #0008;
  overflow: auto;
}

.press-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.press-dialog-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 12px;
  background: #07101d;
}

.press-dialog-head h3 {
  margin: 0;
  font: 400 14px/1.4 'Montserrat', sans-serif;
}
.press-close {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  font: 400 30px/1 sans-serif;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}
.press-body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.press-body img { display: block; width: 100%; height: auto; }
.press-dialog .press-source { display: inline-block; margin: 12px; color: #f1e1b3; font-size: 13px; }
.press-source[hidden] { display: none; }
.showcase-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1199px) {
  .brand-list { max-width: 590px; }
  .brand-hint { min-height: 62px; }
  .savin-press { padding-bottom: 46px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .savin-press { padding-bottom: 116px; }
  .brand-list { max-width: 370px; }
  .brand-copy { width: 205px; left: 50%; transform: translateX(-50%); }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .savin-projects, .savin-press { padding: 15px 0; scroll-margin-top: 103px; }
  .savin-projects { padding-bottom: 29px; }
  .savin-press { padding-bottom: 33px; }
  .savin-projects .showcase-heading, .savin-press .showcase-heading { font-size: 44px; }
  .brand-list { display: block; width: calc(100% - 40px); max-width: 535px; }
  .brand { width: 100%; }
  .brand:nth-child(3), .brand:nth-child(6) { margin-bottom: 20px; }
  .brand-face img { max-width: min(100%, 406px); margin: 0 auto; }
  .brand-hint {
    justify-content: flex-start;
    width: 66%;
    max-width: 350px;
    min-height: 0;
    gap: 10px;
    margin: 32px auto;
    font-size: 12px;
  }
  .brand-hint svg { width: 32px; height: 16px; }
  .brand-hint-hover, .brand-hint-touch { font-size: inherit; }
  .brand-copy { text-align: center; }
  .press-grid { grid-template-columns: 1fr; width: calc(100% - 50px); margin-top: 28px; }
}
@media (hover: none) {
  .brand-hint-hover { display: none; }
  .brand-hint-touch { display: inline; }
}
