:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray: #666;
  --mid-gray: #999;
  --light-gray: #e8e8e8;
  --off-white: #f5f5f3;
  --white: #fff;
  --accent: #00c8b4;
  font-family:
    "Space Grotesk",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
}

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

body {
  background: var(--white);
  color: var(--black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───────────────────────────────────
   Header
   ─────────────────────────────────── */

.top-bar {
  background: var(--black);
  height: 36px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-logo {
  display: block;
}

.top-bar-logo img {
  display: block;
  height: 24px;
  width: auto;
}

.site-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  padding: 2.5rem 2rem 2rem;
}

.site-header--public {
  padding: 2.5rem 0 2rem;
}

.site-header--public .header-inner {
  padding: 0 2rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.site-title-link {
  display: block;
  text-decoration: none;
}

.site-title-link:hover {
  text-decoration: none;
}

.site-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
}

.site-tagline {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray);
  max-width: 40rem;
  line-height: 1.5;
}

/* Header with logo (AdminLayout) */
.header-inner:has(.logo) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header:has(.logo) {
  background: var(--black);
  border-bottom: none;
  padding: 1.25rem 2rem;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 24px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.site-nav a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* ───────────────────────────────────
   Sub-header navigation
   ─────────────────────────────────── */

.sub-header {
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 36px;
  z-index: 100;
  background: var(--white);
}

.sub-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.sub-header-left,
.sub-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sub-header-right {
  margin-left: auto;
}

.sub-header a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
}

.sub-header a:hover {
  color: var(--black);
  text-decoration: none;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.locale-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 0.1rem 0.4rem;
  color: var(--mid-gray);
  border-bottom: 1px solid transparent;
}

.locale-switch a:hover {
  text-decoration: none;
}

.locale-switch a.active {
  color: var(--black);
  border-bottom-color: currentColor;
}

.locale-switch--top a {
  color: rgba(255, 255, 255, 0.72);
}

.locale-switch--top a:hover {
  color: var(--white);
}

.locale-switch--top a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  transition: width 0.22s ease;
}

.search-toggle {
  background: transparent;
  border: none;
  color: var(--gray);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    color 0.15s ease,
    transform 0.22s ease;
}

.search-toggle:hover {
  color: var(--black);
}

.search-toggle-icon {
  width: 18px;
  height: 18px;
}

.search-field {
  width: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
  display: flex;
  align-items: center;
}

.site-search[data-open="true"] .search-field {
  width: clamp(140px, 24vw, 220px);
  opacity: 1;
  border-bottom-color: var(--mid-gray);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 0.875rem;
  padding: 0.2rem 0;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: var(--mid-gray);
}

.search-fade {
  animation: searchFade 0.2s ease;
}

@keyframes searchFade {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────────────────────────────────
   Context filter navigation
   ─────────────────────────────────── */

.context-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.context-nav a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mid-gray);
  border: 1px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.context-nav a:hover {
  color: var(--black);
  text-decoration: none;
}

.context-nav a.active {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

/* ───────────────────────────────────
   Page filters (homepage & archive)
   ─────────────────────────────────── */

.page-filters,
.archive-filters {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-row {
  --filter-cell-width: 8ch;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.75rem;
}

.filter-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-gray);
  width: 4.5rem;
  flex-shrink: 0;
}

.filter-row .year-nav,
.filter-row .context-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(var(--filter-cell-width), max-content));
  gap: 0.35rem 0.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  width: max-content;
}

.filter-row .year-nav a,
.filter-row .context-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  min-width: var(--filter-cell-width);
  padding: 0.35rem 0.5rem;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .filter-row .year-nav,
  .filter-row .context-nav {
    grid-template-columns: repeat(6, minmax(var(--filter-cell-width), max-content));
  }
}

@media (max-width: 760px) {
  .filter-row {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
  }

  .filter-label {
    width: auto;
  }

  .filter-row .year-nav,
  .filter-row .context-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

.year-nav a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mid-gray);
  transition: color 0.15s;
}

