/* ---------------------------------------------------------------
   Voorivex Journal — dark, pentest/security aesthetic
   --------------------------------------------------------------- */

:root {
  --bg:           #0f1115;
  --bg-elev:      #15181d;
  --bg-code:      #14171c;
  --bg-card:      #14171c;

  --text:         #d6d3cc;
  --text-soft:    #928e87;
  --text-faint:   #65615a;

  --rule:         #22252b;
  --rule-soft:    #1a1d22;

  --accent:       #c4e84a;
  --accent-dim:   rgba(196, 232, 74, 0.09);
  --accent-glow:  rgba(196, 232, 74, 0.30);
  --danger:       #e85f5c;
  --info:         #4dc3e8;

  --shadow-md:    0 8px 24px -8px rgba(0,0,0,0.6);

  --display: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --body:    'Lato', 'Ubuntu', 'Inter', 'Roboto', 'Open Sans', 'Montserrat', 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 255, 63, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(74, 214, 255, 0.025) 0%, transparent 70%);
  background-attachment: fixed;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--text); }

img { max-width: 100%; display: block; }

/* ===== Masthead ============================================ */

.masthead {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.masthead__logo {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.masthead__nav {
  display: flex;
  gap: 28px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.masthead__nav a {
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
}
.masthead__nav a:hover { color: var(--text); }
.masthead__nav a.is-active { color: var(--accent); }
.masthead__nav a.is-active::before {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: var(--accent);
}

/* ===== Index page ========================================== */

.index {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 64px 96px;
}

/* ----- Post list ---------- */

.posts__heading {
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

.posts__list { list-style: none; }

.post-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text);
  align-items: baseline;
  position: relative;
}
.post-row::before {
  content: '';
  position: absolute;
  left: -22px; top: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
.post-row:hover::before { width: 14px; }
.post-row:hover .post-row__title { color: var(--accent); }
.post-row:hover .post-row__date  { color: var(--text-soft); }

.post-row__title {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(13.5px, 1.35vw, 15.5px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color .15s ease;
  text-wrap: balance;
  margin: 0;
}
.post-row__date {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .15s ease;
}

/* ===== Avatars (shared) ===================================== */

.avatar {
  --size: 36px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 2px solid var(--bg);
  margin-left: -12px;
  cursor: default;
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    z-index 0s linear .35s,
    box-shadow .25s ease;
  flex-shrink: 0;
  position: relative;
}
.avatar:first-child { margin-left: 0; }
.avatar:hover {
  transform: translateY(-3px);
  z-index: 5;
  box-shadow: var(--shadow-md);
  transition-delay: 0s;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar[data-tone="lime"]   { background: linear-gradient(140deg, #d4ff3f 0%, #7e9e1c 100%); color: #0c0d0f; }
.avatar[data-tone="amber"]  { background: linear-gradient(140deg, #ffb84a 0%, #a35a14 100%); color: #0c0d0f; }
.avatar[data-tone="cyan"]   { background: linear-gradient(140deg, #4ad6ff 0%, #1a6f96 100%); color: #0c0d0f; }
.avatar[data-tone="rose"]   { background: linear-gradient(140deg, #ff5e7a 0%, #8c2638 100%); color: #f4eef0; }
.avatar[data-tone="violet"] { background: linear-gradient(140deg, #b87aff 0%, #4f2c92 100%); color: #f0eaf8; }
.avatar[data-tone="slate"]  { background: linear-gradient(140deg, #6a7280 0%, #2a3038 100%); color: #e7e5e0; }

/* ===== Article ============================================== */

.article {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 0 56px;
}

.article__back {
  font-family: var(--display);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  text-transform: uppercase;
}
.article__back:hover { color: var(--accent); }
.article__back::before { content: '←'; font-family: var(--body); }

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--display);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.kicker {
  color: var(--accent);
  position: relative;
  padding-left: 22px;
}
.kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}
.article__meta .dot { opacity: .4; }

.article__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
  text-wrap: balance;
}

.article__lede {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 680px;
  text-wrap: pretty;
}

/* ----- byline ---------- */

.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.byline__avatars { display: flex; flex-shrink: 0; }
.byline__avatars .avatar { --size: 28px; font-size: 9.5px; }
.byline__copy { display: flex; flex-direction: column; gap: 2px; }
.byline__label {
  font-family: var(--display);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.byline__names {
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
}
.byline__names a {
  color: var(--text);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.byline__names a:hover { color: var(--accent); border-color: var(--accent); }

/* External authors: rendered as <span class="byline__name"> — same look,
   no link, but the title attribute provides a tooltip on hover. */
.byline__name {
  color: var(--text);
  cursor: default;
}
.byline__sep { color: var(--text-faint); margin: 0 2px; }
.byline__ext {
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  font-style: italic;
  margin-left: 6px;
  vertical-align: 1px;
}

.coming-soon {
  border: 1px dashed var(--rule);
  border-radius: 3px;
  padding: 28px 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
  background: rgba(212, 255, 63, 0.02);
}
.coming-soon__label {
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

/* ----- hero image ---------- */

.article__hero {
  margin: 0 0 36px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  position: relative;
}
.article__hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
}
.article__hero figcaption {
  padding: 9px 14px;
  font-family: var(--display);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  background: var(--bg-elev);
}
.article__hero figcaption b { color: var(--accent); font-weight: 500; }

/* ===== article body ======================================== */

.article__body { font-size: 16.5px; line-height: 1.72; color: var(--text); }

.article__body p { margin-bottom: 1.2em; text-wrap: pretty; }

.article__body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 2.2em 0 0.7em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.article__body h2::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 4px;
  background: var(--accent);
  flex-shrink: 0;
  position: relative; top: -10px;
  border-radius: 2px;
}

.article__body h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin: 1.6em 0 0.4em;
  color: var(--text);
}

.article__body h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.4em 0 0.4em;
  color: var(--text-soft);
}

.article__body strong { font-weight: 600; color: var(--text); }
.article__body em { color: var(--text); font-style: italic; }

.article__body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color .15s, background .15s;
}
.article__body a:hover {
  border-bottom-color: var(--accent);
  background: var(--accent-dim);
}

.article__body ul, .article__body ol { margin: 0 0 1.4em 1.4em; }
.article__body li { margin-bottom: 0.45em; padding-left: 0.4em; }
.article__body ul li::marker { color: var(--accent); }

.article__body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
  font-style: italic;
  font-size: 15px;
  color: var(--text-soft);
}
.article__body blockquote cite {
  display: block;
  margin-top: 0.6em;
  font-style: normal;
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* ----- code ---------- */

.article__body code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--bg-code);
  padding: 2px 6px;
  border-radius: 3px;
  color: #a4c43b;
  border: 1px solid var(--rule);
}
.article__body a code { color: var(--accent); }

.article__body pre {
  background: var(--bg-code);
  padding: 22px 22px 18px;
  border-radius: 3px;
  border: 1px solid var(--rule);
  overflow-x: auto;
  margin: 1.6em -4px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  position: relative;
}
.article__body pre::before {
  content: attr(data-lang);
  position: absolute;
  top: 0; right: 16px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
  background: var(--bg);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-top: none;
  border-radius: 0 0 3px 3px;
}
.article__body pre code {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--text);
  font-size: inherit;
}
/* syntax tokens */
.article__body pre .c { color: #5f5d57; font-style: italic; }
.article__body pre .k { color: #ff5e7a; }
.article__body pre .s { color: #d4ff3f; }
.article__body pre .n { color: #4ad6ff; }
.article__body pre .f { color: #ffb84a; }
.article__body pre .o { color: var(--text-soft); }

/* ----- inline figure (SVG diagram) ---------- */

.figure {
  margin: 1.8em -4px;
}
.figure__frame {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 18px;
}
.figure__frame svg { display: block; width: 100%; height: auto; }
.figure__frame img {
  display: block !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto;
}
.figure figcaption {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

/* ----- callouts ---------- */

.note, .danger {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  padding: 14px 18px;
  margin: 1.6em 0;
  border-radius: 0 3px 3px 0;
}
.note {
  background: rgba(212, 255, 63, 0.04);
  border-left: 2px solid var(--accent);
}
.note::before {
  content: 'NOTE  /  ';
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.danger {
  background: rgba(255, 94, 91, 0.04);
  border-left: 2px solid var(--danger);
}
.danger::before {
  content: 'CVE  /  ';
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--danger);
}

.crosspost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  margin: 0 0 32px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-family: var(--display);
  font-size: 11.5px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.crosspost__label {
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  margin-right: 8px;
}
.crosspost a {
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.crosspost a:hover { border-color: var(--accent); }
.crosspost__cta::after { content: '  →'; }

.read-full {
  margin: 40px 0 0;
  padding: 22px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 3px;
  text-align: center;
}
.read-full__label {
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.read-full a {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--accent-dim);
}
.read-full a:hover { background: var(--accent-dim); border-color: var(--accent); }
.read-full a::after { content: '  →'; }

/* ===== Authors expanded ===================================== */

.authors {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.authors__heading {
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.author-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--rule);
}
.author-card:last-child { border-bottom: none; }
.author-card .avatar {
  --size: 56px;
  margin-left: 0;
  font-size: 14px;
  border-width: 0;
  cursor: default;
}
.author-card .avatar:hover { transform: none; box-shadow: none; }
.author-card__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}
.author-card__role {
  font-family: var(--display);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}
.author-card__bio { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }
.author-card__links {
  display: flex; gap: 14px; margin-top: 10px;
  font-family: var(--display); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.10em;
}

/* ===== article footer ====================================== */

.article__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.tags {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  font-family: var(--display); font-size: 11px;
  letter-spacing: 0.06em;
}
.tags a {
  color: var(--text-soft);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: all .2s ease;
}
.tags a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ===== site footer ========================================= */

.site-foot {
  max-width: 1280px;
  margin: 80px auto 36px;
  padding: 22px 64px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 20px;
}
.site-foot a { color: var(--text-soft); }
.site-foot a:hover { color: var(--accent); }
.site-foot__links { display: flex; gap: 24px; }

/* ===== responsive ========================================== */

@media (max-width: 760px) {
  .masthead { padding: 22px 24px; }
  .masthead__nav { gap: 14px; font-size: 11px; }
  .index { padding: 56px 24px 0; }
  .index__intro { margin-bottom: 56px; }
  .post-row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .post-row__num, .post-row__date { display: none; }
  .post-row:hover { padding-left: 12px; }
  .article { padding: 0 24px; margin-top: 32px; }
  .article__body pre { margin: 1.4em -16px; padding: 22px 20px 18px; font-size: 12.5px; }
  .article__body pre::before { right: 14px; }
  .article__body h2 { font-size: 22px; }
  .article__body h2::before { width: 14px; }
  .article__hero img { height: 220px; }
  .figure { margin: 2em -16px; }
  .figure__frame { padding: 16px; border-radius: 0; border-left: none; border-right: none; }
  .site-foot { padding: 28px 24px 0; flex-direction: column; align-items: flex-start; }
  .site-foot__links { flex-wrap: wrap; }
}

/* ===== page reveal ========================================= */

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.article__head, .article__hero, .article__body, .index__intro, .posts, .team {
  animation: rise .55s cubic-bezier(.2,.7,.2,1) both;
}
.article__hero { animation-delay: .12s; }
.article__body { animation-delay: .2s; }
.posts         { animation-delay: .14s; }

/* ===== Team page =========================================== */

.team {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 64px 96px;
}

.team__heading {
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.team-card {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg-elev);
  overflow: hidden;
  transition: border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.team-card:hover .team-card__photo img { filter: grayscale(0) contrast(1.05); }
.team-card:hover .team-card__name { color: var(--accent); }

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-code);
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05);
  transition: filter .35s ease;
}
.team-card__body {
  padding: 16px 18px 18px;
}
.team-card__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: color .2s ease;
}
.team-card__role {
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.team-card__bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}
.team-card__links {
  display: flex; gap: 12px;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.team-card__links a { color: var(--text-soft); }
.team-card__links a:hover { color: var(--accent); }

@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { padding: 36px 24px 64px; } .team__grid { grid-template-columns: 1fr; gap: 20px; } }

/* ===== Author landing page ================================== */

.author-page { padding-top: 32px; }
.author-page .article__back { margin-bottom: 28px; }

.author-page__head {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0 36px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.avatar.avatar--lg {
  --size: 96px;
  font-size: 28px;
  border: 3px solid var(--bg);
  margin-left: 0;
  flex-shrink: 0;
}
.avatar.avatar--lg:hover { transform: none; box-shadow: none; }

.author-page__copy { flex: 1; min-width: 0; }
.author-page__name {
  font-family: var(--body);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.author-page__role {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.author-page__bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 14px;
  max-width: 60ch;
}
.author-page__links {
  display: flex; gap: 18px;
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.author-page__links a { color: var(--text-soft); }
.author-page__links a:hover { color: var(--accent); }

.team-card__photo-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 640px) {
  .author-page__head { flex-direction: column; gap: 16px; }
  .avatar.avatar--lg { --size: 72px; font-size: 22px; }
}
