:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #8a8a8a;
  --metal: #d9d9d9;
  --blue: rgba(0, 169, 253, 0.62);
  --cyan: rgba(102, 229, 255, 0.58);
  --pink: rgba(255, 51, 255, 0.32);
  --border: rgba(255, 255, 255, 0.65);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #006fff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.view {
  min-height: 100svh;
  background: var(--paper);
}

.view[hidden] {
  display: none;
}

.home-view {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  background: #d8c9b4;
}

.particle-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 22px;
  color: #777;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-copy {
  position: absolute;
  z-index: 3;
  top: 17.4%;
  left: 4.7%;
  width: 33%;
}

.home-copy h1 {
  margin: 0;
  color: #0c0b09;
  font-family: "Akzidenz Grotesk BQ Light Extended", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(40px, 3.55vw, 66px);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.025em;
}

.open-shop-trigger {
  position: absolute;
  z-index: 5;
  top: 48.8%;
  left: 4.8%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 12.62%;
  height: 7.2%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 2px solid #000;
  border-radius: 35.5px;
  color: #11100e;
  background: transparent;
  font-family: "Akzidenz Grotesk BQ Light Extended", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1.39vw, 24px);
  font-weight: 300;
  line-height: normal;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms ease;
}

.open-shop-trigger:hover,
.open-shop-trigger:focus-visible {
  color: #fff;
  background: #11100e;
  box-shadow: 0 8px 22px rgba(41, 31, 21, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.open-shop-trigger:active {
  transform: translateY(0) scale(0.98);
}

.open-shop-trigger > span:first-child {
  flex: 0 0 33.03%;
  text-align: left;
}

.open-shop-trigger__arrow {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 22.94%;
  aspect-ratio: 1;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.open-shop-trigger__arrow img {
  position: absolute;
  top: 16%;
  left: 18%;
  display: block;
  width: 77.69%;
  height: 67.88%;
  transition: filter 180ms ease;
}

.open-shop-trigger:hover .open-shop-trigger__arrow,
.open-shop-trigger:focus-visible .open-shop-trigger__arrow {
  transform: translateX(4px);
}

.open-shop-trigger:hover .open-shop-trigger__arrow img,
.open-shop-trigger:focus-visible .open-shop-trigger__arrow img {
  filter: invert(1);
}

.storefront-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, calc(100dvh * 1.776833));
  height: max(100dvh, calc(100vw / 1.776833));
  overflow: hidden;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 480ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1), filter 480ms ease;
}

.storefront-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
}

.welcome-plaque {
  position: absolute;
  z-index: 3;
  top: 25.5%;
  left: 35.3%;
  width: 8.9%;
  height: auto;
  filter: drop-shadow(0 0.7vw 0.55vw rgba(91, 68, 43, 0.28));
}

.door-portal {
  position: absolute;
  z-index: 4;
  top: 28.45%;
  left: 65.02%;
  width: 11.3%;
  height: 65.7%;
  perspective: 1200px;
  perspective-origin: 50% 48%;
}

.shop-interior {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #f5f3f1;
  cursor: pointer;
  perspective: 420px;
  isolation: isolate;
}

.shop-interior-glow {
  position: absolute;
  z-index: 0;
  top: -1%;
  left: -2%;
  display: block;
  width: 104%;
  height: 102%;
  object-fit: fill;
  opacity: 0.5;
  filter: saturate(0.42) brightness(1.03);
}