.year-nav a:hover {
  color: var(--black);
  text-decoration: none;
}

.year-nav a.active {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

/* ───────────────────────────────────
   Main content
   ─────────────────────────────────── */

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

/* ───────────────────────────────────
   Project grid
   ─────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem 2rem;
}

/* ───────────────────────────────────
   Card
   ─────────────────────────────────── */

.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  text-decoration: none;
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--light-gray);
  margin-bottom: 0.75rem;
  transition: opacity 0.2s ease;
}

.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.875rem;
}

.card:hover .card-image {
  opacity: 0.85;
}

.card-body {
  padding: 0;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.125rem;
  color: var(--black);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.4;
}

.card-year {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--mid-gray);
}

.card:hover .card-title {
  text-decoration: underline;
}

/* ───────────────────────────────────
   Student detail page
   ─────────────────────────────────── */

.detail {
  max-width: 1000px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--mid-gray);
  font-weight: 500;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--black);
  text-decoration: none;
}

/* Detail header — large editorial typography */
.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.detail-header-right {
  border-left: 1px solid var(--light-gray);
  padding-left: 2rem;
}

.detail-project-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
}

.detail-name {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-location {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 500;
}

.detail-meta {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Hero image */
.detail-hero {
  margin-bottom: 3.5rem;
}

.detail-hero img {
  width: 100%;
  cursor: pointer;
}

/* Content sections */
.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.detail-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-gray);
}

.detail-section .description,
.detail-section .rich-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--dark);
  white-space: pre-wrap;
  margin-bottom: 0;
}

/* Tags */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  border: 1px solid var(--light-gray);
  letter-spacing: 0.02em;
}

/* ───────────────────────────────────
   Masonry gallery
   ─────────────────────────────────── */

.detail-gallery {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 3.5rem;
  padding: 0 4rem;
  box-sizing: border-box;
}

.masonry {
  columns: 2;
  column-gap: 4rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4rem;
}

.masonry-item img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.masonry-item img:hover {
  opacity: 0.9;
}

.masonry-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--mid-gray);
  line-height: 1.4;
}

/* ───────────────────────────────────
   Social links
   ─────────────────────────────────── */

.detail-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.detail-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 500;
  transition:
    color 0.15s,
    border-color 0.15s;
  text-decoration: none;
}

.detail-links a:hover {
  color: var(--black);
  text-decoration: none;
}

.detail-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--mid-gray);
}

.detail-link-svg {
  width: 16px;
  height: 16px;
  display: block;
}

.detail-links a:hover .detail-link-icon {
  color: var(--black);
}

/* ───────────────────────────────────
   Video embeds
   ─────────────────────────────────── */

