/* Stage projects */
.language-switch button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.stage-projects-home {
  border-top: 1px solid var(--ink);
  margin: clamp(110px, 13vw, 210px) auto 0;
  max-width: 1500px;
  padding-top: clamp(70px, 8vw, 120px);
  scroll-margin-top: 110px;
}

.stage-projects-home-heading {
  display: grid;
  gap: 34px clamp(40px, 7vw, 120px);
  grid-template-columns: minmax(300px, 1.25fr) minmax(280px, 0.75fr);
  margin-bottom: clamp(54px, 7vw, 92px);
}

.stage-projects-home-heading .eyebrow {
  margin-bottom: 24px;
}

.stage-projects-home-heading h2 {
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.03;
}

.stage-projects-home-heading > div:last-child {
  align-self: end;
}

.stage-projects-home-heading > div:last-child > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.stage-projects-home-heading a {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.11em;
  padding-bottom: 7px;
  text-transform: uppercase;
}

.stage-projects-preview-grid,
.projects-index-grid {
  display: grid;
  gap: clamp(38px, 5vw, 72px) clamp(22px, 3vw, 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-project-card {
  display: block;
  min-width: 0;
}

.stage-project-image {
  aspect-ratio: 1.2 / 1;
  background: #171717;
  display: block;
  overflow: hidden;
  position: relative;
}

.stage-project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.stage-project-card:hover .stage-project-image img {
  transform: scale(1.035);
}

.stage-project-image > span {
  align-items: center;
  background: var(--red);
  bottom: 0;
  color: white;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.1em;
  position: absolute;
  right: 0;
  width: 46px;
}

.stage-project-copy {
  border-top: 1px solid var(--ink);
  display: grid;
  margin-top: 18px;
  padding-top: 16px;
}

.stage-project-copy small {
  color: var(--red);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.stage-project-copy small.is-new {
  align-items: center;
  color: #15734b;
  display: flex;
  gap: 7px;
}

.stage-project-copy small.is-new::before {
  background: #15734b;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.stage-project-copy strong {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(26px, 2.5vw, 39px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.stage-project-copy em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  margin-top: 9px;
}

.stage-project-copy > span {
  align-items: center;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.1em;
  margin-top: 20px;
  text-transform: uppercase;
}

.project-header {
  grid-template-columns: 220px 1fr auto;
}

.project-nav {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.project-nav a {
  align-items: center;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.projects-index-page {
  background: var(--paper);
  min-height: 100vh;
}

.projects-index-hero {
  background: var(--paper);
  margin: 0 auto;
  max-width: 1680px;
  padding-bottom: 64px;
}

.projects-index-hero h1 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(64px, 9vw, 150px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 0;
}

.projects-index-hero > div {
  display: grid;
  gap: 34px 80px;
  grid-template-columns: minmax(300px, 0.8fr) minmax(280px, 0.55fr);
  justify-content: end;
  margin-left: auto;
  margin-top: 60px;
  max-width: 1050px;
}

.projects-index-hero > div > p {
  color: #4f4b46;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.projects-index-hero aside {
  border-left: 3px solid var(--red);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  padding-left: 22px;
}

.projects-index-grid {
  background: var(--paper);
  margin: 0 auto;
  max-width: 1680px;
  padding-top: 42px;
}

.project-page {
  background: var(--white);
}

.project-hero {
  background: #111;
  height: min(79vw, 860px);
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.project-hero > img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.project-hero-scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 10%, rgba(0, 0, 0, 0.78) 100%);
  inset: 0;
  position: absolute;
}

.project-hero-copy {
  bottom: clamp(42px, 7vw, 100px);
  color: white;
  left: clamp(24px, 6vw, 100px);
  max-width: min(1150px, calc(100% - 48px));
  position: absolute;
  z-index: 2;
}

.project-status {
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 25px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.project-status.is-new {
  background: #176f4b;
  border-color: #176f4b;
}

.project-hero-copy > p {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.project-hero h1 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(58px, 9vw, 148px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 0;
  max-width: 1250px;
}

.project-byline {
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  font-weight: 700;
  gap: 12px 28px;
  letter-spacing: 0.11em;
  margin-top: 30px;
  text-transform: uppercase;
}

.project-intro {
  display: grid;
  gap: clamp(48px, 8vw, 140px);
  grid-template-columns: minmax(360px, 1.25fr) minmax(320px, 0.75fr);
  margin: 0 auto;
  max-width: 1680px;
}

.project-intro h2,
.project-story h2,
.project-gallery-heading h2 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.project-intro h2 {
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.04;
}

.project-intro-aside blockquote {
  border-top: 1px solid var(--ink);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(25px, 2.8vw, 39px);
  line-height: 1.25;
  margin: 0;
  padding-top: 28px;
}

.project-credits {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding-top: 22px;
}

.project-credits > span {
  color: var(--red);
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.project-credits p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0;
}

.project-notice {
  align-items: start;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 22px;
  grid-template-columns: 36px 1fr;
  margin: 0 clamp(24px, 5vw, 84px);
  padding: 28px clamp(24px, 3vw, 46px);
}

.project-notice > span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  font-family: Georgia, serif;
  height: 28px;
  justify-content: center;
  margin-top: 1px;
  width: 28px;
}

.project-notice p {
  color: #d4cec5;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 1300px;
}

.project-story {
  margin: 0 auto;
  max-width: 1680px;
}

.project-story article {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 26px clamp(34px, 5vw, 90px);
  grid-template-columns: 55px minmax(310px, 0.9fr) minmax(320px, 0.75fr);
  padding: clamp(50px, 7vw, 100px) 0;
}

.project-story-index {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-top: 7px;
}

.project-story-heading .eyebrow {
  margin-bottom: 24px;
}

.project-story h2 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.03;
}

.project-story-copy p {
  color: #514d48;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.project-galleries {
  background: var(--paper);
  display: grid;
  gap: clamp(110px, 14vw, 220px);
  scroll-margin-top: 100px;
}

.project-gallery {
  margin: 0 auto;
  max-width: 1500px;
  width: 100%;
}

.project-gallery-heading {
  display: grid;
  gap: 20px 70px;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.6fr);
  margin-bottom: clamp(45px, 6vw, 82px);
}

.project-gallery-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.project-gallery-heading h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1;
}

.project-gallery-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 4px 0 0;
}

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

.project-gallery-grid button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  font: inherit;
  padding: 0;
  text-align: left;
}

