/* ═══════════════════════════════════════════════════════════════════════════
   ROTTEN CHAMBER - Wiki Stylesheet
   Reference documentation for players. Mirrors presskit pattern.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-void: #030408;
  --bg-deepest: #060810;
  --bg-primary: #080A14;
  --bg-elevated: #0D0F1A;
  --bg-card: #12142A;
  --bg-card-hover: #181B35;

  --red: #D93333;
  --red-dark: #801414;
  --red-deep: #4D0A0A;
  --red-bright: #FF5959;

  --gold: #FFD700;
  --gold-muted: #C9A84C;
  --blue: #8BA4D9;
  --green: #4DFF66;

  --text-bright: #F0EDE6;
  --text-primary: #D9D5CC;
  --text-body: #B3AFA6;
  --text-muted: #9A968E;
  --text-dim: #908C84;
  --text-faint: #5C5850;

  --border-subtle: rgba(77, 77, 128, 0.25);
  --border-card: rgba(77, 77, 128, 0.15);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --wk-max-width: 1080px;
  --wk-padding: clamp(1.25rem, 4vw, 2rem);

  --radius-sm: 3px;
  --radius-md: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-body);
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-bright);
}

/* ─── Container ────────────────────────────────────────────────────────── */
.wk-container {
  max-width: var(--wk-max-width);
  margin: 0 auto;
  padding: 0 var(--wk-padding);
}

/* ─── Header ───────────────────────────────────────────────────────────── */
.wk-header {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.wk-header__back {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.wk-header__back:hover {
  color: var(--text-bright);
}

.wk-header__title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.wk-header__logo {
  height: 36px;
  width: auto;
}

.wk-header__label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  border-left: 1px solid var(--border-subtle);
  padding-left: var(--space-md);
}

/* ─── Cross-wiki Nav (sticky) ──────────────────────────────────────────── */
.wk-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-deepest);
  border-bottom: 1px solid var(--border-card);
  padding: var(--space-sm) 0;
}

.wk-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.wk-nav__list a {
  display: block;
  padding: var(--space-xs) var(--space-md);
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.wk-nav__list a:hover {
  color: var(--text-bright);
  background: var(--bg-elevated);
}

.wk-nav__list a.is-active {
  color: var(--red);
  background: var(--bg-elevated);
}

/* ─── Page Heading ─────────────────────────────────────────────────────── */
.wk-page-head {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-card);
}

.wk-page-head__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: var(--space-sm);
}

.wk-page-head h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  margin-bottom: var(--space-md);
}

.wk-page-head__lede {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ─── In-page TOC (non-sticky) ─────────────────────────────────────────── */
.wk-toc {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.wk-toc__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: var(--space-sm);
}

.wk-toc__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.wk-toc__list a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.wk-toc__list a:hover {
  color: var(--text-bright);
}

/* ─── Sections ─────────────────────────────────────────────────────────── */
.wk-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-card);
}

.wk-section:last-of-type {
  border-bottom: none;
}

.wk-section__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: var(--space-md);
}

.wk-section__intro {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.wk-section h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.wk-section p {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.wk-section ul:not(.wk-toc__list):not(.wk-nav__list):not(.wk-bullets) {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
}

/* ─── Bulleted list (red dot) ──────────────────────────────────────────── */
.wk-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.wk-bullets li {
  position: relative;
  padding-left: var(--space-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.wk-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

.wk-bullets--gold li::before {
  background: var(--gold);
}

/* ─── Landing: section cards grid ──────────────────────────────────────── */
.wk-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin: var(--space-lg) 0 var(--space-xl);
}

.wk-landing-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  color: inherit;
}

.wk-landing-card:hover {
  border-color: var(--red-dark);
  background: var(--bg-card);
  color: inherit;
}

.wk-landing-card__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}

.wk-landing-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.wk-landing-card__desc {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.wk-landing-card__arrow {
  margin-top: var(--space-sm);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.wk-landing-card:hover .wk-landing-card__arrow {
  color: var(--red);
}

/* ─── Role catalog ─────────────────────────────────────────────────────── */
.wk-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.wk-role-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.wk-role-card--corrupt {
  border-color: var(--red-deep);
  background: linear-gradient(180deg, var(--bg-deepest) 0%, rgba(77, 10, 10, 0.12) 100%);
}

.wk-role-card__portrait-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  align-self: center;
}

.wk-role-card__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

/* Flip-portrait widget: shows male variant by default, click to flip to female */
.wk-portrait-flip {
  width: 100%;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.wk-portrait-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.wk-portrait-flip.is-flipped .wk-portrait-flip__inner {
  transform: rotateY(180deg);
}

.wk-portrait-flip__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.2s ease;
}

.wk-portrait-flip__face--back {
  transform: rotateY(180deg);
}

.wk-portrait-flip:hover .wk-portrait-flip__face,
.wk-portrait-flip:focus-visible .wk-portrait-flip__face {
  border-color: var(--red-dark);
}

.wk-portrait-flip:focus-visible {
  outline: none;
}

.wk-portrait-flip__hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(8, 10, 20, 0.7);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.wk-portrait-flip:hover .wk-portrait-flip__hint,
.wk-portrait-flip:focus-visible .wk-portrait-flip__hint {
  opacity: 1;
}

.wk-role-card__portrait-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--bg-card) 100%);
  border: 1px solid var(--red-deep);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.wk-role-card__portrait-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  opacity: 0.85;
}

.wk-role-card__portrait-caption {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  text-align: center;
  line-height: 1.3;
}

.wk-role-card--corrupt .wk-role-card__portrait-caption {
  color: var(--red-bright);
}

