@font-face {
  font-family: "Gothic201 Skills";
  src: url("assets/fonts/gothic201-skills/Gothic201Skills-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Routed Gothic";
  src: url("assets/fonts/routed-gothic/routed-gothic.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ABC Areal";
  src: url("assets/fonts/abc-areal/ABCAreal-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ABC Areal";
  src: url("assets/fonts/abc-areal/ABCAreal-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "FZ LanTingHei Condensed";
  src: url("assets/fonts/specimen/fz-lantinghei-condensed.ttf?v=1") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "FZ LanTingHei Heavy Condensed";
  src: url("assets/fonts/specimen/fz-lantinghei-heavy-condensed.ttf?v=1") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Routed Gothic";
  src: url("assets/fonts/routed-gothic/routed-gothic-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --page: #f7f7f4;
  --ink: #111;
  --muted: #111;
  --active: #aaa;
  --title: #888;
  --gap: 12px;
  --pad: 13px;
  --header-h: 54px;
  --index-gap: 7px;
  font-family: "Gothic201 Skills", Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--page); }
.image-filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:hover, a:hover, button:focus, a:focus, button:focus-visible, a:focus-visible { color: #f00; }
button:active, a:active { color: #f00; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad);
  background: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.site-header { font-family: "Gothic201 Skills", Arial, sans-serif; }
.brand { font-weight: 400; }
.brand-multicolor .brand-letter:nth-of-type(12n + 1) { color: #0057ff; }
.brand-multicolor .brand-letter:nth-of-type(12n + 2) { color: #00c853; }
.brand-multicolor .brand-letter:nth-of-type(12n + 3) { color: #ff2d20; }
.brand-multicolor .brand-letter:nth-of-type(12n + 4) { color: #8b4513; }
.brand-multicolor .brand-letter:nth-of-type(12n + 5) { color: #ffe000; }
.brand-multicolor .brand-letter:nth-of-type(12n + 6) { color: #7b2cff; }
.brand-multicolor .brand-letter:nth-of-type(12n + 7) { color: #00bfff; }
.brand-multicolor .brand-letter:nth-of-type(12n + 8) { color: #ff6a00; }
.brand-multicolor .brand-letter:nth-of-type(12n + 9) { color: #39e600; }
.brand-multicolor .brand-letter:nth-of-type(12n + 10) { color: #ff1744; }
.brand-multicolor .brand-letter:nth-of-type(12n + 11) { color: #2457ff; }
.brand-multicolor .brand-letter:nth-of-type(12n + 12) { color: #d600ff; }
nav { display: flex; gap: 18px; }
.menu-toggle { display: none; }
.mobile-index-line { display: none; }
.mobile-info-link { display: none; }
@media (min-width: 761px) {
  .site-header { font-size: 22px; }
}

main { padding: var(--header-h) var(--pad) 50px; }
.work-view .image-shell img { mix-blend-mode: multiply; }
.view { display: none; }
.view.is-active { display: block; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px var(--gap);
}
.project-card { min-width: 0; }
.project-card:nth-child(4n + 2) { margin-top: 9vw; }
.project-card:nth-child(5n + 3) { margin-top: 3vw; }
.image-shell { position: relative; overflow: hidden; background: #fff; }
.project-card > .image-shell { width: 100%; }
.image-shell img { display: block; width: 100%; height: auto; filter: grayscale(0); opacity: 1; transition: filter 180ms ease, opacity 220ms ease; }
.image-shell::after,
.index-thumb::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: #909090;
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 180ms ease;
}
.image-shell::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: #000;
  mix-blend-mode: lighten;
  opacity: 0;
  transition: opacity 180ms ease;
}
.image-shell::after { z-index: 3; }
.image-shell:active img {
  filter: url("#red-white-print");
}
.index-item:active .index-thumb img { filter: url("#red-white-print"); }
@media (hover: hover) and (pointer: fine) {
  .image-shell:hover img,
  .image-shell:focus img,
  .image-shell:focus-visible img {
    filter: url("#red-white-print");
  }
  .index-item:hover .index-thumb img,
  .index-item:focus .index-thumb img,
  .index-item:focus-visible .index-thumb img {
    filter: url("#red-white-print");
  }
}
.project-meta {
  --caption-top: 6px;
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  padding-top: var(--caption-top);
  font-size: 11px;
  line-height: 1.2;
}
.caption-rules {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.caption-rules > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--caption-line);
  transform-origin: top;
  transform: scaleY(.8);
}
.project-meta > :not(.caption-rules) { position: relative; z-index: 1; }
@media (max-width: 479px), (max-width: 760px) and (pointer: coarse) {
  .caption-rules > span { transform: scaleY(.45); }
}
.project-meta .year, .project-meta .client, .project-meta .role { color: var(--title); }
.project-meta .role { white-space: pre-line; text-align: right; }
.project-title { color: var(--title); text-transform: uppercase; }

.index-controls {
  position: sticky;
  z-index: 20;
  top: var(--header-h);
  display: flex;
  gap: 16px;
  padding: 7px 0 18px;
  background: transparent;
  font-family: "Gothic201 Skills", Arial, sans-serif;
}
@media (min-width: 761px) {
  .index-controls { font-size: 16px; }
}
.filter { color: var(--ink); }
.filter.is-active,
nav [data-route].is-current {
  color: #f00;
  text-decoration: none;
}
.filter[data-filter="all"].is-active { color: #ff2d20; }
.filter[data-filter="editorial"].is-active { color: #ffe600; }
.filter[data-filter="poster"].is-active { color: #00bfff; }
.filter[data-filter="personal"].is-active { color: #63ed00; }
.site-header .brand.is-current { color: #00bfff; }
nav [data-route="work"].is-current { color: #ffe600; }
nav [data-route="sketch"].is-current { color: #63ed00; }
nav [data-route="index"].is-current { color: #8a2cff; }
@media (hover: hover) and (pointer: fine) {
  .site-header :is(a, button):is(:hover, :focus-visible),
  .index-controls .filter:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-decoration-thickness: 0.075em;
    text-underline-offset: 0.06em;
    text-decoration-skip-ink: auto;
  }
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .site-header .brand:hover,
  .site-header .brand:focus-visible { color: #00bfff; }
  nav [data-route="work"]:hover,
  nav [data-route="work"]:focus-visible { color: #ffe600; }
  nav [data-route="sketch"]:hover,
  nav [data-route="sketch"]:focus-visible { color: #63ed00; }
  nav [data-route="index"]:hover,
  nav [data-route="index"]:focus-visible { color: #8a2cff; }
  nav [data-route="about"]:hover,
  nav [data-route="about"]:focus-visible { color: #00bfff; }
  nav #contact-link:hover,
  nav #contact-link:focus-visible { color: #ff2ca8; }
  .filter[data-filter="all"]:hover,
  .filter[data-filter="all"]:focus-visible { color: #ff2d20; }
  .filter[data-filter="editorial"]:hover,
  .filter[data-filter="editorial"]:focus-visible { color: #ffe600; }
  .filter[data-filter="poster"]:hover,
  .filter[data-filter="poster"]:focus-visible { color: #00bfff; }
  .filter[data-filter="personal"]:hover,
  .filter[data-filter="personal"]:focus-visible { color: #63ed00; }
  nav [data-route="work"].is-current { color: #ffe600; }
  nav [data-route="sketch"].is-current { color: #63ed00; }
  nav [data-route="index"].is-current { color: #8a2cff; }
  nav [data-route="about"].is-current { color: #00bfff; }
  .site-header .brand.is-current { color: #00bfff; }
}
.monochrome-preview .site-header :is(a, button),
.monochrome-preview .site-header .brand,
.monochrome-preview .site-header #contact-link,
.monochrome-preview .index-controls .filter { color: #000; }

@media (hover: hover) and (pointer: fine) {
  .monochrome-preview .site-header :is(a, button):is(:hover, :focus-visible),
  .monochrome-preview .index-controls .filter:is(:hover, :focus-visible) {
    text-decoration-thickness: 0.095em;
  }
}

.monochrome-preview :is(.image-shell, .index-item):active img {
  filter: grayscale(1) contrast(.82) brightness(1.12);
  mix-blend-mode: multiply;
}
.monochrome-preview .image-shell:active::after,
.monochrome-preview .index-item:active .index-thumb::after { opacity: 0; }
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body.mobile-nav-open main { padding-top: 210px; }
  body.mobile-nav-open .about-paper { padding-top: 210px; }
  .site-header {
    align-items: flex-start;
    padding-top: 9px;
    background: transparent;
  }
  .menu-toggle {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: var(--pad);
    display: grid;
    width: 17px;
    height: 12px;
    align-content: space-between;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
  }
  .menu-toggle span:nth-child(1) { background: #0057ff; }
  .menu-toggle span:nth-child(2) { background: #00c853; }
  .menu-toggle span:nth-child(3) { background: #8b4513; }
  .site-header nav {
    position: absolute;
    top: 40px;
    right: var(--pad);
    display: none;
    flex-direction: column;
    align-items: flex-end;
    min-width: 116px;
    gap: 3px;
    line-height: 1.05;
    text-align: right;
  }
  .site-header nav > :is(a, button) { width: 100%; text-align: right; }
  .site-header nav > .mobile-info-link { display: block; }
  .site-header nav > :is(a, button),
  .index-controls > .filter {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal !important;
    line-height: normal !important;
  }
  .index-controls > .filter { font-size: 0; }
  .index-controls > .filter::after { font-size: 14px; }
  .index-controls > .filter[data-filter="all"]::after { content: "All"; }
  .index-controls > .filter[data-filter="editorial"]::after { content: "Edit."; }
  .index-controls > .filter[data-filter="poster"]::after { content: "Poster"; }
  .index-controls > .filter[data-filter="personal"]::after { content: "Sketch"; }
  .site-header nav.is-open { display: flex; }
  .monochrome-preview .site-header :is(a, button),
  .monochrome-preview .index-controls .filter {
    text-decoration: none !important;
  }
  .monochrome-preview .site-header :is(a, button).is-tap-underlined,
  .monochrome-preview .index-controls .filter.is-tap-underlined {
    text-decoration-line: underline !important;
    text-decoration-color: currentColor !important;
    text-decoration-thickness: 0.05em !important;
    text-underline-offset: 0.16em !important;
    text-decoration-skip-ink: auto;
  }
}
@media (hover: hover) and (pointer: fine) {
  .monochrome-preview :is(.image-shell, .index-item):is(:hover, :focus, :focus-visible) img {
    filter: grayscale(1) contrast(.82) brightness(1.12);
    mix-blend-mode: multiply;
  }
  .monochrome-preview .image-shell:is(:hover, :focus, :focus-visible)::after,
  .monochrome-preview .index-item:is(:hover, :focus, :focus-visible) .index-thumb::after { opacity: 0; }
}
.monochrome-preview .work-view .image-shell.is-print-peek img {
  filter: url("#ink-shortage-print");
  opacity: 1;
  mix-blend-mode: multiply;
}
.monochrome-preview .work-view .image-shell.is-print-peek::before { opacity: 1; }
.monochrome-preview .work-view .image-shell.is-print-peek::after {
  opacity: .18;
  -webkit-backdrop-filter: grayscale(100%);
  backdrop-filter: grayscale(100%);
}
@media (hover: hover) and (pointer: fine) {
  .monochrome-preview .work-view .image-shell:is(:hover, :focus-visible) img {
    filter: url("#ink-shortage-print");
    opacity: 1;
    mix-blend-mode: multiply;
  }
  .monochrome-preview .work-view .image-shell:is(:hover, :focus-visible)::before { opacity: 1; }
  .monochrome-preview .work-view .image-shell:is(:hover, :focus-visible)::after {
    opacity: .18;
    -webkit-backdrop-filter: grayscale(100%);
    backdrop-filter: grayscale(100%);
  }
}

.index-grid {
  --index-row-gap: 72px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: var(--index-gap);
  row-gap: var(--index-row-gap);
  align-items: end;
}
.index-item { min-width: 0; text-align: left; }
.index-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.index-thumb img { display: block; width: 100%; height: auto; max-width: none; max-height: none; filter: grayscale(0); transition: filter 140ms ease; }
.index-copy { display: block; margin-top: 4px; color: var(--title); font-size: 9px; line-height: 1.1; text-align: left; }
.index-copy > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.index-line .index-year, .index-line .project-title { display: inline; }
.index-copy .client { color: var(--title); }

.about-view {
  position: fixed;
  z-index: 25;
  inset: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  font-family: "Gothic201 Skills", Arial, sans-serif;
}
.about-view.is-active { display: block; }
.about-paper {
  width: 100%;
  min-height: 0;
  padding: calc(var(--header-h) + 8px) var(--pad) 24px;
  background: #fff;
  color: #000;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.02;
}
.about-paper > * { max-width: 780px; }
.about-paper p { margin: 0; }
.about-intro { margin-bottom: 1.05em !important; }
@media (min-width: 1200px) {
  .about-intro {
    max-width: 980px !important;
    white-space: normal;
  }
}
.about-section { margin: 0 0 .9em; }
.about-section h2 {
  margin: 0;
  color: #000;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
}
.about-section p + p { margin-top: .05em; }
.about-contact { margin-bottom: .9em; }
.about-paper a,
.about-paper a:visited { color: inherit; text-decoration: none; }
.about-interactive-link:is(:active, :focus-visible) { color: #8a2cff !important; }
@media (hover: hover) and (pointer: fine) {
  .about-interactive-link:hover { color: #8a2cff !important; }
}
@media (max-width: 760px) {
  .about-school-link { pointer-events: none; }
}
.about-copyright {
  max-width: none;
  white-space: nowrap;
}
.no-break { white-space: nowrap; }
.about-open footer { display: none; }
.about-open .detail-close,
.about-open .sketch-work-panorama-close,
.about-open .panorama-close { display: none !important; }

.detail-view.is-active { display: block; }
.detail-close {
  position: relative;
  z-index: 25;
  display: block;
  margin: 8px 0 0 auto;
  font-family: "Gothic201 Skills", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}
.detail-project { width: min(72vw, 1200px); margin: 0 auto; }
.detail-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - var(--header-h) - 120px);
  min-height: 420px;
  margin: 0;
}
.detail-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  filter: none;
  transition: filter 140ms ease;
}
.detail-figure.is-long {
  height: auto;
  min-height: 0;
  align-items: flex-start;
}
.detail-figure.is-long img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
}
.detail-figure.is-sketch { overflow: visible; }
.detail-figure.is-detail-swiping {
  overflow: clip;
  --swipe-easing: cubic-bezier(.2, .75, .3, 1);
}
.detail-figure.is-detail-rebounding { --swipe-easing: cubic-bezier(.3, .8, .45, 1.24); }
.is-detail-swiping > :is(.detail-current-image, .detail-swipe-preview) {
  transform: translateX(var(--swipe-offset, 0px));
  transition: transform var(--swipe-duration, 0ms) var(--swipe-easing);
}
.detail-figure > .detail-swipe-preview {
  position: absolute;
  top: 0;
  width: 100%;
  max-height: none;
  pointer-events: none;
}
.detail-figure.is-panorama {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: calc(100vh - var(--header-h) - 120px);
  min-height: 420px;
  overflow: visible;
}
.detail-panorama-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  cursor: ew-resize;
  -webkit-overflow-scrolling: touch;
}
.detail-figure.is-panorama .detail-panorama-scroll img {
  width: auto;
  max-width: none;
  height: 100%;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
}
.panorama-artwork {
  position: relative;
  width: max-content;
  height: 100%;
}
.panorama-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 100%;
}
.panorama-dimensions {
  position: static;
  align-self: flex-end;
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 0;
  background: transparent;
  color: #000;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.sketch-page-stack {
  position: relative;
  display: block;
  width: min(100%, 900px);
  height: 100%;
  cursor: e-resize;
  isolation: isolate;
}
.sketch-page-stack img {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: calc(1000 - var(--sheet-index));
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  transition: transform 260ms cubic-bezier(.2,.75,.25,1), opacity 180ms ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  animation: sketch-fan-in 420ms cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(min(var(--sheet-index), 6) * 28ms);
}
.sketch-page-stack img[data-angle="0"] { transform: translate(-50%, -50%); }
.sketch-page-stack img[data-angle="1"] { transform: translate(-45%, -51%) rotate(8deg); }
.sketch-page-stack img[data-angle="2"] { transform: translate(-56%, -50%) rotate(-7deg); }
.sketch-page-stack img[data-angle="3"] { transform: translate(-49%, -53%) rotate(3deg); }
.sketch-page-stack img.is-waiting { opacity: 0; }
.sketch-page-stack img.is-passed {
  opacity: 0;
  transform: translate(-115%, -54%) rotate(-14deg);
  pointer-events: none;
}
@keyframes sketch-fan-in {
  from { opacity: 0; transform: translate(-50%, -48%) rotate(0deg); }
}
.sketch-page-stack.is-returning-to-cover img:not(.is-waiting):not(.is-passed) {
  animation-name: sketch-fan-return;
}
@keyframes sketch-fan-return {
  from { opacity: 0; transform: translate(-50%, -48%) rotate(0deg); }
}
@media (min-width: 761px) {
  .detail-figure.is-long img {
    max-width: 50%;
  }
}
.detail-gallery-control {
  position: fixed;
  z-index: 12;
  top: var(--header-h);
  bottom: 0;
  display: flex;
  align-items: center;
  width: 50vw;
  color: var(--ink);
}
.detail-gallery-previous { left: 0; justify-content: flex-start; text-align: left; }
.detail-gallery-next { right: 0; justify-content: flex-end; text-align: right; }
.detail-gallery-control span {
  display: inline-block;
  padding: 14px;
  opacity: 0;
  transition: opacity 120ms ease;
}
.detail-gallery-control:hover span,
.detail-gallery-control:focus-visible span { opacity: 1; }
.detail-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  padding-top: 12px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--title);
}
.detail-meta h1, .detail-meta p { margin: 0; color: inherit; font-size: inherit; font-weight: 400; }
.detail-meta h1 { text-transform: uppercase; }
.detail-information { padding-left: 6px; text-align: left; }
.detail-role { padding-left: 6px; text-align: left; white-space: pre-line; color: var(--title); }
.detail-role p { margin: 0; }
.detail-awards { margin-top: 12px; }

.sketch-view.is-active { display: block; }
.sketch-list { width: 100%; }
.sketch-work {
  width: min(90vw, 1540px);
  margin: 0 auto 130px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.sketch-work-stage {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h) - 12px);
  min-height: 620px;
  max-height: 980px;
  margin: 0;
  overflow: hidden;
  overflow-anchor: none;
  contain: layout paint;
}
.sketch-work-stack {
  position: absolute;
  inset: 3% 5%;
  display: block;
  cursor: e-resize;
  overflow-anchor: none;
}
.sketch-work-stack[hidden] { display: none; }
.sketch-work-sheet {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: auto;
  max-width: 88%;
  height: 72%;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 520ms cubic-bezier(.2,.75,.25,1), opacity 280ms ease;
  pointer-events: none;
}
.sketch-work-sheet.is-current {
  z-index: 20;
  opacity: 1;
  transform: rotate(0deg);
}
.sketch-work-stack.is-expanded .sketch-work-sheet.is-near { opacity: 1; }
.sketch-work-stack.is-expanded .sketch-work-sheet {
  width: 88%;
  max-width: 88%;
  height: 72%;
  max-height: none;
}
.sketch-work-stack.is-expanded .sketch-work-sheet.is-current { z-index: 20; }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-spread="1"] { z-index: 19; }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-spread="2"] { z-index: 18; }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-spread="3"] { z-index: 17; }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-paper-angle="0"] { transform: rotate(-7.5deg); }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-paper-angle="1"] { transform: rotate(-2.5deg); }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-paper-angle="2"] { transform: rotate(2.5deg); }
.sketch-work-stack.is-expanded .sketch-work-sheet[data-paper-angle="3"] { transform: rotate(7.5deg); }
.sketch-work-stack.is-settled .sketch-work-sheet { transition: none; }
.sketch-work-panorama {
  position: absolute;
  z-index: 30;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 72%;
  transform: translateY(-50%);
}
.sketch-work-panorama[hidden] { display: none; }
.sketch-work-panorama-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  cursor: ew-resize;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.sketch-work-panorama .panorama-frame { height: 100%; }
.sketch-work-panorama-scroll img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.sketch-work-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  padding-top: 28px;
  color: var(--title);
  font-size: 11px;
  line-height: 1.25;
}
.sketch-work-meta h2,
.sketch-work-meta p { margin: 0; color: inherit; font: inherit; }
.sketch-work-meta h2 { text-transform: uppercase; }
@media (min-width: 761px) {
  .sketch-work-meta {
    width: var(--sketch-meta-width, 79.2%);
    margin-inline: auto;
    margin-top: -30px;
    padding-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sketch-work-meta > div:last-child { text-align: right; }
}

.panorama-view.is-active { display: block; }
.panorama-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 11px;
}
.panorama-toolbar span:last-child { justify-self: end; color: var(--muted); }
.panorama-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  cursor: ew-resize;
  -webkit-overflow-scrolling: touch;
}
.panorama-print { width: max-content; min-width: 100%; }
.panorama-print img { width: auto; max-width: none; height: min(68vh, 640px); }

footer { position: fixed; left: var(--pad); bottom: 8px; z-index: 40; font-size: 10px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .index-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .index-grid { --index-row-gap: 56px; }
}

@media (max-width: 760px) {
  .about-copyright { white-space: normal; }
  .detail-current-image { touch-action: pan-y; }
  :root { --gap: 8px; --pad: 9px; --header-h: 70px; --index-gap: 9px; font-size: 11px; }
  .site-header {
    font-size: 14px;
    gap: clamp(4px, 1.5vw, 10px);
    white-space: nowrap;
  }
  .site-header nav {
    align-items: center;
    gap: inherit;
    font-weight: 400;
  }
  .work-grid { grid-template-columns: 1fr; }
  .project-card:nth-child(n) { margin-top: 0; }
  .image-shell img, .index-thumb img { transition: none; }
  .project-meta {
    grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 4px;
    row-gap: 0;
    font-size: 10px;
  }
  .project-meta .year { grid-column: 1; grid-row: 1; }
  .project-meta .project-title { grid-column: 2; grid-row: 1; }
  .project-meta .client { grid-column: 2; grid-row: 2; }
  .project-meta .role { grid-column: 3; grid-row: 1 / span 2; align-self: start; text-align: right; }
  .index-controls { gap: 11px; overflow-x: auto; white-space: nowrap; }
  .index-view > .index-controls { display: none; }
  body.index-open .site-header > .brand { display: none; }
  body.index-open .mobile-index-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    line-height: normal;
  }
  .mobile-index-line > .brand { font-size: 18px; }
  .mobile-index-line > :is(span, button) {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: normal;
  }
  .index-grid { --index-row-gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; margin-top: 0; }
  body.index-open .index-view { touch-action: pan-y; }
  body.index-open .index-grid { overflow-anchor: none; }
  .index-grid.is-swipe-out-left { animation: index-swipe-out-left 160ms ease-in forwards; }
  .index-grid.is-swipe-out-right { animation: index-swipe-out-right 160ms ease-in forwards; }
  .index-grid.is-swipe-in-right { animation: index-swipe-in-right 190ms ease-out both; }
  .index-grid.is-swipe-in-left { animation: index-swipe-in-left 190ms ease-out both; }
  .index-copy { margin-top: 6px; font-size: 10px; line-height: 1.35; }
  .index-copy > span { line-height: 1.35; padding-block: 1px; }
  .about-view {
    padding: 0;
  }
  .about-paper {
    padding: calc(var(--header-h) + 5px) var(--pad) 18px;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: normal !important;
  }
  .about-paper > * { max-width: none; }
  .detail-project { width: 100%; margin-top: 34px; }
  .detail-close {
    position: fixed;
    z-index: 32;
    top: calc(var(--header-h) - 12px);
    right: calc(var(--pad) - 13px);
    width: 18px;
    height: 18px;
    box-sizing: content-box;
    margin: 0;
    padding: 13px;
    overflow: visible;
    font-size: 0;
    background:
      linear-gradient(#0057ff, #0057ff) left top / 88% 1px no-repeat,
      linear-gradient(#00c853, #00c853) right top / 1px 88% no-repeat,
      linear-gradient(#8b4513, #8b4513) right bottom / 88% 1px no-repeat,
      linear-gradient(#ff2d20, #ff2d20) left bottom / 1px 88% no-repeat;
    background-origin: content-box;
    background-clip: content-box;
    touch-action: manipulation;
  }
  .detail-close::before,
  .detail-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    transform-origin: center;
  }
  .detail-close::before { background: #0057ff; transform: translate(-50%, -50%) rotate(45deg); }
  .detail-close::after { background: #8b4513; transform: translate(-50%, -50%) rotate(-45deg); }
  body.mobile-nav-open .detail-close { display: none; }
  .detail-figure { height: auto; min-height: 0; margin-bottom: 12px; }
  .detail-figure img { width: 100%; max-height: none; }
  .detail-figure.is-sketch { height: min(72vh, 620px); }
  .detail-figure.is-panorama { height: min(72vh, 620px); min-height: 0; }
  .detail-figure.is-panorama .detail-panorama-scroll img { width: auto; max-width: none; height: 100%; }
  .panorama-dimensions { font-size: 9px; }
  .sketch-page-stack { width: 94%; height: 100%; margin: 0 auto; }
  .sketch-page-stack img { width: auto; max-width: 100%; max-height: 100%; }
  .detail-gallery-control {
    top: 50svh;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  .detail-gallery-previous { left: 5px; }
  .detail-gallery-next { right: 5px; }
  .detail-gallery-control span {
    position: relative;
    display: block;
    width: 28px;
    height: 40px;
    padding: 0;
    background: none;
    font-size: 0;
    line-height: 1;
    opacity: 1;
  }
  .detail-gallery-control span::before,
  .detail-gallery-control span::after {
    content: "";
    position: absolute;
    top: 50%;
  }
  .detail-gallery-control span::before {
    width: 18px;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
  }
  .detail-gallery-control span::after {
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
  }
  .detail-gallery-previous span::before { left: 5px; }
  .detail-gallery-previous span::after { left: 4px; transform: translateY(-50%) rotate(-135deg); }
  .detail-gallery-next span::before { right: 5px; }
  .detail-gallery-next span::after { right: 4px; transform: translateY(-50%) rotate(45deg); }
  .detail-gallery-previous span { color: #0057ff; }
  .detail-gallery-next span { color: #8b4513; }
  .detail-meta {
    position: relative;
    z-index: 5;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    padding-top: 9px;
    background: var(--page);
    font-size: 9px;
  }
  .detail-information, .detail-role { padding-left: 0; }
  .project-meta .role { text-align: right; }
  .sketch-work { width: 100%; margin-bottom: 88px; }
  .sketch-work:first-child { margin-top: 88px; }
  .sketch-work:first-child .sketch-work-stage,
  .sketch-work:first-child .sketch-work-meta { transform: translateY(-48px); }
  .sketch-list.is-measuring { visibility: hidden; }
  html { overflow-x: hidden; scroll-behavior: auto; overscroll-behavior-x: none; touch-action: manipulation; }
  body { overscroll-behavior: none; touch-action: manipulation; }
  .sketch-work-stage { height: var(--locked-mobile-stage-height, 78svh); min-height: 240px; max-height: 620px; }
  .sketch-work-stack { inset: 2%; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
  .sketch-work-panorama {
    left: 2%;
    right: 2%;
    height: 66%;
    overflow: visible;
  }
  .sketch-work-panorama-back { top: -22px; }
  .sketch-work-sheet,
  .sketch-work-stack.is-expanded .sketch-work-sheet { width: 84%; max-width: 84%; height: var(--locked-mobile-sheet-height, 78%); max-height: none; }
  .sketch-work-meta { width: 84%; margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; padding-top: 9px; font-size: 10px; }
  .sketch-work-meta > div:first-child { text-align: left; }
  .sketch-work-meta > div:last-child { text-align: right; }
  .panorama-toolbar { grid-template-columns: 1fr auto; }
  .panorama-toolbar span:last-child { display: none; }
  .panorama-print img { height: 58vh; }
}

@keyframes index-swipe-out-left {
  to { transform: translateX(-22vw); opacity: 0; }
}
@keyframes index-swipe-out-right {
  to { transform: translateX(22vw); opacity: 0; }
}
@keyframes index-swipe-in-right {
  from { transform: translateX(22vw); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes index-swipe-in-left {
  from { transform: translateX(-22vw); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 760px) and (pointer: coarse) {
  .site-header {
    font-family: "Gothic201 Skills", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: normal;
    line-height: normal;
  }
  .site-header .brand,
  .site-header nav,
  .index-controls {
    letter-spacing: normal;
    line-height: normal;
  }
  .site-header .brand, .site-header nav { font-weight: 400; }
  .site-header nav { gap: 4px; }
  .index-controls {
    justify-content: flex-start;
    gap: 11px;
    padding: 0 0 18px;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
  }
}

@media (min-width: 480px) and (max-width: 760px) and (hover: hover) and (pointer: fine) {
  .index-grid { --index-row-gap: 18px; }
  .site-header { font-size: 22px; }
  .site-header .brand { text-decoration-thickness: 1px !important; }
  .site-header nav > :is(a, button) { font-size: 16px; }
  body.mobile-nav-open .about-paper {
    padding-top: var(--about-menu-clearance, 210px);
  }
  .menu-toggle { top: 14px; }
  body.mobile-nav-open main { padding-top: 240px; }
  body.index-open .mobile-index-line > .brand,
  body.index-open .mobile-index-line > :is(span, button) { font-size: 22px; }
  .index-controls { font-size: 22px; }
  .about-paper { font-size: 16px !important; font-weight: 400; }
  .project-meta { font-size: 12px; }
  .index-copy { font-size: 9px; }
  .detail-meta { font-size: 12px; }
  footer { font-size: 12px; }
}

.site-header,
.about-view,
.detail-close {
  font-family: "Gothic201 Skills", Arial, sans-serif !important;
  font-weight: 400 !important;
}
body,
.index-view,
.work-view,
.sketch-view {
  font-family: "Gothic201 Skills", Arial, Helvetica, sans-serif;
}
.work-grid .project-card { --caption-line: #0057ff; }
.work-grid .project-card:nth-child(12n + 2) { --caption-line: #00c853; }
.work-grid .project-card:nth-child(12n + 3) { --caption-line: #ff2d20; }
.work-grid .project-card:nth-child(12n + 4) { --caption-line: #8b4513; }
.work-grid .project-card:nth-child(12n + 5) { --caption-line: #ffe000; }
.work-grid .project-card:nth-child(12n + 6) { --caption-line: #7b2cff; }
.work-grid .project-card:nth-child(12n + 7) { --caption-line: #00bfff; }
.work-grid .project-card:nth-child(12n + 8) { --caption-line: #ff6a00; }
.work-grid .project-card:nth-child(12n + 9) { --caption-line: #39e600; }
.work-grid .project-card:nth-child(12n + 10) { --caption-line: #ff1744; }
.work-grid .project-card:nth-child(12n + 11) { --caption-line: #2457ff; }
.work-grid .project-card:nth-child(12n + 12) { --caption-line: #d600ff; }
.caption-underline {
  display: inline;
  padding-bottom: 0;
  text-decoration: none;
}
.project-meta .role .caption-underline {
  display: block;
  width: max-content;
  margin-left: auto;
}
.about-location {
  display: inline;
  margin: 0;
}
.detail-center-close { display: none; }
@media (max-width: 760px) and (pointer: coarse) {
  .site-header {
    font-family: "Gothic201 Skills", Arial, sans-serif !important;
  }
}

@media (min-width: 761px), (min-width: 480px) and (hover: hover) and (pointer: fine) {
  .index-grid { padding-top: var(--index-row-gap); }
  .detail-project { padding-top: 12px; }
}

#primary-navigation [data-route="work"] { --nav-accent: #8b4513; }
#primary-navigation [data-route="sketch"] { --nav-accent: #63ed00; }
#primary-navigation [data-route="index"] { --nav-accent: #8a2cff; }
#primary-navigation [data-route="about"] { --nav-accent: #00bfff; }
#primary-navigation #contact-link { --nav-accent: #ff2ca8; }
#primary-navigation > :is(a, button) {
  text-decoration-line: underline !important;
  text-decoration-color: var(--nav-accent, currentColor) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
  text-decoration-skip-ink: none;
}
#primary-navigation > :is(a, button):is(:focus-visible, :active, .is-current) {
  color: var(--nav-accent, currentColor) !important;
  text-decoration-line: none !important;
}
@media (hover: hover) and (pointer: fine) {
  #primary-navigation > :is(a, button):hover {
    color: var(--nav-accent, currentColor) !important;
    text-decoration-line: none !important;
  }
}

/* Desktop follows the same typographic system as mobile while retaining
   the wider two-column selected-work layout. */
@media (min-width: 761px) {
  :root {
    --header-h: 58px;
    --gap: 14px;
    --index-gap: 7px;
  }

  .detail-view {
    --detail-close-inset: 2px;
    --detail-close-padding: 13px;
  }
  .detail-project { padding-top: calc(var(--detail-close-inset) + var(--detail-close-padding)); }
  .detail-figure > img { align-self: flex-start; }

  .site-header {
    align-items: flex-start;
    padding-top: 13px;
    font-size: 22px;
    line-height: normal;
    letter-spacing: normal;
  }

  .site-header nav {
    gap: 16px;
    line-height: normal;
  }
  .site-header .brand {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px !important;
  }

  body.index-open .site-header > .brand { display: none; }
  body.index-open .mobile-index-line {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    white-space: nowrap;
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
  }

  .mobile-index-line > :is(.brand, span, button) {
    flex: 0 0 auto;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
  }
  .mobile-index-line > .filter { font-size: 0; }
  .mobile-index-line > .filter::after { font-size: 22px; }
  .mobile-index-line > .filter[data-filter="all"]::after { content: "Year"; }
  .mobile-index-line > .filter[data-filter="editorial"]::after { content: "Editorial"; }
  .mobile-index-line > .filter[data-filter="poster"]::after { content: "Poster"; }
  .mobile-index-line > .filter[data-filter="personal"]::after { content: "Sketch (book)"; }
  .mobile-index-line > .filter,
  .mobile-index-line > .filter:is(:hover, :focus, :focus-visible, :active) {
    text-decoration: none !important;
  }

  .index-view > .index-controls { display: none; }
  .project-meta {
    --caption-top: 7px;
    font-size: 12px;
  }
  #project--poster-design-for-open-mic .project-meta .role,
  #project--poster-for-wt-library-book-lunch .project-meta .role {
    justify-self: end;
    width: max-content;
    max-width: none;
    white-space: pre;
    text-align: right;
  }

  .about-paper {
    font-size: 22px;
    line-height: 1.1;
  }
  .index-copy { font-size: 9px; }
  .detail-meta { font-size: 12px; }
  footer { font-size: 12px; }
  .about-paper > *,
  .about-intro {
    max-width: clamp(520px, calc(100vw - 430px), 980px) !important;
  }

  .detail-close {
    position: fixed;
    z-index: 32;
    top: calc(var(--header-h) + var(--detail-close-inset));
    right: calc(var(--pad) - 13px);
    width: 18px;
    height: 18px;
    box-sizing: content-box;
    margin: 0;
    padding: var(--detail-close-padding);
    overflow: visible;
    font-size: 0;
    background:
      linear-gradient(#0057ff, #0057ff) left top / 88% 1px no-repeat,
      linear-gradient(#00c853, #00c853) right top / 1px 88% no-repeat,
      linear-gradient(#8b4513, #8b4513) right bottom / 88% 1px no-repeat,
      linear-gradient(#ff2d20, #ff2d20) left bottom / 1px 88% no-repeat;
    background-origin: content-box;
    background-clip: content-box;
  }
  .detail-close::before,
  .detail-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    transform-origin: center;
  }
  .detail-close::before {
    background: #0057ff;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .detail-close::after {
    background: #8b4513;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .detail-gallery-control {
    top: 50dvh;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
  }
  .detail-gallery-previous { left: 8px; }
  .detail-gallery-next { right: 8px; }
  .detail-gallery-control span {
    position: relative;
    display: block;
    width: 28px;
    height: 40px;
    padding: 0;
    background: none;
    font-size: 0;
    opacity: 1;
  }
  .detail-gallery-control span::before,
  .detail-gallery-control span::after {
    content: "";
    position: absolute;
    top: 50%;
  }
  .detail-gallery-control span::before {
    width: 18px;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
  }
  .detail-gallery-control span::after {
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
  }
  .detail-gallery-previous span { color: #0057ff; }
  .detail-gallery-next span { color: #8b4513; }
  .detail-gallery-previous span::before { left: 5px; }
  .detail-gallery-previous span::after {
    left: 4px;
    transform: translateY(-50%) rotate(-135deg);
  }
  .detail-gallery-next span::before { right: 5px; }
  .detail-gallery-next span::after {
    right: 4px;
    transform: translateY(-50%) rotate(45deg);
  }
}

/* Enlarged three-colour gallery arrows shared by mobile and desktop. */
.detail-gallery-control {
  width: 100px;
  height: 130px;
}
.detail-gallery-control span {
  position: relative;
  display: block;
  width: 84px;
  height: 120px;
  padding: 0;
  background: linear-gradient(#0057ff, #0057ff) center / 54px 1px no-repeat;
  font-size: 0;
  opacity: 1;
}
.detail-gallery-control span::before,
.detail-gallery-control span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46px;
  height: 1px;
  border: 0;
}
.detail-gallery-control span::before { background: #00c853; }
.detail-gallery-control span::after { background: #8b4513; }
.detail-gallery-previous span::before,
.detail-gallery-previous span::after {
  left: 15px;
  transform-origin: left center;
}
.detail-gallery-previous span::before { transform: rotate(45deg); }
.detail-gallery-previous span::after { transform: rotate(-45deg); }
.detail-gallery-next span::before,
.detail-gallery-next span::after {
  right: 15px;
  transform-origin: right center;
}
.detail-gallery-next span::before { transform: rotate(-45deg); }
.detail-gallery-next span::after { transform: rotate(45deg); }

@media (max-width: 479px), (max-width: 760px) and (pointer: coarse) {
  .index-grid {
    --index-row-gap: 12px;
    padding-top: 0;
  }
  .index-copy {
    height: 33px;
    margin-top: 6px;
    overflow: hidden;
  }
  .project-meta {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
  }
  .project-meta .project-title,
  .project-meta .role .caption-underline { white-space: nowrap; }
  .project-meta :is(.year, .project-title) { align-self: baseline; }

  .detail-gallery-control {
    --gallery-hit-top: calc(var(--header-h) + 32px);
    top: var(--gallery-hit-top);
    bottom: 0;
    width: 50vw;
    height: auto;
    transform: none;
    touch-action: pan-y;
  }
  .detail-gallery-control span {
    position: absolute;
    top: calc(50svh - var(--gallery-hit-top) / 2);
    transform: translateY(-50%) scale(.8);
  }
  .detail-gallery-previous span { left: 0; transform-origin: left center; }
  .detail-gallery-next span { right: 0; transform-origin: right center; }
  .detail-gallery-previous {
    left: 0;
    justify-content: flex-start;
  }
  .detail-gallery-next {
    right: 0;
    justify-content: flex-end;
  }
  .detail-center-close {
    position: fixed;
    z-index: 13;
    top: calc(var(--header-h) + 32px);
    bottom: 0;
    left: 40vw;
    display: block;
    width: 20vw;
    touch-action: pan-y;
  }
}

.detail-panorama-back,
.sketch-work-panorama-back {
  z-index: 40;
  width: 18px;
  height: 18px;
  box-sizing: content-box;
  margin: 0;
  padding: 13px;
  overflow: visible;
  font-size: 0;
  background:
    linear-gradient(#0057ff, #0057ff) left top / 88% 1px no-repeat,
    linear-gradient(#00c853, #00c853) right top / 1px 88% no-repeat,
    linear-gradient(#8b4513, #8b4513) right bottom / 88% 1px no-repeat,
    linear-gradient(#ff2d20, #ff2d20) left bottom / 1px 88% no-repeat;
  background-origin: content-box;
  background-clip: content-box;
  touch-action: manipulation;
}
.detail-panorama-back {
  position: relative;
  right: -13px;
  align-self: flex-end;
  flex: 0 0 auto;
  margin-bottom: -5px;
}
.sketch-work-panorama-back {
  position: absolute;
  top: -39px;
  right: -13px;
}
.detail-panorama-back::before,
.detail-panorama-back::after,
.sketch-work-panorama-back::before,
.sketch-work-panorama-back::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  transform-origin: center;
}
.detail-panorama-back::before,
.sketch-work-panorama-back::before {
  background: #0057ff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.detail-panorama-back::after,
.sketch-work-panorama-back::after {
  background: #8b4513;
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 760px) and (pointer: coarse) {
  .detail-panorama-back,
  .sketch-work-panorama-back {
    position: absolute;
    top: -44px;
    right: -13px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
