@font-face {
  font-family: Figtree;
  src: url('/assets/fonts/figtree-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #111;
  --white: #fff;
  --paper: #fff7f2;
  --blue: #285cff;
  --muted: #656561;
  --line: #e4e4df;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: min(1440px, calc(100% - 96px));
}
* {
  box-sizing: border-box;
}
html {
  font-family: Figtree, sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
  accent-color: var(--blue);
  caret-color: var(--blue);
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
body.viewer-open {
  overflow: hidden;
}
::selection {
  background: #ffde3b;
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: 0.38;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 14px 20px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand:hover {
  opacity: 0.65;
}
.brand:active {
  opacity: 0.45;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-work {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.nav-work:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.nav-work:active {
  opacity: 0.65;
}
.membership-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 21px;
  min-height: 50px;
  background: #285cff;
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.25s var(--ease);
}
.membership-link span {
  font-size: 20px;
  line-height: 1;
}
.membership-link:hover {
  background: #133bce;
}
.membership-link:active {
  transform: translateY(2px);
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 52px;
  padding-bottom: 44px;
  gap: 32px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  margin: 0 0 20px;
}
.intro h1 {
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 650;
  margin: 0;
}
.intro h1 span {
  color: #747471;
}
.intro-note {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 5px;
  color: #41413e;
}
.intro-note > span:nth-of-type(1) {
  color: #656561;
}
.intro-note > span:last-of-type {
  display: inline-block;
  margin-left: 18px;
  font-size: 27px;
  vertical-align: middle;
}
.filter-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.filter {
  min-height: 44px;
  padding: 10px 17px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.filter:hover {
  background: #f0f0ec;
}
.filter.is-active {
  background: var(--ink);
  color: #fff;
}
.filter:active {
  transform: translateY(1px);
}
.filter-count {
  flex-shrink: 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 46px;
  padding-top: 28px;
  padding-bottom: 86px;
}
.project {
  min-width: 0;
  grid-column: span 6;
}
.project--wide {
  grid-column: span 7;
}
.project--narrow {
  grid-column: span 5;
}
.project-link {
  display: block;
  text-decoration: none;
}
.project-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(320px, 32vw, 480px);
  overflow: hidden;
  border-radius: 5px;
  isolation: isolate;
  container-type: inline-size;
}
.tone--navy {
  background: #e8eaf0;
}
.tone--citrus {
  background: #ff6543;
}
.tone--hotel {
  background: #eee6d7;
}
.tone--sand {
  background: #ece9e2;
}
.tone--field {
  background: #173f37;
}
.tone--yellow {
  background: #f4c542;
}
.tone--teal {
  background: #045765;
}
.tone--sage {
  background: #e5e8dd;
}
.tone--mist {
  background: #e8ede8;
}
.tone--charcoal {
  background: #171a1e;
}
.artwork {
  width: 100%;
  height: 100%;
  position: relative;
  container-type: inline-size;
  transition: transform 0.6s var(--ease);
}
.artwork--image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.artwork--image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.08));
}
.project[data-project='jobpacket'] .artwork--image {
  padding: 26px;
}
.project[data-project='northline'] .artwork--image,
.project[data-project='openacre'] .artwork--image,
.project[data-project='shiftline'] .artwork--image,
.project[data-project='waypoint'] .artwork--image {
  padding: 18px;
}
.open-project {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #111;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease);
  z-index: 3;
}
.open-project span {
  font-size: 19px;
  line-height: 1;
}
.project-link:hover .open-project,
.project-link:focus-visible .open-project {
  opacity: 1;
  transform: none;
}
.project-link:hover .artwork {
  transform: scale(1.018);
}
.project-link:active .artwork {
  transform: scale(0.992);
}
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 17px;
}
.project-caption h2 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}
.project-types {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.work-grid.is-filtering .project {
  grid-column: span 6;
}
.work-grid.is-filtering .project-stage {
  height: clamp(320px, 33vw, 470px);
}
.artwork--stillwater {
  display: flex;
  background: #ff6543;
  color: #103421;
}
.stillwater-copy {
  position: relative;
  width: 55%;
  padding: 7cqw 0 6cqw 6cqw;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.stillwater-logo {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 7cqw;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.stillwater-logo > span {
  display: block;
  font-family: Figtree, sans-serif;
  font-weight: 550;
  letter-spacing: 0.22em;
  font-size: max(10px, 1.9cqw);
  margin-top: 1.8cqw;
  margin-left: 0.4cqw;
}
.stillwater-copy strong {
  font-size: 12.7cqw;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}
.stillwater-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: max(10px, 2cqw);
  font-weight: 650;
  letter-spacing: 0.04em;
  padding-right: 5cqw;
}
.stillwater-bottom > span {
  font-size: 7cqw;
  line-height: 0.7;
}
.stillwater-photo {
  width: 45%;
  height: 100%;
  position: relative;
}
.stillwater-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 49% 50%;
}
.citrus-label {
  position: absolute;
  right: 4cqw;
  bottom: 5cqw;
  width: 15cqw;
  height: 15cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9ff54;
  color: #103421;
  font-size: 3cqw;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  transform: rotate(10deg);
}
.artwork--morrow {
  background: #d6c8b4;
  padding: 6cqw;
}
.artwork--morrow > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.morrow-paper {
  position: relative;
  width: 64%;
  height: 100%;
  background: #f6f0e4;
  display: flex;
  flex-direction: column;
  padding: 6cqw;
  color: #403827;
}
.morrow-logo {
  font-family: Figtree, sans-serif;
  font-size: max(10px, 2.8cqw);
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-weight: 600;
}
.morrow-rule {
  height: 1px;
  width: 100%;
  background: #b9ad97;
  margin-top: 5cqw;
}
.morrow-paper strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 8.6cqw;
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin-block: auto;
}
.morrow-foot {
  font-size: max(10px, 1.8cqw);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.next-project {
  background: var(--paper);
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 0;
  padding: 60px 7%;
  border-radius: 5px;
}
.next-mark {
  width: 184px;
  aspect-ratio: 1;
  justify-self: start;
}
.next-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.next-copy h2 {
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin: 0;
}
.next-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.7;
  color: #53534f;
  margin: 24px 0;
}
.next-copy .membership-link {
  min-width: 210px;
}
.utility-footer {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: #5b5b57;
}
.utility-footer > div {
  display: flex;
  gap: 24px;
}
.utility-footer a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.utility-footer a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.utility-footer a:active {
  opacity: 0.65;
}
.project-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f6f6f2;
  color: var(--ink);
  overscroll-behavior: contain;
}
.project-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  animation: viewer-in 0.3s var(--ease);
}
.project-viewer::backdrop {
  background: #111;
}
.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
  background: white;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.viewer-header h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
}
.viewer-header p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.icon-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 1px solid #d8d8d2;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition:
    background 0.2s,
    color 0.2s;
}
.icon-button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.icon-button:active:not(:disabled) {
  transform: scale(0.94);
}
.viewer-canvas {
  position: relative;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.viewer-art {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewer-art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-art > .artwork {
  width: min(100%, 950px);
  height: auto;
  aspect-ratio: 1.2;
  max-height: 100%;
  flex-shrink: 0;
}
.viewer-art > .artwork--morrow {
  width: min(100%, 820px);
  aspect-ratio: 1.1;
}
.viewer-canvas.is-zoomed {
  display: block;
}
.viewer-canvas.is-zoomed .viewer-art {
  width: max-content;
  height: auto;
  display: block;
  max-width: none;
}
.viewer-canvas.is-zoomed .viewer-art > img {
  width: var(--art-width);
  max-width: none;
  height: auto;
  object-fit: initial;
}
.viewer-canvas.is-zoomed .viewer-art > .artwork {
  width: 1200px;
  max-width: none;
  max-height: none;
}
.viewer-loading,
.viewer-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  text-align: center;
}
.viewer-error {
  z-index: 1;
  width: min(320px, calc(100% - 32px));
  padding: 20px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 32px #00000014;
}
.viewer-error a {
  display: block;
  margin-top: 8px;
  padding: 12px 0;
}
.viewer-loading {
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  border-radius: 4px;
}
.viewer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  background: white;
  border-top: 1px solid var(--line);
  z-index: 2;
}
.viewer-piece {
  display: flex;
  gap: 20px;
  align-items: center;
  min-width: 0;
}
.viewer-count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.viewer-piece p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.viewer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.zoom-button {
  height: 46px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 3px;
}
.zoom-button:hover {
  background: #eaeae5;
}
.zoom-button:active {
  background: #dcdcd4;
}
.zoom-button span {
  font-size: 20px;
}
.zoom-button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
@keyframes viewer-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .intro {
    padding-block: 62px 52px;
  }
  .work-grid {
    row-gap: 56px;
  }
}
@media (max-width: 1100px) {
  :root {
    --shell: calc(100% - 48px);
  }
  .intro {
    padding-top: 38px;
    padding-bottom: 34px;
  }
  .intro h1 {
    font-size: 64px;
  }
  .intro-note {
    font-size: 12px;
  }
  .filter-count {
    display: none;
  }
  .project-caption {
    gap: 10px;
  }
  .project-caption h2 {
    font-size: 17px;
  }
  .project-stage {
    height: 340px;
  }
  .artwork--image {
    padding: 22px;
  }
  .next-project {
    padding: 50px 6%;
  }
  .next-copy h2 {
    font-size: 54px;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 86px;
  }
  .brand {
    width: 72px;
    height: 72px;
  }
  .site-header nav {
    gap: 20px;
  }
  .intro {
    display: block;
    padding-block: 34px 28px;
  }
  .intro h1 {
    font-size: 60px;
  }
  .intro-note {
    font-size: 14px;
    margin-top: 22px;
  }
  .intro-note br {
    display: none;
  }
  .intro-note > span:nth-of-type(1) {
    display: none;
  }
  .intro-note > span:last-of-type {
    margin-left: 10px;
  }
  .work-grid {
    gap: 32px 18px;
  }
  .project--wide,
  .project--narrow {
    grid-column: span 6;
  }
  .project-stage {
    height: 300px;
  }
  .project-caption {
    display: block;
  }
  .project-caption h2 {
    font-size: 17px;
  }
  .artwork--image {
    padding: 16px;
  }
  .next-project {
    min-height: 400px;
  }
  .next-copy h2 {
    font-size: 45px;
  }
  .next-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .utility-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-block: 24px;
  }
  .viewer-header {
    padding: 16px 20px;
  }
  .viewer-canvas {
    padding: 18px;
  }
  .viewer-controls {
    padding: 14px 20px;
  }
  .viewer-piece {
    display: block;
  }
  .viewer-piece p {
    margin-top: 5px;
  }
}
@media (max-width: 560px) {
  .intro .eyebrow {
    display: none;
  }
  :root {
    --shell: calc(100% - 32px);
  }
  html {
    scroll-padding-top: 124px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    width: 68px;
    height: 68px;
  }
  .nav-work {
    display: none;
  }
  .membership-link {
    font-size: 12px;
    min-height: 44px;
    padding: 12px 14px;
    gap: 14px;
  }
  .site-header nav {
    gap: 0;
  }
  .intro {
    padding-block: 29px 27px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
  }
  .intro h1 {
    font-size: clamp(40px, 10.9vw, 59px);
    letter-spacing: -0.05em;
    line-height: 1.03;
  }
  .intro-note {
    font-size: 13px;
    margin-top: 16px;
  }
  .filter-inner {
    min-height: 0;
  }
  .filters {
    gap: 0;
    padding-block: 8px;
    justify-content: flex-start;
    width: 100%;
  }
  .filter {
    font-size: 12px;
    padding: 10px 11px;
    min-height: 44px;
  }
  .work-grid {
    padding-top: 18px;
    padding-bottom: 48px;
    row-gap: 28px;
  }
  .project,
  .project--wide,
  .project--narrow,
  .work-grid.is-filtering .project {
    grid-column: 1/-1;
  }
  .project-stage,
  .work-grid.is-filtering .project-stage {
    height: auto;
    aspect-ratio: 1.2;
  }
  .project[data-project='klassen'] .project-stage,
  .project[data-project='vager'] .project-stage,
  .project[data-project='jwp'] .project-stage {
    aspect-ratio: 1.35;
  }
  .project-stage .artwork {
    height: 100%;
    position: absolute;
    inset: 0;
  }
  .project-caption {
    display: flex;
    padding-top: 13px;
  }
  .project-caption h2 {
    font-size: 17px;
  }
  .project-types {
    font-size: 12px;
    margin-top: 4px;
  }
  .open-project {
    opacity: 1;
    transform: none;
    width: 34px;
    min-height: 34px;
    padding: 0;
    justify-content: center;
    right: 10px;
    top: 10px;
    bottom: auto;
    font-size: 0;
    gap: 0;
    border-radius: 50%;
  }
  .open-project span {
    font-size: 19px;
  }
  .artwork--image {
    padding: 18px;
  }
  .next-project {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    gap: 28px;
    min-height: 0;
  }
  .next-mark {
    width: 144px;
  }
  .next-copy h2 {
    font-size: 50px;
  }
  .next-copy > p:not(.eyebrow) {
    font-size: 14px;
    margin-block: 20px;
  }
  .next-copy .membership-link {
    font-size: 14px;
    min-height: 50px;
  }
  .utility-footer {
    font-size: 12px;
  }
  .utility-footer > div {
    gap: 22px;
    flex-wrap: wrap;
  }
  .viewer-header {
    padding: 12px 16px;
  }
  .viewer-header h2 {
    font-size: 17px;
    max-width: 260px;
  }
  .viewer-header p {
    font-size: 12px;
  }
  .viewer-canvas {
    padding: 12px;
  }
  .viewer-controls {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  .viewer-piece {
    width: 100%;
    display: flex;
    gap: 12px;
  }
  .viewer-piece p {
    font-size: 12px;
    margin: 0;
  }
  .viewer-count {
    font-size: 12px;
  }
  .viewer-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .zoom-button {
    margin-right: auto;
  }
  .viewer-art > .artwork {
    aspect-ratio: 1.2;
    max-height: 440px;
  }
  .viewer-art > .artwork--morrow {
    aspect-ratio: 1.1;
  }
}
@media (hover: none) {
  .open-project {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .project-link:hover .artwork,
  .project-link:active .artwork {
    transform: none;
  }
}

.viewer-header > div:first-child {
  flex: 1;
  min-width: 0;
}
.website-controls {
  display: flex;
  gap: 4px;
  margin-right: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.website-controls button {
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  border: 0;
  border-radius: 2px;
  font-size: 13px;
}
.website-controls button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.website-controls button:hover:not([aria-pressed='true']) {
  background: #e8e8e1;
}
.website-controls button:active {
  transform: translateY(1px);
}
.viewer-canvas.is-website {
  display: block;
  padding: 24px;
}
.viewer-canvas.is-website .viewer-art {
  height: auto;
  display: block;
  width: min(100%, 1200px);
  margin-inline: auto;
}
.viewer-canvas.is-website .viewer-art > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  filter: none;
}
.viewer-canvas.is-mobile-preview .viewer-art {
  width: min(100%, 390px);
}
.viewer-canvas.is-website.is-zoomed .viewer-art {
  width: max-content;
  margin-inline: 0;
}
.viewer-canvas.is-website.is-zoomed .viewer-art > img {
  width: var(--art-width);
  max-width: none;
}
.viewer-thumbnails {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 10px 32px;
  background: white;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.viewer-thumbnails button {
  position: relative;
  width: 88px;
  height: 54px;
  flex: 0 0 88px;
  padding: 3px;
  background: #efefeb;
  border: 2px solid transparent;
  border-radius: 3px;
}
.viewer-thumbnails button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-thumbnails button > span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  background: var(--ink);
  color: white;
  padding: 2px 3px;
  font-size: 12px;
  line-height: 1.2;
}
.viewer-thumbnails button[aria-pressed='true'] {
  border-color: var(--blue);
}
.viewer-thumbnails button:hover {
  background: #d9d9d2;
}
.viewer-thumbnails button:active {
  transform: translateY(1px);
}
@media (max-width: 560px) {
  .project-viewer.is-website .viewer-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .project-viewer.is-website .viewer-close {
    grid-column: 2;
    grid-row: 1;
  }
  .website-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    justify-self: start;
    padding: 0;
  }
  .website-controls button {
    min-height: 44px;
  }
  .viewer-canvas.is-website {
    padding: 12px;
  }
  .viewer-thumbnails {
    padding: 8px 16px;
    gap: 6px;
  }
  .viewer-thumbnails button {
    width: 68px;
    height: 46px;
    flex-basis: 68px;
  }
  .viewer-thumbnails button > span {
    font-size: 12px;
  }
}
