/* Read.cv Front Page: broad canvas, independent card heights, quiet chrome. */
:root {
  --rail: 64px;
  --bg: #f9f5ef;
  --surface: #fdfcf9;
  --surface-alt: #f1ece5;
  --card-bg: #fdfcf9;
  --ink: #1a1918;
  --muted: #625d58;
  --faint: #625d58;
  --border: #d4cfc6;
  --control-border: #7c7771;
  --focus: #514e4b;
  --accent: #1a1918;
  --accent-soft: #f1ece5;
  --on-accent: #fdfcf9;
  --code-bg: #f1ece5;
  --error: #962f2f;
  --wall-gap: 22px;
}
:root[data-theme="dark"] {
  --bg: #0c0c0b;
  --surface: #1a1918;
  --surface-alt: #363533;
  --card-bg: #1a1918;
  --ink: #f9f5ef;
  --muted: #c2bcb2;
  --faint: #aba69d;
  --border: #363533;
  --control-border: #7c7771;
  --focus: #e6e1d9;
  --accent: #f9f5ef;
  --accent-soft: #363533;
  --on-accent: #1a1918;
  --code-bg: #1a1918;
  --error: #ffb0b0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0c0c0b;
    --surface: #1a1918;
    --surface-alt: #363533;
    --card-bg: #1a1918;
    --ink: #f9f5ef;
    --muted: #c2bcb2;
    --faint: #aba69d;
    --border: #363533;
    --control-border: #7c7771;
    --focus: #e6e1d9;
    --accent: #f9f5ef;
    --accent-soft: #363533;
    --on-accent: #1a1918;
    --code-bg: #1a1918;
  }
}
body {
  background: var(--bg);
}
.site-header {
  width: var(--rail);
  padding: 18px 8px;
  gap: 28px;
  border-right: 1px solid var(--border);
  overflow: visible;
}
.wordmark img {
  width: 30px;
  height: 30px;
}
.rail-link {
  position: relative;
  width: 44px;
  min-height: 44px;
  padding: 10px;
  gap: 0;
  border-radius: 8px;
}
.rail-link svg {
  width: 20px;
  height: 20px;
}
.rail-link > span {
  position: absolute;
  left: calc(100% + 13px);
  z-index: 80;
  white-space: nowrap;
  width: auto;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--bg);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-3px);
  pointer-events: none;
  transition:
    opacity 150ms,
    transform 150ms,
    visibility 150ms;
}
.rail-link:hover > span,
.rail-link:focus-visible > span {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.rail-link:hover,
.rail-link[aria-current] {
  background: var(--surface);
}
.main-navigation,
.rail-tools {
  gap: 10px;
}
.site-main {
  padding-top: 38px;
}
.page-about .site-main,
.page-projects .site-main,
.page-blog .site-main {
  max-width: 1720px;
  padding: 18px 26px 26px;
  min-height: calc(100dvh - 100px);
}
.wall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 18px;
}
.wall-toolbar > p {
  font-size: 14px;
  font-weight: 500;
}
.wall-about-link {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
}
.wall-about-link span {
  margin-left: 5px;
}
.wall-grid,
.journal .journal-list {
  display: block;
  column-width: 280px;
  column-gap: var(--wall-gap);
}
.wall-grid > .wall-card {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  break-inside: avoid;
  margin: 0 0 var(--wall-gap);
}
.wall-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card-bg);
  overflow: clip;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.025);
  transform: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms;
}
@media (hover: hover) {
  .wall-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgb(0 0 0 / 0.065);
    border-color: var(--control-border);
  }
}
.wall-card[data-entered] {
  animation: wall-arrive 550ms var(--ease) backwards;
}
@keyframes wall-arrive {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}
:is(.wall-grid, .profile-feed-grid) .wall-card.project-row,
:is(.wall-grid, .profile-feed-grid) .wall-card.selected-project,
:is(.wall-grid, .profile-feed-grid) .wall-card.writing-preview {
  display: inline-block;
  padding: 0;
  border: 1px solid var(--border);
  margin: 0 0 var(--wall-gap);
}
:is(.wall-grid, .profile-feed-grid) .wall-card > .wall-media {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: var(--surface-alt);
  overflow: hidden;
}
:is(.wall-grid, .profile-feed-grid) .wall-card .wall-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  transform: none;
  border: 0;
}
:is(.wall-grid, .profile-feed-grid) .wall-card .wall-media figure {
  margin: 0;
}
:is(.wall-grid, .profile-feed-grid) .wall-card .wall-card-body {
  padding: 16px 17px;
  min-width: 0;
}
.wall-card h2,
.wall-card h3,
:is(.wall-grid, .profile-feed-grid) .project-card-copy h2,
:is(.wall-grid, .profile-feed-grid) .project-card-copy h3 {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0;
}
.wall-card h2 a,
.wall-card h3 a {
  text-decoration: none;
}
.wall-card h2 a:hover,
.wall-card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--faint);
}
.wall-card .wall-card-body > .wall-excerpt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 7px 0 0;
}
.wall-card .wall-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.5;
  margin: 14px 0 0;
}
.wall-kicker {
  font-size: 11.5px;
  color: var(--faint);
  margin-bottom: 7px;
}
:is(.wall-grid, .profile-feed-grid) .wall-text-card .wall-card-body {
  padding: 22px;
}
:is(.wall-grid, .profile-feed-grid) .wall-text-card .wall-excerpt {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--ink);
}
.identity-card {
  padding: 20px;
}
.identity-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}
.identity-heading img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.identity-card h1 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.identity-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.identity-focus {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink);
}
.identity-summary {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.identity-email {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  margin-top: 19px;
  text-decoration: underline;
  text-decoration-color: var(--border);
}
.wall-spotlight .project-deck {
  padding: 0;
  margin: 0;
  border: 0;
}
.wall-spotlight .project-deck-media {
  border-radius: 0;
  background: var(--surface-alt);
}
.wall-spotlight .project-deck-media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}
.wall-spotlight .project-deck-copy {
  padding: 14px 17px 0;
}
.wall-spotlight .project-deck-copy h3 {
  font-size: 14px;
}
.wall-spotlight .project-deck-copy > p {
  font-size: 13px;
  line-height: 1.65;
  margin: 7px 0 0;
}
.wall-spotlight .project-deck-copy .project-deck-meta {
  margin: 0 0 6px;
  font-size: 11.5px;
  color: var(--faint);
}
.wall-spotlight .project-deck-controls {
  margin: 10px 12px 0;
  padding-bottom: 8px;
  gap: 4px;
}
.wall-spotlight .project-deck-dots {
  gap: 0;
}
.wall-spotlight .project-deck-dots button {
  min-width: 28px;
  min-height: 32px;
  padding: 11px;
}
.wall-spotlight [data-deck-previous],
.wall-spotlight [data-deck-next] {
  display: none;
}
.wall-spotlight .project-deck-timing {
  margin-top: 0;
}
.wall-spotlight .project-deck-actions [data-deck-pause] {
  font-size: 11.5px;
}
.card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}
.card-menu-button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  opacity: 0.5;
  font-size: 15px;
  line-height: 1;
  transition:
    opacity 160ms ease,
    background 160ms ease,
    color 160ms ease;
}
.card-menu-button:hover,
.card-menu-button[aria-expanded="true"] {
  opacity: 1;
  color: var(--ink);
  background: var(--surface-alt);
}
@media (hover: hover) {
  .wall-card .card-actions {
    opacity: 0;
    transition: opacity 160ms ease;
  }
  .wall-card:hover .card-actions,
  .wall-card:focus-within .card-actions {
    opacity: 0.75;
  }
  .wall-card .card-actions:hover {
    opacity: 1;
  }
}
.card-menu-panel {
  position: fixed;
  inset: auto;
  margin: 0;
  z-index: 100;
  min-width: 160px;
  max-width: calc(100vw - 24px);
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.15);
}
.card-menu-panel[hidden] {
  display: none !important;
}
.card-menu-panel:not([hidden]) {
  display: grid;
}
.card-menu-panel [role="menuitem"] {
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 9px 11px;
  font-size: 12px;
  border-radius: 5px;
  text-decoration: none;
}
.card-menu-panel [role="menuitem"]:hover,
.card-menu-panel [role="menuitem"]:focus-visible {
  background: var(--surface-alt);
}
.page-projects .page-heading,
.page-blog .page-heading {
  max-width: none;
  margin: 12px 0 20px;
}
.page-projects .page-heading h1,
.page-blog .page-heading h1 {
  font-size: 19px;
}
.page-projects .page-heading .lead,
.page-blog .page-heading .lead {
  font-size: 13px;
  margin-top: 7px;
}
.page-projects .filter-panel,
.page-blog .filter-panel {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 24px;
  gap: 12px 18px;
  align-items: center;
}
.page-projects .filter-panel .search-field,
.page-blog .filter-panel .search-field {
  max-width: 300px;
}
.filter-panel .search-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.page-projects .filter-status,
.page-blog .filter-status {
  font-size: 11.5px;
  margin: 0;
}
.page-projects .filter-options legend,
.page-blog .filter-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.page-projects .filter-buttons button,
.page-blog .filter-buttons button {
  font-size: 12px;
  border-radius: 6px;
  min-height: 34px;
  padding: 6px 10px;
}
.project-list.wall-grid {
  margin: 0;
}
.wall-announcements {
  max-width: 800px;
  margin: 30px auto;
}
.page-about .site-footer,
.page-projects .site-footer,
.page-blog .site-footer {
  max-width: 1720px;
  padding-inline: 26px;
}
.page-about .site-footer a[href^="mailto:"] {
  display: none;
}
.about-identity {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}
.about-identity img {
  border-radius: 50%;
}
.about-identity h2 {
  margin: 0;
  font-size: 20px;
}
.about-identity p {
  margin-top: 4px;
}
@media (max-width: 800px) {
  .site-header {
    width: 100%;
    padding: 10px 20px;
    gap: 6px 10px;
  }
  .rail-link {
    width: 36px;
  }
  .main-navigation .rail-link > span {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    color: inherit;
    padding: 0;
    font-size: 14px;
  }
  .main-navigation[data-enhanced="true"].is-open {
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .page-about .site-main,
  .page-projects .site-main,
  .page-blog .site-main {
    padding: 16px 20px 24px;
  }
  .wall-toolbar {
    margin-bottom: 16px;
  }
  .wall-grid,
  .journal .journal-list {
    column-width: 260px;
    column-gap: 18px;
  }
  .wall-grid > .wall-card {
    margin-bottom: 18px;
  }
  :is(.wall-grid, .profile-feed-grid) .wall-card.project-row,
  :is(.wall-grid, .profile-feed-grid) .wall-card.selected-project,
  :is(.wall-grid, .profile-feed-grid) .wall-card.writing-preview {
    margin-bottom: 18px;
  }
}
@media (max-width: 580px) {
  .wall-grid,
  .journal .journal-list {
    columns: 1;
  }
  .wall-spotlight .project-deck-media img {
    height: 240px;
  }
  .card-menu-button {
    width: 36px;
    height: 36px;
  }
}
@media (min-width: 801px) and (max-height: 640px) {
  .site-header {
    gap: 6px;
    padding-block: 5px;
  }
  .rail-link {
    padding-block: 3px;
  }
  .main-navigation,
  .rail-tools {
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wall-card,
  .wall-card[data-entered] {
    animation: none;
    transition: none;
    transform: none;
  }
}
@media print {
  .wall-grid,
  .journal .journal-list {
    columns: 2;
  }
  .card-actions {
    display: none;
  }
  .wall-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

.wall-card .wall-card-body > .wall-meta {
  font-size: 11.5px;
  margin: 0 0 7px;
  gap: 5px;
  align-items: baseline;
}
.wall-card .wall-meta .project-year {
  font-size: inherit;
}
.identity-heading-right {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.identity-heading .profile-portrait-square {
  border-radius: 6px;
}
.wall-writing-group > h2 {
  padding: 18px 18px 0;
}
.wall-writing-group .writing-preview-scroll {
  max-height: 32rem;
  overflow-y: auto;
  padding: 0;
  margin-top: 12px;
}
.wall-writing-group .writing-card {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transform: none;
  margin: 0;
}
.wall-writing-group .writing-card:last-child {
  border-bottom: 0;
}
.wall-writing-group .wall-media img {
  max-height: 140px;
}
.card-menu-status {
  max-width: 230px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.card-menu-status:empty {
  display: none;
}
@media (max-width: 580px) {
  .page-about .site-main {
    padding-top: 12px;
  }
  .wall-toolbar {
    min-height: 34px;
    margin-bottom: 14px;
  }
  .identity-card {
    padding: 18px;
  }
  .identity-focus {
    margin-top: 12px;
  }
  .identity-summary {
    margin-top: 6px;
  }
  .identity-email {
    margin-top: 12px;
  }
}

.rail-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -8px;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background: var(--ink);
}
@media (max-width: 800px) {
  .rail-link[aria-current="page"]::before {
    left: 0;
  }
}

.card-menu-panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-main .wall-collection {
  max-width: none;
  width: 100%;
}
.page-projects .filter-panel,
.page-blog .filter-panel {
  display: flex;
  flex-wrap: wrap;
}
.page-projects .filter-panel .search-field,
.page-blog .filter-panel .search-field {
  flex: 1 1 240px;
  max-width: 300px;
  width: 100%;
  min-width: 0;
}
.page-projects .filter-status,
.page-blog .filter-status {
  margin-left: auto;
}
.about-identity img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  flex-shrink: 0;
}
.about-identity .profile-portrait-square {
  border-radius: 6px;
}
.about-identity-right {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
@media (max-width: 580px) {
  .page-projects .filter-status,
  .page-blog .filter-status {
    margin-left: 0;
  }
}

/* Cards are atomic blocks; do not keep two inline card-lines per column. */
.wall-grid {
  orphans: 1;
  widows: 1;
}

/* Unified profile: identity remains in place while the catalog is filtered. */
.profile-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--border);
}
.profile-masthead-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.profile-masthead-right .profile-avatar {
  order: 2;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.profile-avatar.profile-portrait-square {
  border-radius: 8px;
}
.profile-introduction {
  flex: 1;
  min-width: 0;
}
.profile-introduction h1 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.profile-role {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.profile-role > span {
  padding: 0 4px;
}
.profile-summary {
  max-width: 60ch;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.profile-connections {
  max-width: 340px;
}
.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  border: 0;
}
.profile-social-links .profile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  width: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
}
.profile-social-links .profile-social-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brand-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.profile-link-list:not(.profile-social-links) .profile-social-link {
  justify-content: flex-start;
  gap: 12px;
}
.profile-catalog {
  padding-top: 20px;
}
.feed-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.feed-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.feed-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition:
    background 180ms,
    color 180ms,
    border-color 180ms;
}
.feed-tabs button svg {
  width: 15px;
  height: 15px;
}
.feed-tabs button > span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.feed-tabs button:hover {
  color: var(--ink);
  background: var(--surface-alt);
}
.feed-tabs button[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
}
.feed-sort {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  color: var(--muted);
}
.feed-sort > svg {
  width: 15px;
  height: 15px;
}
.feed-sort select {
  color: var(--ink);
  background: var(--bg);
  border: 0;
  border-radius: 4px;
  max-width: 180px;
  min-height: 40px;
  font-size: 12px;
  cursor: pointer;
}
.feed-context {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 65px;
  padding: 8px 0 18px;
}
.feed-context > p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.feed-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  width: 250px;
  border-bottom: 1px solid var(--control-border);
}
.feed-search svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.feed-search input {
  min-width: 0;
  width: 100%;
  min-height: 36px;
  padding: 5px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
}
.feed-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.feed-count {
  font-size: 11px;
  color: var(--muted);
  min-width: 50px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.profile-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr));
  align-items: start;
  gap: 22px;
  width: 100%;
}
.profile-feed-grid[data-feed-enhanced="true"] {
  display: block;
  position: relative;
}
.profile-feed-grid[data-feed-enhanced="true"] > [data-feed-item] {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transform: none;
}
.profile-feed-grid [data-feed-item] {
  animation: none;
  break-inside: avoid;
}
.profile-feed-grid .wall-card {
  transition:
    border-color 180ms,
    box-shadow 180ms;
}
.profile-feed-grid .wall-card:hover {
  transform: none;
}
.profile-feed-grid:not([data-feed-enhanced]) .wall-card:hover {
  transform: none;
}
.profile-feed-grid[data-feed-scrollable="true"] {
  max-height: min(70dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.spotlight-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 13px 18px;
  font-size: 11.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.spotlight-label svg {
  width: 14px;
  height: 14px;
}
.wall-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.wall-meta > svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.wall-card .wall-card-body {
  padding: 18px;
}
.paper-card .wall-card-body {
  padding: 24px;
}
.paper-card h2 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.paper-authors,
.paper-venue {
  font-size: 12px;
  color: var(--muted);
}
.paper-citation {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  margin-top: 16px;
}
.paper-citation svg {
  width: 14px;
  height: 14px;
}
.feed-empty {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 20px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 10px;
}
.feed-empty > svg {
  width: 24px;
  height: 24px;
  color: var(--muted);
  margin-bottom: 16px;
}
.feed-empty h2 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 500;
}
.feed-empty p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.feed-reset {
  margin-top: 20px;
  padding: 10px 16px;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}
.feed-fallback {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
::selection {
  background: var(--border);
  color: var(--ink);
}
@media (max-width: 1100px) {
  .profile-masthead {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .profile-connections {
    max-width: none;
    padding-left: 82px;
  }
  .feed-tabs button {
    padding-inline: 10px;
  }
}
@media (max-width: 700px) {
  .profile-masthead {
    padding: 20px 0 24px;
    gap: 12px;
  }
  .profile-masthead-main {
    gap: 13px;
  }
  .profile-avatar {
    width: 48px;
    height: 48px;
  }
  .profile-introduction h1 {
    font-size: 22px;
  }
  .profile-role {
    font-size: 11.5px;
    line-height: 1.7;
  }
  .profile-summary {
    font-size: 12.5px;
    line-height: 1.75;
  }
  .profile-connections {
    padding-left: 0;
  }
  .profile-social-links {
    gap: 4px 15px;
  }
  .profile-social-links .profile-social-link {
    font-size: 11.5px;
    min-height: 38px;
    gap: 6px;
  }
  .brand-icon {
    width: 16px;
    height: 16px;
  }
  .feed-toolbar {
    flex-wrap: wrap;
    gap: 5px;
  }
  .feed-tabs {
    display: grid;
    grid-template-columns: 1.2fr 0.65fr 1.15fr 1.1fr 1fr;
    gap: 2px;
    width: 100%;
  }
  .feed-tabs button {
    padding: 7px 4px;
    font-size: 11.5px;
    gap: 3px;
    min-width: 0;
  }
  .feed-tabs button svg,
  .feed-tabs button > span {
    display: none;
  }
  .feed-sort {
    margin-left: auto;
  }
  .feed-context {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 4px;
    padding-bottom: 20px;
  }
  .feed-context > p {
    flex-basis: calc(100% - 75px);
  }
  .feed-search {
    order: 3;
    width: 100%;
  }
  .feed-count {
    margin-left: auto;
  }
  .profile-catalog {
    padding-top: 14px;
  }
}

.profile-feed-grid > .wall-card {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}
.profile-feed-grid .wall-card .wall-meta {
  margin-top: 0;
}

@media (max-width: 700px) {
  .profile-feed-grid .wall-spotlight .project-deck-media,
  .profile-feed-grid .wall-spotlight .project-deck-media img {
    height: 180px;
  }
}