.shop-interior::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  box-shadow:
    inset -12px 0 20px -16px rgba(47, 42, 48, 0.28),
    inset 0 12px 20px -16px rgba(47, 42, 48, 0.22),
    inset 0 -12px 20px -16px rgba(47, 42, 48, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.shop-interior::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 58%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.door-particle-field {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.door-vanishing-glow {
  position: absolute;
  z-index: 1;
  top: 48%;
  left: 50%;
  width: 70%;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.74), rgba(216, 215, 226, 0.26) 42%, transparent 72%);
  filter: blur(9px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.enter-cue {
  position: absolute;
  z-index: 7;
  bottom: 6%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.35em;
  width: max-content;
  max-width: 88%;
  padding: 0.48em 0.72em;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #352820;
  background: rgba(255, 247, 231, 0.88);
  box-shadow: 0 5px 18px rgba(34, 20, 15, 0.28);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(8px, 0.62vw, 11px);
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 220ms ease 180ms, transform 300ms cubic-bezier(0.16, 1, 0.3, 1) 180ms;
  pointer-events: none;
}

.enter-cue__arrow {
  display: inline-block;
  transition: transform 220ms ease;
}

.door-portal:hover .enter-cue,
.door-portal.is-previewing .enter-cue,
.door-portal.is-opening .enter-cue,
.shop-interior:focus-visible .enter-cue {
  opacity: 1;
  transform: translate(-50%, 0);
}

.shop-interior:hover .enter-cue__arrow,
.shop-interior:focus-visible .enter-cue__arrow {
  transform: translateX(2px);
}

.storefront-door {
  --door-depth: clamp(14px, 1.05vw, 19px);
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform: rotateY(0deg);
  transform-origin: right center;
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.storefront-door::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 229, 170, 0.22);
  box-shadow: inset 0 0 0 1px rgba(70, 40, 8, 0.2);
  pointer-events: none;
  transform: translateZ(1px);
}

.door-face,
.door-back,
.door-edge {
  position: absolute;
  display: block;
  pointer-events: none;
}

.door-face {
  z-index: 3;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: filter 260ms ease;
}

.door-face > img {
  position: absolute;
  top: -43.3%;
  left: -575.4%;
  width: 884.96%;
  height: 152.21%;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.door-back {
  z-index: 0;
  inset: 0;
  border: 1px solid rgba(82, 45, 9, 0.5);
  background:
    linear-gradient(90deg, rgba(255, 212, 128, 0.12), transparent 18% 82%, rgba(61, 35, 8, 0.22)),
    #a76b1f;
  box-shadow: inset 0 0 24px rgba(57, 31, 7, 0.32);
  backface-visibility: hidden;
  transform: translateZ(calc(var(--door-depth) * -1)) rotateY(180deg);
}

.door-edge {
  z-index: 2;
  backface-visibility: visible;
}

.door-edge--free {
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--door-depth);
  background: linear-gradient(90deg, #75420d 0%, #a96618 38%, #d2973d 100%);
  box-shadow: inset 1px 0 rgba(255, 220, 151, 0.32), inset -2px 0 rgba(69, 38, 7, 0.3);
  transform: rotateY(90deg);
  transform-origin: left center;
}

.door-edge--top {
  top: 0;
  right: 0;
  left: 0;
  height: var(--door-depth);
  background: linear-gradient(180deg, #d8a34f 0%, #9b611c 100%);
  box-shadow: inset 0 1px rgba(255, 228, 171, 0.28);
  transform: rotateX(-90deg);
  transform-origin: center top;
}

.door-edge--bottom {
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--door-depth);
  background: linear-gradient(0deg, #78450f 0%, #bf7c27 100%);
  box-shadow: inset 0 -1px rgba(55, 30, 7, 0.42);
  transform: rotateX(90deg);
  transform-origin: center bottom;
}

.door-edge--hinge {
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--door-depth);
  background: linear-gradient(270deg, #6e3e0e 0%, #b97724 58%, #d69c42 100%);
  box-shadow: inset -1px 0 rgba(255, 220, 151, 0.22);
  transform: rotateY(-90deg);
  transform-origin: right center;
}

.door-portal:hover .storefront-door,
.door-portal.is-previewing .storefront-door,
.storefront-door:focus-visible,
.door-portal.is-opening .storefront-door {
  transform: rotateY(74deg);
}

.door-portal:hover .door-face,
.door-portal.is-previewing .door-face,
.storefront-door:focus-visible .door-face,
.door-portal.is-opening .door-face {
  filter: brightness(0.93) drop-shadow(-12px 8px 14px rgba(41, 26, 12, 0.28));
}

.door-portal:hover .storefront-door::after,
.door-portal.is-previewing .storefront-door::after,
.storefront-door:focus-visible::after,
.door-portal.is-opening .storefront-door::after {
  border-color: rgba(223, 166, 78, 0.32);
  box-shadow: none;
}

.door-portal:hover .door-back,
.door-portal.is-previewing .door-back,
.storefront-door:focus-visible .door-back,
.door-portal.is-opening .door-back {
  border-color: rgba(191, 125, 37, 0.72);
}

.door-portal:hover .door-edge--bottom,
.door-portal.is-previewing .door-edge--bottom,
.storefront-door:focus-visible .door-edge--bottom,
.door-portal.is-opening .door-edge--bottom {
  background: linear-gradient(0deg, #a86619 0%, #d69a3f 58%, #e0ad5c 100%);
  box-shadow: inset 0 -1px rgba(255, 222, 159, 0.28);
}

.home-view.is-entering .storefront-stage {
  opacity: 0;
  filter: blur(2px) brightness(1.07);
  transform: translate3d(-50%, -50%, 0) scale(1.035);
}

.home-view.is-entering .storefront-door {
  transform: rotateY(82deg);
}

.dappled-light {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: blur(11px);
  will-change: transform, opacity;
}

.dappled-light--near {
  top: 8%;
  left: -2%;
  width: 38%;
  height: 74%;
  background:
    radial-gradient(ellipse at 18% 13%, rgba(255, 242, 193, 0.75) 0 7%, transparent 10%),
    radial-gradient(ellipse at 45% 28%, rgba(255, 245, 205, 0.7) 0 8%, transparent 12%),
    radial-gradient(ellipse at 25% 53%, rgba(255, 237, 184, 0.7) 0 8%, transparent 13%),
    radial-gradient(ellipse at 68% 68%, rgba(255, 245, 205, 0.65) 0 7%, transparent 11%);
}

.dappled-light--far {
  top: 5%;
  left: 17%;
  width: 34%;
  height: 63%;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 22% 22%, rgba(255, 245, 206, 0.8) 0 7%, transparent 12%),
    radial-gradient(ellipse at 64% 43%, rgba(255, 239, 185, 0.72) 0 8%, transparent 13%),
    radial-gradient(ellipse at 41% 78%, rgba(255, 248, 216, 0.68) 0 7%, transparent 12%);
}

@media (prefers-reduced-motion: no-preference) {
  .dappled-light--near {
    animation: light-breeze-near 8.5s ease-in-out infinite alternate;
  }

  .dappled-light--far {
    animation: light-breeze-far 11s ease-in-out -3s infinite alternate;
  }
}

@keyframes light-breeze-near {
  from { opacity: 0.17; transform: translate3d(-0.35%, -0.2%, 0) scale(0.99); }
  to { opacity: 0.28; transform: translate3d(1.1%, 0.65%, 0) scale(1.025); }
}

@keyframes light-breeze-far {
  from { opacity: 0.09; transform: translate3d(0.6%, -0.3%, 0) scale(1.01); }
  to { opacity: 0.16; transform: translate3d(-0.9%, 0.8%, 0) scale(0.985); }
}

.works-view {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4.2vw, 60px) clamp(24px, 3.8vw, 56px) 54px;
}

.works-header,
.showroom {
  position: relative;
  z-index: 1;
}

.works-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.back-home {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
  color: #777;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.works-title-block h2 {
  width: clamp(260px, 19vw, 366px);
  margin: 0;
  line-height: 0;
}

.works-title-block > p {
  width: clamp(285px, 21vw, 401px);
  margin: 8px 0 0 64px;
  line-height: 0;
}

.works-title-block img {
  display: block;
  width: 100%;
  height: auto;
}

.resume-trigger {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 14px 38px;
  color: #fff;
  background: linear-gradient(180deg, #0073ff, #0da2ff);
  box-shadow: inset 0 1px 18px #d2eaff, 0 22px 46px rgba(87, 177, 255, 0.26);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resume-trigger:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 18px #d2eaff, 0 30px 54px rgba(87, 177, 255, 0.34);
}

.resume-trigger span {
  font-family: var(--display);
}

@media (min-width: 861px) {
  .works-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 32px;
  }

  .works-title-block {
    display: contents;
  }

  .back-home {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .works-title-block h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .works-title-block > p {
    grid-column: 1;
    grid-row: 3;
  }

  .resume-trigger {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-top: 0;
  }
}

.showroom {
  display: grid;
  grid-template-columns: minmax(610px, 1.55fr) minmax(320px, 0.8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: 20px;
}

.shelf-zone {
  position: relative;
  width: 100%;
  max-width: 880px;
  min-height: 835px;
}

.shelf-row {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: 855px;
}

.shelf-row--featured {
  top: 188px;
}

.shelf-row--early {
  top: 474px;
}

.shelf-row--interesting {
  top: 714px;
}

.shelf {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 106px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 54px;
}

.shelf--blue {
  background: var(--blue);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.25), inset 0 -3px 6px rgba(8,84,122,.25);
}

.shelf--cyan {
  background: var(--cyan);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.25), inset 0 -3px 6px rgba(8,84,122,.25);
}

.shelf--pink {
  height: 88px;
  background: var(--pink);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.25), inset 0 -3px 6px rgba(199,105,10,.25);
}

.shelf h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
}

