/* =========================================================================
   TEAM ARCHIVE — Kyra dark theme
   Mirrors the visual language of members/hossam@kyra.com/responsibility-zones.html
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700,1italic,4italic,5italic&display=swap');

/* ---------- tokens ----------------------------------------------------- */
:root {
  /* surfaces */
  --paper:        #0A0A0A;
  --paper-soft:   #141414;
  --paper-2:      #161616;
  --paper-3:      #1C1C1C;
  --rule:         #262626;
  --rule-soft:    #1E1E1E;

  /* ink */
  --ink:          #FFFFFF;
  --ink-soft:     #B8B8B8;
  --ink-muted:    #6E6E6E;
  --ink-faint:    #404040;

  /* accents */
  --accent:       #C6F032;
  --accent-soft:  rgba(198, 240, 50, 0.14);
  --accent-line:  rgba(198, 240, 50, 0.32);
  --accent-glow:  rgba(198, 240, 50, 0.22);
  --cyan:         #6BD6FF;
  --coral:        #FF8C5A;
  --pink:         #EC96CF;

  /* type */
  --font-display: "Anton", "Bebas Neue", "Impact", sans-serif;
  --font-sans:    "Switzer", "Inter Tight", system-ui, sans-serif;

  /* motion */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ---------- base ------------------------------------------------------- */
html {
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  min-height: 100vh;
}

/* ambient lime + coral glow + fine noise overlay (lifted from responsibility-zones.html) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(ellipse 1400px 800px at 88% -8%, rgba(198, 240, 50, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 1100px 700px at 6% 102%, rgba(255, 140, 90, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 50% 50%, rgba(107, 214, 255, 0.025) 0%, transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- runner mark ---------------------------------------------- */
.runner {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.runner__pulse {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 240, 50, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(198, 240, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 240, 50, 0); }
}
.runner__brand {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--ink);
}
.runner__dot { color: var(--ink-faint); }
.runner__num { color: var(--accent); font-variant-numeric: tabular-nums; }
.runner__active {
  margin-left: auto;
  color: var(--accent);
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 13px;
  font-weight: 400;
}

/* ---------- outer wrapper --------------------------------------------- */
.page {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 32px 120px;
}

/* ---------- masthead --------------------------------------------------- */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding-bottom: 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 70%;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
}
.masthead__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.masthead__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.masthead__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(78px, 12vw, 184px);
  line-height: 0.85;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}
.masthead__title .accent { color: var(--accent); }
.masthead__title .stroke {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  text-stroke: 1.5px var(--ink);
}
.masthead__lede {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0 0 14px 0;
  text-align: right;
}
.masthead__lede em { color: var(--accent); font-style: italic; font-weight: 500; }

/* ---------- controls --------------------------------------------------- */
.controls { margin: 44px 0 56px; }

.search {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0 14px;
  transition: border-color 220ms var(--ease), padding 220ms var(--ease);
}
.search:focus-within {
  border-bottom-color: var(--accent);
  padding-bottom: 13px;
}
.search__icon {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--ink-muted);
  flex: 0 0 auto;
  transition: color 220ms var(--ease);
}
.search:focus-within .search__icon { color: var(--accent); }
.search input {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.012em;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
}
.search input::placeholder { color: var(--ink-faint); font-style: italic; font-weight: 300; }
.search__hint {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.search__hint kbd {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2px 7px;
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 0 1px 0 0 var(--rule);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chip {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 14px 6px;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.chip:hover { background: var(--paper-soft); color: var(--ink); border-color: var(--ink-muted); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

/* ---------- section labels -------------------------------------------- */
.section { margin-top: 64px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 20px 0 26px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
}
.section__head::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 56px;
  height: 1px;
  background: var(--accent);
}
.section__head .silcrow {
  color: var(--accent);
  margin-right: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  font-style: italic;
}
.section__head .count { color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }

/* ---------- recently shared (asymmetric editorial grid) ---------------- */
.recent {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: minmax(200px, auto);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.recent__item {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--paper-soft);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 200ms var(--ease), transform 280ms var(--ease);
  animation: rise 700ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.recent__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198, 240, 50, 0) 60%, rgba(198, 240, 50, 0.06) 100%);
  opacity: 0;
  transition: opacity 280ms var(--ease);
  pointer-events: none;
}
.recent__item:hover { background: var(--paper-2); }
.recent__item:hover::before { opacity: 1; }
.recent__item--hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px 36px 32px;
  background: var(--paper-soft);
}
.recent__item--hero::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.recent__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.0;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.recent__title .period { color: var(--accent); }
.recent__item--hero .recent__title {
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  max-width: 14ch;
}
.recent__item--hero .recent__desc {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 18px 0 0 0;
  font-weight: 400;
}
.recent__meta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.recent__meta .by { color: var(--ink); font-weight: 600; }
.recent__meta .sep { color: var(--ink-faint); }
.recent__meta .tag { color: var(--cyan); }
.recent__meta .rt { color: var(--coral); }