.rich-description {
  white-space: pre-wrap;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  background: var(--light-gray);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ───────────────────────────────────
   Lightbox
   ─────────────────────────────────── */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
  z-index: 1000;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.lightbox-image {
  grid-area: 1 / 1;
  max-width: 92vw;
  max-height: 88vh;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  cursor: pointer;
  opacity: 0;
}

.lightbox.is-open .lightbox-image.is-active {
  opacity: 1;
}

.lightbox-media {
  position: relative;
  display: grid;
  place-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox-image {
    transition: none !important;
  }
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

/* ───────────────────────────────────
   About page
   ─────────────────────────────────── */

.about-content {
  max-width: 600px;
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-content p {
  line-height: 1.7;
}

.about-content a {
  color: var(--gray);
  text-decoration: underline;
}

.credits-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.credits-entry {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.credits-entry dt {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  min-width: 160px;
  flex-shrink: 0;
}

.credits-entry dd {
  font-weight: 600;
}

.credits-source {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray);
}

/* ───────────────────────────────────
   Empty state
   ─────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--mid-gray);
  font-size: 0.9375rem;
}

/* ───────────────────────────────────
   Footer
   ─────────────────────────────────── */

.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  padding: 3.5rem 2rem 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-sub {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.footer-arrow-link {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.footer-arrow-link::before {
  content: "→ ";
}

.footer-arrow-link:hover {
  text-decoration: underline;
}

.footer-note {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-col--contact {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--gray);
}

.footer-contact-name {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.125rem;
}

.footer-col--contact a {
  color: var(--gray);
  text-decoration: underline;
  text-decoration-color: var(--light-gray);
  text-underline-offset: 2px;
}

.footer-col--contact a:hover {
  color: var(--black);
  text-decoration-color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
  font-size: 0.75rem;
  color: var(--mid-gray);
}

/* ───────────────────────────────────
   View transitions
   ─────────────────────────────────── */

@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ───────────────────────────────────
   Responsive
   ─────────────────────────────────── */

@media (max-width: 768px) {
  .top-bar-inner {
    padding: 0 1.25rem;
  }

  .site-header--public .header-inner {
    padding: 0 1.25rem;
  }

  .site-header {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .site-header--public {
    padding: 1.75rem 0 1.5rem;
  }

  .site-header:has(.logo) {
    padding: 1rem 1.25rem;
  }

  .logo img {
    height: 20px;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

  .site-title {
    font-size: 1.75rem;
  }

  .site-tagline {
    font-size: 0.8125rem;
  }

  .sub-header-inner {
    padding: 0 1.25rem;
    position: relative;
  }

  .sub-header-left,
  .sub-header-right {
    gap: 1rem;
  }

  .sub-header a {
    font-size: 0.8125rem;
  }

  .sub-header-left {
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .sub-header-right {
    flex: 1;
    justify-content: flex-end;
  }

  .sub-header--search-open .sub-header-left {
    opacity: 0;
    transform: translateX(-8px);
    pointer-events: none;
  }

  .sub-header--search-open .sub-header-right {
    position: absolute;
    top: 0;
    right: 1.25rem;
    left: 1.25rem;
    height: 48px;
  }

  .sub-header--search-open .site-search {
    width: 100%;
    justify-content: flex-start;
  }

  .sub-header--search-open .site-search[data-open="true"] .search-field {
    width: 100%;
    opacity: 1;
    border-bottom-color: var(--mid-gray);
  }

  .sub-header--search-open .search-toggle {
    transform: translateX(0);
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem 1.25rem;
  }

  .detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-header-right {
    order: 1;
    border-left: none;
    padding-left: 0;
    border-top: none;
    padding-top: 0;
  }

  .detail-header-left {
    order: 2;
  }

  .masonry {
    columns: 1;
  }

  .detail-gallery {
    margin: 0 calc(50% - 50vw) 3.5rem;
    padding: 0 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .top-bar-inner {
    padding: 0 1rem;
  }

  .site-header--public .header-inner {
    padding: 0 1rem;
  }

  .site-header {
    padding: 1.25rem 1rem 1.25rem;
  }

  .site-header--public {
    padding: 1.25rem 0 1.25rem;
  }

  .sub-header-inner {
    padding: 0 1rem;
  }

  .sub-header--search-open .sub-header-right {
    right: 1rem;
    left: 1rem;
  }

  .site-title {
    font-size: 1.5rem;
  }

  main {
    padding: 1.5rem 1rem 2.5rem;
  }

  .detail-gallery {
    margin: 0 calc(50% - 50vw) 3.5rem;
    padding: 0 1rem;
  }

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

  .context-nav {
    gap: 0;
  }

  .filter-row .year-nav,
  .filter-row .context-nav {
    gap: 0.25rem 0.4rem;
  }

  .filter-row .year-nav a,
  .filter-row .context-nav a {
    font-size: 0.75rem;
    padding: 0.3rem 0.35rem;
  }

  .detail-name {
    font-size: 1.5rem;
  }

  .detail-project-title {
    font-size: 1.5rem;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}