.shelf h3 span {
  display: block;
}

.screw {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transform: translateY(-50%);
}

.screw--left { left: 16px; }
.screw--right { right: 16px; }

.products {
  position: absolute;
  z-index: 1;
  left: 64px;
  bottom: 50px;
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 3vw, 42px);
}

.project-card {
  position: relative;
  width: clamp(125px, 12vw, 155px);
  aspect-ratio: 178 / 220;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-image: var(--project-cover);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), filter 240ms ease;
}

.project-card--square {
  width: clamp(125px, 12vw, 155px);
  aspect-ratio: 1;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 3;
  filter: drop-shadow(10px 12px 12px rgba(0,0,0,.17));
  transform: translateY(-46px) rotate(-9deg) scale(1.045);
}

.product-placeholder {
  display: grid;
  place-items: end start;
  width: clamp(115px, 11vw, 155px);
  aspect-ratio: 1;
  padding: 10px;
  color: #969696;
  background: #d9d9d9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.curios {
  position: absolute;
  z-index: 1;
  left: 66px;
  bottom: 49px;
  display: flex;
  gap: 30px;
}

.curios span {
  width: 82px;
  height: 82px;
  background: #d9d9d9;
  transform: rotate(45deg);
}

.restock {
  margin: 0 0 0 auto;
  color: rgba(0,0,0,.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.project-panel {
  position: relative;
  align-self: center;
  min-height: 460px;
  padding-top: 30px;
  text-align: right;
}

.panel-content {
  animation: panel-content-in 220ms ease both;
}

@keyframes panel-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-guide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: panel-content-in 240ms ease both;
}

.panel-guide__bubble {
  position: absolute;
  right: 23%;
  bottom: 151px;
  width: min(62%, 272px);
  aspect-ratio: 272 / 89;
}

.panel-guide__bubble > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.panel-guide__bubble p {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  margin: 0;
  color: #4d4d4d;
  font-size: clamp(11px, 0.85vw, 14px);
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
}

.panel-guide__bubble-dot {
  position: absolute;
  right: 20%;
  bottom: 126px;
  display: block;
  width: 17px;
  height: 17px;
}

.panel-guide__figure {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
}

.panel-kicker {
  margin: 0 0 8px;
  color: #777;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .12em;
}

.project-panel h3 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
}

