:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.16);
  --accent: #e10600;
  --scenePerspective: 1.15;
  --scenePerspectiveOriginX: 50;
  --scenePerspectiveOriginY: 50;
  --itemZ: 1.5;
  --cameraSpeed: 550;
  --cameraZ: 0;
  --viewportHeight: 0;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  min-height: 100%;
  cursor: none;
}

body {
  overflow-x: hidden;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

.viewport {
  height: calc(var(--viewportHeight) * 1px);
}

.viewport .scene3D-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: calc(var(--scenePerspective) * var(--cameraSpeed) * 1px);
  perspective-origin: calc(var(--scenePerspectiveOriginX) * 1%)
    calc(var(--scenePerspectiveOriginY) * 1%);
  transform: translateZ(0);
  will-change: perspective-origin;
  overflow: hidden;
  z-index: 2;
}

.title-corner {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: clamp(160px, 36vw, 540px);
  max-height: 46vh;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
}

.viewport .scene3D-container .scene3D {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--cameraZ) * 1px));
  will-change: transform;
}

.ddd-wrapper {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 36%;
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform, filter, opacity;
}

.ddd-wrapper.is-selected {
  z-index: 4;
}

.ddd-wrapper.is-near {
  z-index: 2;
}

.shoot-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
  clip-path: inset(0.8px);
}

.shoot-tile video,
.shoot-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  pointer-events: none;
}

.tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  color: #fff;
}

.tile-meta span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tile-meta .tile-tag {
  color: var(--accent);
}

