html { scrollbar-gutter: stable; }
#cinema:focus { outline: none; }
.project-viewer {
  --project-bg: #111110;
  --project-ink: #eee2c9;
  --project-muted: #b5ab99;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--project-ink);
}
.project-viewer::backdrop { background: transparent; }
[data-theme="day"] .project-viewer {
  --project-bg: #d7dad7;
  --project-ink: #252b28;
  --project-muted: #414b43;
}
.project-viewer.is-expanding { background: var(--project-bg); transition: background-color .65s ease; }
.project-viewer.is-restored { background: var(--project-bg); transition: none; }
.project-toolbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px 5vw;
  background: var(--project-bg);
  font: 14px/1.6 var(--mono);
  letter-spacing: .1em;
}
.project-close, .project-return {
  border: 0;
  background: transparent;
  color: inherit;
  font: 14px/1.6 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
}
.project-close { display: inline-flex; align-items: center; gap: 16px; }
.project-close span { font-size: 28px; line-height: 1; }
.project-close:hover, .project-return:hover { color: #ffda91; }
[data-theme="day"] .project-close:hover, [data-theme="day"] .project-return:hover { color: #a87512; }
.project-close:focus-visible, .project-return:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.project-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.project-scroll:focus { outline: none; }
.project-content { container-type: inline-size; }
.project-article { max-width: 1340px; margin: auto; padding: 116px 5vw 90px; visibility: hidden; }
.is-open .project-article { visibility: visible; }
.is-open .project-heading,
.is-open .project-body,
.is-open .project-return { animation: project-copy-in .45s ease both; }
.is-restored .project-heading,
.is-restored .project-body { animation: none; }
.project-viewer .project-heading {
  position: static;
  display: block;
  height: auto;
  padding: 0;
  margin-bottom: 42px;
}
.project-heading p { color: var(--project-muted); font: 14px var(--mono); letter-spacing: .16em; }
.project-heading h2 { margin: 24px 0 0; font: 400 clamp(52px, 7vw, 100px)/.95 var(--serif); letter-spacing: -.035em; }
.project-hero { display: block; width: 100%; height: auto; }
.project-body {
  --project-copy-width: 900px;
  --project-image-gap: 20px;
  --project-caption-gap: 40px;
  max-width: var(--project-copy-width);
  margin: 60px auto 0;
  color: var(--project-muted);
  font: 16px/1.9 var(--mono);
}
.project-body:has(> .project-hero-width) { max-width: none; }
.project-body:has(> .project-hero-width) > :not(.project-hero-width) {
  max-width: var(--project-copy-width);
  margin-inline: auto;
}
.project-body p { margin: 0 0 30px; }
.project-body strong { color: var(--project-ink); font-weight: 500; }
.project-body figure { margin: 45px 0; }
.project-body figure:has(+ p) { margin-bottom: 0; }
.project-body figure + p,
.project-body img + p { margin-top: 12px; }
.project-body video, .project-body img { display: block; width: 100%; height: auto; }
/* Hide the light seam baked into the bottom row of the renderings. */
.project-body .project-trim-bottom-edge { clip-path: inset(0 0 1px); }
.project-body .project-full-width {
  /* Use the viewer's content width so the image clears the article padding. */
  --project-figure-width: min(100cqw, var(--project-figure-max-width, 100cqw));
  width: var(--project-figure-width);
  margin-inline: calc((100% - var(--project-figure-width)) / 2);
}
.project-body .project-cross-section { overflow: clip; }
@media (max-width: 700px) {
  .project-cross-section img {
    height: 450px;
    object-fit: contain;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .project-cross-section img {
    width: auto;
    animation: project-cross-section-pan 20s linear infinite;
  }
}
@keyframes project-cross-section-pan {
  0%, 97.5%, 100% { transform: translateX(0); }
  47.5%, 50% { transform: translateX(calc(100cqw - 100%)); }
}
.project-phone-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}
.project-phone-intro:has(> .project-hype-frame) { align-items: center; }
.project-body .project-phone-intro p:last-child { margin-bottom: 0; }
.project-body .project-phone-intro + .project-hero-width {
  margin-block-start: clamp(64px, 7vw, 96px);
}
.project-phone { position: relative; width: min(100%, 320px); margin-inline: auto; }
.project-body .project-phone video {
  /* Fit the video inside the mockup's screen opening. */
  position: absolute;
  top: 12.15%;
  left: 6.36%;
  width: 87.27%;
  height: 75.81%;
  object-fit: cover;
}
.project-body iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.project-body iframe.project-hype-frame {
  width: min(100%, 306px);
  height: auto;
  min-height: 0;
  aspect-ratio: 306 / 625;
  margin-inline: auto;
  color-scheme: light;
}
/* Match Spline's color scheme so the browser keeps its canvas transparent. */
.project-body iframe[src^="https://my.spline.design/"] { color-scheme: light; }
.project-body h1, .project-body h2, .project-body h3, .project-body h4 {
  color: var(--project-ink);
  font: 400 clamp(28px, 3vw, 42px)/1.15 var(--serif);
  letter-spacing: -.02em;
  margin: 45px 0 24px;
}
.project-body h1 { margin-block-start: clamp(72px, 8vw, 112px); }
.project-body .project-text-center { text-align: center; }
/* Imported pull quotes can carry inline colors from the original page. */
.project-body p.project-text-center.project-pull-quote {
  margin-block: clamp(36px, 6vw, 72px);
  color: var(--project-ink) !important;
}
.project-body :is(img, figure) + p.project-text-center.project-pull-quote {
  margin-block-start: 12px;
}
.project-body figcaption {
  color: var(--project-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  text-align: center;
}
.project-body .project-gallery, .project-body .gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--project-image-gap) 20px;
  margin: 40px 0;
}
.project-body .project-gallery-stack { grid-template-columns: minmax(0, 1fr); }
/* Match the widths of the two 420px-tall diagrams so they scale to the same height. */
.project-body .project-concept-diagrams {
  grid-template-columns: minmax(0, 916fr) minmax(0, 544fr);
}
.project-body .project-gallery figure, .project-body .gallery-item { margin: 0; min-width: 0; }
.project-body .project-columns { display: flex; gap: var(--project-image-gap) 20px; align-items: flex-start; margin: 35px 0; }
.project-body .project-columns-wide-gap { column-gap: 40px; }
.project-body > :is(figure, img, .project-gallery, .gallery, .project-columns):has(+ :is(figure, img, .project-gallery, .gallery, .project-columns)),
.project-body > :is(figure, img) + p.project-text-center:has(+ :is(figure, img)) {
  margin-block-end: 0;
}
.project-body > :is(figure, img, .project-gallery, .gallery, .project-columns) + :is(figure, img, .project-gallery, .gallery, .project-columns) {
  margin-block-start: var(--project-image-gap);
}
.project-body > :is(figure, .project-gallery, .gallery, .project-columns):has(figcaption) + :is(figure, img, .project-gallery, .gallery, .project-columns),
.project-body > :is(figure, img) + p.project-text-center + :is(figure, img) {
  margin-block-start: var(--project-caption-gap);
}
.project-body :is(.project-gallery, .gallery, .project-columns):has(figcaption) {
  row-gap: var(--project-caption-gap);
}
.project-body .project-column { flex: 1; min-width: 0; }
.project-body .project-column figure { margin: 0; }
.project-body .project-column > figure + figure { margin-top: var(--project-image-gap); }
.project-body .project-column > figure:has(figcaption) + figure { margin-top: var(--project-caption-gap); }
.project-body .project-lamp-details {
  gap: var(--project-image-gap);
}
@media (width > 700px) {
  .project-lamp-details > .project-column:first-child {
    /* Use the photo ratios and both gaps to match the portrait's height. */
    flex: 0 0 calc((100% - var(--project-image-gap) * 1.75) / (1 + 2 * 782 / 1202 * .75));
  }
}
.project-body .project-mockups {
  flex-direction: column;
  align-items: stretch;
  max-width: 800px;
  margin-inline: auto;
}
.project-body .project-gallery-list { list-style: none; padding: 0; margin: 0; display: contents; }
.project-body .project-gallery-item { min-width: 0; }
.project-body .project-media-center { max-width: 100%; margin-left: auto; margin-right: auto; }
.screen-showcase { max-width: 760px; margin-inline: auto; scroll-margin-top: 96px; }
.screen-showcase-track {
  --screen-column-gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--project-caption-gap) var(--screen-column-gap);
  overflow: clip;
  list-style: none;
  margin: 0;
  padding: 24px 0 12px;
}
.screen-showcase-card {
  --screen-start: translateX(calc(var(--screen-offset, 0) * (100% + var(--screen-column-gap))))
    rotate(calc(var(--screen-offset, 0) * -7deg)) scale(.8);
  --screen-start-opacity: .2;
  min-width: 0;
  text-align: center;
}
.screen-showcase-card:nth-child(3n + 1) { --screen-offset: 1; }
.screen-showcase-card:nth-child(3n + 2) { --screen-start-opacity: 1; }
.screen-showcase-card:nth-child(3n + 3) { --screen-offset: -1; }
.screen-showcase-card img { aspect-ratio: 1 / 1.96; object-fit: contain; }
.screen-showcase-card span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .screen-showcase.is-waiting .screen-showcase-card {
    transform: var(--screen-start);
    opacity: var(--screen-start-opacity);
  }
  .screen-showcase.is-revealing .screen-showcase-card {
    animation: screen-showcase-reveal 1s cubic-bezier(.2, .75, .25, 1) var(--screen-delay, 0ms) both;
  }
}
@keyframes screen-showcase-reveal {
  from { transform: var(--screen-start); opacity: var(--screen-start-opacity); }
  to { transform: none; opacity: 1; }
}
@media (max-width: 800px) {
  .screen-showcase-track {
    --screen-column-gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .screen-showcase-card {
    --screen-start: translateY(18px) scale(.97);
    --screen-start-opacity: .55;
  }
}
.project-return { display: block; margin: 50px auto 0; }
.project-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  border-top: 1px solid var(--project-muted);
  margin: 80px auto 0;
  padding-top: 30px;
}
.project-pagination button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--project-ink);
  cursor: pointer;
  text-align: inherit;
}
.project-pagination span { display: block; font: 14px/1.6 var(--mono); color: var(--project-muted); margin-bottom: 12px; }
.project-pagination strong { display: block; font: 400 clamp(24px, 3vw, 36px)/1.15 var(--serif); }
.project-next { text-align: right; }
.project-pagination button:hover strong { color: #ffda91; }
[data-theme="day"] .project-pagination button:hover strong { color: #a87512; }
.project-pagination button:focus-visible { outline: 1px solid currentColor; outline-offset: 8px; }
.project-flight {
  position: fixed;
  z-index: 2;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
}
@keyframes project-copy-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  .project-toolbar { padding: 10px 20px; min-height: 70px; }
  .project-toolbar > span { max-width: 190px; font-size: 14px; letter-spacing: 0; }
  .project-article { padding: 104px 20px 60px; }
  .project-heading h2 { font-size: 56px; }
  .project-heading p { letter-spacing: .08em; }
  .project-body { margin-top: 36px; font-size: 14px; }
  .project-phone-intro { grid-template-columns: minmax(0, 1fr); }
  .project-body .project-columns { flex-direction: column; }
  .project-body .project-column { width: 100%; }
  .project-body .project-key-screens figure { width: min(65%, 250px); margin-inline: auto; }
  .project-body .project-gallery, .project-body .gallery { column-gap: 12px; }
  .project-body iframe { height: 65svh; min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-viewer.is-expanding { transition: none; }
  .is-open .project-heading,
  .is-open .project-body,
  .is-open .project-return { animation: none; }
}