/* ---------- contributors grid ----------------------------------------- */
.contributors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  position: relative;
  background: var(--paper-soft);
  padding: 28px 26px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 300px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  transition: background 220ms var(--ease), transform 320ms var(--ease);
  animation: rise 700ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 340ms var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(198, 240, 50, 0) 65%, rgba(198, 240, 50, 0.05) 100%);
  opacity: 0;
  transition: opacity 280ms var(--ease);
  pointer-events: none;
}
.card[data-dim="1"] { opacity: 0.32; filter: saturate(0.4); }
.card:hover { background: var(--paper-2); z-index: 2; }
.card:hover::before { transform: scaleY(1); }
.card:hover::after { opacity: 1; }
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.avatar {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.avatar::before { content: "["; color: var(--ink-faint); margin-right: 2px; }
.avatar::after { content: "]"; color: var(--ink-faint); margin-left: 2px; }
.avatar img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid var(--rule);
  filter: grayscale(0.2) contrast(1.05);
}
.card__num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color 220ms var(--ease);
}
.card:hover .card__name { color: var(--accent); }
.card__name .period { color: var(--accent); }
.card__role {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 10px 0 0 0;
  position: relative;
  z-index: 1;
}
.card__foot {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 1;
}
.card__foot .label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.card__foot .latest {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
}
.card__foot .meta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.card__foot .meta .sep { color: var(--ink-faint); margin: 0 6px; }
.card__foot .meta .pcs { color: var(--accent); }
.card__empty {
  font-family: var(--font-sans);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 400;
}

/* ---------- shares results (in search) -------------------------------- */
.shares-results {
  display: grid;
  gap: 0;
}
.shares-results__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding 200ms var(--ease);
}
.shares-results__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 200ms var(--ease);
}
.shares-results__item:hover { padding-left: 16px; }
.shares-results__item:hover::before { width: 2px; }
.shares-results__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.0;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 200ms var(--ease);
}
.shares-results__item:hover .shares-results__title { color: var(--accent); }
.shares-results__title .period { color: var(--accent); }
.shares-results__byline {
  font-family: var(--font-sans);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 6px;
  font-weight: 400;
}
.shares-results__meta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  text-align: right;
}
.shares-results__meta .tag { color: var(--cyan); }
.shares-results__arrow {
  display: inline-block;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  margin-left: 12px;
  font-size: 16px;
}
.shares-results__item:hover .shares-results__arrow { opacity: 1; transform: translateX(0); }

/* ---------- member detail --------------------------------------------- */
.detail-back {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}
.detail-back:hover { color: var(--accent); gap: 14px; }
.detail-back::before { content: "←"; font-size: 14px; }

.detail-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.detail-head::after {
  content: "";
  position: absolute;
  left: 0; right: 60%;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
}
.detail-avatar {
  width: 184px;
  height: 184px;
  border: 1px solid var(--accent);
  background: var(--paper-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent);
  position: relative;
}
.detail-avatar::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.detail-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
.detail-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.detail-name .period { color: var(--accent); }
.detail-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 18px 0 0 0;
}
.detail-meta .role { color: var(--accent); }
.detail-meta .sep { color: var(--ink-faint); margin: 0 10px; }

.shares-list {
  margin-top: 32px;
}
.share-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 28px;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding 200ms var(--ease);
  animation: rise 600ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.share-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 200ms var(--ease);
}
.share-row:hover { padding-left: 16px; }
.share-row:hover::before { width: 2px; }
.share-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  transition: color 200ms var(--ease);
}
.share-row:hover .share-row__title { color: var(--accent); }
.share-row__title .period { color: var(--accent); }
.share-row__desc {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 10px 0 0 0;
  max-width: 60ch;
  font-weight: 400;
}
.share-row__meta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 14px;
}
.share-row__meta .tag { color: var(--cyan); }
.share-row__meta .rt { color: var(--coral); }
.share-row__meta .sep { color: var(--ink-faint); margin: 0 8px; }
.share-row__date {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-variant-numeric: tabular-nums;
}
.share-row__arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  font-size: 18px;
}
.share-row:hover .share-row__arrow { opacity: 1; transform: translateX(0); }

/* ---------- empty states ---------------------------------------------- */
.empty {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  padding: 56px 0;
  text-align: center;
  font-weight: 400;
}
.empty .pilcrow { color: var(--accent); font-size: 32px; display: block; margin-bottom: 18px; font-style: normal; }
.empty code {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  background: var(--paper-soft);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.empty a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

.error {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 28px;
  border: 1px solid var(--coral);
  background: rgba(255, 140, 90, 0.05);
  margin-top: 40px;
  font-weight: 600;
}
.error pre {
  white-space: pre-wrap;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-family: inherit;
  font-weight: 400;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ---------- keyframes -------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .page { padding: 40px 20px 80px; }
  .masthead { grid-template-columns: 1fr; gap: 28px; }
  .masthead__lede { text-align: left; max-width: none; }
  .recent { grid-template-columns: 1fr; }
  .recent__item--hero { grid-column: span 1; grid-row: span 1; padding: 28px 24px; }
  .contributors { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; gap: 24px; }
  .detail-avatar { width: 132px; height: 132px; font-size: 44px; }
  .runner__active { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0ms !important;
  }
  .runner__pulse { animation: none; }
}
