/* Projects follows the homepage's type, controls, navigation and image language. */
.projects-page { background: #000; }
.projects-experience { position: relative; background: #000; color: #fff; }
.projects-stage { position: relative; }
.projects-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 96px;
  padding: clamp(112px, 15.5556svh, 168px) var(--gutter) 64px;
  background: #000;
  color: #fff;
  overflow: clip;
}
.projects-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 80px;
  padding-inline: 0;
  text-align: center;
}
.projects-hero-description {
  text-transform: uppercase;
  width: min(656px, 100%);
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}
.projects-hero h1 {
  margin: 0;
  font-size: clamp(64px, 6.25vw, 120px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.projects-wheel-viewport {
  --wheel-width: min(50vw, 88.889svh, 960px);
  --wheel-gap: clamp(32px, 4.1667vw, 80px);
  position: relative;
  align-self: start;
  width: 100%;
  height: calc(var(--wheel-width) * .475);
  min-width: 0;
}
.projects-wheel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.projects-wheel-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 40 / 19;
  background: #17231e;
  color: #fff;
  isolation: isolate;
}
.projects-wheel-card > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.projects-wheel-card:focus-visible { outline-color: #f4f3dc; outline-offset: 6px; }
.projects-page .project-stack { min-height: 0; }
.projects-page .project { height: 100vh; height: 100svh; min-height: 360px; }
.projects-page .project h2 { font-size: clamp(40px, 4.166667vw, 80px); }
.projects-page .project p { line-height: 1.4; }
.projects-page .project .button { min-height: 44px; padding: 16px 20px 12px; font-weight: 400; }
.projects-page .project .button:hover { background: #f4f4ea; }
.projects-page .project-copy { position: relative; z-index: 1; }
.projects--enhanced .projects-stage { height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
.projects--enhanced .projects-hero { position: absolute; inset: 0; height: 100%; min-height: 0; }
.projects--enhanced .projects-wheel-viewport { perspective: 1600px; }
.projects--enhanced .projects-wheel {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  column-gap: var(--wheel-gap);
  transform-style: preserve-3d;
}
.projects--enhanced .projects-wheel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--wheel-width);
  overflow: visible;
  isolation: auto;
  background: transparent;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.projects--enhanced .projects-wheel-card > img { opacity: 0; }
.projects-wheel-surface { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.projects-wheel-slice { position: absolute; top: 0; left: 50%; height: 100%; overflow: hidden; backface-visibility: hidden; background-repeat: no-repeat; }
.projects--enhanced .project-stack { position: absolute; inset: 0; height: 100%; pointer-events: none; }
.projects--enhanced .project { position: absolute; inset: 0; height: 100%; min-height: 0; pointer-events: auto; }
.projects--enhanced .project-handoff { background: transparent; }
.projects--enhanced .project-handoff::before { opacity: var(--handoff-shade, 0); }
.projects--enhanced .project-handoff .section-image { inset: 0 auto auto 0; width: auto; height: auto; max-width: none; object-fit: fill; transform-origin: 0 0; }
.projects--active .projects-wheel { will-change: transform; }
.projects--active .project-handoff .section-image { will-change: transform; }
.projects-page .skip-link:focus { z-index: 1000; }
html[dir='rtl'] .projects-page .site-header.floating-nav { inset-inline-start: auto; left: 50%; }
html[dir='rtl'] .projects-page .projects-hero h1 { line-height: 1.3; letter-spacing: 0; }
html[dir='rtl'] .projects-page .projects-hero-description { line-height: 1.6; }
@media (min-width: 1921px) {
  .projects-hero { padding-inline: max(var(--gutter), calc((100vw - 1840px) / 2)); }
  .projects-hero h1 { font-size: 120px; }
}
@media (max-width: 1199px) {
  .projects-hero { gap: 56px; padding-block: 112px 40px; }
  .projects-hero-copy { gap: 56px; }
  .projects-hero-description { font-size: 18px; }
  .projects-hero h1 { font-size: clamp(56px, 7vw, 84px); }
  .projects-wheel-viewport { --wheel-width: min(66vw, 88.889svh, 960px); --wheel-gap: 40px; }
}
@media (max-width: 899px) {
  .projects-hero { padding-inline: 24px; }
  .projects-hero h1 { max-width: 750px; margin-inline: auto; }
  .projects-wheel-viewport { width: auto; height: auto; align-self: stretch; }
  .projects-wheel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 599px) {
  .projects-hero { gap: 40px; padding: 112px 20px 40px; }
  .projects-hero-copy { gap: 40px; }
  .projects-hero-description { max-width: 34ch; font-size: 16px; line-height: 1.5; }
  .projects-hero h1 { font-size: clamp(42px, 11vw, 64px); line-height: 1.04; }
  .projects-wheel { gap: 16px; }
  .projects-page .project p { font-size: 16px; }
  .projects-page .project h2 { font-size: 40px; }
}
