body {
  font-family: "Lato", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

@keyframes authorFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.author-fade-up { animation: authorFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both; }
.author-delay-1 { animation-delay: 0.08s; }
.author-delay-2 { animation-delay: 0.16s; }
.author-delay-3 { animation-delay: 0.24s; }
.author-delay-4 { animation-delay: 0.34s; }
.author-delay-5 { animation-delay: 0.44s; }
.author-delay-6 { animation-delay: 0.54s; }

.author-shell {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.author-shell--narrow {
  width: min(100%, 54rem);
}

.author-dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
}

.author-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.author-dot.active {
  background: #c0392b;
  transform: scale(1.3);
}

.author-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.author-hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.author-hero-copy {
  flex: 1 1 auto;
  max-width: 32rem;
}

.author-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.author-accent-line {
  display: inline-block;
  width: 36px;
  height: 3px;
  background: #c0392b;
  border-radius: 2px;
}

.author-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9088;
}

.author-hero-name,
.author-section-title,
.author-fact-value {
  font-family: "Playfair Display", serif;
}

.author-hero-name {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.author-hero-name br + br { display: none; }

.author-hero-summary {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  font-weight: 300;
}

.author-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.author-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(192, 57, 43, 0.07);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.15);
}

.author-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.author-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 26, 26, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.author-social-link:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  background: rgba(26, 26, 26, 0.04);
  transform: translateY(-2px);
}

.author-hero-avatar {
  flex-shrink: 0;
}

.author-avatar-wrap {
  position: relative;
  display: inline-block;
}

.author-avatar-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0ede8;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  background: #f5f0eb;
}

.author-avatar-ring img,
.author-avatar-fallback {
  width: 100%;
  height: 100%;
}

.author-avatar-ring img {
  object-fit: cover;
  display: block;
}

.author-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  color: #c0392b;
  background: #faf6f2;
}

.author-status-dot {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.author-status-dot.is-off {
  background: #b0a8a0;
}

.author-scroll-hint {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.author-scroll-hint a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #b0a8a0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-about {
  padding: 5rem 0;
  background: #faf8f5;
}

.author-section-head {
  margin-bottom: 2.5rem;
}

.author-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 10px;
  line-height: 1.2;
}

.author-section-title em {
  color: #c0392b;
  font-style: italic;
}

.author-about-copy {
  display: grid;
  gap: 1.25rem;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #444;
  font-weight: 300;
}

.author-about-copy p strong {
  color: #1a1a1a;
  font-weight: 700;
}

.author-quick-facts {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.author-fact-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}

.author-fact-value.is-accent {
  color: #c0392b;
}

.author-fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9088;
  margin-top: 4px;
}

.author-skills,
.author-posts {
  padding: 5rem 0;
}

.author-skills-grid {
  display: grid;
  gap: 1.75rem;
}

.author-skill-item {
  display: grid;
  gap: 0.4rem;
}

.author-skill-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.375rem;
}

.author-skill-meta span:first-child {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
}

.author-skill-meta span:last-child {
  font-size: 0.72rem;
  color: #9a9088;
  font-weight: 700;
}

.author-skill-bar {
  height: 3px;
  background: #f0ede8;
  border-radius: 2px;
  overflow: hidden;
}

.author-skill-fill {
  height: 100%;
  background: #1a1a1a;
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.author-posts-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.author-post-card {
  background: #faf7f3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 14, 12, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.author-post-card:hover {
  box-shadow: 0 6px 24px rgba(15, 14, 12, 0.1);
  transform: translateY(-2px);
}

.author-post-image-link {
  display: block;
}

.author-post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #e8e0d5;
}

.author-post-image--empty {
  background: linear-gradient(135deg, #e8e0d5, #d5cbc0);
}

.author-post-body {
  padding: 0.9rem;
}

.author-post-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9a9088;
  margin-bottom: 0.4rem;
}

.author-post-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #0f0e0c;
}

.author-post-title a {
  color: inherit;
  text-decoration: none;
}

.author-post-excerpt {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #7a7468;
  margin-top: 0.45rem;
}

.author-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.72rem;
  color: #9a9088;
}

@media (min-width: 768px) {
  .author-hero-grid {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 4rem;
  }

  .author-kicker-row,
  .author-tag-row,
  .author-social-row,
  .author-scroll-hint {
    justify-content: flex-start;
  }

  .author-hero-summary {
    margin-left: 0;
    margin-right: 0;
  }

  .author-avatar-ring {
    width: 260px;
    height: 260px;
  }

  .author-avatar-fallback {
    font-size: 5.5rem;
  }

  .author-quick-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .author-skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }

  .author-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .author-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .author-dot-nav {
    display: none;
  }
}
