.projects-footer {
  padding-top: 0;
}
.project-page-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 48px 0 12px;
}
.project-page-heading h1 {
  flex: none;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin: 0;
}
.project-page-heading::after {
  content: '';
  order: 1;
  flex: 1;
  min-width: 30px;
  height: 2px;
  background: #aaa;
  box-shadow: 0 2px 3px #0000000c;
}
.project-heading-sho {
  order: 2;
  flex: none;
  display: block;
  width: clamp(72px, 8vw, 100px);
  height: auto;
}
.project-desk {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 200px minmax(0, 1fr);
  padding: 24px 0 20px;
  position: relative;
}
.project-index {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  padding: 32px 0 26px;
}
.project-pick {
  flex: 1;
  min-height: 0;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dedede;
  color: #000;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  padding: 14px 0 14px 12px;
  position: relative;
  text-align: left;
  width: 100%;
}
.project-pick:last-child {
  border-bottom: 0;
}
.project-pick:before {
  background: #000;
  border-radius: 2px;
  bottom: 25px;
  content: '';
  left: 0;
  opacity: 0;
  position: absolute;
  top: 25px;
  transform: scaleY(0.4);
  transition:
    opacity 0.2s,
    transform 0.2s;
  width: 2px;
}
.project-pick[aria-pressed='true']:before {
  opacity: 1;
  transform: scaleY(1);
}
.pick-monogram,
.project-pick > img {
  display: block;
  flex: none;
  height: 40px;
  transition: transform 0.2s;
  width: 40px;
}
.project-pick > img {
  object-fit: contain;
}
.pick-monogram {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -2px;
  line-height: 1.15;
  text-align: center;
}
.project-pick strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.65px;
  line-height: 1.25;
}
.pick-type {
  color: #555;
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 6px;
}
.pick-description {
  color: #666;
  display: block;
  font-size: 11px;
  line-height: 1.65;
  margin-top: 8px;
}
.project-pick:focus-visible {
  border-radius: 4px;
  outline: 2px solid #000;
  outline-offset: 4px;
}
.project-preview {
  aspect-ratio: 1 / 1.12;
  min-width: 0;
  perspective: 1500px;
  position: relative;
}
.project-sheet {
  inset: 0;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-preview.is-flipped .project-sheet {
  transform: rotateY(180deg) rotateX(3deg) rotate(2deg);
}
.sheet-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat;
  isolation: isolate;
  overflow: hidden;
  background: transparent url('/assets/images/projects/sleeve.webp?v=c7ab8ad4259e') 50%/100% 100% no-repeat;
  border: 0;
  color: #000;
  display: block;
  font: inherit;
  inset: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: left;
}
.sheet-front {
  transform: rotateY(0deg) translateZ(0.5px);
  cursor: pointer;
  touch-action: manipulation;
}
.sheet-front:focus-visible {
  border-radius: 20px;
  outline: 2px solid #000;
  outline-offset: 3px;
}
.sheet-back {
  cursor: pointer;
  transform: rotateY(180deg) translateZ(0.5px);
}
/* Each face is a flat paint layer, separated slightly to prevent image bleed.
   Backface culling follows the actual rotation; no timed visibility switch. */
