.author-page {
  background: #090909;
  color: #f8f8f8;
}

.author-page .site-header {
  color: #f8f8f8;
  background: linear-gradient(180deg, rgba(9, 9, 9, .88), rgba(9, 9, 9, .32), transparent);
}

.author-page .desktop-nav a.active:after {
  width: 100%;
}

.author-page .menu-toggle span {
  background: #f8f8f8;
}

.author-page .theme-toggle {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
  color: #f8f8f8;
}

.author-page-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 8rem var(--pad) clamp(3.5rem, 6vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, .08), transparent 22rem),
    linear-gradient(180deg, #111013, #080808);
}

.author-page-copy {
  position: relative;
  z-index: 2;
  max-width: 86rem;
}

.author-kicker {
  margin: 0 0 clamp(1.6rem, 3vw, 2.8rem);
  color: rgba(255, 255, 255, .62);
  font: 800 .72rem/1 var(--display);
  letter-spacing: .16em;
}

.author-heading h1 {
  margin: 0;
  color: #fff;
  font: 520 clamp(4.2rem, 8.4vw, 10.5rem)/.86 var(--display);
  letter-spacing: -.08em;
}

.author-heading-row {
  display: grid;
  grid-template-columns: minmax(5rem, .38fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3.2vw, 4rem);
  align-items: center;
  margin-top: clamp(.5rem, 1.2vw, 1rem);
  padding-left: clamp(2.5rem, 10vw, 13rem);
}

.author-line {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, .22);
}

.author-inline-image {
  display: inline-flex;
  width: clamp(4.6rem, 10vw, 9rem);
  aspect-ratio: 1.65;
  margin-left: .28em;
  vertical-align: .04em;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.author-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 47%;
  filter: contrast(1.08) brightness(.88);
}

.author-page-lead {
  max-width: 37rem;
  margin: clamp(1.8rem, 3vw, 3rem) 0 0 auto;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(1.02rem, 1.35vw, 1.35rem);
  line-height: 1.65;
}

.author-socials {
  width: fit-content;
  display: flex;
  gap: .55rem;
  margin: clamp(1.2rem, 2vw, 1.8rem) 0 0 auto;
}

.author-socials a {
  width: clamp(2.35rem, 3vw, 2.85rem);
  height: clamp(2.35rem, 3vw, 2.85rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  font: 850 .72rem/1 var(--display);
  letter-spacing: -.02em;
  transition: transform .35s var(--brilio-ease), background .35s var(--brilio-ease), color .35s var(--brilio-ease), border-color .35s var(--brilio-ease);
}

.author-socials a:hover,
.author-socials a:focus-visible {
  transform: translateY(-3px);
  border-color: #fff;
  background: #fff;
  color: #090909;
}

.author-image-section {
  position: relative;
  padding: 0;
  background: #050505;
  color: #f8f8f8;
  overflow: hidden;
}

.author-image-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #050505;
  box-shadow: none;
}

.author-image-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), transparent 24%, transparent 68%, rgba(0, 0, 0, .84)),
    linear-gradient(180deg, rgba(0, 0, 0, .08), transparent 55%, rgba(0, 0, 0, .78));
  pointer-events: none;
}

.author-image-frame picture,
.author-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.author-image-frame img {
  height: clamp(24rem, 43vw, 48rem);
  object-fit: cover;
  object-position: 62% 18%;
  border-radius: 0;
  filter: contrast(1.12) brightness(.66) saturate(.82);
  transform: scale(1.72);
  transform-origin: 62% 18%;
}

.author-page-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.author-experiences,
.author-skills {
  background: #1b1b1d;
  color: #f8f8f8;
}