.wk-role-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.wk-role-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xs);
}

.wk-role-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.wk-role-card--corrupt .wk-role-card__name {
  color: var(--red-bright);
}

.wk-role-card__short {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.wk-role-card__desc {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.wk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.wk-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  white-space: nowrap;
}

.wk-badge--alignment-clean {
  background: rgba(139, 164, 217, 0.12);
  color: var(--blue);
  border-color: rgba(139, 164, 217, 0.25);
}

.wk-badge--alignment-corrupt {
  background: rgba(217, 51, 51, 0.15);
  color: var(--red-bright);
  border-color: rgba(217, 51, 51, 0.35);
}

.wk-badge--active {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.3);
}

.wk-badge--passive {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.wk-badge--cap {
  background: var(--bg-elevated);
  color: var(--text-dim);
}

/* Statement examples (truth + lie) */
.wk-statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.wk-statement {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-elevated);
}

.wk-statement__label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.wk-statement--truth .wk-statement__label {
  color: var(--blue);
}

.wk-statement--lie .wk-statement__label {
  color: var(--red);
}

.wk-statement__text {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
}

/* ─── Professional cards ───────────────────────────────────────────────── */
.wk-prof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.wk-prof-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  align-items: start;
}

.wk-prof-card__icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.wk-prof-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ─── Tables ───────────────────────────────────────────────────────────── */
.wk-table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
}

.wk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.wk-table caption {
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.wk-table th,
.wk-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-card);
}

.wk-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-deepest);
  white-space: nowrap;
}

.wk-table td {
  color: var(--text-primary);
}

.wk-table tbody tr:hover {
  background: var(--bg-elevated);
}

.wk-table .wk-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wk-table .wk-emph {
  color: var(--text-bright);
  font-weight: 500;
}

/* ─── Act timeline cards ───────────────────────────────────────────────── */
.wk-act-card {
  padding: var(--space-lg);
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.wk-act-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-card);
}

.wk-act-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.wk-difficulty {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.wk-difficulty--easy {
  background: rgba(77, 255, 102, 0.1);
  color: var(--green);
  border-color: rgba(77, 255, 102, 0.3);
}

.wk-difficulty--normal {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.3);
}

.wk-difficulty--hard {
  background: rgba(217, 51, 51, 0.15);
  color: var(--red-bright);
  border-color: rgba(217, 51, 51, 0.35);
}

/* ─── Page footer / cross-page nav ─────────────────────────────────────── */
.wk-page-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-card);
  margin-top: var(--space-xl);
}

.wk-prevnext {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.wk-prevnext a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-md);
  flex: 1;
  min-width: 200px;
  background: var(--bg-deepest);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.wk-prevnext a:hover {
  border-color: var(--red-dark);
  background: var(--bg-card);
  color: inherit;
}

.wk-prevnext__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.wk-prevnext__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.wk-prevnext a:hover .wk-prevnext__title {
  color: var(--red);
}

.wk-prevnext__align-right {
  text-align: right;
  align-items: flex-end;
}

.wk-footer {
  padding: var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid var(--border-card);
}

.wk-footer p {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.wk-footer a {
  color: var(--text-dim);
}

.wk-footer a:hover {
  color: var(--text-muted);
}

/* ─── Back to top ──────────────────────────────────────────────────────── */
.wk-back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: rgba(13, 15, 26, 0.85);
  border: 1px solid var(--red-dark);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
    border-color 0.15s ease, color 0.15s ease;
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 0;
}

.wk-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wk-back-to-top:hover {
  border-color: var(--red);
  color: var(--text-bright);
}

@media (max-width: 640px) {
  .wk-back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

/* ─── Coming Soon placeholder ──────────────────────────────────────────── */
.wk-coming-soon {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  background: var(--bg-deepest);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-md);
  margin: 0;
}

/* ─── Note callout ─────────────────────────────────────────────────────── */
.wk-note {
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 215, 0, 0.06);
  border-left: 3px solid var(--gold-muted);
  border-radius: var(--radius-sm);
  margin: var(--space-md) 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.wk-note strong {
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: var(--space-xs);
}

.wk-note--danger {
  background: rgba(217, 51, 51, 0.08);
  border-left-color: var(--red);
}

.wk-note--danger strong {
  color: var(--red-bright);
}

/* ─── Definition list (key-value rows) ─────────────────────────────────── */
.wk-deflist {
  display: grid;
  gap: 0;
}

.wk-deflist__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border-card);
  padding: var(--space-sm) 0;
}

.wk-deflist__row:last-child {
  border-bottom: none;
}

.wk-deflist dt {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.wk-deflist dd {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wk-landing-grid {
    grid-template-columns: 1fr;
  }

  .wk-role-card {
    grid-template-columns: 120px 1fr;
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .wk-prof-card {
    grid-template-columns: 88px 1fr;
    padding: var(--space-md);
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .wk-role-card {
    grid-template-columns: 1fr;
  }

  .wk-role-card__portrait-wrap {
    max-width: 200px;
    margin: 0 auto;
  }

  .wk-prof-card {
    grid-template-columns: 1fr;
  }

  .wk-prof-card__icon {
    max-width: 120px;
    margin: 0 auto;
  }

  .wk-statements {
    grid-template-columns: 1fr;
  }

  .wk-deflist__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .wk-prevnext a {
    min-width: 100%;
  }

  .wk-prevnext__align-right {
    text-align: left;
    align-items: flex-start;
  }

  .wk-header__logo {
    height: 28px;
  }

  .wk-nav__list {
    gap: 0;
  }

  .wk-toc__list {
    gap: var(--space-sm) var(--space-md);
  }
}