body.author {
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--nsf-color-text);
  background: var(--nsf-color-surface) !important;
  font-family: "Geist NSF", Arial, Helvetica, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.author *,
body.author *::before,
body.author *::after {
  box-sizing: border-box;
}

body.author :is(h1, h2, h3, p, li, a, button) {
  font-family: "Geist NSF", Arial, Helvetica, sans-serif !important;
}

body.author :is(a, button):focus-visible {
  outline: 3px solid var(--nsf-color-brand);
  outline-offset: 3px;
}

.nsf-author-main,
.nsf-author-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nsf-author-hero {
  padding: clamp(2.75rem, 6vw, 5.75rem) var(--nsf-gutter) clamp(4rem, 8vw, 7rem);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--nsf-color-brand) 7%, var(--nsf-color-surface)),
      var(--nsf-color-surface) 56%,
      color-mix(in srgb, var(--nsf-color-brand) 3%, var(--nsf-color-surface))
    );
}

.nsf-author-hero__inner {
  display: grid;
  width: min(100%, var(--nsf-layout-max));
  margin: 0 auto;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}

.nsf-author-photo-wrap {
  width: min(100%, 25rem);
  margin: 0;
  overflow: hidden;
  border-radius: var(--nsf-radius-md);
  background: var(--nsf-color-subtle);
}

.nsf-author-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 64%;
}

.nsf-author-hero__copy h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--nsf-color-text);
  font-size: clamp(3rem, 5.4vw, 4.5rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.nsf-author-lead {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  color: var(--nsf-color-muted);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.nsf-author-industry {
  margin: 1rem 0 0;
  color: var(--nsf-color-text);
  font-size: 1rem;
  font-weight: 670;
  line-height: 1.5;
}

.nsf-author-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nsf-author-button {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.82rem 1.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nsf-color-brand);
  border-radius: var(--nsf-radius-sm);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.nsf-author-button--primary {
  color: var(--nsf-color-on-brand);
  background: var(--nsf-color-brand);
}

.nsf-author-button--primary:hover {
  color: var(--nsf-color-brand);
  background: transparent;
}

.nsf-author-button--secondary {
  color: var(--nsf-color-brand);
  background: transparent;
}

.nsf-author-button--secondary:hover {
  color: var(--nsf-color-on-brand);
  background: var(--nsf-color-brand);
}

.nsf-author-content {
  width: min(100%, var(--nsf-layout-max));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) var(--nsf-gutter) clamp(5rem, 9vw, 8rem);
}

.nsf-author-section {
  display: grid;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid color-mix(in srgb, var(--nsf-color-brand) 20%, var(--nsf-color-border));
}

.nsf-author-section h2,
.nsf-author-publications h2 {
  margin: 0;
  color: var(--nsf-color-text);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.nsf-author-section p {
  max-width: 44rem;
  margin: 0;
  color: var(--nsf-color-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}

.nsf-author-publications {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 2px solid var(--nsf-color-brand);
}

.nsf-author-publications__heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.nsf-author-publication {
  padding-top: 1.25rem;
  border-top: 1px solid var(--nsf-color-border);
}

.nsf-author-publication h3 {
  margin: 0;
}

.nsf-author-publication a {
  color: var(--nsf-color-text);
  text-decoration: none;
}

.nsf-author-publication a:hover {
  color: var(--nsf-color-brand);
}

.nsf-author-publication time {
  color: var(--nsf-color-muted);
  font-size: 0.86rem;
}

@media (max-width: 52rem) {
  .nsf-author-hero__inner,
  .nsf-author-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .nsf-author-photo-wrap {
    width: min(82vw, 26rem);
  }
}

@media (max-width: 40rem) {
  .nsf-author-hero {
    padding-top: 2rem;
  }

  .nsf-author-hero__copy h1 {
    font-size: clamp(2.75rem, 12vw, 3.25rem);
  }

  .nsf-author-actions,
  .nsf-author-button {
    width: 100%;
  }

  .nsf-author-section {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nsf-author-button {
    transition: none;
  }
}