.author-section-grid {
  display: grid;
  grid-template-columns: minmax(12rem, .26fr) minmax(0, .74fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.author-section-intro {
  position: sticky;
  top: 7rem;
}

.author-section-intro h2 {
  margin: 0;
  color: #fff;
  font: 520 clamp(2.6rem, 4.6vw, 5.4rem)/.95 var(--display);
  letter-spacing: -.06em;
}

.author-experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.author-experience-item {
  min-height: 23rem;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2.4vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.author-experience-item:nth-child(2n) {
  border-right: 0;
}

.author-experience-item span,
.author-skill-card span {
  color: rgba(255, 255, 255, .55);
  font: 700 .82rem/1 var(--display);
}

.author-experience-item h3 {
  margin: clamp(1.6rem, 3vw, 2.5rem) 0 .8rem;
  color: #fff;
  font: 520 clamp(1.9rem, 3.1vw, 3.2rem)/1 var(--display);
  letter-spacing: -.045em;
}

.author-experience-item .role {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: .45rem .72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .74);
  font: 700 .78rem/1 var(--display);
}

.author-experience-item p:not(.role),
.author-skill-card p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: clamp(.94rem, 1.06vw, 1.04rem);
  line-height: 1.66;
}

.author-skills.awards.skills {
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
}

.brilio-container {
  width: min(100%, 86rem);
  margin-inline: auto;
}

.brilio-row {
  display: grid;
  grid-template-columns: minmax(12rem, .26fr) minmax(0, .74fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.sticky .intro {
  position: sticky;
  top: 7rem;
}

.author-skills .intro .title {
  margin: 0;
  color: #fff;
  font: 520 clamp(2.6rem, 4.6vw, 5.4rem)/.95 var(--display);
  letter-spacing: -.06em;
}

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 6rem);
}

.items .item .content {
  min-height: 13rem;
}

.skills .item .icon {
  color: rgba(255, 255, 255, .54);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.skills .item .heading {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.skills .item .heading .title {
  margin: 0;
  color: #fff;
  font: 520 clamp(2.9rem, 4.7vw, 5rem)/.88 var(--display);
  letter-spacing: -.07em;
  text-transform: lowercase;
}

.skills .item:first-child .heading .title {
  text-transform: none;
}

.skills .item small {
  font-size: .62em;
}

.skills .item span {
  display: block;
  margin: .65rem 0 1.25rem;
  color: rgba(255, 255, 255, .62);
  font: 800 clamp(.9rem, 1vw, 1.04rem)/1.35 var(--display);
}

.skills .item p,
.awards .item p {
  max-width: 29rem;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.progress-content {
  display: flex;
  align-items: center;
}

.progress {
  position: relative;
  width: min(32rem, 100%);
  height: .75rem;
  margin-top: 2.8rem;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.progress .title {
  position: absolute;
  left: 0;
  bottom: calc(100% + .85rem);
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font: 800 clamp(.9rem, 1vw, 1.04rem)/1.35 var(--display);
}

.progress .progress-bar {
  position: relative;
  width: 94%;
  height: 100%;
  overflow: visible;
  border-radius: inherit;
  background: #a8b2bf;
}

.progress .progress-bar span {
  position: absolute;
  right: -1rem;
  bottom: calc(100% + .75rem);
  padding: .55rem .7rem;
  border-radius: .45rem;
  background: #f7f7f7;
  color: #08080a;
  font: 900 .8rem/1 var(--display);
}

.progress .progress-bar span:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: .45rem solid transparent;
  border-top-color: #f7f7f7;
}

.skills hr {
  margin: clamp(4.5rem, 7vw, 6.25rem) 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.recognition-items .item .content {
  min-height: 14rem;
}

.awards .logo {
  display: inline-block;
  margin-bottom: clamp(1.4rem, 2.4vw, 2.4rem);
  color: #fff;
  font: 900 clamp(2.6rem, 4vw, 4.4rem)/1 var(--display);
  letter-spacing: -.06em;
}

.author-rebound {
  display: grid;
  grid-template-columns: minmax(0, .9fr) auto;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  background: #deded8;
  color: #090909;
}

.author-rebound h2 {
  margin: .85rem 0 1.5rem;
  color: #090909;
  font: 520 clamp(2.8rem, 5.8vw, 7rem)/.92 var(--display);
  letter-spacing: -.065em;
}

.author-rebound-copy {
  max-width: 54rem;
}

.author-rebound-copy p {
  margin: 0 0 1.05rem;
  color: rgba(9, 9, 9, .68);
  font-size: clamp(.98rem, 1.15vw, 1.1rem);
  line-height: 1.7;
}

.author-rebound-copy strong {
  display: block;
  margin-top: 1.5rem;
  color: #090909;
  font-size: clamp(1.08rem, 1.55vw, 1.5rem);
}

.author-rebound-actions {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: min(22rem, 100%);
}

.author-rebound .pill {
  width: 100%;
}

body.light-theme.author-page {
  background: #f4f4f6;
  color: #08080a;
}

body.light-theme .author-page-hero,
body.light-theme .author-experiences,
body.light-theme .author-skills,
body.light-theme .author-image-section {
  background:
    radial-gradient(circle at 74% 20%, rgba(0, 0, 0, .05), transparent 22rem),
    linear-gradient(180deg, #f4f4f6, #e8e8ec);
}

body.light-theme .author-heading h1,
body.light-theme .author-section-intro h2,
body.light-theme .author-experience-item h3,
body.light-theme .author-stat-card strong,
body.light-theme .recognition-card strong {
  color: #08080a;
}

body.light-theme .author-kicker,
body.light-theme .author-page-lead,
body.light-theme .author-experience-item p:not(.role),
body.light-theme .author-stat-card p,
body.light-theme .recognition-card p {
  color: rgba(8, 8, 10, .66);
}

body.light-theme .author-socials a {
  border-color: rgba(8, 8, 10, .18);
  background: rgba(8, 8, 10, .045);
  color: #08080a;
}

body.light-theme .author-socials a:hover,
body.light-theme .author-socials a:focus-visible {
  border-color: #08080a;
  background: #08080a;
  color: #fff;
}

body.light-theme .author-image-frame {
  border-color: rgba(8, 8, 10, .12);
  background: #050505;
}

body.light-theme .author-image-frame:before {
  border-color: rgba(8, 8, 10, .1);
}

body.light-theme .author-line,
body.light-theme .author-experience-list,
body.light-theme .author-experience-item {
  border-color: rgba(8, 8, 10, .14);
}

body.light-theme .author-experience-item span,
body.light-theme .author-stat-card small,
body.light-theme .author-skill-meter > span {
  color: rgba(8, 8, 10, .58);
}

body.light-theme .author-experience-item .role {
  background: rgba(8, 8, 10, .08);
  color: rgba(8, 8, 10, .72);
}

body.light-theme .author-skill-presentation,
body.light-theme .recognition-grid,
body.light-theme .author-recognition {
  border-color: rgba(8, 8, 10, .12);
}

@media (max-width: 1120px) {
  .author-section-grid,
  .author-rebound {
    grid-template-columns: 1fr;
  }

  .author-section-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .author-page-hero {
    min-height: auto;
    padding-top: 7.4rem;
  }

  .author-image-section {
    padding-top: 0;
  }

  .author-image-frame img {
    height: 24rem;
    object-position: 62% 16%;
    transform: scale(2.05);
    transform-origin: 62% 16%;
  }

  .author-heading h1 {
    font-size: clamp(3.8rem, 18vw, 7rem);
  }

  .author-heading-row {
    grid-template-columns: minmax(3rem, .28fr) 1fr;
    padding-left: 0;
  }

  .author-page-lead {
    margin-left: 0;
  }

  .author-socials {
    margin-left: 0;
  }

  .author-experience-list,
  .author-stat-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .author-experience-item,
  .author-experience-item:nth-child(2n) {
    min-height: auto;
    border-right: 0;
  }

}