.project-gallery-grid button.is-featured {
  grid-column: 1 / -1;
}

.project-gallery-image {
  aspect-ratio: 16 / 10;
  background: #171717;
  display: block;
  overflow: hidden;
  position: relative;
}

.project-gallery-grid button.is-featured .project-gallery-image {
  aspect-ratio: 16 / 8.4;
}

.project-gallery-image img {
  height: 100%;
  object-fit: contain;
  transition: transform 450ms ease;
  width: 100%;
}

.project-gallery-grid button:hover .project-gallery-image img {
  transform: scale(1.015);
}

.project-gallery-image svg {
  background: rgba(255, 255, 255, 0.92);
  bottom: 0;
  box-sizing: content-box;
  color: var(--ink);
  padding: 14px;
  position: absolute;
  right: 0;
}

.project-gallery-caption {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
}

.project-gallery-caption small {
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-gallery-caption strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.project-lightbox {
  background: #0f0f0f;
  border: 0;
  border-radius: 0;
  color: white;
  display: flex;
  flex-direction: column;
  height: min(92vh, 1000px);
  max-width: min(96vw, 1500px) !important;
  padding: 24px;
  width: min(96vw, 1500px);
}

.project-lightbox > img {
  flex: 1;
  height: 0;
  object-fit: contain;
  width: 100%;
}

.project-lightbox [data-slot="dialog-title"] {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  padding-right: 45px;
}

.project-lightbox [data-slot="dialog-description"] {
  color: #aaa;
}

.project-lightbox [data-slot="dialog-close"] {
  color: white;
}

.project-lightbox-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.project-lightbox-nav button {
  background: transparent;
  border: 1px solid #666;
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  padding: 12px 16px;
  text-transform: uppercase;
}

.project-lightbox-nav span {
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.1em;
}

@media (max-width: 1120px) {
  .stage-projects-preview-grid,
  .projects-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-header {
    grid-template-columns: 180px 1fr auto;
  }

  .project-nav {
    gap: 18px;
  }
}

@media (max-width: 880px) {
  .stage-projects-home-heading,
  .projects-index-hero > div,
  .project-intro,
  .project-gallery-heading {
    grid-template-columns: 1fr;
  }

  .project-header {
    grid-template-columns: 1fr auto;
  }

  .project-nav {
    display: none;
  }

  .project-story article {
    grid-template-columns: 40px 1fr;
  }

  .project-story-copy {
    grid-column: 2;
  }

  .project-gallery-heading .eyebrow {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .stage-projects-preview-grid,
  .projects-index-grid,
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .stage-projects-home {
    margin-top: 100px;
    padding-top: 64px;
  }

  .stage-project-copy strong {
    font-size: 31px;
  }

  .projects-index-hero h1 {
    font-size: clamp(58px, 19vw, 88px);
  }

  .projects-index-hero > div {
    margin-top: 40px;
  }

  .project-hero {
    height: 76svh;
    min-height: 590px;
  }

  .project-hero h1 {
    font-size: clamp(52px, 17vw, 86px);
  }

  .project-byline {
    flex-direction: column;
    gap: 8px;
  }

  .project-intro {
    gap: 48px;
  }

  .project-notice {
    margin-left: 0;
    margin-right: 0;
  }

  .project-story article {
    grid-template-columns: 1fr;
  }

  .project-story-copy {
    grid-column: auto;
  }

  .project-gallery-grid button.is-featured {
    grid-column: auto;
  }

  .project-gallery-grid button.is-featured .project-gallery-image,
  .project-gallery-image {
    aspect-ratio: 4 / 3;
  }

  .project-lightbox {
    height: 94vh;
    padding: 16px;
  }
}

@media(max-width:880px){.site-header:has(.main-nav){height:auto;min-height:74px;padding-top:12px;padding-bottom:14px;row-gap:16px}.site-header:has(.main-nav) .brand-link{grid-column:1;grid-row:1}.main-nav{display:flex;flex-wrap:wrap;gap:14px 20px;grid-column:1/-1;grid-row:2;justify-content:flex-start}.main-nav a{font-size:10px}.site-header:has(.main-nav)>.language-switch{grid-column:2;grid-row:1}}
