html {
  background: linear-gradient(168deg, #ccd5db 0%, #dde3e7 30%, #eef1f3 60%, #f8f9fa 100%) no-repeat fixed;
  background-size: 220% 220%;
  animation: sheen 75s ease-in-out infinite alternate;
}

@keyframes sheen {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@view-transition {
  navigation: auto;
}

.sidebar {
  view-transition-name: sidebar;
}

.main-content {
  view-transition-name: content;
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-old(sidebar),
::view-transition-new(sidebar) {
  animation: none;
}

::view-transition-old(content) {
  animation: content-out 120ms ease-in both;
}

::view-transition-new(content) {
  animation: content-in 180ms ease-out both;
}

@keyframes content-out {
  to {
    opacity: 0;
    transform: translateY(3px);
  }
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    animation: none;
  }

  ::view-transition-old(content),
  ::view-transition-new(content) {
    animation: none;
  }
}

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

body {
  color: #172127;
  font: 14px/1.6 Helvetica, Arial, sans-serif;
  margin: 0;
}

.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 220px;
  height: 100vh;
  padding: 36px 28px;
  border-right: 1px solid #b4c0c8;
  font-size: 14px;
}

.site-name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 48px;
}

.sidebar nav a {
  padding: 6px 0;
  color: #4d5b64;
}

.sidebar a {
  text-decoration: none;
}

.sidebar nav a[aria-current="page"] {
  color: #172127;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.sidebar-social {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
}

.sidebar-social p {
  color: #4d5b64;
  font-size: 12px;
  margin: 12px 0 0;
}

.main-content {
  width: 100%;
  min-width: 0;
  max-width: 1080px;
  padding: 72px 64px 80px;
}

.main-content p {
  margin: 0 0 1.2em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  margin: 0 0 24px;
}

h2 {
  font-size: 22px;
  margin: 0 0 16px;
}

h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #415e72;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #254f69;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px 16px;
  background: #fff;
  z-index: 2;
}

.skip-link:focus {
  top: 12px;
}

.main-content .eyebrow {
  color: #4d5b64;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lead {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.intro {
  max-width: 640px;
  color: #43515a;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
}

.intro-links a,
.text-link {
  display: inline-block;
  padding: 4px 0;
}

.selected-projects {
  margin-top: 64px;
  border-top: 1px solid #b4c0c8;
  padding-top: 28px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 20px;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 14px;
  color: #4d5b64;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.project-visual {
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
  background: #d5dee3;
}

.project-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-visual .cluster-preview {
  object-position: center 48%;
}

.main-content .project-meta {
  color: #4d5b64;
  font-size: 12px;
  margin-bottom: 12px;
}

.project-card p:not(.project-meta) {
  color: #43515a;
  font-size: 14px;
}

.project-card h3 a,
.project-feature h2 a {
  text-decoration: none;
}

.project-card h3 a:hover,
.project-feature h2 a:hover {
  text-decoration: underline;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

.page-intro {
  max-width: 720px;
  margin-bottom: 40px;
}

.work-section,
.article-body section {
  max-width: 720px;
  margin-top: 48px;
}

.work-section + .work-section {
  border-top: 1px solid #b4c0c8;
  padding-top: 36px;
}

figure {
  margin: 28px 0;
}

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

.work-photo,
.cluster-photo {
  max-width: 560px;
}

figcaption {
  color: #4d5b64;
  font-size: 12px;
  margin-top: 12px;
  max-width: 560px;
}

.event-list {
  padding-left: 20px;
}

.event-list li {
  margin-bottom: 16px;
}

#events {
  scroll-margin-top: 32px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  border-top: 1px solid #b4c0c8;
  padding-top: 32px;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
}

.article-body {
  max-width: 720px;
}

@media (max-width: 1100px) {
  .main-content {
    padding: 56px 36px 64px;
  }

  .project-grid,
  .project-feature {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid #b4c0c8;
  }

  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 16px;
  }

  .sidebar nav a {
    padding: 10px 0;
  }

  .sidebar-social {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    margin-top: 8px;
    padding-top: 0;
    font-size: 13px;
  }

  .sidebar-social a {
    padding: 8px 0;
  }

  .sidebar-social p {
    margin: 0;
  }

  .main-content {
    padding: 40px 24px 64px;
  }

  .lead {
    font-size: 18px;
  }

  .selected-projects {
    margin-top: 44px;
  }

  .project-grid,
  .project-feature {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-feature {
    gap: 0;
  }
}

@media print {
  html {
    background: white;
    animation: none;
  }

  .sidebar,
  .skip-link,
  .back-link {
    display: none;
  }

  .main-content {
    padding: 0;
  }

  .project-card,
  figure {
    break-inside: avoid;
  }
}
