body {
  margin: 0;
}
.site-shell {
  font-family: Figtree, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background: #fbf7f9;
  color: #3d0818;
  min-height: 100vh;
}
.site-header {
  background: #6f0d2b;
  color: #ffffff;
}
.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.site-nav a {
  padding: 10px 0;
  color: inherit;
  text-underline-offset: 5px;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  text-decoration-thickness: 3px;
}
.site-nav a:focus-visible,
.portfolio-filters button:focus-visible,
.project-open:focus-visible,
.text-control:focus-visible,
.portfolio-search input:focus-visible {
  outline: 2px solid #6f0d2b;
  outline-offset: 5px;
}
.portfolio-section {
  background: #fbf7f9;
}
.portfolio-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 24px;
}
.portfolio-content h1 {
  margin: 0 0 24px;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  color: #6f0d2b;
}
.portfolio-intro {
  margin: 0 0 40px;
  font-size: 22px;
}
.portfolio-subheading {
  margin: 0 0 24px;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  color: #6f0d2b;
}
.website-projects {
  margin-bottom: 64px;
}
.website-project {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid #6f0d2b;
  border-bottom: 1px solid #6f0d2b;
}
.website-project-preview {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #c985f8;
}
.website-project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.website-project-info h3 {
  margin: 0 0 12px;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #6f0d2b;
  overflow-wrap: anywhere;
}
.website-project-info p {
  margin: 0 0 16px;
}
.website-project-info a {
  color: inherit;
  text-underline-offset: 5px;
}
.website-project-info a:hover {
  text-decoration-thickness: 3px;
}
.website-project-info a:focus-visible {
  outline: 2px solid #6f0d2b;
  outline-offset: 5px;
}
.portfolio-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 16px;
}
.portfolio-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.portfolio-search label {
  font-weight: 600;
}
.portfolio-search input {
  box-sizing: border-box;
  width: min(100%, 360px);
  padding: 8px 10px;
  border: 1px solid #6f0d2b;
  border-radius: 0;
  background: #ffffff;
  color: #3d0818;
  font: inherit;
}
.text-control {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.text-control:hover {
  text-decoration-thickness: 3px;
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.portfolio-filters button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.portfolio-filters button[aria-pressed='true'] {
  font-weight: 600;
  text-decoration-thickness: 3px;
}
.portfolio-status {
  margin: 24px 0;
  font-size: 16px;
}
.portfolio-empty {
  margin: 32px 0;
  font-size: 20px;
}
.portfolio-empty[hidden] {
  display: none;
}
.project-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #6f0d2b;
  list-style: none;
}
.project-card {
  min-width: 0;
  border-bottom: 1px solid #6f0d2b;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
.project-card.is-filtered-out {
  opacity: 0;
  transform: translateY(6px);
}
.project-card[hidden] {
  display: none;
}
.project-open {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.project-number {
  font-weight: 600;
}
.project-type {
  text-align: right;
}
.project-title {
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #6f0d2b;
  overflow-wrap: anywhere;
}
.project-open:hover .project-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.project-toggle-label {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.project-open:hover .project-toggle-label {
  text-decoration-thickness: 3px;
}
.project-media {
  padding: 0 0 24px;
}
.project-media[hidden] {
  display: none;
}
.project-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #3d0818;
}
.project-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.project-media-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.project-watch {
  color: inherit;
  text-underline-offset: 5px;
}
.project-watch:hover {
  text-decoration-thickness: 3px;
}
.project-watch:focus-visible {
  outline: 2px solid #6f0d2b;
  outline-offset: 5px;
}
.project-embed video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #3d0818;
}

@media (max-width: 600px) {
  .site-header-inner {
    padding: 20px;
  }
  .site-nav {
    gap: 16px;
  }
  .portfolio-content {
    padding: 56px 20px;
  }
  .portfolio-intro {
    font-size: 20px;
  }
  .website-project {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .website-projects {
    margin-bottom: 48px;
  }
  .project-open {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 20px 0;
  }
  .project-meta {
    justify-content: flex-start;
    gap: 20px;
  }
  .project-title {
    font-size: 28px;
  }
  .project-toggle-label {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card {
    transition: none;
  }
}