.panel-subtitle {
  margin: 10px 0 16px;
  color: #2f2f2f;
  font-size: 16px;
  font-weight: 800;
}

.panel-tags {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 26px;
}

.panel-tags span {
  border: 1px solid #111;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
}

.panel-description {
  max-width: 390px;
  margin: 0 0 28px auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

.panel-empty {
  display: grid;
  min-height: 300px;
  place-content: center end;
  color: #999;
}

.panel-empty p {
  max-width: 280px;
  margin: 8px 0 0;
  line-height: 1.7;
}

.drawer-layer {
  position: fixed;
  z-index: 50;
  inset: 0;
}

.drawer-layer[hidden] {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.36);
  backdrop-filter: blur(3px);
}

.resume-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 820px);
  overflow-y: auto;
  padding: 26px;
  background: #eeeeec;
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
  animation: drawer-in 280ms cubic-bezier(.2,.8,.2,1);
}

.project-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(88vw, 1280px);
  overflow: hidden;
  background: #262626;
  box-shadow: -20px 0 60px rgba(0,0,0,.28);
  animation: drawer-in 280ms cubic-bezier(.2,.8,.2,1);
}

.project-drawer .project-drawer-header {
  position: relative;
  top: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 18px 22px;
  color: #fff;
  background: #171717;
  backdrop-filter: none;
}