.nav,
.hud,
.sound-toggle,
.vignette,
.grain {
  z-index: 20;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 36px;
  pointer-events: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav a,
.nav nav {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 132px;
  width: auto;
}

.nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.current-label {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.ddd-wrapper:has(.shoot-tile.is-image) {
  width: 22%;
}

.shoot-tile.is-image {
  aspect-ratio: 2 / 3;
  background: #f3f3f3;
}

.shoot-tile.is-image img {
  object-fit: contain;
  background: transparent;
}

.ddd-wrapper:has(.shoot-tile.is-contact) {
  width: 32%;
}

.shoot-tile.is-contact {
  aspect-ratio: 1920 / 1636;
  background: #ffffff;
}

.shoot-tile.is-contact img {
  object-fit: contain;
  background: #ffffff;
}

.shoot-tile.is-placeholder {
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shoot-tile.is-placeholder .tile-meta {
  display: none;
}

.placeholder-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  pointer-events: auto;
}

.placeholder-title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.placeholder-soon {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hud {
  position: fixed;
  left: 36px;
  top: 188px;
  bottom: auto;
  transform: none;
  width: auto;
  max-width: min(280px, calc(100vw - 48px));
  text-align: left;
  pointer-events: none;
}

.index-rail {
  display: flex;
  align-items: stretch;
  gap: 14px;
  height: 321px;
}

.works {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}

.works li {
  display: flex;
  width: max-content;
}

.works button {
  pointer-events: auto;
  appearance: none;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 0;
  margin: 0;
  line-height: 1.2;
  width: max-content;
  cursor: none;
  text-align: left;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.works button.is-active {
  color: var(--accent);
  padding-left: 8px;
}

.progress {
  position: relative;
  width: 28.8px;
  flex: 0 0 28.8px;
  height: 321px;
  background: transparent;
  margin: 0;
}

.progress-track {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

.progress-dot {
  position: absolute;
  left: calc(45.5% + 1px);
  top: 5.21%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  will-change: top;
  pointer-events: none;
}

.hint {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.5s ease;
}

.rotate-hint {
  display: none;
}

.rotate-hint.is-hidden {
  opacity: 0;
}

.caption {
  margin-top: 28px;
  max-width: 22rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.caption.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.caption-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.caption-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.caption-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.sound-hint {
  margin: 0;
  padding: 14px 8px;
  align-self: center;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  pointer-events: none;
  animation: sound-flash 1s ease-in-out 3 forwards;
}

.sound-hint.is-hidden {
  opacity: 0;
  animation: none;
}

body:not(.has-video-sound) .sound-toggle,
body:not(.has-video-sound) .sound-hint {
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

@keyframes sound-flash {
  0%,
  45% {
    opacity: 1;
  }
  55%,
  100% {
    opacity: 0;
  }
}

.sound-toggle {
  position: relative;
  left: auto;
  top: auto;
  appearance: none;
  background: none;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 14px 10px;
  margin: 0;
  align-self: center;
  pointer-events: auto;
  cursor: none;
  white-space: nowrap;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  will-change: width, height, left, top;
}

.cursor span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #111111;
  border-radius: 0;
  transition: transform 0.35s ease, background 0.35s ease;
}

.cursor-hint {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.has-gallery-hint .cursor-hint-gallery,
body.has-contact-hint .cursor-hint-contact {
  opacity: 1;
}

body.is-hovering:not(.is-media-focus) .cursor span {
  transform: scale(0.65);
  background: #fff;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  display: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.showcase {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 48px 48px;
  background: rgba(8, 8, 8, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.showcase.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-showcase {
  overflow: hidden;
  cursor: default;
}

html:has(body.is-showcase) {
  overflow: hidden;
  cursor: default;
}

body.is-showcase * {
  cursor: default;
}

body.is-showcase a,
body.is-showcase button {
  cursor: pointer;
}

body.is-showcase input,
body.is-showcase textarea {
  cursor: text;
}

body.is-showcase .cursor {
  display: none;
}

body.is-showcase .nav,
body.is-showcase .hud,
body.is-showcase .viewport {
  pointer-events: none;
}

.showcase-controls {
  position: fixed;
  top: 32px;
  right: 36px;
  z-index: 8001;
  display: flex;
  align-items: center;
  gap: 22px;
}

.showcase-close,
.showcase-prev,
.showcase-next {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.showcase-prev,
.showcase-next {
  display: none;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.showcase.has-gallery-nav .showcase-prev,
.showcase.has-gallery-nav .showcase-next {
  display: inline;
}

.showcase.is-contact .showcase-close,
.showcase.is-contact .showcase-prev,
.showcase.is-contact .showcase-next {
  color: var(--text);
}

.showcase-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(1100px, 100%);
  max-height: calc(100vh - 120px);
}

.showcase.is-gallery {
  padding-left: 0;
  padding-right: 0;
}

.showcase.is-gallery .showcase-content {
  width: 100%;
  max-width: none;
}

.showcase-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}

.showcase-stage video,
.showcase-stage img {
  display: block;
  max-width: 100%;
  max-height: min(72vh, calc(100vh - 240px));
  width: auto;
  height: auto;
  object-fit: contain;
  background: #000;
}

.showcase-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 48px 18px;
  scroll-snap-type: none;
  scrollbar-color: var(--accent) transparent;
  touch-action: pan-x;
}

.showcase-strip.is-single {
  justify-content: center;
}

.showcase-strip::-webkit-scrollbar {
  height: 6px;
}

.showcase-strip::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.showcase-strip::-webkit-scrollbar-track {
  background: transparent;
}

.showcase-strip img,
.showcase-strip video {
  flex: 0 0 auto;
  display: block;
  max-width: none;
  max-height: min(68vh, calc(100vh - 220px));
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  scroll-snap-align: center;
  user-select: none;
}

.showcase-strip img {
  pointer-events: none;
}

.showcase-strip video {
  pointer-events: auto;
  cursor: none;
  background: #000;
}

.showcase-caption {
  max-width: 42rem;
  text-align: center;
  color: #fff;
}

.showcase.is-gallery .showcase-caption {
  padding: 0 48px;
  flex: 0 0 auto;
}

.showcase-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.showcase-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
}

.showcase.is-contact {
  background: #ffffff;
  padding: 56px 40px 32px;
}

.showcase.is-contact .showcase-close {
  color: var(--text);
}

.showcase.is-contact .showcase-caption {
  display: none;
}

.showcase.is-contact .showcase-stage img {
  max-height: none;
  width: 100%;
  background: transparent;
}

.contact-stage {
  position: relative;
  width: min(1280px, 100%);
}

.contact-bg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(88vh, calc(100vh - 88px));
  object-fit: contain;
}

.contact-form {
  position: absolute;
  left: 7.8%;
  top: calc(86% + 20px);
  width: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 8px 18px;
  align-items: end;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: auto;
}

.contact-form label {
  display: grid;
  gap: 4px;
}

.contact-form span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input {
  appearance: none;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 0 7px;
  cursor: text;
}

.contact-form input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact-form button {
  appearance: none;
  margin: 0;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: none;
  white-space: nowrap;
}

body.is-contact-open .nav,
body.is-contact-open .hud,
body.is-contact-open .viewport,
body.is-contact-open .title-corner {
  visibility: hidden;
}

@media (max-width: 1024px) {
  .title-corner {
    width: clamp(140px, 40vw, 420px);
    max-height: 42vh;
  }
}

@media (max-width: 1440px) {
  .ddd-wrapper {
    width: 40%;
  }

  .ddd-wrapper:has(.shoot-tile.is-image) {
    width: 24%;
  }

  .ddd-wrapper:has(.shoot-tile.is-contact) {
    width: 36%;
  }
}

@media (max-width: 860px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  html,
  body {
    cursor: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  .cursor,
  .cursor-hint,
  .sound-hint {
    display: none !important;
  }

  .nav {
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    font-size: 9px;
    letter-spacing: 0.14em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  }

  .current-label,
  .nav-link {
    display: none;
  }

  .nav nav {
    gap: 12px;
  }

  .brand-logo {
    height: 52px;
  }

  .counter {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .sound-toggle {
    display: inline-flex;
    writing-mode: horizontal-tb;
    transform: none;
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: 0.14em;
    cursor: pointer;
    color: var(--accent);
    position: fixed;
    top: calc(14px + env(safe-area-inset-top));
    right: 16px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.86);
  }

  body.is-showcase .sound-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .ddd-wrapper {
    width: 82%;
    top: 42%;
  }

  .ddd-wrapper:has(.shoot-tile.is-image) {
    width: 58%;
  }

  .ddd-wrapper:has(.shoot-tile.is-contact) {
    width: 86%;
  }

  .ddd-wrapper.is-selected .shoot-tile::after {
    content: "Tap to view";
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
  }

  .ddd-wrapper.is-selected:has(.shoot-tile.is-contact) .shoot-tile::after {
    content: "Tap to get in touch";
  }

  .tile-meta {
    display: none;
  }

  .title-corner {
    display: none;
  }

  .hud {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0 14px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 62%, rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  .hint {
    position: fixed;
    left: 16px;
    top: calc(72px + env(safe-area-inset-top));
    margin: 0;
    font-size: 9px;
  }

  .rotate-hint {
    display: block;
    position: fixed;
    right: 16px;
    top: calc(72px + env(safe-area-inset-top));
    margin: 0;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: opacity 0.5s ease;
    max-width: 42vw;
    text-align: right;
  }

  .index-rail {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .progress {
    width: 100%;
    height: 2px;
    flex: 0 0 auto;
    background: var(--line);
    order: 2;
  }

  .progress-track {
    display: none;
  }

  .progress-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    left: 6%;
    top: 50%;
  }

  .works {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    pointer-events: auto;
    touch-action: pan-x;
  }

  .works::-webkit-scrollbar {
    display: none;
  }

  .works button {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 8px 10px;
    white-space: nowrap;
    cursor: pointer;
  }

  .works button.is-active {
    padding-left: 10px;
  }

  .caption {
    margin: 0;
    max-width: none;
  }

  .caption-title {
    font-size: 11px;
    margin: 0 0 4px;
  }

  .caption-body {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .showcase {
    padding: calc(56px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));
  }

  .showcase.is-gallery {
    padding-left: 0;
    padding-right: 0;
  }

  .showcase-controls {
    top: calc(14px + env(safe-area-inset-top));
    right: 14px;
    gap: 16px;
  }

  .showcase-prev,
  .showcase-next {
    font-size: 20px;
  }

  .showcase-stage video,
  .showcase-stage img {
    max-height: min(58vh, calc(100dvh - 180px));
  }

  .showcase-strip {
    padding: 8px 16px 14px;
  }

  .showcase-strip img,
  .showcase-strip video {
    max-height: min(52vh, calc(100dvh - 190px));
  }

  .showcase.is-gallery .showcase-caption {
    padding: 0 16px;
  }

  .contact-bg {
    max-height: 38vh;
  }

  .contact-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-form {
    position: static;
    width: min(420px, 100%);
    left: auto;
    top: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 8px;
  }

  .contact-form button {
    cursor: pointer;
    justify-self: start;
  }

  :root {
    --scenePerspective: 0.62;
    --cameraSpeed: 420;
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .brand-logo {
    height: 36px;
  }

  .nav {
    padding: 8px 16px 8px calc(16px + env(safe-area-inset-left));
  }

  .sound-toggle {
    top: 8px;
    right: calc(14px + env(safe-area-inset-right));
    padding: 6px 8px;
  }

  .hint,
  .rotate-hint {
    display: none;
  }

  .ddd-wrapper {
    width: 42%;
    top: 46%;
  }

  .ddd-wrapper:has(.shoot-tile.is-image) {
    width: 22%;
  }

  .ddd-wrapper:has(.shoot-tile.is-contact) {
    width: 38%;
  }

  .ddd-wrapper.is-selected .shoot-tile::after {
    bottom: 6px;
    font-size: 8px;
    padding: 4px 8px;
  }

  .hud {
    padding: 0 calc(14px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom))
      calc(14px + env(safe-area-inset-left));
  }

  .caption-body {
    display: none;
  }

  .caption-title {
    margin: 0;
  }

  .works button {
    padding: 6px 9px;
  }

  .showcase {
    padding: calc(40px + env(safe-area-inset-top)) env(safe-area-inset-right)
      calc(12px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
  }

  .showcase-stage video,
  .showcase-stage img,
  .showcase-strip img,
  .showcase-strip video {
    max-height: min(78dvh, calc(100dvh - 96px));
  }

  .contact-bg {
    max-height: min(72dvh, calc(100dvh - 120px));
  }

  .contact-form {
    position: absolute;
    left: 7%;
    top: calc(84% + 8px);
    width: 48%;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  :root {
    --scenePerspective: 0.78;
    --cameraSpeed: 380;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sound-hint {
    animation: none;
    opacity: 0;
  }

  .viewport .scene3D-container .scene3D,
  .ddd-wrapper,
  .works button,
  .tile-meta {
    transition: none !important;
  }
}
