:root {
  --ink: #171714;
  --paper: #f1eee6;
  --paper-deep: #e5dfd3;
  --acid: #d9ff43;
  --orange: #ff5c35;
  --muted: #6e6b63;
  --line: rgba(23, 23, 20, 0.18);
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(23, 23, 20, 0.035) 1px) 0 0 / 8.333vw 100%,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.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;
}

.site-header,
.hero,
.manifesto,
.featured,
.directory,
.includes,
.closing,
footer {
  width: min(100% - 3rem, 1440px);
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
}

.header-meta,
.language-switch {
  display: flex;
  align-items: center;
}

.header-meta {
  gap: clamp(2rem, 5vw, 5.5rem);
}

.header-note {
  color: var(--muted);
  font-size: 0.73rem;
}

.language-switch {
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.language-switch a {
  padding-block: 0.4rem;
  color: var(--muted);
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.hero {
  padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7.25rem);
}

.hero h1 {
  margin: 0;
  max-width: 1290px;
  font-family: var(--display);
  font-size: clamp(4.5rem, 9.6vw, 9.6rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.8;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-left: 4.5vw;
  color: var(--orange);
  font-weight: 400;
}

.hero-lower {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.8fr);
  gap: 8vw;
  align-items: end;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-intro {
  width: min(100%, 610px);
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.hero-benefit {
  width: min(100%, 610px);
  margin: 0;
  padding-top: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.collection-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.collection-stats div {
  padding: 1.1rem 0 0;
}

.collection-stats dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-stats dd {
  margin: 0.65rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.manifesto {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.manifesto-label {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1.15fr minmax(300px, 1fr);
  gap: 8vw;
  align-items: end;
}

.manifesto-quote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.manifesto-quote p {
  margin: 0;
  text-indent: -0.4em;
}

.manifesto-quote p::before {
  content: "\201C";
}

.manifesto-quote p::after {
  content: "\201D";
}

.manifesto-author {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manifesto-author cite {
  font-style: normal;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 560px;
  padding-top: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
}

.manifesto-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.manifesto-body p:first-child {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.featured {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.featured-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  min-height: min(72vw, 790px);
  overflow: hidden;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.featured-image {
  position: relative;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
}

.featured-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 55%, rgba(23, 23, 20, 0.35));
  pointer-events: none;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-link:hover .featured-image img {
  transform: scale(1.025);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4.5vw, 4.5rem);
}

.featured-eyebrow {
  display: flex;
  justify-content: space-between;
  margin: 0 0 clamp(8rem, 16vw, 16rem);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.featured-copy > div > p:last-child {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  line-height: 1.65;
}

.round-arrow {
  width: 4.8rem;
  height: 4.8rem;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 1.4rem;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.featured-link:hover .round-arrow {
  background: var(--acid);
  color: var(--ink);
  transform: rotate(45deg);
}

.directory {
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.directory-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}

.section-number {
  margin: 0 0 1.2rem;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.directory-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.directory-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.directory-tools {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-button {
  min-height: 2.45rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.search {
  width: min(100%, 280px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--ink);
}

.search svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search input {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
}

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

.project-group {
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.group-header {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 2rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.group-index,
.group-count {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.group-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.project-card {
  grid-column: span 4;
  min-width: 0;
}

.project-card:nth-child(5n + 1),
.project-card:nth-child(5n + 2) {
  grid-column: span 6;
}

.project-card a {
  display: block;
  text-decoration: none;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-card:nth-child(5n + 1) .card-image,
.project-card:nth-child(5n + 2) .card-image {
  aspect-ratio: 16 / 10;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(23, 23, 20, 0.08);
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
}

.project-card a:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.card-number {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  padding: 0.4rem 0.55rem;
  background: rgba(241, 238, 230, 0.9);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.56rem;
  backdrop-filter: blur(8px);
}

.card-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0 0.8rem;
  border-bottom: 1px solid var(--line);
}

.card-sector {
  margin: 0 0 0.45rem;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-copy h4 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.card-copy span {
  transition: transform 0.2s;
}

.project-card a:hover .card-copy > span {
  transform: translate(0.2rem, -0.2rem);
}

.empty-state {
  padding: 7rem 0;
  text-align: center;
}

.empty-state p {
  font-family: var(--display);
  font-size: 2.5rem;
}

.empty-state button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid;
  background: transparent;
  cursor: pointer;
}

.noscript {
  margin-top: 3rem;
  padding: 1.5rem;
  background: white;
}

.includes {
  padding: clamp(6rem, 11vw, 11rem) 0 clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.includes-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}

.includes-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.includes-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.include-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--paper);
}

.include-index {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--orange);
}

.include-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.include-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.closing {
  display: grid;
  grid-template-columns: 0.65fr 1.3fr auto;
  gap: 4vw;
  align-items: end;
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.closing-kicker {
  margin: 0;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.closing-link {
  display: flex;
  gap: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
}

footer p,
footer a {
  margin: 0;
}

@media (max-width: 960px) {
  .featured-link {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .featured-copy {
    min-height: 430px;
  }

  .featured-eyebrow {
    margin-bottom: 7rem;
  }

  .project-card,
  .project-card:nth-child(5n + 1),
  .project-card:nth-child(5n + 2) {
    grid-column: span 6;
  }

  .project-card .card-image,
  .project-card:nth-child(5n + 1) .card-image,
  .project-card:nth-child(5n + 2) .card-image {
    aspect-ratio: 4 / 3;
  }

  .directory-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    background-size: 25vw 100%;
  }

  .site-header,
  .hero,
  .manifesto,
  .featured,
  .directory,
  .includes,
  .closing,
  footer {
    width: min(100% - 2rem, 1440px);
  }

  .site-header {
    min-height: 78px;
  }

  .header-note {
    display: none;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
    line-height: 0.82;
  }

  .hero h1 em {
    margin-left: 0;
  }

  .hero-lower,
  .manifesto-inner,
  .directory-heading,
  .includes-heading,
  .closing {
    grid-template-columns: 1fr;
  }

  .manifesto-inner {
    gap: 2.75rem;
  }

  .manifesto-quote {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .includes-heading {
    gap: 2rem;
  }

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

  .hero-lower {
    gap: 3.5rem;
  }

  .featured-image {
    aspect-ratio: 4 / 5;
  }

  .featured-copy {
    min-height: 410px;
    padding: 1.5rem;
  }

  .featured-copy h2 {
    font-size: 3.4rem;
  }

  .round-arrow {
    width: 3.8rem;
    height: 3.8rem;
  }

  .directory-heading {
    gap: 2rem;
  }

  .directory-heading h2 {
    font-size: 4rem;
  }

  .filters {
    flex-wrap: nowrap;
    width: calc(100vw - 1rem);
    margin-right: -1rem;
    padding-right: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .group-header {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .group-header h3 {
    font-size: 2.35rem;
  }

  .cards {
    display: block;
  }

  .project-card + .project-card {
    margin-top: 2.5rem;
  }

  .card-image,
  .project-card:nth-child(5n + 1) .card-image,
  .project-card:nth-child(5n + 2) .card-image {
    aspect-ratio: 4 / 3;
  }

  .closing {
    gap: 2rem;
  }

  .closing h2 {
    font-size: 4.1rem;
  }

  .closing-link {
    justify-content: space-between;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding: 2rem 0;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