.project-drawer .project-drawer-header .eyebrow {
  color: #a9a9a9;
}

.project-drawer .project-drawer-header h2 {
  color: #fff;
  font-size: 30px;
}

.project-drawer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reader-progress {
  min-width: 52px;
  margin: 0;
  color: #bdbdbd;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: right;
}

.project-drawer .drawer-close {
  border-color: rgba(255,255,255,.72);
  color: #fff;
}

.project-reader {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 40px);
  background: #303030;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.project-reader:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.reader-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d2d2d2;
  font-size: 14px;
}

.reader-status[hidden] {
  display: none;
}

.reader-pages {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.reader-page {
  position: relative;
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  overflow: hidden;
  background: #efefef;
  box-shadow: 0 18px 44px rgba(0,0,0,.24);
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.reader-page:last-child {
  margin-bottom: 0;
}

.reader-page img {
  display: block;
  width: 100%;
  height: auto;
}

.reader-page figcaption {
  position: absolute;
  bottom: 10px;
  left: 16px;
  margin: 0;
  color: #9a9a9a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.drawer-header {
  position: sticky;
  z-index: 2;
  top: -26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -26px -26px 18px;
  padding: 24px 26px 18px;
  background: rgba(238,238,236,.92);
  backdrop-filter: blur(12px);
}

.drawer-header .eyebrow {
  margin-bottom: 6px;
}

.drawer-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -.04em;
}

.drawer-close {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid #111;
  border-radius: 50%;
  padding: 0;
  place-items: center;
  background: transparent;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.resume-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 14px;
}

.resume-actions a,
.resume-actions button {
  border: 1px solid #111;
  border-radius: 99px;
  padding: 8px 14px;
  color: #111;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.resume-actions a:hover,
.resume-actions a:focus-visible,
.resume-actions button:hover,
.resume-actions button:focus-visible {
  color: #fff;
  background: #111;
  outline: none;
}

.copy-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 30px;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.resume-paper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.13);
}

.resume-paper img {
  display: block;
  width: 100%;
  height: auto;
}

body.drawer-open {
  overflow: hidden;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -10px) scale(1.04); }
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (max-width: 1040px) {
  .showroom {
    grid-template-columns: minmax(560px, 1fr) minmax(290px, .65fr);
    gap: 28px;
  }

  .products {
    left: 52px;
    gap: 22px;
  }

  .project-card {
    width: 134px;
    height: auto;
  }

  .project-card--square {
    width: 134px;
  }

  .product-placeholder {
    width: 125px;
  }
}

@media (max-width: 860px) {
  .home-view {
    min-height: 100dvh;
  }

  .storefront-stage {
    transform: translate3d(-70.7%, -50%, 0);
  }

  .home-view.is-entering .storefront-stage {
    transform: translate3d(-70.7%, -50%, 0) scale(1.035);
  }

  .home-copy {
    top: 10%;
    left: 56.8%;
    width: 13.5%;
  }

  .home-copy h1 {
    font-size: clamp(28px, 7.8vw, 42px);
    line-height: 1.03;
  }

  .open-shop-trigger {
    top: 37%;
    left: 56.8%;
    min-width: 94px;
    min-height: 36px;
    font-size: 14px;
  }

  .welcome-plaque {
    top: 31%;
    left: 58%;
    width: 7.8%;
  }

  .door-portal:hover .storefront-door {
    transform: rotateY(0deg);
  }

  .door-portal.is-opening .storefront-door,
  .home-view.is-entering .storefront-door {
    transform: rotateY(82deg);
  }

  .works-view {
    padding: 24px 18px 40px;
  }

  .works-header {
    align-items: center;
  }

  .works-title-block h2 {
    width: 260px;
  }

  .works-title-block > p {
    width: 285px;
    margin-left: 48px;
  }

  .resume-trigger {
    margin-top: 0;
    padding: 12px 17px;
    font-size: 14px;
  }

  .showroom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .shelf-zone {
    min-height: 800px;
  }

  .shelf-row--featured { top: 175px; }
  .shelf-row--early { top: 450px; }
  .shelf-row--interesting { top: 690px; }

  .project-panel {
    align-self: stretch;
    min-height: 330px;
    border-top: 1px solid #ddd;
    padding: 32px 8px 8px;
  }

  .panel-guide__bubble {
    right: 24%;
    bottom: 135px;
    width: min(58%, 272px);
  }

  .panel-guide__bubble-dot {
    right: 21%;
    bottom: 112px;
  }

  .panel-guide__figure {
    right: 0;
    width: 100%;
  }

  .panel-description {
    max-width: 540px;
  }

  .resume-drawer {
    width: min(90vw, 720px);
  }

  .project-drawer {
    width: 94vw;
  }
}