.sheet-tab {
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  left: 10.5%;
  letter-spacing: 0.2px;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 8.5%;
  width: 12.5%;
}
.caliber-preview {
  position: absolute;
  inset: 0;
}
.preview-heading {
  position: absolute;
  top: 17%;
  left: 10%;
  right: 12%;
}
.preview-eyebrow {
  display: block;
  color: #666;
  font-size: 10px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.preview-title {
  display: block;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  white-space: pre-line;
}
.project-captures {
  bottom: 18%;
  display: block;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 33%;
}
.preview-journey {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid #c9c9c9;
  padding-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
}
.preview-external {
  position: absolute;
  right: 5%;
  bottom: -22px;
}
.project-captures .caliber-screen {
  border-color: #adb4ae;
  border-radius: 7px;
  height: auto;
  aspect-ratio: 1.62;
  width: 86%;
}
.project-captures .screen-back {
  left: 0;
  top: 0;
}
.project-captures .screen-front {
  bottom: 0;
  right: 0;
}
.project-captures .caliber-screen img {
  height: 106.5%;
  left: -8.6%;
  max-width: none;
  object-fit: fill;
  position: absolute;
  top: -3.25%;
  width: 117.2%;
}
.sheet-caption {
  align-items: center;
  bottom: 8.5%;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  left: 11%;
  pointer-events: none;
  position: absolute;
  right: 11%;
}
.sheet-project-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.sheet-turn-hint {
  color: #666;
  font-size: 10px;
}
.sheet-details {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 20% 12% 15%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 4px;
}
.sheet-details > * {
  flex-shrink: 0;
}
.detail-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  margin: 0 0 12px;
}
.sheet-details h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 17px;
}
.sheet-details > p:not(.detail-category) {
  color: #444;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.detail-stack {
  border-top: 1px solid #ccc;
  font-size: 10px;
  line-height: 1.7;
  margin: 6px 0 20px;
  padding-top: 12px;
}
.detail-stack > div {
  display: grid;
  gap: 10px;
  grid-template-columns: 62px minmax(0, 1fr);
  margin: 0 0 6px;
}
.detail-stack dt {
  color: #777;
}
.detail-stack dd {
  margin: 0;
}
.sheet-actions {
  align-items: center;
  display: flex;
  gap: 19px;
  position: absolute;
  left: 12%;
  bottom: 8%;
}
.sheet-demo {
  display: inline-flex;
  color: #000;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
  padding: 10px 14px;
  min-height: 40px;
  border: 1px solid #000;
  border-radius: 6px;
}
.sheet-return {
  background: transparent;
  border: 0;
  color: #555;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  padding: 8px 0;
}
.sheet-return:hover {
  color: #000;
}
.sheet-return:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}
.project-announcement {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.projects-page .footer-bottom {
  margin-top: 30px;
}
@media (hover: hover) and (pointer: fine) {
  .project-pick:hover .pick-monogram,
  .project-pick:hover > img {
    transform: translateY(-2px);
  }
  .project-pick:hover strong {
    transform: translateX(2px);
    transition: transform 0.2s;
  }
  .project-preview:not(.is-flipped):has(.sheet-front:hover) .project-sheet {
    transform: rotateY(-4deg) rotate(-0.7deg);
  }
}
@media (min-width: 1600px) {
  .project-desk {
    gap: 34px;
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .sheet-details h2 {
    font-size: 37px;
  }
  .sheet-details > p:not(.detail-category) {
    font-size: 14px;
  }
  .detail-stack {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .project-page-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 16px;
    padding: 32px 0 12px;
  }
  .project-page-heading h1 {
    font-size: 30px;
  }
  .project-desk {
    gap: 14px;
    grid-template-columns: 1fr;
    padding-top: 15px;
  }
  .project-index {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    padding: 0;
  }
  .project-pick {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 2px 18px;
    text-align: center;
  }
  .project-pick,
  .project-pick:last-child {
    border-bottom: 1px solid #ddd;
  }
  .project-pick:before {
    bottom: -1px;
    height: 2px;
    left: 15%;
    right: 15%;
    top: auto;
    transform: scaleX(0.4);
    width: auto;
  }
  .project-pick[aria-pressed='true']:before {
    transform: scaleX(1);
  }
  .project-pick strong {
    font-size: 12px;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }
  .pick-monogram,
  .project-pick > img {
    height: 35px;
    width: 35px;
  }
  .pick-monogram {
    font-size: 29px;
  }
  .pick-type {
    font-size: 9px;
    margin-top: 4px;
  }
  .pick-description {
    display: none;
  }
  .project-preview {
    aspect-ratio: 1 / 1.45;
    justify-self: center;
    max-width: 480px;
    width: 100%;
  }
  .sheet-tab {
    font-size: 12px;
  }
  .preview-heading {
    top: 17%;
  }
  .preview-title {
    font-size: 23px;
  }
  .preview-eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }
  .preview-journey {
    bottom: 18%;
    font-size: 9px;
    gap: 6px;
    padding-top: 9px;
  }
  .sheet-caption {
    bottom: 12%;
    display: block;
    left: 12%;
    right: 12%;
  }
  .sheet-project-name {
    display: block;
    font-size: 10px;
  }
  .sheet-turn-hint {
    display: block;
    font-size: 9px;
    margin-top: 5px;
  }
  .sheet-details {
    inset: 20% 12% 15%;
  }
  .sheet-details h2 {
    font-size: 27px;
    margin-bottom: 13px;
  }
  .detail-category {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .sheet-details > p:not(.detail-category) {
    font-size: 12px;
    line-height: 1.75;
    margin-bottom: 10px;
  }
  .detail-stack {
    font-size: 9px;
    margin: 4px 0 12px;
    padding-top: 9px;
  }
  .detail-stack > div {
    gap: 6px;
    grid-template-columns: 55px minmax(0, 1fr);
  }
  .sheet-actions {
    gap: 12px;
  }
  .sheet-demo {
    font-size: 10px;
  }
  .sheet-return {
    font-size: 9px;
  }
  .project-captures {
    bottom: 25%;
    top: 34%;
  }
  .project-captures .caliber-screen {
    width: 88%;
  }
}
@media (max-width: 360px) {
  .project-preview {
    aspect-ratio: 1 / 1.95;
  }
  .preview-title {
    font-size: 21px;
  }
  .preview-journey {
    font-size: 8px;
  }
  .sheet-details h2 {
    font-size: 24px;
  }
  .pick-type {
    font-size: 8px;
  }
  .sheet-tab {
    font-size: 10px;
  }
  .sheet-actions {
    gap: 8px;
  }
  .sheet-return {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pick-monogram,
  .project-pick > img,
  .project-sheet,
  .sheet-demo {
    transition: none;
  }
  .project-preview:not(.is-flipped):has(.sheet-front:hover) .project-sheet {
    transform: none;
  }
  .sheet-demo:hover {
    transform: none;
  }
}

/* Keep detail copy readable beside the index on tablet-sized screens. */
@media (min-width: 701px) and (max-width: 1000px) {
  .project-desk {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
  }
  .project-preview {
    aspect-ratio: 1 / 1.2;
  }
  .sheet-details h2 {
    font-size: 28px;
  }
}
.sheet-details h2 {
  white-space: pre-line;
}

.other-projects {
  margin-top: 32px;
  padding-bottom: 12px;
}
.other-projects-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}
.other-projects-heading::after {
  content: '';
  flex: 1;
  min-width: 20px;
  height: 2px;
  background: #a8a8a8;
  box-shadow: 0 2px 3px #00000012;
}
.other-projects-heading h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.other-projects-heading img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.other-project-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  list-style: none;
  margin: 0;
  padding: 12px 4px 24px;
}
.other-project-item {
  width: 100%;
  position: relative;
  min-width: 0;
  min-height: 240px;
  height: 280px;
  border-radius: 30px;
  perspective: 1000px;
  scroll-snap-align: start;
  transform-origin: 50% 65%;
  transition:
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
.other-project-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.other-project-item.is-flipped .other-project-inner {
  transform: rotateY(180deg);
}
.other-project-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 21px 21px 23px;
  border: 1px solid #252525;
  border-radius: inherit;
  overflow: hidden;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 3px 8px -4px #00000020;
}
.other-project-front {
  gap: 40px;
  color: #fff;
  background: #171717;
}
.other-project-back {
  transform: rotateY(180deg);
  background: #fafafa;
  color: #111;
  gap: 12px;
}
.other-project-back-category,
.other-project-back-hint {
  color: #727272;
  font-size: 10px;
  line-height: 1.5;
}
.other-project-back h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.7px;
}
.other-project-back p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.75;
  text-wrap: pretty;
}
.other-project-toggle {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.other-project-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}
.other-project-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.other-project-front::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #00000000 38%, #00000024 65%, #000000a6 100%);
  pointer-events: none;
}
.other-project-top {
  display: flex;
  justify-content: flex-end;
}
.other-project-emblem {
  position: absolute;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
}
.other-project-mark {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: invert(1);
  transition: transform 0.52s cubic-bezier(0.2, 0.9, 0.25, 1.12);
}
.other-project-copy {
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
.other-project-copy h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.other-project-copy p {
  margin: 8px 0 0;
  min-height: 3.3em;
  font-size: 12px;
  line-height: 1.65;
  color: #eee;
  max-width: 23ch;
  text-wrap: pretty;
}
.other-project-status {
  font-size: 10px;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .other-project-item:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: #000;
    box-shadow:
      0 5px 10px -6px #00000030,
      0 20px 32px -14px #00000060;
  }
  .other-project-item:hover .other-project-art {
    transform: translateY(-2px) scale(1.065);
  }
  .other-project-item:hover .other-project-mark {
    transform: translateY(-4px) scale(1.045);
  }
  .other-project-item:hover .other-project-copy {
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .other-project-item,
  .other-project-inner,
  .other-project-art,
  .other-project-mark,
  .other-project-copy {
    transition: none;
  }
  .other-project-item:hover,
  .other-project-item:hover .other-project-art,
  .other-project-item:hover .other-project-mark,
  .other-project-item:hover .other-project-copy {
    transform: none;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .project-index {
    padding: 24px 0 18px;
  }
  .project-pick {
    gap: 8px;
    padding: 10px 0 10px 10px;
  }
  .pick-type {
    font-size: 9px;
  }
  .pick-description {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 6px;
  }
}
@media (max-width: 700px) {
  .other-projects {
    margin-top: 28px;
  }
  .other-projects-heading {
    gap: 14px;
    margin-bottom: 16px;
  }
  .other-projects-heading h2 {
    gap: 10px;
    font-size: 21px;
  }
  .other-projects-heading img {
    width: 46px;
    height: 46px;
  }
  .other-project-list {
    grid-auto-flow: column;
    grid-auto-columns: clamp(200px, 60vw, 250px);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
    padding: 6px 4px 16px;
  }
  .other-project-item {
    height: auto;
    aspect-ratio: 0.86;
    scroll-snap-align: start;
    border-radius: 28px;
  }
  .other-project-copy h3 {
    font-size: 21px;
  }
}
@media (max-width: 480px) {
  .project-pick > img,
  .pick-monogram {
    width: 30px;
    height: 30px;
  }
  .pick-monogram {
    font-size: 26px;
  }
  .project-index .pick-type {
    display: none;
  }
}
@media (max-width: 360px) {
  .project-pick strong {
    font-size: 11px;
  }
}

.product-preview {
  position: absolute;
  inset: 0;
}
.preview-artwork {
  position: absolute;
  top: 33%;
  left: 7%;
  width: 86%;
  height: 49%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-artwork > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid #c9ced0;
  border-radius: 9px;
  box-shadow: 0 7px 18px -8px #00000040;
}
@media (max-width: 700px) {
  .preview-artwork {
    top: 34%;
    height: 40%;
  }
}