@media (max-width: 560px) {
  .eyebrow {
    font-size: 10px;
  }

  .home-copy {
    top: 7.5%;
    left: 58.4%;
    width: 14.8%;
  }

  .home-copy h1 {
    max-width: none;
    font-size: clamp(28px, 8vw, 34px);
  }

  .open-shop-trigger {
    top: 34.5%;
    left: 58.4%;
  }

  .welcome-plaque {
    top: 27.5%;
    width: 5.5%;
  }

  .works-header {
    align-items: flex-start;
    gap: 12px;
  }

  .works-title-block h2 {
    width: 170px;
  }

  .works-title-block > p {
    width: 195px;
    margin-left: 24px;
  }

  .resume-trigger {
    flex: 0 0 auto;
    border-radius: 9px;
    padding: 10px 11px;
    font-size: 12px;
  }

  .resume-trigger span {
    display: none;
  }

  .shelf-zone {
    min-height: 650px;
  }

  .shelf-row--featured { top: 150px; }
  .shelf-row--early { top: 370px; }
  .shelf-row--interesting { top: 560px; }

  .shelf {
    height: 88px;
    padding: 0 42px;
  }

  .shelf--pink {
    height: 76px;
  }

  .shelf h3 {
    font-size: 14px;
  }

  .screw {
    width: 18px;
    height: 18px;
  }

  .screw--left { left: 12px; }
  .screw--right { right: 12px; }

  .products {
    left: 40px;
    bottom: 48px;
    gap: 14px;
  }

  .project-card {
    width: min(24vw, 98px);
    height: auto;
  }

  .project-card--square {
    width: min(24vw, 98px);
  }

  .project-card:hover,
  .project-card:focus-visible {
    transform: translateY(-28px) rotate(-7deg) scale(1.04);
  }

  .product-placeholder {
    width: min(17vw, 66px);
    padding: 6px;
    font-size: 7px;
  }

  .products--square {
    gap: 12px;
  }

  .curios {
    left: 45px;
    bottom: 42px;
    gap: 18px;
  }

  .curios span {
    width: 52px;
    height: 52px;
  }

  .restock {
    display: none;
  }

  .project-panel {
    text-align: left;
  }

  .panel-tags {
    justify-content: flex-start;
  }

  .panel-description {
    margin-left: 0;
    text-align: left;
  }

  .panel-empty {
    place-content: center start;
  }

  .resume-drawer {
    width: 100vw;
    padding: 18px;
  }

  .project-drawer {
    width: 100vw;
  }

  .drawer-header {
    top: -18px;
    margin: -18px -18px 14px;
    padding: 18px;
  }

  .drawer-header h2 {
    font-size: 28px;
  }

  .resume-actions {
    justify-content: flex-start;
  }

  .project-drawer-header {
    margin: 0;
    padding: 14px 16px;
  }

  .project-drawer-header h2 {
    max-width: 45vw;
    overflow: hidden;
    font-size: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .project-drawer-actions {
    gap: 8px;
  }

  .project-drawer .drawer-close {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .project-reader {
    padding: 12px;
  }

  .reader-page {
    margin-bottom: 12px;
  }

  .reader-page figcaption {
    bottom: 5px;
    left: 8px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particle-field {
    opacity: 0.72;
  }
}
@font-face {
  font-family: "Akzidenz Grotesk BQ Light Extended";
  src: url("./public/assets/akzidenz-grotesk-light-extended.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
